Added select line in 3rd query to view changes.
This commit is contained in:
parent
802e2107cd
commit
c672bfb5f9
@ -116,6 +116,7 @@ SELECT company_name, employee_name FROM Works ORDER BY company_name ASC, employe
|
|||||||
3. Change the city of employee working with InfoSys to ‘Bangalore’
|
3. Change the city of employee working with InfoSys to ‘Bangalore’
|
||||||
```sql
|
```sql
|
||||||
UPDATE Company SET city = "Bangalore" WHERE company_name = "Infosys";
|
UPDATE Company SET city = "Bangalore" WHERE company_name = "Infosys";
|
||||||
|
SELECT * FROM Company;
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user