Added Q1 with subquery