TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Basit Khan
NA
336
121.6k
How to get Last Purchase price in SQL
Apr 15 2016 1:32 PM
Dear,
I have table called Trn_Purchase
fields are
ItemCode
ItemDesc
PurchaseDates
Price
I want to get the last purchase price depend on date
table have e.g below data
ItemCode
PurchaseDate
Price
A
01-Mar-2010
4
A
02-Mar-2011
6
then result should
itemCode
PurchaseDate
Price
A
02-Mar-2011
6
How to do this
Thanks
Basit.
Reply
Answers (
3
)
Full Text Index
Upload Data from ExcelSheet to Sql Database