4 lines
146 B
MySQL
4 lines
146 B
MySQL
|
select BOOK_SUBJECT, count(BOOK_SUBJECT) as `Books In Subject`
|
||
|
from BOOK
|
||
|
group by BOOK_SUBJECT
|
||
|
order by count(BOOK_SUBJECT) desc, BOOK_SUBJECT;
|