
September 13th, 1999, 02:50 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
The whole concept of relational databases is that the system is responsible for storing your data, you don't have to worry where or how it is stored.
However, when returning data from a query, you can sort data on one of the columns using "ORDER BY". This could give you the first or last records entered if the ORDER BY field is a timestamp. Or if you use an auto increment integer key in your table, you could get the last record entered by using this select statement:
SELECT * FROM table WHERE id = LAST_INSERT_ID();
|