code:
1
2
3
4
5
6
7
8
9
10
11
12
| SELECT
count(DISTINCT(catagories.id)) as cats,
count(DISTINCT(fora.id)) as foras,
count(DISTINCT(topic.id)) as topics,
count(DISTINCT(post.id)) as posts,
count(DISTINCT(member.id)) as users
FROM
catagories,
fora,
topic,
post,
member |
deze is echt super sloom, hoe kan dat eingelijk ik vraag alleen maar de 'count' van de ID en verder niets