IBM Interview Question

one is for SQL; one is for programing