12 | | SELECT DISTINCT "rpt"."id" AS "id" FROM "base2"."dynamic"."D40363Spot" "spt" INNER JOIN "base2"."dynamic"."D40363Pos" AS "pos" ON "pos"."cube" = "spt"."cube" AND "pos"."position" = "spt"."position" INNER JOIN "Reporters" AS rpt ON rpt.id = pos."reporter_id" WHERE "spt"."cube" = 2 AND "spt"."layer" = 1 ORDER BY "rpt"."external_id" ASC limit ? |
| 12 | SELECT DISTINCT "rpt"."id" AS "id" |
| 13 | FROM "base2"."dynamic"."D40363Spot" "spt" |
| 14 | INNER JOIN "base2"."dynamic"."D40363Pos" AS "pos" |
| 15 | ON "pos"."cube" = "spt"."cube" |
| 16 | AND "pos"."position" = "spt"."position" |
| 17 | INNER JOIN "Reporters" AS rpt |
| 18 | ON rpt.id = pos."reporter_id" |
| 19 | WHERE "spt"."cube" = 2 AND "spt"."layer" = 1 |
| 20 | ORDER BY "rpt"."external_id" ASC limit ? |