Write command that will remove barry from the student table

Assignment Help PL-SQL Programming
Reference no: EM131309204

Given the relations below, create the database tables using SQL DDL (Data Definition Language). Assume the following attribute data types:

STUDENT (StudentID, StudentName)

StudentID

StudentName

38214

Alvaro

54907

Letterman

66324

Troy

70542

Myra

..........

 

FACULTY (FacultyID, FacultyName)

FacultyID

FacultyName

1123

Cooper

4237

Burgess

5115

May

........

 

COURSE (CourseID, CourseName)

CourseID

CourseName

CMIS 320

Relational Database

CMIS 102

Algorithm Design

CMIS 420

Advance Relational Database

CMIS 170

Introduction to XML

CMSC 100

Intro to Computer Science

........

 

QUALIFIED (FacultyID, CourseID, DateQualified)

FacultyID

CourseID

DateQualified

1123

CMIS 102

9/2014

1123

CMIS 170

9/2014

4237

CMIS 420

9/2012

4237

CMIS 320

9/2013

5115

CMIS 102

9/2011

5115

CMIS 170

9/2011

..........

 

 

SECTION (SectionNo, Semester, CourseID

SectionNo

Semester

CourseID

3115

FALL-2014

CMIS 320

3116

FALL-2014

CMIS 320

3117

FALL-2014

CMIS 102

3118

FALL-2014

CMIS 420

..........

 

 

REGISTRATION (StudentID, SectionNo, Semester)

StudentID,

SectionNo

Semester

38214

3117

FALL-2014

54907

3117

FALL-2014

54907

3118

FALL-2014

66324

3116

FALL-2014

.....

 

 

After creating the tables above, write SQL statements to answer the following questions. Submit your work as a text file containing the 6 SQL statements.

a) What is the name of the faculty member whose ID is 1123?

b) What is the smallest section number used in the FALL-2014 semester?

c) How many students are enrolled in Section 3117 of FALL-2014?

d) Create an SQL command that will modify the name of course CMIS 320 from Relational Database to Relational Database Concepts and Applications

e) Write a command that will remove Barry from the Student table

f) Write statement to add an attribute, Class to the Student table?

Reference no: EM131309204

Questions Cloud

What was wrong with these arguments : What were the ethical principles violated in the interaction between patients and doctors?What other parties had interests in this case and what were these interests?What were the arguments used by the defenders of the study to justify its execution?
Important aspect of being a valuable project manager : An extremely important aspect of being a valuable project manager within an organization is the ability to offer advice to decision makers about whether or not to pursue a project in the first place.  As such, the first step in project management ..
Calculate nominal gdp for 2011 : Use the production and price information in the table to calculate nominal GDP for 2011.
Idea of functionalism and its relationship : In reflecting upon the idea of functionalism and its relationship to social stability in society, do you agree with concept of the model? In your discussion, specifically address the idea that because society's needs and individual's needs are sim..
Write command that will remove barry from the student table : Write a command that will remove Barry from the Student table. Write statement to add an attribute, Class to the Student table? What is the smallest section number used in the FALL-2014 semester?
Create a security training plan-related monitoring tools : The purpose of this assignment is to create a security training plan and related monitoring tools. Assignment Description:
Distinguish the role as clinical or non-clinical : In the Project synthesize what you have discovered about the different advanced practice roles and scope of practice found in the master of nursing curriculum: NP, nurse educator, nurse informaticist, and nurse administrator.
Compare legal principles-disclosures and legal procedures : The purpose of this assignment is to compare legal principles, disclosures and legal procedures. Accounting of disclosures specific to the ARRA and HITECH regulations are also introduced.
Write a report about speed of sound in natural gas : Write a report about Speed of Sound in Natural Gas and Other Related Hydrocarbon Gases

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  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.

  Alter the employee table to establish a foreign key

Alter the Employee table to establish a foreign key between Employees and Departments.

  Possible advantages of utilizing pl-sql

A good IT professional is able to be versatile in SQL programming styles. Identify at least two possible advantages of utilizing PL/SQL instead of standard SQL Syntax.

  Sql concepts and database design

The Strayer Oracle Server may be used to test and compile the SQL Queries developed for this assignment. Your instructor will provide you with login credentials to a Strayer University maintained Oracle server.

  Provide a comprehensive record of using sql

Learning Objectives: The purpose of Project 3 is to enable the students to gain extensive experience with using SQL to design and query databases.

  To determine if the application is calculation properly

Make sure the number of units for each package is numeric, and is not negative.

  Write an sql drop statements that will drop the all tables

Write an SQL DROP statements that will drop the all tables. Add these statements to the appropriate location within the script file - Write a SQL CREATE TABLE statement to create the ALLOCATION table. Add the SQL statement to the appropriate locati..

  Convert requirement to logic and then to sql

Prepare the SQL query for each of given requirements. Convert requirement to logic, then to SQL. Illustrate the names of all products which have been sold.

  Prepared statements in php

One of the method of preventing SQL injection is by using prepared Statements in PHP. Using that concept write a snippet you would use to add users to a MySQL database from a web-form.

  Create a new database in sql server and run

Create a new database in SQL Server and run the following CREATE TABLE commands. Note that you must run the CREATE TABLE statements in the order presented (and load the data in the order presented) to avoid conflicts resulting from foreign key con..

  Create program to enter first and second number

Create a program that enters first and a second number. The first and second number that will be entered should be computed in halves, quarter, double, and square.

  Find certain governors general of australia

Find certain Governors General of Australia. Find all Governors General of Australia who were Barons at the time of their appointment. List them by Title and name and date that they were appointed to the position. Order the list by ascending date o..

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