TheStar

导航

 

2017年9月13日

摘要: --建库create database dsdb DEFAULT CHARACTER set utf8 collate utf8_general_ci;/*删除数据库drop DATABASE 数据库名称*/drop DATABASE dsdb; --显示数据库show DATABASES; --切 阅读全文
posted @ 2017-09-13 19:58 TheStar 阅读(143) 评论(0) 推荐(0)
 
摘要: create table goods_table( goods_id int(11) not null primary key auto_increment, goods_name varchar(100) not null, goods_price double(8,2) not null, go 阅读全文
posted @ 2017-09-13 19:56 TheStar 阅读(118) 评论(0) 推荐(0)
 
摘要: select * from order_user; 条件语句casecase when age<=10 then '儿童' when age>10 and age <=18 then '儿童' when age<=10 then '儿童' when age<=10 then '儿童' else '老 阅读全文
posted @ 2017-09-13 19:39 TheStar 阅读(146) 评论(0) 推荐(0)