Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions: For each problem Write and execute an SQL query in Oracle Live SQL or SQL * Plus Execute the following command: select sysdate, 'your

Instructions: For each problem
Write and execute an SQL query in Oracle Live SQL or SQL*Plus
Execute the following command: select sysdate, 'your name' from dual; where your_name is substituted with your name
Take a screenshot that includes both SQL statements and all results
Copy and paste the screenshot into a Word file containing your solutions
Practice Problems: Table Creation and Management
Create a new table containing at least four columns of four different data types (CHAR, VARCHAR2, NUMBER, DATE). Name the table your_first_name_your_last_name (substitute your_first_name with your first name and your_last_name with your last name).
Retrieve a list of tables in your schema to confirm that the table created in Problem 1 is stored in your schema.
Obtain information about the table created in Problem 1. Display the structure of the table that includes column names, data types, and constraints.
Add a column to the table created in Problem 1.
Change the size of any column in the table created in Problem 1.
Add a new constraint (UNIQUE, CHECK, etc.) to any column in the table created in Problem 1.
Drop a column in the table created in Problem 1.
Mark one of the columns in the table created in Problem 1 as unused. Verify that the column is no longer available.
Rename the table created in Problem 1.
Delete the table created in Problem 1 permanently so that it isnt moved to the recycle bin.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistical And Scientific Database Management International Working Conference Ssdbm Rome Italy June 21 23 1988 Proceedings Lncs 339

Authors: Maurizio Rafanelli ,John C. Klensin ,Per Svensson

1st Edition

354050575X, 978-3540505754

More Books

Students also viewed these Databases questions