Update Query

M

Mike

I'm trying to update a date field in a table and want the date in descending
order when the update is made since the ssn can have multiple dates. I'm
trying to get the most recent date. Is this possible. I can't figure out
the syntax.

update Table1 inner join table1.ssn on table2.ssn set table1.date=table2.date
order by table1.date desc;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top