
Table relationships, SQL and Pandas joins
Authored by Felipe Millacura
Computers
Professional Development
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What's your Valentine mood?
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What sort of relationships can we have between tables?
One-to-one
Many-to-many
One-to-many
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
INNER JOIN returns only those joined records where there is match in the condition we specify
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
RIGHT JOIN says 'keep all the records in the left table, adding in any matching records from the right table'.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
FULL OUTER JOIN combines the results of both left and right outer joins and returns all (matched or unmatched) rows from the tables on both sides of the join
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which following code creates an empty database in ipython
%%sql
CREATE TABLE animals (
...
);
%sql posgresql://
sql sqlite://
%sql sqlite://
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
The pandas package contains functions to perform all of the joins you can have in SQL, which of these are True:
merge() for combining data on common columns or indices
merge() for combining DataFrames across rows or columns
concat() for combining data on common columns or indices
.join() for combining data on a key column or an index
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?