Posts by Leandro Leão • 1 point
1 post
-
-1
votes1
answer26
viewsQ: Query return in which field is the value
I have a query in PHP + Mysql: SELECT * From tb WHERE campo1='valor' or campo2='valor' or campo3='valor' I would like the query to return to me in which of the fields was found the value.…