1
I need to make a SELECT
searching some data with the condition that only if the value of a given cell
is different from another cell
.
Ex:
+-----------+------+------+
| Descricao | Val1 | Val2 |
+-----------+------+------+
| hhhhhhhhh | 9999 | 9999 |
| yyyyyyyyy | 1111 | 2222 |
+-----------+------+------+
Would like a SELECT
only to seek the 2nd row
, where Val1 is different from Val2.
As Marlon mentioned, the ideal is to use Where >select * from table Where val1 <> val2
– BrSouza