I need distinct Jobid with recent status
jobs table
------------------
JobId Status CreatedDate
------------------
1 sent 4/24/2018
1 draft 4/23/2018
2 sent 4/22/2018
2 draft 4/21/2018
1 req 4/20/2018
I need result like this
---------------
JobId Status
---------------
1 Sent
2 Sent
I tried this but giving duplicate jobids with different statuses records
select distinct JobId, Status, CreatedDate from Jobs order by CreatedDate desc