CS1103/Assignments/As4/Problem84.sql
2022-10-07 00:48:09 -03:00

4 lines
146 B
SQL

select BOOK_SUBJECT, count(BOOK_SUBJECT) as `Books In Subject`
from BOOK
group by BOOK_SUBJECT
order by count(BOOK_SUBJECT) desc, BOOK_SUBJECT;