Table relationships, SQL and Pandas joins

Table relationships, SQL and Pandas joins

Professional Development

10 Qs

quiz-placeholder

Similar activities

SQL Commands - SELECT Statements

SQL Commands - SELECT Statements

Professional Development

10 Qs

dbms-22

dbms-22

Professional Development

8 Qs

SQL Server - Transact SQL e Desenvolvimento [DEV]

SQL Server - Transact SQL e Desenvolvimento [DEV]

Professional Development

11 Qs

SQL Commands - UPDATE Statements

SQL Commands - UPDATE Statements

Professional Development

10 Qs

DP MÓDULO 02 pt-br

DP MÓDULO 02 pt-br

Professional Development

11 Qs

MYSQL

MYSQL

Professional Development

9 Qs

DB2 (5/4)

DB2 (5/4)

Professional Development

10 Qs

SQL1

SQL1

Professional Development

10 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?