创建数据库
create database
创建表
create table
添加
insert into tablename (column1,column2,column3,......) values (value1,value2,value3,......);
insert into tablename values(value1,value2,....);
查询
select * from tablename;
select * from tablename where 条件1 and (or) 条件2 column like '%' column in (列表)
group by groupbycolumn
having
order by asc (desc)
limit 10,2
查询几组
select * from tablename limit 3,5;
table1 inner join table2 on column1=column2
from table1,table2 where column1=column2
table1 left join table2 on column1=column2
table1 right join table2 on column1=column2
union
union all
删除
delete from tablename where id=1;
修改
update tablename set column1=value1,colum2=value2 where id=1;
[选修]update table1 t1,table2 t2 set t1.c1=v1,t2.c2=v2 where id=1 and t1.keyId=t2.keyId
html+css
form action method get post RequestHeader response url地址?name1=v1&name2=v2
input type
text
password
radio
checkbox checked
email
date
number
file
week
select
option selected
textarea
col row
button
submit
reset
image
button
i span img a label
header
footer
selection
container
>
<
©
"
使用方式 三种 行内 style=""
内嵌