PART B Consider the college database you implemented in the image provided and answer the following questions. i. Write SQL statements to populate the relevant tables with the following data Studno givenName familyName faculty hons year courseno equipmentused subjectsubject 220123 Angel Matheaus FCI Computer Science 2 CSC101 laptop java 227456 Michael Jackson ACC Accounting 3 ACC510 calculator Statistics 223546 Joy Willian MGT Management 1 MGT305 project leadership Name roomno course Andrea Kulima 709 ACC510 Princess Bukohwo FCI 6 CSI101 Peter Jones 201 MGT305 Thandeka Pheto OB 12 CSI101 All staff (appraisees) are appraised by Thandeka Pheto. ii. Write an SQL statement to change Thandeka Pheto’s room number to “PH506” iii. Joy Willian decided to transfer to another college, write SQL statement to remove her details from the college’s database. iv. Write an SQL query to show all students in year 2 of their studies v. Write an SQL query to list all courses that require a “laptop” as equipment vi. Write an SQL query to print details of the Staff members whose FIRST_NAME ends with ‘a’.
PART B Consider the college database you implemented in the image provided and answer the following questions. i. Write SQL statements to populate the relevant tables with the following data Studno givenName familyName faculty hons year courseno equipmentused subjectsubject 220123 Angel Matheaus FCI Computer Science 2 CSC101 laptop java 227456 Michael Jackson ACC Accounting 3 ACC510 calculator Statistics 223546 Joy Willian MGT Management 1 MGT305 project leadership Name roomno course Andrea Kulima 709 ACC510 Princess Bukohwo FCI 6 CSI101 Peter Jones 201 MGT305 Thandeka Pheto OB 12 CSI101 All staff (appraisees) are appraised by Thandeka Pheto. ii. Write an SQL statement to change Thandeka Pheto’s room number to “PH506” iii. Joy Willian decided to transfer to another college, write SQL statement to remove her details from the college’s database. iv. Write an SQL query to show all students in year 2 of their studies v. Write an SQL query to list all courses that require a “laptop” as equipment vi. Write an SQL query to print details of the Staff members whose FIRST_NAME ends with ‘a’.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
PART B
Consider the collegedatabase you implemented in the image provided and answer the following questions.
Consider the college
i. Write SQL statements to populate the relevant tables with the following data
Studno | givenName | familyName | faculty | hons | year | courseno | equipmentused | subjectsubject |
220123 | Angel | Matheaus | FCI |
Computer Science |
2 | CSC101 | laptop | java |
227456 | Michael | Jackson | ACC | Accounting | 3 | ACC510 | calculator | Statistics |
223546 | Joy | Willian | MGT | Management | 1 | MGT305 | project | leadership |
Name | roomno | course |
Andrea Kulima | 709 | ACC510 |
Princess Bukohwo | FCI 6 | CSI101 |
Peter Jones | 201 | MGT305 |
Thandeka Pheto | OB 12 | CSI101 |
All staff (appraisees) are appraised by Thandeka Pheto.
ii. Write an SQL statement to change Thandeka Pheto’s room number to “PH506”
iii. Joy Willian decided to transfer to another college, write SQL statement to remove her details from
the college’s database.
iv. Write an SQL query to show all students in year 2 of their studies
v. Write an SQL query to list all courses that require a “laptop” as equipment
vi. Write an SQL query to print details of the Staff members whose FIRST_NAME ends with ‘a’.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY