Q3: Consider the Students table below populated with some information. Maths Score French_Score Programming_Score StudentID BIT2016001 Cynthia BIT2016002 BIT2016003 Joseph BIT2016004 Paul BIT2016005 Firstname Surname Thompson Kumah 76 80 82 Victoria 71 69 59 Ayirebi Debrah Boabeng 76 73 60 69 52 72 Ernest 48 84 65 Write appropriate SQL statements to: i. Create a database named MySchool ii. Verify the SQL version installed on your server. iii. Create the table above choosing appropriate datatypes and populate it with the data shown ensuring that maths_score, French_Score and Programming_Score columns value shouldn't exceed 100. iv. Show all the information in the table. v. Display only the StudentID, Programming_Score and the Maths_Score. vi. Show records of students with ID numbers from BIT2016003 to BIT2016005 vii. Select records of students who scored below 70 in Maths. viii. Insert the sixth record with Student ID=BIT2016006, First name =Gabriela, Surname = Yeboah, Maths =82, French=79 and Programming=58. ix. Select student(s) whose first name begins with the letter "J". x. Delete student whose ID = BIT2016004

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...
icon
Related questions
Question
Please help
Q3: Consider the Students table below populated with some information.
StudentID
Firstname
BIT2016001 |Cynthia
Surname
Maths Score French_Score Programming_Score
|Thompson
Kumah
76
80
82
BIT2016002 Victoria
71
69
59
|Ayirebi
Debrah
BIT2016003 Joseph
76
73
60
BIT2016004 Paul
69
52
72
BIT2016005
Ernest
Boabeng
48
84
65
Write appropriate SQL statements to:
i. Create a database named MySchool
ii. Verify the SQL version installed on your server.
iii. Create the table above choosing appropriate datatypes and populate it with the data shown
ensuring that maths_score, French_Score and Programming_Score columns value
shouldn't exceed 100.
iv. Show all the information in the table.
v. Display only the StudentID, Programming_Score and the Maths_Score.
vi. Show records of students with ID numbers from BIT2016003 to BIT2016005
vii. Select records of students who scored below 70 in Maths.
viii. Insert the sixth record with Student ID=BIT2016006, First name =Gabriela, Surname =
Yeboah, Maths =82, French=79 and Programming=58.
ix. Select student(s) whose first name begins with the letter "J".
x. Delete student whose ID = BIT2016004
xi. Remove the surname column from the table
xii. Change the French score to 79 for Student ID = BIT2016002
xiii. Remove the Student table from the database
xiv. Remove MySchool database from the computer
Transcribed Image Text:Q3: Consider the Students table below populated with some information. StudentID Firstname BIT2016001 |Cynthia Surname Maths Score French_Score Programming_Score |Thompson Kumah 76 80 82 BIT2016002 Victoria 71 69 59 |Ayirebi Debrah BIT2016003 Joseph 76 73 60 BIT2016004 Paul 69 52 72 BIT2016005 Ernest Boabeng 48 84 65 Write appropriate SQL statements to: i. Create a database named MySchool ii. Verify the SQL version installed on your server. iii. Create the table above choosing appropriate datatypes and populate it with the data shown ensuring that maths_score, French_Score and Programming_Score columns value shouldn't exceed 100. iv. Show all the information in the table. v. Display only the StudentID, Programming_Score and the Maths_Score. vi. Show records of students with ID numbers from BIT2016003 to BIT2016005 vii. Select records of students who scored below 70 in Maths. viii. Insert the sixth record with Student ID=BIT2016006, First name =Gabriela, Surname = Yeboah, Maths =82, French=79 and Programming=58. ix. Select student(s) whose first name begins with the letter "J". x. Delete student whose ID = BIT2016004 xi. Remove the surname column from the table xii. Change the French score to 79 for Student ID = BIT2016002 xiii. Remove the Student table from the database xiv. Remove MySchool database from the computer
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY