首页 新闻 赞助 找找看

请高手们支招!!!

0
悬赏园豆:10 [已关闭问题] 关闭于 2013-09-10 09:27
  1. Please write a simple solution to generate the following report based on tables in the following MySQL database

Host       : 198.199.79.50

Username       : webtest

Password       : forecepts

Database       : webtest

 

Sales Report for Delivery from 1 Jul 2013 – 31 Jul 2013

Invoice No

Contact   Name

Net Total

Payment
  Mode

Paid Total

Outstanding

 

 

 

 

 

 

  • This report is for CLOSED orders only
  • Payment Mode is according to the value of sales_payments.payment_method when payment_type = ‘E’
  • Paid Total is the sum of sales_payments.confirmed_amount when payment_type = ‘E’ and status = ‘CONFIRM’
  • Outstanding = Net Total - Paid Total
  • Loading speed is important to us
Token007的主页 Token007 | 初学一级 | 园豆:173
提问于:2013-09-02 08:59
< >
分享
所有回答(3)
0

执行请写一个简单的解决方案基于以下MySQL数据库的表中生成以下报告
主持人:198.199.79.50
用户名:WebTest的
密码:forecepts
WebTest的数据库:
 
销售报告交付从2013年7月1日 - 2013年7月31日
发票号码
站点名称
总计净额
付款
  模式
付出总额
优秀
 
 
 
 
 
 
本报告只封闭订单
付款方式是根据价值sales_payments.payment_method,当payment_type='E'
付出总额是的总和sales_payments.confirmed_amount的payment_type='E'和状态='确认'
数=净总计 - 共支付
加载速度对我们很重要

落幕残情 | 园豆:34 (初学一级) | 2013-09-02 13:22

怎么做呀?不是翻译啊?

支持(0) 反对(0) Token007 | 园豆:173 (初学一级) | 2013-09-02 13:47
0

看书吧。这种书本习题还是看书学习好了。

dk163 | 园豆:227 (菜鸟二级) | 2013-09-05 17:51
0

111111111111

Token007 | 园豆:173 (初学一级) | 2013-09-10 09:26
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册