Exam 3: Structured Query Language

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following is not true about primary keys?

Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
Verified

C

Discuss SQL data types.

Free
(Essay)
4.9/5
(31)
Correct Answer:
Verified

Common examples of standard SQL data types are Char,VarChar,Integer,and Numeric.The Char data type is for fixed-length character data.VarChar is for variable-length character data.Integer is for numeric data that are whole numbers only.Numeric is for numeric data that may include decimals.Char,VarChar,and Numeric must be qualified by a length specification to indicate the amount of storage space to be allocated for each data item.For example,Char(10)indicates fixed-length character data that is always stored as 10 characters.

Microsoft Access SQL commands are run within the SQL View of a Query window.

Free
(True/False)
4.9/5
(23)
Correct Answer:
Verified

True

Which SQL keyword is used to specify a condition that rows must meet to be included in the results of an SQL SELECT query?

(Multiple Choice)
4.8/5
(28)

Which of the following SQL commands would be used to remove only the data from a table named STUDENT while leaving the table structure intact?

(Multiple Choice)
4.7/5
(30)

Which of the following SQL commands would be used to remove both the data and the table structure of a table named STUDENT?

(Multiple Choice)
4.9/5
(35)

The order of the columns returned by an SQL SELECT statement is determined by the:

(Multiple Choice)
4.9/5
(32)

In SQL,the NOT keyword can be combined with the IN keyword to form the NOT IN condition for selecting values.

(True/False)
4.9/5
(34)

Given the table  CUSTOMER(CustID, Name, PhoneNumber, AccountBalance) \text { CUSTOMER(\underline{CustID}, Name, PhoneNumber, AccountBalance) } write the standard SQL query to retrieve the Name and Phone Number of customers whose name begins with 'S'.

(Essay)
4.8/5
(25)

Using SQL commands,multiple tables can be queried so that all the values from one table appear in the results,regardless of whether they have one or more corresponding values in the other table,by using the SQL ________ command.

(Short Answer)
4.9/5
(44)

Which of the following is not one of the five SQL built-in functions?

(Multiple Choice)
4.9/5
(25)

Explain the essential format of the CREATE TABLE statement.

(Essay)
4.9/5
(35)

When using SQL to create a table,specifying the NULL property for a column indicates that only null values may be stored in that column.

(True/False)
4.9/5
(33)

The SQL keyword(s)________ mean(s)that a value must be supplied before a new row can be created.

(Short Answer)
4.9/5
(38)

An SQL data type of ________ would indicate a variable-length character string with maximum length 75.

(Short Answer)
4.8/5
(32)

Which of the following is not a standard data type used in SQL?

(Multiple Choice)
4.7/5
(31)

Given the tables  STUDENT (SID, StudentName, Major, AdvisorID) \text { STUDENT (\underline{SID}, StudentName, Major, AdvisorID) }  ADVISOR (AdvisorID, AdvisorName, Office, Phone) \text { ADVISOR (\underline{AdvisorID}, AdvisorName, Office, Phone) } Which of the following SQL statements would be used to implant a join between the two tables?

(Multiple Choice)
4.8/5
(40)

Microsoft Access SQL allows table structures to be modified by using the standard SQL ________ command.

(Short Answer)
4.8/5
(44)

Which SQL keyword is used to apply conditions to restrict groups that appear in the results of a SELECT query that uses GROUP BY?

(Multiple Choice)
4.9/5
(33)

The values of existing data can be modified using the SQL ________ command,which can be used to change several column values at once.

(Short Answer)
4.9/5
(34)
Showing 1 - 20 of 96
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)