I have a table called optima with a few fields and I need to make a query that will return me results where field1 = a and field2 = b.
Table for example
F1 F2
_____
a z
v a
a b
b a
result must be:
a b
I was trying to make query like
SELECT * FROM `optima` WHERE `F1` LIKE 'a' AND `F2` LIKE 'b';
but it returns me nothing.