LXLogicExcel
๐Ÿ”ฅ
0
โญ
0
IN & BETWEEN Operators1 / 10
IN lets you select data where an attribute matches one of several values from a specified list of values. Try:

SELECT * FROM actors WHERE primary_genre IN ('Slapstick', 'Romantic Comedy');
idactor_nameprimary_genredebut_year
1Jim CarreySlapstick1983
2Meg RyanRomantic Comedy1981
3Adam SandlerSlapstick1987
4Robin WilliamsFamily Comedy1978
5Bill MurrayDry Comedy1976

Ctrl+Enter to submit

๐Ÿ”ฅ 0 streak
โญ 0 XP this lesson
All Lessons

IN & BETWEEN Operators - Free SQL Practice Online

Practise IN & BETWEEN Operators with 10 free, interactive SQL exercises. You type real queries into your browser and get instant feedback on every answer - no database setup, no install, and no signup. It is a fast, hands-on way to learn SQL online and build query skills you can use at work.