Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Specify multiple values in a WHERE clause SQL

-- The IN operator allows you to specify multiple values in a WHERE clause.
SELECT example_column
FROM exaple_table
WHERE example_column IN (example_value1, example_value2, example_value3);
Source by campus.datacamp.com #
 
PREVIOUS NEXT
Tagged: #Specify #multiple #values #WHERE #clause #SQL
ADD COMMENT
Topic
Name
7+8 =