MySQL Syntax for finding differences -


i have 2 tables varying columns. columns same. let's first_name, last_name, email same withing these 2 tables.

  • table 1 full.
  • table 2 being filled form, less or equal rows of table 1.

i need writing query allow me check table 2 against table 1 , return missing first_name, last_name, email table 1 not yet in table 2.

not sure if request work, give try :

select first_name, last_name, email  table1 t1 left join table2 t2 on t1.email = t2.email t2.email null; 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -