Table relationships, SQL and Pandas joins

Table relationships, SQL and Pandas joins

Professional Development

10 Qs

quiz-placeholder

Similar activities

PostgreSQL Training - Day 2

PostgreSQL Training - Day 2

Professional Development

6 Qs

FinTech 07-1 SQL

FinTech 07-1 SQL

Professional Development

10 Qs

Escuela Wompi - SQL

Escuela Wompi - SQL

Professional Development

12 Qs

DB2 (5/4)

DB2 (5/4)

Professional Development

10 Qs

SQL1

SQL1

Professional Development

10 Qs

Manipulating Data

Manipulating Data

University - Professional Development

15 Qs

GO4! Quiz Zeriuz Day 16

GO4! Quiz Zeriuz Day 16

Professional Development

10 Qs

MYSQL

MYSQL

Professional Development

9 Qs

Table relationships, SQL and Pandas joins

Table relationships, SQL and Pandas joins

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Felipe Millacura

Used 9+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

What's your Valentine mood?

Media Image
Media Image
Media Image
Media Image

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?