依稀记得,上次弄数据库!都是在o2micro弄sqlite的时候了,快一年了^_^.最近忙着准备找工作,复习下数据库了!!!
自己还记得:
show database; show tables; use database; 呵呵
create table table_name (name VARCHAR(20), age INT, sex CHAR(1));
insert into table_name values ('xxx', xx, 'x');
select * from table_name;
delete from table_name where name='xxx';
drop table table_name;
学习了点高级的
SOURCE cr_pet_tbl.sql
LOAD DATA LOCAL INFILE 'pet.txt' INTO TABLE pet;
两种
有点累了,就这么多了...明天继续
阅读(2094) | 评论(0) | 转发(0) |