query
i have a table where multiple record against one employee present,and there are a number of employee also. i want to get list of last records enter against all employee.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sajid HussainPosted Feb 2, 2015, 4:54 AM
Munesh SharmaPosted Feb 2, 2015, 4:39 AM
Saber ShaikhPosted Feb 2, 2015, 4:38 AM
Select * From tbl_Name order by ID Desc
just check It
Munesh SharmaPosted Feb 2, 2015, 4:28 AM
Sajid HussainPosted Feb 2, 2015, 4:23 AM
Piyush PansuriyaPosted Feb 2, 2015, 4:19 AM
If there is a Unique ID (Auto Increment) in your table than :
SELECT MAX(UID), EMP FROM
GROUP BY EMP