Filters
Question type

Study Flashcards

Which command is used to save changes to the database? What is the syntax for this command?

Correct Answer

verifed

verified

Any changes made to the table contents a...

View Answer

The SQL aggregate function that gives the number of rows containing non-null values for a given column is


A) COUNT
B) MIN
C) MAX
D) SUM

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

Which of the following is used to select partial table contents?


A) SELECT <column(s) > FROM <Table name> BY <Conditions>;
B) LIST <column(s) > FROM <Table name> BY <Conditions>;
C) SELECT <column(s) > FROM <Table name> WHERE <Conditions>;
D) LIST<column(s) > FROM <Table name> WHERE <Conditions>;

E) None of the above
F) A) and C)

Correct Answer

verifed

verified

A(n) character is a symbol that can be used as a general substitute for other characters or commands.

Correct Answer

verifed

verified

If integer values are relatively small, must be used instead of INT.

Correct Answer

verifed

verified

Which of the following queries uses the correct SQL syntax to list the table contents for either V_CODE = 21344 or V_CODE = 24288?


A) SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE FROM PRODUCT WHERE V_CODE = 21344 OR V_CODE <= 24288;
B) SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE FROM PRODUCT WHERE V_CODE = 21344 OR V_CODE => 24288;
C) SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE FROM PRODUCT WHERE V_CODE = 21344 OR V_CODE > 24288;
D) SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE FROM PRODUCT WHERE V_CODE = 21344 OR V_CODE = 24288;

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

The SQL command that allows a user to list the contents of a table is .


A) INSERT
B) SELECT
C) COMMIT
D) UPDATE

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Most SQL implementations yield case-insensitive searches.

A) True
B) False

Correct Answer

verifed

verified

Which of the following queries is used to list a unique value for V_CODE, where the list will produce only a list of those values that are different from one another?


A) SELECT ONLY V_CODE FROM PRODUCT;
B) SELECT UNIQUE V_CODE FROM PRODUCT;
C) SELECT DIFFERENT V_CODE FROM PRODUCT;
D) SELECT DISTINCT V_CODE FROM PRODUCT;

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

The conditional LIKE must be used in conjunction with wildcard characters.

A) True
B) False

Correct Answer

verifed

verified

A(n) is a query that is embedded (or nested) inside another query.


A) alias
B) operator
C) subquery
D) view

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

An alias is especially useful when a table must be joined to itself in a(n) query.

Correct Answer

verifed

verified

SQL allows the use of logical restrictions on its inquiries such as OR, AND, and NOT.

A) True
B) False

Correct Answer

verifed

verified

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


A) Performing additions and subtractions
B) Performing multiplications and divisions
C) Performing operations within parentheses
D) Performing power operations

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

To list all the contents of the PRODUCT table, a user would use .


A) LIST * FROM PRODUCT
B) SELECT * FROM PRODUCT
C) DISPLAY * FROM PRODUCT
D) SELECT ALL FROM PRODUCT

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

The clause of the GROUP BY statement operates very much like the WHERE clause in the SELECT statement.

Correct Answer

verifed

verified

The command, coupled with appropriate search conditions, is an incredibly powerful tool that enables a user to transform data into information.

Correct Answer

verifed

verified

DATE() and SYSDATE are special functions that return today's date in MS Access and , respectively.

Correct Answer

verifed

verified

The specification is used to avoid having duplicated values in a column.

Correct Answer

verifed

verified

A(n) , also known as a nested query or an inner query, is a query that is embedded (or nested) inside another query.

Correct Answer

verifed

verified

Showing 81 - 100 of 111

Related Exams

Show Answer