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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Piyush PansuriyaRank #454 · 5.5K reputationPosted Feb 1, 2015, 11:19 PM EST
If there is a Unique ID (Auto Increment) in your table than :
SELECT MAX(UID), EMP FROM
GROUP BY EMP
Sajid HussainRank #3,026 · 476 reputationPosted Feb 1, 2015, 11:23 PM EST
Munesh SharmaRank #174 · 13.9K reputationPosted Feb 1, 2015, 11:28 PM EST
Saber ShaikhRank #1,687 · 905 reputationPosted Feb 1, 2015, 11:38 PM EST
Select * From tbl_Name order by ID Desc
just check It
Munesh SharmaRank #174 · 13.9K reputationPosted Feb 1, 2015, 11:39 PM EST
Sajid HussainRank #3,026 · 476 reputationPosted Feb 1, 2015, 11:54 PM EST