Let\'s say I have a TABLE a in which a COLUMN data is the one to join on for 2 other tables (TABLE b and TABLE
TABLE a
COLUMN data
TABLE b
TABLE
Try something like this:
SELECT IFNULL(b.info,c.info) AS info FROM a LEFT JOIN b ON a.data = b.data LEFT JOIN c ON a.data = c.data