|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
I have a table containing column employee id,name, salary with records . I want to display the last record only. Plz help me out. Regards, Narayan |
|
#2
|
|||
|
|||
|
Hi Narayan
SELECT TOP 1 id, name, salary from table ORDER BY id DESC DB |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > How 2 display only LAST RECORD from a table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|