Select coditem from item where lower(designacao) = ''%20+%20href%20+%20'' order by ordem&erro=ERROR: syntax error at or near "href" LINE 1: ...item from item where lower(designacao) = ''%20+%20href%20+%2... ^