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 oftable 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
Post a Comment