首页 > 考试题库
题目内容 (请给出正确答案)
[主观题]

Question4:Can you create a cross-tab report in my SQL Server! How can I get the report ab

Question4:Can you create a cross-tab report in my SQL Server!

How can I get the report about sale quality for each store and each quarter

and the total sale quality for each quarter at year 1993?

You can use the table sales and stores in datatabase pubs.

Table Sales record all sale detail item for each store. Column store_id is the id of

each store, ord_date is the order date of each sale item, and column qty is the

sale qulity. Table stores record all store information.

I want to get the result look like as below:

Output:

stor_name Total Qtr1 Qtr2 Qtr3 Qtr

4

---------------------------------------- ----------- ----------- ----------- -----------

-----------

Barnum's 50 0 50 0 0

Bookbeat 55 25 30 0 0

Doc-U-Mat: Quality Laundry and

Books 85 0 85 0 0

Fricative Bookshop 60 35 0 0 25

Total 250 60 165 0 25

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“Question4:Can you create a cro…”相关的问题
第1题
五WHAT法中()是自我分析的过程。A、What are you?B、What can you do?C、What can support you?D、

A.What are you?

B.What can you do?

C.What can support you?

D.What you want?

点击查看答案
第2题
---Could I have a refund on this? ---_______.

A.You are good

B.Have a nice day

C.I’m afraid you can’t

D.You can go

点击查看答案
第3题
Can you give me _____ was left?

A.all that

B.that

C.what that

D.it that

点击查看答案
第4题
If you are satisfied with the service in a restaurant, you can give the waiter a big().

A.tip

B.thank you

C.praise

D.hand

点击查看答案
第5题
You need to keep() your body so that you can keep healthy.

A.practicing

B.pracitce

C.hurting

D.destroying

点击查看答案
第6题
Why do you think you can be a qualified investment banker? How can you contribute in th
is industry?

点击查看答案
第7题
-Can I get you a cup of coffece?一()

A.Oh, that's very nice of you

B.Yes, you can

C.Sure

D.Thank you very much for your help

点击查看答案
第8题
You can’t()200 calories a day.

A.live by

B.live on

C.live with

D.live up to

点击查看答案
第9题
What can I do for you, sir? ()

A.I think you can do.

B.I’d like to book a ticket to Yunnan

C.I don’t think you can do

D.I’d love to

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改