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 |
|
KarthikGopal
Starting Member
1 Post |
Posted - 2009-05-22 : 22:29:50
|
| HI Friends.. I had a problem in Sql when i was select the final row from the table(Which is contain n number of records...) here i am looking solution..Please friends..help my team |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2009-05-22 : 23:01:30
|
select top 1 * from yourtable order by somecol KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-05-23 : 02:19:40
|
quote: Originally posted by KarthikGopal HI Friends.. I had a problem in Sql when i was select the final row from the table(Which is contain n number of records...) here i am looking solution..Please friends..help my team
Define "Final Row"MadhivananFailing to plan is Planning to fail |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-05-23 : 11:10:27
|
| there's no concept of first and final in a sql table. you can only define order in terms of another column. |
 |
|
|
|
|
|