MySQL은 세계에서 가장 많이 쓰이는 오픈 소스의 관계형 데이터베이스 관리 시스템이다.
mysql> CREATE DATABASE [database_name];
mysql> USE [database_name];
Database changed
mysql> DROP DATABASE [database_name];
mysql> CREATE TABLE [Table_name] (
[column1 name] [datatype],
[column2 name] [datatype],
[column3 name] [datatype]
);
mysql> DROP TABLE [table_name];
mysql> ALTER TABLE [table_name] ADD [column name][datatype];
mysql> ALTER TABLE [table_name] MODIFY COLUMN [column_name][datatype];
mysql> ALTER TABLE [table_name] DROP [column_name];
mysql> INSERT INTO [table_name] VALUES (value1, value2...);
mysql> SELECT [what_to_select]
FROM [which_table]
WHERE [conditions_to_satisfy];
mysql> UPDATE [table_name] SET [column_name]=[value] WHERE [condition];
mysql> SELECT [what_to_select]
FROM [standard_table]
JOIN [Joined_table]
ON [standard_table.key=joined_table.key]
출처: MYSQL 8.0 Reference Manual
https://dev.mysql.com/doc/refman/8.0/en/retrieving-data.html