last record selection
last record selection
От:
"Stanislav A. Filippov" <safilippov@ualr.edu>
Дата:
Can anyone tell me if there is a direct way to SELECT the last record in the table, without selecting the whole table and retrieving all rows. thanx ************
RE: [INTERFACES] last record selection
От:
"Oscar Serrano" <oserra@fondos.net>
Дата:
----- Original Message ----- From: Stanislav A. Filippov To: Sent: Tuesday, November 30, 1999 9:27 AM Subject: [INTERFACES] last record selection > Can anyone tell me if there is a direct way to SELECT the last record in > the table, > without selecting the whole table and retrieving all rows. I don't know if this can be useful for you: SELECT * FROM yourtable ORDER BY whatever LIMIT 1 > thanx > > ************ > ************
RE: [INTERFACES] last record selection
От:
"Oscar Serrano" <oserra@fondos.net>
Дата:
----- Original Message ----- From: Stanislav A. Filippov To: Sent: Tuesday, November 30, 1999 9:27 AM Subject: [INTERFACES] last record selection > Can anyone tell me if there is a direct way to SELECT the last record in > the table, > without selecting the whole table and retrieving all rows. I don't know if this can be useful for you: SELECT * FROM yourtable ORDER BY whatever LIMIT 1 > thanx > > ************ > ************