10

Filter with OR

EasyWHEREORfiltering

Problem Description

Write a SQL query to find employees in either Marketing OR Sales departments.

Expected Columns

  • name
  • department

Example Output

| name | department | |------|------------| | Rahul Gupta | Marketing | | Vikram Reddy | Sales | | Sneha Iyer | Marketing | | ... | ... |

Hints

Unlocks after 2 more attempts
Submit your solution to unlock hints
//#10 Filter with OR
Easy

Loading schema...

Loading editor...

No results yet

Run a query to see results