I realize this is probably painfully simple. Just getting late and need an explanation.
I have the table:
mysql> SELECT * FROM employee_expert;
+------+---------+
| enum | package |
+------+---------+
| E246 | Excel |
| E246 | MySQL |
| E246 | Python |
| E246 | Word |
| E403 | Java |
| E403 | MySQL |
| E892 | Excel |
| E892 | PHP |
| E892 | Python |
+------+---------+
9 rows in set (0.00 sec)
And I need to find the enum of the tuple NOT Python
Result should be E403 since its the only one not with Python.
Tried
mysql> SELECT enum FROM employee_expert WHERE package != "Python" GROUP BY enum;
+------+
| enum |
+------+
| E246 |
| E403 |
| E892 |
+------+
3 rows in set (0.00 sec)
But, obviously, it just returned all the enums...