IBM Interview Question

1 star pattern question SQL join question