List the course number for database system principles

Assignment Help PL-SQL Programming
Reference no: EM131291638

Basic SQL Statements

Instructions

Write 10 SQL statements against the STUDENT schema you created for practice lab 1. Your statements should run error-free and should be valid. Submit two separate files: one plain text file (.txt or .sql file) with your statements only; and the other document (doc/docx/pdf) include both your statements and your query results (copy and paste text or screen shots). The instructor and TA should be able to run your plain text source file as script and generate the same output as shown in your result document.

1. Display all information about all courses

2. Add a new course "Relational Database Systems" with course number 651. Use your user name as created_by/modified_by and current date as created_date/modified_date

3. List the course number for "Database System Principles"

4. Set "Database System Principles" as the prerequisite for "Relational Database Systems"

5. List all courses that have "Database System Principles" as prerequisite

6. List total number of courses that have no prerequisite

7. Delete course "Relational Database Systems"

8. Display total number of courses

9. Lower cost of all courses by 100

10. List all course cost (show course description and cost only) by the order of cost from highest to lowest.

Reference no: EM131291638

Questions Cloud

How to recognize the future when it lands on you : 1. Howard Rheingold's "How to Recognize the Future When It Lands on You" AND/ORNicholas Negroponte's "Creating a Culture of Ideas (Key Term Essays)
Create the logic for a program : Create the logic for a program that accepts an annual salary as input. Pass the salary to a method that calculates the highest monthly housing payment the user can afford, assuming that the year's total payment is no more than 25 percent of the an..
Identify the specific challenges that overlapping : Identify the specific challenges that overlapping of jurisdictions pose in the fight against cyber-crime. Next, propose salient solution(s) for overcoming the challenges in question. Justify your response.
Discuss about the social change in the marketing : Discuss about the social change in the marketing.In the recent years, the pursuit for institutions, "practical researchers" and individuals to join in the crusade for social change has been remarkable; as many people around the world are reaching o..
List the course number for database system principles : List the course number for "Database System Principles". Set "Database System Principles" as the prerequisite for "Relational Database Systems". List all courses that have "Database System Principles" as prerequisite.
What technologies can a company use to safeguard information : How can companies participating in ebusinesses keep its information safe guarded? What technologies can a company use to safeguard information?
How can cyberterrorism be a threat to mitigation efforts : how can cyberterrorism be a threat to mitigation efforts? Explain if the WikiLeaks intelligence leak scandal of 2010 can be considered cyberterrorism or not.
Create preventative controls for video game design company : Create Preventative Controls for SunGrafix, a video game design company. In some cases, the outage impacts identified in the BIA may be mitigated or eliminated through preventive measures that deter, detect, and/or reduce impacts to the system.
Why object-oriented techniques have improved systems design : Explain two reasons why the object-oriented techniques have improved systems analysis and design. Give an example of an output bias and two strategies to avoid UI design output bias.

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Implementation using sql data definition language

In this project you will perform the physical design and implementation using SQL Data Definition Language (DDL) and proceed with populating the Mom and Pop Johnson Video Store database via Data Manipulation Language (DML) SQL commands.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Display the product line id and the average standard price

SQL queries on a single table. Show how many different items were ordered on order number 1004. List the employee names and ids of employees whose first name starts with an "R".

  Submit the table creation statements for the database model

submit the table creation statements for the database model. submit them all in a single script file.also submit a

  Fetech the details from database

Delete the NON_SP_GOOD table from the Premiere Products database.

  Create a view named largeslip using the data

Create a view named LargeSlip using the data in the MarinaNum, SlipNum, RentalFee, BoatName, and OwnerNum columns in the MarinaSlip table for those slips with lengths of 40 feet. Display the data in the view.

  Write sql statement to create stored procedure

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

  Differentiate between updatable and non updatable

What do you mean by 'view'? What are its different types? Differentiate between updatable and non updatable 'view' with suitable examples. Also give proper syntax for creating 'view'.

  Display customers table and its fields in sql

Display all the LastNames from the Customers table and any associated OrdersIDs from the Orders Table. Show the LastName even if they do not have any associated orders. Order the results by LastName in ascending order.

  Identify the choice that best completes the statement

Based upon the contents of the BOOKS table, which of the following SQL statements will display the retail price for two copies of each book currently in inventory?

  Add a new parts record and delete an existing parts record

Add a new parts record, delete an existing parts record, and update an existing parts record.

  Write a plsq block to do the followingselect the average

write a plsq block to do the followingselect the average salary of all employees in department number 20.if the average

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