F
|
frocco 8/27/2007 |
You can try: I need a SQL query that will only show the last (maost recent) 5 records entered. It can thus be the last 5 Auto Increment Numbers (Largest 5) or the last 5 records by date inserted (I have a date field) What would be the easiest way to achieve it? |
M
|
mmponline author 8/27/2007 |
I use this query: select `NewsID`,
|
![]() |
Alexey admin 8/29/2007 |
Stephan, CREATE VIEW Last5News as select `NewsID`, `LogID`, `Title`, `Description`, `Download`, `Category`, `Hyperlink`, `Date` From `_News` order by Date desc limit 5 |
M
|
mmponline author 8/29/2007 |
Sergey |