AvidXchange interview question

Find the errors in each of the SQL queries