MySQL query to join the same table -
i want join 2 sql queries run on same table. result should contain common rows. know mysql not have intersect
. need use join
guess, not sure how when sql queries run on same table.
a sample query in answer great.
you can use inner or cross join, that:
select a.columnname table inner join table b on a.key= b.key clauses