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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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