QuestionQ104

VerifiedCreating and Managing Tables

You must create a table with these column specifications:

  1. Employee ID (numeric data type) for every employee
  2. Employee Name (character data type) to store the employee name
  3. Hire date, to store each employee’s organization joining date
  4. Status (character data type), containing the value 'active1 when no data is entered
  5. Resume (character large object [CLOB] data type), containing the resume submitted by the employee

Which syntax correctly creates this table?

Question Image

Explanation

In Oracle SQL, NUMBER is a valid numeric type with optional precision, VARCHAR2(size) is a character type, DATE stores date values, and a quoted value such as 'ACTIVE' is a character-string default. CLOB is declared without a length. An unquoted table identifier such as EMP_1 is valid, whereas an identifier cannot begin with a digit.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!