sql交叉表问题
这是非常详细的问题:这个日期只属于 1 个表
custcode address cust1 capitol, cebu city cust1 gen. maxilom, cebu city cust1 guadalupe, cebu city cust2 paknaan, mandaue city cust2 basak, mandaue city cust3 lapu-lapu city
在我的报告中我想在我的报告查看器中包含这个字段
customer name location1 location2 location3 cust1 capitol, cebu city gen. maxilom, cebu city guadalupe, cebu city cust2 paknaan, mandaue basak, mandaue lapu-lapu city
请帮忙..
Here's the very detail prob: this date belongs only to 1 table
custcode address cust1 capitol, cebu city cust1 gen. maxilom, cebu city cust1 guadalupe, cebu city cust2 paknaan, mandaue city cust2 basak, mandaue city cust3 lapu-lapu city
In my report I want to have this fields in my reportviewer
customer name location1 location2 location3 cust1 capitol, cebu city gen. maxilom, cebu city guadalupe, cebu city cust2 paknaan, mandaue basak, mandaue lapu-lapu city
please help..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您没有向我们展示一个位置字段,该字段可以区分每列中的内容
如果您依赖于行排序 SQL Server 特定答案。
这假设您有一个 ID 字段,可以从中计算“第一”行的顺序。
If you have a location field that you haven't shown us that can distinguish what is meant to go in each column
If you are relying on row ordering A SQL Server specific answer.
This assumes that you have an ID field from which the order of the "first" row can be calculated.