SHARE
TWEET

Untitled

a guest Oct 18th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mysql> UPDATE school
  2.     -> SET country = 'Sweden'
  3.     -> Where id=3;
  4. Query OK, 1 row affected (0.01 sec)
  5. Rows matched: 1  Changed: 1  Warnings: 0
  6.  
  7. mysql> Update school
  8.     -> Set capacity = 700
  9.     -> Where id = 7;
  10. Query OK, 1 row affected (0.00 sec)
  11. Rows matched: 1  Changed: 1  Warnings: 0
  12.  
  13. mysql> select * from school;
  14. +----+----------------------------------------------+----------+----------------+
  15. | id | name                                         | capacity | country        |
  16. +----+----------------------------------------------+----------+----------------+
  17. |  1 | Beauxbatons Academy of Magic                 |      550 | France         |
  18. |  2 | Castelobruxo                                 |      380 | Brazil         |
  19. |  3 | Durmstrang Institute                         |      570 | Sweden         |
  20. |  4 | Hogwarts School of Witchcraft and Wizardry   |      450 | United Kingdom |
  21. |  5 | Ilvermorny School of Witchcraft and Wizardry |      300 | USA            |
  22. |  6 | Koldovstoretz                                |      125 | Russia         |
  23. |  7 | Mahoutokoro School of Magic                  |      700 | Japan          |
  24. |  8 | Uagadou School of Magic                      |      350 | Uganda         |
  25. +----+----------------------------------------------+----------+----------------+
  26. 8 rows in set (0.00 sec)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top