|
@@ -1,3 +1,3 @@
|
|
|
-select t1.fecid,t1.flocation,t1.fnotes,t1.createdate,t2.ftitle from tscanning t1
|
|
|
|
|
|
|
+select t1.fecid,t1.flocation,t1.fnotes,t1.createdate,t2.ftitle,t2.tactivityid from tscanning t1
|
|
|
inner join tactivity t2 on t1.siteid=t2.siteid and t1.tactivityid=t2.tactivityid
|
|
inner join tactivity t2 on t1.siteid=t2.siteid and t1.tactivityid=t2.tactivityid
|
|
|
where $where$ and t1.siteid=$siteid$
|
|
where $where$ and t1.siteid=$siteid$
|