- Esecutori
-
Impara
Impara Python Esempi eseguibili, NumPy, pandas e altro Impara l'IA / Machine LearningReti neurali, ML e LLM da zero Impara C e C++ Puntatori, memoria, STL e C++ moderno Impara C#Fondamenti, OOP, LINQ, async ed esercizi .NET Impara MatplotlibGrafici a linee, barre, dispersione e torta con visualizzatori Impara RustOwnership, trait, gestione degli errori e thread Impara GoSlice, interfacce, goroutine e canali Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++ Programmazione per bambini Impara a programmare giocando!
- QuizNuovo
- SfideNuovo
- Per docentiNuovo
- Aggiornamenti
- Offrimi un caffè
Quiz di SQL: LIKE, IN & BETWEEN
This SQL quiz covers the handy WHERE operators LIKE, IN and BETWEEN. You will match text with % and _, check values against a list and filter ranges, including the edge cases that catch people out.
Domanda di esempio
Domanda 1 di 10What does this query return?
CREATE TABLE people (name TEXT, age INTEGER);
INSERT INTO people VALUES ('Anna', 22), ('Ben', 35), ('Bella', 28), ('Carl', 40), ('Dan', 30);
SELECT name FROM people WHERE name LIKE 'B%' ORDER BY name;
Mostra la risposta
A. Bella
Ben % matches any number of characters (even zero), so 'B%' means "starts with B". ORDER BY name puts Bella before Ben.
Cosa copre questo quiz
- Pattern matching with
LIKE,%and_ - Case sensitivity of
LIKEin SQLite, MySQL and PostgreSQL - Checking a list of values with
INandNOT IN BETWEENincludes both ends- Why the order of the
BETWEENbounds matters
Domande frequenti
Serve un account?
No. Chiunque può giocare. Accedi per salvare XP, serie, badge e cronologia.
Posso rifarlo?
Sì. Il tuo miglior punteggio resta salvato, e domande e risposte vengono mescolate ogni volta.