- 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
30 quiz di SQL con 300 domande a risposta multipla, dalle facili alle difficili. Ogni risposta è spiegata.
30 quiz · 300 domande
6 categorie
SQLite
Categorie di SQL
4 Facile1 Medio
SELECT & WHERE
ORDER BY & LIMIT
DISTINCT
+2
0 su 5 superati
Inizia
1 Facile4 Medio
COUNT, SUM, AVG, MIN & MAX
GROUP BY
HAVING
+2
0 su 5 superati
Inizia
1 Facile2 Medio2 Difficile
INNER JOIN
LEFT JOIN
Self Join
+2
0 su 5 superati
Inizia
3 Medio2 Difficile
Subqueries
EXISTS vs IN
Common Table Expressions (WITH)
+2
0 su 5 superati
Inizia
1 Facile4 Medio
INSERT, UPDATE & DELETE
Constraints & Keys
Transactions & ACID
+2
0 su 5 superati
Inizia
2 Medio3 Difficile
Classic SQL Interview Queries
SQL Output Prediction
Tricky NULL Questions
+2
0 su 5 superati
Inizia
quiz trovati
1
SELECT & WHERE
Facile
Pick the columns you want and keep only the rows that match a condition.
SQL · SQL Basics
#select#filtering
10 domande · ~5 min
Da iniziare
Inizia
2
ORDER BY & LIMIT
Facile
Sort query results and keep only the first few rows.
SQL · SQL Basics
#sorting#select
10 domande · ~5 min
Da iniziare
Inizia
3
DISTINCT
Facile
Remove duplicate rows from a result and count unique values.
SQL · SQL Basics
#select#duplicates
10 domande · ~5 min
Da iniziare
Inizia
4
LIKE, IN & BETWEEN
Facile
Filter rows with text patterns, lists of values and ranges.
SQL · SQL Basics
#filtering#patterns
10 domande · ~5 min
Da iniziare
Inizia
5
NULL Values
Medio
Learn how SQL treats missing values in comparisons, calculations and filters.
SQL · SQL Basics
#null#filtering
10 domande · ~6 min
Da iniziare
Inizia
1
COUNT, SUM, AVG, MIN & MAX
Facile
Turn many rows into one number with the five core aggregate functions.
SQL · Aggregates & GROUP BY
#aggregates#select
10 domande · ~5 min
Da iniziare
Inizia
2
GROUP BY
Medio
Split rows into groups and calculate a total, count or average for each one.
SQL · Aggregates & GROUP BY
#group-by#aggregates
10 domande · ~6 min
Da iniziare
Inizia
3
HAVING
Medio
Filter groups by their totals, counts or averages after GROUP BY.
SQL · Aggregates & GROUP BY
#having#group-by
10 domande · ~6 min
Da iniziare
Inizia
4
COUNT(*) vs COUNT(column)
Medio
Know exactly what each form of COUNT counts, and why NULL changes the answer.
SQL · Aggregates & GROUP BY
#aggregates#null
10 domande · ~6 min
Da iniziare
Inizia
5
Aggregates & NULL
Medio
See how SUM, AVG, MIN and MAX skip NULL and what they return when nothing is left.
SQL · Aggregates & GROUP BY
#aggregates#null
10 domande · ~6 min
Da iniziare
Inizia
1
INNER JOIN
Facile
Match rows from two tables with INNER JOIN and predict which rows come out.
SQL · SQL Joins
#joins#inner-join
10 domande · ~5 min
Da iniziare
Inizia
2
LEFT JOIN
Medio
Keep every row of the left table with LEFT JOIN and handle the NULLs it creates.
SQL · SQL Joins
#joins#left-join
10 domande · ~6 min
Da iniziare
Inizia
3
Self Join
Difficile
Join a table to itself to read hierarchies, compare rows and find pairs.
SQL · SQL Joins
#joins#self-join
10 domande · ~8 min
Da iniziare
Inizia
4
Join Pitfalls
Difficile
Catch the join mistakes that silently duplicate rows, lose rows or inflate totals.
SQL · SQL Joins
#joins#gotchas
10 domande · ~8 min
Da iniziare
Inizia
5
UNION & CROSS JOIN
Medio
Stack query results with UNION and UNION ALL and build every combination with CROSS JOIN.
SQL · SQL Joins
#union#joins
10 domande · ~6 min
Da iniziare
Inizia
1
Subqueries
Medio
Put a query inside a query and predict what scalar, IN, derived-table and correlated subqueries return.
SQL · Subqueries & Window Functions
#subqueries#correlated-subqueries
10 domande · ~6 min
Da iniziare
Inizia
2
EXISTS vs IN
Medio
Choose between EXISTS and IN, and avoid the NOT IN trap that returns nothing when a NULL sneaks in.
SQL · Subqueries & Window Functions
#subqueries#null-handling
10 domande · ~6 min
Da iniziare
Inizia
3
Common Table Expressions (WITH)
Medio
Name intermediate results with WITH and generate rows or walk hierarchies with recursive CTEs.
SQL · Subqueries & Window Functions
#cte#recursive-cte
10 domande · ~6 min
Da iniziare
Inizia
4
ROW_NUMBER, RANK & DENSE_RANK
Difficile
Number and rank rows with window functions and know exactly how each one treats ties.
SQL · Subqueries & Window Functions
#window-functions#ranking
10 domande · ~8 min
Da iniziare
Inizia
5
Running Totals, LAG & LEAD
Difficile
Build running totals, moving averages and row-to-row comparisons with window frames, LAG and LEAD.
SQL · Subqueries & Window Functions
#window-functions#running-totals
10 domande · ~8 min
Da iniziare
Inizia
1
INSERT, UPDATE & DELETE
Facile
Add, change and remove rows with INSERT, UPDATE and DELETE, and avoid the classic missing-WHERE mistake.
SQL · Changing Data & Database Design
#dml#crud
10 domande · ~5 min
Da iniziare
Inizia
2
Constraints & Keys
Medio
Know what NOT NULL, UNIQUE, CHECK, PRIMARY KEY and FOREIGN KEY reject, and how SQLite, MySQL and PostgreSQL differ.
SQL · Changing Data & Database Design
#constraints#keys
10 domande · ~6 min
Da iniziare
Inizia
3
Transactions & ACID
Medio
Group changes with BEGIN, COMMIT, ROLLBACK and savepoints, and know what each ACID property promises.
SQL · Changing Data & Database Design
#transactions#acid
10 domande · ~6 min
Da iniziare
Inizia
4
Indexes
Medio
Learn what indexes speed up, what they cost and why some queries cannot use them.
SQL · Changing Data & Database Design
#indexes#performance
10 domande · ~6 min
Da iniziare
Inizia
5
Normalization (1NF, 2NF, 3NF)
Medio
Spot tables that break 1NF, 2NF or 3NF, the anomalies they cause and how to split them.
SQL · Changing Data & Database Design
#design#normalization
10 domande · ~6 min
Da iniziare
Inizia
1
Classic SQL Interview Queries
Difficile
Solve the queries every SQL interview asks, like second highest salary, duplicates and top N per group.
SQL · SQL Interview Questions
#interview#queries
10 domande · ~8 min
Da iniziare
Inizia
2
SQL Output Prediction
Medio
Read short SQL queries and predict their exact output, including the classic interview traps.
SQL · SQL Interview Questions
#output-prediction#gotchas
10 domande · ~6 min
Da iniziare
Inizia
3
Tricky NULL Questions
Difficile
Master the NULL traps interviewers love, from NOT IN and three-valued logic to aggregates and sorting.
SQL · SQL Interview Questions
#null#gotchas
10 domande · ~8 min
Da iniziare
Inizia
4
Query Performance
Medio
Recognise slow query patterns and the rewrites that fix them, from N+1 queries to deep OFFSET pagination.
SQL · SQL Interview Questions
#performance#indexes
10 domande · ~6 min
Da iniziare
Inizia
5
SQL: Find the Bug
Difficile
Find the bugs in queries that run without errors but return the wrong answer, and in ones that do not run at all.
SQL · SQL Interview Questions
#debugging#interview
10 domande · ~8 min
Da iniziare
Inizia
Nessun quiz trovato. Prova con un'altra parola o un altro tag.