Please make sure you read, understand, and follow Rules and Terms of Service.
0 Members and 1 Guest are viewing this topic.
SELECT `a`.`f1`,`a`.`f2`,`b`.`f3`, `s`.`f4`FROM `a`CASE `a`.`f1`WHEN 1 THEN INNER JOIN `b` ON `a`.`fx`=`b`.`fz`ELSEINNER JOIN `c` AS `s` ON `a`.`fx`=`s`.`fz`