Amdocs Interview Question

SQL commands and problem using them