Write a command that will remove barry from student table

Assignment Help Basic Computer Science
Reference no: EM13974129

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

StudentID (integer, primary key)

StudentName (25 characters)

FacultyID (integer, primary key)

FacultyName (25 characters)

CourseID (8 characters, primary key)

DateQualified (date)

SectionNo (integer, primary key)

Semester (7 characters)

 

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: EM13974129

Questions Cloud

Should you be allowed to hackback against a cyber attacker : "should you be allowed to hackback against a cyber attacker under some circumstances, and if so, what circumstances?"
What are the essential elements needing attention : Introduction to the Situation: Briefly describe the situation and identify the primary issues contributing to the coaching scenario. What are the essential elements needing attention? Using a coaching perspective, identify the problem as clearly a..
What are some tips for developing and using the bis describe : How does the business intelligence system (BIS) at CKE add value to the business? What are some tips for developing and using the BIS described in this case?
Journal entry to record flyer bad debt expense : Prepare the journal entry to record Flyer's bad debt expense for 2015. 2.. Now assume that Flyer estimates bad debt expense as 10% of accounts receivable. Prepare the journal entry to record Flyer's bad debt expense for 2015. 3.
Write a command that will remove barry from student table : What is the smallest section number used in the FALL-2014 semester?
Determine what the optimal level of output is for the firm : Determine what the optimal level of output is for the firm and the firm's profit if fixed costs are expected to be $4.0 million.
Computing the financing activity : In the Cash Flow column, indicate whether the item is an operating activity (OA), investing activity (IA), or financing activity (FA). Use NA to indicate that an element is not affected by the event. (Enter any decreases to account balances and ca..
Article review - a phenomenology of the integration of faith : Article- A PHENOMENOLOGY OF THE INTEGRATION OF FAITH AND LEARNING. Provide atitle page in currentAPA format including only your name, the paper title (referring to the article title), and the institutional affiliation
Division of net income : PFW Co. reports net income of $76,900. Partner salary allowances are Pitts $16,130, Filbert $3,110, and Witten $6,500. Indicate the division of net income to each partner, assuming the income ratio is 50 : 30 : 20, respectively.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Designs across slides in a presentation is important

Using the same formatting and designs across slides in a presentation is important to develop what vital quality

  Compare the differences between mac and h-mac

In a 2-3 page paper, complete the following: Compare the differences between MAC and H-MAC. Explain why using H-MAC is more secure than MAC?

  Recommend a fault tolerance method

Managers want to be able to print schedules on any printer at any restaurant even if traveling and in a motel with a laptop. Please explain what you would have to do to allow managers to do this and how they would reference the printer

  A photo-sharing startup offers

A photo-sharing startup offers the following service. A client may upload any number N of photos and the server will compare each of the N pairs of photos with their proprietary image matching algorithms to see if there is any person that is in both ..

  Define the roles and responsibilities of the members

define the roles and responsibilities of the members of the department.

  Simple school data

Complete this assignment by creating entity-relationship diagrams (ERD) to store data corresponding to each of the following scenarios. Scenario 1:  Simple School Data

  Write a c++ program to evaluate postfix expressions

Write a C++ program to evaluate postfix expressions. Your program should take postfix expression as an input, process it with the help of stack and display the result after performing required calculations.

  Intermediate routers between the source and the destination

Compute the time required for circuit switching and packet switching with the following conditions: ? The destination is 3 hops away from the source (2 intermediate routers between the source and the destination, with 3 links).The distance betw een ..

  What is an object?

What is an object?

  Identify the communication technologies used by bookstore

Begin working on the Where Did You Find that Book? Project by reading the Amazon.com Case Study 7-1 of Managing and Using Information Systems and visiting http://www.amazon.com and http://barnesandnoble.com. **Amazon article is attached.**

  Car sale data and try to apply there learning skills

Choose any topic of your interest and create a power point presentation, you should utilize all features were taken in all finished class works. The slide show should present your work in at least twenty slides using different animation techniques..

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