|
|
@@ -1,3 +1,4 @@
|
|
|
select t1.tliveapplyid,t1.createby,t1.createdate,t1.siteid,t1.changeby,t1.changedate,
|
|
|
-t1.tagentsid,t1.tactivityid,t1.checkby,t1.checkdate,t1.fstatus,t1.fnotes,t1.fissecret,t2.tliveid,t2.channelid from tliveapply t1
|
|
|
-left join tlive t2 on t1.tliveapplyid=t2.tliveapplyid and t1.siteid=t2.siteid
|
|
|
+t1.tagentsid,t1.tactivityid,t1.checkby,t1.checkdate,t1.fstatus,t1.fnotes,t1.fissecret,t2.tliveid,t2.channelid,t3.fagentname,t3.fbrand from tliveapply t1
|
|
|
+left join tlive t2 on t1.tliveapplyid=t2.tliveapplyid and t1.siteid=t2.siteid
|
|
|
+left join tagents t3 on t1.siteid=t3.siteid and t1.tagentsid=t3.tagentsid
|