CesarZ
Well-Known Member
- Joined
- Sep 20, 2012
- Messages
- 268
- Solutions
- 4
- Reaction score
- 63
alright. i have been trying to get this SQL setup to count things like thread on my forum.
i have been trying to get the number count of my threads by forum_id.
so what i had in mind was was
This code i made don't give an error but doesn't give me the number. If i write a crazy SQL code then it does give me the SQL error.
this is my example database
I havent got into SQL yet i know very little im on HTML/CSS and C++ and some LUA :/ right now.
i have been trying to get the number count of my threads by forum_id.
so what i had in mind was was
SQL:
SELECT COUNT(`forum_id`)
FROM `znote_forum_threads`
ORDER BY `forum_id`
this is my example database
I havent got into SQL yet i know very little im on HTML/CSS and C++ and some LUA :/ right now.