How can I get record 34 of a table if the last record is record 35 ?
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.
If you know there are 35 records, you want
limit 1 offset 34.If you want to get the 2nd last element from any set, you can invert the order of the set and select one element, offset one element. You can implement this yourself by first selecting the first two elements of the inversely ordered set, and then reverse the set and select the first element: