Oooh, that works.<div>I'm afraid using "&" is a holdover from my MySQL days. I really should get in the habit of using "and".<div><br></div><div>Many thanks!<br>Jonathan<div><div><br></div>
<br><br><div class="gmail_quote">On 8 August 2013 13:31, Régis Haubourg <span dir="ltr"><<a href="mailto:regis.haubourg@eau-adour-garonne.fr" target="_blank">regis.haubourg@eau-adour-garonne.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Jonathan Moules-2 wrote<br>
> Hi List,<br>
>   A general question:<br>
><br>
> Why does this query:<br>
><br>
>> area > 10000000000 & area < 100000000000<br>
><br>
> return the entire dataset,<br>
><br>
> when this query (same but with brackets):<br>
><br>
>> (area > 10000000000) & (area < 100000000000)<br>
<br>
<br>
Hi ,<br>
did you test something like this?<br>
area > 10000000000 AND  area < 100000000000<br>
I'm afraid & is not a logical operator but a text concatenator..<br>
Régis<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Feature-Subset-query-builder-tp5071434p5071477.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Feature-Subset-query-builder-tp5071434p5071477.html</a><br>


Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.</span>