Author | Message |
---|---|
talisunep
Posts: 140
|
Posted 03:07 Nov 04, 2013 |
hi, i was wondering isnt this query supposed to return 13 sections if we use the given table? given query -- 28. List the number courses offered by department. select d.name as "Department Name", count(*) as "# of Courses Offered" from departments d, courses c where d.id = c.department_id group by d.name; returns only 8 sections i did a variation which returns 13 sections Last edited by talisunep at
03:08 Nov 04, 2013.
|
talisunep
Posts: 140
|
Posted 03:19 Nov 04, 2013 |
im sorry the query on the website is correct for since its no of courses offered by dept and not the number of courses offered in the sections... Last edited by talisunep at
03:34 Nov 04, 2013.
|