nerdexam
Oracle

1Z0-061 · Question #13

Examine the structure and data of the CUST_TRANS table: Dates are stored in the default date format dd-mon-rr in the CUST_TRANS table. Which three SQL statements would execute successfully?

The correct answer is A. SELECT transdate + '10' FROM cust_trans; C. SELECT transamt FROM cust_trans WHERE custno > "11"; D. SELECT * FROM cust_trans WHERE transdate='01-JANUARY-07'. See the full explanation below for the reasoning.

Question

Examine the structure and data of the CUST_TRANS table:

Dates are stored in the default date format dd-mon-rr in the CUST_TRANS table. Which three SQL statements would execute successfully?

Options

  • ASELECT transdate + '10' FROM cust_trans;
  • BSELECT * FROM cust_trans WHERE transdate = '01-01-07';
  • CSELECT transamt FROM cust_trans WHERE custno > "11";
  • DSELECT * FROM cust_trans WHERE transdate='01-JANUARY-07';
  • ESELECT custno + 'A' FROM cust_trans WHERE transamt > 2000;

How the community answered

(21 responses)
  • A
    71% (15)
  • B
    19% (4)
  • E
    10% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice