Producing a script to show use of insert-delete and update


1) CREATE YOUR DATABASE TABLES

Your database project should have a minimum of four tables. Include the SQL scripts used to create the tables in your documentation. Describe the tables created, their purpose, and organization. Explain all the tables created.

2) KEYS

All tables should have a primary key. Some of the tables should have one or more foreign keys. The tables should be linked to some other tables. The tables should not be independent and  unrelated.

3) POPULATE YOUR TABLES (does not need to be real data)

You require to collect real data for your tables. Include complete bibliographical references for your data sources. You could also use internet or web sources. Your tables must have enough rows so that you can produce the reports required in future steps. Populate one table with the INSERT command and populate the other remaining tables with the SQL*LOADER utility. Include the scripts used to populate your database tables in your project documentation. Print all the records in each table created and include it in your documentation.

4) CREATE FOUR (4) BUSINESS REPORTS

You could design any four reports you like for this requirement. You require to use commands like BREAK, COMPUTE, ORDER BY, GROUP BY as well as SQLPLUS commands. Include page number, today's date, and column names, report title at the top and also at the bottom. Produce totals and subtotals in your reports.

Include in the project documentation the scripts used to produce your business reports.

5) USE OF BUILT-IN FUNCTIONS

Your require to create one or more SQL scripts to demonstrate the use of ORACLE built in functions. You require to include the following types of built in functions in your scripts and reports:

5.1) Five (5) STRING functions from chapter 7, table 7.1 described in our ORACLE9i: The complete Reference textbook. You choose the five functions you want.

5.2) Five (5) NUMBER or MATH functions from Chapter 8, table 8.1 in our ORACLE9i: The complete Reference textbook.

5.3) Five (5) DATE and TIME functions from Chapter 9 in our ORACLE9i: The complete Reference textbook.

5.4) Five (5) CONVERSION and TRANSFORMATION functions from Chapter 10, table 10.2, in our ORACLE9i: The complete Reference textbook.

6) Produce one or more SQL scripts to show the use of JOIN, OUTER JOIN, CARTESIAN PRODUCT, CORRELATED SUBQUERY, EXISTS, UNION, INTERSECT and MINUS. Introduce remarks or comments in your scripts to describe what you are doing. Include your SQL scripts in your project documentation.

7) Create two VIEWs for your database project. Explain the views and print all records from your view. Include your scripts and reports in your documentation.

8) Produce a script to show the use of INSERT, DELETE and UPDATE. Show that your script works. Include your scripts and reports in your documentation.

9) Produce a script to show the use of variables with the form  &variablename, ACCEPT, and DEFINE. Show that it works.

10) Produce a script to show the use of TRANSLATE and DECODE functions. Show that it works.

11) Produce the script to show three (3) different changes in a table using ALTER TABLE.

12) Create the table from an existing table.

13) Create the INDEX for one of your tables.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Producing a script to show use of insert-delete and update
Reference No:- TGS01746

Expected delivery within 24 Hours