added Q6.sql