I need to make a SELECT
looking for some data with the proviso that only if the value of a certain cell
is different from another cell
.
Ex:
+-----------+------+------+
| Descricao | Val1 | Val2 |
+-----------+------+------+
| hhhhhhhhh | 9999 | 9999 |
| yyyyyyyyy | 1111 | 2222 |
+-----------+------+------+
I would like a SELECT
that only searches for 2nd row
, where Val1 is different from Val2.