- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AI / Machine Learningโครงข่ายประสาท ML และ LLM ตั้งแต่ศูนย์ เรียน C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ เรียน C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET เรียน Matplotlibกราฟเส้น แท่ง กระจาย และวงกลม พร้อมตัวแสดงภาพแบบโต้ตอบ เรียน RustOwnership, trait, การจัดการข้อผิดพลาด และ thread เรียน GoSlice, interface, goroutine และ channel อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- ควิซใหม่
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
ควิซ SQL
ควิซ SQL 30 ชุด รวม 300 ข้อแบบปรนัย ตั้งแต่ง่ายถึงยาก ทุกคำตอบมีคำอธิบาย
30 ควิซ · 300 ข้อ
6 หมวด
SQLite
หมวดของ SQL
4 ง่าย1 ปานกลาง
SELECT & WHERE
ORDER BY & LIMIT
DISTINCT
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย4 ปานกลาง
COUNT, SUM, AVG, MIN & MAX
GROUP BY
HAVING
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย2 ปานกลาง2 ยาก
INNER JOIN
LEFT JOIN
Self Join
+2
ผ่าน 0 จาก 5
เริ่ม
3 ปานกลาง2 ยาก
Subqueries
EXISTS vs IN
Common Table Expressions (WITH)
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย4 ปานกลาง
INSERT, UPDATE & DELETE
Constraints & Keys
Transactions & ACID
+2
ผ่าน 0 จาก 5
เริ่ม
2 ปานกลาง3 ยาก
Classic SQL Interview Queries
SQL Output Prediction
Tricky NULL Questions
+2
ผ่าน 0 จาก 5
เริ่ม
ควิซที่ตรงกัน
1
SELECT & WHERE
ง่าย
Pick the columns you want and keep only the rows that match a condition.
SQL · SQL Basics
#select#filtering
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
ORDER BY & LIMIT
ง่าย
Sort query results and keep only the first few rows.
SQL · SQL Basics
#sorting#select
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
3
DISTINCT
ง่าย
Remove duplicate rows from a result and count unique values.
SQL · SQL Basics
#select#duplicates
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
4
LIKE, IN & BETWEEN
ง่าย
Filter rows with text patterns, lists of values and ranges.
SQL · SQL Basics
#filtering#patterns
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
5
NULL Values
ปานกลาง
Learn how SQL treats missing values in comparisons, calculations and filters.
SQL · SQL Basics
#null#filtering
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
COUNT, SUM, AVG, MIN & MAX
ง่าย
Turn many rows into one number with the five core aggregate functions.
SQL · Aggregates & GROUP BY
#aggregates#select
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
GROUP BY
ปานกลาง
Split rows into groups and calculate a total, count or average for each one.
SQL · Aggregates & GROUP BY
#group-by#aggregates
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
HAVING
ปานกลาง
Filter groups by their totals, counts or averages after GROUP BY.
SQL · Aggregates & GROUP BY
#having#group-by
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
COUNT(*) vs COUNT(column)
ปานกลาง
Know exactly what each form of COUNT counts, and why NULL changes the answer.
SQL · Aggregates & GROUP BY
#aggregates#null
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
Aggregates & NULL
ปานกลาง
See how SUM, AVG, MIN and MAX skip NULL and what they return when nothing is left.
SQL · Aggregates & GROUP BY
#aggregates#null
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
INNER JOIN
ง่าย
Match rows from two tables with INNER JOIN and predict which rows come out.
SQL · SQL Joins
#joins#inner-join
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
LEFT JOIN
ปานกลาง
Keep every row of the left table with LEFT JOIN and handle the NULLs it creates.
SQL · SQL Joins
#joins#left-join
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Self Join
ยาก
Join a table to itself to read hierarchies, compare rows and find pairs.
SQL · SQL Joins
#joins#self-join
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Join Pitfalls
ยาก
Catch the join mistakes that silently duplicate rows, lose rows or inflate totals.
SQL · SQL Joins
#joins#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
UNION & CROSS JOIN
ปานกลาง
Stack query results with UNION and UNION ALL and build every combination with CROSS JOIN.
SQL · SQL Joins
#union#joins
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
Subqueries
ปานกลาง
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 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
2
EXISTS vs IN
ปานกลาง
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 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Common Table Expressions (WITH)
ปานกลาง
Name intermediate results with WITH and generate rows or walk hierarchies with recursive CTEs.
SQL · Subqueries & Window Functions
#cte#recursive-cte
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
ROW_NUMBER, RANK & DENSE_RANK
ยาก
Number and rank rows with window functions and know exactly how each one treats ties.
SQL · Subqueries & Window Functions
#window-functions#ranking
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
Running Totals, LAG & LEAD
ยาก
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 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
1
INSERT, UPDATE & DELETE
ง่าย
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 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
Constraints & Keys
ปานกลาง
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 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Transactions & ACID
ปานกลาง
Group changes with BEGIN, COMMIT, ROLLBACK and savepoints, and know what each ACID property promises.
SQL · Changing Data & Database Design
#transactions#acid
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
Indexes
ปานกลาง
Learn what indexes speed up, what they cost and why some queries cannot use them.
SQL · Changing Data & Database Design
#indexes#performance
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
Normalization (1NF, 2NF, 3NF)
ปานกลาง
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 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
Classic SQL Interview Queries
ยาก
Solve the queries every SQL interview asks, like second highest salary, duplicates and top N per group.
SQL · SQL Interview Questions
#interview#queries
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
2
SQL Output Prediction
ปานกลาง
Read short SQL queries and predict their exact output, including the classic interview traps.
SQL · SQL Interview Questions
#output-prediction#gotchas
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Tricky NULL Questions
ยาก
Master the NULL traps interviewers love, from NOT IN and three-valued logic to aggregates and sorting.
SQL · SQL Interview Questions
#null#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Query Performance
ปานกลาง
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 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
SQL: Find the Bug
ยาก
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 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
ไม่พบควิซที่ตรงกัน ลองคำหรือแท็กอื่นดู