I have a problem... I have table with informations about employees and I have to select sections, where is more employees without title then with ING title. How can i do that ? Why cant I use this mine SQL code ? It says single-row subquery returns more than one row. But i need to compare more than 1 row.
Thank for help :)
select section_number from employe where
(select count(section_number) from employe where title='ING' group by section_number)
>
(select count(section_number) from employe where title IS NULL group by section_number)
group by section_number;