Fabio Bernardo <[EMAIL PROTECTED]> wrote: > > Hi there... I have this situation: > > table_A table_B > id name id name > 1 A 1 A > 2 B 2 B > 3 C > > If i run this statement : > SELECT table_A.* FROM table_A outer join table_B ON table_A.id=table_B.id > WHERE table_B.id is null > and I got: > id name > 3 C > > But now i wanna use i join which i dont know, to results: > id name > 1 A > 2 B > > I mean the rows which are exactly the same.... is there a fast type of join > to make it?
SELECT table_A.* FROM table_A, table_B WHERE table_A.id=table_B.id; -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]