sql query IN condition code example

Example 1: sql where multiple values

SELECT column_name(s)
FROM table_name
WHERE column_name IN (value1, value2, ...);

Example 2: what is in condition in sql

IN condition allows you to easily test
if an expression matches any value in a list of values.
It is for reducing  multiple OR
conditions in a SELECT, INSERT,
UPDATE, or DELETE statement.

Example 3: in condition in sql

IN condition allows you to easily test
if an expression matches any value
in a list of values.
It is for reducing  multiple OR
conditions in a SELECT, INSERT, 
UPDATE, or DELETE statement.

Example 4: where query in sql server

SELECT * FROM Customers
WHERE Country='Mexico';

Tags:

Sql Example