Table relationships, SQL and Pandas joins

Table relationships, SQL and Pandas joins

Professional Development

10 Qs

quiz-placeholder

Similar activities

Snowflake 14/02/2024

Snowflake 14/02/2024

Professional Development

10 Qs

db2

db2

University - Professional Development

11 Qs

SQL Quiz

SQL Quiz

Professional Development

15 Qs

PLSQL and Cursor Quiz

PLSQL and Cursor Quiz

Professional Development

10 Qs

Quiz 10 SQL Server

Quiz 10 SQL Server

Professional Development

10 Qs

SQL Session 2 Quiz

SQL Session 2 Quiz

Professional Development

10 Qs

Banco de Dados - 4º TI - Praticando

Banco de Dados - 4º TI - Praticando

Professional Development

10 Qs

ITFN Test 3

ITFN Test 3

KG - 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?