Guest User

Untitled

a guest
Nov 13th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. -- Step 6
  2. create view category_aggregate (category, total_places, total_chairs) as
  3. select
  4. category,
  5. count(cafe),
  6. sum(number_of_chairs)
  7. from street_cafes group by category;
Add Comment
Please, Sign In to add comment