Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. mysql> select count(nom) as nb_hab, libfonction from habitant group by libfonction order by nb_hab;
  2. +--------+-------------+
  3. | nb_hab | libfonction |
  4. +--------+-------------+
  5. | 1 | barde |
  6. | 1 | chef |
  7. | 1 | druide |
  8. | 1 | poissonnier |
  9. | 1 | retrait |
  10. | 4 | guerrier |
  11. +--------+-------------+
  12. 6 rows in set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement