Report question

Question: Conditional column for query based on other columns in MySQL