
Inner Joins- MySql

Quiz
•
Instructional Technology
•
9th Grade
•
Hard
RAYMOND YC
Used 2+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is an InnerJoin??
This Join returns all rows from the left table, and the matching rows from the right table.
This Join creates a new table by combining rows that have matching values in two or more tables.
This Join is a method of combining two or more tables so that the result includes unmatched rows of one of the tables, or of both tables
This Join is similar to left joins except they return all rows from the table in the RIGHT clause and only matching rows from the table in the FROM clause.
2.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Which of the following SQL commands performs an INNER JOIN?
SELECT Column_list
FROM TABLE1
INNER JOIN TABLE2
ON Table1.ColName = Table2.ColName
SELECT column_name(s) FROM table1 FULL OUTER JOIN table2 ON table1.column_name = table2.column_name WHERE condition;
SELECT column_name(s) FROM table1 RIGHT JOIN table2 ON table1.column_name = table2.column_name;
SELECT column_name(s) FROM table1 LEFT JOIN table2 ON table1.column_name = table2.column_name;
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which keyword is commonly used to perform an INNER JOIN in MYSQL?
OUTER
WHERE
JOIN
INNER
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
In a scenario where table A has 100 rows and table B has 80 rows, and there are 60 matching rows, how many rows will be returned by an inner join?
60
80
100
140
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
When using an INNER JOIN, what happens if there are no matching rows between the tables?
The query returns an error
The query returns all rows from both tables
The query returns an empty result set
The query returns only the rows from the left table
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
How Many Tables Can You Innner Join?
As many as you want, as long as thier records have matching values.
Only two
It depends
Don't Know
7.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Select the appropriate command to create a new table with columns Item name, Item unit, company name, and company city. The inner join is based on the company IDs from both tables.
SELECT foods.item_name,foods.item_unit,
company.company_name,company.company_city
FROM foods
INNER JOIN company
ON foods.company_id =company.company_id;
SELECT foods.company-id,foods.item_unit,
company.company_id,company.company_city
FROM foods
INNER JOIN company
ON foods.company_id =company.company_id;
SELECT foods.item_name, company.item_unit, company.company_name, foods.company_city FROM foods INNER JOIN company ON foods.company_id = company.company_id;
SELECT foods.item_name, company.item_unit, company.company_name, foods.company_city FROM foods INNER JOIN company ON foods.company_id = company.company_id;
Similar Resources on Wayground
10 questions
Apple for my apple apple

Quiz
•
KG - Professional Dev...
11 questions
Microsoft Teams

Quiz
•
9th - 12th Grade
10 questions
Smartphones and Apps Quiz

Quiz
•
4th Grade - Professio...
10 questions
Create a Slogan for Earth Day

Quiz
•
6th - 10th Grade
12 questions
Google Sheets Quiz

Quiz
•
7th - 12th Grade
10 questions
Introduction to Cookery

Quiz
•
7th - 12th Grade
8 questions
ICT-CSS

Quiz
•
9th Grade
11 questions
How well do you know about technology

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade