match - Separating the matched and unmatched values in mysql -


i have 2 table same fields. want compare 1 of fields , move matched , unmatched values in 3rd , 4th table. can 1 me this?

assume table , table b.

insert table c values(select cola a,b cola=colb) insert table d values(select cola a,b cola!=colb) 

Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -