FooKelvin Posted November 11, 2015 Share Posted November 11, 2015 Can i have select all query inside the IN statement? WHERE Name in() // Select all data in bracket Quote Link to comment Share on other sites More sharing options...
benanamen Posted November 11, 2015 Share Posted November 11, 2015 The IN operator allows you to specify multiple values in a WHERE clause. SQL IN Syntax SELECT column_name(s)FROM table_nameWHERE column_name IN (value1,value2,...); ExampleSELECT * FROM CustomersWHERE City IN ('Paris','London'); Quote Link to comment Share on other sites More sharing options...
Solution Barand Posted November 11, 2015 Solution Share Posted November 11, 2015 The simple answer is "No". If you want to select all, don't specify the IN() condition Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.