TeraData TE0-122 Exam
Teradata 12 SQL exam (Page 2 )

Updated On: 1-Feb-2026

A company wants a sequential ranking of all employee salaries. They do not want employees with the same salary to be given the same rank number.
Which ordered analytical function should be used?

  1. RANK
  2. QUANTILE
  3. ROW_NUMBER
  4. PERCENT_RANK

Answer(s): B



What causes the Teradata Database to treat each request as an implicit transaction?

  1. the use of the BT ET statements
  2. the use of the COMMIT statement
  3. the absence of the BT ET statements
  4. the absence of the COMMIT statement

Answer(s): A



Which statement is written correctly?

  1. DELETE FROM employeeemp
    WHERE emp IN
    (SELECT dept_no FROM department
    WHERE salary_pool < 50000);
  2. DELETE FROM employee
    WHERE dept_no IN
    (SELECT dept_no FROM department
    WHERE salary_pool < 50000);
  3. DELETE employee FROM
    WHERE dept_no IN
    (SELECT dept_no FROM department
    WHERE salary_pool < 50000);
  4. DELETE FROM employeeemp
    WHERE dept_no.emp IN
    (SELECT dept_no FROM department
    WHERE salary_pool < 50000);

Answer(s): A



Given the following information:

Employee Salary
Mike Taylor 75675.50
Bill Hammer 100350.25
John Wysong 65115.50
George Donze 85750.25

Mike Taylor has notified his manager that his salary keeps getting rounded-up to the whole-dollar on his paycheck stub.
Which function is causing this behavior?

  1. CAST(Salary_Amount AS INTEGER)
  2. CAST(Salary_Amount AS DEC(10, 0))
  3. CAST(Salary_Amount AS DEC(10, 2))
  4. TRIM(TRAILING FROMSalary_Amount)

Answer(s): A



Given the following PPI table:

CREATE TABLE SalesHistory_Store1(
Product_CodeCHAR(8)
, Store_Number INTEGER
, Transaction_Date DATE
, Quantity_Sold INTEGER
, Notes CHAR(50))
PRIMARY INDEX (Product_Code, Store_Number, Transaction_Date)
PARTITION BY RANGE_N (Transaction_Date BETWEEN
DATE '2009-01-01' AND DATE '2011-12-31' EACH INTERVAL '1' DAY);

Which three conditions are necessary to join to this table using a rowkey-based merge join?
(Choose three.)

  1. same primary index
  2. identical partitioning expressions
  3. condition specified with partitioning column
  4. all primary index and partitioning columns are specified as equality join terms

Answer(s): A,C,D



Viewing page 2 of 31
Viewing questions 6 - 10 out of 140 questions



Post your Comments and Discuss TeraData TE0-122 exam prep with other Community members:

Join the TE0-122 Discussion