Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
development:database:mysql [2020/10/23 11:58] kalenpw created |
development:database:mysql [2021/06/29 19:38] (current) kalenpw [update] |
||
|---|---|---|---|
| Line 31: | Line 31: | ||
| ---- | ---- | ||
| ===== Basic syntax ===== | ===== Basic syntax ===== | ||
| - | ==== update | + | **update**\\ |
| <code mysql> | <code mysql> | ||
| UPDATE employees SET email = ' | UPDATE employees SET email = ' | ||
| Line 58: | Line 58: | ||
| c.id = 28; | c.id = 28; | ||
| </ | </ | ||
| + | |||
| + | ---- | ||
| + | ===== Util ===== | ||
| + | <code mysql> | ||
| + | -- list number of rows in each table | ||
| + | SELECT table_name, TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = ' | ||
| + | </ | ||
| + | ---- | ||