Report question

Question: MYSQL query using variable as table name in LEFT JOIN