Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [joet] sql statements...

Quote Reply
Re: [joet] sql statements... In reply to
Try something like (I assume you know how to translate the GROUP and WHERE statements):
Code:
$table->select( ['post_root_id', ....., 'COUNT(*) AS num_new_replies'], $cond);

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Thread sql statements... joet 2204 Feb 7, 2003, 4:19 PM
Thread Re: [joet] sql statements...
yogi 2165 Feb 8, 2003, 3:11 AM
Thread Re: [yogi] sql statements...
joet 2147 Feb 12, 2003, 12:28 PM
Post Re: [joet] sql statements...
Jagerman 2142 Feb 12, 2003, 5:28 PM