How to find the difference between two tables?

后端 未结 1 786
梦毁少年i
梦毁少年i 2021-01-25 16:04

I have a MySQL database ver 5.1. I have two tables Table_A will always keep the records in it. Table_B will be used to only compare the differe

1条回答
  •  余生分开走
    2021-01-25 16:26

    SELECT name FROM Table_A WHERE name NOT IN (SELECT name FROM Table_B)
    

    0 讨论(0)
提交回复
热议问题