Create the tables for the project

Assignment Help PL-SQL Programming
Reference no: EM13311575

Using Oracle 11g sql plus create a single script file-
Submit the entire script for the Model shown below as a single text file. The file must include scripts to:
1. drop the tables you are creating (in case they've already been created within the schema I'm using)
2. create the tables for the project
3. insert sample data into the tables
4. produce the reports listed below

2233_Untitled.png

Reports
Faculty: List of all faculty
• Fields: first name
• Sort: last name
• Input: none
Advisors: List of all students and their advisors
• Fields: student's first name, student's last name, advisor's first name, advisor's last name
• Sort: student's last name
• Input: none
Student status: List of all students and their enrollment status
• Fields: first name, last name, current enrollment status, years enrolled, academic advisor
• Sort: years enrolled
• Input: none
Course enrollment report for selected term
• Fields: course number/name, professor (last name comma first name), student (last name comma first name)
• Sort: course number
• Input: term
Course completion status report: List of all courses a student has started and the status
• Fields: student last name, student first name, course number, course name, status
• Sort: Student last name, course number
• Input: none
Thesis committee report
• Fields: student name (as last comma first), committee member name (as last comma first), chair indicator (a yes/no indication of whether that committee member is the chair)
• Sort: student last name, committee member last name
• Input: none
Course sequence: List of all courses and their prerequisite
• Fields: course number, course name, course prerequisite number, course prerequisite name
• Sort: course number
• Input: none

Reference no: EM13311575

Questions Cloud

Develop and demonstrate sql skills : Write a script that provides all of the information in, and duplicates the formatting of, Oracle's SQL*Plus describe command. Additionally, the output should add the comments on the rows.
Find potential energy stored within the membrane : Given a spherical cell with outer radius R=6E-6 m, with thickness 5E-9 m. The potential difference across the membrane is -90 mV. Find potential energy stored within the membrane
How to calculate the volume of carbon dioxide : Calculate the volume of carbon dioxide at 20.0 degrees C and 0.910 atm produced from the complete combustion of 5.00 methane. Compare your result with the volume of CO2 produced from the complete combustion of 5.00 kg of propane (C3H8)
What would be the amount of the additional expense : What would be the amount of the additional expense on equipment that would make productivity?
Create the tables for the project : drop the tables you are creating (in case they've already been created within the schema I'm using).
Explain the ph of the buffer that results of nah2po4 : What is the PH of the buffer that results when 12.0 g of NaH2PO4 and 8.00 g of Na2HPO4 are diluted with water to a volume of .50 L? (Ka of H2PO4=6.2*10^-8, the molar masses are 120.0 g/mol and 142. mol respectively.
Bob annual fixed costs for space : Bob's annual fixed costs for space, equipment, and supplies is $61,000. Which is the preferred process for Bob and why?
How much work is done by gravity : You want to lift a heavy box with a mass of 98 kg using a two pulley system. If you lift the box by 1 m, how much work is done by gravity
Find the magnitude of linear charge density for the ring : Given a uniform ring of charge, with charge q=+30E-6 C and radius 0.2 m. Find the magnitude of linear charge density for the ring

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Write a iterative function that returns the summation

Write and test functions that return summation of all the numbers (items) in the list. Write a recursive function that returns the summation of all the numbers in the list.

  Display the customerid from the orders table

Display the CustomerID from the Orders table and the sum of the associated ItemPrice multiplied by Quantity using Gross Sales (with a space) as the column name from the OrderItems table.

  Write sql statement which creates stored procedure

Write SQL statement which creates stored procedure with one int input parameter. Stored procedure selects supplierId field and total of all Count field values for each group of supplierId's from Part table.

  Write select statement to return those rows with due balance

Write SELECT statement which returns those rows with the balance due greater than 1000. Sort result set by InvoiceTotal, with largest invoice first.

  Add three rows to the downloads

Add three rows to the Downloads table: one row for user 1 and product 2; one for user 2 and product 1; and one for user 2 and product 2. Use the GETDATE function to insert the current date and time into the DownloadDate column.

  Write a perl subroutine for temperature conversion

Write a perl subroutine for temperature conversion named ' convert_temp '. It should be able to handle both Fahrenheit to Celsius conversions as well as Celsius to Fahrenheit conversions.

  Write a xquery which returns all concert titles

Write a XQuery which returns all concert titles whose type is chamber orchestra where average ticket price is at least $50.

  An er diagram for the system

An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein methodology as per the study book and tutorials.

  Write sql statement to create view

Write a SQL Statement to create a View called vwEmployeeTerritories that will do the following: Return all Employees and their Territories (use INNER JOIN).

  Trigger named products_insert

Create a trigger named Products_INSERT that inserts the current date for the DateAdded column of the Products table if the value for that column is null. Test this trigger with an appropriate INSERT statement.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

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