1
I’m trying to get some records with a very simple syntax, but it’s not working. I’m doing something wrong and I’m not realizing it. Can someone lend a hand?
I need to fetch all records from 2017 except SHIPPING AND TAXES! I have it:
SELECT *
FROM table_01
WHERE data_reg LIKE '2017%'
AND (Desc <> 'FRETE' OR Desc <> 'IMPOSTO');
But this way is coming all records 2017, including freight and taxes.
what is the name of the field, "Desc?"
– Henrique Santiago
@Henriquesantiago Descpart
– Maurício Sanches