Question · SQL and MySQL course · Module 3: Filtering (WHERE)
The IN operator
What does the condition mean: WHERE kategoria_id IN (1, 2, 3) ?
Answer options
- Select rows where kategoria_id equals 1 OR 2 OR 3
- Select rows where kategoria_id is greater than 3
- Select exactly the first 3 rows from the table
- Select rows where kategoria_id equals 1, 2 and 3 all at once
You can check the correct answer by solving this task in the CodeWorlds game.