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
SQL
SQL stands for Structured Query Language, is a form of communication that uses queries structured in a specific format to store, manage & retrieve data from a relational database.
Queries
A query is a type of computer programming language that is used to retrieve data from a database. Databases are useful in a variety of ways. They enable the retrieval of records or parts of records, as well as the performance of various calculations prior to displaying the results. A search query is one type of query that many people perform several times per day. A search query is executed every time you use a search engine to find something. When you press the Enter key, the keywords are sent to the search engine, where they are processed by an algorithm that retrieves related results from the search index. Your query's results are displayed on a search engine results page, or SER.
Step by step
Solved in 2 steps with 3 images