Merge pull request #1315 from yrammos/patch-1

Add schema for USE command.
This commit is contained in:
Rico Sta. Cruz 2020-01-04 14:13:08 +11:00 committed by GitHub
commit bc51528f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -5,11 +5,12 @@ layout: 2017/sheet
category: Databases
---
### Create / Delete Database
### Create / Open / Delete Database
```sql
CREATE DATABASE dbNameYouWant
CREATE DATABASE dbNameYouWant CHARACTER SET utf8
USE dbNameYouWant
DROP DATABASE dbNameYouWant
ALTER DATABASE dbNameYouWant CHARACTER SET utf8
```