"WHERE BaseFiles.JobId IN (%s) "
") AS tmp GROUP BY PathId, FilenameId "
") AS T1 "
-"WHERE (Job.JobId IN (
- SELECT DISTINCT BaseJobId FROM BaseFiles WHERE JobId IN (%s))
- OR Job.JobId IN (%s)) "
+"WHERE (Job.JobId IN ( "
+ "SELECT DISTINCT BaseJobId FROM BaseFiles WHERE JobId IN (%s)) "
+ "OR Job.JobId IN (%s)) "
"AND Job.JobId = File.JobId "
"AND Job.JobTDate = T1.JobTDate "
"AND File.PathId = T1.PathId "
"WHERE BaseFiles.JobId IN (%s) "
") AS tmp GROUP BY PathId, FilenameId "
") AS T1 "
-"WHERE (Job.JobId IN (
- SELECT DISTINCT BaseJobId FROM BaseFiles WHERE JobId IN (%s))
- OR Job.JobId IN (%s)) "
+"WHERE (Job.JobId IN ( "
+ "SELECT DISTINCT BaseJobId FROM BaseFiles WHERE JobId IN (%s)) "
+ "OR Job.JobId IN (%s)) "
"AND Job.JobId = File.JobId "
"AND Job.JobTDate = T1.JobTDate "
"AND File.PathId = T1.PathId "
"WHERE BaseFiles.JobId IN (%s) "
") AS tmp GROUP BY PathId, FilenameId "
") AS T1 "
-"WHERE (Job.JobId IN (
- SELECT DISTINCT BaseJobId FROM BaseFiles WHERE JobId IN (%s))
- OR Job.JobId IN (%s)) "
+"WHERE (Job.JobId IN ( "
+ "SELECT DISTINCT BaseJobId FROM BaseFiles WHERE JobId IN (%s)) "
+ "OR Job.JobId IN (%s)) "
"AND Job.JobId = File.JobId "
"AND Job.JobTDate = T1.JobTDate "
"AND File.PathId = T1.PathId "