Oracle 12c: SQL
Oracle 12c: SQL
3rd Edition
ISBN: 9781305251038
Author: Joan Casteel
Publisher: Cengage Learning
bartleby

Concept explainers

bartleby

Videos

Textbook Question
100%
Book Icon
Chapter 3, Problem 5MC

Which of the following is true?

  1. a. If you truncate a table, you can’t add new data to the table.
  2. b. If you change the default value of an existing column, all existing rows containing a NULL value in the same column are set to the new DEFAULT value.
  3. c. If you delete a column from a table, you can’t add a column to the table with the same name as the previously deleted column.
  4. d. If you add a column to an existing table, it’s always added as the last column of the table.
Blurred answer
Students have asked these similar questions
Which of the following is true? (refer to the tables in the JustLee Books database)a. If you truncate a table, you can’t add new data to the table.b. If you change the default value of an existing column, all existing rows containing a NULL value in the same column are set to the new DEFAULT value.c. If you delete a column from a table, you can’t add a column to the table with the same name as the previously deleted column.d. If you add a column to an existing table, it’s always added as the last column of the table.
How do you add a column to an existing table in MySQL?   a. MODIFY TABLE table_name ADD COLUMN new_column CHAR(3);     b. MODIFY TABLE table_name ADD new_column CHAR(3);     c. ALTER TABLE table_name ADD new_column CHAR(3);     d. ALTER TABLE table_name ADD COLUMN new_column CHAR(3);
Which of the following is a correct statement? ( refer to the tables in the JustLee Books database)                                                                                     a. You can restore the data deleted with the DROP COLUMN clause, but not the data deleted with the SET UNUSED clause.                                                  b. You can’t create empty tables—all tables must contain at least three rows of data.                                                                                                               c. A table can contain a maximum of 1000 columns.                                       d. The maximum length of a table name is 265 characters.

Chapter 3 Solutions

Oracle 12c: SQL

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage
dml in sql with examples; Author: Education 4u;https://www.youtube.com/watch?v=WvOseanUdk4;License: Standard YouTube License, CC-BY