sunny076 (AT) yahoo (DOT) com wrote:
Quote:
Hi,
I am confused with the syntax for NOT in MYSQL where clause and wonder
if an expert in MYSQL can enlighten me. There are possibly two places
NOT can go in:
select * from employee_data where NOT employee_id LIKE 'A%'
^^^^
|
Sunny,
That's an operator (i.e. logical not is applied to "employee_id" before
being compared to LIKE 'A%'), see
http://dev.mysql.com/doc/mysql/en/lo...operators.html
-Mark
--
Mark Matthews
MySQL AB, Software Development Manager - Connectivity
www.mysql.com