SQL query question: SELECT … NOT IN

前端 未结 7 1163

I am sure making a silly mistake but I can\'t figure what:

In SQL Server 2005 I am trying select all customers except those who have made a reservation before 2 AM.<

相关标签:
7条回答
  • 2020-12-24 06:02
    select * from table_name where id=5 and column_name not in ('sandy,'pandy');
    
    0 讨论(0)
提交回复
热议问题