RE: [PHP] mySQL join query error
| From: | Rick Emery | Date: | Thu, 04 Apr 2002 17:51:11 +0000 |
| Subject: | RE: [PHP] mySQL join query error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91560@lists.php.net to get a copy of this message | ||
change to:
SELECT * FROM tifrequest LEFT JOIN USING(user) WHERE tifexpire.exp_date
>="2002-04-04"
It helps if you provide the error message. Also, this would have been found
when you entered it directly into the mysql command line prompt.
-----Original Message-----
From: ROBERT MCPEAK [mailto:RMCPEAK@jhuccp.org]
Sent: Thursday, April 04, 2002 11:45 AM
To: php-general@lists.php.net
Subject: [PHP] mySQL join query error
I get an error with the follow query. There is a field "user" in both
tables, tifrequest & tifexpire. Can anybody see what's wrong with it?
Thanks.
SELECT * FROM tifrequest LEFT JOIN USING(user) WHERE tifexpire.exp_date
>=2002-04-04
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php