Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
How to get the second last record in sql
basit khan
7y
346
1
Reply
Hi,
i have below table and the records are
ATN_No, ATN_Number, ATN_Date ,ATN_AstNo
1 A-1 01-01-2016 1
2 A-1 01-01-2016 2
3 A-2 02-01-2016 1
4 A-3 02-01-2016 2
i want below result depend upon ATN_Date and ATN_AstNo.
ATN_No, ATN_Number, ATN_Date ,ATN_AstNo
1 A-1 01-01-2016 1
2 A-1 01-01-2016 2
Thanks
Basit.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
error when start sql server agent
error in start sql server agent