Kyle Peterson
Test por , creado hace más de 1 año

CIS 440 Quiz 2 of Fall 2020 offered by Minnesota State University, Makato.

91
0
0
Kyle Peterson
Creado por Kyle Peterson hace más de 3 años
Cerrar

MNSU CIS 440 Fall 2020 Quiz 2

Pregunta 1 de 25

1

Microsoft SQL Server uses:

Selecciona una de las siguientes respuestas posibles:

  • T-SQL

  • PL/SQL

  • DDL

  • DML

Explicación

Pregunta 2 de 25

1

The COUNT function is designed to tally the number of non-null "values" of an attribute and is often used in conjunction with the DISTINCT clause.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 3 de 25

1

With the exception of the database creation process, most RDBMS vendors use SQL that deviates little from the ANSI standard SQL.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 4 de 25

1

Which clause is specifically used with aggregate functions?

Selecciona una de las siguientes respuestas posibles:

  • WHERE

  • DISTINCT

  • HAVING

  • ORDER BY

Explicación

Pregunta 5 de 25

1

The underscore wildcard is used just like % but instead of matching multiple characters, the underscore matches just a single character.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 6 de 25

1

Which SQL statement is used to return only different values?

Selecciona una de las siguientes respuestas posibles:

  • SELECT UNIQUE

  • SELECT DIFFERENT

  • SELECT DISTINCT

  • All of the above

Explicación

Pregunta 7 de 25

1

Which SQL keyword is used to sort the result-set?

Selecciona una de las siguientes respuestas posibles:

  • SORT

  • SORT BY

  • ORDER

  • ORDER BY

Explicación

Pregunta 8 de 25

1

Which one of the following is NOT part of DDL?

Selecciona una de las siguientes respuestas posibles:

  • SELECT INTO

  • CREATE

  • ALTER

  • TRUNCATE

Explicación

Pregunta 9 de 25

1

CAST is unique to T-SQL.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 10 de 25

1

Which one of the following JOIN includes all rows from the second table and matching rows from the first table?

Selecciona una de las siguientes respuestas posibles:

  • Inner Join

  • Left Outer Join

  • Right Outer Join

  • Full Outer Join

Explicación

Pregunta 11 de 25

1

What is the most common type of join?

Selecciona una de las siguientes respuestas posibles:

  • Inner Join

  • Left Outer Join

  • Right Outer Join

  • Full Outer Join

  • Self Join

Explicación

Pregunta 12 de 25

1

Which SQL statement is used to create a table in a database?

Selecciona una de las siguientes respuestas posibles:

  • CREATE TABLE

  • CREATE DB

  • CREATE DATABASE TABLE

  • CREATE DATABASE TAB

Explicación

Pregunta 13 de 25

1

Which SQL statements uses the keyword SET?

Selecciona una de las siguientes respuestas posibles:

  • SELECT

  • UPDATE

  • MODIFY

  • DELETE

Explicación

Pregunta 14 de 25

1

A table may be joined to itself.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 15 de 25

1

The FULL OUTER JOIN syntax is not supported by Microsoft Access.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 16 de 25

1

A set of SQL statements (one or more) typically grouped together to perform a specific routine is called ____________.

Selecciona una de las siguientes respuestas posibles:

  • Views

  • Cursors

  • Stored Procedures

  • Indexes

Explicación

Pregunta 17 de 25

1

According to the rules of precedence, which of the following computations should be completed first?

Selecciona una de las siguientes respuestas posibles:

  • performing additions and subtractions

  • performing multiplications and divisions

  • performing operations within parentheses

  • performing power operations

Explicación

Pregunta 18 de 25

1

The special operator used to check whether an attribute is within a range of values is ___________.

Selecciona una de las siguientes respuestas posibles:

  • BETWEEN

  • LIKE

  • IN

  • NULL

Explicación

Pregunta 19 de 25

1

To list the contents of a table, you must use the DISPLAY command.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 20 de 25

1

The SQL data manipulation command HAVING:

Selecciona una de las siguientes respuestas posibles:

  • restricts the selection of rows based on a conditional expression.

  • restricts the selection of grouped rows based on a condition.

  • modifies an attribute's value in one or more table's rows.

  • groups the selected rows based on one or more attributes.

Explicación

Pregunta 21 de 25

1

You can call a stored procedure from within itself.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 22 de 25

1

A temporary stored procedure with global scope has the following prefix:

Selecciona una de las siguientes respuestas posibles:

  • #

  • ##

  • !

  • EXECUTE_AS

Explicación

Pregunta 23 de 25

1

Which one of the following is used to prevent SQL injection attacks?

Selecciona una de las siguientes respuestas posibles:

  • Stored Procedures

  • Triggers

  • User-Defined Functions

  • Views

Explicación

Pregunta 24 de 25

1

-- Using a variable with CONCAT
DECLARE @a VARCHAR(30) = 'My birthday is on '
DECLARE @b DATE = '1980/08/25'
SELECT CONCAT (@a, @b) AS RESULT;

The above query will yield an error.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 25 de 25

1

Which type of JOIN reflects is the following statement:

All rows from the left side of the join, even if there is not a match, and all rows from the right side, even if there is not a match, show up in the results.

Selecciona una de las siguientes respuestas posibles:

  • INNER JOIN

  • LEFT OUTER JOIN

  • FULL OUTER JOIN

  • RIGHT OUTER JOIN

  • MERGE

Explicación