Added query 8 select statement