Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

A worked example

Yes or no

For each of the following statements about views in a relational database, select Yes if the statement is true. Otherwise, select No.

StatementYesNo
A view is a virtual table that is based on the results of a SELECT query.

The source describes a view as a virtual table whose content comes from the results of a SELECT query.

Correct
When you query a view, you can use a WHERE clause to filter the rows that are returned.

The source states that a view can be queried and filtered in much the same way as a table. Its example filters a view with WHERE City = 'Seattle'.

Correct
A view retrieves data from a single underlying table, not from several tables.

The source describes a view as a window on rows in one or more underlying tables. Its example view joins the Order and Customer tables.

Correct
Why

A view is a virtual table whose rows come from a SELECT query. That query can draw on one or more underlying tables, for example by joining Order and Customer. Users can query and filter a view in much the same way as a table, so a WHERE clause works on a view. The claim that a view is limited to a single table is therefore false.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free