码迷,mamicode.com
首页 > 数据库 > 详细

SQL语句

时间:2015-05-15 10:27:48      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:

select * from basic_data limit 1;

select Date,2_industry,todayConsume from industry2_consume where Date > ‘2015-05-01‘ and Date < ‘2015-05-10‘;

select 2_industryID,2_industry,todayConsume from industry2_consume where 2_departmentID=200;

select 2_industryID,2_industry,todayConsume from industry2_consume where 2_departmentID=200;

select 2_industry,todayConsume from industry2_consume where 2_departmentID=200 and 2_industry!=‘其他‘;

select Date,2_industry,todayConsume from industry2_consume where 2_departmentID=200 and 2_industry!=‘其他‘;

 

SQL语句

标签:

原文地址:http://www.cnblogs.com/xiongchang18/p/4505140.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!