Free TE0-122 Exam Braindumps (page: 2)

Page 1 of 38

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



Which two will happen during a transaction when no rows are available in a queue table? (Choose two.)

  1. The transaction aborts automatically.
  2. The SELECT AND CONSUME statement will generate new rows in the table.
  3. The transaction enters a delay state until a row is inserted into the queue table.
  4. The transaction aborts either by an ABORT statement, or a DROP TABLE statement on the queue table.

Answer(s): A,B



Which DCL statement is written correctly?

  1. GRANT SELECT, EXECUTE, DELETE TO User1 ON User1;
  2. GRANT SELECT, EXECUTE, DELETE ON Database1 TO Database1;
  3. GRANT SELECT, EXECUTE, DELETE TO User1 ON DATABASE Database1;
  4. GRANT SELECT, EXECUTE, DELETE ON DATABASE Database1 TO User1;

Answer(s): D



Given the following: (? = NULL)

Column1 Column2
JA LZ
JA ?
MX TX
MX LZ
? ?
SELECT CASE WHEN column_1 = 'JA' AND column_2 = 'LZ' THEN 'OK'
WHEN column_1 = 'JA' AND column_2 IS NULL THEN '??'
WHEN column_1 IS NOT NULL AND column_2 = 'LZ' THEN '??'
WHEN column_1 = 'DD' THEN '??'
ELSE 'OK'
END
FROM table_1;

How many rows will the SELECT statement return with the value 'OK'?

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Answer(s): B






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

TE0-122 Discussions & Posts