sql command

  • Thread starter Thread starter miladhatam
  • Start date Start date
sorry alexy :)
oh i made a mistake i want to select 5 last records :)
sorry ...
have any idea ?
thanks
 
sorry alexy :)
oh i made a mistake i want to select 5 last records :)
sorry ...
have any idea ?
thanks

SELECT TOP 5 * FROM mytable ORDER BY something DESC

where "something" is a name of the field which used for a consecutive
values like rowid, date created, etc...
 
Back
Top