Timedora
Free Practice Quiz Question List

Table Joins and Data Preparation Online Quiz Questions

Use this free practice quiz with 10 questions to review Table Joins and Data Preparation, test your knowledge, and prepare for your next test or exam.

10 questions
01
Choose one
1 point

A sales cross-tab has one row per product, with separate columns for Jan and Feb. You need to analyze each product-month observation. Which preparation best clarifies the table’s grain and intended key?

  1. A

    Keep the months as separate columns and use ProductID alone as the key.

  2. B

    Unpivot the month columns so each product-month has a row, with ProductID and Month as the intended key.

  3. C

    Remove the month columns and join the tables using Sales.

  4. D

    Create a separate table for each month and join them using row position.

02
Choose one
1 point

A report is expected to use a many-to-one join, with a lookup table on the right. Which check directly tests whether the lookup table has at most one row per key?

  1. A

    Count rows per key on the left; any repeated left key proves the lookup table has duplicates.

  2. B

    Compare the tables’ total row counts; equal counts confirm right-side key uniqueness.

  3. C

    Group the right-side lookup table by key and count rows; any count above one flags a duplicate-key exception.

  4. D

    Remove every repeated right-side key without checking which record is correct.

03
Choose one
1 point

A product identifier is unique only within each store. Which join key best identifies the corresponding product record across a sales table and a product table?

  1. A

    Use both StoreID and ProductID because ProductID is unique only within a store.

  2. B

    Use ProductID alone because matching column names guarantee unique matches.

  3. C

    Use StoreID and Sales because a numeric sales value can identify each product.

  4. D

    Use row position in each table because the identifiers are not globally unique.

04
Choose one
1 point

A merged result has the expected row count. Which additional check helps detect incorrect matches that a row-count check alone might miss?

  1. A

    Approve the result if the merged table has more columns than either input.

  2. B

    Check only whether the first 1,000 rows contain null keys.

  3. C

    Approve the result whenever the merged row count equals the left table’s row count.

  4. D

    Compare totals or other control figures before and after the merge, in addition to row-count checks.

05
Choose one
1 point

A report must preserve every sales row from the left table and add product details when a matching product record exists. Which join type should you choose?

  1. A

    Inner join

  2. B

    Left outer join

  3. C

    Left anti join

  4. D

    Full outer join

06
Choose one
1 point

You are reconciling two sources and need to retain records that appear in either source, including records present in only one. Which join type fits this requirement?

  1. A

    Left outer join

  2. B

    Inner join

  3. C

    Full outer join

  4. D

    Right anti join

07
Choose one
1 point

A merge must be checked for coverage in both source tables. Which approach reveals unmatched keys on both sides and supports deciding how to handle them?

  1. A

    Use anti joins in both directions and classify the missing keys.

  2. B

    Use only a left outer join and assume every right-side record matched.

  3. C

    Compare row counts and discard the table with fewer rows.

  4. D

    Remove unmatched keys from both tables before checking them.

08
Choose one
1 point

In a sales table, ProductID can repeat across stores and is unique only within a store. Which key should be used to match records to a product table?

  1. A

    Use StoreID alone because each store contains many products.

  2. B

    Use ProductID alone because the same identifier can be reused across stores.

  3. C

    Use Month and Sales because they are attributes of a transaction.

  4. D

    Use StoreID and ProductID together as a composite key.

09
Choose one
1 point

Before combining two tables, what does identifying each table’s grain tell you?

  1. A

    It is the number of columns in a table.

  2. B

    It is the set of column names shared by two tables.

  3. C

    It is what one row in a table represents.

  4. D

    It is the total number of distinct values in the join key.

10
Choose one
1 point

A report expects a many-to-one join, with the lookup table on the right. What does a count of more than one row for a lookup key indicate?

  1. A

    Repeated keys are acceptable in the right-side lookup table if the left table has them too.

  2. B

    A right-side key count above one is a duplicate-key exception to investigate.

  3. C

    Any repeated right-side key should be removed without checking the records.

  4. D

    Many-to-one means each key repeats equally often in both tables.