por zhang jiali 15 anos atrás
671
Mais informações
update Table_Name set COLUMN1=VALUE1,[COLUMN2=VALUE2],...[COLUMNn=VALUEn] [where......]
delete COLUMN1,COLUMN2,...COLUMNn from TABLE1, [TABLE2],...[TABLEn] [where ...... ];
insert into TABLE_NAME(COLUMN1,COLUMN2,...COLUMNn)values(VALUE1,VALUE2,...VALUMNn);
select * from TABLE_NAME order by NAME limit NUMBER;
select COLUMN1,COLUMN2,...COLUMNn from TABLE1, [TABLE2],...[TABLEn] [where ...... ];
drop table if exists TABLE_NAME;
create table TABLE_NAME(COLUMN1 type [modifier],[COLUMN2],...[COLUMNn]);
desc Table_Name;或:describe Table_Name;
show tables;
dorp DB_NAME;
create database NEW_DB_NAME;
use DB_NAME;
select database();
show databases;