I have the following query
:
SELECT * FROM tbl_descriptores WHERE nombre = 'dulce';
Which brings me the following results:
_________________________________________________________________
|idDescriptor |idDescriptorPadre |nombre |name |colorhex | tipo |
_________________________________________________________________
|21 |270 |Dulce |Sweet|DDA0DD |2 |
_________________________________________________________________
|127 |0 |DULCE |SWEET|FCF9CC |1 |
_________________________________________________________________
I would like to know how I can do the query
and that it differentiates between uppercase and lowercase , that is: if my criteria is 'sweet' , it should not bring me anything since there is no record in the table where the name column is called 'sweet', if my criteria is 'Sweet' , it will bring me the record with idDescriptor 21
and if my criteria is 'SWEET' , it will bring me the record with the idDescriptor 127. How can I do it?
You need to use the command
BINARY
: