Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Maharisi
Starting Member
19 Posts |
Posted - 2008-11-05 : 02:42:33
|
| I have TABLEID Count Centre================1 5 RO1 6 TOI need acquire row with Minimal Count.Thank you |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-11-05 : 02:46:38
|
| [code]SELECT TOP (1) WITH TIES * FROM TABLE ORDER BY Count[/code][code]SELECT * FROM TABLE WHERE Count=(SELECT MIN(Count) FROM TABLE)[/code] |
 |
|
|
Maharisi
Starting Member
19 Posts |
Posted - 2008-11-05 : 02:52:24
|
| Thank you so much |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-11-05 : 02:55:39
|
Cheers |
 |
|
|
|
|
|