in sql
snippet in sql

in sql

user4849

SELECT column_name(s)

FROM table_name

WHERE column_name IN (value1, value2, ...); 

sql in

user6233

Used alongside a WHERE clause as a shorthand for multiple OR conditions.
So instead of:
SELECT * FROM users
WHERE country = 'USA' OR country = 'United Kingdom' OR
country = 'Russia' OR country = 'Australia';
You can use:
SELECT * FROM users
WHERE country IN ('USA', 'United Kingdom', 'Russia',
'Australia');

sql not in

user8420

SQL NOT IN operator is used to filter the result if the values that are mentioned as part of the IN operator is not satisfied. Let’s discuss in detail about SQL NOT IN operator.

Syntax:
SELECT Column(s) FROM table_name WHERE Column NOT IN (value1, value2... valueN);

w3schools sql in operator

user6428

SELECT column_name(s)

FROM table_name

WHERE column_name IN (SELECT STATEMENT); 

SQL INSERT DATA IN A TABLE

user9556


INSERT INTO table_name

VALUES (value1, value2, value3, ...);