https://learn.coderslang.com/0287-sql-if-else-statement/
SQL if/else statement