Re: sql help ?
| From: | w dot w dot w at gmx dot at | Date: | Tue, 18 Jun 2002 19:14:37 +0000 |
| Subject: | Re: sql help ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102763@lists.php.net to get a copy of this message | ||
> or one line for each sess_id with only one row:
> select * from tracker where count(sess_id)=1 and day='1' and month='
> ".$month." ' group by sess_id;
sorry that was wrong!
correct:
select * from tracker where day='1' and month=' ".$month." ' group by
sess_id having count(sess_id)=1;
michi
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net