Link to home
Start Free TrialLog in
Avatar of Varshini S
Varshini S

asked on

Need help for SQL query

I have the following table

EmployeeCode          City
AA1                               XXX
AA1                               NN
BB1                               XXX
BB1                                NN
CC1                                 XXX
DD1                                NN

in the above table - I need to delete employee has more than  one record and delete  only city='NN'
ASKER CERTIFIED SOLUTION
Avatar of Vikas Garg
Vikas Garg
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Varshini S
Varshini S

ASKER

Vikas Garg,

I am sorry. I need to SN=0 not >1 . Am I correct ?