Want a null row where no data exist
Hello. This is in regards to MySQL Workbench 6.3.
I'm trying to return a list of results for every item listed in my select statement, which would include those items that don't actually exist. So if i list 5 items in my select statement and only 3 exist, i'd like to get 5 rows returned, 3 actual rows with data and 2 more rows that only show null. Can someone please show me how to edit my query below to show this ? Thank you !
select emails from table where email in (dog, frog, cat, tiger, lizard);
Actual Result (only the 3 emails that actual exist show)
dog
cat
tiger
Desired Result
dog
null
cat
tiger
null
select emails from tableIN()operator.