I have a contrato
table with the concluido
field of type tinyint(1)
, if it is 0 it is not complete and if it is 1 it is complete. I'm going to pass this value by parameter to the query, how do I get all the data when the value of this parameter is different from 0 and 1?