[Qgis-user] SQL statement

Filipe Silva Dias filipesdias at gmail.com
Wed May 2 06:14:12 PDT 2012


Dear all,

I'm trying to fill a column using an SQL statement, but Ive been
unsuccessful so far. In LibreOffice I would use the following syntax:

=IF(AND(FIELD1="A";FIELD2<>"B");X;Y)

How can I do the same using SQL statements in QGIS?

Thanks in advance

Best regards

FIlipe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120502/32067228/attachment.html>


More information about the Qgis-user mailing list