SQL For a given name, get the latest row in a table if its newer than the latest date for that name in another table – Postgresql
If I have two tables table A and table B, for a given name, how can I get the latest for table A only if it's newer than the latest date in table B or the name does not exist…