Some MySQL command syntax

MySQL database command

create database name; create a database

use databasename; Select Database

delete the database drop database name

show tables; display list

describe tablename; detailed description of the table

select distinct removing duplicate field in the plus

Mysql displays the current version and the current date

select version(),current_date;

Guess you like

Origin www.cnblogs.com/guofengfei/p/11605605.html