![]() |
MyChenQL, part whatever I last used plus 1
[sql]
SELECT s.title, u.styleid, COUNT(u.styleid) FROM style s, user u WHERE s.styleid = u.styleid GROUP BY u.styleid; [/sql] ...returns: Code:
+-----------+---------+-------+ |
Can you stick an OR in a mysql statement?
- miSt |
depends on where :p
i haven't found a way for that, everyway i tried ends with two queries or doesn't work at all ;) |
NM, I just copied Chen's. He used joins which I haven't learned yet and I really should.
|
hmm, should have a look into his code, my try with joins didn't work ;)
|
All times are GMT. The time now is 07:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|