Advertisement
Guest User

Untitled

a guest
Oct 17th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.26 KB | None | 0 0
  1. --6.11
  2.  
  3. SELECT top 1 boeken.cat_id,Categorie.categorie, count(boeken.cat_id) as [aantal boeken per categorie] from Boeken,Categorie
  4.     where Boeken.cat_id = Categorie.cat_id
  5.     group by Boeken.cat_id,Categorie.categorie
  6.     order by [aantal boeken per categorie] desc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement