Re: MySql query
| From: | Adam Voigt | Date: | Wed, 17 Mar 2004 17:14:47 +0000 |
| Subject: | Re: MySql query | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33488@lists.php.net to get a copy of this message | ||
Yes, where evaluates to true.
On Wed, 2004-03-17 at 12:03, Matt Matijevich wrote:
> This is probably a question for for a mysql list but I figured someone
> out here knows the answer.
>
> I am working with an existing mysql application and there is a bunch of
> queries that are formatted something like this:
>
> SELECT * FROM sometable WHERE 1
>
> does "WHERE 1" just return every row?
>
> thanks in advance.
--
Adam Voigt
adam@kotisprop.com