select * from (
select a.code,a.gid from productonsale a,
productinformation b,
GeneralStandardCategory c
where a.prodid=b.gid
and b.StdCatID =c.gid
and c.code in ('607','609')
and a.ChlID='0DB3B832-3E16-E111-A1F0-4437E63336BD'
union all
select a.code,a.gid from productonsale a,
productinformation b,
GeneralStandardCategory c,
ProductAttribute d,
(select gid,matter from GeneralResource where matter like '%1860%') e
where a.prodid=b.gid
and b.StdCatID =c.gid
and a.prodid=d.prodid
and d.content=e.gid
and c.code in ('603','602')
and a.ChlID='0DB3B832-3E16-E111-A1F0-4437E63336BD'
) date where Gid='5577b910-103a-e311-a37d-00e081d461dd'
求大神,帮忙把SQL转成LINQ,小弟第一次涉及LINQ需要参考谢谢了
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
0条回答 默认 最新
悬赏问题
- ¥15 #MATLAB仿真#车辆换道路径规划
- ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
- ¥15 数据可视化Python
- ¥15 要给毕业设计添加扫码登录的功能!!有偿
- ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
- ¥15 微信公众号自制会员卡没有收款渠道啊
- ¥15 stable diffusion
- ¥100 Jenkins自动化部署—悬赏100元
- ¥15 关于#python#的问题:求帮写python代码
- ¥20 MATLAB画图图形出现上下震荡的线条