Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

The special operator used to check whether a subquery returns any rows is ____.


A) BETWEEN
B) EXISTS
C) LIKE
D) IN

Correct Answer

verifed

verified

Since computers identify all characters by their numeric codes,mathematical operators cannot be used to place restrictions on character-based attributes.

Correct Answer

verifed

verified

UPDATE tablename ***** [WHERE conditionlist]; The ____ command replaces the ***** in the syntax of the UPDATE command,shown above.


A) SET columnname = expression
B) columnname = expression
C) expression = columnname
D) LET columnname = expression

Correct Answer

verifed

verified

The SQL aggregate function that gives the average for the specific column is ____.


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

Correct Answer

verifed

verified

String comparisons are made from left to right.

Correct Answer

verifed

verified

All SQL commands must be issued on a single line.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

An example of a command you would use when making changes to a PRODUCT table is ____.


A) CHANGE PRODUCT
SET P_INDATE = '18-JAN-2004'
WHERE P_CODE = '13-Q2/P2';
B) ROLLBACK PRODUCT
SET P_INDATE = '18-JAN-2004'
WHERE P_CODE = '13-Q2/P2';
C) EDIT PRODUCT
SET P_INDATE = '18-JAN-2004'
WHERE P_CODE = '13-Q2/P2';
D) UPDATE PRODUCT
SET P_INDATE = '18-JAN-2004'
WHERE P_CODE = '13-Q2/P2';

Correct Answer

verifed

verified

The most recent fully approved version of standard SQL prescribed by the ANSI is ____.


A) SQL-99
B) SQL-2003
C) SQL-4
D) SQL-07

Correct Answer

verifed

verified

The CHECK constraint is used to define a condition for the values that the attribute domain cannot have.

Correct Answer

verifed

verified

When you issue 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

Correct Answer

verifed

verified

The SQL command that modifies an attribute's values in one or more table's rows is ____.


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

Correct Answer

verifed

verified

What is a schema? How many schemas can be used in one database?

Correct Answer

verifed

verified

In the SQL environment,a schema is a gro...

View Answer

A(n)____________________ is performed when data is retrieved from more than one table at a time.

Correct Answer

verifed

verified

If you add a new column to a table that already has rows,the existing rows will default to a value of ____________________ for the new column.

Correct Answer

verifed

verified

What is a view? What is the command used to create a view?

Correct Answer

verifed

verified

A view is a virtual table based on a SEL...

View Answer

A(n)____________________ order sequence is a multilevel ordered sequence that can be created easily by listing several attributes,separated by commas,after the ORDER BY clause.

Correct Answer

verifed

verified

In an INSERT command,you can indicate just the attributes that have required values by listing the ____________________ inside parentheses after the table name.

Correct Answer

verifed

verified

The ____ special operator is used to check whether an attribute value is null.


A) BETWEEN
B) IS NULL
C) LIKE
D) IN

Correct Answer

verifed

verified

Showing 81 - 100 of 100

Related Exams

Show Answer