Separate select statements into two queries.