aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • databases Online Quiz - 72
  • The DEPT table has the following data
Multiple choice technology databases

The DEPT table has the following data

  1. The INSERT statement is invalid; a valid table name is missing.

  2. 50 is not a valid DEPTNO value, since the subquery limits DEPTNO to 10.

  3. The statement will work without error.

  4. A subquery and a VALUES clause cannot appear together.

Reveal answer Fill a bubble to check yourself
B Correct answer

Keep practicing — related questions

  • Create table employee salary (empid int, fname varchar (30), lname varchar (30), dept varchar (30), salary ...
  • Evaluate the following DELETE statement: DELETE employee_id, salary, job_id FROM employees WHERE dept_id = ...
  • Is the following SQL statement True or False? CREATE TABLE dept_new7(a,b,c) AS (SELECT department_number , ...
  • Evaluate the set of SQL statements: CREATE TABLE dept (deptno NUMBER(2), dname VARCNAR2(14), loc VARCNAR2(1...
  • Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: EMPLOYEES: --------------------- EMPLOYEE_...
  • CREATE TABLE dept(deptno NUMBER(2),dname VARCNAR2(14),1oc VARCNAR2 (13));ROLLBACK;DESCRIBE DEPTWhat is true...
  • The following statement will raise an exception on which line?
  • Evaluate the set of SQL statements: CREATE TABLE dept (deptno NUMBER(2), dname VARCNAR2(14), 1oc VARCNAR2 (...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy