The IN operator allows you to specify multiple values in a WHERE clause.
Syntax :-
SELECT * FROM table_name
WHERE column_name IN ('value1' , 'value2' , ......);
Example :-
SELECT * FROM table_name
WHERE name IN ('Anu' , 'Sonu');
New table create
Solve Example :-
Syntax :-
SELECT * FROM table_name
WHERE column_name IN ('value1' , 'value2' , ......);
Example :-
SELECT * FROM table_name
WHERE name IN ('Anu' , 'Sonu');
New table create
Solve Example :-
0 Comments:
Post a Comment