Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select p.name, b. category, avg(b.retail)
- from books b, publisher p
- where b.pubid = p.pubid
- and b.category in ('CHILDREN','COMPUTER')
- group by p.name, b.category;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement