易截截图软件、单文件、免安装、纯绿色、仅160KB

求一sql语句的写法

客户表 customer
    cid  name
    1        南京审计学院
    2        南京化工职业技术学院
    3        浙江交通职业技术学院
    4        浙江金融职业学院
    5        江西省财政厅


参加活动的客户 partcustomer
    id    cid    pid     
    1      2      1   
    2      2      2
    3      4      1
    4      5      3   
    5      5      3
    6      4      4


活动表  plan
    pid    name                  cost 

    1        层客户宴请          4000
    2        分区常规制作费      7000
    3        客户拜访活动          900
    4        客户沟通会&nb


相关问答:

csv文件转换成sql导入到数据库,没有数据为何?

执行的顺序:
1)文件浏览框(选择文件使用)
选择好文件后
点击一个导入按钮的时候 ,把上面上传框里的csv文件以一个ID为文件名,上传到**/**文件夹下
2)读取这个文件夹下的csv的文件,转换成sql
3 ......

求一sql语句 - MS-SQL Server / 基础类


id bh  
1 10
2 11
3 12 
4 15
5 16
6 22
7 25
8 26
9 27
10 28
将bh按连续分段出来返回字符串:
10~12,15~16,22,25~28
SQL code:


declare @t tabl ......

求一SQL - MS-SQL Server / 基础类

tab1 字段:billdate,goodsid,incount,inmoney,outcount,outmoney,endprice,endcount,endamt
tab2 字段:goodsid,goodskind(商品类型)
tab3 字段:goodskind(商品类型),kindname
结果:
得到商品类型在一段时间 ......

SQL求助 - MS-SQL Server / 非技术版

哪位仁兄有功能完整可用的SQL下载地址呢,我有一个地址,但是安装后功能不完整无法使用(没有服务器)我知道的地址是
http://down.xlylw.com/downlist/s_66_1.html
看来,你只能到网上自己搜索了!

自己动手就可 ......

两句SQL并一句,有问题. - MS-SQL Server / 基础类

第一句:
select ht.gfdm,gfdm.gfmc,gfdm.lb ,sum(jh.htdj*jh.htsl)as je
from ht left join gfdm on ht.gfdm=gfdm.gfdm 
 join jh on ht.htbh=jh.hth 
and ht.htbh not like'del%' and ht. ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号