Kuis

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

4/30/23, 4:58 PM Kuis 10: Attempt review

PEMODELAN DAN IMPLEMENTASI BASIS DATA IT-45-03 [TDR]


Dashboard / My courses / CTJ2F3-IT-45-03 / Minggu 10: Pemrosesan Satu Tabel 2 / Kuis 10

Started on Sunday, 30 April 2023, 4:49 PM

State Finished

Completed on Sunday, 30 April 2023, 4:57 PM

Time taken 8 mins 10 secs

Marks 15.00/15.00

Grade 100.00 out of 100.00

Question 1

Correct

Mark 1.00 out of 1.00

Self joins can be either an outer join or an inner join.

Select one:

a. True 

b. False

The correct answer is: True

Question 2

Correct

Mark 1.00 out of 1.00

The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID
FROM CUSTOMER_T,ORDER_T WHERE CUSTOMER_T. CUSTOMER_ID = ORDER_T. CUSTOMER_ID?

Select one:

a. Cartesian join

b. Outer join

c. Equi-join 

d. Natural join

The correct answer is: Equi-join

https://lms.telkomuniversity.ac.id/mod/quiz/review.php?attempt=6804359&cmid=3084805 1/6
4/30/23, 4:58 PM Kuis 10: Attempt review

Question 3

Correct

Mark 1.00 out of 1.00

In an equi-inner join, rows without matching values are not eliminated from the join result.

Select one:

a. True

b. False 

The correct answer is: False

Question 4

Correct

Mark 1.00 out of 1.00

A UNION query is which of the following?

Select one:

a. Combines the output from no more than two queries and does not include the same number of columns

b. Combines the output from multiple queries and must include the same number of columns 

c. Combines the output from multiple queries and does not include the same number of columns

d. Combines the output from no more than two queries and must include the same number of columns

The correct answer is: Combines the output from multiple queries and must include the same number of columns

Question 5

Correct

Mark 1.00 out of 1.00

Select * from student join takes using (ID.; The above query is equivalent to

Select one:

a. Select * from student outer join takes using (ID.;

b. All of the mentioned

c. Select * from student inner join takes using (ID.; 

d. Select * from student left outer join takes using (ID.;

The correct answer is: Select * from student inner join takes using (ID.;

https://lms.telkomuniversity.ac.id/mod/quiz/review.php?attempt=6804359&cmid=3084805 2/6
4/30/23, 4:58 PM Kuis 10: Attempt review

Question 6

Correct

Mark 1.00 out of 1.00

What is the most common type of join?

Select one:

a. JOINED

b. JOINED TABLE

c. INNER JOIN 

d. INSIDE JOIN

The correct answer is: INNER JOIN

Question 7

Correct

Mark 1.00 out of 1.00

Which of the following is one of the basic approaches for joining tables?

Select one:

a. Natural join

b. Subqueries

c. All of the Mentioned 

d. Union Join

The correct answer is: All of the Mentioned

Question 8

Correct

Mark 1.00 out of 1.00

How many tables may be included with a join?

Select one:

a. One

b. Three

c. Two

d. All of the Mentioned 

The correct answer is: All of the Mentioned

https://lms.telkomuniversity.ac.id/mod/quiz/review.php?attempt=6804359&cmid=3084805 3/6
4/30/23, 4:58 PM Kuis 10: Attempt review

Question 9

Correct

Mark 1.00 out of 1.00

Which of the following statements is true concerning subqueries?

Select one:

a. All of the mentioned

b. Involves the use of an inner and outer query 

c. Does not start with the word SELECT

d. Cannot return the same result as a query that is not a subquery

The correct answer is: Involves the use of an inner and outer query

Question 10

Correct

Mark 1.00 out of 1.00

What type of join is needed when you wish to include rows that do not have matching values?

Select one:

a. Equi-join

b. All of the Mentioned

c. Outer join 

d. Natural join

The correct answer is: Outer join

Question 11

Correct

Mark 1.00 out of 1.00

A join in which the values in the columns, that are to be joined, are compared using a comparison operator, is called
an . . . . . . join.

Select one:

a. right

b. self

c. left outer

d. inner 

The correct answer is: inner

https://lms.telkomuniversity.ac.id/mod/quiz/review.php?attempt=6804359&cmid=3084805 4/6
4/30/23, 4:58 PM Kuis 10: Attempt review

Question 12

Correct

Mark 1.00 out of 1.00

What type of join is needed when you wish to return rows that do have matching values?

Select one:

a. Equi-join

b. Natural join

c. All of the Mentioned 

d. Outer join

The correct answer is: All of the Mentioned

Question 13

Correct

Mark 1.00 out of 1.00

The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID
FROM CUSTOMER_T,ORDER_T?

Select one:

a. Cartesian join 

b. Equi-join

c. Natural join

d. Outer join

The correct answer is: Cartesian join

Question 14

Correct

Mark 1.00 out of 1.00

Which of the following is a correlated subquery?

Select one:

a. Uses the result of an inner query to determine the processing of an inner query

b. Uses the result of an outer query to determine the processing of an outer query

c. Uses the result of an inner query to determine the processing of an outer query 

d. Uses the result of an outer query to determine the processing of an inner query

The correct answer is: Uses the result of an inner query to determine the processing of an outer query

https://lms.telkomuniversity.ac.id/mod/quiz/review.php?attempt=6804359&cmid=3084805 5/6
4/30/23, 4:58 PM Kuis 10: Attempt review

Question 15

Correct

Mark 1.00 out of 1.00

Which data manipulation command is used to combines the records from one or more tables?

Select one:

a. SELECT

b. JOIN 

c. PRODUCT

d. PROJECT

The correct answer is: JOIN

Previous Activity

Jump to...

Next Activity

https://lms.telkomuniversity.ac.id/mod/quiz/review.php?attempt=6804359&cmid=3084805 6/6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy