Ok, i have a table having multiple values. Now i want to know which tuple is the oldest one (the very first one among all inserted in the table). Is there any way to know it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Best way to achieve this, if you have a
datetimeortimestampcolumn in your table which holds the date of insertion of records. Then you can, refer that date column and get the oldest record.Other way, may not be accurate; is to order by a field with limit; like