Table relationships, SQL and Pandas joins

Table relationships, SQL and Pandas joins

Professional Development

10 Qs

quiz-placeholder

Similar activities

Exam Prep 1

Exam Prep 1

Professional Development

10 Qs

apps

apps

4th Grade - Professional Development

10 Qs

DMBS

DMBS

Professional Development

11 Qs

IT Tebak CERMAT CEPAT

IT Tebak CERMAT CEPAT

KG - Professional Development

10 Qs

SQL Select 1

SQL Select 1

Professional Development

10 Qs

05 HTML/CSS Vertiefung

05 HTML/CSS Vertiefung

Professional Development

10 Qs

Python Data Structures & Statements

Python Data Structures & Statements

Professional Development

11 Qs

Base de Datos

Base de Datos

Professional Development

11 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?