Schrijf een SQL-query die alle bestellingen (orderid in tblorders) toont met de naam (customername) van de klant (tblcustomers).
Toon ook bestellingen waarvoor geen klant gevonden wordt.
SQL_Join
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Annemijn Vermeire
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Schrijf een SQL-query die alle bestellingen (orderid in tblorders) toont met de naam (customername) van de klant (tblcustomers).
Toon ook bestellingen waarvoor geen klant gevonden wordt.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wanneer je inner join gebruikt, moet je een match in beide tabellen hebben om een resultaat te retourneren.
waar
onwaar
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Schrijf een SQL-query die alle informatie toont van bestellingen (tblorders) én de bijhorende klantgegevens (tblcustomers).
Toon alleen de bestellingen waarvoor ook klantinformatie (customerID) bestaat.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Wanneer je het sleutelwoord INNER JOIN gebruikt, kun je niet meer dan twee tabellen tegelijk samenvoegen."
waar
onwaar
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Je mag niet meer dan één LEFT JOIN gebruiken in een SQL-opdracht."
waar
onwaar
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bekijk de volgende code:
SELECT customername, orderID FROM tblorders LEFT JOIN tblcustomers
ON tblorders.customerID = tblcustomers.customerID;
Het LEFT JOIN-sleutelwoord geeft alle rijen uit de linkertabel (tblorders), zelfs als er geen overeenkomst is met de rechttabel (tblcustomers).
waar
onwaar
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bekijk de volgende code:
SELECT orderID, customername FROM tblorders
RIGHT JOIN tblcustomers ON tblorders.customerID = tblcustomers.customerID
Het sleutelwoord RIGHT JOIN geeft alle records terug uit de rechtertabel (tblcustomers), zelfs als de klant geen enkele bestelling heeft geplaatst.
waar
onwaar
9 questions
SQL tesztkérdések 7.
Quiz
•
12th Grade
10 questions
Perintah Join SQL
Quiz
•
11th Grade - University
10 questions
Database Scenarios Review
Quiz
•
12th Grade
11 questions
YouTube Les SQL - deel 1 - TP5 TP6 V5 PHP CRUD SQL Databases
Quiz
•
12th Grade
11 questions
SQL check
Quiz
•
12th Grade
10 questions
ICTDBS506 Creating a 'Car Pool' Database with MySQL
Quiz
•
12th Grade - University
10 questions
Part 2 Multiple Table Queries
Quiz
•
10th Grade
10 questions
Android Studio Basic
Quiz
•
12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University