mysql - JOIN with an IF condition? -
i have main table , have 2 tables joined. want join table if employee male , table b if employee female. possible this?
how about
select .... main join on ... male union select .... main join b on ... female
Comments
Post a Comment