CET_TARDE - MTA Database - E_Join_Union_Intersect

Descrição

Database Quizzes preparing to certification
Hawerth Castro
Quiz por Hawerth Castro, atualizado more than 1 year ago
Hawerth Castro
Criado por Hawerth Castro quase 7 anos atrás
26
0

Resumo de Recurso

Questão 1

Questão
You need to retrieve data from two related database tables based on a column that exists in both tables. Which command should you use in a query?
Responda
  • INTERSECT
  • UNION
  • JOIN
  • TRUNCATE

Questão 2

Questão
You need to combine the results of two queries into a single result that contains all of the rows from both queries. Which Structured Query Language (SQL) statement should you use?
Responda
  • TRUNCATE
  • JOIN
  • EXCEPT
  • UNION

Questão 3

Questão
You have a Customer table and an Order table. You join the Customer table with the Order table by using the CusromerID column. The results include: . All customers and their orders . Customers who have no orders Which type of join do these results represent?
Responda
  • Complete join
  • Partial join
  • Inner join
  • Outer join

Questão 4

Questão
You have two tables named Cars and Color as defined below. The two tables are related by ColorId. How many rows does the SQL statement return?
Responda
  • 0
  • 2
  • 3
  • 6

Questão 5

Questão
This question requires that you evaluate the underlined text to determine if it is correct. The UNION keyword combines the results of two queries and returns only rows that appear in both result sets. Instructions: Review the underlined text. If it makes the statement correct, select “No change is needed.” If the statement is incorrect, select the answer choice that makes the statement correct:
Responda
  • No change is needed
  • INTERSECT
  • ALL
  • UOIN

Semelhante

CET_TARDE - MTA Database - STANDARDS
Hawerth Castro
CET_TARDE - MTA Database - E_backup_permissions
Hawerth Castro
CET_TARDE - MTA Database - DIAGNOSTIC5
Hawerth Castro
CET_TARDE - MTA Windows OS Fundamentals 1
Hawerth Castro
CET_TARDE - MTA Database - INDEX
Hawerth Castro
CET_TARDE - MTA Database - DIAGNOSTIC4
Hawerth Castro
CET_TARDE - MTA Database - E_COMANDS
Hawerth Castro
CET_TARDE - MTA Database - DIAGNOSTIC3
Hawerth Castro
CET_TARDE - MTA Database - DIAGNOSTIC1
Hawerth Castro
CET_TARDE - MTA HTML5 Application Development Fundamentals 2
Hawerth Castro
CET_TARDE - MTA Software Development Fundamentals 3
Hawerth Castro