15. Let's update the total credit for yourself to 45. Use the update statement to do that. You can also enter multiple SQL statements separating each one by ";". After the update statement, use Select * from student and then execute to make sure the update has been applied. ID dept_name tot_cred name |Comp. Sci. 102 12345 Shankar Comp. Sci. 32 History Finance 44553 Peltier Physics Physics 54321 williams Comp. Sci. 54 e0128 Zhang 19991 Brandt 80 23121 Chavez 110 56 45678 Levy 46 55739 Sanchez Music 38 Physics |Comp. Sci. 58 Elec. Eng. 60 kas Elec. Eng.98 Biology Comp. Sci. 45 70557 Snow 76543 Brown 76653 Aoi 98765 Bo 198988 Tanaka 120 43123 Sara 16. # Replace all "Comp. Sci." by "CS". dept_name salary 65000 ID name 10101 Srinivasan cs 12121 Wu 15151 Mozart 22222 Einstein 32343 El Said Finance Music 90000 40000 Physics History Physics CS 95000 60000 87000 75000 62000 33456 Gold 45565 Katz 58583 Califieri History 76543 Singh 76766 Crick 83821 Brandt 98345 Kim 43612 Hamid Finance 80000 Biology Cs 72000 92000 Elec. Eng. 80000 50000 CS

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question
Answer all my questions by using SQL
Updating data
15. Let's update the total credit for yourself to 45. Use the update statement to do that. You can
also enter multiple SQL statements separating each one by ";". After the update statement, use
Select * from student and then execute to make sure the update has been applied.
dept_name tot_cred
Comp. Sci.102
ID
name
e0128 Zhang
12345 Shankar Comp. Sci. 32
19991 Brandt
History
80
23121 Chavez
Finance
110
44553 Peltier Physics
45678 Levy
54321 williams Comp. Sci. 54
55739 Sanchez Music
70557 Snow
76543 Brown
56
Physics
46
38
Physics
Comp. Sci. 58
Elec. Eng. 60
98765 Bourikas Elec. Eng.98
|120
76653 Aoi
198988 Tanaka
43123 Sara
Biology
|Comp. Sci. 45
16. # Replace all "Comp. Sci." by "CS".
ID
dept_name salary
name
10101 Srinivasan cs
Finance
Music
65000
12121 Wu
90000
15151 Mozart
40000
Physics
|History
Physics
Cs
58583 Califieri History
Finance
Biology
Cs
22222 Einstein
32343 El Said
33456 Gold
95000
60000
87000
45565 Katz
75000
76543 Singh
76766 Crick
62000
80000
72000
83821 Brandt
98345 Kim
92000
Elec. Eng. 80000
43612 Hamid
CS
50000
||
Transcribed Image Text:Updating data 15. Let's update the total credit for yourself to 45. Use the update statement to do that. You can also enter multiple SQL statements separating each one by ";". After the update statement, use Select * from student and then execute to make sure the update has been applied. dept_name tot_cred Comp. Sci.102 ID name e0128 Zhang 12345 Shankar Comp. Sci. 32 19991 Brandt History 80 23121 Chavez Finance 110 44553 Peltier Physics 45678 Levy 54321 williams Comp. Sci. 54 55739 Sanchez Music 70557 Snow 76543 Brown 56 Physics 46 38 Physics Comp. Sci. 58 Elec. Eng. 60 98765 Bourikas Elec. Eng.98 |120 76653 Aoi 198988 Tanaka 43123 Sara Biology |Comp. Sci. 45 16. # Replace all "Comp. Sci." by "CS". ID dept_name salary name 10101 Srinivasan cs Finance Music 65000 12121 Wu 90000 15151 Mozart 40000 Physics |History Physics Cs 58583 Califieri History Finance Biology Cs 22222 Einstein 32343 El Said 33456 Gold 95000 60000 87000 45565 Katz 75000 76543 Singh 76766 Crick 62000 80000 72000 83821 Brandt 98345 Kim 92000 Elec. Eng. 80000 43612 Hamid CS 50000 ||
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education