Although I am using what I thought was the correct syntax, I am getting an error.
I have a table like
emp id status date time
An employee can have multiple records. I want the status of the latest date and time. But ordering this by descending date and time is throwing an error. I'm using sql management studio to develop the query.
Can someone help me with this? Thank you.
I have a table like
emp id status date time
An employee can have multiple records. I want the status of the latest date and time. But ordering this by descending date and time is throwing an error. I'm using sql management studio to develop the query.
Can someone help me with this? Thank you.