Filters
Question type

Study Flashcards

Which of the following queries will list all the rows in which the inventory stock dates occur on or after January 20,2016?


A) SELECT P_DESCRIPT,P_QOH,P_MIN,P_PRICE,P_INDATE FROM PRODUCT WHERE P_INDATE >= '20-JAN-2016';
B) SELECT P_DESCRIPT,P_QOH,P_MIN,P_PRICE,P_INDATE FROM PRODUCT WHERE P_INDATE >= $20-JAN-2010$;
C) SELECT P_DESCRIPT,P_QOH,P_MIN,P_PRICE,P_INDATE FROM PRODUCT WHERE P_INDATE <= '20-JAN-2010';
D) SELECT P_DESCRIPT,P_QOH,P_MIN,P_PRICE,P_INDATE FROM PRODUCT WHERE P_INDATE >= {20-JAN-2010};

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

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

Entity integrity is enforced automatically when the primary key is specified in the CREATE TABLE command sequence.

A) True
B) False

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

An alias cannot be used when a table is required to be joined to itself in a recursive query.

A) True
B) False

Correct Answer

verifed

verified

False

In a 1:M relationship,a user must always create the table for the side first.

Correct Answer

verifed

verified

1 one

When a user issues the DELETE FROM tablename command without specifying a WHERE condition,.


A) no rows will be deleted
B) the first row will be deleted
C) the last row will be deleted
D) all rows will be deleted

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

Correct Answer

verifed

verified

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 C)
F) None of the above

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) B) and C)
F) A) and D)

Correct Answer

verifed

verified

A database language enables the user to perform complex queries designed to transform the raw data into useful information.

A) True
B) False

Correct Answer

verifed

verified

The ANSI SQL standards are also accepted by the ISO.

A) True
B) False

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Date procedures are often more software-specific than other SQL procedures.

A) True
B) False

Correct Answer

verifed

verified

True

All SQL commands must be issued on a single line.

A) True
B) False

Correct Answer

verifed

verified

A common practice is to create a(n)on any field that is used as a search key,in comparison operations in a conditional expression,or when a user wants to list rows in a specific order.

Correct Answer

verifed

verified

The constraint assigns a value to an attribute when a new row is added to a table.


A) CHECK
B) UNIQUE
C) NOT NULL
D) DEFAULT

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

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

String comparisons are made from left to right.

A) True
B) False

Correct Answer

verifed

verified

You can select partial table contents by naming the desired fields and by placing restrictions on the rows to be included in the output.

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 92

Related Exams

Show Answer