为了账号安全,请及时绑定邮箱和手机立即绑定

咨询一下, 如何在库中查询lx.FNumber列数据相同时,对应的 t.fipaddress 列数据也相同,但是 ba.fname 列数据不同的所有数据?

SELECT 


te.FTenderItemId ZID,


lx.FNumber ZBM,


lx.FName ZMC,


lx.FTenderItemName MC,


t.fid "fid",


  t.ftender "ftender",


  t.fprojectid "fprojectId",


  p.fprojectname "XM",


  t.fsupplierid "fsupplierId",


  ba.fname "GY",


  mr.fid "fmanagerId" ,


  mr.fmanager "fmanager",


  mr.fmanagerphone "fmanagerPhone",


  mr.fidentity "fidEntity",


  f.filename "fileName" ,


  f.fileurl "fileURL",


  f.fid "fileId",


  t.fipaddress "fipAddress",


  TO_CHAR(t.fisreturntender) "fisReturnTender",


  CASE


    WHEN t.ftendertime IS NOT NULL


    THEN TO_CHAR(t.ftendertime,'yyyy-MM-dd hh24:mi')


    ELSE ''


  END "ftenderTime",


  t.fdeposittype "fdepositType"


FROM sm_ine_returntenderentry t


LEFT JOIN sm_ine_returntender te


ON t.fparentid=te.fid


LEFT JOIN sm_bae_project p


ON p.fid=t.fprojectid


LEFT JOIN sm_dot_supplierbasedata ba


ON ba.fid=t.fsupplierid


LEFT JOIN sm_dot_suppliermanagerentry mr


ON t.fmanagerentryid=mr.fid


LEFT JOIN sm_bae_file f


ON mr.fid             =f.fbillid


left join SM_INE_TenderItem LX on lx.fid=te.FTenderItemId 


正在回答

2 回答

https://m.vk.com/topic-210967729_48605960
https://m.vk.com/topic-210967729_48605962
https://m.vk.com/topic-210967729_48605965
https://m.vk.com/topic-210967729_48605967
https://m.vk.com/topic-210967729_48605969
https://m.vk.com/topic-210967729_48605970
https://m.vk.com/topic-210967729_48605971
https://m.vk.com/topic-210967729_48605972
https://m.vk.com/topic-210967729_48605974
https://m.vk.com/topic-210967729_48605976
https://m.vk.com/topic-210967729_48605978
https://m.vk.com/topic-210967729_48605980
https://m.vk.com/topic-210967729_48605981
https://m.vk.com/topic-210967729_48605982
https://m.vk.com/topic-210967729_48605985
https://m.vk.com/topic-210967729_48605986
https://m.vk.com/topic-210967729_48605990
https://m.vk.com/topic-210967729_48605992
https://m.vk.com/topic-210967729_48605994
https://m.vk.com/topic-210967729_48605996
https://m.vk.com/topic-210967729_48605997
https://m.vk.com/topic-210967729_48605999
https://m.vk.com/topic-210967729_48606005
https://m.vk.com/topic-210967729_48606008
https://m.vk.com/topic-210967729_48606013
https://m.vk.com/topic-210967729_48606015
https://m.vk.com/topic-210967729_48606016
https://m.vk.com/topic-210967729_48606018
https://m.vk.com/topic-210967729_48606019
https://m.vk.com/topic-210967729_48606020
https://m.vk.com/topic-210967729_48606021
https://m.vk.com/topic-210967729_48606022
https://m.vk.com/topic-210967729_48606023
https://m.vk.com/topic-210967729_48606025
https://m.vk.com/topic-210967729_48606026
https://m.vk.com/topic-210967729_48606029
https://m.vk.com/topic-210967729_48606055
https://m.vk.com/topic-210967729_48606067
https://m.vk.com/topic-210967729_48606085
https://m.vk.com/topic-210967729_48606123
https://m.vk.com/topic-210967729_48606132
https://m.vk.com/topic-210967729_48606143
https://m.vk.com/topic-210967729_48606152
https://m.vk.com/topic-210967729_48606164
https://m.vk.com/topic-210967729_48606176
https://m.vk.com/topic-210967729_48606184
https://m.vk.com/topic-210967729_48606196
https://m.vk.com/topic-210967729_48606205
https://m.vk.com/topic-210967729_48606218
https://m.vk.com/topic-210967729_48606221
https://m.vk.com/topic-210967729_48606234
https://m.vk.com/topic-210967729_48606241
https://m.vk.com/topic-210967729_48606251
https://m.vk.com/topic-210967729_48606263
https://m.vk.com/topic-210967729_48606275
https://m.vk.com/topic-210967729_48606289
https://m.vk.com/topic-210967729_48606296
https://m.vk.com/topic-210967729_48606317
https://m.vk.com/topic-210967729_48606324
https://m.vk.com/topic-210967729_48606344
https://m.vk.com/topic-210967729_48606355
https://m.vk.com/topic-210967729_48606366
https://m.vk.com/topic-210967729_48606377
https://m.vk.com/topic-210967729_48606387
https://m.vk.com/topic-210967729_48606401
https://m.vk.com/topic-210967729_48606412
https://m.vk.com/topic-210967729_48606421
https://m.vk.com/topic-210967729_48606431
https://m.vk.com/topic-210967729_48606443
https://m.vk.com/topic-210967729_48606453
https://m.vk.com/topic-210967729_48606467
https://m.vk.com/topic-210967729_48606474
https://m.vk.com/topic-210967729_48606487
https://m.vk.com/topic-210967729_48606501
https://m.vk.com/topic-210967729_48606515
https://m.vk.com/topic-210967729_48606524
https://m.vk.com/topic-210967729_48606536
https://m.vk.com/topic-210967729_48606547
https://m.vk.com/topic-210967729_48606560
https://m.vk.com/topic-210967729_48606571
https://m.vk.com/topic-210967729_48606581
https://m.vk.com/topic-210967729_48606595
https://m.vk.com/topic-210967729_48606605
https://m.vk.com/topic-210967729_48606618
https://m.vk.com/topic-210967729_48606619
https://m.vk.com/topic-210967729_48606625
https://m.vk.com/topic-210967729_48606626
https://m.vk.com/topic-210967729_48606630
https://m.vk.com/topic-210967729_48606637
https://m.vk.com/topic-210967729_48606647
https://m.vk.com/topic-210967729_48606662
https://m.vk.com/topic-210967729_48606668
https://m.vk.com/topic-210967729_48606679
https://m.vk.com/topic-210967729_48606689
https://m.vk.com/topic-210967729_48606701
https://m.vk.com/topic-210967729_48606703
https://m.vk.com/topic-210967729_48606715
https://m.vk.com/topic-210967729_48606723
https://m.vk.com/topic-210967729_48606732
https://m.vk.com/topic-210967729_48606744
https://m.vk.com/topic-210967729_48606748


0 回复 有任何疑惑可以回复我~

你想了有哪些可能的原因没有呢?

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

咨询一下, 如何在库中查询lx.FNumber列数据相同时,对应的 t.fipaddress 列数据也相同,但是 ba.fname 列数据不同的所有数据?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信