Hi all,
I am trying to come up with a sql query (just one query) that returns
all the columns for the last N records that were inserted into a
table. I have a column in the table that has the creation timestamp
for each record. In other words, if a client requests to get only the
latest 5 records, then this query shoud exactly do that: get all the
columns for the last 5 records that were inserted into the table.
I am trying to come up with a sql query (just one query) that returns
all the columns for the last N records that were inserted into a
table. I have a column in the table that has the creation timestamp
for each record. In other words, if a client requests to get only the
latest 5 records, then this query shoud exactly do that: get all the
columns for the last 5 records that were inserted into the table.
Comment