IBM Interview Question

1 question on SQL and 1 more swe type question which was pretty simple