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


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.


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.


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.


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


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.

Posted Date: 3/22/2013 3:29:45 AM | Location : United States

Related Discussions:- Create data base table apply key and functions, Assignment Help, Ask Question on Create data base table apply key and functions, Get Answer, Expert's Help, Create data base table apply key and functions Discussions

Write discussion on Create data base table apply key and functions
Your posts are moderated
Related Questions
Explain mechanism of nested queries? SQL gives a mechanism for nesting subqueries. A subquery is a select from where expression that is nested within one more query. A common u

Single Valued Normalisation  Codd in the year 1972 formed three normal forms (1NF, 2NF, and 3NF). These were based on functional dependencies between the attributes of a relati

What is Relational calculus? Relational calculus is a Non- Procedural language.

In a relation, tuples are not inserted in any definite order. Ordering of tuples is not defined as a part of a relation definition. Though, records may be structured later accordin

OPENCART - Want Massive amount of products Imported through CSV We have a massive list of products that would take completely too long to do data entry. We require a slick progr

What disadvantage of ODBC does OLE DB overcome? By breaking the features and the methods of a DBMS into COM objects, OLE DB characteristic overcomes a main disadvantage of ODBC

What does authentication refer? Authentication refers to the task of verifying the uniqueness of a person.

How does a query tree represent a relational algebra expression?  Discuss any three rules for query optimisation, giving example as to when should each rule be applied.     Ans

Let consider the given partial relation EMP. Let us make some sub-queries for them EMPNO ENAME JOB SAL DEPTNO 7566