Ford Motor Company interview question

SQL queries error and exception handling