1) Create Oracle database tables using SQL Data Definition Language (DDL) for each table listed in the...
Fantastic news! We've Found the answer you've been seeking!
Question:
2) Populate each of your tables with at least five valid rows of data each and show the SQL INSERT statements as you executed them. Populate other tables in your database, as necessary, to satisfy referential integrity. Save your SQL script file. You should test and rerun your SQL script file until it runs without any errors.
3) Develop an SQL script file to perform the following queries and updates. Use (Oracle's) SQL Developer to create and test the SQL file. You will find an Oracle database and Oracle's SQL Developer in the virtual Lab Broker.
You should test your SQL script file until it runs without any errors.
Retrieve all of your customers' names, account numbers, and addresses (street and zip code only), sorted by account number.
Retrieve all of the videos rented in the last 30 days and sort in chronological rental date order.
Produce a list of your distributors and all their information sorted in order by company name.
Update a customer name to change their maiden name to a married name. You can choose which row to update. Make sure that you use the primary key column in your WHERE clause to affect only a specific row. You may want to include a ROLLBACK statement to undo your data update.
Delete a customer from the database. You can choose which row to delete. Make sure that you use the primary key column in your WHERE clause to affect only a specific row. You may want to include a ROLLBACK statement to undo your data deletion.
Related Book For
Concepts of Database Management
ISBN: 978-1285427102
8th edition
Authors: Philip J. Pratt, Mary Z. Last
Posted Date: