SQL Multitables Quiz

SQL Multitables Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

 php.updatequery

php.updatequery

12th Grade

9 Qs

SQL Clauses Quiz

SQL Clauses Quiz

12th Grade

10 Qs

SQL Basics Quiz

SQL Basics Quiz

12th Grade

10 Qs

Konektifitas BasisData WEB dengan Aplikasi Android

Konektifitas BasisData WEB dengan Aplikasi Android

12th Grade

15 Qs

PHP

PHP

12th Grade

10 Qs

SQL Queries -Functions

SQL Queries -Functions

11th - 12th Grade

10 Qs

BD 2.1

BD 2.1

3rd Grade - University

10 Qs

Objective 3.2

Objective 3.2

9th - 12th Grade

10 Qs

SQL Multitables Quiz

SQL Multitables Quiz

Assessment

Quiz

Other

12th Grade

Medium

Created by

Imelda Kristian

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apakah tujuan menggunakan multi table pada SQL ?

Meningkatkan data redudansi dan integritas data

Menyederhanakan fungsi penyimpanan data SQL

Meningkatkan keamanan data dan ancaman pada basis data

Mengorganisir dan menyimpan data sesuai struktur, mengurangi redudansi data, dan menganalisis query dan data yang kompleks

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apakah yang dimaksud primary key pada tabel SQL ?

Primary key adalah kolom yang digunakan untuk mengurutkan data dalam tabel SQL

Primary key adalah kolom yang menyimpan data paling penting dalam tabel SQL

Primary key adalah yang secara unik mengidentifikasi setiap baris dalam tabel SQL.

Primary key adalah kolom yang digunakan untuk menghitung nilai rata-rata data dalam tabel SQL

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you join two tables in SQL?

Using the MERGE keyword and the ON keyword to specify the join condition.

Using the UNION keyword to combine the tables.

Using the GROUP BY keyword to group the tables together.

Using the JOIN keyword and the ON keyword to specify the join condition.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between INNER JOIN and OUTER JOIN?

INNER JOIN returns all the rows from one table and the matching rows from the other table, while OUTER JOIN returns only the rows that have no matching values in the other table.

INNER JOIN returns all the rows from both tables, while OUTER JOIN returns only the rows that have no matching values in the other table.

INNER JOIN returns all the rows from one table and the matching rows from the other table, while OUTER JOIN returns only the matching rows between two tables.

INNER JOIN returns only the matching rows between two tables, while OUTER JOIN returns all the rows from one table and the matching rows from the other table.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a foreign key in a SQL table?

A foreign key is a column or a set of columns that references the primary key of another table.

A foreign key is a column or a set of columns that stores the primary key of another table.

A foreign key is a column or a set of columns that references the primary key of the same table.

A foreign key is a column or a set of columns that references the secondary key of another table.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using aliases in SQL queries?

To allow multiple tables to have the same name in a query.

To provide a temporary name or shorthand notation for a table or column.

To improve the performance of the SQL queries.

To hide sensitive information in the database.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between UNION and UNION ALL in SQL?

UNION ALL is used for combining tables vertically, while UNION is used for combining tables horizontally

UNION and UNION ALL are the same and can be used interchangeably

UNION removes duplicate rows, while UNION ALL includes all rows

UNION ALL removes duplicate rows, while UNION includes all rows

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?