Antra Interview Question

3 sql questions, 3 java question and 1 alogrithm question