Please help me to write a sql query with the conditions as 'NOT LIKE IN'
Select * from Table1 where EmpPU NOT Like IN ('%CSE%', '%ECE%', '%EEE%')
Getting error.
You cannot combine like and in. The statement below would do the job though:
Select * from Table1 where EmpPU NOT Like '%CSE%' AND EmpPU NOT Like '%ECE%' AND EmpPU NOT Like '%EEE%'
2.1m questions
2.1m answers
60 comments
57.0k users