How to return rows from left table not found in right table?

前端 未结 7 987
滥情空心
滥情空心 2020-12-23 09:09

I have two tables with similar column names and I need to return records from the left table which are not found in the right table? I have a primary key(column) which will

7条回答
  •  不知归路
    2020-12-23 09:41

    select * from left table where key field not in (select key field from right table)

提交回复
热议问题