Create data base table apply key and functions, Database Management System

Assignment Help:

CREATE YOUR DATABASE TABLES

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

1) KEYS

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

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

You need to collect real data for your tables. Please, include complete bibliographical references for your data sources. You can 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.

3) CREATE FOUR (4) BUSINESS REPORTS

You can design any four reports you like for this requirement.

You need to use commands like BREAK, COMPUTE, ORDER BY, GROUP BY as well as SQLPLUS commands. Include page number, today's date, 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.

4) USE OF BUILT-IN FUNCTIONS

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

5) 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 textbook.

5.3) Five (5) DATE and TIME functions from Chapter 9.

5.4) Five (5) CONVERSION and TRANSFORMATION functions from

6) Produce one or more SQL scripts to demonstrate the use of

JOIN, OUTER JOIN, CARTESIAN PRODUCT, CORRELATED SUBQUERY,

EXISTS, UNION, INTERSECT and MINUS. Introduce remarks or comments in your scripts to explain what you are doing. Include your SQL scripts in your project documentation.

7) Create two VIEWs for your database project.

Describe the views and print all records from your view. Include your scripts and reports in your documentation.

8) produce a script to demonstrate 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 demonstrate the use of variables with the form  &variablename, ACCEPT, and DEFINE. Show that it works.

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

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

12) Create a table from an existing table.

13) Create an INDEX for one of your tables.


Related Discussions:- Create data base table apply key and functions

Constraints violation during insertion, If the insertion violates one or mo...

If the insertion violates one or more constraints, then two alternatives are available: Default option: - Insertion can be discarded and the reason of refusal can also be ex

Answer, what is database management system? & why it is required?

what is database management system? & why it is required?

What is management system, What is Management System? A management syst...

What is Management System? A management system is a set of rules and process which help us to create organize and manipulate the database. It also helps us to add, change delet

Display how records can be deleted and updated in qbe, With the help of an ...

With the help of an example display how records can be deleted and updated in QBE. (i) Increase Pay_Rate of employees along with the skill of ‘cook' by 10%. (ii) Delete employee

Column constraints-on delete cascade, CREATE TABLE prodtrans ( pno ...

CREATE TABLE prodtrans ( pno number (4) ptype char (1) CHECK (ptype in ('I','R','S')), qty number (5) FOREIGN KEY pno REFERENCES product (pno) ON DELETE CASCADE);

Explain the paths in the association network, Explain the paths in the asso...

Explain the paths in the association network We can analyze use of paths in the association network as given below: Calculate each operation Find associations whic

Benefits and drawbacks of heap files, Benefits of heap files 1.   This i...

Benefits of heap files 1.   This is a easy file Organisation method. 2.   Insertion is somehow capable. 3.   Good for bulk-loading data into a table. 4.   Best if file

Explain superkey, Explain Superkey Ans: A superkey is described in the ...

Explain Superkey Ans: A superkey is described in the relational model of database organization like a set of attributes of a relation variable for which it holds that in all re

What features relational dbms contribute level of integrity, A well-maintai...

A well-maintained relational DBMS has a high level of data integrity. What features of a relational DBMS contribute towards this level of integrity? Relational DBMS gives high

Advantages and disadvantages of using a database system, What are the advan...

What are the advantages and disadvantages of using a database system. Sol. Advantages of Database System (DBMS) :  (1) Data Redundancy and Inconsistency: Since differen

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd