Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

mysql subqueries

NaamasAug 17 2022

Hi all,
mysql db :
create table students (
id int primary key,
name varchar(50),
birtdate date,
city varchar(50),
year int,
faculty varchar(50),
depcode int,
depname varchar(50))
-- in which department (depname) there is the highest amount of students
the result should return the deptname and the amount .
-- Note cannot use analytic function / order by limit for solution.
please your help.
Thanks in Advanced

This post has been answered by Frank Kulash on Aug 17 2022
Jump to Answer
Comments
Post Details
Added on Aug 17 2022
29 comments
366 views