From 61fb6cd41ec79ad5d9bd0456e2476ccfce55d2f5 Mon Sep 17 00:00:00 2001 From: Geoffrey Yu Date: Fri, 6 Oct 2023 15:57:59 -0400 Subject: [PATCH] Check in full 100 GB regular workload results --- tools/query_dataset/README.md | 13 + .../data_accessed-athena-aurora.npy | Bin 0 -> 80016 bytes .../regular_rebalanced_5k/queries.sql | 4993 +++++++++++++++++ .../run_time_s-athena-aurora-redshift.npy | Bin 0 -> 119960 bytes 4 files changed, 5006 insertions(+) create mode 100644 tools/query_dataset/README.md create mode 100644 workloads/IMDB_100GB/regular_rebalanced_5k/data_accessed-athena-aurora.npy create mode 100644 workloads/IMDB_100GB/regular_rebalanced_5k/queries.sql create mode 100644 workloads/IMDB_100GB/regular_rebalanced_5k/run_time_s-athena-aurora-redshift.npy diff --git a/tools/query_dataset/README.md b/tools/query_dataset/README.md new file mode 100644 index 00000000..09701c32 --- /dev/null +++ b/tools/query_dataset/README.md @@ -0,0 +1,13 @@ +# Dataset preprocessing pipeline + +- Gather data using the existing `run_cost_model.py` +- Run query parsing using the existing `run_cost_model.py` to get the "parsed dataset" +- (If needed) Use `merge_collected.py` to merge the parsed results (e.g., if you + did multiple data collection passes) +- Use `unify.py` to group up the collected data into one "standard dataset" +- Use `dataset_selection.py` to do a train-test split (note that this script + needs manual modification) +- If this is a key dataset used in the evaluation, commit it under `workloads` + (see `IMDB_100GB`). +- Use `prepare_datasets.sh` to massage the data into the right format for + running with the existing GNN model training script diff --git a/workloads/IMDB_100GB/regular_rebalanced_5k/data_accessed-athena-aurora.npy b/workloads/IMDB_100GB/regular_rebalanced_5k/data_accessed-athena-aurora.npy new file mode 100644 index 0000000000000000000000000000000000000000..a94b8fd8290d603128adcb7d96147fc43e46e284 GIT binary patch literal 80016 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 350 AND "movie_keyword"."id" >= 434908; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "company_type"."id" = 1 AND "movie_companies"."movie_id" >= 2028209; +SELECT AVG("movie_companies"."id") AS agg_0, AVG("movie_companies"."company_id") AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%distributors%' AND "company_name"."id" <= 2652 AND "movie_companies"."movie_id" <= 19917; +SELECT "title"."kind_id", SUM("keyword"."id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1998.5727088970814 AND "movie_keyword"."id" >= 176424 AND "movie_keyword"."keyword_id" >= 94425 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT SUM("cast_info"."person_role_id") AS agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT "company_type"."kind", AVG("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 1918817 AND "movie_companies"."company_id" <= 103 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1946-1955%' AND "movie_keyword"."id" <= 24150; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[gi]%' AND "movie_companies"."id" >= 955763 AND "company_name"."id" <= 218586 AND "movie_companies"."company_type_id" = 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" = 2 AND "movie_companies"."company_id" <= 23018 AND "company_type"."id" = 2; +SELECT AVG("aka_name"."id") as agg_0, AVG("person_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 1448686 AND "name"."gender" != '%m%'; +SELECT SUM("aka_name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 1602862 AND "person_info"."info_type_id" = 36; +SELECT SUM("movie_keyword"."movie_id") AS agg_0, SUM("keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 135; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 16086 AND "movie_keyword"."id" >= 2878323; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0, SUM("title"."kind_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2004.8070214041484 AND "movie_info_idx"."id" >= 624684; +SELECT "company_type"."id", SUM("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_type"."kind" != '%production companies%' GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT SUM("movie_keyword"."movie_id") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 71658 AND "movie_keyword"."keyword_id" >= 1734 AND "movie_keyword"."movie_id" >= 2326841 AND "movie_keyword"."id" <= 3561925; +SELECT SUM("info_type"."id") as agg_0, AVG("movie_info_idx"."info_type_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 51 AND "movie_info_idx"."movie_id" <= 2052483; +SELECT "movie_companies"."company_type_id", SUM("title"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 526509 AND "movie_companies"."company_id" <= 464 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."kind_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" >= 1906062 AND "movie_info_idx"."info_type_id" >= 99 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "title"."series_years", AVG("title"."season_nr") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."id" >= 21209 AND "movie_link"."movie_id" >= 27575 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."episode_nr" >= 43.109321440452135 AND "title"."id" <= 1710440 AND "movie_keyword"."keyword_id" <= 18404 AND "movie_keyword"."movie_id" <= 2072271; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("cast_info"."role_id") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("name"."surname_pcode") AS agg_9, MAX("aka_name"."md5sum") AS agg_10, MAX("aka_name"."imdb_index") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."person_id" <= 7597206 AND "name"."id" <= 20750421 AND "aka_name"."person_id" <= 20648274; +SELECT "info_type"."id", AVG("title"."production_year") AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "title"."kind_id" <= 2009 AND "movie_info_idx"."info_type_id" <= 113 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 110892 AND "movie_keyword"."id" >= 1101813; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" <= 2.891186122937234 AND "kind_type"."kind" != '%tv series%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("person_info"."person_id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" = 21 AND "name"."surname_pcode" != '%Z636%' AND "name"."id" <= 1747648 AND "person_info"."id" >= 2078860; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."country_code" <> '%[nl]%' AND "movie_companies"."id" <= 20412 AND "company_name"."id" <= 3841; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 5892 AND "movie_keyword"."keyword_id" >= 5372 AND "movie_keyword"."movie_id" <= 1764407 AND "title"."id" IS NOT NULL; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" <= 109 AND "movie_info_idx"."movie_id" <= 12560046 AND "title"."episode_of_id" <= 2517027 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 2037104 AND "movie_companies"."company_id" <= 33; +SELECT "title"."kind_id", COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" >= 170740 AND "title"."imdb_index" != '%XI%' GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, SUM("title"."kind_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2304616 AND "keyword"."id" >= 70143 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("keyword"."id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 42085 AND "movie_keyword"."keyword_id" <= 5603 AND "movie_keyword"."movie_id" <= 994060; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 49237 AND "movie_keyword"."movie_id" <= 1690941; +SELECT "cast_info"."role_id", SUM("cast_info"."person_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 1398167 AND "cast_info"."id" >= 8282380 AND "cast_info"."person_id" >= 1606393 AND "cast_info"."person_role_id" >= 123031.6587397304 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."movie_id" <= 43603; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."company_type_id" <= 1; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" >= 714747 AND "cast_info"."id" <= 27694032 AND "title"."season_nr" <= 2.7005876889412415 AND "char_name"."id" IS NOT NULL; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."movie_id" >= 74204 AND "title"."episode_of_id" <= 611784.2548821522 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("company_name"."country_code") AS agg_7, MAX("title"."title") AS agg_8, MAX("title"."phonetic_code") AS agg_9, MAX("title"."production_year") AS agg_10, MAX("company_name"."name") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 5742 AND "company_name"."id" <= 2681; +SELECT "title"."kind_id", SUM("title"."kind_id") AS agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 12614671 AND "kind_type"."id" <= 7 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("title"."production_year") AS agg_0, SUM("title"."episode_of_id") AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_companies"."note") AS agg_7, MAX("company_name"."imdb_id") AS agg_8, MAX("company_name"."name") AS agg_9, MAX("company_name"."country_code") AS agg_10, MAX("company_name"."name_pcode_sf") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" >= 625034 AND "aka_name"."person_id" <= 2349787 AND "cast_info"."id" <= 28827074; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1165947; +SELECT AVG("movie_keyword"."keyword_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133927 AND "title"."kind_id" <= 1994 AND "movie_keyword"."id" <= 22478922; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%alternate versions%' AND "title"."episode_of_id" <= 3795 AND "movie_info_idx"."movie_id" <= 17960; +SELECT "title"."series_years", AVG("movie_info"."movie_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" != 7 AND "title"."series_years" != '%1949-1959%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 2834761 AND "person_info"."person_id" >= 1278373 AND "aka_name"."person_id" IS NOT NULL; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 555182 AND "movie_keyword"."movie_id" <= 1852959; +SELECT "movie_info_idx"."info_type_id", AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" >= 2050523 AND "movie_info_idx"."id" <= 287573 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("title"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."phonetic_code") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT "name"."surname_pcode", AVG("name"."id") as agg_0, AVG("aka_name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" <= 111532 AND "person_info"."info_type_id" >= 17 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" = 1 AND "movie_companies"."movie_id" <= 1390866 AND "movie_companies"."id" <= 525179 AND "company_type"."id" >= 1; +SELECT "title"."series_years", SUM("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 31180 AND "movie_keyword"."id" <= 3386512 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, AVG("info_type"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%birth name%' AND "info_type"."id" >= 89 AND "movie_info_idx"."movie_id" <= 1853314 AND "movie_info_idx"."id" <= 1014404; +SELECT SUM("movie_info_idx"."info_type_id") AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2007.0159111477053 AND "movie_keyword"."id" >= 1682411 AND "movie_keyword"."keyword_id" >= 357 AND "movie_keyword"."movie_id" >= 2394035; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 2215945 AND "title"."production_year" >= 1992.8112728106373; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" != 17 AND "aka_name"."surname_pcode" != '%S2%' AND "person_info"."person_id" >= 2237322; +SELECT "aka_name"."surname_pcode", COUNT(*) AS agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 15698585 AND "aka_name"."id" <= 4497149 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "aka_name"."imdb_index", SUM("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."nr_order" >= 4.553514988379297 AND "char_name"."id" <= 91827 AND "cast_info"."person_id" <= 454534 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "company_name"."country_code", SUM("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" >= 38172 AND "company_type"."id" = 1 AND "company_type"."kind" != '%production companies%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."title") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 29504 AND "keyword"."id" <= 246; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 20749853; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" >= 56 AND "movie_companies"."company_type_id" = 1 AND "company_type"."id" IS NOT NULL; +SELECT "title"."imdb_index", AVG("title"."season_nr") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 338 AND "movie_companies"."company_type_id" = 2 AND "company_name"."country_code" != '%[cshh]%' AND "movie_companies"."movie_id" >= 2371234 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("keyword"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 401 AND "movie_keyword"."id" <= 75794; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 2356193 AND "movie_keyword"."id" <= 1826264; +SELECT SUM("movie_info_idx"."id") AS agg_0, AVG("movie_info_idx"."movie_id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6874884 AND "info_type"."id" <= 113 AND "title"."id" <= 12630486; +SELECT COUNT(*) AS agg_0, AVG("title"."episode_nr") AS agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12528296; +SELECT COUNT(*) AS agg_0, AVG("movie_keyword"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2521282 AND "keyword"."id" <= 132950 AND "movie_keyword"."id" <= 22423116; +SELECT "name"."imdb_index", SUM("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 23446 AND "person_info"."info_type_id" != 17 AND "aka_name"."id" >= 300707 AND "person_info"."id" <= 2107354 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("person_info"."info_type_id") AS agg_7, MAX("person_info"."info") AS agg_8, MAX("name"."gender") AS agg_9, MAX("name"."name") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("info_type"."info") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 15.103735411570876 AND "info_type"."info" <> '%LD analog left%' AND "info_type"."id" <= 1 AND "title"."episode_of_id" <= 2704; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%LD certification%' AND "movie_info_idx"."info_type_id" <= 99; +SELECT "title"."kind_id", SUM("movie_info"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 1592825 AND "movie_info"."id" >= 5587999 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 3.444000115158942 AND "keyword"."id" <= 438 AND "movie_keyword"."id" <= 46960; +SELECT AVG("person_info"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" = 22 AND "person_info"."id" >= 1378760 AND "name"."id" >= 1146551 AND "person_info"."person_id" <= 2359395; +SELECT AVG("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" >= 369613 AND "movie_companies"."movie_id" <= 1477788 AND "movie_companies"."company_id" >= 12776 AND "company_type"."id" = 2; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."name") AS agg_5, MAX("company_name"."id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1174488; +SELECT "info_type"."info", AVG("info_type"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 1330964 AND "info_type"."info" != '%LD sound encoding%' AND "movie_info_idx"."movie_id" <= 1756903 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("company_name"."id") as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 1450179 AND "movie_companies"."movie_id" <= 1868909; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT MAX("name"."gender") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("name"."id") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id"; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 1; +SELECT AVG("title"."episode_nr") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 2502787 AND "movie_info"."id" >= 6421835; +SELECT SUM("title"."production_year") as agg_0, AVG("title"."id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%remake of%' AND "movie_link"."link_type_id" != 5 AND "title"."production_year" >= 1997.391156433523; +SELECT "info_type"."id", COUNT(*) AS agg_0, AVG("title"."episode_of_id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12633537 AND "title"."episode_of_id" <= 2518055 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "title"."series_years", SUM("title"."episode_of_id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" >= 677704 AND "keyword"."id" <= 105700 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 1242379 AND "movie_keyword"."keyword_id" <= 5414; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 1895293 AND "title"."episode_nr" <= 6.293240863985394 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 37630 AND "movie_keyword"."movie_id" >= 1903797 AND "movie_keyword"."id" >= 3206249; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."episode_of_id") AS agg_8, MAX("movie_info_idx"."info_type_id") AS agg_9, MAX("title"."id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 113; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 4.9362657822523826 AND "title"."episode_of_id" <= 5449; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 93187 AND "movie_keyword"."keyword_id" <= 374 AND "movie_keyword"."id" <= 2339759 AND "movie_keyword"."movie_id" <= 2042198; +SELECT "info_type"."info", AVG("movie_info_idx"."id") AS agg_0, SUM("title"."episode_nr") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("movie_info_idx"."movie_id") AS agg_0 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 2527745; +SELECT AVG("title"."kind_id") as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 111 AND "info_type"."info" != '%rentals%'; +SELECT "title"."series_years", COUNT(*) as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 3623599 AND "title"."season_nr" >= 1.0 AND "movie_keyword"."movie_id" >= 1613631 AND "title"."id" >= 475537 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" >= 1 AND "aka_name"."id" <= 312253; +SELECT "title"."series_years", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%features%' AND "movie_link"."movie_id" <= 107893 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("person_info"."id") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("person_info"."person_id") AS agg_9, MAX("name"."name") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."person_id" <= 20756046 AND "person_info"."person_id" <= 20768552 AND "name"."id" <= 20757741; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%distributors%' AND "movie_companies"."id" <= 43365; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "title"."episode_of_id" <= 2522571; +SELECT AVG("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" >= 1 AND "movie_companies"."id" <= 1353355; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 110420 AND "movie_keyword"."id" >= 4095020 AND "movie_keyword"."keyword_id" >= 5849 AND "title"."id" IS NOT NULL; +SELECT SUM("title"."production_year") AS agg_0, AVG("title"."episode_nr") AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 8.017926908559925 AND "movie_info_idx"."info_type_id" <= 99; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 12920766 AND "company_type"."id" <= 4; +SELECT "company_name"."country_code", COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[ar]%' AND "company_name"."id" <= 194068 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 1235966 AND "title"."kind_id" = 7 AND "movie_companies"."movie_id" <= 2453931 AND "movie_companies"."company_id" >= 40; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."nr_order" <= 24.722306386288324 AND "aka_name"."person_id" <= 34669; +SELECT AVG("movie_keyword"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 2238051 AND "movie_keyword"."keyword_id" >= 749 AND "movie_keyword"."id" <= 2971603 AND "keyword"."id" <= 48779; +SELECT SUM("title"."kind_id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 76 AND "info_type"."info" != '%LD video quality%' AND "movie_info_idx"."movie_id" >= 1761108; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 1.061163409658096 AND "cast_info"."id" <= 594609; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("name"."gender") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."gender") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 154255 AND "company_type"."id" = 1; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("company_type"."kind") AS agg_7, MAX("movie_companies"."company_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."movie_id" <= 39228 AND "title"."kind_id" <= 3; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 1141214.7771242405 AND "char_name"."imdb_index" != '%IV%' AND "aka_name"."id" IS NOT NULL; +SELECT "company_name"."country_code", COUNT(*) AS agg_0, AVG("movie_companies"."company_type_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1164086 AND "company_type"."id" <= 4 AND "movie_companies"."company_id" <= 1163438 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "kind_type"."kind", AVG("title"."episode_nr") AS agg_0, AVG("title"."episode_nr") AS agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" GROUP BY "kind_type"."kind" ORDER BY "kind_type"."kind"; +SELECT "title"."series_years", AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2188305 AND "title"."imdb_index" != '%XIX%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 2360018 AND "keyword"."id" >= 52576; +SELECT "kind_type"."kind", AVG("title"."episode_nr") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%tv series%' AND "title"."kind_id" != 2 AND "title"."id" <= 596869 AND "title"."production_year" <= 2005.8538794690937 GROUP BY "kind_type"."kind" ORDER BY "kind_type"."kind"; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 1114 AND "movie_keyword"."movie_id" >= 2310144 AND "keyword"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 452; +SELECT "title"."imdb_index", COUNT(*) AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XVII%' AND "movie_companies"."movie_id" <= 28347 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 1 AND "movie_companies"."company_id" <= 3803; +SELECT "company_type"."kind", AVG("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" >= 1 AND "company_type"."kind" != '%production companies%' AND "movie_companies"."id" <= 1286107 AND "company_type"."id" = 2 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 12565709; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 51666 AND "movie_keyword"."id" <= 2688454; +SELECT AVG("aka_name"."person_id") AS agg_0, SUM("cast_info"."movie_id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" <= 23.074980303409436 AND "aka_name"."id" <= 17816; +SELECT COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 667809 AND "person_info"."person_id" <= 118792; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 52710 AND "movie_keyword"."id" <= 2112368; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("movie_info"."id") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2001.0720634750178 AND "title"."imdb_index" <> '%X%' AND "title"."kind_id" <= 8; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("movie_companies"."id") AS agg_8, MAX("title"."episode_of_id") AS agg_9, MAX("title"."season_nr") AS agg_10, MAX("company_name"."name") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12636641; +SELECT "title"."series_years", SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 95626 AND "title"."kind_id" <= 7 AND "movie_keyword"."movie_id" <= 743158 AND "movie_keyword"."keyword_id" >= 1229 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("name"."surname_pcode") AS agg_7, MAX("name"."name_pcode_nf") AS agg_8, MAX("name"."md5sum") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_keyword"."keyword_id") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2000; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_info"."id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT "company_name"."country_code", AVG("title"."episode_nr") as agg_0, SUM("company_name"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[cu]%' AND "movie_companies"."movie_id" <= 1050179 AND "title"."series_years" != '%1948-1950%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("kind_type"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7 AND "title"."kind_id" <= 2004; +SELECT AVG("movie_keyword"."movie_id") as agg_0, AVG("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 111852 AND "movie_keyword"."id" >= 3716587 AND "movie_keyword"."keyword_id" >= 333 AND "movie_keyword"."movie_id" <= 1978208; +SELECT COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" != 100 AND "movie_info_idx"."movie_id" >= 1739186 AND "movie_info_idx"."id" <= 984597 AND "info_type"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 42802; +SELECT MAX("title"."season_nr") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("keyword"."keyword") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."title") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133137 AND "title"."episode_of_id" <= 2513580; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" >= 36389 AND "char_name"."imdb_index" != '%IV%' AND "cast_info"."id" >= 5000094 AND "char_name"."id" <= 1730561 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 105789 AND "movie_keyword"."movie_id" <= 1670774 AND "title"."episode_nr" >= 2.068946262954102; +SELECT SUM("cast_info"."person_role_id") as agg_0, SUM("cast_info"."person_role_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."id" <= 25985205 AND "cast_info"."person_id" <= 3315603 AND "cast_info"."nr_order" >= 6.206507551068805; +SELECT AVG("title"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" != 1 AND "title"."kind_id" >= 7; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 15561722 AND "aka_name"."person_id" <= 20765891; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."id") AS agg_8, MAX("movie_companies"."movie_id") AS agg_9, MAX("movie_companies"."id") AS agg_10, MAX("movie_companies"."company_type_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1169220 AND "movie_companies"."company_id" <= 1172153 AND "title"."kind_id" <= 2010; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" <= 12588643; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2010 AND "movie_companies"."company_type_id" <= 2; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 833533 AND "title"."production_year" <= 2004.2647502405844 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT "aka_name"."surname_pcode", SUM("aka_name"."person_id") AS agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20629875 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 55333; +SELECT MAX("title"."series_years") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("company_name"."country_code") AS agg_7, MAX("movie_companies"."company_id") AS agg_8, MAX("movie_companies"."note") AS agg_9, MAX("company_name"."name_pcode_nf") AS agg_10, MAX("company_name"."imdb_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 7.270660727596592 AND "company_name"."country_code" <> '%[kg]%' AND "title"."kind_id" <= 6 AND "company_name"."id" <= 3020; +SELECT "title"."kind_id", AVG("movie_companies"."company_id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 1 AND "movie_companies"."company_id" <= 31 AND "title"."production_year" <= 1995.736702208931 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "aka_name"."surname_pcode", SUM("char_name"."id") as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 2093432 AND "char_name"."imdb_index" != '%I%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("aka_name"."id") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("person_info"."info") AS agg_7, MAX("name"."md5sum") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."person_id" <= 20725258 AND "person_info"."person_id" <= 20665146; +SELECT SUM("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 2100798 AND "info_type"."info" != '%LD video quality%' AND "movie_info_idx"."info_type_id" >= 100; +SELECT MAX("person_info"."note") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("name"."gender") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("kind_type"."id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."title") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7 AND "title"."kind_id" <= 2005; +SELECT "title"."imdb_index", AVG("title"."season_nr") as agg_0, SUM("title"."id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."kind_id" <= 1 AND "movie_info_idx"."movie_id" <= 1921036 AND "title"."production_year" >= 2007.6165193913307 AND "movie_info_idx"."id" >= 256279 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1984.5296494604272 AND "title"."id" <= 21613; +SELECT "movie_info"."info_type_id", SUM("title"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" >= 596601 AND "movie_info"."info_type_id" != 7 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12541073 AND "title"."id" <= 12585184; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2515475; +SELECT "title"."imdb_index", SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 2521963 AND "title"."season_nr" <= 1.0 AND "keyword"."id" <= 111828 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "info_type"."id", AVG("info_type"."id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%color info%' AND "info_type"."id" >= 66 AND "movie_info_idx"."id" <= 854873 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12615559; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 93933 AND "movie_keyword"."id" <= 2490863 AND "movie_keyword"."movie_id" <= 2191182 AND "movie_keyword"."keyword_id" <= 1405; +SELECT "person_info"."info_type_id", SUM("person_info"."info_type_id") as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" >= 18 AND "person_info"."id" >= 967327 AND "name"."gender" != '%m%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT SUM("title"."kind_id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" != 5 AND "title"."kind_id" = 1; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_info"."id") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("movie_info"."info") AS agg_7, MAX("title"."phonetic_code") AS agg_8, MAX("title"."imdb_id") AS agg_9, MAX("title"."series_years") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info"."id" <= 281286; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1982.250819546888 AND "keyword"."id" <= 537 AND "movie_keyword"."movie_id" <= 25530; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 1648235 AND "movie_keyword"."keyword_id" >= 18467; +SELECT SUM("keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 3924830 AND "keyword"."id" >= 13301 AND "movie_keyword"."movie_id" >= 195555 AND "movie_keyword"."keyword_id" >= 9066; +SELECT COUNT(*) AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2504930 AND "movie_keyword"."keyword_id" <= 133924; +SELECT SUM("movie_info_idx"."info_type_id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 107 AND "info_type"."id" >= 41; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" <= 1855531 AND "aka_name"."person_id" >= 1035481; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."production_year") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12524536; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" >= 221707 AND "person_info"."info_type_id" = 17 AND "person_info"."person_id" >= 2906160 AND "person_info"."id" <= 584816 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "title"."series_years", AVG("movie_info_idx"."info_type_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2006.3360253556907 AND "movie_info_idx"."movie_id" <= 2079095 AND "movie_info_idx"."info_type_id" != 99 AND "movie_info_idx"."id" <= 397049 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("info_type"."info") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 1; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 190472 AND "movie_companies"."movie_id" <= 1768754; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("name"."name") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20758795; +SELECT AVG("movie_keyword"."keyword_id") AS agg_0, COUNT(*) AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133645; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 1861280 AND "company_name"."id" <= 144874 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."series_years", AVG("movie_companies"."company_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "title"."kind_id" <= 2009 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "info_type"."id", SUM("title"."season_nr") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%LD contrast%' AND "movie_info_idx"."info_type_id" = 100 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1950.8925212490026 AND "title"."kind_id" <= 6; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 132858 AND "title"."kind_id" <= 2003; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 18893; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("keyword"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 6117 AND "movie_keyword"."movie_id" <= 27280; +SELECT AVG("name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 1076933 AND "aka_name"."surname_pcode" != '%C323%'; +SELECT AVG("keyword"."id") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 2052539 AND "keyword"."id" <= 7619 AND "movie_keyword"."keyword_id" <= 8566 AND "movie_keyword"."id" <= 921408; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_info"."note") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT AVG("title"."season_nr") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 6654 AND "title"."season_nr" <= 1.0; +SELECT SUM("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" >= 90742 AND "company_type"."kind" != '%distributors%'; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 88789; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20691456; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133846 AND "movie_keyword"."movie_id" <= 12638316; +SELECT COUNT(*) as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 4.886973041307637 AND "title"."id" >= 687637; +SELECT COUNT(*) as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" <= 3831183 AND "cast_info"."movie_id" <= 1445954; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 9; +SELECT MAX("char_name"."imdb_id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."id" <= 180380946; +SELECT MAX("name"."name") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT AVG("title"."kind_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XXII%' AND "movie_info"."info_type_id" >= 1; +SELECT "info_type"."info", AVG("movie_info_idx"."id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%death notes%' AND "info_type"."id" <= 109 AND "movie_info_idx"."info_type_id" != 100 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("person_info"."person_id") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."info") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."gender") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 31894; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 3.749955167829137 AND "title"."kind_id" <= 6; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" <= 6838183 AND "info_type"."id" <= 113; +SELECT "title"."imdb_index", AVG("title"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 439387.3634073591 AND "title"."season_nr" <= 1.0 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."series_years", SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" <= 4 AND "title"."season_nr" >= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("cast_info"."person_id") as agg_0, AVG("cast_info"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 2113646 AND "cast_info"."role_id" <= 10 AND "cast_info"."person_role_id" >= 98.37559284812005; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("kind_type"."kind") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_nr" >= 12.146897726490113 AND "kind_type"."id" <= 1; +SELECT "movie_info_idx"."info_type_id", SUM("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" >= 356395.58167986124 AND "title"."kind_id" != 1 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "aka_name"."surname_pcode", AVG("name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 1739492 AND "aka_name"."surname_pcode" != '%P536%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 198; +SELECT "name"."gender", SUM("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%E121%' AND "person_info"."person_id" >= 1860680 AND "person_info"."info_type_id" <= 31 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 136 AND "movie_keyword"."keyword_id" <= 520; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[hr]%' AND "company_name"."id" <= 177496 AND "movie_companies"."company_id" <= 19296 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."episode_of_id" <= 2511206; +SELECT "aka_name"."surname_pcode", SUM("char_name"."id") as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 805874 AND "cast_info"."person_id" <= 1683799 AND "char_name"."imdb_index" != '%I%' AND "cast_info"."role_id" != 9 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 11399 AND "movie_keyword"."id" >= 1825148; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" >= 1341356 AND "company_name"."country_code" != '%[nr]%' AND "movie_companies"."id" >= 27009 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."id" >= 1359701 AND "title"."season_nr" <= 645.2600757471272 AND "movie_companies"."company_id" >= 6240; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("movie_keyword"."keyword_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1981.894423953451 AND "title"."kind_id" <= 4 AND "keyword"."id" <= 165; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 13973 AND "title"."id" <= 38599; +SELECT "title"."imdb_index", SUM("cast_info"."movie_id") AS agg_0, AVG("title"."kind_id") AS agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" <= 6 AND "title"."production_year" <= 1982.741794999037 AND "cast_info"."id" <= 528467 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "name"."imdb_index", SUM("person_info"."info_type_id") AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 35045 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 641519.0625348589 AND "movie_companies"."company_id" <= 254 AND "movie_companies"."company_type_id" >= 1; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("info_type"."info") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12555846 AND "info_type"."id" <= 112; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" != 99 AND "movie_info_idx"."id" <= 1241795 AND "title"."id" <= 1665498 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT SUM("movie_keyword"."id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT SUM("title"."kind_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."id" <= 2252483 AND "cast_info"."person_id" >= 455135 AND "title"."episode_of_id" <= 731854.9392608918; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."title") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."title") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 108.49041647739865 AND "title"."production_year" >= 1992.5219892212526 AND "info_type"."id" <= 1 AND "movie_info_idx"."id" <= 8207; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("kind_type"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%video game%' AND "kind_type"."id" <= 1; +SELECT MAX("name"."md5sum") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("name"."name_pcode_nf") AS agg_9, MAX("cast_info"."movie_id") AS agg_10, MAX("aka_name"."person_id") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."imdb_index" <> '%CXXXVII%' AND "name"."gender" <> '%f%' AND "aka_name"."id" <= 8744 AND "cast_info"."movie_id" <= 17839; +SELECT MAX("person_info"."info") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 15; +SELECT SUM("movie_info_idx"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 137.60738232962245 AND "movie_info_idx"."id" >= 441124 AND "movie_info_idx"."info_type_id" = 99; +SELECT "title"."imdb_index", SUM("movie_info_idx"."info_type_id") AS agg_0, COUNT(*) AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("char_name"."surname_pcode") AS agg_4, MAX("char_name"."imdb_id") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15571614 AND "cast_info"."movie_id" <= 12615909; +SELECT MAX("person_info"."info") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."gender") AS agg_2, MAX("name"."name") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("char_name"."name_pcode_nf") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("char_name"."surname_pcode") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15635025 AND "cast_info"."id" <= 180590507; +SELECT MAX("person_info"."id") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("name"."gender") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."imdb_index") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("person_info"."info") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("name"."surname_pcode") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%XXXVIII%' AND "person_info"."id" <= 22234 AND "name"."id" <= 55218; +SELECT "char_name"."imdb_index", AVG("cast_info"."nr_order") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%D%' AND "char_name"."id" >= 1444055 AND "cast_info"."id" <= 14515924 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" <> '%distributors%' AND "movie_companies"."id" <= 27145 AND "company_name"."id" <= 2352; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" <= 1050046.4318123457 AND "title"."production_year" >= 2002.9030175006474; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."surname_pcode") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("cast_info"."person_id") AS agg_6, MAX("char_name"."imdb_id") AS agg_7, MAX("char_name"."name") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133121 AND "movie_keyword"."movie_id" <= 12598304 AND "title"."id" <= 12564098; +SELECT "title"."imdb_index", SUM("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 558991 AND "cast_info"."id" <= 24654818 AND "char_name"."imdb_index" != '%I%' AND "cast_info"."person_id" <= 3185463 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("person_info"."person_id") as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" = 20 AND "name"."surname_pcode" != '%C561%'; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("kind_type"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."imdb_index" <> '%XX%' AND "title"."production_year" <= 1982.4027337019627 AND "kind_type"."id" <= 1; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("movie_info_idx"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%X%' AND "title"."id" <= 25076; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 12584305; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("aka_name"."surname_pcode") AS agg_7, MAX("name"."name_pcode_cf") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("name"."gender") AS agg_10, MAX("aka_name"."name") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."role_id" >= 1 AND "aka_name"."id" <= 14013 AND "cast_info"."person_id" <= 15988; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("kind_type"."kind") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."title") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 744646 AND "movie_keyword"."movie_id" >= 1456738 AND "keyword"."id" >= 32152; +SELECT SUM("cast_info"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."gender" != '%f%' AND "cast_info"."nr_order" >= 3.5234697192869655; +SELECT "title"."kind_id", SUM("title"."episode_of_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" >= 67779 AND "link_type"."id" = 10 AND "title"."id" <= 194757 AND "movie_link"."id" <= 19989 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "company_type"."kind", AVG("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."country_code" != '%[bd]%' AND "company_type"."kind" != '%special effects companies%' AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."company_id" <= 62 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT SUM("title"."season_nr") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 72238 AND "movie_keyword"."id" >= 1232855 AND "movie_keyword"."movie_id" <= 2371835; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_name"."country_code") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1809; +SELECT SUM("title"."season_nr") as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "link_type"."id" >= 10 AND "movie_link"."link_type_id" != 6; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."id" <= 12576972; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" >= 874346 AND "cast_info"."role_id" >= 1 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 314 AND "keyword"."id" <= 39464; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."name") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("char_name"."md5sum") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" <= 6.839013082119585 AND "cast_info"."id" <= 462896; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."nr_order" >= 15.209054590575002 AND "aka_name"."id" <= 14287; +SELECT "company_name"."country_code", AVG("title"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 7 AND "title"."production_year" >= 2007.3205252195041 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%Y36%' AND "aka_name"."id" <= 11366; +SELECT "company_name"."country_code", SUM("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 96208 AND "movie_companies"."company_type_id" <= 2 AND "company_name"."country_code" != '%[gg]%' AND "movie_companies"."movie_id" <= 878607 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%distributors%' AND "company_type"."id" <= 1; +SELECT AVG("kind_type"."id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."imdb_index" != '%VII%' AND "title"."series_years" != '%1990-2001%' AND "kind_type"."id" >= 2 AND "kind_type"."kind" != '%tv movie%'; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%f%' AND "person_info"."info_type_id" <= 15; +SELECT "name"."gender", AVG("name"."id") AS agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%CLXIII%' AND "person_info"."person_id" <= 80262 AND "aka_name"."person_id" <= 81329 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT COUNT(*) AS agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 20652348; +SELECT MAX("char_name"."name") AS agg_0, MAX("char_name"."md5sum") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("char_name"."surname_pcode") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("char_name"."imdb_index") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id"; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."episode_of_id" <= 2522763; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 68894 AND "movie_keyword"."movie_id" <= 1661196 AND "movie_keyword"."id" <= 3157558; +SELECT SUM("title"."kind_id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 299 AND "movie_keyword"."keyword_id" <= 253; +SELECT SUM("keyword"."id") as agg_0, SUM("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 24773 AND "movie_keyword"."movie_id" <= 1856449 AND "keyword"."id" <= 33865; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[lu]%' AND "movie_companies"."company_type_id" <= 1; +SELECT SUM("aka_name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" >= 1055468 AND "name"."gender" != '%m%' AND "cast_info"."person_id" IS NOT NULL; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2000; +SELECT AVG("person_info"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" >= 36 AND "person_info"."id" <= 1728606 AND "name"."id" >= 1076483 AND "person_info"."person_id" >= 286447; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("info_type"."info") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 60.49894555268523 AND "info_type"."info" <> '%top 250 rank%' AND "info_type"."id" <= 1 AND "title"."episode_of_id" <= 6272; +SELECT AVG("aka_name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 507011 AND "name"."gender" != '%f%'; +SELECT MAX("title"."title") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_info"."note") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1995 AND "movie_info"."info_type_id" <= 109; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info"."id") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%VII%' AND "title"."episode_of_id" <= 8621; +SELECT "title"."imdb_index", SUM("title"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 131484 AND "movie_keyword"."id" >= 268604 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" != '%CVII%' AND "person_info"."id" >= 1844852; +SELECT SUM("movie_info_idx"."movie_id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%LD close captions-teletext-ld-g%' AND "movie_info_idx"."movie_id" >= 2051122; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7, MAX("char_name"."name") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("cast_info"."nr_order") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id"; +SELECT AVG("title"."id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1982.7132342998214 AND "movie_info_idx"."movie_id" >= 2281669 AND "movie_info_idx"."id" <= 1130673; +SELECT "char_name"."imdb_index", SUM("aka_name"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."imdb_index" != '%I%' AND "cast_info"."id" <= 11642569 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("char_name"."id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("char_name"."name") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("cast_info"."person_role_id") AS agg_8, MAX("cast_info"."person_id") AS agg_9, MAX("cast_info"."movie_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <= 1 AND "cast_info"."person_id" <= 17792 AND "aka_name"."id" <= 5257; +SELECT AVG("info_type"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 12 AND "info_type"."info" != '%LD subtitles%'; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("cast_info"."role_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" <= 0.009003061163710857 AND "cast_info"."movie_id" <= 25251; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("movie_info_idx"."id") AS agg_8, MAX("movie_info"."info_type_id") AS agg_9, MAX("movie_info_idx"."info") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."id" <= 25102 AND "movie_info_idx"."movie_id" <= 39340; +SELECT AVG("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 2150130 AND "cast_info"."role_id" <= 4 AND "aka_name"."surname_pcode" != '%W624%'; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("char_name"."md5sum") AS agg_2, MAX("char_name"."name") AS agg_3, MAX("char_name"."imdb_id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_id" <= 7609000; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("movie_companies"."id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 1 AND "title"."id" <= 28383; +SELECT "cast_info"."role_id", AVG("cast_info"."person_role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_id" <= 126120 AND "cast_info"."person_role_id" <= 37.214364305889326 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("kind_type"."kind") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."production_year") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 66157 AND "movie_keyword"."movie_id" <= 2258114; +SELECT "movie_companies"."company_type_id", SUM("company_type"."id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."id" <= 953198 AND "info_type"."info" != '%LD audio quality%' AND "title"."id" IS NOT NULL; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 133706; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 30158; +SELECT COUNT(*) as agg_0, SUM("movie_info"."info_type_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" >= 8 AND "title"."episode_nr" <= 7.470711845906497; +SELECT "title"."imdb_index", AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 92323 AND "title"."production_year" <= 2012.7623446477558 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 3915; +SELECT MAX("title"."md5sum") AS agg_0, MAX("kind_type"."kind") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%episode%' AND "kind_type"."id" <= 1; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%IV%' AND "cast_info"."id" >= 6069552; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("aka_name"."id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 49702; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("company_name"."md5sum") AS agg_8, MAX("company_name"."name_pcode_sf") AS agg_9, MAX("company_name"."imdb_id") AS agg_10, MAX("title"."imdb_id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 12958057; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 1; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("aka_name"."person_id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" >= 1 AND "cast_info"."person_role_id" <= 51168; +SELECT "name"."gender", COUNT(*) AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20739262 AND "person_info"."person_id" <= 20724756 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, SUM("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 167115 AND "movie_companies"."company_id" <= 9443 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("title"."id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_type"."id" <= 4 AND "title"."kind_id" <= 1997; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[gw]%' AND "movie_companies"."company_id" >= 66723; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 17724 AND "movie_keyword"."id" <= 3355229 AND "keyword"."id" <= 108668 AND "movie_keyword"."movie_id" >= 1748374; +SELECT SUM("title"."production_year") as agg_0, AVG("title"."season_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%references%' AND "link_type"."id" != 3 AND "movie_link"."movie_id" >= 135189 AND "movie_link"."id" <= 21480; +SELECT MAX("char_name"."name") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("char_name"."imdb_index") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 50903; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 47617 AND "movie_keyword"."id" <= 2074485 AND "movie_keyword"."movie_id" <= 2442022; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("movie_companies"."id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4; +SELECT COUNT(*) as agg_0, SUM("company_type"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 114709 AND "company_name"."country_code" != '%[dz]%'; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("person_info"."info_type_id") AS agg_6, MAX("person_info"."person_id") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20741988; +SELECT "title"."series_years", SUM("cast_info"."person_role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 1032281.4834487586 AND "cast_info"."id" <= 36081761 AND "cast_info"."person_role_id" <= 2696581.491635346 AND "title"."series_years" != '%1953-1953%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("title"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 21599 AND "keyword"."id" <= 310; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 13011780 AND "company_name"."id" <= 1167574; +SELECT MAX("char_name"."imdb_index") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("char_name"."md5sum") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15574467 AND "cast_info"."person_role_id" <= 15642892; +SELECT AVG("movie_keyword"."id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12549246 AND "keyword"."id" <= 132884; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."phonetic_code") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."id" <= 1; +SELECT AVG("movie_companies"."company_type_id") as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%production companies%' AND "movie_companies"."company_type_id" = 1 AND "movie_companies"."id" <= 1377819 AND "company_type"."id" <= 1; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 1; +SELECT MAX("company_name"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("movie_companies"."movie_id") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("title"."title") AS agg_9, MAX("company_name"."md5sum") AS agg_10, MAX("title"."series_years") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 81722 AND "movie_keyword"."movie_id" <= 1985804 AND "movie_keyword"."keyword_id" <= 5419; +SELECT MAX("title"."title") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12616843; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."title") AS agg_7, MAX("cast_info"."role_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2004 AND "cast_info"."id" <= 180794034; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 1882495 AND "char_name"."id" <= 1255031 AND "title"."episode_of_id" <= 926955.2651637748 AND "char_name"."imdb_index" != '%D%'; +SELECT "info_type"."id", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" <= 627702 AND "info_type"."id" <= 103 AND "movie_info_idx"."info_type_id" != 99 AND "info_type"."info" != '%votes%' GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "company_type"."id", COUNT(*) AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("name"."name") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20743104 AND "aka_name"."id" <= 4468624; +SELECT "info_type"."id", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 1463024 AND "info_type"."info" != '%LD subtitles%' AND "movie_info_idx"."id" <= 976153 AND "info_type"."id" >= 43 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT AVG("movie_keyword"."id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 12542 AND "movie_keyword"."movie_id" <= 1683967 AND "keyword"."id" <= 99730; +SELECT MAX("title"."title") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_info"."id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info"."info") AS agg_7, MAX("title"."imdb_index") AS agg_8, MAX("movie_info"."movie_id") AS agg_9, MAX("title"."series_years") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."production_year" >= 1969.6280853494293 AND "movie_info_idx"."movie_id" <= 16718 AND "title"."episode_of_id" <= 4740; +SELECT AVG("movie_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1559 AND "title"."id" <= 1496199; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("kind_type"."id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_of_id" <= 2527066 AND "kind_type"."id" <= 7; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113; +SELECT "char_name"."imdb_index", SUM("aka_name"."id") as agg_0, AVG("cast_info"."movie_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" >= 1 AND "aka_name"."id" >= 279002 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 1251410 AND "company_name"."country_code" != '%[af]%' AND "movie_companies"."company_type_id" = 1 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 50.844177874712436 AND "title"."production_year" >= 1994.456300520149 AND "title"."episode_of_id" <= 7727; +SELECT "info_type"."id", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" <= 2168286 AND "info_type"."info" != '%other literature%' AND "movie_info_idx"."info_type_id" <= 99 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "title"."imdb_index", COUNT(*) AS agg_0, SUM("movie_info_idx"."id") AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%LD digital sound%' AND "info_type"."id" <= 1 AND "title"."kind_id" <= 7 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("kind_type"."id") AS agg_4, MAX("kind_type"."kind") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7 AND "title"."id" <= 12538335; +SELECT "name"."surname_pcode", SUM("person_info"."info_type_id") AS agg_0, COUNT(*) AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("company_name"."country_code") AS agg_8, MAX("company_name"."name") AS agg_9, MAX("title"."title") AS agg_10, MAX("title"."kind_id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[ng]%' AND "title"."episode_of_id" <= 9154 AND "company_name"."id" <= 1228; +SELECT "title"."series_years", SUM("title"."kind_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 121885 AND "movie_keyword"."id" <= 96158 AND "title"."production_year" <= 2006.0735251400736 AND "title"."season_nr" >= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" != 18 AND "name"."id" <= 159446; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12614423 AND "title"."episode_of_id" <= 2512064; +SELECT MAX("title"."kind_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_keyword"."keyword_id") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 24864 AND "title"."id" <= 47458; +SELECT MAX("title"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("company_type"."kind") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("company_type"."id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12526867; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0, AVG("name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" != '%m%' AND "aka_name"."person_id" >= 1127935 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."id" <= 22965 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 16 AND "person_info"."id" <= 580240 AND "name"."surname_pcode" != '%U54%'; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("info_type"."info") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info_idx"."movie_id") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("movie_info_idx"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2000.4301753352556 AND "title"."kind_id" <= 7 AND "info_type"."id" <= 1; +SELECT "company_type"."kind", SUM("movie_companies"."id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 13002290 AND "company_type"."id" <= 4 AND "title"."episode_of_id" <= 2518594 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("movie_info"."id") AS agg_8, MAX("movie_info"."info") AS agg_9, MAX("movie_info_idx"."info") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info"."id" <= 90482; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%LD length%' AND "info_type"."id" <= 1; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."gender") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%f%' AND "person_info"."id" <= 55691; +SELECT AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."season_nr" >= 1.0 AND "title"."kind_id" >= 1 AND "title"."id" <= 74070 AND "movie_info"."id" >= 1758818; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."id" <= 12551062; +SELECT "link_type"."link", AVG("title"."production_year") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%edited from%' AND "movie_link"."id" <= 17825 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT MAX("title"."title") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("movie_companies"."company_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 15119 AND "title"."id" <= 40933; +SELECT "company_name"."country_code", COUNT(*) AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1171026 AND "company_type"."id" <= 4 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6, MAX("name"."name") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%VIII%' AND "name"."id" <= 60986; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id"; +SELECT COUNT(*) as agg_0, SUM("title"."episode_nr") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."id" >= 12625705 AND "title"."imdb_index" != '%XVIII%'; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("char_name"."md5sum") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("char_name"."name_pcode_nf") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."imdb_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" >= 1 AND "char_name"."id" <= 61448; +SELECT "title"."kind_id", SUM("title"."production_year") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 318680 AND "title"."episode_nr" >= 6.574445147484916 AND "title"."production_year" <= 2003.889939532126 AND "kind_type"."kind" != '%tv mini series%' GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 456744 AND "company_name"."country_code" != '%[be]%'; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("person_info"."info") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("aka_name"."name") AS agg_9, MAX("name"."name") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20807706 AND "person_info"."id" <= 14683141 AND "aka_name"."person_id" <= 20694030; +SELECT "movie_info_idx"."info_type_id", SUM("movie_info"."info_type_id") as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."id" <= 160924 AND "movie_info_idx"."id" <= 213403 AND "title"."season_nr" <= 1.0 AND "movie_info"."info_type_id" <= 3 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT AVG("title"."episode_nr") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 510151 AND "title"."imdb_index" != '%VI%'; +SELECT "info_type"."id", COUNT(*) AS agg_0, SUM("info_type"."id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT SUM("movie_companies"."company_id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 12919955; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."id") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."name") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 32528; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 133249 AND "title"."id" >= 1381231 AND "title"."production_year" <= 2001.7742905021278 AND "title"."season_nr" >= 1.0; +SELECT "movie_info_idx"."info_type_id", AVG("info_type"."id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" = 101 AND "movie_info_idx"."id" >= 87699 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 67579 AND "movie_keyword"."id" >= 678791 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" != '%m%' AND "name"."imdb_index" != '%CXCI%' AND "name"."surname_pcode" != '%P46%' GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."id" <= 29257 AND "title"."production_year" >= 1991.8828509079367; +SELECT SUM("aka_name"."id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" >= 2748427 AND "name"."surname_pcode" != '%U613%' AND "name"."id" >= 2295264; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("kind_type"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("kind_type"."kind") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 12636297; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("name"."imdb_index") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("name"."gender") AS agg_9, MAX("person_info"."id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20747751 AND "aka_name"."person_id" <= 20819533 AND "person_info"."id" <= 14766998; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" <= 6861826; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("movie_info_idx"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "movie_companies"."company_type_id", COUNT(*) AS agg_0, SUM("company_name"."id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1172453 AND "company_type"."id" <= 4 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."movie_id" <= 44402; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 2776577 AND "cast_info"."person_role_id" >= 146485.91579279653 AND "cast_info"."id" <= 22992149 AND "char_name"."imdb_index" != '%M%'; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("cast_info"."person_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 151.42974691356144 AND "title"."episode_of_id" <= 7591; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("kind_type"."id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_nr" <= 12.976650121919581 AND "kind_type"."kind" <> '%video movie%' AND "title"."episode_of_id" <= 6791; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 139.1010651133432 AND "title"."season_nr" <= 3.9650945505760467 AND "movie_companies"."movie_id" <= 16232; +SELECT "title"."imdb_index", SUM("movie_info_idx"."info_type_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2009.6117656534857 AND "movie_info_idx"."movie_id" <= 2453600 AND "movie_info_idx"."id" >= 343417 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XX%' AND "cast_info"."movie_id" <= 2350177; +SELECT "company_type"."id", SUM("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" >= 1896861 AND "movie_companies"."movie_id" <= 2198074 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT AVG("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" <= 2.6399747365551613 AND "kind_type"."id" != 2 AND "kind_type"."kind" != '%tv mini series%'; +SELECT "title"."kind_id", SUM("movie_info"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 2444103 AND "movie_info"."id" >= 10972178 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 1; +SELECT MAX("name"."md5sum") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 14742288 AND "name"."id" <= 20691276; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."id" <= 128600 AND "movie_info"."info_type_id" != 7; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 97371 AND "movie_keyword"."id" <= 1782764 AND "movie_keyword"."keyword_id" <= 66202 AND "movie_keyword"."movie_id" >= 1391887; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%color info%' AND "movie_info_idx"."id" <= 24213; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 1708718 AND "keyword"."id" <= 100255 AND "movie_keyword"."id" <= 4250261; +SELECT SUM("title"."episode_nr") AS agg_0, SUM("movie_companies"."movie_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."id" <= 12998486; +SELECT "cast_info"."role_id", SUM("cast_info"."movie_id") as agg_0, SUM("cast_info"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <= 2 AND "char_name"."id" <= 1718160 AND "char_name"."imdb_index" != '%D%' GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 12586034; +SELECT "movie_companies"."company_type_id", SUM("company_name"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 199076 AND "company_name"."country_code" != '%[mk]%' AND "movie_companies"."company_id" >= 55092 AND "title"."episode_of_id" <= 100968.36425073727 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, AVG("person_info"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" >= 1814801 AND "person_info"."info_type_id" != 16 AND "person_info"."id" <= 1414506 AND "aka_name"."person_id" IS NOT NULL; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 68585 AND "movie_keyword"."keyword_id" <= 85831 AND "movie_keyword"."id" <= 1072467 AND "movie_keyword"."movie_id" <= 1986294; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("company_type"."id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "title"."kind_id" <= 1999; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."info_type_id" <= 4 AND "movie_info_idx"."info_type_id" = 99 AND "title"."kind_id" >= 1 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT COUNT(*) as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" != '%K521%' AND "person_info"."info_type_id" <= 20 AND "person_info"."person_id" >= 69616; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("info_type"."info") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1948-1952%' AND "title"."imdb_index" <> '%X%' AND "title"."production_year" <= 2002.6133530621946 AND "info_type"."id" <= 1 AND "movie_info_idx"."info_type_id" <= 99; +SELECT SUM("person_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 29 AND "name"."surname_pcode" != '%V412%' AND "person_info"."person_id" >= 248800; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("name"."name") AS agg_5, MAX("person_info"."info_type_id") AS agg_6, MAX("aka_name"."name_pcode_nf") AS agg_7, MAX("person_info"."person_id") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 4469884 AND "person_info"."person_id" <= 20788461 AND "name"."id" <= 20659374; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("movie_info"."info") AS agg_7, MAX("movie_info"."id") AS agg_8, MAX("movie_info_idx"."note") AS agg_9, MAX("title"."imdb_index") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" <= 73618787 AND "movie_info_idx"."info_type_id" <= 113; +SELECT "title"."kind_id", SUM("movie_companies"."movie_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 16588.42866419594 AND "title"."episode_of_id" >= 897546.497438068 AND "movie_companies"."id" <= 465466 AND "movie_companies"."movie_id" <= 1875570 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."name") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 20834095; +SELECT MAX("name"."gender") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%m%' AND "person_info"."info_type_id" <= 15; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%languages%' AND "info_type"."id" <= 1; +SELECT "char_name"."imdb_index", AVG("char_name"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" <= 1258267.8828554982 AND "cast_info"."role_id" != 1 AND "cast_info"."movie_id" <= 1177646 AND "char_name"."id" <= 2015847 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("info_type"."info") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_info_idx"."info") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 29580 AND "movie_info_idx"."info_type_id" <= 99; +SELECT "movie_link"."movie_id", COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%features%' AND "title"."series_years" != '%1973-1982%' GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("keyword"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 135 AND "title"."episode_of_id" <= 8597; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("title"."title") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%LD sound encoding%' AND "info_type"."id" <= 1 AND "title"."episode_of_id" <= 2996; +SELECT SUM("name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" = 20 AND "name"."imdb_index" != '%CXVII%'; +SELECT COUNT(*) as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%where now%' AND "movie_info_idx"."movie_id" <= 2305808 AND "movie_info_idx"."id" <= 1226520; +SELECT "title"."series_years", SUM("movie_info"."id") as agg_0, AVG("title"."production_year") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info_idx"."movie_id" <= 2172351 AND "movie_info"."info_type_id" = 16 AND "movie_info"."movie_id" <= 1458814 AND "title"."season_nr" <= 1184.1481891732335 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" != 101 AND "info_type"."info" != '%release dates%' AND "title"."id" IS NOT NULL; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2591 AND "movie_keyword"."id" <= 57879; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2, MAX("info_type"."info") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2001 AND "info_type"."id" <= 113; +SELECT SUM("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 1929167 AND "person_info"."info_type_id" >= 24 AND "person_info"."person_id" <= 1940511; +SELECT COUNT(*) AS agg_0, SUM("keyword"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 44281; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_info"."id") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."id") AS agg_8, MAX("title"."title") AS agg_9, MAX("title"."episode_of_id") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" <= 73731955; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."role_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT AVG("title"."kind_id") AS agg_0, SUM("title"."season_nr") AS agg_1 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."id" <= 16059; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 27945.27086981397 AND "title"."kind_id" <= 4; +SELECT MAX("title"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("company_name"."id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("company_name"."md5sum") AS agg_8, MAX("movie_companies"."id") AS agg_9, MAX("title"."md5sum") AS agg_10, MAX("company_name"."imdb_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 27730 AND "title"."id" <= 35855; +SELECT COUNT(*) as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[kz]%' AND "company_name"."id" >= 174587; +SELECT "info_type"."info", SUM("movie_info_idx"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 1958947 AND "info_type"."id" >= 59 AND "info_type"."info" != '%LD supplement%' GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("movie_companies"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 80312 AND "company_name"."country_code" != '%[mx]%' AND "movie_companies"."company_id" >= 36499; +SELECT SUM("title"."season_nr") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."production_year" <= 2007.1725695751668; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" >= 1129 AND "movie_companies"."movie_id" <= 985454; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("cast_info"."role_id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."movie_id" <= 46135; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" >= 1 AND "title"."production_year" >= 2000.384779408296 AND "kind_type"."kind" != '%video game%'; +SELECT "title"."imdb_index", SUM("company_type"."id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2520993 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."series_years", AVG("movie_keyword"."keyword_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 305 AND "title"."episode_of_id" <= 6775 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("char_name"."name_pcode_nf") AS agg_1, MAX("char_name"."imdb_id") AS agg_2, MAX("char_name"."imdb_index") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 5.572958192619067 AND "cast_info"."id" <= 267072; +SELECT COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 641781 AND "aka_name"."person_id" >= 192968 AND "cast_info"."person_id" IS NOT NULL; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("keyword"."id") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."series_years" <> '%1977-1985%' AND "keyword"."id" <= 296 AND "movie_keyword"."movie_id" <= 35895; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."id") AS agg_7, MAX("company_type"."id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2007.6734196823393 AND "title"."episode_of_id" <= 8184 AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("kind_type"."kind") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("kind_type"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."series_years") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" <= 1887.8057069497647 AND "kind_type"."kind" <> '%episode%' AND "kind_type"."id" <= 1; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 534; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 133870; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."surname_pcode") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."gender") AS agg_9, MAX("aka_name"."surname_pcode") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" <> '%O63%' AND "aka_name"."person_id" <= 51821 AND "person_info"."info_type_id" <= 15; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("movie_companies"."company_type_id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 13036705; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_info"."id") AS agg_7, MAX("movie_info"."info") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("movie_info_idx"."id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" <= 6895523 AND "title"."episode_of_id" <= 2519019; +SELECT SUM("cast_info"."nr_order") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" >= 71308 AND "aka_name"."id" >= 660204; +SELECT MAX("name"."name") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT "info_type"."id", SUM("info_type"."id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 63 AND "movie_info_idx"."movie_id" >= 1533162 AND "movie_info_idx"."info_type_id" != 99 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("cast_info"."note") AS agg_0, MAX("char_name"."name_pcode_nf") AS agg_1, MAX("char_name"."id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("char_name"."name") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT MAX("char_name"."id") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("char_name"."imdb_index") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" <= 12539261; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("company_name"."name_pcode_nf") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."season_nr") AS agg_8, MAX("movie_companies"."company_id") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("title"."production_year") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 51217 AND "company_name"."id" <= 1873; +SELECT AVG("title"."episode_of_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%production companies%' AND "title"."id" <= 1351606 AND "movie_companies"."movie_id" <= 2438900; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 46022; +SELECT COUNT(*) as agg_0, AVG("kind_type"."id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" <= 1999.863434988636 AND "title"."imdb_index" != '%XII%'; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" >= 77 AND "movie_companies"."company_type_id" = 1 AND "company_name"."id" <= 2269; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."episode_nr" >= 17.321197964340932 AND "movie_companies"."id" <= 1627805 AND "movie_companies"."company_id" <= 13242; +SELECT AVG("movie_info_idx"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" <= 1293047 AND "info_type"."id" >= 12; +SELECT "title"."series_years", SUM("kind_type"."id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%tv movie%' AND "kind_type"."id" >= 2 AND "title"."episode_of_id" <= 1201340.8222230761 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("name"."name") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 3.4060558881334897 AND "movie_keyword"."movie_id" >= 1546334 AND "movie_keyword"."keyword_id" <= 2251 AND "keyword"."id" IS NOT NULL; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."md5sum") AS agg_8, MAX("title"."imdb_id") AS agg_9, MAX("company_name"."name_pcode_sf") AS agg_10, MAX("company_name"."name") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1168575 AND "movie_companies"."company_id" <= 1168781; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("company_name"."name") AS agg_6, MAX("movie_companies"."note") AS agg_7, MAX("title"."season_nr") AS agg_8, MAX("title"."imdb_id") AS agg_9, MAX("company_name"."name_pcode_nf") AS agg_10, MAX("title"."production_year") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2525801 AND "company_name"."id" <= 1171979 AND "movie_companies"."movie_id" <= 12561344; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%distributors%' AND "company_type"."id" >= 1 AND "movie_companies"."company_type_id" IS NOT NULL; +SELECT MAX("aka_name"."name") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("cast_info"."role_id") AS agg_9, MAX("name"."gender") AS agg_10, MAX("cast_info"."note") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%V521%' AND "cast_info"."nr_order" >= 1.1775511116115531 AND "cast_info"."person_role_id" <= 18683 AND "name"."id" <= 34308; +SELECT SUM("movie_info"."movie_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 43960 AND "movie_info"."id" >= 3516087 AND "title"."production_year" <= 2008.3877337450765; +SELECT SUM("name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" >= 421168 AND "name"."id" >= 3866450 AND "aka_name"."surname_pcode" != '%L15%'; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 1196177 AND "keyword"."id" >= 51215 AND "movie_keyword"."movie_id" <= 1945754 AND "movie_keyword"."keyword_id" >= 6037; +SELECT AVG("title"."kind_id") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 3 AND "movie_info_idx"."movie_id" >= 1822715; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_name"."id" <= 57123 AND "movie_companies"."company_id" <= 12011; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("info_type"."id") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("info_type"."info") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."title") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2527805 AND "info_type"."id" <= 113 AND "movie_info_idx"."info_type_id" <= 113; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" >= 85152 AND "company_type"."kind" != '%special effects companies%' AND "company_type"."id" <= 3 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT SUM("cast_info"."id") as agg_0, AVG("title"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 81851 AND "title"."kind_id" <= 7; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_id" <= 522996 AND "char_name"."id" <= 2304043 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "company_name"."country_code", AVG("movie_companies"."company_type_id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 4 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "person_info"."info_type_id", AVG("person_info"."id") as agg_0, SUM("name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" != '%CLIX%' AND "person_info"."info_type_id" >= 24 AND "person_info"."id" <= 2425973 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("company_name"."name") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("company_name"."imdb_id") AS agg_8, MAX("movie_companies"."company_type_id") AS agg_9, MAX("company_name"."name_pcode_nf") AS agg_10, MAX("title"."kind_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "company_name"."country_code" <> '%[tv]%' AND "title"."episode_nr" <= 5.2814025258761585 AND "title"."id" <= 29243 AND "company_name"."id" <= 3158; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("cast_info"."person_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.247977373419542 AND "cast_info"."person_id" <= 24210; +SELECT "char_name"."imdb_index", SUM("cast_info"."person_role_id") as agg_0, SUM("char_name"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" >= 98.85997297252786 AND "char_name"."imdb_index" != '%II%' GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT SUM("title"."episode_nr") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" >= 174162 AND "title"."kind_id" <= 7 AND "movie_info_idx"."info_type_id" = 100; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_type"."id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("company_type"."id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 1172998 AND "movie_companies"."company_id" <= 1163797 AND "company_type"."id" <= 4; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."episode_nr" <= 85018.1344426429 AND "title"."production_year" >= 2008.7360658220982; +SELECT "title"."imdb_index", COUNT(*) AS agg_0, AVG("keyword"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1985-1987%' AND "keyword"."id" <= 365 AND "title"."kind_id" <= 6 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 133990; +SELECT MAX("char_name"."surname_pcode") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("char_name"."imdb_id") AS agg_5, MAX("char_name"."name") AS agg_6, MAX("char_name"."imdb_index") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("aka_name"."imdb_index") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 20689438; +SELECT "info_type"."id", AVG("movie_info_idx"."movie_id") as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" = 100 AND "movie_info_idx"."movie_id" >= 653338 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT AVG("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XII%' AND "title"."id" <= 398458; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%tv movie%' AND "kind_type"."id" <= 1; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1172594 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[cy]%' AND "movie_companies"."id" <= 21559; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."episode_of_id" <= 2504323; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 15575756 AND "aka_name"."id" <= 4471396; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."movie_id" <= 12543155 AND "title"."episode_of_id" <= 2524410; +SELECT MAX("aka_name"."name") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 7051; +SELECT MAX("title"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."title") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("title"."id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_companies"."id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1985-1989%' AND "title"."episode_of_id" <= 7864; +SELECT "info_type"."id", SUM("movie_info_idx"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%LD master format%' AND "movie_info_idx"."info_type_id" = 99 AND "info_type"."id" >= 67 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 65728 AND "movie_keyword"."id" <= 1833455 AND "title"."season_nr" <= 7.938793503173379; +SELECT SUM("title"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 679785.8197457035 AND "char_name"."id" <= 775725 AND "title"."id" <= 2438919; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("name"."gender") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("aka_name"."person_id") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("name"."name") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20769608; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("kind_type"."kind") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_nr" >= 1.948487868755139 AND "title"."episode_of_id" <= 7106; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT "company_type"."id", SUM("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 913056 AND "company_type"."id" != 2 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) as agg_0, SUM("title"."episode_nr") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 2367752 AND "kind_type"."kind" != '%movie%'; +SELECT COUNT(*) AS agg_0, AVG("title"."season_nr") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7 AND "keyword"."id" <= 205; +SELECT "company_name"."country_code", COUNT(*) as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" >= 1 AND "company_name"."country_code" != '%[ie]%' AND "company_name"."id" <= 161839 AND "movie_companies"."movie_id" <= 2302315 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1977.8294866731349 AND "title"."id" <= 418674 AND "info_type"."id" IS NOT NULL; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."person_id") AS agg_6, MAX("name"."surname_pcode") AS agg_7, MAX("name"."imdb_id") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("person_info"."id") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39; +SELECT AVG("person_info"."id") as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" >= 1724600 AND "name"."surname_pcode" != '%N453%'; +SELECT MAX("title"."kind_id") AS agg_0, MAX("char_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("title"."title") AS agg_7, MAX("char_name"."md5sum") AS agg_8, MAX("title"."phonetic_code") AS agg_9, MAX("title"."imdb_index") AS agg_10, MAX("char_name"."imdb_index") AS agg_11, MAX("char_name"."name") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 21501 AND "title"."kind_id" <= 3; +SELECT MAX("title"."title") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1956-1974%' AND "title"."season_nr" >= 5.638822014505065 AND "title"."id" <= 34797; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("keyword"."keyword") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133874 AND "movie_keyword"."keyword_id" <= 133748; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 3.3143297718612095 AND "keyword"."id" <= 58225; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8, MAX("company_name"."imdb_id") AS agg_9, MAX("company_name"."name_pcode_nf") AS agg_10, MAX("title"."title") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[bm]%' AND "movie_companies"."movie_id" <= 14303 AND "title"."kind_id" <= 3; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%special effects companies%' AND "movie_companies"."id" <= 383420 AND "company_type"."id" <= 3 AND "movie_companies"."movie_id" <= 2017046 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."series_years", COUNT(*) as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 19.60272213285461 AND "movie_info_idx"."id" <= 1337747 AND "movie_info_idx"."movie_id" >= 2006949 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info_idx"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "movie_info_idx"."id" <= 10488; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 92 AND "movie_info_idx"."id" >= 602768 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "company_type"."id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 163347 AND "company_name"."country_code" != '%[bo]%' AND "movie_companies"."id" <= 2080564 AND "movie_companies"."movie_id" >= 2376088 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("person_info"."person_id") AS agg_6, MAX("name"."imdb_index") AS agg_7, MAX("name"."name") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("name"."id") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" <> '%Q265%' AND "person_info"."id" <= 47151 AND "name"."id" <= 70285; +SELECT "company_type"."id", COUNT(*) as agg_0, AVG("company_type"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "company_name"."country_code" != '%[fo]%' AND "company_name"."id" <= 182850 AND "company_type"."id" != 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_info"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("movie_info"."movie_id") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12611298; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 477336 AND "char_name"."imdb_index" != '%DM%' AND "cast_info"."role_id" = 1; +SELECT "company_type"."kind", SUM("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 15597 AND "company_name"."country_code" != '%[az]%' GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("cast_info"."id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" <= 11 AND "movie_link"."id" <= 23516 AND "movie_link"."link_type_id" != 8 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "info_type"."id", AVG("title"."id") AS agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 899.0291113902908 AND "info_type"."id" <= 1 AND "title"."episode_of_id" <= 7925 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%admissions%' AND "movie_info_idx"."id" <= 16972; +SELECT "title"."imdb_index", SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 122866 AND "movie_keyword"."id" <= 4425452 AND "movie_keyword"."movie_id" <= 2326680 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("name"."id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT AVG("person_info"."info_type_id") as agg_0, AVG("person_info"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" >= 25 AND "name"."gender" != '%m%' AND "person_info"."id" >= 1364009; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 23765 AND "movie_companies"."company_type_id" <= 1 AND "movie_companies"."id" <= 749425 AND "movie_companies"."company_id" <= 83587; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 194944 AND "movie_companies"."company_type_id" = 1 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <> 5 AND "aka_name"."person_id" <= 75648; +SELECT MAX("title"."series_years") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."title") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 48503 AND "title"."episode_of_id" <= 8277; +SELECT MAX("kind_type"."kind") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("kind_type"."id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."id") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "title"."season_nr" <= 1.0 AND "kind_type"."kind" <> '%episode%' AND "kind_type"."id" <= 1; +SELECT MAX("kind_type"."kind") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_of_id" <= 2524836 AND "kind_type"."id" <= 7; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("keyword"."id") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1995.631578556378 AND "movie_keyword"."id" <= 42865 AND "title"."episode_of_id" <= 5954; +SELECT "title"."kind_id", AVG("movie_companies"."company_type_id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 1938047 AND "title"."series_years" != '%1965-1996%' GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 133460 AND "title"."episode_of_id" <= 2524636; +SELECT "company_type"."id", SUM("movie_companies"."movie_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 94592 AND "movie_companies"."company_id" >= 49104 AND "company_name"."country_code" != '%[sl]%' AND "movie_companies"."company_type_id" <= 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."id") AS agg_0, SUM("title"."production_year") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6889008 AND "title"."episode_of_id" <= 2503798 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[no]%' AND "company_name"."id" <= 1465; +SELECT "title"."series_years", SUM("cast_info"."person_role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7 AND "cast_info"."movie_id" >= 575667 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."imdb_index", SUM("cast_info"."movie_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."imdb_index" != '%M%' AND "char_name"."id" >= 858302 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" >= 2 AND "movie_companies"."movie_id" >= 796287 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "movie_link"."movie_id", SUM("movie_link"."id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 7 AND "title"."production_year" <= 2010.688218183491 GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT MAX("char_name"."id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("char_name"."name") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" <= 15671245 AND "char_name"."id" <= 15668543; +SELECT "title"."imdb_index", COUNT(*) AS agg_0, SUM("movie_info_idx"."info_type_id") AS agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("aka_name"."name") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("cast_info"."note") AS agg_9, MAX("name"."imdb_id") AS agg_10, MAX("cast_info"."movie_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" <= 2.9837808992341817 AND "cast_info"."role_id" <= 5 AND "name"."imdb_index" <> '%XCII%' AND "aka_name"."id" <= 7913 AND "name"."id" <= 69424; +SELECT "title"."imdb_index", AVG("title"."season_nr") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 1786073 AND "title"."imdb_index" != '%1%' AND "keyword"."id" <= 57530 AND "movie_keyword"."keyword_id" <= 26530 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."id") as agg_0, AVG("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" >= 2012320 AND "company_name"."country_code" != '%[mt]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "char_name"."imdb_index", SUM("cast_info"."id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 822758 AND "title"."kind_id" = 7 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT COUNT(*) as agg_0, AVG("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" >= 10948 AND "movie_keyword"."movie_id" <= 2157000 AND "keyword"."id" <= 27431; +SELECT "company_type"."id", AVG("company_type"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[ca]%' AND "movie_companies"."company_type_id" != 1 AND "movie_companies"."movie_id" >= 790026 AND "company_name"."id" <= 133474 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) AS agg_0, SUM("movie_companies"."movie_id") AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1994 AND "movie_companies"."company_id" <= 1166730 AND "company_name"."id" <= 1165561; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 64468 AND "movie_keyword"."keyword_id" >= 1609; +SELECT AVG("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" = 2 AND "movie_companies"."movie_id" >= 2164094 AND "company_name"."country_code" != '%[fr]%' AND "company_name"."id" >= 155913; +SELECT SUM("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" != '%distributors%' AND "movie_companies"."id" >= 1748624 AND "company_type"."id" >= 1 AND "company_name"."id" IS NOT NULL; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("kind_type"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT "company_type"."kind", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 44197 AND "company_type"."id" <= 3 AND "company_type"."kind" != '%production companies%' GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."season_nr" >= 1.0 AND "movie_info_idx"."id" <= 157573 AND "title"."id" <= 1862076 AND "movie_info"."info_type_id" >= 16; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("info_type"."info") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 1 AND "movie_info_idx"."id" <= 11521; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 118754 AND "movie_keyword"."keyword_id" <= 336 AND "movie_keyword"."id" >= 1314874 AND "movie_keyword"."movie_id" >= 830785; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 109793 AND "movie_keyword"."keyword_id" <= 4700 AND "movie_keyword"."id" >= 587160 AND "movie_keyword"."movie_id" <= 2105789; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 1856701 AND "title"."kind_id" = 1 AND "movie_keyword"."movie_id" >= 1985904 AND "keyword"."id" <= 41540; +SELECT "name"."imdb_index", AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%CXXXIX%' AND "person_info"."person_id" >= 630594 AND "name"."id" >= 1485558 AND "person_info"."info_type_id" >= 17 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "char_name"."imdb_index", SUM("cast_info"."person_role_id") as agg_0, SUM("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%II%' AND "cast_info"."person_id" <= 3647749 AND "char_name"."id" >= 170076 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("kind_type"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("kind_type"."kind") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 116280 AND "movie_keyword"."id" >= 3322613; +SELECT MAX("person_info"."note") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."id") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39; +SELECT COUNT(*) as agg_0, AVG("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1962-1994%' AND "movie_keyword"."movie_id" <= 2369428 AND "title"."episode_nr" <= 80233.201569008; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("company_name"."name") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."series_years") AS agg_8, MAX("title"."production_year") AS agg_9, MAX("title"."id") AS agg_10, MAX("company_name"."imdb_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1174488; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12612139 AND "movie_companies"."company_id" <= 1166041; +SELECT "company_name"."country_code", SUM("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" >= 2086826 AND "movie_companies"."company_id" >= 990 AND "movie_companies"."id" <= 1798296 AND "company_name"."id" <= 163386 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."kind_id", COUNT(*) as agg_0, SUM("title"."episode_nr") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" != 7 AND "title"."id" <= 2326981 AND "title"."episode_of_id" <= 849035.3976238009 AND "title"."kind_id" <= 7 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%LD spaciality%' AND "info_type"."id" <= 1; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1970-1981%' AND "title"."season_nr" >= 1.0 AND "title"."kind_id" <= 8; +SELECT SUM("aka_name"."id") as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <= 1 AND "cast_info"."person_id" <= 2338715 AND "cast_info"."person_role_id" >= 5861.124041741483 AND "name"."id" IS NOT NULL; +SELECT "movie_info_idx"."info_type_id", SUM("movie_info_idx"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 67 AND "movie_info_idx"."info_type_id" >= 101 AND "info_type"."info" != '%LD audio noise%' GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" != '%2008-2008%' AND "title"."imdb_index" != '%XXI%' AND "movie_keyword"."keyword_id" >= 3087; +SELECT "title"."series_years", SUM("title"."production_year") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 2.134230342761658 AND "info_type"."info" != '%LD review%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 1949660 AND "title"."series_years" != '%1976-1986%' AND "title"."season_nr" <= 5.452098621785288 AND "cast_info"."id" >= 22880882; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."md5sum") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 4298; +SELECT SUM("title"."production_year") AS agg_0, SUM("movie_companies"."company_id") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1993; +SELECT AVG("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" >= 1062674 AND "movie_keyword"."keyword_id" <= 17022 AND "keyword"."id" <= 49515; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%LD group genre%' AND "movie_info_idx"."movie_id" <= 23204; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 218415 AND "movie_companies"."id" <= 1261668 AND "movie_companies"."company_id" >= 6549 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 95757 AND "movie_keyword"."movie_id" <= 1998041 AND "title"."production_year" >= 1984.7186310527075 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."series_years", AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 640 AND "title"."imdb_index" != '%VIII%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" = 33 AND "name"."gender" != '%m%'; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("info_type"."info") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 1 AND "title"."id" <= 36503; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."name_pcode_nf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."id" <= 358151; +SELECT AVG("movie_link"."linked_movie_id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 2275669 AND "title"."production_year" <= 2008.8513405313072 AND "link_type"."id" != 14; +SELECT "movie_companies"."company_type_id", AVG("company_type"."id") as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "company_name"."country_code" != '%[vn]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."episode_of_id") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("company_name"."name_pcode_nf") AS agg_10, MAX("movie_companies"."note") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."role_id" <= 2 AND "cast_info"."movie_id" <= 25195; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("company_type"."id") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT AVG("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" != '%R526%' AND "person_info"."info_type_id" = 17 AND "aka_name"."id" <= 32695 AND "person_info"."person_id" <= 2531916; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("name"."surname_pcode") AS agg_10, MAX("cast_info"."movie_id") AS agg_11 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."surname_pcode" <> '%S531%' AND "cast_info"."id" <= 339710 AND "name"."id" <= 22216; +SELECT SUM("cast_info"."nr_order") AS agg_0, AVG("cast_info"."person_id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" <= 20820096 AND "aka_name"."person_id" <= 20697907; +SELECT "title"."series_years", SUM("title"."production_year") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1959-1962%' AND "title"."episode_of_id" >= 303192.57448116597 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, AVG("title"."episode_nr") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 87020 AND "title"."kind_id" = 3 AND "movie_keyword"."id" <= 2123683 AND "movie_keyword"."movie_id" >= 1846789; +SELECT "name"."gender", COUNT(*) as agg_0, SUM("name"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."person_id" >= 881748 AND "cast_info"."id" <= 23246731 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."name") AS agg_5, MAX("company_name"."imdb_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 1 AND "movie_companies"."company_id" <= 4602; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 133448 AND "keyword"."id" <= 133814; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" >= 8602 AND "movie_companies"."movie_id" <= 1734974 AND "movie_companies"."company_type_id" != 1; +SELECT "person_info"."info_type_id", SUM("person_info"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" = 20 AND "name"."imdb_index" != '%LXXVI%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT COUNT(*) as agg_0, AVG("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 1690989 AND "keyword"."id" >= 70635; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" >= 2720044 AND "cast_info"."movie_id" >= 1106553 AND "title"."production_year" <= 2006.640050718861 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("keyword"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133631 AND "keyword"."id" <= 133315 AND "title"."episode_of_id" <= 2505375; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("aka_name"."person_id") AS agg_7, MAX("name"."name") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("person_info"."note") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT "name"."gender", SUM("aka_name"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."surname_pcode" != '%C365%' AND "person_info"."info_type_id" != 21 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "person_info"."info_type_id", SUM("person_info"."info_type_id") AS agg_0, SUM("name"."id") AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "company_type"."id" <= 1; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 10.779068874513372 AND "title"."kind_id" <= 5 AND "movie_keyword"."id" <= 49768; +SELECT SUM("title"."kind_id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1913.294671096274 AND "keyword"."id" >= 3451; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("movie_companies"."id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."company_type_id" <= 2 AND "company_name"."id" <= 1163555; +SELECT AVG("movie_info_idx"."id") as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 4 AND "movie_info_idx"."id" <= 1012675; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."gender") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 15; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("char_name"."name") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id"; +SELECT "company_type"."kind", COUNT(*) AS agg_0, SUM("movie_companies"."company_id") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 13038188 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."name") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("movie_info"."note") AS agg_7, MAX("title"."kind_id") AS agg_8, MAX("title"."series_years") AS agg_9, MAX("movie_info_idx"."info_type_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."season_nr" >= 1.0 AND "movie_info"."info_type_id" <= 1 AND "title"."id" <= 46119; +SELECT "link_type"."link", COUNT(*) as agg_0, SUM("movie_link"."movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2032379.6080162367 AND "movie_link"."link_type_id" >= 5 AND "title"."production_year" <= 2009.9471793598866 AND "movie_link"."linked_movie_id" <= 2004695 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT SUM("movie_info_idx"."id") as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" >= 100 AND "info_type"."info" != '%LD sound encoding%' AND "info_type"."id" >= 62 AND "movie_info_idx"."id" >= 197953; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 15.140857311539367 AND "movie_info_idx"."movie_id" <= 1753217; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT MAX("title"."id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 74103421; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."md5sum") AS agg_5, MAX("company_name"."name_pcode_sf") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_companies"."company_type_id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 4.180831058365833 AND "movie_companies"."id" <= 33191 AND "company_type"."id" <= 1; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133209; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 39562 AND "movie_keyword"."movie_id" <= 1460515; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT "name"."gender", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 3934919 AND "name"."id" <= 2778955 AND "cast_info"."role_id" = 1 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 894787.591205478 AND "title"."series_years" != '%1976-1978%' AND "movie_info"."id" <= 11548362 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."production_year" >= 2005.640688366001 AND "title"."kind_id" <= 5; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2000.2773966170787 AND "movie_keyword"."id" <= 2110854 AND "keyword"."id" >= 87833 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("keyword"."id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 342462 AND "keyword"."id" >= 36861 AND "movie_keyword"."movie_id" <= 2367053 AND "movie_keyword"."keyword_id" >= 11040; +SELECT SUM("title"."episode_of_id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2001.9275018541755 AND "title"."episode_of_id" <= 1467871.3786321534; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" <= 1 AND "company_name"."country_code" != '%[hr]%' AND "company_type"."id" IS NOT NULL; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 13024974 AND "company_type"."id" <= 4; +SELECT MAX("cast_info"."note") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."id" <= 537795; +SELECT COUNT(*) as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%production process protocol%' AND "info_type"."id" >= 25 AND "movie_info_idx"."movie_id" <= 2402793 AND "movie_info_idx"."id" >= 749129; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 69539 AND "title"."kind_id" <= 6; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("char_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12603840; +SELECT "link_type"."id", COUNT(*) as agg_0, AVG("title"."episode_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%spin off%' AND "title"."season_nr" <= 1.0 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 55687 AND "movie_keyword"."movie_id" <= 1421230; +SELECT AVG("movie_info"."movie_id") AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12591727; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("cast_info"."person_id") AS agg_8, MAX("title"."title") AS agg_9, MAX("char_name"."id") AS agg_10, MAX("char_name"."imdb_id") AS agg_11, MAX("title"."id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2504658 AND "cast_info"."person_id" <= 7628204; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%T135%' AND "cast_info"."person_id" <= 7741; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1961.473574125582 AND "title"."kind_id" <= 4; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%distributors%' AND "movie_companies"."id" <= 45581; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("movie_info"."id") AS agg_7, MAX("title"."phonetic_code") AS agg_8, MAX("movie_info"."info") AS agg_9, MAX("movie_info_idx"."info") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."id" <= 12540617; +SELECT SUM("title"."id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."series_years" != '%1979-1987%' AND "kind_type"."kind" != '%episode%'; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 13561 AND "movie_keyword"."id" >= 1646113; +SELECT SUM("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%distributors%' AND "movie_companies"."id" <= 791866 AND "company_type"."id" != 2; +SELECT "title"."imdb_index", AVG("title"."episode_nr") AS agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12598553 AND "title"."id" <= 12575421 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 49175; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_type"."kind") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1166239 AND "movie_companies"."id" <= 12950545; +SELECT SUM("info_type"."id") as agg_0, SUM("info_type"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%interviews%' AND "movie_info_idx"."info_type_id" <= 99 AND "movie_info_idx"."movie_id" >= 188471; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" != '%S264%' AND "person_info"."info_type_id" = 21 AND "person_info"."id" <= 2482943 AND "name"."imdb_index" != '%CXXXVI%'; +SELECT "title"."imdb_index", SUM("link_type"."id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" != 7 AND "movie_link"."movie_id" >= 79768 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0, SUM("aka_name"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" >= 1 AND "aka_name"."surname_pcode" != '%C25%' AND "char_name"."id" IS NOT NULL; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."nr_order" >= 7.064716606592969 AND "aka_name"."person_id" <= 43922; +SELECT "title"."imdb_index", SUM("movie_info"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 22996.578595994728 AND "movie_info"."info_type_id" >= 8 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "name"."imdb_index", AVG("name"."id") as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%B216%' AND "person_info"."info_type_id" >= 35 AND "name"."id" >= 3317753 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1 AND "keyword"."id" <= 90687; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" <= 2002; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 20732613 AND "name"."id" <= 20711864; +SELECT SUM("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[ni]%' AND "movie_companies"."movie_id" >= 2371214; +SELECT MAX("char_name"."md5sum") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("char_name"."name_pcode_nf") AS agg_2, MAX("char_name"."surname_pcode") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("char_name"."name") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 8.498805437712148 AND "cast_info"."role_id" >= 1 AND "cast_info"."person_role_id" <= 16760; +SELECT SUM("movie_info"."id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" != 17 AND "title"."kind_id" != 7; +SELECT "title"."series_years", SUM("title"."episode_of_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 1706610 AND "title"."season_nr" <= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("char_name"."name") AS agg_6, MAX("cast_info"."nr_order") AS agg_7, MAX("char_name"."id") AS agg_8, MAX("char_name"."surname_pcode") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 15613941 AND "aka_name"."person_id" <= 20803673 AND "cast_info"."person_role_id" <= 15546700; +SELECT "aka_name"."surname_pcode", SUM("cast_info"."nr_order") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 123206 AND "cast_info"."person_id" <= 955570 AND "cast_info"."id" <= 12180787 AND "cast_info"."nr_order" >= 3.5773247312407346 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 10.458795508503016 AND "cast_info"."person_role_id" >= 1684626.0839906516 AND "char_name"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%M%' AND "cast_info"."person_id" <= 2991096; +SELECT SUM("title"."id") as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info_idx"."id" >= 1092122; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 2139531 AND "name"."imdb_index" != '%CLXXII%' AND "person_info"."info_type_id" != 25; +SELECT AVG("cast_info"."nr_order") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" <= 5.8225325767126055 AND "char_name"."id" <= 3102467 AND "cast_info"."id" >= 13202148; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, AVG("char_name"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 2242529 AND "cast_info"."movie_id" <= 2033838 AND "char_name"."imdb_index" != '%D%' AND "cast_info"."person_id" <= 2769748 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT AVG("title"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2390233 AND "keyword"."id" <= 121675 AND "title"."production_year" >= 1900.306510730717 AND "title"."series_years" != '%1981-1981%'; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" != 3 AND "kind_type"."id" >= 1; +SELECT AVG("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2392276 AND "title"."season_nr" >= 1.0 AND "movie_keyword"."keyword_id" <= 844; +SELECT SUM("movie_keyword"."movie_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12599569; +SELECT AVG("company_type"."id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 44138 AND "company_type"."kind" != '%production companies%' AND "movie_companies"."company_id" <= 43014 AND "company_type"."id" = 2; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 11116 AND "keyword"."id" <= 90601; +SELECT AVG("company_name"."id") AS agg_0, SUM("company_name"."id") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1168719 AND "title"."episode_of_id" <= 2503209 AND "movie_companies"."id" <= 12946471; +SELECT "cast_info"."role_id", AVG("cast_info"."id") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" >= 867349 AND "aka_name"."person_id" >= 721932 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 256; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."gender") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("name"."id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("person_info"."info_type_id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("person_info"."info") AS agg_9, MAX("name"."name") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 16375 AND "name"."id" <= 26663; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("char_name"."surname_pcode") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("char_name"."id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."nr_order" >= 15.841328292665246 AND "char_name"."id" <= 46225; +SELECT AVG("person_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 1115038 AND "person_info"."info_type_id" != 22 AND "name"."id" IS NOT NULL; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT AVG("movie_keyword"."id") as agg_0, SUM("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 15021 AND "keyword"."id" <= 97002 AND "movie_keyword"."id" <= 4049170 AND "movie_keyword"."movie_id" <= 1834203; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_type"."kind") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 3898 AND "movie_companies"."movie_id" <= 17409; +SELECT "info_type"."info", SUM("info_type"."id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 35 AND "movie_info_idx"."id" >= 583375 AND "movie_info_idx"."info_type_id" <= 99 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "title"."kind_id", SUM("title"."id") as agg_0, AVG("title"."season_nr") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" != '%distributors%' AND "title"."imdb_index" != '%XV%' AND "movie_companies"."company_type_id" >= 2 AND "company_type"."id" = 2 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 48344; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, AVG("title"."kind_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 35019 AND "movie_keyword"."keyword_id" >= 1572; +SELECT COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1171076 AND "movie_companies"."id" <= 12946723; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2005.6880819220682 AND "movie_info_idx"."movie_id" >= 1903254 AND "movie_info_idx"."id" <= 868153; +SELECT "title"."series_years", COUNT(*) AS agg_0, AVG("title"."kind_id") AS agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" <= 2003 AND "kind_type"."id" <= 7 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."name") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20726021; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."person_id" >= 4119113 AND "person_info"."id" >= 2623285 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 98204 AND "movie_keyword"."movie_id" >= 2055046; +SELECT "cast_info"."role_id", AVG("aka_name"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."id" <= 8332264 AND "cast_info"."nr_order" >= 3.5731516088156194 AND "cast_info"."movie_id" <= 2313314 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("info_type"."id") AS agg_0, AVG("title"."kind_id") AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 32930 AND "title"."episode_of_id" <= 9523; +SELECT "company_type"."kind", SUM("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 3 AND "movie_companies"."movie_id" <= 2192382 AND "movie_companies"."company_type_id" >= 2 AND "company_type"."kind" != '%miscellaneous companies%' GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" >= 1780757 AND "movie_info"."info_type_id" <= 15 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 17.012099344790347 AND "movie_keyword"."keyword_id" <= 19122 AND "title"."episode_of_id" <= 1620323.2523678525 AND "keyword"."id" >= 6454 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."country_code") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1174460 AND "movie_companies"."id" <= 12951016; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info_idx"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2009; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id"; +SELECT MAX("keyword"."id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 134141 AND "keyword"."id" <= 132961; +SELECT MAX("char_name"."md5sum") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("char_name"."surname_pcode") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("title"."imdb_id") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("title"."title") AS agg_10, MAX("title"."episode_of_id") AS agg_11, MAX("char_name"."imdb_id") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2002 AND "char_name"."id" <= 15630637; +SELECT MAX("kind_type"."id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."phonetic_code") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."id" <= 7 AND "title"."kind_id" <= 1995; +SELECT SUM("info_type"."id") as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" <= 2456788 AND "movie_info_idx"."info_type_id" = 99; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."gender") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("person_info"."info") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 35846; +SELECT COUNT(*) as agg_0, AVG("char_name"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" >= 70782.52792713002 AND "cast_info"."nr_order" >= 6.607645300788552; +SELECT "company_type"."id", SUM("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" != 2 AND "company_type"."id" != 3 AND "movie_companies"."id" <= 2117103 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT AVG("title"."episode_nr") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 3.8902426566006856 AND "title"."episode_of_id" <= 215985.8312591618 AND "movie_keyword"."movie_id" <= 2398196 AND "movie_keyword"."id" <= 1979062; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XVIII%' AND "movie_info"."movie_id" <= 17123; +SELECT SUM("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" != 2 AND "movie_companies"."movie_id" <= 1973147; +SELECT "movie_info_idx"."info_type_id", AVG("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 1941189 AND "movie_info_idx"."id" <= 761759 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "title"."kind_id", AVG("title"."season_nr") as agg_0, SUM("title"."kind_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2011.803919579771 AND "movie_info_idx"."movie_id" >= 1366481 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0, SUM("title"."id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" != 14 AND "movie_info"."movie_id" <= 1534452 AND "movie_info"."id" <= 13142437; +SELECT MAX("char_name"."imdb_id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."id" <= 564043; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[az]%' AND "movie_companies"."movie_id" <= 13835; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."note") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%gross%' AND "movie_info_idx"."id" <= 11338; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 3281; +SELECT AVG("movie_link"."movie_id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" >= 4 AND "link_type"."link" != '%edited from%'; +SELECT "movie_link"."movie_id", SUM("title"."season_nr") as agg_0, SUM("movie_link"."movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" != 1 AND "title"."id" <= 1524294 GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT SUM("aka_name"."id") as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" = 22 AND "person_info"."id" <= 377472 AND "aka_name"."surname_pcode" != '%M523%' AND "name"."id" <= 2519887; +SELECT "aka_name"."surname_pcode", SUM("cast_info"."movie_id") AS agg_0, COUNT(*) AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."id" <= 179785235 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 168641 AND "company_name"."country_code" != '%[tl]%'; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 8722 AND "movie_keyword"."id" <= 25054; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "company_type"."id" <= 1; +SELECT AVG("company_type"."id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%special effects companies%' AND "movie_companies"."company_id" <= 467 AND "company_type"."id" >= 1; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 511; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 29554; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2111077 AND "keyword"."id" <= 84640 AND "movie_keyword"."keyword_id" >= 1524 AND "movie_keyword"."id" <= 4118351; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 40.18984379078485 AND "title"."production_year" <= 1979.0565642098145 AND "title"."episode_of_id" <= 7346; +SELECT "name"."surname_pcode", SUM("person_info"."person_id") as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 2020795 AND "person_info"."person_id" >= 1146240 AND "name"."id" >= 675222 AND "name"."gender" != '%f%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 35118 AND "movie_keyword"."id" <= 72202; +SELECT "title"."imdb_index", SUM("title"."production_year") as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."id" >= 241020 AND "cast_info"."nr_order" >= 6.869906965572449 AND "title"."production_year" <= 2000.823567589338 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 1861990 AND "info_type"."info" != '%LD audio quality%'; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%DM%' AND "char_name"."id" <= 1934676 AND "cast_info"."person_role_id" IS NOT NULL; +SELECT "info_type"."id", AVG("movie_info_idx"."id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 336599 AND "info_type"."id" >= 62 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."imdb_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 4308; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 133826; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[bz]%' AND "movie_companies"."company_id" >= 193 AND "company_name"."id" <= 2591 AND "movie_companies"."id" <= 1340071 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 301; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."title") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1885.5158119092087 AND "info_type"."id" <= 1 AND "title"."kind_id" <= 7; +SELECT MAX("char_name"."surname_pcode") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("cast_info"."person_id") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("char_name"."md5sum") AS agg_8, MAX("char_name"."name_pcode_nf") AS agg_9, MAX("aka_name"."name") AS agg_10 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 4.800990567088565 AND "title"."episode_nr" <= 43.754216418784736 AND "company_type"."id" <= 1 AND "movie_companies"."company_id" <= 1293; +SELECT COUNT(*) AS agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 7653401; +SELECT AVG("char_name"."id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "aka_name"."person_id" <= 109281 AND "cast_info"."person_id" <= 2046053; +SELECT AVG("company_name"."id") as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[zm]%' AND "movie_companies"."id" <= 385583; +SELECT AVG("info_type"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 100 AND "movie_info_idx"."movie_id" >= 1337398; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("company_name"."imdb_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."episode_nr") AS agg_8, MAX("movie_companies"."company_id") AS agg_9, MAX("title"."phonetic_code") AS agg_10, MAX("title"."id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 3.192963808273225 AND "movie_companies"."company_id" <= 4629 AND "title"."episode_of_id" <= 5963; +SELECT "aka_name"."surname_pcode", AVG("person_info"."person_id") as agg_0, SUM("person_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 2978810 AND "name"."id" >= 1874481 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT "title"."imdb_index", SUM("movie_info_idx"."info_type_id") AS agg_0, COUNT(*) AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0, AVG("info_type"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 440006 AND "movie_info_idx"."info_type_id" != 100; +SELECT SUM("movie_companies"."company_type_id") as agg_0, AVG("company_type"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" >= 121883 AND "company_type"."id" != 1; +SELECT "movie_companies"."company_type_id", SUM("company_name"."id") as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 99393 AND "movie_companies"."id" <= 2436718 AND "movie_companies"."company_type_id" >= 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 50033; +SELECT "title"."kind_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 1 AND "movie_info_idx"."id" >= 796365 AND "movie_info_idx"."movie_id" >= 2309774 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 27160; +SELECT MAX("movie_info"."id") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."kind_id" <= 1993; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("cast_info"."movie_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12604483 AND "cast_info"."person_role_id" <= 15672039; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[sk]%' AND "company_name"."id" <= 85885 AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."movie_id" >= 2336884 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("movie_companies"."company_id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 99699 AND "movie_keyword"."movie_id" <= 1880467 AND "movie_keyword"."id" <= 3559598; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 21670 AND "movie_keyword"."movie_id" <= 1889509 AND "movie_keyword"."keyword_id" <= 8782; +SELECT "cast_info"."role_id", AVG("char_name"."id") as agg_0, SUM("cast_info"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."role_id" != 2 AND "cast_info"."person_id" <= 1572683 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" >= 2510525 AND "cast_info"."role_id" >= 1 AND "title"."id" IS NOT NULL; +SELECT MAX("title"."title") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."md5sum") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."id") AS agg_8, MAX("title"."episode_of_id") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("title"."imdb_id") AS agg_11, MAX("cast_info"."id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id"; +SELECT SUM("aka_name"."id") AS agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20837346; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133282 AND "movie_keyword"."keyword_id" <= 133608; +SELECT "title"."series_years", AVG("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_name"."country_code" != '%[gn]%' AND "movie_companies"."movie_id" <= 1925982 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("name"."name") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("aka_name"."md5sum") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT SUM("cast_info"."person_role_id") as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 1514485 AND "cast_info"."person_role_id" <= 78872.99168025736 AND "cast_info"."id" <= 33714128 AND "aka_name"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 2708647 AND "movie_keyword"."keyword_id" <= 37215 AND "movie_keyword"."movie_id" <= 1952524; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 40798; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info_idx"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12564457 AND "title"."kind_id" <= 2009; +SELECT "person_info"."info_type_id", SUM("person_info"."info_type_id") as agg_0, SUM("aka_name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 732844 AND "person_info"."info_type_id" <= 25 AND "name"."id" <= 159025 AND "person_info"."person_id" <= 995263 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT AVG("cast_info"."nr_order") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 4.589837534188367 AND "title"."production_year" >= 1993.9214933888243 AND "cast_info"."id" <= 13704277 AND "cast_info"."movie_id" >= 559113; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" != 14 AND "title"."imdb_index" != '%XVIII%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" >= 2010.60476870726 AND "kind_type"."id" <= 1; +SELECT "title"."imdb_index", AVG("info_type"."id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 143.4458884531499 AND "movie_info_idx"."movie_id" <= 2008730 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "cast_info"."role_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 104260 AND "cast_info"."id" >= 8179454 AND "cast_info"."nr_order" <= 7.741158743219219 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.2056283313645866 AND "keyword"."id" <= 438 AND "movie_keyword"."keyword_id" <= 415; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."id" >= 2294433; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 6545 AND "movie_keyword"."movie_id" >= 1251608 AND "keyword"."id" >= 47713 AND "title"."id" IS NOT NULL; +SELECT MAX("cast_info"."note") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12588821 AND "cast_info"."person_role_id" <= 15682597; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 75053 AND "movie_keyword"."movie_id" <= 1816468 AND "title"."id" IS NOT NULL; +SELECT "title"."kind_id", SUM("cast_info"."nr_order") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."episode_of_id" >= 520031.7437334402 AND "cast_info"."nr_order" <= 15.455169236620495 AND "cast_info"."id" <= 23433970 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 92 AND "movie_companies"."company_type_id" >= 2 AND "company_name"."country_code" != '%[nz]%' AND "movie_companies"."id" <= 1700744 AND "title"."id" IS NOT NULL; +SELECT "company_type"."id", AVG("movie_companies"."company_type_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1167418 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("title"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("movie_companies"."company_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."production_year" >= 2002.3821948098116 AND "title"."kind_id" <= 4; +SELECT "movie_info_idx"."info_type_id", AVG("info_type"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%LD analog left%' AND "movie_info_idx"."id" <= 1270266 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 66833; +SELECT MAX("person_info"."info") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("aka_name"."surname_pcode") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("aka_name"."name") AS agg_7, MAX("name"."id") AS agg_8, MAX("person_info"."id") AS agg_9, MAX("name"."imdb_index") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20743711 AND "name"."id" <= 20688862 AND "person_info"."person_id" <= 20831722; +SELECT "aka_name"."surname_pcode", AVG("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 807192 AND "person_info"."info_type_id" <= 25 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT COUNT(*) as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 106 AND "info_type"."info" != '%color info%' AND "movie_info_idx"."movie_id" <= 1987998; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") as agg_0, SUM("title"."kind_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 3381565 AND "char_name"."id" <= 508902 AND "char_name"."imdb_index" != '%I%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("company_type"."id") as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 AND "movie_companies"."id" <= 669380; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 35389; +SELECT MAX("title"."series_years") AS agg_0, MAX("kind_type"."kind") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."id") AS agg_4, MAX("kind_type"."id") AS agg_5, MAX("title"."production_year") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" <= 1994 AND "kind_type"."id" <= 7; +SELECT "info_type"."id", AVG("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 74 AND "movie_info_idx"."id" <= 1190056 AND "title"."imdb_index" != '%XXIII%' GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT SUM("title"."season_nr") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2001.7777440602622 AND "title"."episode_nr" <= 10.555905542529583 AND "title"."season_nr" <= 1.0 AND "title"."episode_of_id" <= 5335 AND "company_type"."id" <= 1; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2524885 AND "movie_keyword"."id" <= 1447002; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."episode_of_id") AS agg_8, MAX("cast_info"."person_role_id") AS agg_9, MAX("char_name"."md5sum") AS agg_10, MAX("cast_info"."nr_order") AS agg_11, MAX("title"."md5sum") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XXIV%' AND "title"."production_year" <= 2010.2707984324848 AND "char_name"."id" <= 58091 AND "cast_info"."person_role_id" <= 16433; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 2158575 AND "keyword"."id" >= 115445; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("title"."id") AS agg_6, MAX("char_name"."imdb_index") AS agg_7, MAX("cast_info"."person_role_id") AS agg_8, MAX("char_name"."surname_pcode") AS agg_9, MAX("char_name"."id") AS agg_10, MAX("cast_info"."id") AS agg_11, MAX("title"."imdb_id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 8 AND "char_name"."id" <= 33829; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 2048511 AND "keyword"."id" >= 18625; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%F261%' AND "cast_info"."nr_order" <= 20.619615091741352 AND "cast_info"."movie_id" <= 13765; +SELECT "char_name"."imdb_index", SUM("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%D%' AND "char_name"."id" >= 2789084 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 13039781 AND "company_name"."id" <= 1169040; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 2.525211529851034 AND "movie_info"."id" <= 229285; +SELECT SUM("movie_keyword"."id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" >= 524 AND "movie_keyword"."movie_id" <= 2275987 AND "keyword"."id" >= 26785; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 291; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 64756 AND "company_name"."country_code" != '%[va]%' AND "company_name"."id" >= 7665 AND "movie_companies"."id" <= 1203630 AND "title"."id" IS NOT NULL; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("kind_type"."id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."kind" <> '%tv series%' AND "title"."production_year" >= 1910.9097741740527 AND "kind_type"."id" <= 1; +SELECT "movie_info"."info_type_id", SUM("title"."episode_of_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."movie_id" >= 1884939 AND "movie_info"."id" >= 8289360 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT "title"."imdb_index", AVG("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 7.011181258168924 AND "title"."kind_id" != 1 AND "movie_info_idx"."id" <= 156425 AND "title"."production_year" <= 1999.4978758507957 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) AS agg_0, AVG("title"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22508398; +SELECT "movie_link"."link_type_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 2268341 AND "title"."series_years" != '%2000-2005%' AND "movie_link"."link_type_id" >= 3 GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 2208 AND "movie_companies"."id" <= 21148; +SELECT "movie_info_idx"."info_type_id", AVG("info_type"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" != 99 AND "info_type"."id" >= 40 AND "movie_info_idx"."id" >= 461486 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT SUM("cast_info"."nr_order") as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" != '%m%' AND "aka_name"."surname_pcode" != '%B341%' AND "cast_info"."role_id" <= 1; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 47503 AND "movie_keyword"."keyword_id" <= 13912 AND "movie_keyword"."movie_id" >= 2064812 AND "movie_keyword"."id" <= 1749685; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."name") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%LXXXVII%' AND "name"."id" <= 23596; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."id") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20647800; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 50108 AND "movie_keyword"."keyword_id" <= 2444 AND "movie_keyword"."id" <= 4512688; +SELECT SUM("cast_info"."nr_order") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%DM%' AND "char_name"."id" >= 604765 AND "cast_info"."id" <= 30624044; +SELECT AVG("char_name"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" >= 413553 AND "char_name"."imdb_index" != '%D%' AND "title"."id" >= 801467 AND "cast_info"."role_id" <= 7; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%CLVIII%' AND "name"."id" <= 74444; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."id") AS agg_7, MAX("info_type"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%article%' AND "title"."episode_nr" <= 9.081848435529613 AND "movie_info_idx"."info_type_id" <= 99 AND "title"."episode_of_id" <= 7304; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1163326; +SELECT "aka_name"."imdb_index", SUM("aka_name"."id") AS agg_0, SUM("aka_name"."person_id") AS agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 15600256 AND "aka_name"."id" <= 4491679 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "title"."series_years", COUNT(*) as agg_0, AVG("title"."season_nr") as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."production_year" >= 1959.7970818402234 AND "title"."kind_id" = 7 AND "cast_info"."person_id" <= 2160043 AND "cast_info"."nr_order" >= 340469781.7863065 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "char_name"."imdb_index", AVG("cast_info"."role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 19.813488409770482 AND "title"."kind_id" = 7 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "company_name"."country_code", AVG("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 15905 AND "movie_companies"."company_type_id" = 1 AND "movie_companies"."company_id" <= 209535 AND "company_type"."id" != 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("char_name"."md5sum") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("char_name"."imdb_id") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 12946208; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 339773 AND "cast_info"."role_id" <= 9 AND "cast_info"."person_id" >= 1753910 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT SUM("title"."season_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" != 15 AND "movie_info"."id" >= 10540191; +SELECT AVG("title"."id") AS agg_0, COUNT(*) AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 24.390707733023525 AND "movie_info"."movie_id" <= 39599; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_info"."info") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2521831; +SELECT "movie_info_idx"."info_type_id", AVG("title"."id") as agg_0, SUM("title"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 7 AND "info_type"."id" >= 51 AND "movie_info_idx"."movie_id" <= 984811 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("info_type"."id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2511021; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info"."note") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 227329; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5, MAX("company_name"."md5sum") AS agg_6, MAX("company_name"."country_code") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("title"."imdb_id") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("movie_companies"."company_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1167456 AND "title"."id" <= 12622390; +SELECT "char_name"."imdb_index", AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 2940777 AND "title"."season_nr" >= 7.1253680833115824 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" <= 914.4830558224489 AND "char_name"."id" <= 1195989 AND "title"."episode_of_id" >= 23057.4599918842 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("name"."id") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("name"."imdb_index") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 5 AND "info_type"."id" <= 1; +SELECT AVG("cast_info"."nr_order") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."movie_id" <= 799525 AND "aka_name"."person_id" <= 1892386 AND "name"."id" IS NOT NULL; +SELECT "title"."imdb_index", SUM("movie_keyword"."movie_id") as agg_0, AVG("title"."kind_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 1311 AND "movie_keyword"."movie_id" <= 1037952 AND "title"."kind_id" != 1 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "movie_info"."info_type_id", COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 1505822 AND "title"."episode_of_id" >= 907887.7205398468 AND "title"."kind_id" >= 7 AND "title"."episode_nr" >= 4.194700278549922 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT SUM("title"."production_year") AS agg_0, SUM("movie_keyword"."keyword_id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT AVG("movie_companies"."company_type_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "title"."kind_id" <= 2000 AND "company_name"."id" <= 1167259; +SELECT "company_type"."kind", AVG("movie_companies"."movie_id") as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%special effects companies%' AND "movie_companies"."company_type_id" != 2 AND "company_type"."id" <= 3 AND "movie_companies"."company_id" >= 228 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" >= 2 AND "company_type"."id" != 3; +SELECT "company_type"."id", AVG("movie_companies"."movie_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%production companies%' AND "movie_companies"."id" <= 772498 AND "movie_companies"."company_id" <= 10958 AND "company_type"."id" <= 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 142 AND "title"."kind_id" <= 5; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."id" <= 7584823 AND "char_name"."id" <= 2950148 AND "cast_info"."nr_order" >= 5.3260925769390175 AND "cast_info"."role_id" = 1 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("name"."surname_pcode") AS agg_9, MAX("person_info"."info") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" <> '%f%' AND "aka_name"."person_id" <= 63343 AND "name"."id" <= 55480; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("movie_keyword"."keyword_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 134117; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" = 2 AND "company_name"."id" >= 125637 AND "company_name"."country_code" != '%[ki]%'; +SELECT MAX("keyword"."id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12631583; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 1200377 AND "movie_companies"."movie_id" >= 1738745; +SELECT "title"."imdb_index", AVG("title"."kind_id") AS agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 12582691 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", COUNT(*) as agg_0, AVG("title"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 1973211 AND "movie_keyword"."id" >= 1559412 AND "title"."production_year" >= 1995.5749545967583 AND "movie_keyword"."keyword_id" <= 2985 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 46013; +SELECT "person_info"."info_type_id", COUNT(*) AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%m%' AND "name"."surname_pcode" <> '%D521%' AND "name"."id" <= 80223 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") as agg_0, SUM("company_name"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" >= 5182 AND "movie_companies"."id" <= 784961 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2014.212774941242 AND "movie_info"."movie_id" <= 16517; +SELECT SUM("title"."episode_of_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" != 7 AND "title"."production_year" >= 1991.8295897680134; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("movie_companies"."note") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[th]%' AND "movie_companies"."id" <= 51132; +SELECT "info_type"."info", COUNT(*) AS agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113 AND "movie_info_idx"."id" <= 6872827 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 132991 AND "movie_keyword"."keyword_id" <= 133221; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 377128 AND "info_type"."info" != '%LD video artifacts%'; +SELECT MAX("name"."id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 51993; +SELECT "company_type"."id", SUM("movie_companies"."id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" = 2 AND "movie_companies"."company_type_id" <= 2 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT SUM("title"."kind_id") as agg_0, AVG("cast_info"."nr_order") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 582919.3186390962 AND "title"."production_year" >= 2009.9540828156348 AND "cast_info"."nr_order" <= 2.1692402743329873 AND "cast_info"."id" >= 8809558; +SELECT "title"."kind_id", SUM("keyword"."id") AS agg_0, AVG("keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133307 AND "title"."id" <= 12622473 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20671185 AND "name"."id" <= 20651564; +SELECT "title"."kind_id", AVG("movie_info"."movie_id") as agg_0, SUM("movie_info"."info_type_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 1 AND "title"."imdb_index" != '%II%' GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "info_type"."info", SUM("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 76 AND "movie_info_idx"."id" <= 813320 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("movie_info"."info_type_id") as agg_0, AVG("title"."production_year") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 4675335 AND "title"."kind_id" >= 1; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("name"."gender") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."name") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%m%' AND "name"."surname_pcode" <> '%K653%' AND "name"."id" <= 80229; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 23.90666525455871 AND "movie_info"."info_type_id" <= 1; +SELECT "title"."series_years", SUM("title"."episode_of_id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133508 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "link_type"."link", AVG("title"."episode_of_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" >= 10 AND "link_type"."link" != '%features%' GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT "title"."series_years", AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."series_years" != '%1965-1990%' AND "title"."episode_nr" <= 30.826818985830045 AND "title"."production_year" <= 2008.4227082184466 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "movie_info_idx"."info_type_id", SUM("info_type"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 458919 AND "movie_info_idx"."movie_id" <= 1568335 AND "info_type"."id" >= 38 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0, AVG("info_type"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 79 AND "movie_info_idx"."id" <= 1117737 AND "info_type"."info" != '%LD supplement%' AND "movie_info_idx"."info_type_id" >= 101 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT AVG("title"."production_year") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7 AND "movie_companies"."id" >= 2136259; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT "movie_link"."link_type_id", AVG("title"."episode_of_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 843185 AND "movie_link"."id" <= 29282 AND "link_type"."id" != 15 AND "title"."series_years" != '%1950-1960%' GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT AVG("title"."production_year") AS agg_0, AVG("title"."production_year") AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 121130; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XXIV%' AND "cast_info"."person_id" <= 1250317 AND "cast_info"."nr_order" >= 12.086271261473065 AND "title"."production_year" <= 2008.7995946915448; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("info_type"."id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "company_name"."country_code", COUNT(*) as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 258526 AND "company_name"."country_code" != '%[so]%' AND "movie_companies"."company_type_id" >= 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("movie_companies"."company_type_id") as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 1928957 AND "company_type"."id" <= 2; +SELECT SUM("cast_info"."person_role_id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 2447533 AND "char_name"."imdb_index" != '%D%'; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."id") AS agg_3, MAX("kind_type"."id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7 AND "title"."kind_id" <= 1994; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("name"."name") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" <> '%CXXXVII%' AND "person_info"."id" <= 35047 AND "aka_name"."person_id" <= 27107; +SELECT "company_type"."id", AVG("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" >= 1884033 AND "company_type"."id" = 1 AND "company_type"."kind" != '%miscellaneous companies%' GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) AS agg_0, SUM("movie_keyword"."movie_id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 22452240 AND "keyword"."id" <= 133350; +SELECT COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."id" <= 2118244 AND "title"."episode_of_id" >= 140852.26822865338 AND "title"."series_years" != '%1963-1977%'; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 2873 AND "keyword"."id" >= 128255; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."gender") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("person_info"."person_id") AS agg_6, MAX("aka_name"."md5sum") AS agg_7, MAX("name"."imdb_id") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("name"."surname_pcode") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 38939; +SELECT "title"."kind_id", SUM("title"."id") as agg_0, SUM("title"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7 AND "movie_info_idx"."movie_id" >= 1189284 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 2510567 AND "movie_info_idx"."movie_id" <= 12553071; +SELECT COUNT(*) AS agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 4470764; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.868717366292332 AND "cast_info"."nr_order" <= 5.515533806442582; +SELECT "company_type"."id", SUM("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 2 AND "company_type"."kind" != '%distributors%' GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) AS agg_0, AVG("movie_info_idx"."id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 6892120 AND "info_type"."id" <= 113; +SELECT "movie_companies"."company_type_id", SUM("title"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 1208710.1731194411 AND "company_type"."id" = 1 AND "company_type"."kind" != '%distributors%' AND "title"."id" >= 192144 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("name"."gender") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("cast_info"."person_id") AS agg_10, MAX("aka_name"."id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 55572 AND "movie_keyword"."keyword_id" <= 23979 AND "movie_keyword"."id" >= 1306220 AND "movie_keyword"."movie_id" >= 1797352; +SELECT "name"."surname_pcode", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 318140 AND "person_info"."info_type_id" >= 21 AND "name"."surname_pcode" != '%U125%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 1 AND "movie_companies"."id" <= 759165; +SELECT "company_type"."kind", SUM("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 2498533 AND "movie_companies"."company_id" <= 189235 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 1653 AND "movie_keyword"."id" <= 628571 AND "keyword"."id" <= 73316; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("char_name"."md5sum") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."imdb_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("cast_info"."person_role_id") AS agg_8, MAX("cast_info"."note") AS agg_9, MAX("cast_info"."movie_id") AS agg_10, MAX("char_name"."imdb_index") AS agg_11, MAX("cast_info"."nr_order") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 4.402283862296242 AND "title"."season_nr" >= 1.0 AND "title"."id" <= 47784 AND "cast_info"."id" <= 601011; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("aka_name"."person_id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id"; +SELECT MAX("char_name"."imdb_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("char_name"."id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."title") AS agg_8, MAX("cast_info"."person_id") AS agg_9, MAX("title"."id") AS agg_10, MAX("char_name"."surname_pcode") AS agg_11, MAX("cast_info"."note") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 12552731; +SELECT "title"."imdb_index", AVG("movie_info"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 1 AND "movie_info"."movie_id" <= 2224004 AND "title"."imdb_index" != '%III%' AND "title"."id" >= 1225671 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" >= 1 AND "movie_companies"."id" >= 1382741 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" >= 314242 AND "name"."gender" != '%m%' AND "person_info"."person_id" <= 320758; +SELECT SUM("keyword"."id") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 92994 AND "movie_keyword"."movie_id" <= 2247340 AND "movie_keyword"."keyword_id" >= 15243 AND "movie_keyword"."id" >= 417731; +SELECT SUM("title"."season_nr") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 970200 AND "keyword"."id" >= 46361 AND "movie_keyword"."keyword_id" >= 2951; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 34558 AND "movie_keyword"."keyword_id" >= 228; +SELECT AVG("aka_name"."id") as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 439420.4520973037 AND "cast_info"."person_id" >= 1531228; +SELECT "char_name"."imdb_index", AVG("char_name"."id") AS agg_0, SUM("cast_info"."person_role_id") AS agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 22.25788329361431 AND "char_name"."id" <= 27471 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "movie_info_idx"."id" <= 6862978 AND "title"."kind_id" <= 2004; +SELECT AVG("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1687669 AND "keyword"."id" <= 115974 AND "movie_keyword"."keyword_id" <= 1640 AND "movie_keyword"."id" <= 945640; +SELECT AVG("movie_companies"."id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" >= 2 AND "movie_companies"."movie_id" <= 1705551 AND "movie_companies"."id" >= 824883; +SELECT MAX("title"."id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT "company_type"."kind", AVG("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" != 3 AND "movie_companies"."company_id" <= 351 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("aka_name"."name") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."imdb_id") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("movie_info_idx"."note") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 1 AND "title"."kind_id" <= 5; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("movie_companies"."note") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 3.6612269991084423 AND "title"."episode_of_id" <= 4119 AND "company_type"."id" <= 1; +SELECT SUM("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 504376 AND "movie_companies"."movie_id" <= 1800174 AND "company_type"."id" != 2; +SELECT SUM("cast_info"."role_id") as agg_0, AVG("cast_info"."nr_order") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" = 2 AND "char_name"."id" <= 331116 AND "cast_info"."movie_id" >= 1630418; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 3711003 AND "movie_keyword"."movie_id" <= 1899287 AND "keyword"."id" IS NOT NULL; +SELECT AVG("company_type"."id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "company_type"."id" <= 1 AND "title"."episode_of_id" <= 3236; +SELECT "company_type"."kind", SUM("company_type"."id") as agg_0, AVG("company_type"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 857191 AND "company_type"."kind" != '%distributors%' AND "movie_companies"."company_id" <= 1437 AND "company_type"."id" <= 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <> 1 AND "aka_name"."id" <= 16041; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" >= 1692415 AND "info_type"."info" != '%admissions%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("name"."id") AS agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT AVG("company_name"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" != 1 AND "movie_companies"."movie_id" <= 1920946 AND "company_name"."id" >= 69359 AND "company_type"."kind" != '%distributors%'; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 104945 AND "movie_companies"."id" >= 525281 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "aka_name"."imdb_index", SUM("cast_info"."person_id") as agg_0, AVG("cast_info"."person_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" >= 16.610952692517127 AND "cast_info"."movie_id" >= 2282337 AND "cast_info"."person_role_id" >= 3151.2072033890922 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("char_name"."name") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("char_name"."imdb_id") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("char_name"."md5sum") AS agg_9, MAX("cast_info"."person_id") AS agg_10 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."role_id" <= 1 AND "char_name"."id" <= 58638 AND "aka_name"."person_id" <= 68045; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("title"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6893604 AND "title"."episode_of_id" <= 2520870; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."episode_of_id" >= 325860.50397875265 AND "title"."id" <= 881926; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 12996666; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("aka_name"."person_id") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("person_info"."person_id") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%A143%' AND "person_info"."person_id" <= 21157 AND "name"."id" <= 22008; +SELECT "title"."imdb_index", AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2378083 AND "keyword"."id" <= 105489 AND "title"."production_year" <= 1984.9343461588996 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("company_name"."name_pcode_sf") AS agg_6, MAX("company_name"."md5sum") AS agg_7, MAX("company_name"."id") AS agg_8, MAX("company_name"."name") AS agg_9, MAX("movie_companies"."note") AS agg_10, MAX("movie_companies"."id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[al]%' AND "movie_companies"."movie_id" <= 47085 AND "company_name"."id" <= 1427; +SELECT SUM("link_type"."id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1968.6318739735045 AND "link_type"."id" != 3; +SELECT "title"."imdb_index", AVG("title"."kind_id") as agg_0, AVG("info_type"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" >= 100 AND "movie_info_idx"."movie_id" >= 1547007 AND "info_type"."id" >= 102 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("title"."kind_id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" != 536 AND "movie_info_idx"."movie_id" <= 2065610 AND "info_type"."id" IS NOT NULL; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, SUM("cast_info"."person_role_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 1792498 AND "char_name"."imdb_index" != '%IV%' GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 12994400 AND "company_name"."id" <= 1168599; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("company_name"."name_pcode_nf") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."id") AS agg_8, MAX("title"."episode_of_id") AS agg_9, MAX("movie_companies"."company_id") AS agg_10, MAX("title"."md5sum") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "title"."production_year" <= 1962.024631401409 AND "title"."id" <= 14712 AND "company_name"."id" <= 1302; +SELECT "cast_info"."role_id", AVG("cast_info"."nr_order") as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" >= 1 AND "cast_info"."person_id" >= 689604 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "title"."kind_id", AVG("title"."season_nr") as agg_0, SUM("title"."id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 6645691 AND "title"."kind_id" = 7 AND "movie_info"."info_type_id" != 1 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("company_type"."id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."id" <= 48102; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 70217 AND "movie_keyword"."keyword_id" <= 109842 AND "movie_keyword"."id" >= 3716708 AND "movie_keyword"."movie_id" <= 1902409; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_type"."id") AS agg_5, MAX("company_name"."name_pcode_nf") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 1170051 AND "movie_companies"."company_id" <= 1169415; +SELECT "title"."series_years", AVG("char_name"."id") as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 830158.7804787555 AND "title"."id" <= 1142947 AND "cast_info"."id" <= 1116502 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."name") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" <> '%CLXXX%' AND "person_info"."info_type_id" <= 15; +SELECT AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" >= 1 AND "company_type"."id" <= 3; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("person_info"."person_id") AS agg_7, MAX("aka_name"."person_id") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("name"."gender") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" <= 39; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("name"."id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("name"."gender") AS agg_6, MAX("name"."imdb_id") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20675605; +SELECT "title"."kind_id", SUM("title"."production_year") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 129444 AND "movie_companies"."id" >= 397148 AND "title"."id" <= 1230940 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("company_name"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 1907228 AND "company_name"."id" >= 120071 AND "movie_companies"."company_id" >= 86018; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 379 AND "keyword"."id" <= 60741 AND "movie_keyword"."id" <= 2516228; +SELECT SUM("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" != 1 AND "company_name"."country_code" != '%[lv]%' AND "movie_companies"."movie_id" <= 2431309; +SELECT AVG("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 926220 AND "keyword"."id" <= 79725 AND "movie_keyword"."keyword_id" >= 14373 AND "movie_keyword"."movie_id" <= 2392468; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."episode_of_id") AS agg_8, MAX("title"."season_nr") AS agg_9, MAX("movie_companies"."company_type_id") AS agg_10, MAX("title"."imdb_index") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2513214; +SELECT "char_name"."imdb_index", SUM("cast_info"."role_id") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" >= 1376642.7665293938 AND "cast_info"."role_id" <= 10 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_keyword"."keyword_id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[li]%' AND "company_name"."id" <= 2042; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4 AND "movie_companies"."movie_id" <= 12584631; +SELECT AVG("title"."episode_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" = 9 AND "title"."kind_id" <= 1626; +SELECT COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."person_id" <= 1576058 AND "title"."production_year" >= 1960.0339930836192 AND "title"."episode_nr" <= 1.4765905270969548; +SELECT AVG("movie_keyword"."id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 19495 AND "movie_keyword"."id" <= 3977475 AND "keyword"."id" >= 95544 AND "movie_keyword"."movie_id" >= 647295; +SELECT MAX("title"."id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."title") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133775; +SELECT MAX("person_info"."id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" <> '%CXXXIV%' AND "person_info"."person_id" <= 62729; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2484635 AND "movie_keyword"."id" >= 3921749; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XV%' AND "movie_info_idx"."info_type_id" <= 99; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_id" <= 5826 AND "movie_companies"."company_type_id" != 1; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("cast_info"."note") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id"; +SELECT AVG("keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 88122 AND "keyword"."id" <= 24083 AND "title"."episode_of_id" <= 1332151.415771273; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 866066 AND "title"."series_years" != '%1959-1963%' AND "movie_companies"."id" <= 375836 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" >= 1675096 AND "aka_name"."person_id" >= 1240627; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" = 2 AND "company_name"."id" <= 178828 AND "company_name"."country_code" != '%[mt]%'; +SELECT MAX("name"."name") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("aka_name"."md5sum") AS agg_7, MAX("name"."md5sum") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("name"."id") AS agg_10, MAX("cast_info"."person_role_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4494105; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 4379 AND "movie_keyword"."keyword_id" >= 380 AND "movie_keyword"."movie_id" <= 2035950; +SELECT "name"."imdb_index", SUM("aka_name"."id") as agg_0, AVG("aka_name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 2174580 AND "person_info"."info_type_id" <= 15 AND "person_info"."id" <= 918955 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "info_type"."info", AVG("info_type"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 1130825 AND "info_type"."id" >= 39 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "company_type"."id", AVG("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_type"."id" != 3 AND "movie_companies"."id" >= 631690 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("company_name"."imdb_id") AS agg_10, MAX("title"."id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1994 AND "movie_companies"."id" <= 12960127; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%M%' AND "char_name"."id" <= 1414037 AND "cast_info"."id" <= 27204640 AND "aka_name"."id" <= 861419 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT SUM("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 578203 AND "name"."gender" != '%f%'; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 3273923 AND "movie_keyword"."movie_id" <= 1728675; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."info") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("name"."id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("name"."name") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20731265 AND "aka_name"."person_id" <= 20667124 AND "person_info"."info_type_id" <= 39; +SELECT "movie_companies"."company_type_id", COUNT(*) AS agg_0, SUM("title"."episode_of_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."id" <= 12921802 AND "title"."episode_of_id" <= 2523533 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "company_name"."id" <= 211782 AND "title"."episode_of_id" >= 636413.0326125076; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" >= 275 AND "keyword"."id" >= 74456; +SELECT SUM("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" >= 3781822 AND "person_info"."id" <= 1444322; +SELECT MAX("char_name"."imdb_index") AS agg_0, MAX("char_name"."md5sum") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("char_name"."name") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" <> '%I%' AND "char_name"."id" <= 31522; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12631452; +SELECT SUM("movie_info"."id") AS agg_0 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" <= 73760116 AND "title"."id" <= 12564550; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."id" <= 12554878; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("company_type"."id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[dk]%' AND "company_name"."id" <= 1328 AND "movie_companies"."company_id" <= 3529; +SELECT SUM("movie_companies"."company_type_id") as agg_0, SUM("title"."kind_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%IX%' AND "company_name"."id" <= 84477 AND "title"."production_year" >= 2010.2791452669142; +SELECT MAX("name"."gender") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."name") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%m%' AND "name"."id" <= 67719; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" >= 759705 AND "aka_name"."surname_pcode" != '%N1%'; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("keyword"."phonetic_code") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."episode_of_id" <= 3898 AND "movie_keyword"."keyword_id" <= 202; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("char_name"."md5sum") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("char_name"."id") AS agg_6, MAX("aka_name"."surname_pcode") AS agg_7, MAX("char_name"."imdb_index") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("cast_info"."role_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <= 3 AND "aka_name"."person_id" <= 58765 AND "char_name"."id" <= 56283; +SELECT "movie_companies"."company_type_id", SUM("title"."id") as agg_0, AVG("title"."kind_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1893.0620379238674 AND "movie_companies"."id" <= 614126 AND "title"."id" <= 1875240 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("aka_name"."name") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 15639560; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("info_type"."info") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 4.846167481637432 AND "info_type"."id" <= 1 AND "title"."kind_id" <= 6; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT AVG("person_info"."id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" != 18 AND "name"."gender" != '%f%'; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 5911 AND "movie_keyword"."id" >= 1260151 AND "keyword"."id" >= 74333 AND "title"."id" IS NOT NULL; +SELECT SUM("company_name"."id") as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[pe]%' AND "movie_companies"."id" <= 2424939 AND "company_name"."id" <= 138517; +SELECT "company_name"."country_code", SUM("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 1553230 AND "company_name"."id" <= 37730 AND "movie_companies"."company_type_id" != 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."imdb_index", SUM("cast_info"."nr_order") as agg_0, SUM("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."id" >= 34286588 AND "cast_info"."role_id" >= 7 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("keyword"."id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1993 AND "keyword"."id" <= 133832; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("name"."gender") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("person_info"."info") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 20647562; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 2754; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 6 AND "movie_keyword"."keyword_id" <= 178; +SELECT "cast_info"."role_id", SUM("cast_info"."role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%I%' AND "cast_info"."movie_id" <= 1378004 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("company_type"."id") as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 176608 AND "movie_companies"."id" <= 1833158; +SELECT MAX("kind_type"."kind") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("kind_type"."id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" >= 2010.5675052410336 AND "title"."episode_of_id" <= 6899; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("movie_info"."note") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_info"."info") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 2.752802661139155 AND "title"."kind_id" <= 7; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("company_type"."kind") AS agg_7, MAX("movie_companies"."id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 26264 AND "title"."id" <= 36063; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_info"."movie_id") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2515396; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("info_type"."info") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("title"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%crazy credits%' AND "title"."id" <= 32940 AND "movie_info_idx"."movie_id" <= 16317; +SELECT SUM("cast_info"."nr_order") as agg_0, SUM("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."role_id" <= 1 AND "char_name"."id" <= 3130859; +SELECT MAX("name"."id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."imdb_id") AS agg_6, MAX("person_info"."id") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("name"."name") AS agg_9, MAX("person_info"."info") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%f%' AND "name"."id" <= 77372 AND "person_info"."id" <= 43153; +SELECT "title"."imdb_index", AVG("cast_info"."person_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."role_id" <= 1 AND "cast_info"."person_id" >= 1409468 AND "title"."kind_id" <= 7 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("aka_name"."person_id") AS agg_6, MAX("name"."surname_pcode") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" <> '%C434%' AND "aka_name"."id" <= 11411; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_info"."note") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("keyword"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 41044 AND "keyword"."id" <= 244; +SELECT "company_type"."kind", AVG("movie_companies"."movie_id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" = 1 AND "company_type"."kind" != '%production companies%' AND "movie_companies"."company_id" <= 113 AND "company_type"."id" = 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_companies"."movie_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2879 AND "company_type"."id" <= 1; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" >= 813378 AND "name"."id" <= 3604671 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("name"."name") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20800373; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."nr_order" >= 10.077946024978843 AND "title"."kind_id" <= 4; +SELECT COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" != '%H32%' AND "cast_info"."nr_order" <= 0.7146080051087849 AND "cast_info"."id" >= 19808489; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 2384103 AND "cast_info"."id" <= 13322121 AND "char_name"."imdb_index" != '%I%'; +SELECT SUM("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 2227068 AND "name"."gender" != '%m%'; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("person_info"."id") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 79321 AND "person_info"."person_id" <= 25161; +SELECT MAX("title"."season_nr") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("title"."title") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12542357 AND "keyword"."id" <= 133507; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 3220824 AND "keyword"."id" <= 86953 AND "movie_keyword"."movie_id" <= 2525420 AND "movie_keyword"."keyword_id" <= 2677; +SELECT MAX("movie_info"."note") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12601053; +SELECT COUNT(*) AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("char_name"."imdb_id") AS agg_7, MAX("title"."imdb_index") AS agg_8, MAX("cast_info"."role_id") AS agg_9, MAX("title"."episode_of_id") AS agg_10, MAX("cast_info"."note") AS agg_11, MAX("cast_info"."person_role_id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 7604051; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" <= 1 AND "company_name"."id" <= 2907; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."episode_of_id" <= 1397309.6435267625 AND "cast_info"."movie_id" >= 567530 AND "title"."id" >= 1584219 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20763452 AND "cast_info"."id" <= 180351529; +SELECT MAX("title"."series_years") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("char_name"."surname_pcode") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("cast_info"."nr_order") AS agg_8, MAX("title"."kind_id") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("char_name"."imdb_index") AS agg_11, MAX("title"."episode_of_id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 7649899 AND "title"."id" <= 12592469; +SELECT AVG("movie_keyword"."id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 1702843 AND "keyword"."id" <= 20956 AND "movie_keyword"."movie_id" <= 1658428 AND "movie_keyword"."keyword_id" <= 715; +SELECT "name"."surname_pcode", SUM("person_info"."info_type_id") as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 2615411 AND "name"."imdb_index" != '%LV%' AND "aka_name"."person_id" <= 1465572 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "kind_type"."kind", COUNT(*) as agg_0, SUM("title"."episode_nr") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" >= 6 AND "title"."season_nr" <= 1.0 GROUP BY "kind_type"."kind" ORDER BY "kind_type"."kind"; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 3592 AND "movie_keyword"."id" <= 2538977 AND "movie_keyword"."movie_id" <= 1772994; +SELECT SUM("title"."episode_nr") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%votes distribution%' AND "info_type"."id" >= 75; +SELECT COUNT(*) as agg_0, SUM("name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" = 37 AND "name"."gender" != '%f%' AND "person_info"."id" <= 2417577; +SELECT AVG("movie_info_idx"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 51 AND "title"."imdb_index" != '%XIV%' AND "title"."id" <= 988219 AND "movie_info_idx"."info_type_id" = 99; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" <> '%Y156%' AND "name"."id" <= 75917; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."title") AS agg_5, MAX("company_type"."kind") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("movie_companies"."company_type_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XII%' AND "company_type"."id" <= 1 AND "movie_companies"."movie_id" <= 16176; +SELECT COUNT(*) as agg_0, AVG("title"."production_year") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."id" >= 264109; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 1693323 AND "movie_companies"."id" <= 1455241 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" >= 1049605 AND "aka_name"."id" >= 265404 AND "person_info"."id" <= 914650; +SELECT COUNT(*) AS agg_0, AVG("title"."episode_nr") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."nr_order") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("name"."id") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("aka_name"."person_id") AS agg_10, MAX("name"."gender") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4504656 AND "name"."id" <= 20643797; +SELECT "company_name"."country_code", SUM("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 372045 AND "company_name"."country_code" != '%[fi]%' AND "company_name"."id" <= 30857 AND "movie_companies"."movie_id" <= 2392554 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("person_info"."info") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("name"."imdb_index") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 20664677 AND "name"."id" <= 20676972; +SELECT MAX("title"."season_nr") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1999-2002%' AND "movie_info_idx"."id" <= 18838 AND "title"."episode_of_id" <= 9429; +SELECT AVG("title"."kind_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 7 AND "movie_keyword"."id" <= 1104938 AND "keyword"."id" >= 29800; +SELECT AVG("movie_keyword"."keyword_id") AS agg_0, AVG("movie_keyword"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133349; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 9.996315734917896 AND "title"."season_nr" >= 1.0 AND "title"."kind_id" <= 4; +SELECT "company_type"."kind", AVG("movie_companies"."company_id") as agg_0, SUM("company_type"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "company_type"."id" != 2 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "title"."production_year" <= 2004.4662918508934 AND "movie_keyword"."id" <= 27398 AND "keyword"."id" <= 448; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 1964451 AND "title"."id" <= 1861685 AND "movie_companies"."company_type_id" >= 1 AND "title"."kind_id" <= 1 AND "company_name"."id" IS NOT NULL; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("char_name"."name_pcode_nf") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("cast_info"."person_id") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("cast_info"."role_id") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("cast_info"."movie_id") AS agg_10, MAX("title"."kind_id") AS agg_11, MAX("char_name"."md5sum") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."kind_id" <= 8 AND "cast_info"."person_role_id" <= 24595; +SELECT COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" != 2 AND "name"."id" <= 1131265; +SELECT AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" != '%f%' AND "person_info"."person_id" <= 1087134 AND "name"."id" <= 2410549; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."phonetic_code") AS agg_8, MAX("movie_companies"."note") AS agg_9, MAX("company_name"."country_code") AS agg_10, MAX("movie_companies"."id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1169169; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 13640 AND "company_name"."id" <= 100604 AND "title"."id" IS NOT NULL; +SELECT SUM("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 413729 AND "keyword"."id" <= 126003; +SELECT SUM("title"."episode_of_id") AS agg_0, SUM("movie_companies"."id") AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[bn]%' AND "movie_companies"."movie_id" <= 30114 AND "company_name"."id" <= 3012; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 4181 AND "movie_companies"."id" <= 589609 AND "movie_companies"."company_type_id" <= 1 AND "company_name"."country_code" != '%[ga]%'; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2347851 AND "movie_keyword"."id" >= 2414596; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" <= 113 AND "movie_info_idx"."info_type_id" <= 113; +SELECT MAX("char_name"."md5sum") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("char_name"."name") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 7.199048358174556 AND "char_name"."id" <= 23313; +SELECT COUNT(*) as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 9769 AND "title"."episode_of_id" >= 26223.31577896931 AND "title"."id" <= 1642877; +SELECT "info_type"."info", COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%LD color rendition%' AND "movie_info_idx"."info_type_id" != 99 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%distributors%' AND "movie_companies"."movie_id" <= 42186 AND "title"."episode_of_id" <= 9673; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "keyword"."id" <= 72490; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 1; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."episode_of_id" <= 9902; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%birth date%' AND "info_type"."id" <= 1; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT "company_name"."country_code", SUM("movie_companies"."company_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 12934024 AND "company_name"."id" <= 1173786 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("name"."id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" != 34 AND "person_info"."id" >= 1904340 AND "name"."id" <= 4137619; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 4044; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 133634; +SELECT MAX("aka_name"."id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20646743 AND "cast_info"."id" <= 179413243; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 AND "movie_companies"."movie_id" <= 1721066; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."id" <= 13210318 AND "char_name"."imdb_index" != '%II%' AND "cast_info"."person_role_id" >= 237238.2034955647; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 1329948.1617951293 AND "title"."production_year" <= 1965.1205605043112 AND "cast_info"."movie_id" <= 1878418 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "title"."series_years", SUM("movie_keyword"."keyword_id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 1171661 AND "title"."series_years" != '%1957-1999%' AND "keyword"."id" <= 60397 AND "movie_keyword"."movie_id" <= 2515360 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "name"."gender", AVG("person_info"."info_type_id") as agg_0, SUM("aka_name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" != '%f%' AND "name"."surname_pcode" != '%E353%' AND "name"."imdb_index" != '%XCI%' AND "person_info"."person_id" <= 1320214 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."title") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT "name"."imdb_index", SUM("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 3427849 AND "name"."id" <= 1574244 AND "name"."gender" != '%f%' AND "person_info"."id" <= 2259744 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XXII%' AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1971.7213633605747 AND "movie_keyword"."movie_id" <= 33022 AND "title"."id" <= 34305; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 134018 AND "title"."kind_id" <= 1998 AND "movie_keyword"."id" <= 22442399; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 523511 AND "keyword"."id" <= 117320 AND "movie_keyword"."movie_id" <= 2492698 AND "movie_keyword"."keyword_id" <= 36244; +SELECT "cast_info"."role_id", AVG("title"."season_nr") as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."role_id" != 9 AND "cast_info"."person_id" >= 1905306 AND "cast_info"."id" >= 28966799 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("title"."season_nr") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" = 1 AND "cast_info"."id" >= 7546552 AND "title"."id" >= 1919323 AND "char_name"."id" <= 2298061; +SELECT SUM("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 29 AND "aka_name"."person_id" <= 3361131 AND "name"."imdb_index" != '%LXXI%' AND "name"."id" <= 427429; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("movie_info_idx"."id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 5.371874072391744 AND "info_type"."info" <> '%certificates%' AND "movie_info_idx"."info_type_id" <= 99 AND "title"."episode_of_id" <= 7062; +SELECT "aka_name"."surname_pcode", AVG("aka_name"."person_id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" >= 454491 AND "name"."id" <= 2466440 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("movie_companies"."note") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 2321; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133173 AND "title"."kind_id" <= 2000; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133887 AND "movie_keyword"."id" <= 22500522 AND "title"."kind_id" <= 2010; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("company_name"."imdb_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."country_code" <> '%[lc]%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 4611; +SELECT AVG("person_info"."info_type_id") as agg_0, SUM("person_info"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%V4%' AND "name"."id" <= 2337231 AND "person_info"."id" <= 1797963 AND "person_info"."person_id" <= 497526; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info_idx"."info") AS agg_7, MAX("title"."production_year") AS agg_8, MAX("movie_info_idx"."movie_id") AS agg_9, MAX("title"."episode_nr") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."info_type_id" <= 1 AND "title"."kind_id" <= 4; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1980-1992%' AND "movie_keyword"."movie_id" <= 36458 AND "title"."id" <= 45930; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 40049 AND "title"."episode_of_id" <= 1392722.3489518766 AND "movie_keyword"."keyword_id" <= 46733; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("name"."name") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("name"."id") AS agg_9, MAX("aka_name"."person_id") AS agg_10, MAX("cast_info"."person_role_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT "info_type"."info", SUM("movie_info_idx"."movie_id") as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" >= 806450 AND "movie_info_idx"."movie_id" <= 2209572 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 970304 AND "info_type"."info" != '%LD digital sound%' AND "movie_info_idx"."id" <= 828402; +SELECT SUM("aka_name"."person_id") as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 1646457 AND "name"."gender" != '%m%'; +SELECT MAX("cast_info"."id") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <= 2 AND "aka_name"."person_id" <= 38252; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%trade mark%' AND "title"."kind_id" <= 7 AND "movie_info_idx"."id" <= 9631; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 133591 AND "keyword"."id" <= 133069; +SELECT "title"."series_years", COUNT(*) as agg_0, SUM("title"."production_year") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" <= 12 AND "movie_link"."movie_id" >= 112138 AND "movie_link"."link_type_id" <= 6 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("title"."kind_id") as agg_0, AVG("kind_type"."id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" = 1 AND "title"."production_year" <= 2002.3849673003956; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."md5sum") AS agg_8, MAX("movie_info"."movie_id") AS agg_9, MAX("movie_info"."info") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."id" <= 46291 AND "movie_info"."info_type_id" <= 1; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 57748 AND "movie_keyword"."keyword_id" >= 19640 AND "movie_keyword"."movie_id" <= 2361376 AND "movie_keyword"."id" <= 3500570; +SELECT SUM("cast_info"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" >= 1.4802823873637814 AND "cast_info"."role_id" >= 1; +SELECT "movie_companies"."company_type_id", COUNT(*) AS agg_0, AVG("movie_companies"."company_type_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 1172258 AND "company_type"."id" <= 4 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "cast_info"."role_id", SUM("cast_info"."movie_id") as agg_0, AVG("cast_info"."movie_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 2481306 AND "cast_info"."id" <= 31150814 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("company_name"."name") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1170884 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("char_name"."imdb_index") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("char_name"."id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15663320 AND "cast_info"."movie_id" <= 12577821; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 18818; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%V%' AND "title"."kind_id" <= 8; +SELECT SUM("char_name"."id") as agg_0, SUM("cast_info"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" >= 1171960 AND "char_name"."imdb_index" != '%D%' AND "cast_info"."person_id" >= 525558 AND "cast_info"."person_role_id" >= 805995.0695124451; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."info") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" <= 10998; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 8162; +SELECT SUM("movie_keyword"."id") as agg_0, SUM("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 19145 AND "movie_keyword"."movie_id" >= 2132481 AND "movie_keyword"."id" <= 2596047; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 12215 AND "company_name"."country_code" != '%[vn]%' AND "company_name"."id" <= 40910 AND "company_type"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 439; +SELECT MAX("title"."id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("company_name"."md5sum") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("title"."title") AS agg_8, MAX("company_name"."name_pcode_sf") AS agg_9, MAX("title"."phonetic_code") AS agg_10, MAX("company_name"."name") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 5.626320226393517 AND "company_name"."country_code" <> '%[nr]%' AND "movie_companies"."company_type_id" <= 1 AND "company_name"."id" <= 4473; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("company_type"."kind") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT "title"."series_years", SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 1976788 AND "movie_keyword"."keyword_id" >= 448 AND "title"."episode_nr" <= 1.4902903533754008 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 3508 AND "movie_keyword"."movie_id" >= 2272550 AND "movie_keyword"."keyword_id" >= 19558; +SELECT MAX("name"."gender") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("name"."id") AS agg_7, MAX("name"."name") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("name"."imdb_index") AS agg_10, MAX("aka_name"."imdb_index") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."role_id" <> 1 AND "aka_name"."id" <= 7006 AND "cast_info"."id" <= 391866; +SELECT COUNT(*) as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 3 AND "movie_companies"."company_id" >= 1121 AND "movie_companies"."id" <= 1030168; +SELECT COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 14711714 AND "name"."id" <= 20732987; +SELECT SUM("keyword"."id") AS agg_0, COUNT(*) AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 484; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" >= 107.3625244229034 AND "aka_name"."id" >= 117871 AND "char_name"."id" IS NOT NULL; +SELECT "title"."imdb_index", SUM("title"."episode_nr") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 528779 AND "movie_link"."movie_id" >= 127433 AND "title"."season_nr" <= 3.487967427703198 AND "title"."episode_of_id" <= 214771.63337170272 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 249999243.96647614 AND "title"."episode_of_id" <= 374817.66681993473 AND "cast_info"."person_id" >= 1399682 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("cast_info"."role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."nr_order" <= 6.894437489737273 AND "aka_name"."surname_pcode" != '%D35%'; +SELECT "person_info"."info_type_id", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 936611 AND "name"."surname_pcode" != '%S346%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 82400 AND "movie_keyword"."id" >= 1216382 AND "movie_keyword"."keyword_id" >= 5402; +SELECT "title"."series_years", SUM("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 77008 AND "movie_keyword"."movie_id" <= 1812540 AND "movie_keyword"."keyword_id" >= 64 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("char_name"."name") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("char_name"."imdb_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("char_name"."md5sum") AS agg_9, MAX("title"."imdb_id") AS agg_10, MAX("char_name"."id") AS agg_11, MAX("cast_info"."nr_order") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 4.609229703903876 AND "cast_info"."role_id" <= 1 AND "title"."imdb_index" <> '%III%' AND "char_name"."id" <= 27987 AND "cast_info"."id" <= 477941; +SELECT SUM("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" >= 559263 AND "aka_name"."person_id" >= 2340036; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."imdb_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 3506; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" != 2 AND "cast_info"."person_role_id" >= 55277.495350128185 AND "char_name"."imdb_index" != '%IV%'; +SELECT "company_name"."country_code", COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" <= 1 AND "movie_companies"."company_id" <= 6730 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT SUM("char_name"."id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" >= 116.09069139793395 AND "cast_info"."role_id" <= 8 AND "cast_info"."nr_order" <= 4.379744845623985 AND "cast_info"."id" <= 10662332; +SELECT MAX("movie_info"."info") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2519973 AND "movie_info"."movie_id" <= 12562994; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "person_info"."info_type_id" <= 15; +SELECT AVG("movie_companies"."movie_id") as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[cz]%' AND "movie_companies"."id" >= 2166138; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 2339397 AND "company_type"."kind" != '%special effects companies%'; +SELECT SUM("title"."production_year") as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1995-2008%' AND "title"."production_year" <= 2012.5448666026941; +SELECT AVG("movie_companies"."company_type_id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT AVG("title"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 1154241 AND "company_type"."id" != 2 AND "title"."id" <= 576754 AND "company_type"."kind" != '%special effects companies%'; +SELECT MAX("cast_info"."id") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("char_name"."imdb_index") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 0.8043524363718826 AND "cast_info"."person_role_id" <= 38000; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_info"."id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_info"."info") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.4871985173614926 AND "title"."episode_of_id" <= 8557; +SELECT "company_name"."country_code", COUNT(*) as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[mr]%' AND "movie_companies"."company_id" >= 2302 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."series_years", COUNT(*) as agg_0, AVG("title"."episode_nr") as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."production_year" >= 1981.9311950999186 AND "title"."kind_id" != 1 AND "cast_info"."person_role_id" >= 9463.850887272516 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_companies"."id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 152908 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."movie_id" <= 14360; +SELECT COUNT(*) as agg_0, AVG("title"."id") as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."person_id" >= 662202 AND "cast_info"."id" <= 29109200; +SELECT "company_type"."id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" != 2 AND "movie_companies"."company_id" <= 1356 AND "company_name"."id" <= 50024 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 12989657 AND "company_name"."id" <= 1174026 AND "company_type"."id" <= 4; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id"; +SELECT "info_type"."info", COUNT(*) as agg_0, AVG("title"."episode_nr") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 5 AND "movie_info_idx"."id" <= 112893 AND "title"."production_year" <= 2007.2915300564919 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."id") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."name") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT SUM("title"."production_year") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."kind" != '%tv series%' AND "title"."imdb_index" != '%X%'; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 3591; +SELECT SUM("movie_keyword"."movie_id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 39190 AND "movie_keyword"."id" <= 923712; +SELECT "name"."imdb_index", COUNT(*) as agg_0, SUM("name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 2467531 AND "person_info"."info_type_id" >= 17 AND "person_info"."id" >= 1515182 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "name"."surname_pcode", SUM("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 116323 AND "aka_name"."person_id" <= 546148 AND "aka_name"."surname_pcode" != '%S645%' AND "name"."gender" != '%f%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "person_info"."info_type_id", AVG("person_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" != 22 AND "person_info"."person_id" <= 141121 AND "name"."gender" != '%f%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("cast_info"."id") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."kind_id" <= 6; +SELECT "title"."series_years", COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22435812 AND "title"."kind_id" <= 1994 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."series_years", AVG("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "title"."kind_id" != 7 AND "movie_companies"."company_type_id" <= 2 AND "company_name"."id" >= 223455 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 2219 AND "movie_companies"."movie_id" <= 967912 AND "company_name"."country_code" != '%[ge]%' AND "movie_companies"."company_type_id" != 1 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "cast_info"."role_id", SUM("title"."episode_of_id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."nr_order" >= 0.8858607748347265 AND "cast_info"."person_role_id" >= 72259.27759407982 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 124194 AND "movie_keyword"."keyword_id" <= 820 AND "movie_keyword"."movie_id" <= 2404210 AND "movie_keyword"."id" <= 2301354; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("keyword"."phonetic_code") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 468 AND "title"."id" <= 14715; +SELECT "info_type"."id", AVG("info_type"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%portrayed in%' AND "info_type"."id" <= 108 AND "movie_info_idx"."movie_id" >= 797754 AND "movie_info_idx"."info_type_id" = 100 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info"."info") AS agg_3, MAX("movie_info"."id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 29776; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 1; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("info_type"."info") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("info_type"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("char_name"."md5sum") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("char_name"."imdb_index") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("cast_info"."role_id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" <= 15615223 AND "char_name"."id" <= 15692418; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("keyword"."id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1954-1989%' AND "title"."season_nr" <= 1.0 AND "keyword"."id" <= 152 AND "movie_keyword"."id" <= 62680; +SELECT SUM("company_type"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."id" <= 786804; +SELECT "title"."kind_id", SUM("title"."episode_nr") AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 73679678 AND "title"."episode_of_id" <= 2510601 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 87134 AND "movie_keyword"."movie_id" <= 1905406; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 2282924 AND "company_name"."country_code" != '%[aw]%' AND "company_type"."kind" != '%production companies%'; +SELECT "aka_name"."surname_pcode", AVG("aka_name"."person_id") as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" <= 128400 AND "name"."imdb_index" != '%CXXXIII%' AND "name"."surname_pcode" != '%E414%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT SUM("movie_companies"."id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" = 2 AND "movie_companies"."movie_id" <= 2466026 AND "movie_companies"."company_type_id" != 1 AND "company_type"."kind" != '%production companies%'; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."name") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."imdb_id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("cast_info"."role_id") AS agg_9, MAX("name"."surname_pcode") AS agg_10, MAX("name"."imdb_index") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4502372 AND "cast_info"."person_role_id" <= 15587205; +SELECT AVG("aka_name"."id") AS agg_0, COUNT(*) AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 4495803 AND "name"."id" <= 20632426 AND "person_info"."id" <= 14722497; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_info"."id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("movie_info"."info_type_id") AS agg_8, MAX("movie_info_idx"."info") AS agg_9, MAX("title"."title") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" <= 24090 AND "movie_info"."info_type_id" <= 1; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."phonetic_code") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id"; +SELECT "title"."imdb_index", SUM("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 1097588 AND "char_name"."imdb_index" != '%M%' AND "cast_info"."role_id" <= 6 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12562316; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 3781; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12636421; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."series_years") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2010.4465574631831 AND "movie_keyword"."id" <= 63926; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("company_type"."kind") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%production companies%' AND "movie_companies"."movie_id" <= 28214 AND "company_type"."id" <= 1; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "title"."imdb_index", SUM("movie_keyword"."keyword_id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" != 1368 AND "movie_keyword"."movie_id" <= 1884091 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 38382 AND "movie_companies"."id" <= 1862085 AND "company_name"."country_code" != '%[pr]%'; +SELECT "title"."kind_id", AVG("title"."kind_id") AS agg_0, AVG("title"."episode_nr") AS agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."kind_id", SUM("title"."kind_id") as agg_0, SUM("title"."id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 1128446 AND "movie_info"."id" <= 8933189 AND "title"."episode_of_id" <= 337233.47763883206 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."surname_pcode" <> '%K165%' AND "aka_name"."id" <= 5726; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."name") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT COUNT(*) AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12520337; +SELECT SUM("title"."production_year") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 2007390 AND "title"."episode_nr" >= 137.76285875406273 AND "movie_info"."id" >= 2090209; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XVIII%' AND "movie_companies"."company_id" <= 2678 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_companies"."id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 45023; +SELECT "title"."kind_id", COUNT(*) as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2005.9525408412405 AND "movie_info_idx"."info_type_id" <= 99 AND "movie_info_idx"."movie_id" >= 260244 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0, AVG("aka_name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" != '%LXI%' AND "aka_name"."id" <= 357587 AND "name"."gender" != '%f%' AND "person_info"."id" <= 237711; +SELECT "title"."kind_id", SUM("movie_info_idx"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 55149 AND "title"."episode_of_id" <= 559340.3372672707 AND "info_type"."id" >= 55 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" >= 299 AND "movie_companies"."movie_id" <= 1150571 AND "company_name"."country_code" != '%[nr]%' AND "movie_companies"."id" <= 2403222; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2103315 AND "keyword"."id" >= 112794 AND "movie_keyword"."keyword_id" >= 420; +SELECT SUM("company_type"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%production companies%' AND "movie_companies"."company_type_id" >= 2; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[my]%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 1350; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1170104 AND "movie_companies"."id" <= 13025596; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%production companies%' AND "company_name"."id" <= 42122 AND "movie_companies"."company_id" <= 10684; +SELECT "title"."kind_id", AVG("title"."id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" >= 7 AND "title"."production_year" >= 1985.887841252152 AND "title"."season_nr" <= 1.0 AND "kind_type"."kind" != '%video game%' GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" >= 2221 AND "movie_keyword"."movie_id" >= 732 AND "keyword"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 29509 AND "movie_keyword"."keyword_id" <= 9115 AND "movie_keyword"."movie_id" >= 1736269 AND "movie_keyword"."id" >= 2214966; +SELECT "company_type"."kind", AVG("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 1731061 AND "company_type"."id" != 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 638384 AND "title"."id" >= 137144; +SELECT "title"."imdb_index", SUM("title"."production_year") as agg_0, AVG("title"."kind_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 1068004.5644260072 AND "title"."id" >= 423655 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 1774174 AND "movie_keyword"."keyword_id" >= 36912 AND "movie_keyword"."movie_id" <= 1870781 AND "keyword"."id" >= 53307; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT AVG("person_info"."person_id") AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20694348 AND "person_info"."person_id" <= 20753176; +SELECT "company_type"."kind", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."id" >= 1426995 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" >= 279107 AND "aka_name"."surname_pcode" != '%S13%' AND "cast_info"."movie_id" >= 148864 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "movie_info_idx"."info_type_id", AVG("info_type"."id") AS agg_0, COUNT(*) AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" != 1 AND "company_type"."kind" != '%special effects companies%' AND "title"."id" IS NOT NULL; +SELECT MAX("title"."title") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_info"."info") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12609807 AND "title"."id" <= 12586488; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 1876257 AND "movie_keyword"."keyword_id" >= 4777 AND "keyword"."id" IS NOT NULL; +SELECT "title"."imdb_index", AVG("title"."kind_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" >= 1904915 AND "movie_info"."movie_id" >= 1414086 AND "movie_info"."id" >= 11590820 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("person_info"."id") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("person_info"."info") AS agg_6, MAX("aka_name"."person_id") AS agg_7, MAX("name"."name_pcode_nf") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" <> '%U261%' AND "name"."id" <= 53230 AND "person_info"."person_id" <= 69526; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%LD picture format%' AND "info_type"."id" <= 1; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 95587 AND "movie_keyword"."id" <= 3178969; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_info_idx"."movie_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("movie_info_idx"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT SUM("title"."episode_nr") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" != 13 AND "movie_link"."movie_id" >= 79431 AND "title"."production_year" <= 2006.536235744461 AND "movie_link"."linked_movie_id" <= 1325714; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[is]%' AND "movie_companies"."company_id" >= 13851 AND "movie_companies"."id" <= 1253886 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "movie_info_idx"."info_type_id", SUM("movie_info"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."id" >= 380410 AND "title"."episode_of_id" >= 148132.09152889915 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT AVG("aka_name"."id") as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" != '%O52%' AND "name"."imdb_index" != '%LXVII%' AND "aka_name"."id" <= 864422; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" <= 112 AND "movie_info_idx"."movie_id" <= 12627745; +SELECT "person_info"."info_type_id", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 2693302 AND "person_info"."person_id" <= 403156 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT "title"."imdb_index", AVG("title"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" >= 18677.75192817843 AND "cast_info"."person_id" <= 1553016 AND "char_name"."imdb_index" != '%M%' AND "char_name"."id" <= 1754661 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1976-1988%' AND "movie_link"."linked_movie_id" >= 137712 AND "title"."id" <= 2367485 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("char_name"."name") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("char_name"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("cast_info"."role_id") AS agg_7, MAX("char_name"."surname_pcode") AS agg_8, MAX("char_name"."imdb_id") AS agg_9, MAX("title"."id") AS agg_10, MAX("title"."series_years") AS agg_11, MAX("cast_info"."person_id") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 1.9676936698449965 AND "title"."episode_nr" >= 16.564202275484206 AND "char_name"."id" <= 30965 AND "cast_info"."id" <= 661420; +SELECT MAX("name"."md5sum") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("person_info"."info") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("name"."name") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20708496 AND "person_info"."id" <= 14673302; +SELECT AVG("title"."production_year") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 6093488 AND "title"."production_year" <= 1987.6243061220964 AND "title"."episode_of_id" >= 170443.96279080227; +SELECT "title"."imdb_index", AVG("title"."episode_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2003.3720382753022 AND "movie_info"."movie_id" <= 1971655 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("keyword"."id") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2062588 AND "keyword"."id" >= 86063; +SELECT "name"."surname_pcode", COUNT(*) as agg_0, SUM("name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" != '%CLXXXVIII%' AND "person_info"."info_type_id" >= 37 AND "name"."id" >= 1678282 AND "name"."gender" != '%m%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "name"."gender", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 756430 AND "aka_name"."person_id" <= 3270259 AND "name"."surname_pcode" != '%E241%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT AVG("kind_type"."id") as agg_0 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "title"."production_year" <= 2010.0912400397235 AND "kind_type"."kind" != '%episode%'; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 17036 AND "movie_companies"."id" >= 254951 AND "title"."id" IS NOT NULL; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT SUM("name"."id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" != '%XXXIV%' AND "person_info"."info_type_id" <= 21 AND "name"."surname_pcode" != '%C32%'; +SELECT AVG("cast_info"."nr_order") as agg_0, AVG("char_name"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 1629708.005627242 AND "cast_info"."nr_order" <= 2.4633989795635314 AND "aka_name"."id" IS NOT NULL; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 1169049; +SELECT "movie_info_idx"."info_type_id", AVG("info_type"."id") as agg_0, AVG("info_type"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" >= 816104 AND "movie_info_idx"."info_type_id" <= 100 AND "info_type"."id" <= 102 AND "info_type"."info" != '%LD number%' GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 1; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."id") AS agg_2, MAX("info_type"."id") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("info_type"."info") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12632781; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 2.506852487643358 AND "title"."id" <= 33943 AND "movie_keyword"."keyword_id" <= 324; +SELECT MAX("company_name"."name") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("company_type"."kind") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."id" <= 12938612 AND "company_name"."id" <= 1167153; +SELECT AVG("name"."id") as agg_0, AVG("name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 24 AND "name"."id" >= 3900434; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1706097 AND "keyword"."id" <= 84516 AND "movie_keyword"."id" >= 3374911; +SELECT SUM("info_type"."id") as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" >= 2064115 AND "info_type"."info" != '%screenplay-teleplay%' AND "movie_info_idx"."info_type_id" != 99 AND "info_type"."id" >= 19; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12568550 AND "movie_keyword"."movie_id" <= 12528982; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."id") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" <= 39 AND "aka_name"."person_id" <= 20716750; +SELECT SUM("cast_info"."person_role_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."person_role_id" <= 1111666.1150493403 AND "title"."episode_nr" <= 5.481912846608213 AND "title"."id" <= 163640; +SELECT AVG("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 1243451 AND "company_type"."kind" != '%production companies%'; +SELECT "info_type"."info", AVG("info_type"."id") AS agg_0, SUM("title"."id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "info_type"."id" <= 1 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "title"."imdb_index", COUNT(*) AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2002.4593468594096 AND "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."company_id" <= 1347 AND "title"."kind_id" <= 6 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 8 AND "movie_info_idx"."movie_id" <= 36867; +SELECT "title"."series_years", COUNT(*) AS agg_0 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 2518139 AND "movie_info_idx"."id" <= 6872009 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 120764 AND "title"."season_nr" >= 7.463137283013427 AND "movie_keyword"."movie_id" >= 1208236 AND "movie_keyword"."keyword_id" <= 2133; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 2518521 AND "movie_info_idx"."info_type_id" <= 113; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("info_type"."info") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 3058130 AND "name"."imdb_index" != '%LVII%'; +SELECT SUM("movie_companies"."movie_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" != 2 AND "movie_companies"."company_id" <= 82791; +SELECT SUM("title"."production_year") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%production companies%' AND "title"."episode_nr" >= 7.476691793898615 AND "movie_companies"."company_type_id" <= 1 AND "title"."id" <= 23972; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_type"."id" <= 4; +SELECT "title"."imdb_index", SUM("movie_info"."info_type_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" = 16 AND "title"."episode_of_id" >= 1461322.7291195202 AND "movie_info"."movie_id" >= 2018342 AND "movie_info"."id" >= 4400082 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "info_type"."info", COUNT(*) as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" != 99 AND "info_type"."info" != '%locations%' GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("person_info"."note") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20712104; +SELECT MAX("movie_info"."info") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7, MAX("title"."episode_nr") AS agg_8, MAX("title"."id") AS agg_9, MAX("title"."title") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."id" <= 73911268 AND "title"."episode_of_id" <= 2511283 AND "movie_info_idx"."id" <= 6839878; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."kind_id" <= 1997 AND "movie_info"."id" <= 73930563; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 6112; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 1741186 AND "person_info"."info_type_id" != 16 AND "aka_name"."person_id" <= 2572854; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info"."note") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1996 AND "movie_info"."id" <= 73810039; +SELECT SUM("movie_keyword"."keyword_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 191; +SELECT "movie_companies"."company_type_id", AVG("title"."kind_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XV%' AND "movie_companies"."id" <= 2078738 AND "movie_companies"."company_id" <= 111 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_info"."info") AS agg_0, MAX("movie_info"."note") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_info"."id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 3.9343995359000115 AND "movie_info"."id" <= 295906; +SELECT "title"."kind_id", SUM("movie_info_idx"."info_type_id") as agg_0, SUM("title"."kind_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" != 101 AND "movie_info_idx"."id" <= 393554 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7, MAX("movie_info"."note") AS agg_8, MAX("movie_info_idx"."note") AS agg_9, MAX("title"."production_year") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "title"."kind_id" <= 7; +SELECT "title"."kind_id", SUM("movie_info_idx"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info_idx"."movie_id" >= 261369 AND "movie_info"."info_type_id" <= 9 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT COUNT(*) AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%production companies%' AND "company_type"."id" <= 1 AND "movie_companies"."company_id" <= 3563; +SELECT SUM("movie_companies"."company_id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%special effects companies%' AND "movie_companies"."id" >= 2031849 AND "movie_companies"."company_id" >= 68111; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[ad]%' AND "company_name"."id" <= 1837; +SELECT "cast_info"."role_id", AVG("cast_info"."role_id") AS agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 15564804 AND "name"."id" <= 20751718 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("cast_info"."person_role_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 12617042 AND "title"."id" <= 12525093; +SELECT AVG("movie_companies"."company_type_id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 1845748 AND "movie_companies"."company_type_id" != 1 AND "movie_companies"."id" >= 1493738 AND "company_name"."id" IS NOT NULL; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."imdb_index") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("aka_name"."surname_pcode") AS agg_7, MAX("char_name"."md5sum") AS agg_8, MAX("cast_info"."id") AS agg_9, MAX("cast_info"."nr_order") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%M654%' AND "aka_name"."person_id" <= 82835 AND "char_name"."id" <= 55801; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."gender") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 73094; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 2844 AND "movie_keyword"."movie_id" >= 1991185 AND "keyword"."id" <= 52186 AND "movie_keyword"."id" >= 2863149; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" != '%production companies%' AND "title"."production_year" <= 2009.315339626231 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 439129 AND "movie_companies"."company_type_id" <= 2 AND "company_type"."kind" != '%production companies%' AND "company_type"."id" >= 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "info_type"."info", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 1638702 AND "movie_info_idx"."info_type_id" = 101 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 34661 AND "movie_keyword"."id" >= 3517420; +SELECT SUM("char_name"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" >= 1749239 AND "title"."season_nr" <= 1.7338972428601749; +SELECT "movie_link"."movie_id", AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" <= 126108 AND "link_type"."id" != 6 GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT "movie_link"."link_type_id", SUM("title"."kind_id") as agg_0, AVG("title"."production_year") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 22.44277992087475 AND "link_type"."id" <= 4 AND "link_type"."link" != '%featured in%' GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("char_name"."surname_pcode") AS agg_8, MAX("cast_info"."nr_order") AS agg_9, MAX("cast_info"."person_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 15688412 AND "cast_info"."id" <= 180585700 AND "aka_name"."person_id" <= 20712912; +SELECT "title"."imdb_index", AVG("keyword"."id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1961-1962%' AND "movie_keyword"."keyword_id" <= 257 AND "keyword"."id" <= 512 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 33470; +SELECT MAX("aka_name"."id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("person_info"."person_id") AS agg_6, MAX("person_info"."id") AS agg_7, MAX("name"."name") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("name"."md5sum") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%D143%' AND "name"."id" <= 63393 AND "aka_name"."id" <= 10640; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" != 1 AND "title"."production_year" <= 2004.2756786196549; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <> 1 AND "aka_name"."person_id" <= 49863; +SELECT "company_name"."country_code", SUM("title"."season_nr") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1939.9616908433966 AND "movie_companies"."company_id" <= 21283 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("movie_keyword"."movie_id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 238; +SELECT AVG("company_type"."id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" >= 488026 AND "company_type"."id" = 2; +SELECT COUNT(*) as agg_0, SUM("person_info"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" != '%H456%' AND "name"."id" <= 3883056 AND "name"."gender" != '%f%'; +SELECT COUNT(*) as agg_0, SUM("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 1769762 AND "movie_companies"."company_id" <= 365 AND "company_type"."id" = 2; +SELECT AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" <= 1961232 AND "name"."imdb_index" != '%LIV%' AND "aka_name"."person_id" IS NOT NULL; +SELECT "info_type"."id", AVG("info_type"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" <= 1781485 AND "info_type"."id" >= 14 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[ki]%' AND "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."movie_id" <= 38437 AND "company_type"."id" <= 1; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("company_name"."name") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."title") AS agg_8, MAX("title"."phonetic_code") AS agg_9, MAX("movie_companies"."note") AS agg_10, MAX("title"."kind_id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[ba]%' AND "company_name"."id" <= 1950 AND "movie_companies"."id" <= 48076; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT COUNT(*) as agg_0, AVG("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 42375 AND "movie_keyword"."movie_id" >= 1996698 AND "movie_keyword"."id" <= 2571958; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 58797 AND "title"."episode_of_id" <= 1120236.9354782717; +SELECT SUM("person_info"."id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" >= 1919112 AND "person_info"."id" <= 2940014 AND "name"."gender" != '%f%' AND "person_info"."info_type_id" = 15; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 71941; +SELECT "company_type"."id", SUM("movie_companies"."company_type_id") AS agg_0, COUNT(*) AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4 AND "movie_companies"."company_id" <= 1171878 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT SUM("title"."kind_id") as agg_0, AVG("title"."kind_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 962976.7853256721 AND "movie_keyword"."id" <= 3745295; +SELECT "name"."gender", SUM("name"."id") as agg_0, SUM("aka_name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 53421 AND "name"."surname_pcode" != '%L645%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("char_name"."imdb_index") AS agg_0, MAX("char_name"."md5sum") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("char_name"."name") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."note") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <= 2 AND "char_name"."imdb_index" <> '%I%' AND "char_name"."id" <= 27286; +SELECT MAX("name"."id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."name") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "person_info"."id" <= 43721; +SELECT "cast_info"."role_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_id" <= 802320 AND "char_name"."imdb_index" != '%II%' AND "cast_info"."person_role_id" <= 1940277.5026716427 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT AVG("cast_info"."role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" >= 1626826 AND "char_name"."id" <= 950594 AND "cast_info"."role_id" != 1 AND "title"."id" <= 601117; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 2298369 AND "keyword"."id" >= 12319; +SELECT AVG("movie_companies"."company_type_id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 1981745 AND "movie_companies"."company_type_id" <= 2 AND "movie_companies"."id" >= 1670437 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT AVG("company_type"."id") as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 9831 AND "movie_companies"."movie_id" >= 1737713; +SELECT AVG("cast_info"."nr_order") AS agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id"; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."id") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20651038; +SELECT "title"."series_years", SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 47571 AND "movie_keyword"."keyword_id" >= 4499 AND "movie_keyword"."movie_id" >= 2435996 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("aka_name"."name") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 15549068; +SELECT COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" = 25 AND "aka_name"."person_id" <= 1936969 AND "aka_name"."id" >= 661967; +SELECT "company_type"."id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 2417852 AND "company_name"."country_code" != '%[mx]%' AND "company_type"."id" >= 1 AND "movie_companies"."movie_id" <= 2117995 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 2507403 AND "company_name"."id" >= 94069; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 2965 AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("company_name"."name_pcode_sf") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 1 AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "title"."kind_id", SUM("title"."id") as agg_0, AVG("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 7633 AND "title"."kind_id" <= 1462 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("name"."name") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("name"."gender") AS agg_6, MAX("aka_name"."md5sum") AS agg_7, MAX("aka_name"."name_pcode_cf") AS agg_8, MAX("person_info"."person_id") AS agg_9, MAX("name"."id") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" <> '%LXX%' AND "aka_name"."surname_pcode" <> '%M614%' AND "person_info"."info_type_id" <= 15 AND "name"."id" <= 62024; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 603.0413438530784 AND "title"."production_year" >= 2010.8549897362748 AND "movie_info"."id" >= 7103496; +SELECT MAX("movie_info"."info") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 4826; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 1; +SELECT SUM("keyword"."id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 22445214; +SELECT "movie_companies"."company_type_id", SUM("company_name"."id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 2290651 AND "company_name"."country_code" != '%[cl]%' AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."company_id" >= 24721 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 58261 AND "company_name"."country_code" != '%[iq]%' AND "movie_companies"."company_type_id" != 1 AND "movie_companies"."company_id" <= 470; +SELECT "movie_info"."info_type_id", SUM("title"."kind_id") AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12525157 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT SUM("title"."kind_id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."season_nr" <= 2.553411391537704 AND "title"."production_year" <= 1968.735494413297 AND "movie_info"."info_type_id" >= 25 AND "title"."kind_id" >= 7; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 51.99248713061697 AND "title"."episode_of_id" <= 9594; +SELECT SUM("cast_info"."person_id") AS agg_0, AVG("cast_info"."nr_order") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 1356130 AND "cast_info"."id" <= 11837393 AND "cast_info"."role_id" <= 10 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("info_type"."info") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6858152 AND "title"."kind_id" <= 2005; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 341976 AND "char_name"."imdb_index" != '%IV%' AND "cast_info"."movie_id" >= 1562211 AND "cast_info"."id" >= 5120371 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."name") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1173749 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 24455; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."production_year" >= 2006.2478019126531 AND "movie_companies"."company_id" <= 4356; +SELECT AVG("cast_info"."nr_order") as agg_0, SUM("title"."production_year") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."imdb_index" != '%II%' AND "cast_info"."person_role_id" >= 90973.5822483201 AND "title"."production_year" <= 2010.9710078695477; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("name"."gender") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("name"."imdb_id") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("cast_info"."person_role_id") AS agg_8, MAX("cast_info"."person_id") AS agg_9, MAX("aka_name"."imdb_index") AS agg_10, MAX("aka_name"."id") AS agg_11 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 20635799 AND "name"."id" <= 20693166 AND "cast_info"."person_id" <= 7606977; +SELECT MAX("name"."name") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 18323; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."id" >= 1625834 AND "movie_companies"."movie_id" <= 1761730; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 212605 AND "movie_companies"."id" <= 1291474 AND "movie_companies"."company_type_id" >= 2; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" >= 1682709 AND "info_type"."info" != '%LD spaciality%' AND "info_type"."id" >= 101 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT COUNT(*) as agg_0, SUM("company_name"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 2122203 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT "title"."kind_id", SUM("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 1444503.4087321565 AND "title"."series_years" != '%1980-2011%' GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("person_info"."info") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%m%' AND "name"."id" <= 26636; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" >= 9895 AND "company_type"."id" = 1 AND "movie_companies"."movie_id" <= 1926464 AND "company_name"."id" <= 21554 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."production_year" <= 1989.6943985247312 AND "movie_info"."id" <= 194911; +SELECT MAX("company_type"."id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT SUM("aka_name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" >= 348072 AND "aka_name"."person_id" <= 2649256 AND "person_info"."id" >= 2740233; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 112; +SELECT COUNT(*) AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1174487 AND "company_name"."id" <= 1168552; +SELECT COUNT(*) AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 15603530; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 125156 AND "movie_keyword"."id" <= 1489049; +SELECT "aka_name"."surname_pcode", AVG("aka_name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_id" <= 1047749 AND "char_name"."imdb_index" != '%II%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT AVG("company_type"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" >= 82 AND "company_name"."id" <= 97475; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 116819 AND "movie_keyword"."keyword_id" <= 2089 AND "movie_keyword"."movie_id" <= 1959961 AND "movie_keyword"."id" <= 1493265; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XXI%' AND "title"."kind_id" = 1 AND "cast_info"."id" >= 5093915; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 1316 AND "movie_keyword"."id" >= 2767578; +SELECT SUM("title"."episode_nr") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" >= 2.4229540077559917 AND "kind_type"."kind" != '%video movie%' AND "title"."episode_nr" <= 8.932662529783101; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 35871 AND "title"."episode_of_id" <= 9295; +SELECT AVG("movie_companies"."company_id") as agg_0, AVG("title"."production_year") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 14.681415576647838 AND "company_type"."id" >= 1; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT MAX("aka_name"."name") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 15555706; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 6604 AND "movie_keyword"."keyword_id" <= 427; +SELECT "title"."series_years", SUM("cast_info"."movie_id") as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" >= 1279065 AND "char_name"."id" >= 3114818 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 53827; +SELECT AVG("title"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 5.857549550936192 AND "title"."id" <= 1372824 AND "movie_keyword"."movie_id" <= 2229857 AND "title"."series_years" != '%1981-2007%'; +SELECT "title"."series_years", AVG("title"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 2133264 AND "title"."episode_of_id" <= 657793.2589307626 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 69077; +SELECT AVG("movie_info_idx"."id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" = 99 AND "info_type"."id" >= 37 AND "info_type"."info" != '%salary history%' AND "title"."id" <= 2135459; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133046; +SELECT "company_type"."id", COUNT(*) as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_id" >= 13470 AND "movie_companies"."movie_id" <= 1939082 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."id") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."episode_nr" <= 33.21403282263934 AND "cast_info"."nr_order" >= 9.572113576848052 AND "cast_info"."id" <= 313179; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("name"."id") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("aka_name"."person_id") AS agg_6, MAX("name"."imdb_id") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20772515 AND "aka_name"."person_id" <= 20657006; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2443372 AND "movie_keyword"."keyword_id" >= 4284; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 12944245 AND "company_type"."id" <= 4; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 73487046; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 11.942398531732737 AND "title"."season_nr" >= 1.0 AND "title"."id" <= 44154; +SELECT "movie_link"."movie_id", SUM("link_type"."id") as agg_0, SUM("title"."kind_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%unknown link%' AND "title"."kind_id" != 443 GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT "title"."kind_id", AVG("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 35973 AND "title"."season_nr" <= 1.0 AND "title"."id" <= 794373 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("title"."kind_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%followed by%' AND "movie_link"."link_type_id" != 1 AND "movie_link"."linked_movie_id" >= 1999685; +SELECT "title"."series_years", AVG("kind_type"."id") as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%tv series%' AND "title"."episode_nr" <= 3.2778363121385925 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("title"."episode_of_id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" != 2 AND "movie_companies"."company_id" >= 13194; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("company_name"."id") AS agg_8, MAX("company_name"."name_pcode_nf") AS agg_9, MAX("title"."id") AS agg_10, MAX("movie_companies"."note") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2520952 AND "movie_companies"."id" <= 12922490 AND "company_name"."id" <= 1165742; +SELECT COUNT(*) AS agg_0, SUM("person_info"."id") AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" >= 3398471 AND "movie_keyword"."keyword_id" <= 6630 AND "keyword"."id" <= 133246; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 13005720; +SELECT "movie_companies"."company_type_id", COUNT(*) AS agg_0, AVG("movie_companies"."company_type_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 4470 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" = 22 AND "name"."imdb_index" != '%CLVII%'; +SELECT "company_name"."country_code", AVG("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 3.0344044310516525 AND "company_name"."id" <= 234686 AND "title"."production_year" >= 1965.2100117167083 AND "movie_companies"."company_type_id" <= 1 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "company_type"."kind", COUNT(*) AS agg_0, SUM("movie_companies"."company_type_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT "name"."surname_pcode", AVG("name"."id") as agg_0, SUM("person_info"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 1238808 AND "name"."id" >= 738010 AND "name"."surname_pcode" != '%S424%' AND "person_info"."info_type_id" = 27 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 3264869 AND "movie_keyword"."movie_id" <= 2137447 AND "movie_keyword"."keyword_id" <= 1771 AND "keyword"."id" IS NOT NULL; +SELECT "name"."gender", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%CXLIII%' AND "person_info"."info_type_id" >= 22 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."title") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133785 AND "movie_keyword"."id" <= 22542008; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT AVG("info_type"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 2235033 AND "movie_info_idx"."info_type_id" != 100 AND "info_type"."info" != '%LD official retail price%'; +SELECT "movie_info_idx"."info_type_id", SUM("title"."id") as agg_0, AVG("title"."kind_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" >= 629227 AND "movie_info_idx"."info_type_id" = 99 AND "title"."production_year" >= 2010.850326149098 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" >= 631275 AND "movie_info_idx"."movie_id" <= 2313207; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 7780 AND "title"."episode_of_id" <= 897364.9617128469; +SELECT COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" <= 11 AND "title"."series_years" != '%1998-2009%'; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_info"."id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2086398 AND "keyword"."id" <= 35120 AND "movie_keyword"."keyword_id" >= 626 AND "movie_keyword"."id" >= 3414296; +SELECT "company_type"."kind", SUM("company_type"."id") as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 578216 AND "movie_companies"."company_type_id" = 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("keyword"."id") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("aka_name"."name") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("cast_info"."nr_order") AS agg_6, MAX("cast_info"."role_id") AS agg_7, MAX("name"."gender") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("name"."surname_pcode") AS agg_10, MAX("aka_name"."person_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" <= 23620 AND "cast_info"."person_id" <= 23510; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("aka_name"."person_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" <= 12607008 AND "aka_name"."person_id" <= 20716028; +SELECT SUM("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 89143 AND "company_name"."id" >= 7227 AND "company_name"."country_code" != '%[dm]%'; +SELECT "title"."imdb_index", COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" >= 1799270 AND "keyword"."id" <= 65831 AND "movie_keyword"."movie_id" >= 541558 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."imdb_index", AVG("title"."production_year") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" <= 2360835 AND "title"."production_year" >= 1969.370445193551 AND "movie_info"."info_type_id" = 2 AND "movie_info_idx"."id" >= 452296 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("movie_info"."info") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "movie_info"."id" <= 243634; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("cast_info"."person_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.498191008020718 AND "cast_info"."role_id" <> 10 AND "cast_info"."person_role_id" <= 32601; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1170018; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("company_name"."id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 2479 AND "movie_companies"."id" <= 38431; +SELECT "char_name"."imdb_index", AVG("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 684287 AND "char_name"."id" >= 417444 AND "char_name"."imdb_index" != '%D%' AND "cast_info"."person_id" >= 692462 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2008 AND "keyword"."id" <= 133017; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1164722; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133514 AND "movie_keyword"."movie_id" <= 12612695; +SELECT MAX("title"."md5sum") AS agg_0, MAX("kind_type"."kind") AS agg_1, MAX("kind_type"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "title"."production_year" >= 2001.398489111951 AND "kind_type"."kind" <> '%tv movie%' AND "title"."imdb_index" <> '%IX%' AND "title"."kind_id" <= 6; +SELECT COUNT(*) as agg_0, SUM("title"."id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" >= 16 AND "movie_info"."id" >= 4118820; +SELECT COUNT(*) as agg_0, SUM("person_info"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 1118204 AND "person_info"."id" <= 702807 AND "name"."imdb_index" != '%CXXXVIII%'; +SELECT AVG("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."company_type_id" != 1 AND "movie_companies"."movie_id" >= 1001599 AND "title"."id" >= 811380; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("cast_info"."person_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."id" <= 179607719; +SELECT MAX("cast_info"."note") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("cast_info"."role_id") AS agg_7, MAX("title"."episode_of_id") AS agg_8, MAX("title"."id") AS agg_9, MAX("title"."season_nr") AS agg_10, MAX("char_name"."md5sum") AS agg_11, MAX("char_name"."imdb_index") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2001 AND "char_name"."id" <= 15615252 AND "cast_info"."id" <= 180983232; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."title") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."production_year" <= 1945.6709099417476 AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("title"."title") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133163; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133297; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" != 99 AND "title"."season_nr" <= 3.8653075907685404 AND "movie_info"."info_type_id" != 7 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "name"."imdb_index", COUNT(*) as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" != 38 AND "aka_name"."id" <= 420357 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT AVG("title"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "info_type"."info" != '%goofs%'; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 1327756 AND "title"."episode_of_id" <= 2491186.596788558; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."episode_nr" <= 51189.69675995521 AND "movie_info"."movie_id" <= 39989; +SELECT "movie_info"."info_type_id", COUNT(*) as agg_0, AVG("movie_info"."id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."movie_id" >= 1880196 AND "title"."episode_of_id" >= 1313257.2158187232 AND "movie_info"."id" <= 12680484 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."series_years" <> '%1995-2003%' AND "title"."id" <= 28298; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%Q43%' AND "aka_name"."person_id" <= 82868; +SELECT "link_type"."id", AVG("title"."season_nr") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%remake of%' AND "title"."episode_of_id" <= 513567.0483861368 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT "company_name"."country_code", AVG("movie_companies"."company_type_id") AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 13039286 AND "company_name"."id" <= 1173448 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 126317 AND "movie_keyword"."id" <= 1643218 AND "movie_keyword"."movie_id" >= 2163723; +SELECT MAX("name"."gender") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%S16%' AND "name"."id" <= 35652; +SELECT "company_name"."country_code", SUM("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" >= 2927 AND "company_name"."country_code" != '%[to]%' AND "movie_companies"."id" <= 539082 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12583068; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("cast_info"."id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2009.0133622910655 AND "title"."season_nr" <= 1522.051746270414 AND "title"."episode_of_id" <= 7531; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" != 2 AND "movie_companies"."company_id" <= 62139; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 1; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 515; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("company_name"."country_code") AS agg_7, MAX("title"."id") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("company_name"."name") AS agg_10, MAX("company_name"."name_pcode_nf") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 9.011687081965402 AND "company_name"."country_code" <> '%[ni]%' AND "company_name"."id" <= 2324 AND "movie_companies"."company_id" <= 4054; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 1.0209044170979005 AND "title"."season_nr" <= 1.0 AND "movie_companies"."company_id" <= 4441; +SELECT AVG("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 181580 AND "company_name"."country_code" != '%[bj]%'; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1914686 AND "keyword"."id" >= 53916; +SELECT MAX("movie_info"."info") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2004; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."name") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%V246%' AND "name"."id" <= 24206; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."name") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."kind_id" = 1 AND "movie_companies"."company_type_id" = 1 AND "movie_companies"."movie_id" >= 995353 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 76597 AND "movie_keyword"."movie_id" <= 1696026; +SELECT AVG("cast_info"."id") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 15647700; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."name") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20718160 AND "person_info"."info_type_id" <= 39 AND "aka_name"."person_id" <= 20667872; +SELECT "name"."imdb_index", COUNT(*) as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" != '%f%' AND "aka_name"."surname_pcode" != '%H135%' GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("title"."id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("cast_info"."person_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 12461967.107764952 AND "cast_info"."movie_id" <= 42017; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("kind_type"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_nr" <= 78397.96892092259 AND "title"."kind_id" <= 5; +SELECT COUNT(*) AS agg_0, SUM("movie_keyword"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22509070 AND "title"."episode_of_id" <= 2518687; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 40103; +SELECT AVG("keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 17641 AND "movie_keyword"."keyword_id" <= 107287; +SELECT AVG("keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 1722754 AND "movie_keyword"."keyword_id" <= 17575; +SELECT "title"."series_years", SUM("movie_link"."movie_id") as agg_0, AVG("title"."production_year") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 3.7677007803776688 AND "movie_link"."movie_id" >= 68506 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."series_years", AVG("movie_info"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 1085913 AND "movie_info"."movie_id" <= 2033625 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("company_name"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT COUNT(*) as agg_0, AVG("title"."production_year") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%remake of%' AND "title"."production_year" >= 1992.6167176315328 AND "movie_link"."link_type_id" != 9; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 267; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 112935 AND "movie_keyword"."id" >= 515408 AND "movie_keyword"."keyword_id" >= 36545 AND "movie_keyword"."movie_id" <= 2219086; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133297; +SELECT SUM("movie_keyword"."id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 1986612 AND "keyword"."id" <= 118152 AND "movie_keyword"."keyword_id" <= 38432; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("cast_info"."role_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 24792; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT SUM("title"."episode_of_id") as agg_0, AVG("title"."kind_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 443354 AND "title"."episode_of_id" >= 553159.9005909921 AND "title"."season_nr" >= 1.0 AND "movie_info_idx"."info_type_id" != 99; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("movie_info_idx"."note") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "title"."kind_id" <= 1993; +SELECT AVG("aka_name"."id") as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."id" >= 4515215 AND "aka_name"."id" <= 841559 AND "aka_name"."surname_pcode" != '%U212%' AND "cast_info"."role_id" = 9; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 12559302; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 290; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 42 AND "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."movie_id" >= 2361087 AND "title"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 163824 AND "company_name"."country_code" != '%[bn]%' AND "company_type"."id" IS NOT NULL; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."imdb_index") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."movie_id" <= 12569767 AND "char_name"."id" <= 15689442; +SELECT MAX("aka_name"."name") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."imdb_index") AS agg_7, MAX("person_info"."info_type_id") AS agg_8, MAX("person_info"."info") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20742516; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("kind_type"."kind") AS agg_5, MAX("kind_type"."id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7; +SELECT COUNT(*) AS agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" <= 4506299; +SELECT "title"."kind_id", SUM("title"."kind_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" = 1 AND "movie_companies"."movie_id" <= 145346 AND "title"."episode_nr" >= 22.933180453980455 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("aka_name"."md5sum") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 20630588 AND "name"."id" <= 20695845; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."phonetic_code") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 3237; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."id" <= 1273023 AND "title"."season_nr" <= 2.363772236622502 AND "title"."series_years" != '%2012-2013%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%LXVIII%' AND "person_info"."id" >= 2858525 AND "name"."surname_pcode" != '%R361%'; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 53449; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133178; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("char_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("cast_info"."person_id") AS agg_8, MAX("cast_info"."nr_order") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <> 7 AND "cast_info"."person_role_id" <= 23734 AND "char_name"."id" <= 22663; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2002; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" >= 64501 AND "link_type"."link" != '%remade as%' AND "movie_link"."linked_movie_id" <= 1499991 AND "link_type"."id" <= 13 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 44343; +SELECT AVG("aka_name"."id") AS agg_0, COUNT(*) AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 80356; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_info"."note") AS agg_5, MAX("movie_info"."info") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1995-2001%' AND "movie_info"."info_type_id" <= 1; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" >= 141503 AND "company_type"."id" != 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("movie_info_idx"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("char_name"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("char_name"."imdb_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("char_name"."name_pcode_nf") AS agg_10, MAX("title"."md5sum") AS agg_11, MAX("cast_info"."note") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2522231 AND "char_name"."id" <= 15587098; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 412 AND "title"."id" <= 19382; +SELECT AVG("aka_name"."id") as agg_0, SUM("cast_info"."person_role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" != '%Z514%' AND "aka_name"."id" >= 243828 AND "name"."id" IS NOT NULL; +SELECT MAX("title"."title") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 39667; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."id") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("movie_info_idx"."id") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" <= 152115 AND "title"."kind_id" <= 7; +SELECT "title"."imdb_index", SUM("cast_info"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" >= 274749 AND "cast_info"."nr_order" >= 10.572096539406427 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "link_type"."id", AVG("title"."season_nr") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" != 10 AND "title"."season_nr" <= 1.0 AND "movie_link"."id" <= 25534 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT COUNT(*) as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%follows%' AND "title"."season_nr" <= 1.0 AND "title"."episode_of_id" <= 1177784.0434031175; +SELECT COUNT(*) as agg_0, AVG("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" != 3 AND "company_name"."country_code" != '%[fj]%'; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1992.0729487594078 AND "movie_keyword"."keyword_id" <= 169; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 24388; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1972.8734320720741 AND "title"."episode_of_id" <= 6013; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" >= 12103 AND "movie_companies"."id" >= 1917372 AND "company_name"."country_code" != '%[gg]%' AND "movie_companies"."company_id" >= 64098; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 12989832; +SELECT "name"."imdb_index", SUM("person_info"."info_type_id") as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 51794 AND "person_info"."info_type_id" = 36 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133753; +SELECT SUM("title"."production_year") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 3633957 AND "movie_info"."info_type_id" != 3 AND "title"."kind_id" != 5; +SELECT COUNT(*) as agg_0, AVG("title"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 2172929 AND "title"."episode_nr" >= 2.5227900238279277; +SELECT "title"."imdb_index", AVG("movie_companies"."company_id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 151220 AND "company_name"."country_code" != '%[bn]%' AND "title"."kind_id" != 7 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."id") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("title"."title") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."episode_of_id" <= 2523141 AND "cast_info"."person_id" <= 7601588; +SELECT MAX("title"."id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("kind_type"."id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."imdb_index" <> '%IV%' AND "kind_type"."kind" <> '%episode%' AND "kind_type"."id" <= 1; +SELECT AVG("movie_keyword"."id") as agg_0, AVG("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 13604 AND "movie_keyword"."id" >= 3568479 AND "movie_keyword"."movie_id" <= 1811052; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_companies"."id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 3845; +SELECT COUNT(*) as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."movie_id" >= 1620986 AND "title"."id" IS NOT NULL; +SELECT SUM("movie_companies"."movie_id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[an]%' AND "movie_companies"."company_type_id" = 2 AND "movie_companies"."id" >= 1622256 AND "movie_companies"."company_id" <= 79252; +SELECT SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%CVII%' AND "person_info"."info_type_id" = 17; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("kind_type"."kind") AS agg_2, MAX("kind_type"."id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 12546391 AND "kind_type"."id" <= 7; +SELECT SUM("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" >= 698646 AND "movie_companies"."id" >= 2123106; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("company_name"."imdb_id") AS agg_6, MAX("company_name"."name_pcode_sf") AS agg_7, MAX("title"."episode_nr") AS agg_8, MAX("movie_companies"."note") AS agg_9, MAX("title"."series_years") AS agg_10, MAX("title"."phonetic_code") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12560621 AND "company_name"."id" <= 1164222; +SELECT MAX("title"."title") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("company_name"."name_pcode_nf") AS agg_7, MAX("movie_companies"."id") AS agg_8, MAX("company_name"."imdb_id") AS agg_9, MAX("title"."md5sum") AS agg_10, MAX("title"."id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1169128 AND "movie_companies"."id" <= 13001187; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1994 AND "movie_info_idx"."movie_id" <= 12538933 AND "info_type"."id" <= 112; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT AVG("keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 2568309 AND "keyword"."id" <= 63946; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."title") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "movie_keyword"."movie_id" <= 12594547; +SELECT "movie_link"."link_type_id", COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 18.279801626374926 AND "movie_link"."link_type_id" >= 5 AND "movie_link"."id" >= 20181 AND "link_type"."id" >= 10 GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT "title"."series_years", AVG("cast_info"."nr_order") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" >= 1203206 AND "title"."production_year" >= 1966.8725733645613 AND "title"."episode_nr" <= 1473.9553344334154 AND "cast_info"."id" <= 25333452 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT "title"."imdb_index", SUM("title"."kind_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 28543.920726341228 AND "keyword"."id" <= 93690 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("company_name"."id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 13008717 AND "company_name"."id" <= 1166215; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 17785 AND "movie_companies"."movie_id" <= 2364612 AND "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_type_id" = 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("person_info"."person_id") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("name"."name") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" <= 39; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT SUM("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[ne]%' AND "company_name"."id" >= 214328 AND "movie_companies"."id" >= 1735167 AND "title"."id" IS NOT NULL; +SELECT "company_type"."kind", SUM("movie_companies"."movie_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT COUNT(*) AS agg_0, AVG("movie_keyword"."movie_id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 1; +SELECT AVG("cast_info"."person_role_id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <= 1 AND "char_name"."id" <= 1633555 AND "cast_info"."movie_id" <= 2325509 AND "char_name"."imdb_index" != '%II%'; +SELECT COUNT(*) AS agg_0, SUM("movie_keyword"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 24573; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 62305 AND "movie_keyword"."id" <= 1381936 AND "title"."production_year" <= 1994.4008648172132; +SELECT MAX("person_info"."info") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("person_info"."note") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20646162 AND "person_info"."person_id" <= 20664579; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133780 AND "movie_keyword"."id" <= 22589559; +SELECT SUM("movie_companies"."company_id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 1393317 AND "company_type"."id" >= 1; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1976.6940260729784 AND "keyword"."id" <= 70761 AND "title"."imdb_index" != '%XIII%'; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2271994 AND "movie_keyword"."keyword_id" <= 2389 AND "keyword"."id" <= 14624; +SELECT AVG("title"."production_year") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" >= 44624 AND "title"."kind_id" != 1 AND "link_type"."id" IS NOT NULL; +SELECT "link_type"."link", SUM("title"."episode_nr") as agg_0, AVG("link_type"."id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 1591447 AND "movie_link"."link_type_id" >= 4 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 16332; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."title") AS agg_2, MAX("info_type"."info") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2518729 AND "movie_info_idx"."id" <= 6849766 AND "info_type"."id" <= 113; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."series_years") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."episode_of_id" <= 3397; +SELECT AVG("movie_keyword"."movie_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 13489; +SELECT MAX("cast_info"."note") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("char_name"."name_pcode_nf") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" <= 28677; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("movie_companies"."id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1167680 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("aka_name"."id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <= 1 AND "aka_name"."id" <= 11026; +SELECT "aka_name"."imdb_index", AVG("aka_name"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."nr_order" <= 13.399451373133042 AND "cast_info"."person_role_id" <= 38.6787507558005 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "title"."series_years", AVG("title"."episode_nr") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."company_id" <= 66 AND "movie_companies"."movie_id" <= 1974444 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 557317 AND "person_info"."info_type_id" >= 21; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22534555 AND "title"."id" <= 12539515; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."episode_nr" >= 12.872091955038288 AND "movie_companies"."company_id" <= 2250; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" >= 1704625 AND "keyword"."id" >= 106377 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."imdb_index", SUM("movie_companies"."company_id") AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12608290 AND "movie_companies"."movie_id" <= 12586261 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 126448 AND "movie_keyword"."keyword_id" >= 6506 AND "movie_keyword"."movie_id" <= 459689 AND "movie_keyword"."id" <= 3548811 AND "title"."id" IS NOT NULL; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."gender") AS agg_5, MAX("person_info"."info") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("name"."surname_pcode") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."person_id" <= 20800776; +SELECT MAX("company_name"."name") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("company_name"."country_code") AS agg_8, MAX("title"."id") AS agg_9, MAX("company_name"."id") AS agg_10, MAX("title"."episode_nr") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1997 AND "company_name"."id" <= 1170220 AND "movie_companies"."movie_id" <= 12599091; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."country_code") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1168546; +SELECT SUM("movie_info_idx"."movie_id") as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 2.8929727243473087 AND "movie_info_idx"."id" <= 1264086; +SELECT "link_type"."id", AVG("title"."episode_nr") as agg_0, SUM("title"."kind_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" >= 5 AND "link_type"."id" >= 17 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."name") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("person_info"."info_type_id") AS agg_7, MAX("aka_name"."name_pcode_cf") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 23721 AND "person_info"."id" <= 43498; +SELECT "cast_info"."role_id", SUM("cast_info"."person_id") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <> 1 AND "cast_info"."person_role_id" <= 26966 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("name"."name") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("person_info"."note") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%f%' AND "name"."id" <= 31951 AND "person_info"."id" <= 28357; +SELECT "title"."series_years", SUM("title"."episode_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 1 AND "title"."kind_id" <= 1 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" != 2 AND "title"."episode_nr" <= 135.14599983105384; +SELECT AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 322.9829230421781 AND "movie_companies"."company_id" >= 18487 AND "title"."episode_nr" <= 4.487820687865943 AND "title"."id" <= 254471; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 61543 AND "movie_keyword"."movie_id" <= 1850709 AND "movie_keyword"."id" <= 2643478; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 7810 AND "movie_keyword"."keyword_id" <= 36943 AND "movie_keyword"."id" <= 2101951 AND "movie_keyword"."movie_id" >= 1875551; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_id" <= 709; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 22587921; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."id") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39 AND "name"."id" <= 20642977; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 4951 AND "keyword"."id" >= 27545 AND "movie_keyword"."id" >= 1644473; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%production process protocol%' AND "info_type"."id" <= 1; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 1705327 AND "movie_info_idx"."info_type_id" = 99 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT SUM("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" >= 2274492 AND "movie_companies"."company_type_id" <= 2 AND "company_type"."kind" != '%special effects companies%' AND "company_type"."id" = 2; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 1109505 AND "info_type"."id" >= 45 AND "title"."kind_id" <= 1 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" >= 574901 AND "company_name"."id" <= 179098 AND "title"."id" IS NOT NULL; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."name") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20652032; +SELECT AVG("movie_info_idx"."movie_id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%LD laserdisc title%' AND "movie_info_idx"."id" <= 454456 AND "info_type"."id" <= 109 AND "movie_info_idx"."info_type_id" = 99; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1168406; +SELECT AVG("title"."kind_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1045 AND "company_type"."id" = 1 AND "title"."production_year" <= 2010.6653034622232; +SELECT "name"."gender", SUM("person_info"."id") AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%Q51%' AND "person_info"."id" <= 45247 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 25.174423754278475 AND "title"."season_nr" >= 2.204668560530313 AND "movie_info"."info_type_id" <= 1; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT SUM("aka_name"."id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" != '%CI%' AND "aka_name"."surname_pcode" != '%G523%' AND "person_info"."person_id" <= 146898; +SELECT AVG("movie_link"."linked_movie_id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" <= 9 AND "title"."season_nr" >= 5.820734825397428; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."gender") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20815295 AND "person_info"."id" <= 14692446; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 33133; +SELECT "person_info"."info_type_id", AVG("person_info"."info_type_id") as agg_0, SUM("name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 451958 AND "person_info"."person_id" >= 481257 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 77339 AND "movie_keyword"."keyword_id" >= 737; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4 AND "movie_companies"."company_id" <= 1164139; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 2040 AND "movie_companies"."company_type_id" <= 1; +SELECT "aka_name"."surname_pcode", SUM("cast_info"."role_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."surname_pcode" != '%N12%' AND "cast_info"."nr_order" >= 0.5810809714510177 AND "cast_info"."movie_id" <= 1681752 AND "aka_name"."person_id" >= 3319653 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("company_name"."name") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 12567446 AND "company_name"."id" <= 1173836; +SELECT COUNT(*) AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1173026; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_type"."id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "movie_companies"."company_type_id", SUM("title"."production_year") as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" = 2 AND "company_type"."kind" != '%production companies%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("char_name"."name_pcode_nf") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 113; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[ls]%' AND "movie_companies"."company_id" <= 1526; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "title"."episode_of_id" <= 2518821; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("aka_name"."id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" >= 1.8939093474033095 AND "aka_name"."id" <= 7959; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 3894; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" != '%m%' AND "person_info"."info_type_id" = 24 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "name"."imdb_index", SUM("person_info"."person_id") AS agg_0, SUM("person_info"."info_type_id") AS agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 14737344 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2010.7691582217933 AND "movie_info_idx"."info_type_id" != 99 AND "title"."id" <= 2427209; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("aka_name"."person_id") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("char_name"."imdb_index") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("char_name"."name") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."nr_order" >= 6.925208930577663 AND "cast_info"."role_id" <> 9 AND "aka_name"."id" <= 12011 AND "char_name"."id" <= 57190; +SELECT MAX("company_type"."id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%production companies%' AND "company_name"."id" <= 3382 AND "company_type"."id" <= 1; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 2144 AND "movie_keyword"."movie_id" <= 1134917; +SELECT COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."person_id" >= 493358 AND "title"."episode_of_id" <= 1521156.708683979 AND "cast_info"."nr_order" >= 10.448895239250744; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("char_name"."name_pcode_nf") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("char_name"."md5sum") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15700612 AND "cast_info"."person_role_id" <= 15585455; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 1173702; +SELECT SUM("title"."season_nr") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 3037488 AND "keyword"."id" <= 63797 AND "title"."episode_of_id" <= 1107585.8154039267 AND "title"."id" <= 427932; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("title"."title") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("movie_companies"."company_id") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("movie_companies"."movie_id") AS agg_10, MAX("title"."episode_nr") AS agg_11 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[br]%' AND "company_name"."id" <= 3040 AND "title"."episode_of_id" <= 3064; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" >= 427208 AND "aka_name"."id" >= 312664 AND "cast_info"."role_id" >= 8 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."kind_id" >= 2 AND "keyword"."id" IS NOT NULL; +SELECT "link_type"."link", SUM("title"."kind_id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1954.717005767756 AND "movie_link"."movie_id" >= 100414 AND "title"."season_nr" >= 1.0198950922891887 AND "movie_link"."linked_movie_id" <= 1718452 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT COUNT(*) as agg_0, SUM("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2010.699870700938 AND "movie_keyword"."movie_id" <= 1795308 AND "title"."kind_id" <= 7; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."id" <= 26776; +SELECT MAX("title"."title") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("movie_companies"."company_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."movie_id" <= 42168 AND "title"."episode_of_id" <= 6674; +SELECT AVG("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%VII%' AND "title"."kind_id" != 7 AND "movie_companies"."company_id" >= 9204; +SELECT SUM("person_info"."person_id") as agg_0, AVG("name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 748661 AND "person_info"."info_type_id" = 17; +SELECT "name"."gender", COUNT(*) as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" >= 352006 AND "aka_name"."person_id" <= 1768571 AND "person_info"."info_type_id" = 15 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "info_type"."id", SUM("title"."id") as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 53.381101475255015 AND "info_type"."id" >= 26 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("cast_info"."person_id") AS agg_7, MAX("title"."episode_of_id") AS agg_8, MAX("title"."id") AS agg_9, MAX("char_name"."surname_pcode") AS agg_10, MAX("cast_info"."nr_order") AS agg_11, MAX("cast_info"."role_id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 37.07501579066388 AND "title"."episode_of_id" <= 5578 AND "char_name"."id" <= 22800; +SELECT SUM("keyword"."id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 2130732 AND "keyword"."id" <= 131063; +SELECT "link_type"."id", AVG("title"."season_nr") as agg_0, AVG("movie_link"."id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" <= 6 AND "link_type"."id" != 2 AND "title"."season_nr" >= 3.8488853364111266 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" != 1 AND "movie_companies"."id" >= 1779246 AND "movie_companies"."company_id" <= 74537; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 20654609 AND "cast_info"."person_role_id" <= 15671161; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("char_name"."md5sum") AS agg_3, MAX("char_name"."surname_pcode") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("char_name"."imdb_index") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("char_name"."imdb_id") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("char_name"."id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" <= 23513; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 1067259 AND "cast_info"."nr_order" <= 11.707157870046661 AND "cast_info"."person_role_id" >= 364874.7870426801 AND "cast_info"."id" <= 3312246 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "name"."surname_pcode", AVG("name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."imdb_index" != '%CLX%' AND "aka_name"."person_id" <= 950394 AND "name"."gender" != '%f%' AND "cast_info"."role_id" >= 2 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."title") AS agg_8, MAX("title"."series_years") AS agg_9, MAX("title"."phonetic_code") AS agg_10, MAX("company_name"."name_pcode_sf") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 1541421 AND "keyword"."id" <= 115037 AND "movie_keyword"."movie_id" >= 1074027 AND "movie_keyword"."keyword_id" <= 1465; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" >= 2.9461260480302016 AND "kind_type"."id" != 2 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 64655 AND "title"."episode_of_id" <= 1204065.0376807156 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("char_name"."md5sum") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."imdb_index") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("char_name"."surname_pcode") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_id" <= 7640216; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 93038 AND "movie_keyword"."keyword_id" <= 820; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("kind_type"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 13556; +SELECT COUNT(*) as agg_0, AVG("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 221341 AND "movie_companies"."movie_id" <= 1709474 AND "movie_companies"."id" >= 2164706; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("company_name"."name_pcode_sf") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8, MAX("title"."phonetic_code") AS agg_9, MAX("company_name"."name_pcode_nf") AS agg_10, MAX("title"."series_years") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1941.5871269250677 AND "movie_companies"."company_id" <= 2790 AND "company_name"."id" <= 1390; +SELECT AVG("movie_keyword"."id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 41680; +SELECT AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1991-1997%' AND "movie_keyword"."id" <= 331436; +SELECT "name"."surname_pcode", SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 2922147 AND "person_info"."person_id" >= 819266 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("name"."gender") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("name"."name") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" <> '%B64%' AND "name"."id" <= 63571; +SELECT MAX("name"."id") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."gender") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 51428; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20798861 AND "person_info"."id" <= 14782822; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("aka_name"."id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20835746 AND "cast_info"."person_role_id" <= 15659739; +SELECT "name"."gender", AVG("name"."id") AS agg_0, AVG("person_info"."id") AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20707059 AND "person_info"."info_type_id" <= 39 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 8201 AND "movie_companies"."company_type_id" <= 2 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 2829 AND "company_name"."id" <= 154633; +SELECT MAX("company_type"."id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 23.473360272957194 AND "company_type"."id" <= 1 AND "title"."episode_of_id" <= 6371; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133889; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 1673502 AND "keyword"."id" <= 28383; +SELECT "aka_name"."imdb_index", AVG("cast_info"."person_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" >= 680084 AND "aka_name"."id" >= 729605 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6, MAX("cast_info"."role_id") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("char_name"."imdb_id") AS agg_9, MAX("cast_info"."note") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <= 1 AND "char_name"."id" <= 32484 AND "aka_name"."id" <= 9283; +SELECT "info_type"."info", COUNT(*) AS agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6886170 AND "info_type"."id" <= 113 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("kind_type"."kind") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" <= 2007.819555474049 AND "title"."id" <= 18541; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 135 AND "movie_keyword"."movie_id" <= 23004; +SELECT SUM("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 158268 AND "company_type"."kind" != '%special effects companies%' AND "movie_companies"."movie_id" <= 1646466; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 48594 AND "title"."episode_of_id" <= 7006; +SELECT "company_type"."id", AVG("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" >= 14071 AND "movie_companies"."movie_id" <= 433597 AND "movie_companies"."company_type_id" >= 2 AND "company_name"."id" >= 6856 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT SUM("movie_keyword"."id") as agg_0, AVG("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 1608699 AND "keyword"."id" >= 28073; +SELECT AVG("person_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" >= 17 AND "name"."id" >= 4054202 AND "aka_name"."id" >= 328955; +SELECT "title"."kind_id", SUM("title"."kind_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 733464 AND "movie_companies"."company_id" <= 64446 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 22980 AND "person_info"."id" <= 55432; +SELECT AVG("movie_info_idx"."id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 776043 AND "movie_info_idx"."info_type_id" != 112 AND "movie_info_idx"."movie_id" <= 1573955 AND "info_type"."info" != '%LD label%'; +SELECT SUM("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 451 AND "movie_companies"."company_id" <= 28812 AND "company_name"."country_code" != '%[vi]%'; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("company_type"."kind") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."name") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("person_info"."info_type_id") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("name"."id") AS agg_9, MAX("aka_name"."imdb_index") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT COUNT(*) AS agg_0 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id"; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" <= 1; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1992.8334323357572 AND "movie_info"."id" <= 166831; +SELECT AVG("movie_companies"."movie_id") AS agg_0, COUNT(*) AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 3140; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113 AND "movie_info_idx"."id" <= 6896119; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" >= 6 AND "title"."episode_of_id" <= 1227208.662579411 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."title") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1998; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("name"."id") AS agg_6, MAX("person_info"."info") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("aka_name"."name") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%LXII%' AND "name"."surname_pcode" <> '%F53%' AND "aka_name"."id" <= 8493 AND "person_info"."person_id" <= 24024; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 2.1658518511787044 AND "title"."production_year" <= 1999.62982812105 AND "title"."kind_id" <= 4; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."note") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1169969 AND "movie_companies"."company_id" <= 1165201; +SELECT SUM("movie_link"."linked_movie_id") as agg_0, SUM("movie_link"."linked_movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 1755942 AND "title"."kind_id" != 2 AND "movie_link"."movie_id" >= 6959 AND "movie_link"."link_type_id" <= 9; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("aka_name"."surname_pcode") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("name"."name") AS agg_6, MAX("name"."surname_pcode") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "name"."id" <= 23853; +SELECT AVG("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 71 AND "movie_info_idx"."movie_id" >= 1877046 AND "movie_info_idx"."info_type_id" <= 101; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 29338 AND "movie_keyword"."keyword_id" >= 17957 AND "movie_keyword"."id" <= 2633075 AND "movie_keyword"."movie_id" <= 2353909; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."company_id" <= 1641; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("char_name"."md5sum") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("char_name"."imdb_id") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 3.07831012981728 AND "cast_info"."person_id" <= 28427; +SELECT "movie_info_idx"."info_type_id", SUM("title"."episode_nr") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2009.9145107684833 AND "movie_info_idx"."id" >= 375441 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT COUNT(*) as agg_0, AVG("title"."season_nr") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%tv mini series%' AND "kind_type"."id" >= 6 AND "title"."kind_id" = 7; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("movie_companies"."note") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 12631438; +SELECT "title"."series_years", SUM("title"."kind_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 33268 AND "movie_keyword"."id" <= 844759 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "aka_name"."imdb_index", SUM("aka_name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 1772919 AND "name"."surname_pcode" != '%K612%' AND "person_info"."person_id" >= 1620112 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_type_id") as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 778973 AND "movie_companies"."company_type_id" != 1 AND "company_name"."id" >= 116209 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."imdb_index", SUM("title"."episode_nr") as agg_0, SUM("title"."season_nr") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "movie_info_idx"."movie_id" >= 60692 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2306180 AND "movie_keyword"."keyword_id" <= 16312 AND "keyword"."id" <= 95703 AND "movie_keyword"."id" <= 548501; +SELECT COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" >= 2004702 AND "title"."kind_id" != 7 AND "title"."production_year" <= 2009.3861388081098; +SELECT "title"."series_years", AVG("keyword"."id") AS agg_0, SUM("title"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1997 AND "keyword"."id" <= 133837 AND "movie_keyword"."keyword_id" <= 133999 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."movie_id") as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 32 AND "movie_info_idx"."info_type_id" >= 100 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 527813 AND "movie_companies"."movie_id" <= 2460925 AND "company_name"."country_code" != '%[gr]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "company_name"."country_code", AVG("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 64757 AND "company_name"."id" >= 108496 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 949386.0619143385 AND "keyword"."id" >= 65565 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "movie_info_idx"."info_type_id", COUNT(*) AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info"."info_type_id" <= 1 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "info_type"."id", AVG("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" != 99 AND "info_type"."info" != '%LD quality of source%' AND "movie_info_idx"."id" >= 827380 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "info_type"."id", SUM("title"."production_year") as agg_0, AVG("title"."season_nr") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" >= 517405 AND "movie_info_idx"."movie_id" >= 2285701 AND "movie_info_idx"."info_type_id" != 100 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%LD disc size%' AND "info_type"."id" <= 1; +SELECT SUM("company_type"."id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" = 1 AND "movie_companies"."id" <= 286769; +SELECT "title"."imdb_index", COUNT(*) AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1991 AND "company_name"."id" <= 1173081 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "name"."surname_pcode", COUNT(*) as agg_0, SUM("aka_name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" >= 198638 AND "name"."surname_pcode" != '%W626%' AND "aka_name"."surname_pcode" != '%R354%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("company_type"."kind") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 1 AND "title"."episode_of_id" <= 5259; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "company_type"."id" <= 1; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("info_type"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1999 AND "info_type"."id" <= 113 AND "movie_info_idx"."info_type_id" <= 113; +SELECT AVG("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" >= 1 AND "company_name"."country_code" != '%[py]%' AND "movie_companies"."id" <= 1917833 AND "company_name"."id" >= 86169; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 397; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12526737 AND "title"."episode_of_id" <= 2526063; +SELECT SUM("aka_name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" != '%f%' AND "name"."imdb_index" != '%CLXXIII%' AND "name"."surname_pcode" != '%J613%' AND "aka_name"."person_id" >= 1832727; +SELECT AVG("movie_keyword"."id") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 1189484 AND "keyword"."id" <= 85503 AND "movie_keyword"."keyword_id" >= 2980; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" <= 113; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 131729 AND "movie_keyword"."movie_id" >= 1738417 AND "movie_keyword"."id" <= 4329633; +SELECT "info_type"."id", SUM("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" >= 28102 AND "info_type"."info" != '%LD color information%' GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("cast_info"."role_id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("info_type"."info") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12512686 AND "title"."kind_id" <= 2007 AND "info_type"."id" <= 113; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%IV%' AND "cast_info"."role_id" <= 3; +SELECT AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "title"."imdb_index" != '%XII%' AND "movie_link"."link_type_id" = 5 AND "link_type"."id" IS NOT NULL; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("company_name"."imdb_id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1172084 AND "movie_companies"."id" <= 13029752 AND "company_type"."id" <= 4; +SELECT SUM("movie_companies"."company_id") as agg_0, SUM("company_type"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_id" <= 3957; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7 AND "movie_keyword"."id" <= 33499; +SELECT "movie_info"."info_type_id", AVG("title"."production_year") as agg_0, SUM("movie_info"."movie_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 990470 AND "title"."season_nr" <= 948.3670951374552 AND "title"."episode_nr" <= 29856.664502042266 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT AVG("movie_companies"."company_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 186212 AND "movie_companies"."company_type_id" != 2 AND "movie_companies"."company_id" <= 1557; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."series_years") AS agg_8, MAX("title"."id") AS agg_9, MAX("movie_info_idx"."info") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."kind_id" <= 2008 AND "movie_info_idx"."movie_id" <= 12636328 AND "movie_info"."movie_id" <= 12534001; +SELECT MAX("name"."md5sum") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("name"."name") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("aka_name"."id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT AVG("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 4.284155358175448 AND "title"."production_year" <= 2010.1110144030308 AND "cast_info"."id" >= 3111501 AND "cast_info"."person_id" <= 2112947; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133091 AND "movie_keyword"."movie_id" <= 12610462; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" >= 2 AND "company_name"."country_code" != '%[be]%' AND "movie_companies"."company_id" <= 72539; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 78806 AND "movie_keyword"."keyword_id" <= 601 AND "movie_keyword"."id" >= 3911903; +SELECT AVG("aka_name"."person_id") AS agg_0, AVG("cast_info"."person_id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 15654976; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" >= 25440 AND "company_type"."kind" != '%special effects companies%' AND "movie_companies"."company_type_id" >= 1; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2516235 AND "movie_keyword"."keyword_id" <= 134120; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info"."movie_id") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2515566 AND "movie_info"."id" <= 73803887; +SELECT "movie_info_idx"."info_type_id", AVG("title"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 61 AND "title"."id" >= 237241 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "info_type"."info", AVG("movie_info_idx"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" >= 417511 AND "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."movie_id" <= 1540316 AND "info_type"."id" >= 77 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" <= 2; +SELECT COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" != '%f%' AND "aka_name"."surname_pcode" != '%T135%' AND "person_info"."info_type_id" >= 24; +SELECT SUM("title"."production_year") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2514842 AND "movie_keyword"."movie_id" <= 12562507; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" >= 2 AND "title"."season_nr" >= 1.0; +SELECT SUM("person_info"."person_id") as agg_0, AVG("person_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" != '%XXVI%' AND "person_info"."id" >= 2144241 AND "name"."id" <= 1735338 AND "person_info"."info_type_id" <= 21; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20831336; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 26963; +SELECT "aka_name"."imdb_index", AVG("aka_name"."id") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_id" <= 7615370 AND "aka_name"."id" <= 4490015 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."episode_of_id" <= 2511661; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12594508 AND "movie_keyword"."movie_id" <= 12526586; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 20805033; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1952-1955%' AND "title"."episode_of_id" >= 1450701.495483653 AND "movie_info"."info_type_id" >= 16 AND "title"."season_nr" <= 1974.9100130844354; +SELECT COUNT(*) as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 2449746 AND "movie_info"."info_type_id" <= 2 AND "title"."season_nr" <= 2.296556947019628 AND "title"."kind_id" >= 4; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."movie_id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" >= 433874 AND "movie_info_idx"."movie_id" <= 2081095 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 286; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 1172327 AND "company_name"."id" <= 1168630; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("aka_name"."name") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("person_info"."id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" <= 39 AND "aka_name"."person_id" <= 20805627; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("name"."id") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("aka_name"."name") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" >= 1016195 AND "aka_name"."id" <= 181664; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 416; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 37234 AND "title"."episode_of_id" <= 4363; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 248; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%birth notes%' AND "movie_info_idx"."info_type_id" <= 99; +SELECT "title"."kind_id", SUM("link_type"."id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" = 5 AND "movie_link"."linked_movie_id" >= 131431 AND "link_type"."id" != 1 AND "movie_link"."id" <= 26571 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[ni]%' AND "company_name"."id" <= 3356; +SELECT SUM("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_id" >= 4858 AND "company_name"."id" IS NOT NULL; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."company_type_id" <= 1; +SELECT SUM("title"."season_nr") AS agg_0, SUM("title"."episode_of_id") AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" <= 12543964 AND "title"."kind_id" <= 1994; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 129783 AND "movie_keyword"."id" >= 943470 AND "keyword"."id" <= 9304; +SELECT "title"."kind_id", SUM("title"."production_year") AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 139923 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" >= 195472.62565549757 AND "char_name"."id" <= 2039982 AND "char_name"."imdb_index" != '%IV%' GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("company_type"."id") as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 3 AND "movie_companies"."movie_id" <= 1634667 AND "movie_companies"."company_id" <= 2232; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "movie_info"."info_type_id", SUM("title"."kind_id") as agg_0, SUM("movie_info"."info_type_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 89848.63771750472 AND "movie_info"."movie_id" <= 2318788 AND "movie_info"."info_type_id" != 17 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("info_type"."info") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12613290 AND "info_type"."id" <= 113 AND "title"."episode_of_id" <= 2518274; +SELECT "title"."kind_id", SUM("cast_info"."movie_id") as agg_0, SUM("title"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 2.803734234638624 AND "cast_info"."role_id" = 1 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, AVG("cast_info"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 0.845652047291988 AND "char_name"."id" >= 2408725 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT "link_type"."id", AVG("movie_link"."id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 14.448425601001134 AND "title"."season_nr" >= 2.330915809103731 AND "link_type"."link" != '%references%' GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 3.004216671195273 AND "title"."id" <= 1682511 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "cast_info"."role_id", SUM("cast_info"."person_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 4.64817552342127 AND "title"."production_year" >= 1987.1808638898701 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "info_type"."info", AVG("movie_info_idx"."id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 2249908 AND "movie_info_idx"."info_type_id" <= 99 AND "title"."production_year" <= 2015.3457702293526 AND "movie_info_idx"."movie_id" >= 442794 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("name"."gender") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("name"."name_pcode_nf") AS agg_9, MAX("cast_info"."person_role_id") AS agg_10, MAX("aka_name"."imdb_index") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."gender" <> '%m%' AND "cast_info"."movie_id" <= 37615 AND "aka_name"."id" <= 13218; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1978-1983%' AND "title"."episode_of_id" <= 9617; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2508216; +SELECT SUM("cast_info"."id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."imdb_index" != '%M%' AND "cast_info"."id" >= 4075115; +SELECT "company_name"."country_code", COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[af]%' AND "company_type"."id" != 2 AND "movie_companies"."company_type_id" >= 1 AND "movie_companies"."company_id" <= 358 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "name"."gender", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" != '%IX%' AND "aka_name"."surname_pcode" != '%T425%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."id" <= 28833; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1998; +SELECT SUM("title"."kind_id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1163679; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" = 1 AND "movie_info_idx"."id" >= 710307 AND "movie_info_idx"."info_type_id" >= 99 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("movie_info_idx"."id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" <= 1667956 AND "movie_info_idx"."movie_id" <= 2312106; +SELECT "info_type"."id", SUM("movie_info_idx"."id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."id" <= 646030 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT SUM("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2322099 AND "movie_keyword"."keyword_id" >= 26573; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 1; +SELECT SUM("keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133730 AND "movie_keyword"."movie_id" >= 1924960; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("char_name"."imdb_index") AS agg_7, MAX("aka_name"."person_id") AS agg_8, MAX("char_name"."md5sum") AS agg_9, MAX("char_name"."name_pcode_nf") AS agg_10 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."nr_order" <= 23.055760277660163 AND "aka_name"."id" <= 6493 AND "char_name"."id" <= 26662; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 12835 AND "movie_keyword"."keyword_id" >= 3912 AND "movie_keyword"."id" <= 2719776 AND "movie_keyword"."movie_id" >= 2234295; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1980.0174575405872 AND "movie_info"."info_type_id" <= 1; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 158031 AND "movie_companies"."company_type_id" != 1 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."id" >= 25037805 AND "aka_name"."surname_pcode" != '%Y434%' GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "company_name"."country_code", SUM("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 98966 AND "movie_companies"."company_id" >= 704 AND "movie_companies"."movie_id" >= 2307987 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT AVG("movie_info_idx"."id") AS agg_0, AVG("title"."kind_id") AS agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "title"."episode_of_id" <= 2503954 AND "movie_info_idx"."movie_id" <= 12618088 AND "info_type"."id" <= 113; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 442; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 20 AND "person_info"."id" <= 1957538 AND "name"."id" <= 2365770; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."id") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 14764990 AND "name"."id" <= 20708097; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%plot%' AND "movie_info_idx"."info_type_id" <= 99; +SELECT COUNT(*) as agg_0, AVG("title"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%LD color rendition%' AND "movie_info_idx"."id" >= 850914 AND "movie_info_idx"."info_type_id" >= 101; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "movie_info_idx"."info_type_id" <= 99; +SELECT "link_type"."id", SUM("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%spoofs%' AND "title"."id" <= 2479075 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT "aka_name"."imdb_index", AVG("cast_info"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <= 8 AND "cast_info"."nr_order" >= 11.395562009897557 AND "cast_info"."movie_id" <= 334147 AND "aka_name"."id" <= 132607 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "name"."surname_pcode", SUM("person_info"."info_type_id") AS agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."kind_id" <= 1997 AND "cast_info"."id" <= 180846987; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 992 AND "movie_companies"."company_type_id" <= 2; +SELECT "aka_name"."imdb_index", AVG("name"."id") as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" <= 387021 AND "person_info"."info_type_id" <= 17 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT AVG("movie_keyword"."id") as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 37736 AND "movie_keyword"."movie_id" <= 2242967 AND "keyword"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."series_years") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133082; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."kind_id" <= 1995; +SELECT "company_name"."country_code", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 364 AND "company_name"."id" <= 142594 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("title"."episode_of_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 1049929 AND "title"."imdb_index" != '%XVIII%'; +SELECT MAX("title"."id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("company_type"."kind") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%production companies%' AND "movie_companies"."company_id" <= 2050 AND "company_type"."id" <= 1; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 929 AND "movie_keyword"."movie_id" <= 2031214 AND "keyword"."id" <= 125172; +SELECT MAX("title"."series_years") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT SUM("cast_info"."nr_order") as agg_0, SUM("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" != '%B4%' AND "aka_name"."id" >= 159340 AND "cast_info"."movie_id" <= 1593287 AND "cast_info"."role_id" <= 1; +SELECT "info_type"."info", SUM("info_type"."id") as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 692809 AND "movie_info_idx"."info_type_id" >= 101 AND "movie_info_idx"."id" <= 1152452 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" != 36 AND "person_info"."person_id" >= 2517709 AND "name"."surname_pcode" != '%Q125%'; +SELECT "title"."imdb_index", SUM("title"."episode_nr") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 2.945257114540363 AND "title"."production_year" <= 1997.2793901670645 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("aka_name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 1920651 AND "aka_name"."id" >= 369481; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("keyword"."id") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12558846; +SELECT SUM("cast_info"."id") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" <= 1264018.5706070897 AND "title"."series_years" != '%1976-1988%'; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("info_type"."info") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%genres%' AND "title"."episode_of_id" <= 9728 AND "info_type"."id" <= 1; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 2024185 AND "person_info"."info_type_id" = 20 AND "name"."surname_pcode" != '%F531%'; +SELECT "title"."series_years", SUM("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 3558992 AND "movie_keyword"."keyword_id" <= 1294 AND "movie_keyword"."movie_id" >= 2036300 AND "title"."episode_of_id" <= 1202808.2822147298 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("company_name"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 3280; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 4001449 AND "person_info"."info_type_id" != 16 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "aka_name"."imdb_index", SUM("aka_name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%V436%' AND "person_info"."info_type_id" != 20 AND "name"."gender" != '%m%' GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%birth name%' AND "title"."id" <= 12893 AND "info_type"."id" <= 1; +SELECT "person_info"."info_type_id", AVG("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" = 15 AND "person_info"."person_id" <= 2212541 AND "name"."id" <= 812556 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT "name"."imdb_index", AVG("person_info"."person_id") as agg_0, SUM("person_info"."id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" = 25 AND "aka_name"."surname_pcode" != '%I15%' GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 966011 AND "person_info"."info_type_id" <= 37 AND "name"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 1084680 AND "company_name"."id" <= 75381 AND "company_name"."country_code" != '%[cy]%'; +SELECT SUM("title"."production_year") AS agg_0, COUNT(*) AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1979-1982%' AND "movie_info_idx"."id" <= 16087 AND "title"."id" <= 42945; +SELECT "title"."kind_id", COUNT(*) as agg_0, AVG("movie_info"."movie_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 1074778 AND "movie_info"."info_type_id" >= 16 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_name"."md5sum") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."id" <= 13026788; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("person_info"."info_type_id") AS agg_6, MAX("person_info"."id") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("person_info"."person_id") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20821812 AND "person_info"."info_type_id" <= 39; +SELECT "company_name"."country_code", AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 2262073 AND "company_name"."id" <= 45180 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_info"."info") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT "title"."kind_id", AVG("title"."production_year") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 7.300022342881247 AND "info_type"."info" != '%LD aspect ratio%' AND "info_type"."id" >= 4 AND "title"."episode_of_id" >= 979203.9638968387 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%remake of%' AND "movie_link"."link_type_id" >= 5 AND "movie_link"."id" <= 20795 AND "title"."season_nr" >= 1.0; +SELECT SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 597417.5290884926 AND "movie_info"."id" <= 5840961; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 3 AND "movie_companies"."company_type_id" != 1 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) AS agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%N626%' AND "name"."id" <= 52963; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" != 7 AND "movie_companies"."movie_id" >= 1245039 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "aka_name"."imdb_index", COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20682281 AND "cast_info"."person_role_id" <= 15668909 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "title"."imdb_index", AVG("title"."production_year") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" <= 15 AND "movie_link"."movie_id" >= 27235 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133166; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2111901 AND "keyword"."id" <= 103084 AND "movie_keyword"."keyword_id" >= 643; +SELECT AVG("movie_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."movie_id" >= 2052277 AND "movie_info"."id" <= 11166842 AND "movie_info_idx"."movie_id" >= 2382140; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 1; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%tv series%' AND "title"."episode_nr" >= 10.167895569175082; +SELECT "char_name"."imdb_index", SUM("cast_info"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" >= 1040468 AND "cast_info"."person_role_id" >= 71485.69636221079 AND "cast_info"."role_id" >= 1 AND "cast_info"."nr_order" <= 13.15014285714321 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT SUM("aka_name"."id") as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <= 2 AND "cast_info"."person_role_id" <= 72190.64137588258; +SELECT COUNT(*) as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XX%' AND "company_type"."id" != 2; +SELECT MAX("title"."title") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("cast_info"."person_role_id") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."person_role_id" <= 15666322; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("name"."imdb_id") AS agg_6, MAX("name"."imdb_index") AS agg_7, MAX("cast_info"."nr_order") AS agg_8, MAX("cast_info"."role_id") AS agg_9, MAX("cast_info"."person_role_id") AS agg_10, MAX("name"."name") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" <= 20707605 AND "cast_info"."person_id" <= 7656117; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 33514; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1785; +SELECT AVG("movie_info_idx"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" >= 100 AND "info_type"."id" >= 111 AND "movie_info_idx"."movie_id" <= 1807074; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 479630 AND "movie_info_idx"."id" >= 199311 AND "movie_info_idx"."info_type_id" != 100 AND "info_type"."id" >= 73; +SELECT "movie_companies"."company_type_id", AVG("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" != '%distributors%' AND "movie_companies"."id" >= 234160 AND "title"."production_year" <= 2007.901660834005 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("movie_info_idx"."info") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6858631 AND "title"."episode_of_id" <= 2506851; +SELECT "title"."imdb_index", AVG("title"."episode_of_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1167114; +SELECT "company_type"."id", SUM("movie_companies"."id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 2452719 AND "company_name"."id" >= 25224 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 3 AND "movie_companies"."movie_id" <= 2423981 AND "company_name"."id" IS NOT NULL; +SELECT "title"."kind_id", AVG("movie_keyword"."id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 99204 AND "movie_keyword"."id" <= 1962973 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "company_name"."country_code", AVG("movie_companies"."id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 173654 AND "movie_companies"."movie_id" <= 2364558 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 14316055 AND "title"."kind_id" = 7 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("keyword"."id") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 116759 AND "movie_keyword"."movie_id" <= 1966261 AND "movie_keyword"."keyword_id" <= 105615 AND "movie_keyword"."id" >= 1351752; +SELECT "name"."imdb_index", AVG("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" != '%f%' AND "person_info"."info_type_id" = 24 AND "name"."id" >= 2488487 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 1093103 AND "name"."imdb_index" != '%LVII%' AND "person_info"."info_type_id" >= 22; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20718882; +SELECT COUNT(*) as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."production_year" >= 2003.890759149589 AND "movie_info"."info_type_id" <= 57; +SELECT "char_name"."imdb_index", AVG("cast_info"."person_role_id") AS agg_0, AVG("aka_name"."person_id") AS agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 15700684 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 133737 AND "keyword"."id" <= 133699; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."name") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 15; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12574049; +SELECT AVG("title"."season_nr") as agg_0, AVG("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 1846 AND "movie_keyword"."movie_id" <= 1762468 AND "title"."kind_id" >= 2; +SELECT MAX("title"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."production_year" <= 2008.9301422139636 AND "title"."kind_id" <= 5; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 1 AND "company_name"."id" <= 1452; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%special effects companies%' AND "company_type"."id" <= 1 AND "movie_companies"."company_type_id" IS NOT NULL; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "movie_companies"."id" <= 2146452 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."kind_id" <= 2003; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 48894; +SELECT MAX("info_type"."id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7, MAX("movie_info_idx"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "title"."id" <= 12623184; +SELECT SUM("title"."episode_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 1878462 AND "movie_info"."info_type_id" <= 10 AND "movie_info"."id" <= 4356530 AND "title"."imdb_index" != '%XXI%'; +SELECT "movie_info"."info_type_id", SUM("title"."episode_nr") as agg_0, AVG("movie_info"."movie_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 1951160 AND "title"."episode_of_id" <= 2105212.0864379145 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("cast_info"."id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2521535 AND "cast_info"."movie_id" <= 12618172; +SELECT COUNT(*) as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" <= 5 AND "title"."series_years" != '%1976-1979%'; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info_idx"."note") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%printed media reviews%' AND "info_type"."id" <= 1 AND "movie_info_idx"."info_type_id" <= 99; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("name"."gender") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("person_info"."info") AS agg_6, MAX("person_info"."note") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%K361%' AND "aka_name"."id" <= 5993 AND "person_info"."id" <= 20678; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" >= 62060 AND "company_name"."country_code" != '%[tr]%' AND "company_type"."kind" != '%special effects companies%'; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."id" <= 23190; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 111879 AND "movie_keyword"."keyword_id" <= 6293 AND "movie_keyword"."movie_id" <= 2008840 AND "movie_keyword"."id" <= 1128524; +SELECT COUNT(*) as agg_0, AVG("title"."kind_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."id" <= 1710688 AND "cast_info"."person_id" >= 765173 AND "char_name"."imdb_index" != '%I%' AND "char_name"."id" >= 475722; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" >= 1286271 AND "person_info"."info_type_id" <= 34 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4498726 AND "cast_info"."person_role_id" <= 15689356; +SELECT COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%referenced in%' AND "title"."episode_nr" <= 5.31281760419367; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("info_type"."info") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("info_type"."id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("title"."title") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 24.687064185785477 AND "info_type"."id" <= 1 AND "title"."kind_id" <= 4; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."id") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7, MAX("name"."name_pcode_nf") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("aka_name"."surname_pcode") AS agg_10, MAX("aka_name"."name_pcode_nf") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."id" <= 180238358; +SELECT SUM("movie_companies"."company_type_id") AS agg_0, AVG("movie_companies"."id") AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1168374 AND "movie_companies"."id" <= 13036850; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2062056 AND "movie_keyword"."keyword_id" >= 3853; +SELECT AVG("title"."episode_nr") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%book%' AND "title"."id" >= 1950358; +SELECT MAX("title"."id") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 4953; +SELECT SUM("movie_info_idx"."info_type_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%portrayed in%' AND "info_type"."id" >= 27 AND "movie_info_idx"."id" <= 885644 AND "movie_info_idx"."info_type_id" <= 99; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2010.0439365847374 AND "movie_keyword"."keyword_id" <= 425; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."gender") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."id") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("name"."md5sum") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" <= 4467283; +SELECT SUM("title"."season_nr") AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1994; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("company_name"."id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "company_type"."id" <= 1 AND "movie_companies"."movie_id" <= 26839; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("cast_info"."nr_order") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2507369 AND "cast_info"."person_id" <= 7633144; +SELECT MAX("info_type"."info") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12544928 AND "info_type"."id" <= 113 AND "movie_info_idx"."id" <= 6876289; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0, SUM("title"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 1019249 AND "movie_info_idx"."id" >= 237555 AND "title"."imdb_index" != '%II%' GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "link_type"."id", AVG("movie_link"."id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" >= 49114 AND "title"."episode_of_id" <= 233039.31835365007 AND "title"."episode_nr" <= 4.287835439092043 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("info_type"."id") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("info_type"."info") AS agg_7, MAX("movie_info_idx"."note") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 5.106878775527099 AND "movie_info_idx"."id" <= 19382 AND "info_type"."id" <= 1; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("name"."name") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("cast_info"."movie_id") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("name"."surname_pcode") AS agg_10, MAX("name"."imdb_index") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."id" <= 180453117 AND "name"."id" <= 20665765; +SELECT MAX("name"."name") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%CXXXVII%' AND "person_info"."person_id" <= 79758; +SELECT "title"."kind_id", SUM("title"."production_year") as agg_0, AVG("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 69008 AND "title"."production_year" >= 2008.1091989967515 AND "movie_keyword"."keyword_id" >= 804 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."series_years", SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 2824965 AND "title"."production_year" <= 2008.130584043918 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 10874 AND "info_type"."id" <= 1; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" <= 753638 AND "aka_name"."surname_pcode" != '%T156%' AND "cast_info"."movie_id" <= 2143087; +SELECT SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 7 AND "info_type"."id" >= 23 AND "title"."id" <= 16403 AND "info_type"."info" != '%LD close captions-teletext-ld-g%'; +SELECT "cast_info"."role_id", SUM("cast_info"."person_id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 656428 AND "cast_info"."id" <= 14705712 AND "char_name"."imdb_index" != '%II%' GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 94485 AND "movie_keyword"."keyword_id" <= 21748 AND "movie_keyword"."id" <= 1606410 AND "movie_keyword"."movie_id" <= 2489906; +SELECT "cast_info"."role_id", SUM("cast_info"."person_role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%II%' AND "cast_info"."person_id" >= 297918 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 132871; +SELECT "movie_link"."link_type_id", COUNT(*) as agg_0, AVG("title"."kind_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%alternate language version of%' AND "link_type"."id" <= 8 AND "movie_link"."linked_movie_id" >= 30253 GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT SUM("aka_name"."id") as agg_0, AVG("cast_info"."person_role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."id" >= 6090900 AND "cast_info"."role_id" <= 2 AND "aka_name"."surname_pcode" != '%F323%'; +SELECT COUNT(*) as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" >= 1961934 AND "cast_info"."role_id" != 9; +SELECT "title"."series_years", AVG("title"."episode_of_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 9.631043277870752 AND "char_name"."id" >= 1011749 AND "cast_info"."nr_order" <= 5.35286300661444 AND "cast_info"."role_id" = 2 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("char_name"."md5sum") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" <> '%I%' AND "cast_info"."nr_order" >= 20.071389729672376 AND "char_name"."id" <= 18714; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("person_info"."info_type_id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("person_info"."id") AS agg_9, MAX("name"."gender") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 20758259 AND "name"."id" <= 20737443 AND "aka_name"."id" <= 4484968; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 9231; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 269 AND "company_name"."country_code" != '%[qa]%'; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("company_name"."country_code") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."production_year") AS agg_8, MAX("title"."md5sum") AS agg_9, MAX("title"."title") AS agg_10, MAX("title"."imdb_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[ae]%' AND "title"."episode_of_id" <= 3245 AND "movie_companies"."company_id" <= 1267; +SELECT AVG("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" = 100 AND "title"."series_years" != '%1951-1957%' AND "title"."production_year" <= 1992.2444871402236 AND "title"."id" <= 2460358; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("company_name"."id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 4228 AND "movie_companies"."company_id" <= 2329; +SELECT MAX("name"."name") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."imdb_index") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("person_info"."note") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20711213; +SELECT SUM("cast_info"."role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2000.4683016669612 AND "cast_info"."id" <= 35692643 AND "cast_info"."person_role_id" >= 1580624.0866651852 AND "char_name"."imdb_index" != '%DM%'; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("company_type"."kind") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_type"."id" <= 4; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" <= 1.0 AND "kind_type"."kind" <> '%episode%' AND "title"."kind_id" <= 3; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("name"."name") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."imdb_index") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("cast_info"."id") AS agg_9, MAX("name"."md5sum") AS agg_10, MAX("name"."imdb_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."surname_pcode" <> '%D126%' AND "aka_name"."surname_pcode" <> '%K15%' AND "cast_info"."movie_id" <= 26483 AND "name"."id" <= 38318; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6865161; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."id" >= 1611118 AND "movie_info"."info_type_id" >= 1 AND "title"."episode_of_id" <= 705749.6480032273 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" <= 12531369; +SELECT AVG("title"."season_nr") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 689478.4901331267 AND "movie_keyword"."keyword_id" <= 93 AND "keyword"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22472234; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 28 AND "movie_keyword"."id" <= 3055633 AND "keyword"."id" <= 7801; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 1499292 AND "movie_keyword"."keyword_id" >= 3998 AND "keyword"."id" >= 43828; +SELECT "kind_type"."kind", COUNT(*) AS agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" GROUP BY "kind_type"."kind" ORDER BY "kind_type"."kind"; +SELECT "title"."series_years", COUNT(*) AS agg_0, AVG("title"."episode_nr") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("person_info"."note") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("aka_name"."person_id") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%III%' AND "title"."episode_of_id" <= 4243 AND "keyword"."id" <= 519; +SELECT AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%X6%' AND "name"."gender" != '%m%' AND "person_info"."info_type_id" <= 25; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."md5sum") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1163996; +SELECT "title"."series_years", AVG("movie_info_idx"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."id" <= 7721224 AND "movie_info_idx"."id" >= 796706 AND "movie_info_idx"."info_type_id" != 101 AND "movie_info_idx"."movie_id" >= 597532 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2003.8249286681862 AND "movie_keyword"."movie_id" <= 2052031; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("aka_name"."md5sum") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 9960 AND "person_info"."id" <= 46876; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "info_type"."id" <= 113; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_name"."id" >= 56900 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."imdb_index", AVG("movie_link"."id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 840006.5826515281 AND "link_type"."link" != '%referenced in%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("title"."episode_nr") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 2340859 AND "movie_keyword"."keyword_id" >= 9977; +SELECT AVG("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 1425114 AND "movie_companies"."company_type_id" != 2; +SELECT AVG("title"."id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 19390 AND "movie_keyword"."keyword_id" >= 846 AND "title"."episode_of_id" >= 1044715.5535708463; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") as agg_0, AVG("title"."production_year") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 57 AND "movie_info_idx"."id" <= 1137830 AND "movie_info_idx"."info_type_id" >= 99 AND "title"."episode_nr" >= 6.646669996987732 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."kind_id" <= 1642 AND "movie_keyword"."movie_id" >= 1073290 AND "title"."episode_of_id" >= 653472.8763673184 AND "title"."episode_nr" <= 73733.58819031356; +SELECT "title"."kind_id", AVG("title"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 1067 AND "movie_keyword"."movie_id" <= 2305299 AND "keyword"."id" <= 122171 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_info"."id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110; +SELECT SUM("title"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" = 4 AND "movie_info_idx"."movie_id" <= 1866249; +SELECT "company_type"."kind", SUM("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" >= 12212 AND "movie_companies"."company_type_id" != 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT SUM("title"."kind_id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 1979107 AND "movie_info"."movie_id" <= 1586926 AND "title"."production_year" <= 2010.3374411448208 AND "title"."episode_of_id" <= 243109.71767282067; +SELECT COUNT(*) as agg_0, AVG("title"."production_year") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 12837306 AND "movie_info"."movie_id" >= 2454797; +SELECT COUNT(*) as agg_0, AVG("title"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" >= 1 AND "company_type"."kind" != '%production companies%'; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."episode_nr" >= 14.886925057367591 AND "title"."id" >= 757043 AND "movie_companies"."movie_id" >= 1440533 AND "title"."season_nr" <= 1.0; +SELECT SUM("title"."production_year") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" = 7 AND "info_type"."id" >= 10; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2000 AND "keyword"."id" <= 134089 AND "movie_keyword"."movie_id" <= 12624904; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" >= 1 AND "movie_companies"."movie_id" <= 2174692 AND "company_name"."country_code" != '%[ml]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("char_name"."id") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("char_name"."surname_pcode") AS agg_6, MAX("cast_info"."person_id") AS agg_7, MAX("char_name"."md5sum") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("char_name"."name_pcode_nf") AS agg_10 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."id" <= 180685109; +SELECT AVG("aka_name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 1757579 AND "name"."gender" != '%m%'; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 116802 AND "movie_keyword"."keyword_id" <= 59081 AND "movie_keyword"."movie_id" <= 1544156 AND "movie_keyword"."id" <= 1710994; +SELECT SUM("title"."kind_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" = 2 AND "title"."production_year" >= 2001.8125245649428; +SELECT AVG("movie_companies"."company_type_id") as agg_0, AVG("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 2141546 AND "movie_companies"."company_type_id" != 2; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("person_info"."note") AS agg_6, MAX("name"."gender") AS agg_7, MAX("name"."name") AS agg_8, MAX("name"."surname_pcode") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%CLVII%' AND "aka_name"."surname_pcode" <> '%Q523%' AND "name"."id" <= 51510 AND "aka_name"."person_id" <= 82715; +SELECT "title"."kind_id", AVG("movie_link"."movie_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" <= 15 AND "title"."id" <= 883310 AND "movie_link"."linked_movie_id" <= 2360216 AND "link_type"."id" = 7 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1740835 AND "keyword"."id" <= 38936; +SELECT MAX("title"."title") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("char_name"."name_pcode_nf") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("cast_info"."person_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("char_name"."surname_pcode") AS agg_8, MAX("title"."episode_of_id") AS agg_9, MAX("title"."series_years") AS agg_10, MAX("char_name"."imdb_index") AS agg_11, MAX("cast_info"."note") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 15656294 AND "title"."kind_id" <= 1995; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%DM%' AND "cast_info"."role_id" != 3 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XX%' AND "title"."kind_id" <= 5; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("company_name"."name") AS agg_5, MAX("company_name"."country_code") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 1164865 AND "company_type"."id" <= 4; +SELECT "company_name"."country_code", SUM("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 95835 AND "company_name"."country_code" != '%[pa]%' AND "movie_companies"."company_id" <= 977 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT SUM("name"."id") AS agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20683211; +SELECT "company_type"."kind", COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" >= 1649330 AND "company_type"."id" <= 3 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT SUM("title"."episode_of_id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" <= 2006.8491154961287 AND "kind_type"."id" <= 4; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("company_name"."name_pcode_sf") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 3883 AND "company_type"."id" <= 1; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" >= 466 AND "company_name"."id" >= 101172 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 3546218 AND "title"."season_nr" <= 1.0; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."id") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%R242%' AND "name"."imdb_index" <> '%CLX%' AND "name"."id" <= 58149; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" != '%Q35%' AND "name"."surname_pcode" != '%P31%' AND "cast_info"."person_id" IS NOT NULL; +SELECT MAX("cast_info"."id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("char_name"."imdb_index") AS agg_6, MAX("title"."title") AS agg_7, MAX("cast_info"."person_id") AS agg_8, MAX("char_name"."name") AS agg_9, MAX("cast_info"."nr_order") AS agg_10, MAX("title"."season_nr") AS agg_11, MAX("title"."md5sum") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2505444 AND "cast_info"."movie_id" <= 12557289; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_companies"."note") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 3611 AND "title"."id" <= 43628; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1993 AND "movie_info"."movie_id" <= 12586745; +SELECT SUM("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%V214%' AND "person_info"."info_type_id" != 17; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_type"."id" <= 4; +SELECT AVG("movie_info_idx"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 1312813 AND "movie_info_idx"."movie_id" <= 222681 AND "title"."id" IS NOT NULL; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[pr]%' AND "movie_companies"."company_type_id" != 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."note") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 12987528 AND "company_name"."id" <= 1164469; +SELECT AVG("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" >= 2134430 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT AVG("cast_info"."person_role_id") as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 3977470 AND "char_name"."id" <= 877587; +SELECT SUM("title"."production_year") as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "movie_link"."link_type_id" >= 1 AND "movie_link"."id" <= 28560 AND "link_type"."id" IS NOT NULL; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1965-1979%' AND "movie_keyword"."id" <= 49851 AND "title"."kind_id" <= 8; +SELECT "title"."kind_id", SUM("title"."episode_nr") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" = 101 AND "title"."episode_of_id" <= 947078.9271453345 AND "movie_info_idx"."id" <= 1310291 AND "title"."production_year" >= 1999.5561892048713 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."name") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "name"."id" <= 33345; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7, MAX("movie_info_idx"."note") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%LD picture format%' AND "title"."episode_nr" <= 7.04466833535052 AND "title"."episode_of_id" <= 4044 AND "movie_info_idx"."id" <= 14774; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" <= 12586603 AND "info_type"."id" <= 113; +SELECT "company_name"."country_code", SUM("company_type"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" >= 1 AND "company_name"."id" <= 183806 AND "movie_companies"."company_id" >= 69263 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XX%' AND "cast_info"."nr_order" <= 3.548081088707256; +SELECT "name"."imdb_index", AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%XCIV%' AND "person_info"."info_type_id" <= 23 AND "name"."id" <= 3177549 AND "name"."surname_pcode" != '%G516%' GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "title"."series_years", SUM("title"."season_nr") AS agg_0, COUNT(*) AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2527741 AND "movie_companies"."movie_id" <= 12555065 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT "cast_info"."role_id", AVG("cast_info"."movie_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" >= 2164419.1574533116 AND "cast_info"."nr_order" >= 16.357768740717383 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("info_type"."info") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("movie_info_idx"."info_type_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2006; +SELECT AVG("cast_info"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" >= 2383802 AND "cast_info"."movie_id" >= 261210; +SELECT MAX("title"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."title") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 69970 AND "keyword"."id" <= 370; +SELECT "person_info"."info_type_id", COUNT(*) AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT AVG("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 3115171 AND "cast_info"."id" <= 33384336 AND "char_name"."imdb_index" != '%D%'; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 139908.91087040628 AND "movie_keyword"."keyword_id" <= 29; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("movie_keyword"."movie_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1900.9131914130917 AND "movie_keyword"."keyword_id" <= 270 AND "keyword"."id" <= 375; +SELECT "title"."series_years", SUM("title"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 6099 AND "company_type"."id" = 1 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("person_info"."info") AS agg_0, MAX("name"."name") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."person_id" <= 20631460 AND "name"."id" <= 20708050; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_of_id" <= 2518985; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 16108 AND "movie_keyword"."movie_id" <= 13700; +SELECT SUM("title"."episode_of_id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" = 1 AND "title"."production_year" >= 2010.2183775674355 AND "movie_keyword"."id" <= 3672763 AND "keyword"."id" <= 77216; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2505804 AND "movie_info"."info_type_id" <= 110; +SELECT "name"."gender", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" != '%f%' AND "person_info"."info_type_id" = 23 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%L464%' AND "name"."gender" <> '%f%' AND "person_info"."person_id" <= 56951; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 128677 AND "movie_keyword"."id" <= 795360 AND "movie_keyword"."keyword_id" >= 679; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 72541 AND "company_name"."country_code" != '%[sv]%' AND "movie_companies"."id" <= 2331222 AND "movie_companies"."movie_id" <= 2242230 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("person_info"."info_type_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20663724 AND "cast_info"."id" <= 180951772; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."imdb_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 37646; +SELECT SUM("movie_info"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 5.885533862361759 AND "movie_info"."movie_id" <= 1888938; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."md5sum") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("title"."title") AS agg_10, MAX("title"."episode_of_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1172692 AND "title"."episode_of_id" <= 2523954 AND "movie_companies"."movie_id" <= 12575039; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 1171440; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1990.7609929020953 AND "char_name"."id" >= 477665 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "link_type"."id" != 8 AND "movie_link"."link_type_id" != 5 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 52497 AND "company_type"."id" >= 2; +SELECT "title"."series_years", AVG("title"."season_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 15.667476524745133 AND "movie_info"."movie_id" <= 1809277 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" >= 580334 AND "title"."episode_nr" >= 10.305538720799746; +SELECT AVG("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 1596582 AND "movie_info_idx"."id" <= 1349846; +SELECT COUNT(*) as agg_0, AVG("title"."episode_nr") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%LD length%' AND "title"."episode_of_id" <= 2521221.077519072; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 57860 AND "movie_keyword"."movie_id" <= 1860292 AND "movie_keyword"."keyword_id" <= 1917 AND "movie_keyword"."id" >= 1511731; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[ge]%' AND "company_name"."id" <= 3732; +SELECT "title"."kind_id", SUM("cast_info"."nr_order") as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."episode_nr" >= 14.130505846698087 AND "title"."episode_of_id" >= 875561.6481010253 AND "title"."season_nr" <= 2.940066738377823 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 51727 AND "title"."id" >= 621708 AND "movie_keyword"."id" >= 1114829; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("cast_info"."role_id") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."production_year" <= 1987.5211563614123 AND "cast_info"."movie_id" <= 17975; +SELECT "movie_companies"."company_type_id", SUM("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[my]%' AND "company_name"."id" <= 199853 AND "movie_companies"."company_id" >= 59720 AND "movie_companies"."id" <= 1517693 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 33731 AND "movie_keyword"."movie_id" <= 1726236; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 155; +SELECT "title"."series_years", SUM("company_name"."id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" >= 1729329 AND "title"."production_year" <= 2000.2992480961736 AND "movie_companies"."company_id" >= 9837 AND "company_name"."country_code" != '%[ni]%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 16571; +SELECT SUM("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 103 AND "movie_companies"."company_type_id" <= 2 AND "title"."id" IS NOT NULL; +SELECT AVG("movie_keyword"."movie_id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 1166755 AND "movie_keyword"."movie_id" <= 2315150; +SELECT "person_info"."info_type_id", AVG("name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 3562601 AND "person_info"."person_id" >= 391946 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."id") AS agg_6, MAX("aka_name"."md5sum") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 20742235 AND "name"."id" <= 20824964; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("company_name"."id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[ddde]%' AND "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."company_type_id" <= 1 AND "company_name"."id" <= 2040; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2350453 AND "movie_keyword"."id" >= 3108404 AND "keyword"."id" <= 71509 AND "movie_keyword"."keyword_id" >= 6904 AND "title"."id" IS NOT NULL; +SELECT MAX("cast_info"."note") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("cast_info"."role_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 8.163954690422575 AND "title"."episode_of_id" <= 5933; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "name"."surname_pcode", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" >= 17 AND "name"."id" <= 3399737 AND "person_info"."person_id" <= 1356026 AND "name"."surname_pcode" != '%X463%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%budget%' AND "movie_info_idx"."movie_id" <= 2372054 AND "info_type"."id" >= 59; +SELECT "name"."imdb_index", SUM("cast_info"."movie_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."surname_pcode" != '%Y456%' AND "cast_info"."movie_id" >= 1026282 AND "aka_name"."id" >= 355862 AND "aka_name"."person_id" >= 4109787 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "title"."kind_id", SUM("movie_keyword"."keyword_id") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2010.3092874120987 AND "title"."kind_id" <= 7 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."production_year" >= 2010.8704312548186 AND "movie_companies"."id" <= 35383; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 2980580 AND "keyword"."id" <= 57020 AND "movie_keyword"."keyword_id" >= 20163 AND "movie_keyword"."movie_id" <= 2090163; +SELECT "title"."imdb_index", AVG("cast_info"."id") AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 15684800 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 27223; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("company_type"."kind") AS agg_7, MAX("movie_companies"."note") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12572514 AND "title"."kind_id" <= 1992 AND "company_type"."id" <= 4; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 509 AND "movie_keyword"."movie_id" <= 34148; +SELECT SUM("name"."id") as agg_0, AVG("person_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 2961082 AND "name"."id" <= 2229958 AND "person_info"."info_type_id" >= 15; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 22618282 AND "keyword"."id" <= 132953; +SELECT AVG("title"."episode_nr") as agg_0, AVG("movie_link"."id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 1982135 AND "movie_link"."link_type_id" <= 9; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 4 AND "movie_info_idx"."info_type_id" <= 100 AND "movie_info_idx"."id" <= 473176 AND "movie_info_idx"."movie_id" >= 328155 AND "title"."id" IS NOT NULL; +SELECT MAX("company_name"."id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."md5sum") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 3508; +SELECT AVG("aka_name"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%W216%' AND "aka_name"."id" <= 539562; +SELECT "title"."imdb_index", AVG("movie_keyword"."id") AS agg_0, SUM("title"."season_nr") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133426 AND "movie_keyword"."keyword_id" <= 133405 AND "title"."kind_id" <= 1992 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("title"."episode_of_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XIV%' AND "keyword"."id" <= 120609; +SELECT SUM("title"."production_year") AS agg_0, AVG("title"."production_year") AS agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 12565155 AND "char_name"."id" <= 15583625; +SELECT SUM("cast_info"."nr_order") as agg_0, SUM("char_name"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%II%' AND "char_name"."id" <= 1711844 AND "cast_info"."movie_id" >= 977518 AND "cast_info"."id" <= 29943229; +SELECT AVG("cast_info"."role_id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" != '%T35%' AND "name"."surname_pcode" != '%P635%'; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("char_name"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <> 10 AND "cast_info"."movie_id" <= 49041; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT SUM("keyword"."id") AS agg_0, AVG("keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT "title"."imdb_index", AVG("cast_info"."id") as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."movie_id" <= 2111237 AND "title"."imdb_index" != '%VIII%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."series_years", COUNT(*) as agg_0, AVG("title"."kind_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" >= 1048761 AND "title"."kind_id" <= 1 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 77852.99242225553 AND "title"."episode_of_id" <= 2611; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT SUM("title"."season_nr") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2244263.8275685096 AND "movie_info"."movie_id" >= 1551106; +SELECT "title"."series_years", SUM("info_type"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 6 AND "movie_info_idx"."id" >= 1134366 AND "movie_info_idx"."info_type_id" != 99 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2010.7909225115443 AND "title"."kind_id" <= 8; +SELECT "title"."kind_id", AVG("title"."production_year") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" <= 2 AND "char_name"."id" <= 2153380 AND "char_name"."imdb_index" != '%D%' AND "cast_info"."id" <= 29187602 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 105506 AND "movie_keyword"."movie_id" >= 1941592 AND "movie_keyword"."id" >= 928701; +SELECT "company_name"."country_code", SUM("movie_companies"."id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 13 AND "title"."season_nr" >= 1.0 AND "movie_companies"."company_type_id" != 1 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("cast_info"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("cast_info"."movie_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2507034; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("company_type"."kind") AS agg_6, MAX("company_type"."id") AS agg_7, MAX("movie_companies"."company_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 29291 AND "company_type"."id" <= 1; +SELECT "title"."series_years", SUM("movie_link"."id") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" = 5 AND "title"."episode_nr" <= 110.48250514305718 AND "link_type"."id" <= 7 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" <= 15615813 AND "title"."id" <= 12597081; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, AVG("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 2 AND "movie_companies"."company_type_id" = 1 AND "movie_companies"."movie_id" >= 2274306 AND "company_type"."kind" != '%production companies%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("aka_name"."id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" <= 21874; +SELECT "title"."kind_id", AVG("title"."season_nr") as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" <= 259839 AND "movie_info_idx"."movie_id" <= 2025087 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" <= 7.612038080780261 AND "aka_name"."id" <= 13369; +SELECT MAX("aka_name"."id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4496196; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 307; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 8.148106375500852 AND "title"."production_year" <= 2012.4637642574999 AND "title"."episode_of_id" <= 10070 AND "keyword"."id" <= 532; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("char_name"."name_pcode_nf") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("char_name"."surname_pcode") AS agg_4, MAX("char_name"."name") AS agg_5, MAX("char_name"."imdb_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 54403; +SELECT "title"."imdb_index", COUNT(*) as agg_0, AVG("title"."episode_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" >= 2084617 AND "title"."kind_id" <= 7 AND "movie_info_idx"."info_type_id" != 101 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."series_years", COUNT(*) as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" >= 1 AND "movie_companies"."company_id" >= 6792 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "title"."production_year" <= 2009.528170744365 AND "movie_keyword"."keyword_id" <= 176 AND "title"."episode_of_id" <= 7069; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 35392 AND "keyword"."id" <= 36137; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" <= 15693190 AND "title"."id" <= 12592212; +SELECT "company_type"."kind", AVG("movie_companies"."company_id") AS agg_0, SUM("movie_companies"."movie_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 12966882 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 283 AND "movie_companies"."movie_id" >= 544689 AND "movie_companies"."company_type_id" != 2 AND "company_name"."id" <= 39472 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."kind_id", SUM("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."season_nr" >= 1.0 AND "movie_info"."id" <= 9263075 AND "movie_info_idx"."movie_id" <= 831582 AND "movie_info"."info_type_id" >= 2 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("aka_name"."id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 84762 AND "aka_name"."id" >= 541890 AND "aka_name"."person_id" <= 4018751; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133953 AND "movie_keyword"."movie_id" <= 12577511; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("name"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" >= 1088458 AND "title"."production_year" <= 2007.190285984941 AND "info_type"."id" IS NOT NULL; +SELECT AVG("movie_companies"."id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, AVG("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 1 AND "movie_companies"."company_id" >= 5870 AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."movie_id" >= 1307099; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 133067; +SELECT AVG("cast_info"."movie_id") AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT SUM("movie_companies"."id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%distributors%' AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."id" <= 1763443 AND "movie_companies"."movie_id" >= 1273619; +SELECT "name"."imdb_index", SUM("person_info"."info_type_id") as agg_0, SUM("name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" >= 4093412 AND "person_info"."info_type_id" <= 37 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("name"."name") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."gender") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."info") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("person_info"."info_type_id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20739288; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."imdb_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[rs]%' AND "movie_companies"."movie_id" <= 34547; +SELECT MAX("company_type"."id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%distributors%' AND "movie_companies"."company_id" <= 4247 AND "company_type"."id" <= 1; +SELECT SUM("name"."id") as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."surname_pcode" != '%H515%' AND "aka_name"."person_id" <= 1117240; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12518248 AND "title"."kind_id" <= 2010 AND "keyword"."id" <= 133082; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 877106 AND "title"."production_year" <= 2010.003619863779 AND "title"."kind_id" >= 7 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_info"."info") AS agg_7, MAX("title"."title") AS agg_8, MAX("movie_info_idx"."id") AS agg_9, MAX("title"."episode_of_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."series_years" <> '%1989-2003%' AND "title"."id" <= 30124 AND "movie_info"."id" <= 239974; +SELECT SUM("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" <= 9243226 AND "title"."imdb_index" != '%XVII%' AND "movie_info"."movie_id" <= 1774405 AND "title"."series_years" != '%1954-1970%'; +SELECT SUM("title"."season_nr") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 230048 AND "title"."episode_of_id" <= 1507254.3133762758 AND "title"."production_year" <= 2002.5109716697125 AND "link_type"."id" <= 7; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 132860 AND "keyword"."id" <= 133494; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 30541; +SELECT "name"."imdb_index", SUM("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 1790637 AND "person_info"."id" >= 1762335 AND "name"."imdb_index" != '%CXXXVI%' GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" <= 15573603; +SELECT "name"."gender", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" >= 304365 AND "person_info"."info_type_id" <= 20 AND "person_info"."person_id" <= 1706742 AND "name"."gender" != '%m%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "link_type"."link", AVG("movie_link"."movie_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 111475.88656831268 AND "title"."season_nr" >= 1.0 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("company_name"."id") AS agg_8, MAX("title"."title") AS agg_9, MAX("title"."md5sum") AS agg_10, MAX("title"."id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12634513; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("company_type"."id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2508824; +SELECT AVG("cast_info"."role_id") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."id" <= 9418500 AND "cast_info"."role_id" <= 2 AND "cast_info"."person_role_id" >= 10112.551883944441; +SELECT "title"."series_years", AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 1560659 AND "movie_info_idx"."info_type_id" <= 100 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_keyword"."movie_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 64441; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("company_name"."name_pcode_nf") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 2844 AND "company_type"."id" <= 1; +SELECT "cast_info"."role_id", COUNT(*) as agg_0, AVG("cast_info"."person_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."id" >= 23479331 AND "title"."series_years" != '%1968-2000%' AND "title"."episode_of_id" <= 1245100.6337692244 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT AVG("person_info"."person_id") AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%CLVII%' AND "person_info"."id" <= 48084; +SELECT MAX("char_name"."imdb_index") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."imdb_id") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("cast_info"."id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."title") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("cast_info"."nr_order") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id"; +SELECT "company_name"."country_code", COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[kg]%' AND "company_name"."id" <= 128149 AND "movie_companies"."id" <= 210813 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" >= 1 AND "title"."id" <= 606121 AND "title"."episode_nr" >= 12.711623578793262; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 1144888 AND "cast_info"."movie_id" <= 1883786 AND "title"."id" IS NOT NULL; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."company_type_id") as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" = 1 AND "title"."id" <= 1238222 AND "title"."series_years" != '%1978-1985%' AND "title"."season_nr" <= 1.0 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, AVG("movie_link"."movie_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_link" ON "title"."id" = "movie_link"."movie_id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "title"."episode_nr" >= 4.0676844238706495 AND "title"."kind_id" != 1 AND "link_type"."id" IS NOT NULL; +SELECT "title"."imdb_index", AVG("title"."episode_of_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."movie_id" >= 1613809 AND "title"."series_years" != '%1997-2007%' AND "movie_companies"."company_type_id" <= 2 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15653280; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 628493 AND "name"."id" <= 2470430 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("company_name"."country_code") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[ki]%' AND "company_name"."id" <= 4556 AND "company_type"."id" <= 1; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7; +SELECT MAX("title"."title") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1998; +SELECT AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%VI%' AND "title"."production_year" >= 2000.900407050763 AND "company_name"."id" >= 198582; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("name"."imdb_index") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "name"."surname_pcode" <> '%P621%' AND "aka_name"."person_id" <= 71065; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 12.009617663364853 AND "movie_keyword"."keyword_id" <= 378 AND "keyword"."id" <= 374; +SELECT SUM("cast_info"."nr_order") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%D%' AND "char_name"."id" >= 1114714 AND "cast_info"."person_role_id" >= 577345.1683318911 AND "cast_info"."person_id" >= 174127; +SELECT SUM("movie_companies"."company_id") as agg_0, AVG("company_type"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 78429 AND "movie_companies"."id" <= 1772319; +SELECT MAX("movie_info"."note") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("movie_info_idx"."info_type_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 7612 AND "movie_info_idx"."info_type_id" <= 99; +SELECT "movie_info"."info_type_id", COUNT(*) as agg_0, AVG("title"."episode_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 374132.40310603956 AND "movie_info_idx"."id" <= 1131040 AND "title"."season_nr" <= 1.0 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 930857 AND "company_type"."kind" != '%miscellaneous companies%' AND "company_type"."id" <= 3; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT SUM("title"."kind_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 9.939927714788858 AND "cast_info"."role_id" >= 1; +SELECT AVG("title"."episode_of_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 25634 AND "movie_keyword"."movie_id" <= 2394427 AND "movie_keyword"."id" <= 708546; +SELECT "title"."kind_id", AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 2466075 AND "movie_keyword"."id" >= 4032610 AND "keyword"."id" <= 120995 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133162; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133927 AND "movie_keyword"."movie_id" <= 12543477 AND "title"."episode_of_id" <= 2515681; +SELECT "cast_info"."role_id", SUM("cast_info"."movie_id") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" <= 2389895 AND "cast_info"."person_role_id" <= 390444.1923164481 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "company_name"."country_code", SUM("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" >= 180784 AND "movie_companies"."company_type_id" = 2 AND "movie_companies"."movie_id" >= 1533518 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("movie_keyword"."id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" != 6 AND "movie_keyword"."id" <= 2108739; +SELECT "title"."series_years", COUNT(*) as agg_0, SUM("title"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 1.9268808377001136 AND "title"."id" >= 848879 AND "cast_info"."person_id" >= 1040323 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 111 AND "movie_info_idx"."movie_id" <= 1114867; +SELECT COUNT(*) as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 3108875 AND "person_info"."info_type_id" = 24; +SELECT AVG("aka_name"."id") as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 396458 AND "cast_info"."id" <= 5503357 AND "char_name"."id" IS NOT NULL; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "info_type"."id" <= 113 AND "title"."id" <= 12602388; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 1652001 AND "company_type"."id" <= 2 AND "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_type_id" = 2; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 50887 AND "movie_info_idx"."id" <= 1338422; +SELECT "title"."series_years", SUM("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 2805463 AND "movie_keyword"."keyword_id" <= 1463 AND "title"."id" >= 1810827 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT MAX("cast_info"."note") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("char_name"."name") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("char_name"."surname_pcode") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <= 2 AND "cast_info"."movie_id" <= 29307; +SELECT MAX("company_type"."id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" <> '%distributors%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 1455; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."imdb_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[xyu]%' AND "company_name"."id" <= 1537; +SELECT SUM("title"."episode_nr") AS agg_0, COUNT(*) AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2565 AND "company_name"."id" <= 3880; +SELECT "title"."imdb_index", COUNT(*) as agg_0, SUM("title"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 14272 AND "title"."imdb_index" != '%XXIV%' AND "movie_keyword"."movie_id" >= 1871991 AND "title"."id" >= 463884 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_type"."id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("movie_companies"."company_type_id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1965-1974%' AND "movie_companies"."company_type_id" <= 1 AND "company_type"."id" <= 1; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("aka_name"."name") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%S625%' AND "cast_info"."nr_order" <= 19.739395760476132 AND "cast_info"."id" <= 443127; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[nr]%' AND "movie_companies"."movie_id" <= 2380155 AND "company_name"."id" <= 30332 AND "movie_companies"."id" <= 740975 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."kind_id", SUM("title"."production_year") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XX%' AND "movie_info"."info_type_id" = 2 AND "title"."series_years" != '%1969-1992%' AND "title"."production_year" <= 1963.8142651626679 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12567858 AND "title"."id" <= 12529505 AND "keyword"."id" <= 134034; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" <= 1269655 AND "info_type"."id" >= 97 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_type_id" != 1 AND "company_name"."country_code" != '%[zw]%' AND "company_name"."id" >= 133868 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("char_name"."imdb_index") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("title"."title") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("char_name"."surname_pcode") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("cast_info"."person_id") AS agg_7, MAX("cast_info"."note") AS agg_8, MAX("title"."phonetic_code") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("char_name"."name_pcode_nf") AS agg_11, MAX("cast_info"."movie_id") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 15615451 AND "cast_info"."movie_id" <= 12638193 AND "title"."id" <= 12626655; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_info_idx"."movie_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("movie_info_idx"."id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 1 AND "title"."episode_of_id" <= 8749; +SELECT MAX("name"."md5sum") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("name"."id") AS agg_6, MAX("name"."name") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("person_info"."person_id") AS agg_9, MAX("person_info"."id") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 62921 AND "person_info"."person_id" <= 69272; +SELECT AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" >= 1983.801820719476 AND "title"."series_years" != '%1976-1976%' AND "title"."episode_of_id" >= 163427.2028266113; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 3.418366465086356 AND "title"."kind_id" <= 5 AND "keyword"."id" <= 346; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."title") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("movie_info_idx"."info_type_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "info_type"."id" <= 113 AND "title"."id" <= 12598863; +SELECT "company_type"."kind", COUNT(*) as agg_0, SUM("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" != 2 AND "company_name"."id" <= 224396 AND "company_name"."country_code" != '%[ls]%' AND "movie_companies"."company_id" <= 6063 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT COUNT(*) as agg_0, SUM("kind_type"."id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 4 AND "title"."production_year" >= 1985.2598918458334 AND "title"."kind_id" = 1; +SELECT "title"."imdb_index", SUM("title"."id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" <= 11 AND "movie_link"."link_type_id" <= 8 AND "movie_link"."linked_movie_id" <= 2524808 AND "movie_link"."movie_id" >= 36303 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5, MAX("company_name"."country_code") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."movie_id" <= 44515 AND "company_name"."id" <= 2211; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6881514 AND "title"."id" <= 12554235; +SELECT "company_type"."id", COUNT(*) as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 1484938 AND "title"."production_year" >= 1889.87629052436 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 104379 AND "movie_keyword"."movie_id" <= 2401361 AND "movie_keyword"."id" >= 1257195; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 2; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133442; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1995; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 3.8856964519036277 AND "movie_companies"."id" <= 33068; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."md5sum") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT SUM("movie_companies"."id") AS agg_0, AVG("movie_companies"."movie_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."gender") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20692853; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("movie_companies"."id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT AVG("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "title"."production_year" >= 2010.8176840425447 AND "movie_companies"."company_type_id" <= 1 AND "company_type"."id" IS NOT NULL; +SELECT "company_name"."country_code", SUM("movie_companies"."company_id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 380335 AND "movie_companies"."company_type_id" >= 1 AND "movie_companies"."movie_id" >= 1950136 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "movie_info_idx"."info_type_id", SUM("movie_info"."id") as agg_0, SUM("title"."production_year") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."episode_nr" <= 1.3099612374980074 AND "movie_info"."info_type_id" != 16 AND "movie_info_idx"."id" <= 33815 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 26922 AND "company_name"."id" <= 2463; +SELECT AVG("cast_info"."nr_order") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" = 1 AND "cast_info"."nr_order" <= 3.883605548045752 AND "cast_info"."movie_id" >= 1034615; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "aka_name"."imdb_index", AVG("cast_info"."role_id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_id" <= 1528544 AND "cast_info"."role_id" <= 2 AND "aka_name"."person_id" >= 4144810 AND "cast_info"."movie_id" >= 736319 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT AVG("movie_keyword"."movie_id") AS agg_0, COUNT(*) AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 23786; +SELECT "info_type"."info", AVG("movie_info_idx"."id") as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%copyright holder%' AND "movie_info_idx"."movie_id" >= 1292295 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("cast_info"."role_id") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" <= 14.605449760147263 AND "char_name"."id" <= 435197 AND "cast_info"."person_id" >= 2122722; +SELECT AVG("movie_info"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" >= 16 AND "movie_info"."movie_id" >= 2101381 AND "title"."episode_nr" >= 23.294248892455684; +SELECT AVG("movie_keyword"."movie_id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("kind_type"."id") AS agg_0, MAX("kind_type"."kind") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_keyword"."movie_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133992 AND "title"."episode_of_id" <= 2522984 AND "movie_keyword"."movie_id" <= 12531715; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("company_name"."name_pcode_sf") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("title"."md5sum") AS agg_10, MAX("title"."series_years") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[lr]%' AND "title"."kind_id" <= 3 AND "company_name"."id" <= 2375; +SELECT MAX("aka_name"."id") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."name") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7, MAX("name"."imdb_id") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("name"."imdb_index") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" <> '%C61%' AND "person_info"."person_id" <= 71080 AND "aka_name"."id" <= 12781; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id"; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("person_info"."note") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20692077 AND "aka_name"."person_id" <= 20663939; +SELECT SUM("movie_keyword"."id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 104551 AND "title"."production_year" >= 2014.9694757781706 AND "title"."id" >= 1052316; +SELECT "title"."imdb_index", SUM("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" >= 132535 AND "movie_companies"."id" >= 1586126 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", SUM("title"."episode_nr") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 4648 AND "title"."episode_nr" >= 9.437244294901125 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("cast_info"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."movie_id" <= 2158728 AND "char_name"."imdb_index" != '%I%'; +SELECT "title"."kind_id", SUM("title"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" <= 3 AND "cast_info"."person_role_id" >= 2792.4486836203573 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 1202 AND "title"."id" >= 2163920 AND "movie_companies"."company_type_id" = 1; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 3 AND "movie_companies"."company_type_id" <= 1 AND "movie_companies"."company_id" <= 67244 AND "movie_companies"."movie_id" >= 1928198 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT AVG("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 43675 AND "movie_keyword"."movie_id" >= 1922394; +SELECT AVG("movie_info_idx"."id") AS agg_0, SUM("title"."id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 122414 AND "title"."episode_nr" >= 1.435714648211113 AND "title"."episode_of_id" <= 827712.9260593897 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XV%' AND "movie_info_idx"."info_type_id" <= 99; +SELECT SUM("title"."episode_of_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 65194 AND "movie_keyword"."keyword_id" >= 104204; +SELECT MAX("aka_name"."id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("name"."imdb_id") AS agg_8, MAX("cast_info"."movie_id") AS agg_9, MAX("name"."name") AS agg_10, MAX("aka_name"."name_pcode_nf") AS agg_11 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" <= 4497098; +SELECT "aka_name"."surname_pcode", SUM("aka_name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" >= 20 AND "person_info"."person_id" <= 758096 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT SUM("movie_keyword"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1744155 AND "keyword"."id" >= 51905; +SELECT MAX("title"."title") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 13026680 AND "title"."kind_id" <= 1995; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 162 AND "movie_companies"."id" <= 1462759 AND "company_type"."kind" != '%production companies%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "info_type"."id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" >= 1293238 AND "info_type"."id" >= 96 AND "movie_info_idx"."id" <= 1072885 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39 AND "name"."id" <= 20639810; +SELECT "title"."kind_id", SUM("movie_companies"."movie_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "title"."id" >= 9698 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("aka_name"."id") AS agg_0, MAX("person_info"."person_id") AS agg_1, MAX("name"."id") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("person_info"."info_type_id") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("name"."gender") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" <> '%Q41%' AND "name"."id" <= 32001 AND "aka_name"."person_id" <= 23233; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 1560279 AND "movie_keyword"."id" <= 1147464 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.428648046368055 AND "title"."episode_nr" >= 108.2013930821993 AND "movie_keyword"."id" <= 60078 AND "title"."id" <= 12744; +SELECT "movie_companies"."company_type_id", AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 4733 AND "movie_companies"."id" >= 389862 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "info_type"."info", SUM("movie_info_idx"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 85 AND "info_type"."info" != '%tech info%' AND "movie_info_idx"."id" <= 901062 AND "movie_info_idx"."movie_id" <= 1936336 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "movie_link"."movie_id", SUM("movie_link"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."kind_id" != 7 AND "link_type"."link" != '%alternate language version of%' GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%production companies%' AND "movie_companies"."movie_id" >= 1489996; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 17571 AND "movie_keyword"."id" >= 1228188 AND "movie_keyword"."movie_id" >= 1725080; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 1173606; +SELECT MAX("title"."title") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("keyword"."id") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("movie_keyword"."movie_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12632215 AND "keyword"."id" <= 133505; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 111308 AND "movie_keyword"."id" <= 706747; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 2675896 AND "cast_info"."person_id" >= 554966 AND "cast_info"."id" <= 25790391; +SELECT SUM("movie_info_idx"."id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 14.609156586865097 AND "movie_info_idx"."info_type_id" <= 100 AND "movie_info_idx"."id" <= 1124915; +SELECT SUM("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" <= 1914.14421391802 AND "kind_type"."id" != 5; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_info"."note") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12600579; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 74480; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 440; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 10724 AND "movie_keyword"."keyword_id" >= 8856; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."gender") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."id") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("person_info"."id") AS agg_9, MAX("person_info"."note") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 4468729; +SELECT MAX("company_name"."id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 1174824; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 27101 AND "movie_keyword"."movie_id" <= 2169985 AND "movie_keyword"."id" >= 3556752; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."md5sum") AS agg_9, MAX("name"."imdb_index") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20753926 AND "aka_name"."person_id" <= 20788385 AND "person_info"."id" <= 14802512; +SELECT "company_name"."country_code", SUM("company_type"."id") AS agg_0, SUM("movie_companies"."company_id") AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."movie_id" <= 12543613 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "company_type"."id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 8441 AND "company_type"."id" <= 2 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "title"."kind_id", SUM("keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 72738 AND "movie_keyword"."movie_id" >= 2415154 AND "movie_keyword"."keyword_id" >= 334 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id"; +SELECT SUM("char_name"."id") AS agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "aka_name"."id" <= 4462987 AND "cast_info"."person_id" <= 7606003 AND "char_name"."id" <= 15633836; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2512589; +SELECT "char_name"."imdb_index", SUM("cast_info"."person_id") as agg_0, AVG("cast_info"."nr_order") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 667088 AND "char_name"."imdb_index" != '%II%' AND "cast_info"."role_id" >= 1 AND "char_name"."id" <= 3048936 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT "movie_info_idx"."info_type_id", AVG("info_type"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" <= 341983 AND "info_type"."id" >= 84 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT SUM("title"."episode_of_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[gp]%' AND "company_name"."id" >= 35683; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" <= 12488423 AND "movie_info"."info_type_id" <= 13 AND "movie_info_idx"."info_type_id" != 107 AND "title"."episode_nr" <= 8.999934622781414; +SELECT SUM("cast_info"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <= 6 AND "cast_info"."person_role_id" <= 148133.62295630865 AND "name"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 4901701 AND "title"."imdb_index" != '%VII%' AND "title"."production_year" >= 2011.7138881839965 AND "movie_info"."movie_id" <= 1728171; +SELECT SUM("info_type"."id") AS agg_0, AVG("movie_info_idx"."info_type_id") AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id"; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 219621 AND "movie_companies"."id" >= 1770159; +SELECT "cast_info"."role_id", SUM("cast_info"."movie_id") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 1405107 AND "cast_info"."role_id" <= 2 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("aka_name"."id") AS agg_0, MAX("name"."id") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("name"."name") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("aka_name"."md5sum") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("name"."md5sum") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT "info_type"."info", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" >= 100 AND "movie_info_idx"."id" <= 1247524 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("movie_info"."note") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8, MAX("title"."md5sum") AS agg_9, MAX("movie_info"."id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."movie_id" <= 39233 AND "movie_info"."info_type_id" <= 1; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id"; +SELECT AVG("person_info"."info_type_id") as agg_0, AVG("person_info"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" != '%D265%' AND "person_info"."id" >= 2212385 AND "name"."id" <= 1727410 AND "person_info"."info_type_id" != 15; +SELECT AVG("movie_link"."id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 2.678249999539891 AND "link_type"."link" != '%remade as%' AND "movie_link"."id" >= 12375; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."movie_id" >= 792880 AND "char_name"."imdb_index" != '%IV%' AND "char_name"."id" >= 1855713; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 112618 AND "company_name"."country_code" != '%[zm]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 3091302 AND "keyword"."id" <= 3676 AND "movie_keyword"."movie_id" <= 2025850 AND "movie_keyword"."keyword_id" <= 70344; +SELECT MAX("title"."kind_id") AS agg_0, MAX("kind_type"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("name"."id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" <> '%m%' AND "aka_name"."person_id" <= 64378; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%LD length%' AND "movie_info_idx"."movie_id" <= 47799; +SELECT SUM("movie_companies"."movie_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" >= 2 AND "movie_companies"."id" <= 1786942; +SELECT "title"."kind_id", AVG("title"."kind_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 429 AND "company_type"."kind" != '%miscellaneous companies%' AND "company_type"."id" <= 2 AND "movie_companies"."id" >= 1591167 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "info_type"."info", SUM("title"."episode_of_id") AS agg_0, COUNT(*) AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%LD length%' AND "title"."episode_of_id" <= 7880 AND "info_type"."id" <= 1 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "title"."series_years", COUNT(*) as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2378773 AND "keyword"."id" >= 124415 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("char_name"."imdb_id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("char_name"."id") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("char_name"."md5sum") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" <= 19067; +SELECT MAX("movie_info"."id") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_info"."info") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 267880; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("title"."id") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12523446 AND "movie_companies"."company_id" <= 1164538 AND "company_type"."id" <= 4; +SELECT MAX("title"."id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."movie_id" <= 12542758; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2231055 AND "keyword"."id" <= 70366 AND "movie_keyword"."id" <= 360161; +SELECT AVG("movie_info_idx"."id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" != 99 AND "info_type"."id" >= 76 AND "info_type"."info" != '%LD official retail price%'; +SELECT SUM("title"."season_nr") AS agg_0, AVG("title"."episode_of_id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "info_type"."id" <= 1; +SELECT SUM("movie_keyword"."id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 878373 AND "keyword"."id" <= 72904; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 93399 AND "movie_keyword"."movie_id" <= 1767607 AND "movie_keyword"."id" >= 1002402; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("movie_info"."movie_id") AS agg_7, MAX("title"."series_years") AS agg_8, MAX("title"."episode_of_id") AS agg_9, MAX("movie_info_idx"."movie_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."production_year" <= 1999.3022901011525 AND "movie_info"."id" <= 113967 AND "movie_info_idx"."movie_id" <= 38158; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 5244 AND "movie_keyword"."id" <= 1133654 AND "movie_keyword"."movie_id" <= 2286881; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 713.3966229418957 AND "title"."episode_of_id" <= 1347344.910113366 AND "title"."id" <= 2328566; +SELECT "title"."series_years", AVG("title"."kind_id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 1509004 AND "link_type"."id" <= 6 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("cast_info"."person_id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" >= 1540210.2677789447 AND "title"."episode_nr" >= 3.3906989434527204 AND "title"."episode_of_id" >= 166312.22786122892 AND "title"."series_years" != '%1990-2003%'; +SELECT SUM("movie_companies"."company_type_id") as agg_0, AVG("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."movie_id" <= 2210210 AND "movie_companies"."company_id" <= 14337 AND "movie_companies"."company_type_id" >= 2; +SELECT MAX("company_name"."id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_type"."kind") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("company_name"."country_code") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT SUM("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."episode_of_id" >= 1249629.5869275972 AND "title"."kind_id" >= 7 AND "movie_keyword"."id" >= 564524; +SELECT COUNT(*) AS agg_0, AVG("title"."episode_of_id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("title"."id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("kind_type"."id") AS agg_5, MAX("title"."production_year") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 12575670; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 10123 AND "movie_keyword"."id" >= 3053991 AND "movie_keyword"."movie_id" <= 1725329; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_type"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."title") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 41085 AND "title"."id" <= 14696; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 13964; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("aka_name"."surname_pcode") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("name"."imdb_index") AS agg_10, MAX("name"."md5sum") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20650822 AND "cast_info"."movie_id" <= 12554077 AND "name"."id" <= 20715941; +SELECT AVG("cast_info"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" >= 1202779 AND "cast_info"."id" >= 7879142 AND "char_name"."imdb_index" != '%M%'; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" >= 2457079 AND "name"."surname_pcode" != '%P243%' AND "name"."imdb_index" != '%LXXXIX%' AND "person_info"."info_type_id" != 17 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT AVG("movie_link"."link_type_id") as agg_0, SUM("movie_link"."id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."kind_id" = 7 AND "title"."episode_nr" <= 6.899126075207215 AND "link_type"."link" != '%spin off from%'; +SELECT "title"."series_years", SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 295 AND "movie_companies"."movie_id" >= 1039024 AND "movie_companies"."id" <= 868742 AND "title"."episode_nr" <= 83.75322711860233 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 39 AND "name"."id" <= 20717025; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" != 7 AND "title"."id" >= 425782 AND "title"."series_years" != '%1998-2011%'; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("info_type"."id") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("info_type"."info") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_info_idx"."note") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 5 AND "movie_info_idx"."info_type_id" <= 99; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[gp]%' AND "company_name"."id" <= 2545; +SELECT "title"."series_years", COUNT(*) as agg_0, AVG("movie_link"."movie_id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%featured in%' AND "title"."season_nr" <= 879.1182174938509 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."name") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("person_info"."info_type_id") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."name_pcode_nf") AS agg_9, MAX("name"."imdb_index") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 70238 AND "name"."id" <= 39609; +SELECT "name"."gender", COUNT(*) as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" >= 507408 AND "name"."gender" != '%m%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2503931 AND "keyword"."id" <= 133627; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%LD official retail price%' AND "movie_info_idx"."movie_id" >= 2082817 AND "title"."production_year" <= 1999.1393319238364 AND "movie_info_idx"."info_type_id" >= 99; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 1.4103533575878395 AND "movie_companies"."id" <= 20820; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."person_id") AS agg_6, MAX("aka_name"."name_pcode_nf") AS agg_7, MAX("aka_name"."name_pcode_cf") AS agg_8, MAX("cast_info"."id") AS agg_9, MAX("aka_name"."person_id") AS agg_10, MAX("name"."imdb_index") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."surname_pcode" <> '%O461%' AND "name"."imdb_index" <> '%CLXXVI%' AND "cast_info"."id" <= 592115 AND "name"."id" <= 30392; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[rs]%' AND "company_name"."id" <= 2683; +SELECT AVG("title"."season_nr") as agg_0, AVG("title"."season_nr") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" >= 1 AND "movie_companies"."id" <= 1202883; +SELECT "kind_type"."id", AVG("title"."kind_id") AS agg_0, COUNT(*) AS agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7 AND "title"."kind_id" <= 2002 GROUP BY "kind_type"."id" ORDER BY "kind_type"."id"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 19921 AND "movie_companies"."company_id" <= 5394 AND "movie_companies"."company_type_id" != 2 AND "movie_companies"."id" >= 897656 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 60905; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" != 2 AND "movie_keyword"."keyword_id" <= 7434 AND "keyword"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."movie_id" >= 2169044 AND "movie_info"."info_type_id" != 4 AND "movie_info_idx"."info_type_id" >= 99 AND "movie_info_idx"."id" >= 719530; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 2207146 AND "title"."imdb_index" != '%VI%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("name"."name") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" <= 14683657 AND "aka_name"."id" <= 4468627; +SELECT MAX("title"."series_years") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22497176; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 16027 AND "title"."series_years" != '%1991-1998%'; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."company_type_id" <= 2; +SELECT "title"."imdb_index", COUNT(*) as agg_0, AVG("cast_info"."person_role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."id" >= 1908772 AND "cast_info"."role_id" >= 2 AND "title"."production_year" >= 1964.2485975264512 AND "cast_info"."movie_id" >= 384079 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("company_type"."id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4 AND "movie_companies"."company_id" <= 1165058; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22573851 AND "keyword"."id" <= 133377; +SELECT "title"."series_years", SUM("title"."kind_id") as agg_0, AVG("movie_link"."link_type_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" >= 8 AND "title"."season_nr" <= 4.5548802211090385 AND "title"."episode_nr" >= 24.53788651230609 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "name"."gender", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 163418 AND "aka_name"."person_id" <= 151847 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1166847 AND "movie_companies"."company_type_id" <= 2; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2282064 AND "title"."season_nr" <= 3.083335147134891; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("movie_keyword"."movie_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133202 AND "title"."kind_id" <= 2006 AND "keyword"."id" <= 133949; +SELECT AVG("keyword"."id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 44843 AND "movie_keyword"."id" <= 1183038 AND "title"."episode_of_id" >= 306425.6651956843 AND "movie_keyword"."keyword_id" >= 1661; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 524; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."title") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "movie_info_idx"."movie_id" <= 12536494; +SELECT "movie_companies"."company_type_id", AVG("title"."kind_id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12538616 AND "movie_companies"."id" <= 13020115 AND "company_type"."id" <= 4 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[bn]%' AND "company_name"."id" <= 2446; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 2352626 AND "keyword"."id" >= 170 AND "movie_keyword"."keyword_id" >= 59668 AND "movie_keyword"."movie_id" <= 2327590; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4; +SELECT "aka_name"."surname_pcode", COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "name"."gender", AVG("person_info"."person_id") as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 2089004 AND "name"."gender" != '%f%' AND "name"."surname_pcode" != '%Q2%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "company_name"."country_code", SUM("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[na]%' AND "company_name"."id" >= 109025 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 2328959 AND "company_name"."country_code" != '%[ph]%' AND "movie_companies"."company_id" <= 81; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" <= 12571877; +SELECT AVG("title"."kind_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%spoofed in%' AND "movie_link"."linked_movie_id" >= 2129206 AND "movie_link"."id" >= 2610; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[ie]%' AND "movie_companies"."movie_id" <= 2207231 AND "company_name"."id" <= 915 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%V241%' AND "person_info"."info_type_id" >= 24 AND "person_info"."person_id" <= 1268616; +SELECT "name"."gender", SUM("aka_name"."person_id") as agg_0, SUM("aka_name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" >= 2672679 AND "aka_name"."surname_pcode" != '%B163%' AND "name"."surname_pcode" != '%O412%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("kind_type"."id") AS agg_1, MAX("kind_type"."kind") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2099765 AND "movie_keyword"."id" >= 3796272 AND "keyword"."id" >= 19804; +SELECT COUNT(*) AS agg_0, AVG("person_info"."person_id") AS agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%f%' AND "name"."id" <= 79672; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 2597404 AND "aka_name"."id" <= 300779 AND "name"."id" <= 3574326 AND "name"."surname_pcode" != '%H536%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "title"."imdb_index", AVG("title"."episode_of_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[fj]%' AND "title"."episode_of_id" <= 1147644.1221348054 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("movie_info_idx"."info") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%LD aspect ratio%' AND "movie_info_idx"."id" <= 16630; +SELECT "aka_name"."imdb_index", AVG("aka_name"."person_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" != 10 AND "aka_name"."id" >= 170452 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "info_type"."info", AVG("title"."production_year") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 1662511 AND "info_type"."id" >= 54 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("title"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "title"."production_year" <= 2018.4878672894217 AND "movie_companies"."company_type_id" <= 1 AND "title"."episode_of_id" >= 1337533.3010741435 AND "movie_companies"."company_id" <= 16862 AND "company_name"."id" IS NOT NULL; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" <= 12616177; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT SUM("title"."season_nr") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 70601 AND "title"."season_nr" <= 1.0 AND "title"."id" <= 589623 AND "movie_keyword"."movie_id" <= 2035533; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" >= 2228695 AND "company_name"."id" >= 227904 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."id" <= 10657395 AND "char_name"."imdb_index" != '%D%' AND "cast_info"."movie_id" >= 410434 AND "title"."id" IS NOT NULL; +SELECT "info_type"."id", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" >= 267455 AND "info_type"."id" <= 105 AND "movie_info_idx"."id" >= 761209 AND "movie_info_idx"."info_type_id" = 101 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("title"."id") AS agg_0, MAX("kind_type"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."series_years" <> '%1957-1971%' AND "title"."season_nr" >= 1.0 AND "kind_type"."id" <= 1; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("person_info"."info") AS agg_8, MAX("aka_name"."person_id") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%S215%' AND "aka_name"."id" <= 4957; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 109697 AND "movie_keyword"."movie_id" >= 2123919; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("char_name"."imdb_id") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("char_name"."name_pcode_nf") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("char_name"."surname_pcode") AS agg_6, MAX("cast_info"."person_id") AS agg_7, MAX("char_name"."name") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("cast_info"."note") AS agg_10 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."nr_order" <= 13.996646929899882 AND "char_name"."id" <= 46847 AND "aka_name"."id" <= 18008; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" >= 715955 AND "movie_companies"."company_type_id" = 2 AND "movie_companies"."movie_id" >= 859552 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%LD subtitles%' AND "movie_info_idx"."info_type_id" <= 99; +SELECT "title"."kind_id", COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" <= 4760884 AND "title"."id" >= 1317893 AND "title"."production_year" <= 2008.923431469042 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("movie_keyword"."movie_id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" >= 3751496 AND "keyword"."id" <= 66570; +SELECT MAX("info_type"."id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_info_idx"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info_idx"."note") AS agg_7, MAX("title"."title") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."episode_of_id" <= 2511182; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 8 AND "movie_keyword"."movie_id" <= 29149; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_info"."info") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 13.543664603542899 AND "title"."id" <= 19121; +SELECT COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."movie_id" >= 181609 AND "name"."surname_pcode" != '%M343%' AND "cast_info"."id" <= 32963757 AND "cast_info"."nr_order" <= 6.626525175014294; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("company_type"."kind") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "title"."id" <= 42818 AND "movie_companies"."company_type_id" <= 1; +SELECT SUM("kind_type"."id") as agg_0 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "title"."production_year" <= 2006.9595345503287 AND "kind_type"."kind" != '%tv series%'; +SELECT SUM("link_type"."id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" <= 8 AND "link_type"."link" != '%follows%' AND "movie_link"."link_type_id" <= 5 AND "title"."season_nr" <= 1.0; +SELECT "title"."series_years", AVG("title"."id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 42 AND "movie_companies"."movie_id" <= 1783480 AND "movie_companies"."id" <= 1052263 AND "title"."series_years" != '%1972-2002%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_keyword"."id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 134165; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("company_name"."name") AS agg_7, MAX("title"."series_years") AS agg_8, MAX("movie_companies"."company_type_id") AS agg_9, MAX("title"."episode_of_id") AS agg_10, MAX("title"."phonetic_code") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[bw]%' AND "title"."episode_of_id" <= 9005 AND "company_name"."id" <= 2537; +SELECT "link_type"."id", AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 30.443528411445957 AND "movie_link"."link_type_id" >= 6 AND "movie_link"."id" >= 24901 AND "movie_link"."linked_movie_id" <= 2347494 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("person_info"."person_id") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("aka_name"."imdb_index") AS agg_9, MAX("name"."name") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" <> '%A631%' AND "name"."gender" <> '%f%' AND "name"."id" <= 26163 AND "aka_name"."id" <= 6109; +SELECT SUM("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 78292 AND "movie_keyword"."id" <= 1622886 AND "movie_keyword"."movie_id" >= 2258518; +SELECT "company_type"."kind", SUM("company_name"."id") AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 3057 AND "company_type"."id" <= 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT COUNT(*) AS agg_0, AVG("cast_info"."id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4469790; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20674410; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("movie_info_idx"."note") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1997.318386929861 AND "info_type"."id" <= 1 AND "movie_info_idx"."id" <= 9055; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1171045 AND "movie_companies"."id" <= 12975722; +SELECT MAX("name"."md5sum") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("name"."gender") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 72467; +SELECT "movie_companies"."company_type_id", SUM("company_name"."id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_name"."country_code" != '%[er]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("cast_info"."nr_order") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 2416001 AND "cast_info"."person_role_id" <= 2224905.5165527756; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."gender") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("name"."md5sum") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 20763670 AND "name"."id" <= 20723607 AND "aka_name"."id" <= 4486573; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 16420 AND "keyword"."id" <= 109260 AND "movie_keyword"."id" >= 1796792 AND "movie_keyword"."movie_id" <= 1771082; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 110953 AND "movie_keyword"."keyword_id" <= 3188 AND "movie_keyword"."id" <= 1335306 AND "movie_keyword"."movie_id" <= 2483164; +SELECT MAX("title"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2009 AND "movie_keyword"."movie_id" <= 12624269; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" >= 746349 AND "name"."imdb_index" != '%CVII%' AND "aka_name"."surname_pcode" != '%G414%' AND "name"."gender" != '%f%' GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("keyword"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 8727 AND "keyword"."id" <= 453; +SELECT COUNT(*) as agg_0, AVG("char_name"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "aka_name"."surname_pcode" != '%F525%' AND "cast_info"."role_id" <= 7; +SELECT "person_info"."info_type_id", SUM("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 624335 AND "person_info"."info_type_id" = 21 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT "title"."series_years", AVG("title"."production_year") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" >= 67401 AND "title"."kind_id" = 7 AND "link_type"."id" != 13 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 736344 AND "movie_info_idx"."movie_id" <= 2350173 AND "info_type"."info" != '%bottom 10 rank%'; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info"."note") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."kind_id" <= 2004 AND "movie_info"."movie_id" <= 12522836; +SELECT COUNT(*) AS agg_0, SUM("cast_info"."person_role_id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 15612199 AND "aka_name"."id" <= 4473147 AND "name"."id" <= 20762022; +SELECT MAX("title"."id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1998 AND "movie_info_idx"."info_type_id" <= 113; +SELECT SUM("movie_keyword"."id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 8686 AND "movie_keyword"."id" >= 663810 AND "keyword"."id" <= 13020 AND "movie_keyword"."movie_id" >= 1695356; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("info_type"."id") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "movie_info_idx"."id" <= 6860296 AND "title"."episode_of_id" <= 2508174; +SELECT COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" >= 436599 AND "name"."id" <= 1717699 AND "aka_name"."person_id" IS NOT NULL; +SELECT "cast_info"."role_id", AVG("char_name"."id") as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_id" <= 2800671 AND "cast_info"."person_role_id" >= 158149.13801976666 AND "cast_info"."id" <= 32284373 AND "char_name"."id" >= 3055898 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT AVG("company_type"."id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 1754663 AND "movie_companies"."company_type_id" = 1 AND "movie_companies"."company_id" >= 253 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2002.111067967904 AND "title"."id" <= 24716 AND "movie_keyword"."id" <= 49756; +SELECT MAX("name"."name") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("aka_name"."md5sum") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20813533; +SELECT MAX("kind_type"."id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."id") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id"; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("aka_name"."md5sum") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 20780678; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 96508 AND "movie_keyword"."keyword_id" <= 2194 AND "movie_keyword"."id" <= 1110472 AND "movie_keyword"."movie_id" >= 2072416; +SELECT AVG("movie_info_idx"."id") AS agg_0, SUM("title"."kind_id") AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12636637 AND "movie_info_idx"."movie_id" <= 12531787; +SELECT COUNT(*) as agg_0, SUM("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 2522127 AND "movie_keyword"."keyword_id" >= 277 AND "keyword"."id" <= 22583 AND "movie_keyword"."movie_id" >= 2262096; +SELECT SUM("title"."production_year") as agg_0 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."season_nr" <= 1.0 AND "title"."episode_nr" >= 3.3891551741107735 AND "movie_companies"."id" <= 2294708 AND "movie_companies"."company_type_id" = 1; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 134154 AND "movie_keyword"."keyword_id" <= 132924; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 1505 AND "movie_companies"."movie_id" <= 1756899 AND "movie_companies"."company_type_id" = 2 AND "company_name"."country_code" != '%[il]%'; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 91204 AND "movie_keyword"."movie_id" <= 1954391 AND "movie_keyword"."id" <= 3713254 AND "movie_keyword"."keyword_id" >= 3981; +SELECT "title"."kind_id", SUM("title"."episode_nr") AS agg_0, AVG("title"."production_year") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1963-1992%' AND "title"."id" <= 22532 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."kind_id", AVG("movie_link"."linked_movie_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" >= 5 AND "title"."production_year" <= 2002.3164045253275 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."imdb_index", AVG("title"."id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."kind_id" = 7 AND "title"."production_year" <= 2004.5422762182427 AND "movie_info"."movie_id" >= 1236898 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "movie_info_idx"."info_type_id", SUM("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 78 AND "movie_info_idx"."info_type_id" != 100 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" != 2 AND "movie_companies"."company_id" >= 4521 AND "movie_companies"."movie_id" <= 554202 AND "company_name"."country_code" != '%[bj]%'; +SELECT MAX("title"."kind_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 39747 AND "keyword"."id" <= 422; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" != 100 AND "movie_info_idx"."id" >= 669133 AND "title"."id" IS NOT NULL; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."id") AS agg_2, MAX("kind_type"."id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 1; +SELECT SUM("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" = 2 AND "company_type"."id" >= 1; +SELECT "title"."series_years", AVG("movie_info_idx"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."production_year" <= 1974.6932063534002 AND "title"."season_nr" >= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("kind_type"."kind") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."series_years" <> '%1957-1978%' AND "kind_type"."kind" <> '%episode%' AND "title"."kind_id" <= 5; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."md5sum") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("char_name"."id") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 4476015 AND "char_name"."id" <= 15690339; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("person_info"."person_id") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."id") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("aka_name"."person_id") AS agg_6, MAX("person_info"."info") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("aka_name"."name") AS agg_9, MAX("aka_name"."imdb_index") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" <> '%XIV%' AND "name"."surname_pcode" <> '%W162%' AND "aka_name"."surname_pcode" <> '%E145%' AND "aka_name"."person_id" <= 45862 AND "person_info"."person_id" <= 37834; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("company_name"."country_code") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("company_name"."name_pcode_nf") AS agg_10, MAX("movie_companies"."movie_id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 64 AND "movie_info_idx"."info_type_id" != 99 AND "info_type"."info" != '%LD release country%' AND "movie_info_idx"."id" >= 64837 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT COUNT(*) as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" >= 209 AND "movie_companies"."id" <= 330870; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("kind_type"."kind") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT COUNT(*) as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "movie_info"."id" >= 13013036 AND "title"."production_year" <= 2002.419338231397 AND "title"."kind_id" <= 7; +SELECT AVG("name"."id") AS agg_0, AVG("aka_name"."person_id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 4477063 AND "name"."id" <= 20819495; +SELECT MAX("company_name"."name") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."country_code") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 13030598 AND "company_name"."id" <= 1173628; +SELECT SUM("movie_info_idx"."movie_id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 34 AND "movie_info_idx"."info_type_id" = 101 AND "info_type"."info" != '%adaption%' AND "movie_info_idx"."id" <= 1199623; +SELECT COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2002.1968651464583 AND "title"."id" <= 901384; +SELECT AVG("aka_name"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%I426%' AND "name"."id" >= 3312943 AND "aka_name"."id" >= 747405; +SELECT SUM("title"."episode_of_id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" != 99 AND "title"."episode_of_id" >= 517913.0420054987; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 832438.8361202057 AND "title"."season_nr" >= 4.516381186977272 AND "movie_info_idx"."info_type_id" != 100; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 119919 AND "movie_keyword"."id" >= 538480 AND "movie_keyword"."movie_id" >= 2036403 AND "movie_keyword"."keyword_id" >= 2156; +SELECT MAX("keyword"."id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133464 AND "movie_keyword"."id" <= 22558051; +SELECT MAX("title"."id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("kind_type"."id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 12639113 AND "kind_type"."id" <= 7; +SELECT "name"."surname_pcode", COUNT(*) AS agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20686900 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 677537 AND "char_name"."imdb_index" != '%DM%' GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "aka_name"."imdb_index", AVG("aka_name"."person_id") as agg_0, AVG("person_info"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" != '%Z416%' AND "person_info"."id" >= 2206040 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 784 AND "movie_keyword"."id" <= 577305 AND "keyword"."id" <= 83072; +SELECT "company_type"."kind", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 6418 AND "title"."production_year" <= 1965.887239566004 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT "title"."series_years", SUM("cast_info"."role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" != 1 AND "title"."production_year" >= 1931.4502360774602 AND "cast_info"."person_role_id" <= 3134544.335472129 AND "title"."episode_of_id" <= 1608668.0482481373 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 1032725 AND "company_type"."id" >= 1; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("movie_companies"."note") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 36926; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 1590234 AND "movie_companies"."movie_id" <= 572832 AND "movie_companies"."company_type_id" != 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("info_type"."info") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6887755; +SELECT AVG("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%R465%' AND "person_info"."person_id" <= 2554772; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT "name"."gender", COUNT(*) AS agg_0, SUM("person_info"."id") AS agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 37262 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "link_type"."link", SUM("title"."episode_nr") as agg_0, AVG("movie_link"."movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" = 5 AND "movie_link"."movie_id" <= 122221 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT COUNT(*) as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" >= 19 AND "person_info"."id" <= 1588302 AND "aka_name"."surname_pcode" != '%O432%' AND "name"."gender" != '%m%'; +SELECT COUNT(*) as agg_0, SUM("movie_info"."movie_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_nr" >= 3.626886148095934 AND "movie_info"."info_type_id" >= 7 AND "movie_info_idx"."info_type_id" != 109; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT "title"."series_years", SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1999.6107115001157 AND "movie_companies"."company_type_id" != 1 AND "movie_companies"."movie_id" >= 1784875 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" >= 98636 AND "movie_companies"."id" >= 36848 AND "movie_companies"."company_type_id" <= 2 AND "company_name"."id" >= 86317 AND "company_type"."id" IS NOT NULL; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%m%' AND "name"."id" <= 32835; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("char_name"."surname_pcode") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 15617691 AND "cast_info"."person_id" <= 7621504; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."id") as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 16 AND "movie_info_idx"."id" <= 278222 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("movie_info_idx"."note") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%LD official retail price%' AND "title"."kind_id" <= 7 AND "movie_info_idx"."info_type_id" <= 99; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 72534 AND "movie_keyword"."id" >= 3433531 AND "movie_keyword"."keyword_id" >= 10453 AND "movie_keyword"."movie_id" <= 2256662; +SELECT "info_type"."info", SUM("movie_info_idx"."id") as agg_0, AVG("info_type"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "info_type"."info" != '%LD subtitles%' GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT AVG("name"."id") AS agg_0, COUNT(*) AS agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%S632%' AND "aka_name"."person_id" <= 21832; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1163702 AND "movie_companies"."movie_id" <= 12594925; +SELECT MAX("movie_info"."note") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8, MAX("title"."season_nr") AS agg_9, MAX("movie_info"."movie_id") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."kind_id" <= 8 AND "movie_info_idx"."movie_id" <= 30186; +SELECT AVG("movie_companies"."company_type_id") AS agg_0, COUNT(*) AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%distributors%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 4620; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" >= 392464 AND "name"."id" <= 3332076 AND "name"."gender" != '%f%'; +SELECT MAX("person_info"."id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("person_info"."info") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("name"."imdb_index") AS agg_6, MAX("person_info"."info_type_id") AS agg_7, MAX("name"."name") AS agg_8, MAX("name"."id") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 65238 AND "aka_name"."person_id" <= 29705; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133956 AND "movie_keyword"."keyword_id" <= 133877; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 216; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 276; +SELECT MAX("title"."id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("kind_type"."kind") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_nr" >= 8.039117138596831 AND "title"."season_nr" <= 1.0 AND "kind_type"."id" <= 1; +SELECT MAX("name"."name") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%J213%' AND "person_info"."info_type_id" <= 15; +SELECT "movie_link"."link_type_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%references%' AND "title"."episode_nr" <= 114.76034045035199 GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%LD contrast%' AND "info_type"."id" >= 29 AND "movie_info_idx"."id" <= 34062 AND "title"."id" <= 956809; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."episode_nr" >= 9.570957505904593 AND "cast_info"."movie_id" <= 36010; +SELECT COUNT(*) as agg_0, SUM("title"."production_year") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 16466 AND "movie_keyword"."movie_id" <= 968803 AND "title"."imdb_index" != '%XVII%'; +SELECT SUM("title"."episode_nr") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" >= 1878844 AND "title"."kind_id" != 7; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" >= 1621 AND "keyword"."id" >= 1096 AND "movie_keyword"."id" <= 2487955 AND "movie_keyword"."movie_id" >= 1701373; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."country_code") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 19850; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_keyword"."movie_id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."id" <= 42084 AND "keyword"."id" <= 318; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_nr" >= 1.9388073920335969 AND "kind_type"."kind" != '%tv mini series%'; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "info_type"."id", AVG("title"."kind_id") as agg_0, SUM("info_type"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%book%' AND "movie_info_idx"."id" <= 613574 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "company_name"."country_code", SUM("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_type_id" <= 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 1004 AND "movie_companies"."id" <= 280603 AND "movie_companies"."company_type_id" = 1 AND "company_type"."id" IS NOT NULL; +SELECT MAX("kind_type"."kind") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("kind_type"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "title"."id" <= 43398; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."surname_pcode") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT "title"."kind_id", COUNT(*) AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("char_name"."id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 2898557 AND "cast_info"."person_role_id" >= 13796.449195008972 AND "cast_info"."person_id" >= 1071849; +SELECT SUM("title"."kind_id") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2003.741447209744 AND "movie_companies"."company_id" >= 79698 AND "company_name"."id" >= 84703 AND "title"."kind_id" >= 7; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 14494 AND "movie_keyword"."movie_id" <= 1760097 AND "movie_keyword"."keyword_id" <= 5145 AND "movie_keyword"."id" >= 2594926; +SELECT "info_type"."info", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 91089 AND "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."id" <= 1199669 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" >= 2 AND "company_type"."kind" != '%special effects companies%' AND "movie_companies"."company_id" <= 677 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 38586 AND "company_name"."id" <= 194645 AND "movie_companies"."company_type_id" != 1 AND "company_name"."country_code" != '%[an]%'; +SELECT "name"."gender", AVG("aka_name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 1074025 AND "name"."id" <= 241315 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 21837 AND "title"."id" <= 1436276; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%LD official retail price%' AND "movie_info_idx"."movie_id" >= 1124744 AND "movie_info_idx"."info_type_id" >= 99 AND "movie_info_idx"."id" <= 1032108; +SELECT AVG("person_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" <= 2005255 AND "person_info"."person_id" >= 2382732 AND "aka_name"."person_id" IS NOT NULL; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("title"."title") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133523 AND "title"."episode_of_id" <= 2508721; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 311; +SELECT SUM("movie_keyword"."movie_id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 1902539 AND "keyword"."id" <= 77854; +SELECT COUNT(*) AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.2805859939010789 AND "cast_info"."person_role_id" >= 320016.00112325547 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("char_name"."imdb_index") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("char_name"."surname_pcode") AS agg_7, MAX("char_name"."imdb_id") AS agg_8, MAX("cast_info"."nr_order") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id"; +SELECT SUM("title"."episode_nr") as agg_0, AVG("title"."production_year") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XXIV%' AND "company_type"."kind" != '%special effects companies%' AND "movie_companies"."company_id" >= 179925; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 2295607 AND "movie_keyword"."movie_id" >= 1740223 AND "keyword"."id" >= 47763 AND "movie_keyword"."keyword_id" >= 620; +SELECT "name"."gender", AVG("person_info"."id") as agg_0, SUM("person_info"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" != '%J362%' AND "name"."id" >= 3377729 AND "person_info"."person_id" >= 1796589 AND "person_info"."info_type_id" != 21 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%LD release country%' AND "title"."id" <= 29891 AND "movie_info_idx"."id" <= 26236; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 320; +SELECT AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" = 2 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT "aka_name"."imdb_index", SUM("aka_name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" != '%M25%' AND "name"."gender" != '%f%' AND "person_info"."person_id" >= 1983163 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."name") AS agg_6, MAX("person_info"."note") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."md5sum") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%R325%' AND "person_info"."person_id" <= 56563 AND "name"."id" <= 55104; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("person_info"."info_type_id") AS agg_6, MAX("name"."name") AS agg_7, MAX("name"."id") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("aka_name"."id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%R523%' AND "person_info"."info_type_id" <= 15 AND "name"."id" <= 57772; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("kind_type"."kind") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 12594989; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1965-1966%' AND "movie_link"."linked_movie_id" <= 2397285 AND "title"."kind_id" != 7 AND "link_type"."id" != 9 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "char_name"."imdb_index", SUM("title"."episode_of_id") AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."id") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" <> '%U243%' AND "name"."imdb_index" <> '%CLXXXVII%' AND "person_info"."info_type_id" <= 15; +SELECT COUNT(*) as agg_0, SUM("cast_info"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" >= 2831399 AND "aka_name"."surname_pcode" != '%G453%' AND "name"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133961 AND "movie_keyword"."keyword_id" <= 132953; +SELECT AVG("aka_name"."id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" != '%m%' AND "aka_name"."person_id" <= 1205340; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."movie_id" >= 1427782 AND "char_name"."id" <= 820473 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT SUM("name"."id") as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" != '%m%' AND "person_info"."id" <= 621731 AND "person_info"."info_type_id" = 15; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 110627; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("movie_companies"."company_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12601466 AND "title"."id" <= 12524338; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."kind_id" <= 5; +SELECT AVG("movie_keyword"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 76947 AND "title"."kind_id" != 7 AND "movie_keyword"."id" <= 2389611; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "info_type"."id" <= 113; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 19.793290554338714 AND "movie_info"."info_type_id" <= 1; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 14744731 AND "name"."id" <= 20661954; +SELECT "title"."series_years", COUNT(*) AS agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2521131 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "name"."surname_pcode", AVG("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 1881429 AND "name"."gender" != '%f%' AND "name"."imdb_index" != '%CLXXVI%' AND "person_info"."id" >= 1971779 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("char_name"."md5sum") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("char_name"."imdb_index") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."name") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 12.988332136695718 AND "char_name"."id" <= 30504; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 3818; +SELECT SUM("cast_info"."id") as agg_0, AVG("cast_info"."person_role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 69.03131407020834 AND "aka_name"."id" >= 165630 AND "cast_info"."nr_order" >= 8.15438148730023; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 13164; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_type_id" != 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" >= 310681 AND "movie_companies"."movie_id" <= 750172 AND "movie_companies"."company_id" <= 291 AND "title"."episode_nr" <= 10888.889247828121 AND "company_name"."id" IS NOT NULL; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 2288382 AND "movie_companies"."company_id" <= 12111 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "info_type"."id", COUNT(*) as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" != 100 AND "movie_info_idx"."movie_id" <= 2236290 AND "movie_info_idx"."id" >= 667779 AND "info_type"."info" != '%magazine cover photo%' GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" <= 112; +SELECT "company_name"."country_code", AVG("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 11211 AND "movie_companies"."movie_id" <= 1695909 AND "company_name"."id" <= 134553 AND "movie_companies"."id" <= 1573141 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 911089 AND "keyword"."id" <= 38332; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%M%' AND "char_name"."id" >= 1219671 AND "cast_info"."person_role_id" IS NOT NULL; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" != '%f%' AND "aka_name"."id" >= 691008 AND "name"."surname_pcode" != '%E323%'; +SELECT MAX("company_name"."name") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("movie_companies"."company_id") AS agg_8, MAX("title"."title") AS agg_9, MAX("title"."id") AS agg_10, MAX("title"."imdb_index") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12596550; +SELECT MAX("name"."id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."gender") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" <> '%CXXXIII%' AND "person_info"."info_type_id" <= 15; +SELECT MAX("kind_type"."id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."series_years") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7 AND "title"."kind_id" <= 1995; +SELECT COUNT(*) as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" >= 2241559 AND "company_type"."id" = 2 AND "company_name"."id" >= 187084 AND "company_name"."country_code" != '%[an]%'; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 7211 AND "title"."episode_nr" <= 12.212095889033996 AND "movie_keyword"."id" >= 148131 AND "movie_keyword"."keyword_id" >= 3217; +SELECT "cast_info"."role_id", COUNT(*) as agg_0, AVG("cast_info"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 21.71394058367459 AND "cast_info"."person_id" <= 884182 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("movie_keyword"."movie_id") as agg_0, SUM("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" >= 2485924 AND "movie_keyword"."movie_id" <= 1889409 AND "keyword"."id" <= 36269 AND "movie_keyword"."keyword_id" <= 2927; +SELECT "name"."surname_pcode", AVG("person_info"."person_id") AS agg_0, SUM("person_info"."info_type_id") AS agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%m%' AND "name"."surname_pcode" <> '%B353%' AND "name"."imdb_index" <> '%LXXX%' AND "name"."id" <= 64718 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "movie_keyword"."movie_id" >= 171247 AND "movie_keyword"."keyword_id" >= 1286 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 12535887 AND "company_type"."id" <= 4; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("keyword"."phonetic_code") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7 AND "keyword"."id" <= 404; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 1746470 AND "keyword"."id" >= 62023; +SELECT "company_name"."country_code", AVG("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 73033 AND "company_name"."country_code" != '%[um]%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 2341323 AND "keyword"."id" <= 93364 AND "movie_keyword"."keyword_id" <= 5636 AND "movie_keyword"."id" <= 2414219; +SELECT "title"."imdb_index", SUM("title"."episode_nr") as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 1249914 AND "movie_info_idx"."movie_id" >= 1735880 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%LD status of availablility%' AND "movie_info_idx"."info_type_id" <= 100 AND "title"."episode_of_id" >= 1001101.946867019; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("company_type"."id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" >= 3431 AND "title"."id" <= 2461212 AND "title"."kind_id" <= 7; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[ly]%' AND "company_type"."kind" != '%production companies%' AND "movie_companies"."movie_id" <= 2477538 AND "company_type"."id" <= 1; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."gender") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20811599 AND "person_info"."id" <= 14745416; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 68.26484477624284 AND "movie_info_idx"."info_type_id" <= 100 AND "info_type"."info" != '%LD number of chapter stops%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("char_name"."imdb_id") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("char_name"."surname_pcode") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT SUM("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "keyword"."id" >= 16662; +SELECT "title"."series_years", AVG("link_type"."id") as agg_0, SUM("title"."id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%remake of%' AND "link_type"."id" != 16 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("person_info"."id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%XXIX%' AND "person_info"."id" <= 1089946 AND "person_info"."info_type_id" <= 22 AND "name"."id" <= 673820; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%production dates%' AND "movie_info_idx"."movie_id" <= 20023; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0, SUM("aka_name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" != '%E532%' AND "aka_name"."person_id" >= 2900599 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" != 16 AND "person_info"."person_id" <= 2465960 AND "person_info"."id" <= 103365 AND "name"."id" IS NOT NULL; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 3142 AND "keyword"."id" >= 66891 AND "movie_keyword"."id" >= 2482170 AND "movie_keyword"."movie_id" >= 2379660; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%IV%' AND "char_name"."id" >= 565285 AND "cast_info"."person_role_id" >= 356.7645041957063 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" <= 16754; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."title") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 7992 AND "movie_info_idx"."id" <= 10300; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XXI%' AND "keyword"."id" <= 491 AND "movie_keyword"."keyword_id" <= 376; +SELECT "title"."series_years", SUM("cast_info"."movie_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" = 7 AND "title"."id" <= 100146 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "cast_info"."role_id", AVG("aka_name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."gender" != '%m%' AND "cast_info"."movie_id" <= 1411343 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("keyword"."id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133775; +SELECT "aka_name"."surname_pcode", SUM("cast_info"."nr_order") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" >= 1051990 AND "aka_name"."surname_pcode" != '%O415%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT AVG("keyword"."id") as agg_0, SUM("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2353470 AND "keyword"."id" <= 75412 AND "movie_keyword"."keyword_id" >= 35290; +SELECT MAX("cast_info"."id") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "info_type"."id" <= 113; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 499 AND "movie_keyword"."id" <= 2182858 AND "keyword"."id" IS NOT NULL; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 134102; +SELECT "info_type"."info", AVG("movie_info_idx"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."id" <= 1141912 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("kind_type"."id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."series_years" <> '%1968-1992%' AND "kind_type"."id" <= 1; +SELECT "title"."kind_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2012.359721556008 AND "info_type"."id" >= 3 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12513451 AND "title"."id" <= 12590910; +SELECT "company_type"."kind", COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 2381062 AND "company_type"."id" != 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."id") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 20645951; +SELECT SUM("movie_companies"."company_id") as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[ai]%' AND "company_name"."id" >= 21157 AND "movie_companies"."company_type_id" >= 1 AND "movie_companies"."movie_id" >= 660956; +SELECT "info_type"."id", SUM("title"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 735289 AND "movie_info_idx"."info_type_id" >= 101 AND "title"."season_nr" >= 2.5283151328958517 AND "movie_info_idx"."id" <= 824674 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("person_info"."id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20717655; +SELECT SUM("title"."season_nr") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 13198 AND "movie_companies"."id" <= 1693473 AND "title"."kind_id" <= 7; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%tv mini series%' AND "title"."kind_id" <= 7; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."episode_of_id" <= 2521571 AND "movie_keyword"."keyword_id" <= 132878; +SELECT AVG("keyword"."id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" >= 1788198 AND "title"."id" <= 2187870 AND "movie_keyword"."keyword_id" <= 78442; +SELECT "title"."series_years", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XX%' AND "cast_info"."person_id" >= 3545753 AND "cast_info"."id" >= 5417022 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("keyword"."id") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12600969; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."kind_id" <= 7 AND "movie_info"."id" >= 14348968; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("person_info"."note") AS agg_7, MAX("name"."name_pcode_cf") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("person_info"."person_id") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 4498741; +SELECT MAX("title"."title") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2001.8894877832238 AND "info_type"."info" <> '%LD picture format%' AND "movie_info_idx"."movie_id" <= 25400 AND "info_type"."id" <= 1; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 101 AND "movie_info_idx"."movie_id" <= 2191107 AND "title"."id" IS NOT NULL; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12621406 AND "movie_info_idx"."info_type_id" <= 113; +SELECT MAX("name"."name") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."id") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20818657; +SELECT AVG("cast_info"."person_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."id" >= 10901194 AND "cast_info"."nr_order" >= 4.824081780914506; +SELECT MAX("title"."id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_info"."info") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 1.9239594866630332 AND "title"."kind_id" <= 8; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%production companies%' AND "movie_companies"."company_id" <= 101256 AND "company_type"."id" = 1 AND "movie_companies"."movie_id" <= 1414014 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("aka_name"."name_pcode_cf") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("aka_name"."imdb_index") AS agg_10 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%C63%' AND "cast_info"."nr_order" <= 798377274.3424975 AND "char_name"."id" <= 25070 AND "cast_info"."person_role_id" <= 42113; +SELECT COUNT(*) as agg_0, AVG("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 1812387 AND "keyword"."id" >= 30873; +SELECT "title"."kind_id", COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%episode%' AND "kind_type"."id" != 5 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 530; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."id" <= 21112; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("company_type"."id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 2070 AND "movie_companies"."id" <= 27022; +SELECT SUM("title"."kind_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 7 AND "movie_link"."id" <= 25716 AND "link_type"."id" != 8; +SELECT "aka_name"."imdb_index", SUM("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" >= 2175621 AND "person_info"."info_type_id" != 36 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 383995 AND "cast_info"."role_id" <= 1; +SELECT COUNT(*) as agg_0, SUM("char_name"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 3209749 AND "char_name"."imdb_index" != '%I%' AND "char_name"."id" >= 162276 AND "cast_info"."movie_id" <= 1916057; +SELECT "title"."kind_id", AVG("movie_info"."id") AS agg_0, SUM("title"."id") AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12588845 AND "movie_info"."movie_id" <= 12630357 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 35609 AND "movie_keyword"."movie_id" <= 994178 AND "movie_keyword"."keyword_id" >= 10621; +SELECT MAX("title"."id") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("info_type"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("movie_info_idx"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12640642 AND "info_type"."id" <= 113 AND "movie_info_idx"."id" <= 6894791; +SELECT MAX("title"."title") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."kind" <> '%video game%' AND "title"."series_years" <> '%1991-2003%' AND "title"."id" <= 48363; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 272184 AND "company_type"."id" = 1 AND "company_type"."kind" != '%special effects companies%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("company_type"."id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."id" <= 12943951 AND "title"."id" <= 12550659; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%distributors%' AND "title"."episode_of_id" <= 8823 AND "company_type"."id" <= 1; +SELECT AVG("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 1711964 AND "company_type"."id" != 3; +SELECT "name"."gender", AVG("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%W32%' AND "name"."gender" != '%m%' AND "person_info"."info_type_id" >= 24 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("kind_type"."id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("kind_type"."kind") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT AVG("title"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[mz]%' AND "title"."imdb_index" != '%V%' AND "title"."id" <= 1606015; +SELECT MAX("title"."title") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("company_name"."id") AS agg_8, MAX("company_name"."name") AS agg_9, MAX("company_name"."imdb_id") AS agg_10, MAX("title"."imdb_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 2452 AND "title"."episode_of_id" <= 2775; +SELECT "title"."imdb_index", SUM("movie_info_idx"."info_type_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1871-1918%' AND "movie_info_idx"."id" <= 1142216 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12533934; +SELECT COUNT(*) as agg_0, SUM("person_info"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 750239 AND "person_info"."info_type_id" >= 15 AND "name"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 1360108 AND "title"."imdb_index" != '%X%'; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("char_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("char_name"."imdb_id") AS agg_6, MAX("cast_info"."person_id") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("char_name"."md5sum") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 68152 AND "cast_info"."movie_id" <= 43965; +SELECT SUM("company_name"."id") AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 1164783 AND "company_type"."id" <= 4 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 3 AND "movie_info_idx"."movie_id" <= 13058; +SELECT "name"."surname_pcode", SUM("person_info"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" >= 3677904 AND "person_info"."info_type_id" <= 23 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."id") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 15; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 410 AND "movie_keyword"."movie_id" <= 30636; +SELECT "info_type"."info", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" >= 100 AND "movie_info_idx"."movie_id" <= 2329899 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT AVG("title"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 37734 AND "movie_keyword"."movie_id" >= 2275266 AND "keyword"."id" >= 81672; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 93641 AND "movie_keyword"."movie_id" >= 864332; +SELECT "title"."imdb_index", AVG("title"."id") AS agg_0, COUNT(*) AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 7.499455580773583 AND "info_type"."info" <> '%LD quality program%' AND "title"."kind_id" <= 8 AND "info_type"."id" <= 1 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" >= 1 AND "kind_type"."kind" != '%tv series%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."movie_id") AS agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 99 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("title"."title") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%birth notes%' AND "info_type"."id" <= 1 AND "movie_info_idx"."info_type_id" <= 99; +SELECT "title"."imdb_index", AVG("movie_keyword"."keyword_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."production_year" <= 2008.3189614772145 AND "movie_keyword"."keyword_id" >= 1948 AND "movie_keyword"."id" >= 4099823 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "company_type"."id", AVG("movie_companies"."movie_id") as agg_0, SUM("title"."kind_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 463850.809992859 AND "company_type"."id" != 2 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 9.871755437516562 AND "link_type"."link" != '%featured in%'; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 17262; +SELECT MAX("title"."id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110; +SELECT COUNT(*) as agg_0, SUM("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 421548 AND "keyword"."id" <= 111604; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 94413 AND "movie_keyword"."keyword_id" <= 257 AND "movie_keyword"."movie_id" >= 75157 AND "movie_keyword"."id" >= 1306060; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 1658528 AND "keyword"."id" <= 118827 AND "movie_keyword"."keyword_id" >= 158; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 125950 AND "movie_keyword"."movie_id" <= 2197157; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" >= 1 AND "movie_companies"."id" <= 1133661 AND "movie_companies"."company_id" >= 14308; +SELECT SUM("movie_info"."info_type_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" = 3 AND "movie_info"."movie_id" <= 1072134 AND "title"."episode_nr" >= 14.141323343738101; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12565014 AND "keyword"."id" <= 133428; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_type"."kind") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("company_name"."country_code") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 1 AND "company_name"."id" <= 2416; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 26974 AND "keyword"."id" <= 170; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."movie_id") AS agg_0, COUNT(*) AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 279; +SELECT MAX("title"."md5sum") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("info_type"."id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12621642; +SELECT SUM("aka_name"."person_id") as agg_0, SUM("aka_name"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" != '%f%' AND "aka_name"."id" <= 623787 AND "person_info"."person_id" IS NOT NULL; +SELECT AVG("title"."kind_id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" != 6 AND "kind_type"."kind" != '%tv series%' AND "title"."kind_id" >= 1; +SELECT AVG("keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 73712 AND "movie_keyword"."keyword_id" >= 4964 AND "movie_keyword"."id" >= 205672; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("info_type"."info") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7 AND "info_type"."id" <= 1; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 1171254 AND "company_type"."id" <= 4; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."id") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 35040 AND "title"."episode_of_id" <= 4448; +SELECT AVG("person_info"."id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 2264421 AND "name"."gender" != '%m%'; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2333036 AND "movie_keyword"."keyword_id" >= 1244 AND "keyword"."id" <= 117734; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 1 AND "company_name"."id" <= 3191; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 2533216 AND "company_type"."kind" != '%production companies%' AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."company_id" >= 770; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 68904; +SELECT "person_info"."info_type_id", SUM("name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 1110692 AND "name"."surname_pcode" != '%M161%' AND "person_info"."id" >= 1297656 AND "name"."gender" != '%f%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT AVG("movie_keyword"."id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 41455 AND "movie_keyword"."keyword_id" <= 16352 AND "movie_keyword"."id" >= 3355735 AND "movie_keyword"."movie_id" <= 1896541; +SELECT COUNT(*) as agg_0, AVG("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[gl]%' AND "company_name"."id" >= 3809 AND "movie_companies"."movie_id" >= 2002597 AND "movie_companies"."id" <= 1670374; +SELECT "title"."imdb_index", AVG("info_type"."id") AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "title"."episode_nr" >= 7.788488520056838 AND "info_type"."info" <> '%LD laserdisc title%' AND "movie_info_idx"."movie_id" <= 25445 AND "info_type"."id" <= 1 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("movie_info"."movie_id") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("movie_info"."info") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."movie_id" <= 12613476 AND "movie_info_idx"."info_type_id" <= 113 AND "title"."episode_of_id" <= 2508768; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("keyword"."keyword") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12607949 AND "keyword"."id" <= 133701; +SELECT "title"."series_years", AVG("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 2329701 AND "title"."id" <= 1930966 AND "movie_companies"."id" <= 1997424 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."series_years", AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 86066 AND "movie_keyword"."id" <= 1833115 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."kind_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%article%' AND "movie_info_idx"."movie_id" >= 1291225 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1993.4292446360776 AND "keyword"."id" <= 496 AND "title"."kind_id" <= 8; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 295; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2008.3004777641927 AND "info_type"."id" <= 1 AND "title"."episode_of_id" <= 5282; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%m%' AND "person_info"."person_id" <= 82659; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 22400391 AND "keyword"."id" <= 133079; +SELECT COUNT(*) AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 41356; +SELECT AVG("cast_info"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%M%' AND "char_name"."id" <= 1059962 AND "cast_info"."movie_id" >= 1122885; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("keyword"."keyword") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "keyword"."id" <= 210 AND "title"."id" <= 19560; +SELECT COUNT(*) AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20730972 AND "person_info"."info_type_id" <= 39; +SELECT SUM("title"."season_nr") as agg_0, AVG("title"."kind_id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_of_id" >= 1460007.847339023 AND "kind_type"."id" >= 3 AND "title"."production_year" >= 1995.8037369865212; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 1055053 AND "title"."episode_nr" >= 6.020687709802602 AND "title"."kind_id" >= 7 AND "cast_info"."id" >= 9612736; +SELECT COUNT(*) AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1948-1953%' AND "title"."kind_id" <= 6; +SELECT COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 37147; +SELECT "name"."gender", COUNT(*) AS agg_0, SUM("aka_name"."id") AS agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" <= 20804478 AND "cast_info"."person_role_id" <= 15593859 AND "aka_name"."person_id" <= 20752681 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "title"."kind_id", AVG("title"."episode_of_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 10476 AND "movie_keyword"."id" >= 3917777 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 216; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id"; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("name"."name") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 30553; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 469328 AND "company_name"."id" <= 183015 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 4.70981806461106 AND "movie_info"."id" >= 14518354; +SELECT MAX("name"."name") AS agg_0, MAX("name"."id") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 478369 AND "keyword"."id" <= 43133; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."id" <= 15470; +SELECT COUNT(*) as agg_0, SUM("title"."id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" != 101 AND "movie_info_idx"."id" >= 531919 AND "movie_info"."movie_id" IS NOT NULL; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."title") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("movie_companies"."id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" >= 356 AND "company_name"."country_code" != '%[ml]%' AND "movie_companies"."movie_id" >= 2114345; +SELECT COUNT(*) as agg_0, AVG("aka_name"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%Z351%' AND "name"."imdb_index" != '%I%'; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."title") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 32262 AND "movie_keyword"."keyword_id" >= 7142; +SELECT "char_name"."imdb_index", AVG("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 1588816 AND "cast_info"."person_role_id" <= 2234875.5066722524 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT AVG("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" >= 17 AND "aka_name"."person_id" >= 2352244 AND "person_info"."id" >= 2416625 AND "person_info"."person_id" <= 2531922; +SELECT AVG("aka_name"."person_id") as agg_0, AVG("person_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" >= 2949 AND "aka_name"."person_id" >= 3563725; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 2311490 AND "company_type"."kind" != '%special effects companies%' AND "company_type"."id" <= 2; +SELECT MAX("cast_info"."note") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("char_name"."name") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <= 1 AND "cast_info"."person_id" <= 30122; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 195; +SELECT AVG("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 64189 AND "movie_keyword"."id" >= 4208744; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 36.74078805315798 AND "info_type"."id" <= 1 AND "movie_info_idx"."movie_id" <= 22925; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info_idx"."info_type_id") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7, MAX("title"."imdb_index") AS agg_8, MAX("movie_info"."id") AS agg_9, MAX("movie_info"."note") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."series_years" <> '%1935-1936%' AND "movie_info"."movie_id" <= 23775 AND "movie_info_idx"."id" <= 13665; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "company_type"."id" <= 1; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_type_id" <= 2 AND "company_type"."id" >= 2; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("person_info"."info_type_id") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("name"."name") AS agg_9, MAX("person_info"."info") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39; +SELECT AVG("movie_companies"."company_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 1 AND "movie_companies"."id" <= 2362988 AND "movie_companies"."movie_id" <= 2113350 AND "company_name"."country_code" != '%[kz]%'; +SELECT "aka_name"."imdb_index", SUM("aka_name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" >= 1 AND "cast_info"."person_id" <= 3971737 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT SUM("title"."kind_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%references%' AND "movie_link"."id" >= 21122 AND "movie_link"."linked_movie_id" >= 2171470; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT AVG("movie_keyword"."id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "title"."id" <= 41704 AND "keyword"."id" <= 355; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2511498 AND "movie_keyword"."id" <= 22548259; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 15645679 AND "aka_name"."id" <= 4463533; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2004.8958917831326 AND "movie_info"."movie_id" <= 43273; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[so]%' AND "movie_companies"."id" <= 822716; +SELECT SUM("cast_info"."movie_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 1434683 AND "cast_info"."id" >= 3674513 AND "aka_name"."surname_pcode" != '%S363%'; +SELECT "link_type"."link", AVG("movie_link"."linked_movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1956-1974%' AND "movie_link"."link_type_id" <= 13 AND "link_type"."link" != '%features%' GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT SUM("link_type"."id") as agg_0, AVG("movie_link"."movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."episode_nr" >= 20.403949139770877; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info_idx"."info") AS agg_7, MAX("title"."imdb_index") AS agg_8, MAX("title"."season_nr") AS agg_9, MAX("title"."imdb_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" <= 12628794; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("company_name"."name") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."episode_of_id") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("movie_companies"."id") AS agg_10, MAX("title"."md5sum") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2004 AND "company_name"."id" <= 1166998 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("keyword"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 161 AND "movie_keyword"."id" <= 42856; +SELECT "title"."imdb_index", COUNT(*) as agg_0, SUM("title"."production_year") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" >= 4 AND "title"."episode_of_id" <= 1258136.8323396603 AND "title"."episode_nr" >= 17.288416396632726 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "name"."gender", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" != '%LXIX%' AND "aka_name"."id" >= 405391 AND "person_info"."id" >= 2728418 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."gender") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."imdb_id") AS agg_6, MAX("aka_name"."md5sum") AS agg_7, MAX("person_info"."info_type_id") AS agg_8, MAX("name"."name") AS agg_9, MAX("person_info"."id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" <> '%m%' AND "name"."id" <= 24998 AND "person_info"."person_id" <= 78840; +SELECT AVG("info_type"."id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" >= 560403 AND "movie_info_idx"."info_type_id" <= 101 AND "movie_info_idx"."id" >= 968406 AND "info_type"."info" != '%LD dynamic range%'; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "movie_companies"."movie_id" <= 24029 AND "title"."episode_of_id" <= 7850; +SELECT MAX("title"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.1714336491921395 AND "title"."episode_nr" <= 42.154882771779455 AND "keyword"."id" <= 298 AND "movie_keyword"."movie_id" <= 41934; +SELECT COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" >= 2030709 AND "title"."id" <= 702401; +SELECT "title"."imdb_index", SUM("title"."kind_id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 12696 AND "title"."imdb_index" != '%VI%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."id") AS agg_7, MAX("aka_name"."person_id") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 81927 AND "person_info"."id" <= 51480; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."title") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133368 AND "title"."kind_id" <= 2005 AND "movie_keyword"."id" <= 22606712; +SELECT AVG("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 212806 AND "company_name"."country_code" != '%[gd]%' AND "movie_companies"."movie_id" <= 2516480 AND "company_type"."id" IS NOT NULL; +SELECT AVG("title"."production_year") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 2521436 AND "title"."season_nr" <= 1.0 AND "link_type"."id" != 9 AND "movie_link"."movie_id" >= 75172; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 41146 AND "movie_keyword"."keyword_id" >= 836 AND "movie_keyword"."movie_id" <= 2048050 AND "movie_keyword"."id" <= 829120; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("name"."name") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20762488 AND "person_info"."id" <= 14755056; +SELECT "name"."gender", SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" >= 2350404 AND "person_info"."id" >= 579586 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") as agg_0, SUM("title"."production_year") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" != 99 AND "movie_info_idx"."movie_id" <= 2353134 AND "info_type"."info" != '%admissions%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."series_years", SUM("cast_info"."nr_order") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."series_years" != '%1992-????%' AND "cast_info"."person_id" >= 1244408 AND "title"."episode_nr" >= 7.536629023432293 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "cast_info"."role_id", SUM("cast_info"."role_id") AS agg_0, AVG("cast_info"."movie_id") AS agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_id" <= 7652793 AND "char_name"."id" <= 15609341 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."id") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT COUNT(*) AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%W356%' AND "name"."gender" <> '%m%' AND "name"."id" <= 80053 AND "person_info"."id" <= 34788; +SELECT "info_type"."id", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 101 AND "title"."kind_id" != 1 AND "info_type"."id" >= 93 AND "title"."production_year" >= 1978.0715090348408 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 41501 AND "movie_keyword"."movie_id" <= 1214043; +SELECT SUM("info_type"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "info_type"."info" != '%LD dynamic range%' AND "info_type"."id" >= 22; +SELECT SUM("name"."id") AS agg_0, SUM("aka_name"."person_id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 20678753 AND "aka_name"."person_id" <= 20720072; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133764 AND "movie_keyword"."movie_id" <= 12513934 AND "title"."kind_id" <= 2003; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 475395 AND "cast_info"."movie_id" <= 1545691 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT "title"."series_years", SUM("movie_info"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 3.781849037328559 AND "movie_info"."info_type_id" <= 14 AND "title"."id" <= 1229503 AND "title"."episode_of_id" <= 866089.84377243 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" >= 1930578 AND "movie_companies"."company_id" >= 605 AND "company_name"."id" IS NOT NULL; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 2957809 AND "cast_info"."role_id" <= 2 AND "aka_name"."person_id" >= 1852295 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "name"."surname_pcode", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" >= 2650817 AND "name"."id" >= 433186 AND "name"."surname_pcode" != '%R525%' AND "person_info"."person_id" >= 1284532 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."id") AS agg_4, MAX("kind_type"."kind") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."series_years" <> '%1992-2001%' AND "title"."production_year" <= 1997.456804154465 AND "title"."episode_of_id" <= 4800; +SELECT "company_type"."kind", SUM("movie_companies"."company_type_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 1 AND "movie_companies"."movie_id" >= 1870236 AND "movie_companies"."company_id" <= 13038 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("person_info"."id") AS agg_7, MAX("person_info"."info_type_id") AS agg_8, MAX("person_info"."person_id") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%f%' AND "name"."surname_pcode" <> '%J15%' AND "name"."id" <= 49669 AND "person_info"."person_id" <= 81709; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 1.7179159911258914 AND "cast_info"."person_role_id" >= 81010.07284660274 AND "cast_info"."person_id" >= 533750 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("cast_info"."role_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "cast_info"."movie_id" <= 21312; +SELECT "aka_name"."imdb_index", AVG("aka_name"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" != '%B213%' AND "aka_name"."id" >= 428107 AND "aka_name"."person_id" <= 4157758 AND "person_info"."person_id" <= 1125516 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("company_name"."id") AS agg_8, MAX("title"."kind_id") AS agg_9, MAX("company_name"."imdb_id") AS agg_10, MAX("movie_companies"."movie_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1163956; +SELECT "name"."surname_pcode", SUM("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" != 17 AND "person_info"."person_id" <= 3032975 AND "name"."surname_pcode" != '%U352%' AND "person_info"."id" <= 1499584 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1978.0658636279188 AND "info_type"."info" <> '%LD official retail price%' AND "movie_info_idx"."movie_id" <= 25766 AND "title"."kind_id" <= 4; +SELECT "title"."imdb_index", COUNT(*) as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" >= 1397686 AND "movie_companies"."movie_id" <= 1840957 AND "movie_companies"."company_type_id" <= 2 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 1007749 AND "person_info"."id" <= 657281 AND "person_info"."info_type_id" = 24; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("person_info"."info_type_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%S313%' AND "name"."id" <= 68479; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."title") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12540431 AND "title"."id" <= 12589913; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("name"."gender") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("name"."id") AS agg_7, MAX("name"."name_pcode_cf") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("aka_name"."imdb_index") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20834141 AND "person_info"."info_type_id" <= 39; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 274 AND "keyword"."id" <= 112307 AND "movie_keyword"."id" <= 2434932 AND "movie_keyword"."movie_id" >= 1946264; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2006.0141476755434 AND "movie_info"."movie_id" <= 32009; +SELECT AVG("movie_info"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1978.9081246448266 AND "title"."episode_nr" <= 5.276759490829301; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 42481; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" >= 2645851 AND "char_name"."imdb_index" != '%D%'; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.2296139397626404 AND "movie_info_idx"."id" <= 16058; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 2255021 AND "cast_info"."person_role_id" >= 107698.66666928593; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 10.56398893704064 AND "movie_companies"."movie_id" <= 13857; +SELECT AVG("title"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" <= 777291 AND "title"."season_nr" >= 6.835799818576493 AND "movie_info_idx"."info_type_id" != 99 AND "movie_info_idx"."movie_id" >= 896330; +SELECT "title"."kind_id", AVG("title"."episode_nr") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" <= 1 AND "title"."season_nr" >= 1.0 AND "cast_info"."movie_id" <= 2394034 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "name"."imdb_index" <> '%XCV%' AND "name"."id" <= 79124; +SELECT "cast_info"."role_id", AVG("cast_info"."nr_order") AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15559484 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "company_type"."kind", SUM("movie_companies"."movie_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 1908752 AND "company_name"."country_code" != '%[bb]%' AND "movie_companies"."id" <= 542239 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("company_name"."name_pcode_nf") AS agg_7, MAX("title"."series_years") AS agg_8, MAX("title"."phonetic_code") AS agg_9, MAX("title"."kind_id") AS agg_10, MAX("title"."md5sum") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 2168 AND "company_name"."id" <= 1403; +SELECT "info_type"."info", SUM("title"."kind_id") AS agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "title"."episode_of_id" <= 5069 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" <= 393259 AND "cast_info"."person_role_id" <= 2867644.4135028054 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "title"."kind_id", AVG("title"."production_year") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 1070000 AND "title"."kind_id" = 7 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."imdb_index", SUM("title"."production_year") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."production_year" >= 1931.6946700423796 AND "title"."episode_nr" >= 67.74078065701119 AND "movie_keyword"."keyword_id" <= 734 AND "movie_keyword"."id" <= 2221373 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", AVG("movie_companies"."movie_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."id" >= 697143 AND "title"."production_year" <= 1976.8886678195622 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133608 AND "keyword"."id" <= 133211 AND "title"."id" <= 12567256; +SELECT SUM("char_name"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" >= 160581 AND "cast_info"."person_role_id" >= 174307.09112631076 AND "cast_info"."person_id" <= 2711474; +SELECT MAX("title"."id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("keyword"."id") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12552951 AND "movie_keyword"."movie_id" <= 12617323; +SELECT COUNT(*) as agg_0, SUM("title"."production_year") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%similar to%' AND "title"."episode_nr" >= 1.29941351171451 AND "link_type"."id" != 10; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("info_type"."info") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12607271 AND "title"."id" <= 12572545 AND "info_type"."id" <= 113; +SELECT "kind_type"."id", COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."kind" != '%movie%' AND "title"."production_year" <= 2010.4040862314057 AND "kind_type"."id" <= 4 AND "title"."kind_id" != 7 GROUP BY "kind_type"."id" ORDER BY "kind_type"."id"; +SELECT COUNT(*) AS agg_0, SUM("title"."id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("company_name"."md5sum") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 3176; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133175 AND "movie_keyword"."keyword_id" <= 133508; +SELECT "title"."series_years", SUM("movie_info"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" != 2 AND "title"."kind_id" = 7 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "kind_type"."id", AVG("title"."season_nr") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_nr" <= 79.50641168202772 AND "kind_type"."kind" != '%video movie%' GROUP BY "kind_type"."id" ORDER BY "kind_type"."id"; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id"; +SELECT SUM("movie_companies"."company_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" >= 2 AND "movie_companies"."movie_id" <= 1752594; +SELECT COUNT(*) as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%featured in%' AND "movie_link"."link_type_id" <= 8 AND "title"."id" <= 2280882 AND "movie_link"."movie_id" <= 181705; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 1145045.134640573 AND "movie_info"."info_type_id" != 3 AND "title"."production_year" >= 1886.5303334754353; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 48573; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 415; +SELECT SUM("movie_companies"."company_type_id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" >= 2180550 AND "company_type"."kind" != '%production companies%'; +SELECT AVG("movie_companies"."company_id") as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."country_code" != '%[ai]%' AND "movie_companies"."movie_id" <= 301631 AND "company_type"."id" IS NOT NULL; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "company_name"."id" <= 1436 AND "movie_companies"."company_type_id" <= 1; +SELECT AVG("person_info"."id") AS agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" != '%m%' AND "person_info"."info_type_id" != 19; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" != 3 AND "title"."production_year" <= 2004.9836468146314 AND "title"."kind_id" = 4; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("cast_info"."person_id") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("cast_info"."note") AS agg_10, MAX("name"."imdb_index") AS agg_11 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%CXXI%' AND "cast_info"."movie_id" <= 18188 AND "name"."id" <= 37944; +SELECT AVG("movie_keyword"."keyword_id") AS agg_0, COUNT(*) AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT "name"."surname_pcode", SUM("name"."id") as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 33 AND "person_info"."id" >= 774271 AND "name"."surname_pcode" != '%V63%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT COUNT(*) as agg_0, AVG("title"."production_year") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 1804428 AND "keyword"."id" <= 60126 AND "movie_keyword"."keyword_id" >= 2309 AND "title"."imdb_index" != '%II%'; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 1 AND "title"."episode_of_id" <= 5003; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 12492; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 50436 AND "movie_keyword"."movie_id" >= 2218644; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1953.40053931286 AND "movie_info_idx"."movie_id" <= 49096; +SELECT COUNT(*) AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT "link_type"."id", SUM("movie_link"."linked_movie_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" >= 81493 AND "link_type"."link" != '%remade as%' AND "link_type"."id" != 6 AND "title"."kind_id" >= 1 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."gender") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT COUNT(*) AS agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 4506291 AND "name"."id" <= 20660194 AND "person_info"."person_id" <= 20809396; +SELECT SUM("char_name"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" != '%V512%' AND "char_name"."id" <= 647682 AND "cast_info"."id" <= 4420217; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("name"."gender") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("cast_info"."role_id") AS agg_10, MAX("name"."md5sum") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" >= 7.6040172501187255 AND "aka_name"."person_id" <= 31103 AND "cast_info"."person_id" <= 13302; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("company_name"."name") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."production_year") AS agg_8, MAX("company_name"."md5sum") AS agg_9, MAX("company_name"."id") AS agg_10, MAX("movie_companies"."note") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2002.4168070257156 AND "movie_companies"."movie_id" <= 29752 AND "company_name"."id" <= 2215; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("company_type"."kind") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_info"."movie_id") AS agg_6, MAX("movie_info"."note") AS agg_7, MAX("title"."phonetic_code") AS agg_8, MAX("title"."title") AS agg_9, MAX("movie_info_idx"."id") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."episode_nr" >= 8.249987652112194 AND "movie_info"."id" <= 160769 AND "movie_info_idx"."info_type_id" <= 99; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 1 AND "movie_companies"."company_type_id" = 2 AND "movie_companies"."id" <= 1910526 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2071612 AND "keyword"."id" <= 6359 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 15637; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("char_name"."md5sum") AS agg_2, MAX("char_name"."imdb_index") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("title"."id") AS agg_9, MAX("char_name"."id") AS agg_10, MAX("title"."imdb_id") AS agg_11, MAX("title"."episode_nr") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 27760 AND "title"."id" <= 16702; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_id" <= 30288; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1217; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 2652; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, AVG("char_name"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%D%' AND "cast_info"."person_id" <= 2334299 AND "char_name"."id" >= 66109 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("kind_type"."kind") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" >= 5.101529380108335 AND "title"."production_year" <= 1986.0037292631496 AND "title"."episode_of_id" <= 3554; +SELECT "info_type"."id", SUM("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 1082721 AND "info_type"."id" >= 30 AND "movie_info_idx"."id" <= 618746 AND "movie_info_idx"."info_type_id" >= 99 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "title"."series_years", AVG("title"."season_nr") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 3599866 AND "title"."kind_id" != 1 AND "movie_keyword"."movie_id" <= 1846708 AND "title"."production_year" >= 2010.659839021923 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" >= 1715935 AND "title"."id" <= 1961254 AND "title"."production_year" <= 1913.612059642555 AND "movie_companies"."company_id" >= 234 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("movie_keyword"."movie_id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 173; +SELECT MAX("person_info"."info") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT "company_name"."country_code", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 587843 AND "movie_companies"."company_id" >= 10793 AND "movie_companies"."id" >= 630826 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."imdb_index", SUM("title"."id") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 23453 AND "movie_keyword"."movie_id" >= 2152553 AND "title"."season_nr" <= 1.0 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2010.762544351073 AND "title"."id" <= 44427; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."movie_id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[tg]%' AND "company_name"."id" <= 219581 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 885174 AND "company_name"."country_code" != '%[lb]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" != 1 AND "movie_companies"."id" <= 2428152 AND "company_name"."id" <= 184733 AND "movie_companies"."company_id" <= 19534 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT AVG("aka_name"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%F13%' AND "name"."imdb_index" != '%CLXXXVII%' AND "person_info"."id" >= 616295; +SELECT MAX("cast_info"."id") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("aka_name"."name") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 60651; +SELECT AVG("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" >= 2 AND "movie_companies"."movie_id" <= 2205897 AND "company_type"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 472; +SELECT "aka_name"."surname_pcode", AVG("person_info"."id") as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" <= 478013 AND "person_info"."person_id" <= 2481081 AND "name"."surname_pcode" != '%X526%' AND "name"."imdb_index" != '%CXXXIII%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "movie_info"."info_type_id", AVG("title"."kind_id") AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 3.38299582770627 AND "title"."episode_of_id" <= 4555 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."gender") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("name"."name") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20686221 AND "aka_name"."id" <= 4477529 AND "person_info"."person_id" <= 20790215; +SELECT SUM("title"."season_nr") as agg_0, SUM("link_type"."id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."id" >= 8997 AND "link_type"."id" >= 10; +SELECT "title"."series_years", SUM("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 2402 AND "movie_keyword"."movie_id" >= 2049610 AND "keyword"."id" <= 27653 AND "title"."id" >= 1150667 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2526388; +SELECT COUNT(*) as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" >= 1 AND "char_name"."imdb_index" != '%D%' AND "char_name"."id" >= 252009; +SELECT "title"."kind_id", SUM("movie_keyword"."keyword_id") as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XX%' AND "keyword"."id" <= 56022 AND "movie_keyword"."movie_id" <= 2450825 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("movie_companies"."company_type_id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 3 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 21.413997766865045 AND "title"."id" <= 23676; +SELECT "char_name"."imdb_index", AVG("cast_info"."person_role_id") as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" >= 1049352.6794063163 AND "char_name"."id" >= 1927962 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("title"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 2508502; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 921694 AND "company_name"."country_code" != '%[ga]%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."gender") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("person_info"."info_type_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%LXIII%' AND "name"."id" <= 32983; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 14.620750668652937 AND "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."id" >= 251794; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("company_name"."country_code") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."imdb_index") AS agg_8, MAX("movie_companies"."movie_id") AS agg_9, MAX("company_name"."id") AS agg_10, MAX("movie_companies"."note") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1167297; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("name"."name") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."id") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT "name"."surname_pcode", SUM("person_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" != '%f%' AND "name"."imdb_index" != '%CXLI%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" = 1 AND "movie_companies"."movie_id" <= 1437470 AND "movie_companies"."id" <= 1664018; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" >= 3326729 AND "aka_name"."id" >= 283598 AND "aka_name"."surname_pcode" != '%A326%'; +SELECT AVG("cast_info"."movie_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%II%' AND "cast_info"."person_role_id" >= 8.704491247798716 AND "cast_info"."nr_order" >= 8.547102167615128 AND "char_name"."id" >= 1608640; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 1 AND "title"."episode_nr" >= 3.683441393698143 AND "title"."episode_of_id" <= 1355124.0277217864 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "info_type"."id", SUM("title"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 5.294132852319703 AND "title"."kind_id" <= 7 AND "info_type"."id" >= 41 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT SUM("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 520824 AND "name"."imdb_index" != '%X%' AND "aka_name"."surname_pcode" != '%L425%'; +SELECT COUNT(*) as agg_0, AVG("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 1818 AND "keyword"."id" >= 13618 AND "movie_keyword"."movie_id" <= 1915981; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."name") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("name"."surname_pcode") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 4476808; +SELECT "title"."imdb_index", COUNT(*) as agg_0, AVG("title"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[sm]%' AND "movie_companies"."company_id" <= 183 AND "movie_companies"."movie_id" <= 2501617 AND "movie_companies"."id" >= 804537 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."series_years") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("title"."id") AS agg_3, MAX("char_name"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("cast_info"."movie_id") AS agg_8, MAX("char_name"."name") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("cast_info"."role_id") AS agg_11, MAX("cast_info"."nr_order") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 10.385186339873512 AND "char_name"."id" <= 58076 AND "title"."kind_id" <= 3; +SELECT SUM("name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%XLVI%' AND "aka_name"."id" <= 377960 AND "name"."gender" != '%m%'; +SELECT SUM("aka_name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" <= 599790 AND "person_info"."person_id" >= 2739164 AND "aka_name"."surname_pcode" != '%A263%'; +SELECT "title"."series_years", SUM("movie_keyword"."movie_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "movie_keyword"."keyword_id" >= 3725 AND "movie_keyword"."id" <= 442146 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%mini biography%' AND "title"."kind_id" != 7 AND "movie_info_idx"."movie_id" >= 1651488 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."series_years", COUNT(*) as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 2456547 AND "title"."series_years" != '%1958-1959%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 183264 AND "movie_companies"."movie_id" >= 1815939 AND "company_type"."id" <= 1 AND "movie_companies"."company_type_id" <= 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."series_years", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 4 AND "movie_keyword"."id" <= 2649284 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "movie_link"."movie_id", SUM("movie_link"."linked_movie_id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%version of%' AND "title"."production_year" <= 2008.6038960954925 GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 12559 AND "movie_keyword"."movie_id" >= 652941; +SELECT MAX("title"."id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2010.9589599516771 AND "title"."episode_of_id" <= 9117; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1992.7408740740555 AND "title"."episode_of_id" <= 2764; +SELECT AVG("title"."episode_of_id") as agg_0, SUM("link_type"."id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "title"."series_years" != '%1982-1983%' AND "movie_link"."movie_id" >= 96123 AND "link_type"."link" != '%remade as%' AND "movie_link"."id" <= 28575; +SELECT MAX("cast_info"."id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("cast_info"."movie_id") AS agg_8, MAX("aka_name"."imdb_index") AS agg_9, MAX("cast_info"."role_id") AS agg_10, MAX("name"."gender") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4466166; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("kind_type"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."title") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT AVG("keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 2248869 AND "movie_keyword"."id" >= 562864; +SELECT SUM("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%spoofs%' AND "title"."imdb_index" != '%I%' AND "title"."kind_id" >= 2; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 1 AND "title"."kind_id" = 1; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT AVG("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 9526 AND "movie_keyword"."id" <= 4406791 AND "movie_keyword"."keyword_id" <= 23635 AND "movie_keyword"."movie_id" <= 2309175; +SELECT "company_name"."country_code", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 1598639 AND "movie_companies"."company_type_id" = 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "kind_type"."kind", AVG("kind_type"."id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."id" <= 3 AND "kind_type"."kind" != '%tv movie%' AND "title"."kind_id" != 4 AND "title"."id" <= 636850 GROUP BY "kind_type"."kind" ORDER BY "kind_type"."kind"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[mu]%' AND "title"."imdb_index" != '%XXII%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 3615207 AND "cast_info"."id" <= 2067413 AND "cast_info"."movie_id" >= 2133793; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" >= 1287 AND "company_name"."id" <= 1367 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info_idx"."info") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6891355 AND "title"."id" <= 12524552; +SELECT "title"."imdb_index", AVG("title"."episode_of_id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%tv mini series%' AND "kind_type"."id" = 1 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" = 1 AND "cast_info"."nr_order" <= 14.532270868504613 AND "cast_info"."person_id" <= 14266; +SELECT "info_type"."info", AVG("title"."season_nr") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info_idx"."id" >= 167031 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("name"."name") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."id") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("name"."gender") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "aka_name"."surname_pcode" <> '%Y14%' AND "name"."id" <= 57928; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" <= 1297780 AND "cast_info"."nr_order" >= 14.89452538608224; +SELECT "title"."imdb_index", COUNT(*) as agg_0, AVG("movie_link"."movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%edited into%' AND "movie_link"."link_type_id" >= 3 AND "movie_link"."id" >= 11613 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" >= 2 AND "cast_info"."person_id" <= 1949103 AND "title"."series_years" != '%1964-1991%' AND "title"."episode_nr" <= 3.4737332068629185; +SELECT MAX("name"."name") AS agg_0, MAX("person_info"."person_id") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%X634%' AND "name"."gender" <> '%f%' AND "person_info"."info_type_id" <= 15; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_id" <= 2212820 AND "char_name"."imdb_index" != '%II%' AND "cast_info"."role_id" <= 10; +SELECT "movie_link"."link_type_id", SUM("movie_link"."link_type_id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 11.202143254166476 AND "link_type"."link" != '%followed by%' GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("aka_name"."surname_pcode") AS agg_10, MAX("cast_info"."nr_order") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" <= 20666432; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("keyword"."id") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133821; +SELECT "name"."imdb_index", AVG("person_info"."id") as agg_0, AVG("name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" >= 20 AND "person_info"."id" <= 1693142 AND "name"."id" <= 3543590 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 52378; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."name") AS agg_6, MAX("person_info"."note") AS agg_7, MAX("aka_name"."person_id") AS agg_8, MAX("name"."md5sum") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 31330 AND "aka_name"."id" <= 15023; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("name"."id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("name"."md5sum") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("name"."name") AS agg_10, MAX("name"."imdb_index") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."id" <= 179547481 AND "aka_name"."id" <= 4465366; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 68 AND "title"."episode_nr" <= 3.907155047070747 AND "info_type"."info" != '%LD sound encoding%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("title"."season_nr") AS agg_0, AVG("title"."production_year") AS agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2006.091055118602 AND "title"."imdb_index" != '%XXIV%' AND "title"."id" <= 599059 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 77182 AND "movie_keyword"."movie_id" >= 1661784 AND "movie_keyword"."id" <= 3423168 AND "title"."id" IS NOT NULL; +SELECT "info_type"."info", AVG("info_type"."id") as agg_0, SUM("info_type"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 2228273 AND "movie_info_idx"."info_type_id" >= 100 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."production_year") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" >= 1.426530042862999 AND "kind_type"."kind" <> '%episode%' AND "title"."series_years" <> '%1990-2001%' AND "title"."id" <= 44360; +SELECT "cast_info"."role_id", SUM("cast_info"."person_role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_id" >= 1003547 AND "char_name"."imdb_index" != '%D%' AND "char_name"."id" >= 719530 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[ng]%' AND "movie_companies"."id" <= 36125; +SELECT "name"."imdb_index", AVG("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 560921 AND "name"."id" <= 119146 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("keyword"."id") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133367; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("company_name"."name_pcode_nf") AS agg_7, MAX("company_name"."country_code") AS agg_8, MAX("company_name"."imdb_id") AS agg_9, MAX("company_name"."md5sum") AS agg_10, MAX("company_name"."name_pcode_sf") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%II%' AND "cast_info"."person_role_id" >= 107264.53386744998; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_of_id" <= 2512339 AND "kind_type"."id" <= 7; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 8.14505239554005 AND "movie_info"."id" >= 5619081; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20727821; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."series_years" != '%1980-1981%' AND "kind_type"."kind" != '%episode%' AND "title"."episode_of_id" <= 1914620.367891715; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("info_type"."info") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id"; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <> 9 AND "cast_info"."nr_order" >= 7.245786078200683 AND "aka_name"."id" <= 14868; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12582945; +SELECT "title"."series_years", SUM("title"."production_year") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" >= 1153775 AND "movie_keyword"."keyword_id" <= 16508 AND "title"."production_year" <= 2003.2064390293608 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_keyword"."id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 99340 AND "movie_keyword"."keyword_id" >= 11122; +SELECT AVG("char_name"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 1154523 AND "char_name"."imdb_index" != '%I%' AND "title"."id" IS NOT NULL; +SELECT "movie_companies"."company_type_id", AVG("company_name"."id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 3047 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[dk]%' AND "movie_companies"."id" <= 994284 AND "company_name"."id" <= 144199 AND "movie_companies"."movie_id" <= 1904831; +SELECT "title"."kind_id", SUM("company_type"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" != '%distributors%' AND "title"."production_year" >= 1995.3880333052452 AND "movie_companies"."company_type_id" != 2 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "name"."surname_pcode", AVG("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 281906 AND "person_info"."person_id" >= 3849643 AND "person_info"."info_type_id" <= 23 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT AVG("person_info"."id") as agg_0, AVG("person_info"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%XCI%' AND "person_info"."id" >= 1632790 AND "name"."surname_pcode" != '%J416%' AND "name"."id" >= 1632355; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12544631 AND "keyword"."id" <= 133289 AND "title"."kind_id" <= 1997; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" != '%LXXX%' AND "person_info"."info_type_id" != 32 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("cast_info"."note") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_id" <= 8875; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%LD contrast%' AND "info_type"."id" <= 1; +SELECT MAX("char_name"."surname_pcode") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("char_name"."md5sum") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15603119; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 14674105 AND "name"."id" <= 20735237; +SELECT "movie_info_idx"."info_type_id", SUM("movie_info_idx"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 1232761 AND "movie_info_idx"."movie_id" >= 1588766 AND "movie_info_idx"."info_type_id" = 99 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" != 2 AND "title"."series_years" != '%1993-2009%'; +SELECT MAX("name"."id") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("aka_name"."name_pcode_cf") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("name"."surname_pcode") AS agg_10, MAX("cast_info"."role_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."id" <= 180100251 AND "name"."id" <= 20755010 AND "aka_name"."person_id" <= 20688200; +SELECT MAX("char_name"."imdb_index") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("char_name"."name_pcode_nf") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 5.84258757020773 AND "cast_info"."id" <= 563335; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."name") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("person_info"."note") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39; +SELECT AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" >= 6 AND "title"."id" >= 342907; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12563638; +SELECT MAX("name"."name") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20815845 AND "person_info"."id" <= 14802653; +SELECT SUM("title"."episode_of_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" >= 2698087 AND "title"."production_year" >= 2002.479597998498; +SELECT "title"."series_years", AVG("title"."kind_id") as agg_0, AVG("title"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%bottom 10 rank%' AND "movie_info_idx"."id" <= 212219 AND "movie_info_idx"."info_type_id" = 101 AND "title"."season_nr" <= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 695657 AND "name"."surname_pcode" != '%M15%' AND "name"."id" >= 3273745 AND "person_info"."id" >= 1748967; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("keyword"."id") AS agg_7, MAX("title"."title") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 276 AND "keyword"."id" <= 457; +SELECT "name"."surname_pcode", SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" >= 2583431 AND "name"."imdb_index" != '%XXIII%' AND "person_info"."info_type_id" = 23 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("company_type"."id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12637544 AND "company_type"."id" <= 4; +SELECT MAX("char_name"."imdb_index") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("char_name"."id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("aka_name"."name") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("char_name"."md5sum") AS agg_9, MAX("aka_name"."surname_pcode") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "aka_name"."id" <= 10895 AND "cast_info"."person_role_id" <= 52519; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 16534; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 983326.1883942591 AND "movie_info_idx"."id" >= 272758; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 33721; +SELECT AVG("title"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 1137819.1339568687 AND "keyword"."id" <= 15286; +SELECT "title"."imdb_index", SUM("title"."kind_id") AS agg_0, COUNT(*) AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133918 AND "keyword"."id" <= 133719 AND "title"."kind_id" <= 2004 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" >= 5 AND "link_type"."id" != 3 AND "title"."production_year" <= 2007.3074183966487; +SELECT "title"."series_years", AVG("movie_link"."movie_id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2013.6661938246789 AND "link_type"."link" != '%features%' AND "movie_link"."link_type_id" = 5 AND "title"."season_nr" >= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 2287298 AND "company_type"."kind" != '%miscellaneous companies%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("movie_info_idx"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" != 99 AND "movie_info_idx"."movie_id" >= 312652 AND "movie_info_idx"."id" >= 768141; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1978.7128530802474 AND "movie_info"."movie_id" <= 18125; +SELECT AVG("cast_info"."nr_order") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" <= 1380643 AND "char_name"."id" <= 2842154 AND "cast_info"."person_role_id" <= 238033.4143121403 AND "cast_info"."person_id" <= 1537319; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("person_info"."note") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20695706; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_info"."id") AS agg_7, MAX("movie_info"."note") AS agg_8, MAX("title"."phonetic_code") AS agg_9, MAX("title"."md5sum") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" <= 45361 AND "movie_info_idx"."id" <= 17051; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 38481 AND "movie_keyword"."keyword_id" >= 25953 AND "movie_keyword"."id" <= 1414807 AND "movie_keyword"."movie_id" <= 2408097; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."id" <= 4579932 AND "title"."season_nr" <= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, AVG("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 37518 AND "keyword"."id" <= 113342 AND "movie_keyword"."id" >= 1058905 AND "movie_keyword"."movie_id" >= 1775285; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("movie_companies"."id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%production companies%' AND "company_name"."country_code" <> '%[suhh]%' AND "company_name"."id" <= 3246 AND "company_type"."id" <= 1; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."title") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%tv mini series%' AND "title"."episode_of_id" <= 2803; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2006.7554302033043 AND "link_type"."id" >= 5 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("keyword"."keyword") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2521801 AND "movie_keyword"."keyword_id" <= 133127 AND "keyword"."id" <= 133117; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("aka_name"."name") AS agg_7, MAX("name"."id") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 52786 AND "name"."id" <= 52308; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."name") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("person_info"."info_type_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2003; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("company_name"."name") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("title"."production_year") AS agg_8, MAX("company_name"."name_pcode_sf") AS agg_9, MAX("title"."kind_id") AS agg_10, MAX("title"."imdb_index") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[bn]%' AND "movie_companies"."id" <= 42892 AND "company_name"."id" <= 4021; +SELECT MAX("title"."kind_id") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."title") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("char_name"."md5sum") AS agg_8, MAX("cast_info"."person_id") AS agg_9, MAX("cast_info"."nr_order") AS agg_10, MAX("title"."md5sum") AS agg_11, MAX("title"."series_years") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0950021706957234 AND "cast_info"."nr_order" >= 4.006323476609863 AND "char_name"."id" <= 43353 AND "cast_info"."movie_id" <= 25986; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("char_name"."surname_pcode") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15608253 AND "cast_info"."id" <= 180211383; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_info"."id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."episode_nr" >= 50.02841262240027 AND "title"."episode_of_id" <= 7906; +SELECT AVG("movie_companies"."company_id") as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 1384860 AND "movie_companies"."id" <= 863172; +SELECT "title"."kind_id", SUM("title"."production_year") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XII%' AND "cast_info"."role_id" <= 3 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."title") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133396; +SELECT MAX("title"."title") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 7387 AND "keyword"."id" <= 153; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."movie_id" <= 50321; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 3.965177447232293 AND "title"."episode_nr" <= 85406.18181613629 AND "movie_companies"."company_id" <= 4392; +SELECT "title"."imdb_index", COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6849935 AND "title"."kind_id" <= 2003 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("movie_keyword"."keyword_id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12522826; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 339 AND "movie_keyword"."id" <= 81693; +SELECT AVG("keyword"."id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 808025 AND "keyword"."id" >= 32302 AND "title"."production_year" >= 2012.2439031764552 AND "movie_keyword"."keyword_id" >= 14217; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "title"."series_years", AVG("movie_link"."movie_id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "link_type"."id" <= 14 AND "link_type"."link" != '%spin off%' AND "movie_link"."linked_movie_id" >= 1258650 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("char_name"."imdb_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_id" <= 13853; +SELECT "title"."series_years", SUM("company_name"."id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[ae]%' AND "movie_companies"."company_id" >= 436 AND "movie_companies"."company_type_id" != 2 AND "title"."episode_of_id" >= 1362799.4398170472 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "title"."kind_id" <= 7 AND "movie_companies"."movie_id" <= 39224; +SELECT "cast_info"."role_id", AVG("title"."season_nr") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.099795502877595 AND "cast_info"."nr_order" >= 4.092612655430127 AND "cast_info"."person_role_id" >= 266197.79679715715 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT "person_info"."info_type_id", SUM("aka_name"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" >= 99680 AND "aka_name"."id" >= 504476 AND "name"."surname_pcode" != '%P16%' AND "person_info"."person_id" >= 487677 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" <= 2235395 AND "cast_info"."role_id" >= 1 AND "aka_name"."id" >= 703468; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("cast_info"."id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" <> 3 AND "cast_info"."person_role_id" <= 62449; +SELECT "title"."series_years", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" <= 10 AND "movie_link"."id" <= 13041 AND "link_type"."link" != '%features%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%D%' AND "char_name"."id" <= 1066004 AND "cast_info"."person_role_id" IS NOT NULL; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("char_name"."imdb_id") AS agg_2, MAX("char_name"."surname_pcode") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("cast_info"."note") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 17635; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."id") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("person_info"."info") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20758897 AND "name"."id" <= 20659109; +SELECT SUM("title"."production_year") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 1536320 AND "title"."season_nr" <= 1938.9572930013558 AND "link_type"."id" <= 11; +SELECT COUNT(*) as agg_0 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" >= 1129594 AND "movie_info_idx"."movie_id" <= 1807796 AND "title"."production_year" <= 2005.8929154424775; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 8.316593443159912 AND "title"."id" <= 44229 AND "movie_companies"."company_type_id" <= 1; +SELECT AVG("title"."kind_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" <= 2478622 AND "movie_info_idx"."id" >= 211733 AND "movie_info"."id" >= 14362969 AND "title"."production_year" >= 2010.1398606224152; +SELECT "title"."kind_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 382133 AND "movie_companies"."company_type_id" = 1 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" != 7 AND "movie_companies"."movie_id" >= 1636184 AND "movie_companies"."company_type_id" = 1 AND "company_name"."id" IS NOT NULL; +SELECT MAX("name"."md5sum") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("name"."id") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("aka_name"."person_id") AS agg_7, MAX("name"."imdb_id") AS agg_8, MAX("name"."gender") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20705500 AND "aka_name"."person_id" <= 20722927 AND "person_info"."id" <= 14682877; +SELECT SUM("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 357 AND "movie_companies"."movie_id" <= 1658959 AND "company_type"."kind" != '%miscellaneous companies%' AND "title"."episode_nr" >= 19.592994340600068; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2010; +SELECT MAX("title"."series_years") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("keyword"."id") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("company_name"."name_pcode_sf") AS agg_8, MAX("movie_companies"."note") AS agg_9, MAX("title"."phonetic_code") AS agg_10, MAX("company_name"."imdb_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1172245 AND "movie_companies"."id" <= 13002675; +SELECT MAX("company_type"."id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 1173585 AND "company_type"."id" <= 4; +SELECT "name"."imdb_index", COUNT(*) as agg_0, SUM("name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 633698 AND "name"."surname_pcode" != '%E14%' AND "name"."id" >= 280525 AND "name"."imdb_index" != '%XXIX%' GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 124228 AND "movie_keyword"."id" >= 455030 AND "title"."imdb_index" != '%XIV%' AND "movie_keyword"."keyword_id" >= 528; +SELECT SUM("title"."kind_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 88431 AND "title"."id" <= 1701321 AND "title"."episode_nr" <= 21515.80544093781 AND "movie_keyword"."keyword_id" >= 1725; +SELECT "cast_info"."role_id", AVG("cast_info"."nr_order") as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%DM%' AND "cast_info"."person_id" >= 313489 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "link_type"."id", AVG("title"."id") as agg_0, AVG("movie_link"."linked_movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 4.556844253314363 AND "link_type"."id" <= 12 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT AVG("company_type"."id") as agg_0, AVG("movie_companies"."movie_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 1665784 AND "company_type"."id" <= 2; +SELECT "name"."surname_pcode", SUM("aka_name"."id") as agg_0, SUM("person_info"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 386742 AND "person_info"."id" <= 1623039 AND "aka_name"."id" <= 61541 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "title"."kind_id", SUM("movie_keyword"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 10369 AND "title"."id" >= 1817609 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2010; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("kind_type"."kind") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 1445028 AND "movie_companies"."company_type_id" >= 1 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("movie_companies"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[om]%' AND "movie_companies"."movie_id" >= 2443959 AND "company_name"."id" <= 80327 AND "title"."id" >= 2286043; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("kind_type"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%video game%' AND "title"."season_nr" >= 1.0 AND "kind_type"."id" <= 1; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("aka_name"."name_pcode_cf") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("person_info"."person_id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" <= 18478 AND "aka_name"."id" <= 6536; +SELECT AVG("movie_link"."link_type_id") as agg_0, AVG("movie_link"."linked_movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 21476.62545866062 AND "link_type"."link" != '%featured in%'; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1167990 AND "company_type"."id" <= 4 AND "title"."episode_of_id" <= 2524710; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("title"."title") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 5.946946071459153 AND "title"."episode_nr" <= 1.040795939529747 AND "cast_info"."person_role_id" <= 40225; +SELECT COUNT(*) as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.8732030329167397 AND "cast_info"."nr_order" <= 1033106424.3235158; +SELECT SUM("title"."season_nr") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 1668 AND "movie_keyword"."id" >= 2019179; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%D%' AND "cast_info"."role_id" >= 1; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%distributors%' AND "movie_companies"."company_type_id" >= 1; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("info_type"."info") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6844460 AND "info_type"."id" <= 113; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("cast_info"."id") AS agg_0, MAX("char_name"."md5sum") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("char_name"."imdb_index") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("char_name"."surname_pcode") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 9.269419740821736 AND "char_name"."id" <= 16223; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT COUNT(*) AS agg_0, SUM("movie_keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id"; +SELECT AVG("cast_info"."movie_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <= 1 AND "cast_info"."person_role_id" <= 1851829.8093880008 AND "char_name"."id" <= 2538626; +SELECT "title"."imdb_index", SUM("movie_info"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 1106204 AND "movie_info"."id" >= 10193776 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("company_name"."country_code") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 4545; +SELECT SUM("movie_keyword"."id") as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 24617 AND "movie_keyword"."movie_id" <= 2191610 AND "movie_keyword"."id" <= 2208291 AND "movie_keyword"."keyword_id" >= 2012; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."country_code" != '%[sl]%' AND "company_type"."id" = 2 AND "company_type"."kind" != '%production companies%'; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 77400; +SELECT MAX("name"."id") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."name") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."imdb_index") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT SUM("movie_info_idx"."id") as agg_0, SUM("info_type"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 2283876 AND "movie_info_idx"."info_type_id" >= 100; +SELECT COUNT(*) as agg_0, SUM("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" >= 2305843 AND "title"."episode_of_id" <= 1298991.18725587 AND "movie_keyword"."id" >= 81864; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("kind_type"."id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."imdb_index" <> '%I%' AND "title"."kind_id" <= 3; +SELECT SUM("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 38 AND "title"."production_year" <= 2010.3157437971834 AND "movie_info_idx"."info_type_id" <= 101; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."movie_id") as agg_0, SUM("company_name"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" != 1 AND "movie_companies"."id" >= 1077377 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("info_type"."info") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6833298 AND "info_type"."id" <= 113 AND "title"."kind_id" <= 2002; +SELECT MAX("title"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2010 AND "movie_keyword"."id" <= 22446681 AND "keyword"."id" <= 133918; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_type"."kind") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("company_type"."id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1168586; +SELECT AVG("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" >= 591259 AND "aka_name"."id" <= 753136 AND "aka_name"."person_id" <= 676818 AND "aka_name"."surname_pcode" != '%L15%'; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 1; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("cast_info"."note") AS agg_8, MAX("char_name"."imdb_index") AS agg_9, MAX("char_name"."imdb_id") AS agg_10, MAX("char_name"."md5sum") AS agg_11, MAX("cast_info"."id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1991 AND "cast_info"."id" <= 179925518 AND "char_name"."id" <= 15592869; +SELECT "person_info"."info_type_id", AVG("aka_name"."id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%B15%' AND "person_info"."info_type_id" <= 38 AND "name"."surname_pcode" != '%M36%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT "title"."kind_id", AVG("movie_info_idx"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%locations%' AND "movie_info_idx"."id" <= 842935 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) AS agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 44031; +SELECT MAX("movie_info"."info") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("title"."imdb_index") AS agg_8, MAX("title"."md5sum") AS agg_9, MAX("movie_info_idx"."note") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."kind_id" <= 2001 AND "movie_info"."id" <= 73810668; +SELECT "title"."series_years", AVG("title"."season_nr") as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 6531 AND "title"."imdb_index" != '%I%' AND "title"."series_years" != '%1964-1967%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" <= 100 AND "info_type"."info" != '%interviews%'; +SELECT "info_type"."id", SUM("movie_info_idx"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 1933741 AND "info_type"."info" != '%LD language%' GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "title"."imdb_index", COUNT(*) AS agg_0, SUM("cast_info"."role_id") AS agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."series_years", SUM("movie_link"."link_type_id") as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%spoofed in%' AND "movie_link"."linked_movie_id" <= 2500853 AND "title"."series_years" != '%1974-1982%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("movie_keyword"."id") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 3922773 AND "keyword"."id" >= 104397 AND "movie_keyword"."movie_id" >= 2211182 AND "movie_keyword"."keyword_id" >= 4095; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_info"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" >= 1 AND "movie_companies"."movie_id" <= 1566520 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_name"."country_code") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1174725; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 16553 AND "movie_keyword"."keyword_id" >= 17747 AND "movie_keyword"."movie_id" <= 2287019; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 12925928; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 1674290 AND "keyword"."id" <= 133022 AND "movie_keyword"."id" <= 617142 AND "movie_keyword"."keyword_id" <= 8748; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 56306 AND "keyword"."id" <= 345; +SELECT "title"."series_years", SUM("movie_info"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 1355166 AND "movie_info"."movie_id" <= 1722483 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 471089 AND "title"."episode_of_id" >= 627101.3477246271 AND "movie_keyword"."movie_id" >= 2363107; +SELECT COUNT(*) AS agg_0, SUM("title"."season_nr") AS agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT AVG("title"."production_year") as agg_0, SUM("movie_info"."info_type_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 13823511 AND "title"."episode_of_id" <= 309383.6364614663 AND "movie_info"."info_type_id" >= 16 AND "movie_info"."movie_id" >= 2315169; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2009.7032202971343 AND "title"."season_nr" <= 1882.2305354471828 AND "title"."kind_id" <= 6; +SELECT "kind_type"."kind", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%tv movie%' AND "title"."series_years" != '%1992-2003%' AND "title"."production_year" >= 2009.4140825073305 GROUP BY "kind_type"."kind" ORDER BY "kind_type"."kind"; +SELECT AVG("title"."production_year") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" >= 4 AND "kind_type"."kind" != '%video movie%' AND "title"."id" >= 965139 AND "title"."episode_nr" <= 47.75532110528238; +SELECT SUM("title"."episode_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" = 7 AND "movie_info"."info_type_id" != 15 AND "movie_info"."id" <= 6885513 AND "movie_info"."movie_id" <= 1970740; +SELECT MAX("name"."name") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("name"."id") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("person_info"."person_id") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%CXXXI%' AND "aka_name"."id" <= 5046 AND "name"."id" <= 80142; +SELECT SUM("title"."episode_of_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 6958.554541314298 AND "title"."season_nr" >= 2.4773907444421206 AND "title"."episode_of_id" <= 139841.9944162794; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%book%' AND "movie_info_idx"."id" >= 888533; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" <= 1; +SELECT "title"."imdb_index", SUM("keyword"."id") as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" >= 3344166 AND "movie_keyword"."movie_id" <= 2134246 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("info_type"."info") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1998 AND "info_type"."id" <= 113 AND "movie_info_idx"."id" <= 6861371; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT "info_type"."id", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" >= 100 AND "info_type"."info" != '%salary history%' GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."info_type_id" = 2 AND "movie_info_idx"."info_type_id" >= 99 AND "movie_info"."movie_id" <= 1187506 AND "movie_info_idx"."id" <= 803005; +SELECT AVG("aka_name"."person_id") AS agg_0, AVG("aka_name"."id") AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 64759 AND "person_info"."info_type_id" <= 15; +SELECT AVG("movie_companies"."company_type_id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" >= 2 AND "movie_companies"."id" <= 2218223; +SELECT "company_type"."id", SUM("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" >= 86877 AND "company_type"."kind" != '%special effects companies%' AND "company_type"."id" <= 3 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "company_name"."country_code", COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 1015 AND "movie_companies"."movie_id" <= 766124 AND "company_name"."id" <= 222003 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" != 2 AND "title"."id" <= 2389834 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("company_type"."id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("movie_companies"."id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" <> '%distributors%' AND "movie_companies"."id" <= 39014 AND "company_type"."id" <= 1; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%trade mark%' AND "info_type"."id" <= 1; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 132908 AND "movie_keyword"."movie_id" <= 12612328; +SELECT "title"."imdb_index", AVG("title"."id") AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("keyword"."id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 134022 AND "movie_keyword"."keyword_id" <= 132906 AND "title"."episode_of_id" <= 2508867; +SELECT "title"."kind_id", SUM("title"."season_nr") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" >= 28435 AND "title"."kind_id" <= 1 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "kind_type"."id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" >= 2013.0529150844095 AND "kind_type"."id" != 2 AND "title"."imdb_index" != '%IX%' AND "kind_type"."kind" != '%tv mini series%' GROUP BY "kind_type"."id" ORDER BY "kind_type"."id"; +SELECT "title"."imdb_index", AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 1094506.5207353157 AND "movie_keyword"."movie_id" >= 1094793 AND "title"."episode_nr" <= 47.80877840475195 AND "title"."kind_id" >= 7 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8, MAX("title"."id") AS agg_9, MAX("company_name"."id") AS agg_10, MAX("movie_companies"."company_type_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1166993 AND "title"."kind_id" <= 2008 AND "movie_companies"."movie_id" <= 12619833; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1172185 AND "movie_companies"."company_id" <= 1168426; +SELECT SUM("keyword"."id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 43133 AND "keyword"."id" >= 18501 AND "movie_keyword"."movie_id" >= 2371669; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."name") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("person_info"."info_type_id") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("name"."gender") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" <> '%CXXXI%' AND "aka_name"."surname_pcode" <> '%Z636%' AND "name"."id" <= 63371 AND "aka_name"."person_id" <= 33648; +SELECT "name"."surname_pcode", SUM("name"."id") AS agg_0, SUM("aka_name"."id") AS agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 40810 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, SUM("title"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 2200796 AND "info_type"."id" >= 89 AND "title"."kind_id" = 7 AND "movie_info_idx"."id" <= 419228 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2011.2468222868101 AND "movie_keyword"."keyword_id" <= 278 AND "title"."id" <= 39290; +SELECT MAX("title"."season_nr") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("company_name"."imdb_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("company_name"."country_code") AS agg_9, MAX("movie_companies"."movie_id") AS agg_10, MAX("movie_companies"."company_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[be]%' AND "title"."kind_id" <= 8 AND "company_name"."id" <= 3666; +SELECT SUM("cast_info"."person_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 1809377 AND "cast_info"."nr_order" >= 10.857691780234493 AND "char_name"."imdb_index" != '%DM%'; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 36612 AND "keyword"."id" >= 51376 AND "movie_keyword"."id" >= 3050280; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("keyword"."id") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."title") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22502014 AND "keyword"."id" <= 133092; +SELECT "title"."series_years", AVG("info_type"."id") as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 10.769234739823379 AND "movie_info_idx"."movie_id" <= 2502953 AND "title"."season_nr" <= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_id") as agg_0, AVG("company_name"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" >= 17852 AND "company_name"."country_code" != '%[fi]%' AND "movie_companies"."company_type_id" = 2 AND "movie_companies"."id" >= 383213 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 46638 AND "title"."id" <= 23071; +SELECT AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."kind" != '%episode%' AND "title"."episode_of_id" <= 1350833.8166362948 AND "kind_type"."id" != 3 AND "title"."series_years" != '%1955-1980%'; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."title") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 132944; +SELECT AVG("aka_name"."person_id") as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" >= 2666917 AND "aka_name"."surname_pcode" != '%D316%'; +SELECT "name"."surname_pcode", SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%CXXII%' AND "name"."gender" != '%m%' AND "name"."surname_pcode" != '%C131%' AND "person_info"."info_type_id" = 24 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 45289 AND "keyword"."id" <= 396; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 36392; +SELECT SUM("company_type"."id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 844523 AND "movie_companies"."id" >= 727811 AND "movie_companies"."company_id" >= 12482 AND "company_name"."id" IS NOT NULL; +SELECT SUM("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 51946 AND "movie_companies"."company_id" <= 9806 AND "movie_companies"."movie_id" <= 1415326 AND "company_name"."country_code" != '%[uy]%'; +SELECT SUM("movie_link"."id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "movie_link"."movie_id" >= 112699 AND "movie_link"."id" >= 994 AND "title"."episode_nr" <= 13.726216262897804 AND "link_type"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 1162710 AND "movie_keyword"."movie_id" <= 2510515 AND "keyword"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "movie_companies"."movie_id" >= 1725660 AND "company_name"."country_code" != '%[us]%'; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 674935 AND "title"."episode_nr" >= 6.396771601067684; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT AVG("title"."episode_of_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" >= 5 AND "movie_link"."id" <= 21530 AND "title"."episode_of_id" <= 478863.8702055353 AND "title"."episode_nr" >= 4.758202185444384; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 107588; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%special effects companies%' AND "company_type"."id" = 1 AND "movie_companies"."company_type_id" = 1; +SELECT "title"."kind_id", AVG("title"."id") AS agg_0, SUM("title"."episode_of_id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133460 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0, SUM("cast_info"."role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_id" <= 65875 AND "cast_info"."person_role_id" <= 2783073.0767452577; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_keyword"."movie_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133429 AND "movie_keyword"."movie_id" <= 12519906; +SELECT AVG("title"."season_nr") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "info_type"."info" != '%LD spaciality%' AND "movie_info_idx"."movie_id" >= 294853; +SELECT "info_type"."id", COUNT(*) as agg_0, SUM("movie_info_idx"."info_type_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%trivia%' AND "info_type"."id" >= 104 AND "movie_info_idx"."movie_id" >= 1427740 AND "movie_info_idx"."id" >= 399441 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("name"."id") AS agg_9, MAX("cast_info"."role_id") AS agg_10, MAX("cast_info"."note") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 15644239 AND "aka_name"."id" <= 4504991 AND "name"."id" <= 20786940; +SELECT COUNT(*) as agg_0, AVG("cast_info"."movie_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."nr_order" >= 9.158627807637256 AND "cast_info"."person_id" <= 2585114 AND "name"."id" IS NOT NULL; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 88278 AND "movie_keyword"."movie_id" >= 267559 AND "movie_keyword"."id" <= 2802358 AND "movie_keyword"."keyword_id" <= 2143; +SELECT "cast_info"."role_id", AVG("cast_info"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" >= 1688132 AND "cast_info"."person_id" >= 1177372 AND "cast_info"."role_id" = 1 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_info"."id") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2503295 AND "movie_info"."info_type_id" <= 109; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12544292; +SELECT "movie_info"."info_type_id", SUM("movie_info"."info_type_id") AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1968.8898539385648 AND "movie_info"."id" <= 235810 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 37108 AND "company_type"."kind" != '%special effects companies%' AND "company_name"."id" IS NOT NULL; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 9110; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("company_name"."name") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[sl]%' AND "company_name"."id" <= 3268 AND "company_type"."id" <= 1; +SELECT SUM("title"."production_year") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1996.2784875299074 AND "movie_keyword"."id" <= 1577935 AND "movie_keyword"."movie_id" <= 1705701; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12633119 AND "title"."kind_id" <= 2004; +SELECT AVG("title"."season_nr") as agg_0, AVG("movie_info_idx"."info_type_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 771173.7130974856 AND "title"."production_year" <= 2008.9617365525398 AND "title"."id" <= 1657854; +SELECT MAX("title"."title") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("keyword"."id") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%II%' AND "title"."id" <= 14307 AND "keyword"."id" <= 496; +SELECT AVG("aka_name"."id") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" >= 665513 AND "name"."id" >= 3913759 AND "aka_name"."surname_pcode" != '%B152%' AND "aka_name"."person_id" >= 902792; +SELECT SUM("cast_info"."role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 1673986 AND "char_name"."imdb_index" != '%I%' AND "aka_name"."id" IS NOT NULL; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("company_name"."md5sum") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "cast_info"."role_id", AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2009.370000383454 AND "title"."series_years" != '%1981-2008%' AND "title"."kind_id" != 2 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("movie_info_idx"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."episode_of_id" <= 2508880; +SELECT "name"."surname_pcode", AVG("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 2054422 AND "person_info"."info_type_id" != 34 AND "aka_name"."surname_pcode" != '%W253%' AND "person_info"."person_id" <= 15175 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0, AVG("movie_info_idx"."info_type_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2008.2438986101718 AND "movie_info_idx"."movie_id" >= 1363469 AND "title"."id" <= 2011514 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("company_name"."id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 4288; +SELECT MAX("name"."id") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."gender") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("aka_name"."person_id") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20680979 AND "aka_name"."id" <= 4501776; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."gender") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."name") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("cast_info"."id") AS agg_10, MAX("aka_name"."name") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 20710244 AND "cast_info"."id" <= 180496910; +SELECT "movie_companies"."company_type_id", AVG("company_name"."id") as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 117576 AND "company_name"."id" >= 193016 AND "movie_companies"."company_type_id" >= 1 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."imdb_index", SUM("cast_info"."id") as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."imdb_index" != '%XXIII%' AND "title"."id" <= 685877 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 2952 AND "title"."episode_nr" >= 67.78699670481434 AND "movie_keyword"."movie_id" <= 613278 AND "keyword"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%novel%' AND "movie_info_idx"."movie_id" <= 2299650; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133166; +SELECT SUM("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."series_years" != '%1973-1985%' AND "cast_info"."movie_id" <= 2481489 AND "cast_info"."nr_order" <= 4.997003424091121; +SELECT MAX("keyword"."id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2010.094030140195 AND "title"."episode_nr" >= 10.054990578619048 AND "title"."kind_id" <= 4 AND "keyword"."id" <= 244; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 35100; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 9096 AND "movie_keyword"."movie_id" >= 2368679; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" >= 3 AND "movie_info"."movie_id" >= 520134 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 1069531 AND "company_name"."id" <= 131492 AND "movie_companies"."company_type_id" != 1; +SELECT "aka_name"."imdb_index", SUM("aka_name"."person_id") as agg_0, SUM("aka_name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" >= 34 AND "aka_name"."person_id" <= 912724 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."episode_nr") AS agg_8, MAX("title"."id") AS agg_9, MAX("title"."title") AS agg_10, MAX("title"."production_year") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1169080; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."id") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("name"."imdb_id") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("name"."name") AS agg_10, MAX("cast_info"."movie_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."surname_pcode" <> '%Z235%' AND "name"."surname_pcode" <> '%V423%' AND "name"."id" <= 35546 AND "cast_info"."person_role_id" <= 36785; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[ag]%' AND "company_name"."id" <= 1555; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("char_name"."id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("char_name"."imdb_id") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <> 1 AND "cast_info"."person_id" <= 17571; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "title"."production_year" >= 1894.5244151557617 AND "title"."episode_nr" <= 3.9517551939405333 AND "movie_keyword"."id" <= 45700; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("company_type"."id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 1169814; +SELECT "title"."imdb_index", AVG("title"."episode_nr") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 3158572 AND "title"."kind_id" != 5 AND "title"."season_nr" >= 1.0 AND "movie_keyword"."movie_id" <= 2223968 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("title"."episode_of_id") AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 73924436; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."episode_of_id" <= 9310 AND "movie_keyword"."keyword_id" <= 325; +SELECT SUM("movie_info_idx"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 101 AND "movie_info_idx"."id" <= 1219045; +SELECT "name"."gender", AVG("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" != '%f%' AND "person_info"."person_id" <= 185670 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("title"."title") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 212; +SELECT "title"."series_years", SUM("cast_info"."role_id") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" >= 441452.0047711188 AND "cast_info"."movie_id" >= 1842226 AND "cast_info"."role_id" <= 1 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."title") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT "name"."gender", SUM("aka_name"."id") as agg_0, AVG("name"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" <= 200283 AND "name"."id" >= 179052 AND "aka_name"."person_id" >= 1749761 AND "name"."surname_pcode" != '%O313%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."gender") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("person_info"."id") AS agg_7, MAX("name"."name") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20750503; +SELECT "movie_companies"."company_type_id", AVG("title"."episode_nr") AS agg_0, SUM("title"."season_nr") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "movie_link"."link_type_id", SUM("movie_link"."movie_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%unknown link%' AND "title"."kind_id" >= 1 AND "title"."episode_nr" <= 6.9245655076957195 GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT COUNT(*) as agg_0, AVG("person_info"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 1746359 AND "name"."gender" != '%m%'; +SELECT AVG("title"."id") as agg_0, AVG("title"."production_year") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" >= 1331808 AND "movie_info"."movie_id" >= 1549973 AND "title"."production_year" >= 2010.5715791137793 AND "title"."episode_of_id" >= 1437119.692917685; +SELECT "company_name"."country_code", SUM("movie_companies"."movie_id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" = 2 AND "company_type"."kind" != '%distributors%' AND "company_name"."id" <= 190204 AND "movie_companies"."company_id" <= 1424 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4487500 AND "cast_info"."person_id" <= 7645891; +SELECT MAX("cast_info"."note") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("aka_name"."name_pcode_nf") AS agg_7, MAX("name"."md5sum") AS agg_8, MAX("aka_name"."person_id") AS agg_9, MAX("aka_name"."imdb_index") AS agg_10, MAX("aka_name"."name_pcode_cf") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" <= 29636 AND "aka_name"."id" <= 6905; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("person_info"."info") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("name"."name_pcode_cf") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("name"."imdb_index") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20832492; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2099876 AND "keyword"."id" >= 62306 AND "movie_keyword"."keyword_id" >= 9646 AND "movie_keyword"."id" >= 1412559; +SELECT SUM("keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 94342 AND "keyword"."id" <= 88954 AND "movie_keyword"."id" >= 5784 AND "movie_keyword"."movie_id" <= 2102159; +SELECT COUNT(*) as agg_0, AVG("movie_link"."movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 2294051 AND "link_type"."link" != '%features%' AND "movie_link"."link_type_id" <= 7 AND "title"."episode_of_id" <= 1224583.9592498434; +SELECT MAX("title"."id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%D%' AND "cast_info"."movie_id" <= 599707 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."id" <= 7 AND "title"."id" <= 12609195; +SELECT MAX("name"."md5sum") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT AVG("title"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2441266 AND "keyword"."id" >= 44525; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 17719; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 2340809 AND "title"."kind_id" = 7; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, AVG("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 3134535 AND "keyword"."id" <= 51964 AND "movie_keyword"."keyword_id" >= 4688 AND "movie_keyword"."movie_id" >= 2403720; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 10996 AND "movie_keyword"."movie_id" <= 2209457 AND "movie_keyword"."id" <= 2654390; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."name") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("aka_name"."imdb_index") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%H641%' AND "name"."gender" <> '%m%' AND "person_info"."info_type_id" <= 15 AND "aka_name"."id" <= 8930; +SELECT AVG("movie_companies"."company_type_id") AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id"; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."episode_nr" >= 32.58116419085262 AND "movie_info_idx"."movie_id" <= 825971; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("info_type"."info") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2005; +SELECT AVG("cast_info"."id") as agg_0, SUM("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 1811500 AND "char_name"."imdb_index" != '%D%' AND "cast_info"."id" <= 17216460; +SELECT "aka_name"."imdb_index", SUM("name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 2851673 AND "aka_name"."id" <= 46967 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 52619 AND "movie_keyword"."keyword_id" >= 1323 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."id") AS agg_0, MAX("kind_type"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%movie%' AND "title"."production_year" <= 2017.942557662588 AND "kind_type"."id" <= 1; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1171589 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 11.984593675640703 AND "movie_info_idx"."id" <= 16344; +SELECT "title"."kind_id", AVG("cast_info"."movie_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" <= 1 AND "title"."episode_of_id" >= 48050.89729909893 AND "title"."production_year" >= 1995.36178736545 AND "cast_info"."id" <= 17344623 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."info") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("person_info"."info_type_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%CXIX%' AND "person_info"."person_id" <= 62261; +SELECT AVG("title"."kind_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1953-1983%' AND "movie_link"."linked_movie_id" <= 2085767 AND "movie_link"."movie_id" >= 107224; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 231940 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12610428 AND "keyword"."id" <= 133028; +SELECT SUM("movie_info"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 1920593 AND "title"."production_year" >= 1994.738549261677 AND "title"."id" >= 1151490; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."company_id" <= 3964 AND "company_name"."id" <= 2152; +SELECT SUM("company_name"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" != 1 AND "company_name"."id" <= 106618; +SELECT "title"."kind_id", SUM("title"."episode_nr") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 3036 AND "title"."id" <= 1530232 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."episode_of_id" <= 2526912; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("name"."gender") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("name"."name") AS agg_9, MAX("cast_info"."nr_order") AS agg_10, MAX("aka_name"."name") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20814277 AND "name"."id" <= 20836733; +SELECT AVG("title"."episode_of_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 61529 AND "movie_keyword"."keyword_id" <= 58772; +SELECT "title"."kind_id", SUM("movie_keyword"."id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 161 AND "keyword"."id" <= 3186 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("company_name"."name") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("company_name"."id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("company_name"."name_pcode_sf") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("title"."series_years") AS agg_10, MAX("title"."phonetic_code") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1173206; +SELECT "title"."kind_id", SUM("title"."episode_nr") AS agg_0, SUM("movie_keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133353 AND "title"."kind_id" <= 2001 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."id") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 55507 AND "movie_keyword"."movie_id" <= 1239846; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("info_type"."info") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "title"."season_nr" <= 2.6519640347879534 AND "info_type"."info" <> '%LD production country%' AND "info_type"."id" <= 1 AND "title"."id" <= 43615; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 53331 AND "movie_keyword"."id" >= 2819636 AND "movie_keyword"."movie_id" <= 2051842 AND "movie_keyword"."keyword_id" >= 7761; +SELECT MAX("title"."series_years") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("title"."title") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2002.2517994995958 AND "title"."episode_of_id" <= 3064 AND "movie_keyword"."id" <= 84439; +SELECT AVG("movie_keyword"."keyword_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 12533458 AND "keyword"."id" <= 132885; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 129616 AND "movie_keyword"."id" >= 449331 AND "movie_keyword"."keyword_id" >= 54864; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" <= 7 AND "kind_type"."kind" != '%video movie%' AND "title"."id" >= 812511; +SELECT "info_type"."id", COUNT(*) AS agg_0, AVG("movie_info_idx"."movie_id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%2004-2004%' AND "info_type"."info" <> '%LD close captions-teletext-ld-g%' AND "title"."kind_id" <= 3 AND "info_type"."id" <= 1 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT AVG("cast_info"."id") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."person_role_id" <= 35176 AND "name"."id" <= 76978; +SELECT SUM("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[uy]%' AND "company_name"."id" <= 141498 AND "movie_companies"."company_id" >= 1227 AND "movie_companies"."id" <= 1350823; +SELECT COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 75 AND "movie_info_idx"."movie_id" >= 703239 AND "title"."season_nr" <= 1.0 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("kind_type"."id") AS agg_4, MAX("kind_type"."kind") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" >= 1.3372428094552467 AND "kind_type"."id" <= 1; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 337; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_info"."note") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 1; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" >= 1 AND "company_type"."id" != 3 AND "movie_companies"."id" <= 1961368 AND "company_name"."id" <= 130629 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT AVG("char_name"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."role_id" = 1 AND "cast_info"."movie_id" <= 11700 AND "cast_info"."id" <= 29812675 AND "cast_info"."person_role_id" >= 30861.98961162138; +SELECT COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 907264 AND "name"."surname_pcode" != '%C621%' AND "name"."gender" != '%m%'; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."episode_of_id" <= 2522954; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" = 101 AND "info_type"."info" != '%books%' GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12537063 AND "cast_info"."person_id" <= 7617350; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 15368 AND "keyword"."id" >= 13079 AND "movie_keyword"."movie_id" >= 1803013 AND "movie_keyword"."id" >= 1787411 AND "title"."id" IS NOT NULL; +SELECT MAX("cast_info"."note") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "cast_info"."role_id" <= 2 AND "cast_info"."person_role_id" <= 43411; +SELECT MAX("person_info"."info") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."name") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20692211; +SELECT AVG("title"."kind_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."kind_id" = 7 AND "title"."production_year" <= 2018.5520648143286; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."imdb_id") AS agg_5, MAX("company_name"."country_code") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."id") AS agg_8, MAX("company_name"."name") AS agg_9, MAX("title"."imdb_index") AS agg_10, MAX("title"."season_nr") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.9773603195947116 AND "movie_companies"."company_id" <= 3990 AND "title"."episode_of_id" <= 7777; +SELECT COUNT(*) as agg_0, AVG("movie_info"."id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XV%' AND "movie_info"."info_type_id" = 16; +SELECT "movie_companies"."company_type_id", AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 946173 AND "movie_companies"."company_id" <= 125868 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT AVG("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" >= 25 AND "person_info"."id" >= 619624 AND "aka_name"."person_id" IS NOT NULL; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("title"."title") AS agg_9, MAX("company_name"."country_code") AS agg_10, MAX("company_name"."name_pcode_sf") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[ky]%' AND "title"."id" <= 32429 AND "company_name"."id" <= 4442; +SELECT AVG("title"."season_nr") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 6.500178113940432 AND "title"."episode_of_id" <= 1309216.6697514611 AND "link_type"."id" >= 3 AND "movie_link"."link_type_id" != 3; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" >= 1286963 AND "keyword"."id" <= 2253 AND "movie_keyword"."movie_id" >= 2384771 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 77013; +SELECT "name"."gender", SUM("person_info"."person_id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 3365809 AND "person_info"."id" >= 2642101 AND "person_info"."info_type_id" <= 23 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("info_type"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12525094 AND "movie_info_idx"."info_type_id" <= 113; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_info"."id") AS agg_7, MAX("title"."title") AS agg_8, MAX("movie_info_idx"."note") AS agg_9, MAX("title"."phonetic_code") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."season_nr" >= 1.0 AND "title"."kind_id" <= 6 AND "movie_info_idx"."info_type_id" <= 99; +SELECT AVG("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 688 AND "keyword"."id" <= 42077; +SELECT AVG("cast_info"."person_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" >= 895757 AND "cast_info"."id" <= 20734883; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 37266; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20752795; +SELECT MAX("company_name"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_type"."id") AS agg_5, MAX("company_name"."name_pcode_sf") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_name"."id" <= 1165094 AND "company_type"."id" <= 4; +SELECT AVG("title"."episode_nr") as agg_0 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" <= 11615196 AND "title"."episode_of_id" >= 99915.90479032167 AND "movie_info"."info_type_id" >= 3 AND "title"."id" >= 1896486; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("company_name"."country_code") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 12512715 AND "company_name"."id" <= 1164081; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("company_type"."kind") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[pe]%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 3445; +SELECT MAX("name"."gender") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("name"."id") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("aka_name"."imdb_index") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 15637 AND "person_info"."person_id" <= 50290; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" != '%Y435%' AND "person_info"."info_type_id" <= 37; +SELECT MAX("name"."name") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("name"."id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20688782; +SELECT "link_type"."id", SUM("movie_link"."linked_movie_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 2.483669565210122 AND "movie_link"."link_type_id" != 8 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT SUM("movie_companies"."movie_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" >= 2433974 AND "title"."kind_id" != 1 AND "title"."season_nr" <= 2.1767565800141484 AND "movie_companies"."company_id" >= 23924; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 1166759 AND "aka_name"."surname_pcode" != '%P354%'; +SELECT AVG("title"."production_year") AS agg_0, AVG("title"."episode_nr") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12538148 AND "keyword"."id" <= 133840 AND "title"."id" <= 12533498; +SELECT COUNT(*) as agg_0, AVG("person_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" >= 3972303 AND "name"."surname_pcode" != '%R35%'; +SELECT MAX("name"."name") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("name"."gender") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("name"."name_pcode_cf") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%P423%' AND "aka_name"."person_id" <= 56299 AND "name"."id" <= 54878; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 2090963 AND "movie_companies"."id" <= 2089705 AND "movie_companies"."company_type_id" >= 2 AND "company_name"."country_code" != '%[kz]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."imdb_index", AVG("movie_info_idx"."info_type_id") as agg_0, SUM("title"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 309990 AND "title"."episode_nr" >= 21.079593847556627 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("aka_name"."surname_pcode") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("cast_info"."role_id") AS agg_8, MAX("name"."id") AS agg_9, MAX("cast_info"."movie_id") AS agg_10, MAX("name"."gender") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 15626172 AND "aka_name"."person_id" <= 20672062; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12542839; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("char_name"."name") AS agg_5, MAX("char_name"."imdb_index") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" <= 15557212 AND "char_name"."id" <= 15659480; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 663084 AND "title"."id" <= 1202334; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 25538 AND "movie_companies"."movie_id" >= 1276624 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) AS agg_0, SUM("keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT "company_type"."kind", COUNT(*) as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 102391 AND "company_type"."kind" != '%distributors%' AND "movie_companies"."movie_id" >= 1706165 AND "movie_companies"."company_type_id" != 2 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT SUM("title"."id") as agg_0, SUM("movie_link"."linked_movie_id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" != 12 AND "title"."series_years" != '%2003-2007%' AND "link_type"."id" != 2; +SELECT AVG("movie_keyword"."id") AS agg_0, AVG("title"."season_nr") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12569618; +SELECT MAX("cast_info"."id") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("char_name"."id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."nr_order") AS agg_6, MAX("char_name"."surname_pcode") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("char_name"."name_pcode_nf") AS agg_9, MAX("char_name"."imdb_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%V642%' AND "cast_info"."person_role_id" <= 19954 AND "char_name"."id" <= 58673; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."company_id" <= 1165665; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%I562%' AND "person_info"."person_id" <= 61650; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12614478 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("movie_companies"."id") AS agg_9, MAX("title"."imdb_id") AS agg_10, MAX("title"."id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2005.774313947968 AND "company_name"."id" <= 2731 AND "title"."id" <= 50257; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 80484 AND "movie_keyword"."movie_id" <= 638787 AND "movie_keyword"."keyword_id" <= 31391 AND "title"."kind_id" = 7 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" >= 1276751.5722937805 AND "cast_info"."id" <= 30124545 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "title"."series_years", COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2525834 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."info") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" <= 113; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%1%' AND "link_type"."id" <= 9; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2010.5370981273197 AND "title"."series_years" <> '%1972-2002%' AND "title"."episode_of_id" <= 4336; +SELECT "movie_companies"."company_type_id", AVG("company_type"."id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."id" <= 2198241 AND "movie_companies"."company_id" >= 10140 AND "company_type"."id" >= 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" >= 2236978 AND "title"."production_year" <= 2010.0566958443071; +SELECT "company_type"."id", SUM("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_type"."id" <= 3 AND "movie_companies"."company_id" >= 996 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 110836 AND "company_name"."country_code" != '%[sj]%' AND "movie_companies"."company_id" IS NOT NULL; +SELECT MAX("title"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 47340 AND "title"."episode_of_id" <= 4969; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("char_name"."name_pcode_nf") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" <> '%D%' AND "cast_info"."person_id" <= 29616; +SELECT "cast_info"."role_id", COUNT(*) AS agg_0, SUM("title"."season_nr") AS agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."id" <= 180916088 AND "title"."episode_of_id" <= 2524770 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 4314; +SELECT COUNT(*) as agg_0, AVG("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" >= 845492 AND "movie_companies"."company_id" <= 4795 AND "movie_companies"."movie_id" <= 1589358; +SELECT "movie_link"."movie_id", SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1898.2222256166324 AND "movie_link"."link_type_id" = 9 GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT "title"."series_years", SUM("title"."episode_nr") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 759772.3087868526 AND "cast_info"."movie_id" >= 1375897 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" <= 2418800 AND "info_type"."id" >= 13; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT "company_name"."country_code", SUM("company_name"."id") as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 216961 AND "movie_companies"."company_type_id" <= 2 AND "company_name"."country_code" != '%[pa]%' AND "movie_companies"."company_id" >= 141810 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."series_years", AVG("title"."episode_nr") as agg_0, AVG("movie_link"."linked_movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 571373 AND "movie_link"."id" >= 17052 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 11.066062259456416 AND "title"."kind_id" >= 4 AND "char_name"."id" IS NOT NULL; +SELECT SUM("info_type"."id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" <= 2172181 AND "info_type"."info" != '%height%' AND "movie_info_idx"."id" >= 45003; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("char_name"."imdb_id") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("char_name"."name_pcode_nf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 61470; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 1; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") as agg_0, AVG("title"."kind_id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" >= 2007.8288318809196 AND "title"."season_nr" >= 1.0 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("title"."id") AS agg_0, AVG("movie_info"."movie_id") AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("cast_info"."id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12568251; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 11035; +SELECT COUNT(*) as agg_0, AVG("title"."production_year") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "movie_link"."linked_movie_id" <= 1777944 AND "title"."episode_nr" <= 19175.633401907584 AND "movie_link"."movie_id" <= 144266 AND "link_type"."id" IS NOT NULL; +SELECT AVG("title"."id") AS agg_0, SUM("movie_info_idx"."id") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%salary history%' AND "title"."episode_nr" <= 13.944070322662672 AND "info_type"."id" <= 1 AND "title"."kind_id" <= 4; +SELECT AVG("cast_info"."id") AS agg_0, AVG("cast_info"."role_id") AS agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4468482 AND "name"."id" <= 20661893 AND "cast_info"."movie_id" <= 12524279; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_type_id") AS agg_0, SUM("movie_companies"."id") AS agg_1 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."id" <= 12545112 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1697-1764%' AND "movie_keyword"."id" <= 55936 AND "title"."episode_of_id" <= 5907; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_id" <= 2351342 AND "char_name"."id" >= 2806226; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 21926 AND "movie_keyword"."keyword_id" >= 19032 AND "movie_keyword"."id" <= 1374320; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 12378 AND "keyword"."id" >= 62730 AND "movie_keyword"."id" >= 955676; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 31411 AND "keyword"."id" <= 232; +SELECT "title"."imdb_index", AVG("title"."id") AS agg_0, AVG("title"."kind_id") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1165458 AND "title"."episode_of_id" <= 2527206 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 2.7481998280942763 AND "cast_info"."role_id" = 1 AND "title"."id" <= 18782; +SELECT "info_type"."id", SUM("movie_info_idx"."id") as agg_0, SUM("info_type"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" >= 27 AND "title"."kind_id" >= 1 AND "movie_info_idx"."info_type_id" = 101 AND "info_type"."info" != '%LD video quality%' GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."name") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("name"."surname_pcode") AS agg_7, MAX("person_info"."info_type_id") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%XLVI%' AND "person_info"."id" <= 59089 AND "name"."id" <= 75444; +SELECT AVG("cast_info"."id") AS agg_0, COUNT(*) AS agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 15579043 AND "cast_info"."person_id" <= 7614223; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("keyword"."keyword") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 313 AND "movie_keyword"."id" <= 71317; +SELECT "title"."series_years", AVG("title"."kind_id") AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12607006 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 720066 AND "name"."imdb_index" != '%XV%'; +SELECT SUM("movie_keyword"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 1240550 AND "keyword"."id" <= 49806; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12597539 AND "movie_keyword"."id" <= 22406893 AND "keyword"."id" <= 133887; +SELECT SUM("movie_link"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 2513080 AND "title"."imdb_index" != '%XVIII%'; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 21399; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 1668041 AND "movie_keyword"."id" >= 563937 AND "keyword"."id" IS NOT NULL; +SELECT SUM("title"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2013.6794761258336 AND "title"."id" <= 2215084 AND "keyword"."id" >= 7092; +SELECT SUM("movie_companies"."company_id") AS agg_0, AVG("movie_companies"."company_id") AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 2943; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."id" <= 12575221; +SELECT "name"."gender", COUNT(*) AS agg_0, SUM("person_info"."id") AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20777421 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT COUNT(*) AS agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 12557509; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("name"."id") AS agg_8, MAX("name"."name") AS agg_9, MAX("cast_info"."person_role_id") AS agg_10, MAX("aka_name"."name_pcode_nf") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id"; +SELECT AVG("cast_info"."role_id") as agg_0, AVG("cast_info"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."id" <= 20104903 AND "char_name"."imdb_index" != '%IV%' AND "char_name"."id" >= 794427 AND "cast_info"."person_id" >= 920952; +SELECT "name"."imdb_index", COUNT(*) as agg_0, AVG("aka_name"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."movie_id" >= 1220035 AND "aka_name"."id" >= 708678 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT COUNT(*) as agg_0, SUM("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 1972459 AND "keyword"."id" >= 109910 AND "movie_keyword"."keyword_id" >= 1515; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 31091 AND "company_name"."country_code" != '%[kr]%'; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" <= 15.559300023524862 AND "aka_name"."person_id" <= 68076; +SELECT AVG("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 724988 AND "char_name"."imdb_index" != '%IV%'; +SELECT MAX("char_name"."surname_pcode") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("char_name"."md5sum") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("char_name"."imdb_index") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 1.5623695775130546 AND "char_name"."imdb_index" <> '%I%' AND "char_name"."id" <= 29281; +SELECT "cast_info"."role_id", SUM("cast_info"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%DM%' AND "char_name"."id" >= 217072 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2000.742504693534 AND "title"."season_nr" >= 6.643357801328833 AND "movie_keyword"."movie_id" <= 20384 AND "keyword"."id" <= 160; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 46387 AND "movie_keyword"."movie_id" >= 1226141 AND "movie_keyword"."keyword_id" >= 78; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_companies"."note") AS agg_7, MAX("movie_companies"."company_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 42572 AND "movie_companies"."company_id" <= 1363; +SELECT MAX("person_info"."id") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("person_info"."person_id") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" <= 39 AND "aka_name"."person_id" <= 20668494; +SELECT "movie_link"."link_type_id", AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1991-1999%' AND "movie_link"."id" <= 23760 AND "link_type"."link" != '%spin off from%' GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT SUM("link_type"."id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."episode_of_id" <= 441672.187466094 AND "movie_link"."linked_movie_id" <= 1752845 AND "movie_link"."link_type_id" != 6; +SELECT "name"."imdb_index", COUNT(*) as agg_0, AVG("name"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" >= 447291 AND "name"."imdb_index" != '%CX%' GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT "info_type"."id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 7.766013951308182 AND "movie_info_idx"."movie_id" <= 159642 AND "info_type"."id" >= 24 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 12621786; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" >= 282 AND "company_name"."id" <= 14408 AND "movie_companies"."company_type_id" != 2 AND "company_type"."kind" != '%distributors%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "company_type"."id", AVG("company_type"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 2412683 AND "movie_companies"."company_type_id" != 2 AND "company_type"."id" <= 2 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "title"."imdb_index", AVG("title"."season_nr") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."info_type_id" != 13 AND "movie_info_idx"."id" <= 1204842 AND "movie_info"."movie_id" <= 2326529 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."imdb_index", SUM("movie_keyword"."id") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2010.177712615223 AND "movie_keyword"."movie_id" >= 2264247 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "cast_info"."role_id", AVG("cast_info"."person_role_id") as agg_0, AVG("cast_info"."nr_order") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" <= 2073603.1428009397 AND "char_name"."imdb_index" != '%II%' GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("name"."id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("name"."gender") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%XXIV%' AND "person_info"."id" <= 48866 AND "aka_name"."person_id" <= 58161; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 127357 AND "movie_keyword"."movie_id" <= 2520008 AND "movie_keyword"."keyword_id" >= 1217 AND "movie_keyword"."id" >= 2429367; +SELECT "title"."kind_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" >= 2081972 AND "movie_info_idx"."movie_id" >= 1943859 AND "title"."production_year" >= 2004.690899154388 AND "movie_info_idx"."info_type_id" <= 104 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("person_info"."id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" >= 2063703 AND "aka_name"."id" >= 541268; +SELECT "title"."kind_id", SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" >= 750694 AND "company_type"."id" != 1 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("company_type"."kind") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 59393 AND "movie_keyword"."keyword_id" >= 2935 AND "movie_keyword"."movie_id" >= 2037110; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."id") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 11.857623249172628 AND "title"."kind_id" <= 6; +SELECT MAX("kind_type"."id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."series_years") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7 AND "title"."episode_of_id" <= 2519983; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" >= 3289121 AND "keyword"."id" <= 34535 AND "movie_keyword"."movie_id" >= 2218205; +SELECT "info_type"."info", SUM("movie_info_idx"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%mini biography%' AND "movie_info_idx"."id" <= 1243470 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%distributors%' AND "company_type"."id" <= 1; +SELECT AVG("person_info"."info_type_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 1629117 AND "person_info"."person_id" <= 820684 AND "person_info"."info_type_id" = 15; +SELECT "person_info"."info_type_id", COUNT(*) as agg_0, AVG("name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" != '%f%' AND "person_info"."id" <= 273619 AND "person_info"."info_type_id" != 37 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12609148; +SELECT SUM("movie_info_idx"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" != 99 AND "title"."season_nr" >= 1.3131840131394976 AND "movie_info_idx"."movie_id" >= 1910402 AND "info_type"."id" IS NOT NULL; +SELECT MAX("name"."id") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("person_info"."person_id") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("name"."md5sum") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" <= 39 AND "aka_name"."id" <= 4502219 AND "name"."id" <= 20766640; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 103651 AND "movie_keyword"."keyword_id" >= 1130 AND "movie_keyword"."id" <= 1110586 AND "movie_keyword"."movie_id" <= 2446844; +SELECT MAX("name"."id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("name"."name") AS agg_5, MAX("person_info"."person_id") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7, MAX("aka_name"."person_id") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("aka_name"."surname_pcode") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" <= 39 AND "aka_name"."person_id" <= 20691133; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 77227 AND "movie_keyword"."movie_id" >= 1866525; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" != 1 AND "company_name"."id" >= 73660 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[jp]%' AND "movie_companies"."id" <= 964338 AND "title"."production_year" <= 2010.7451379246163; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("company_name"."md5sum") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 1166269 AND "company_type"."id" <= 4; +SELECT SUM("link_type"."id") as agg_0, SUM("title"."production_year") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1997.7216283605794 AND "movie_link"."link_type_id" <= 8 AND "link_type"."link" != '%version of%' AND "title"."season_nr" >= 1.799375680822389; +SELECT "name"."imdb_index", AVG("aka_name"."person_id") as agg_0, AVG("cast_info"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 3879184 AND "name"."gender" != '%m%' AND "cast_info"."nr_order" >= 9.090839504422526 AND "aka_name"."id" >= 144189 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" >= 113115 AND "movie_companies"."company_type_id" >= 1 AND "company_name"."country_code" != '%[ch]%'; +SELECT "person_info"."info_type_id", AVG("person_info"."id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" != '%I535%' AND "person_info"."person_id" <= 1603077 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT SUM("movie_info"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" >= 8 AND "title"."production_year" >= 2014.7347062829665; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1171198; +SELECT SUM("title"."id") as agg_0, AVG("title"."season_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%referenced in%' AND "title"."season_nr" <= 3.0472787234983536 AND "title"."kind_id" != 4 AND "movie_link"."linked_movie_id" <= 135911; +SELECT "title"."kind_id", AVG("title"."id") as agg_0, AVG("cast_info"."id") as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."nr_order" >= 3.3000677897387733 AND "title"."production_year" <= 2006.6164741533673 AND "cast_info"."person_id" <= 1304407 AND "title"."id" <= 594664 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 4212806 AND "movie_keyword"."movie_id" >= 1161353 AND "keyword"."id" IS NOT NULL; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."id") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%S431%' AND "aka_name"."id" <= 10798; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_keyword"."keyword_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 134148 AND "title"."id" <= 12620483 AND "movie_keyword"."keyword_id" <= 133354; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%M314%' AND "cast_info"."role_id" = 3 AND "cast_info"."id" <= 271578; +SELECT MAX("company_name"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 14840; +SELECT "info_type"."info", AVG("movie_info_idx"."info_type_id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%LD color information%' AND "movie_info_idx"."info_type_id" != 101 AND "movie_info_idx"."id" >= 857625 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 104386 AND "movie_keyword"."movie_id" >= 2372511; +SELECT MAX("person_info"."note") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."gender") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_companies"."movie_id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("keyword"."id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 4 AND "movie_keyword"."id" <= 53792; +SELECT AVG("movie_info_idx"."info_type_id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 96 AND "movie_info_idx"."info_type_id" != 100 AND "movie_info_idx"."movie_id" >= 1189780 AND "movie_info_idx"."id" >= 390585; +SELECT "title"."kind_id", SUM("movie_link"."link_type_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" >= 142481 AND "link_type"."link" != '%spin off%' GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("company_name"."md5sum") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1170561; +SELECT "title"."kind_id", COUNT(*) AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133273 AND "title"."episode_of_id" <= 2518727 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 26666; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("kind_type"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("kind_type"."kind") AS agg_5, MAX("kind_type"."id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 12613676; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("name"."id") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20739917; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("kind_type"."kind") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" <= 2006.6822157834094 AND "kind_type"."kind" <> '%tv series%' AND "title"."id" <= 12853; +SELECT "title"."series_years", SUM("title"."episode_of_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 399124.43722184515 AND "movie_keyword"."movie_id" >= 1746783 AND "title"."season_nr" <= 3.4897423288205167 AND "movie_keyword"."id" <= 2941235 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("movie_companies"."id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."movie_id" >= 999907 AND "movie_companies"."company_id" <= 4212 AND "movie_companies"."company_type_id" != 2; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("cast_info"."movie_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2003.799719119176 AND "title"."season_nr" >= 1.0 AND "title"."id" <= 27403; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" >= 2351935 AND "title"."imdb_index" != '%XXI%'; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1999.8708371713888 AND "title"."id" <= 35618; +SELECT AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 69 AND "company_type"."id" != 3 AND "company_name"."id" IS NOT NULL; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 12965876 AND "company_type"."id" <= 4; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" = 50 AND "movie_info"."movie_id" <= 1999209 AND "movie_info"."id" <= 10601155 AND "title"."id" IS NOT NULL; +SELECT MAX("movie_info"."id") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 73594516 AND "title"."episode_of_id" <= 2517527; +SELECT SUM("title"."episode_nr") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 2153655 AND "link_type"."id" != 17 AND "movie_link"."link_type_id" <= 5; +SELECT COUNT(*) as agg_0, AVG("title"."kind_id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "movie_link"."movie_id" >= 151932 AND "title"."episode_nr" <= 73898.7547875422 AND "title"."production_year" >= 1993.046951483389 AND "link_type"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0, SUM("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info_idx"."id" >= 702673 AND "movie_info_idx"."movie_id" >= 608479 AND "title"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 133830 AND "keyword"."id" <= 133036; +SELECT SUM("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2016.2370419023193 AND "title"."season_nr" <= 1.0 AND "movie_info_idx"."movie_id" <= 565586; +SELECT COUNT(*) as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 7.391331153698558 AND "keyword"."id" >= 13583; +SELECT SUM("company_name"."id") as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 71833 AND "movie_companies"."company_type_id" <= 2 AND "company_name"."country_code" != '%[vi]%' AND "movie_companies"."id" <= 1343967; +SELECT "title"."kind_id", SUM("movie_info"."info_type_id") as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 7.542562989763966 AND "title"."id" <= 2079777 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_name"."name") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("company_name"."name_pcode_sf") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."company_type_id" <= 2 AND "company_name"."id" <= 1166046; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_nr" >= 4.940551865049345 AND "title"."episode_of_id" <= 8525; +SELECT "title"."series_years", COUNT(*) as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 1475973 AND "title"."kind_id" != 6 AND "movie_info"."id" <= 4304097 AND "title"."episode_nr" >= 48.4879192250651 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) AS agg_0, AVG("char_name"."id") AS agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" >= 1 AND "char_name"."id" <= 44457; +SELECT MAX("keyword"."id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12559516 AND "movie_info"."info_type_id" <= 110; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 3.0315061072389753 AND "cast_info"."person_id" <= 20402; +SELECT "company_name"."country_code", SUM("movie_companies"."movie_id") as agg_0, SUM("company_type"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" != 2 AND "company_name"."id" <= 130086 AND "movie_companies"."company_id" <= 1780 AND "company_type"."kind" != '%miscellaneous companies%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "cast_info"."role_id", SUM("cast_info"."role_id") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" <= 9.9648677112651 AND "aka_name"."id" <= 12682 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 24176 AND "movie_keyword"."movie_id" <= 2355875 AND "movie_keyword"."id" >= 271050 AND "movie_keyword"."keyword_id" >= 437; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" <= 4 AND "title"."production_year" <= 2010.4998020390235 AND "link_type"."id" IS NOT NULL; +SELECT SUM("movie_keyword"."keyword_id") AS agg_0, SUM("movie_keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 15007; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4; +SELECT SUM("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[mx]%' AND "company_name"."id" <= 62670 AND "title"."id" IS NOT NULL; +SELECT "link_type"."id", AVG("title"."season_nr") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."kind_id" = 7 AND "movie_link"."link_type_id" <= 13 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT "title"."imdb_index", COUNT(*) AS agg_0, SUM("title"."id") AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12616844 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" >= 2 AND "movie_companies"."id" <= 1842094; +SELECT SUM("title"."production_year") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("name"."id") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."name") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("person_info"."note") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("name"."gender") AS agg_8, MAX("aka_name"."imdb_index") AS agg_9, MAX("name"."surname_pcode") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 14812 AND "name"."id" <= 56072; +SELECT "company_type"."kind", COUNT(*) as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" >= 27686 AND "company_type"."kind" != '%distributors%' GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT AVG("movie_keyword"."movie_id") as agg_0, AVG("title"."production_year") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 21486 AND "movie_keyword"."id" <= 4442271 AND "title"."series_years" != '%1967-1976%'; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("name"."gender") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("name"."name") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."surname_pcode" <> '%L265%' AND "name"."surname_pcode" <> '%T364%' AND "aka_name"."id" <= 11846; +SELECT MAX("aka_name"."id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("char_name"."name") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("char_name"."name_pcode_nf") AS agg_7, MAX("cast_info"."person_role_id") AS agg_8, MAX("char_name"."imdb_id") AS agg_9, MAX("aka_name"."name") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%N65%' AND "cast_info"."id" <= 611290 AND "aka_name"."person_id" <= 69454; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."id" <= 40147; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%distributors%' AND "movie_companies"."company_type_id" <= 1 AND "company_type"."id" <= 1; +SELECT AVG("kind_type"."id") as agg_0, AVG("kind_type"."id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" != 3 AND "title"."season_nr" <= 1.0; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" != 1 AND "movie_companies"."movie_id" >= 318530 AND "title"."season_nr" <= 4.611000062447942 AND "company_type"."id" >= 2; +SELECT "info_type"."info", SUM("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%trivia%' AND "movie_info_idx"."movie_id" >= 289947 AND "info_type"."id" >= 78 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "person_info"."info_type_id", COUNT(*) as agg_0, AVG("name"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."person_id" <= 3126545 AND "person_info"."id" <= 1740874 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT "link_type"."id", COUNT(*) as agg_0, SUM("title"."kind_id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "link_type"."id" >= 8 AND "movie_link"."id" >= 13039 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT AVG("movie_info_idx"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."info_type_id" != 99 AND "movie_info_idx"."id" >= 534871 AND "info_type"."id" IS NOT NULL; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 6.396088273789655 AND "movie_info_idx"."movie_id" <= 40251; +SELECT SUM("title"."season_nr") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" >= 5.074179089192172 AND "title"."production_year" <= 2010.9003710048971; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 2013988 AND "movie_keyword"."id" >= 1478269 AND "movie_keyword"."keyword_id" <= 3468 AND "keyword"."id" <= 109376; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" >= 636052 AND "cast_info"."movie_id" >= 386623; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."id" >= 1265849 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("keyword"."id") as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1795174 AND "keyword"."id" <= 76648 AND "movie_keyword"."keyword_id" <= 66995 AND "movie_keyword"."id" >= 4124858; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("company_type"."id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 16319 AND "company_type"."id" <= 1; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" <= 2507169.8223521197 AND "char_name"."imdb_index" != '%I%' AND "title"."id" <= 2046258 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "company_name"."country_code", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 4025 AND "company_type"."id" = 2 AND "company_name"."id" <= 186799 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info_idx"."info") AS agg_7, MAX("title"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("person_info"."info") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("name"."name_pcode_nf") AS agg_8, MAX("name"."gender") AS agg_9, MAX("person_info"."note") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20760875 AND "person_info"."info_type_id" <= 39 AND "aka_name"."id" <= 4491568; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" != '%special effects companies%' AND "company_type"."id" >= 1 AND "movie_companies"."id" <= 2082842 AND "movie_companies"."movie_id" <= 2266005; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" >= 2252 AND "keyword"."id" <= 53972 AND "movie_keyword"."id" <= 1057265 AND "movie_keyword"."movie_id" >= 1669896; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("name"."name") AS agg_6, MAX("name"."id") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%H623%' AND "aka_name"."id" <= 4743; +SELECT MAX("title"."title") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12621538; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 36098; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 131571 AND "keyword"."id" <= 4126 AND "title"."kind_id" <= 7; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%LD quality program%' AND "info_type"."id" <= 1; +SELECT AVG("person_info"."info_type_id") as agg_0, AVG("person_info"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" != 28 AND "name"."id" <= 1778895; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."name") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT "info_type"."info", AVG("info_type"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 91 AND "movie_info_idx"."info_type_id" != 99 AND "info_type"."info" != '%agent address%' AND "movie_info_idx"."id" <= 356088 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("person_info"."info") AS agg_8, MAX("name"."name") AS agg_9, MAX("aka_name"."surname_pcode") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20787010 AND "person_info"."id" <= 14702020 AND "name"."id" <= 20825470; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_companies"."company_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1993 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("title"."title") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."role_id" <> 6 AND "title"."kind_id" <= 8; +SELECT "title"."kind_id", AVG("title"."episode_of_id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 135919.54619583537 AND "cast_info"."nr_order" <= 6.51066625168703 AND "cast_info"."movie_id" <= 2326215 AND "title"."season_nr" <= 1.0 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."id") AS agg_6, MAX("movie_info"."id") AS agg_7, MAX("movie_info"."info_type_id") AS agg_8, MAX("title"."episode_of_id") AS agg_9, MAX("movie_info_idx"."info_type_id") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "title"."kind_id" <= 8; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_info_idx"."info_type_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_info_idx"."movie_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 4; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 19219; +SELECT SUM("cast_info"."nr_order") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" != '%T53%' AND "aka_name"."id" >= 651573 AND "aka_name"."person_id" >= 1964118; +SELECT "company_type"."kind", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" >= 2 AND "movie_companies"."movie_id" >= 1343308 AND "movie_companies"."id" <= 1497383 AND "movie_companies"."company_type_id" <= 2 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id"; +SELECT AVG("cast_info"."id") as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%DM%' AND "cast_info"."person_id" <= 1936687 AND "char_name"."id" <= 1966638; +SELECT AVG("keyword"."id") AS agg_0, AVG("movie_keyword"."movie_id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 145; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0, AVG("cast_info"."person_role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 73028.64554354889 AND "name"."id" >= 1674505 AND "name"."surname_pcode" != '%F241%' AND "cast_info"."person_id" >= 762898 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 2719386 AND "aka_name"."surname_pcode" != '%J534%' AND "name"."id" IS NOT NULL; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%D125%' AND "aka_name"."id" <= 15046; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 9550; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 39; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("name"."id") AS agg_6, MAX("name"."md5sum") AS agg_7, MAX("name"."name_pcode_nf") AS agg_8, MAX("aka_name"."imdb_index") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10, MAX("aka_name"."md5sum") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."id" <= 20721218 AND "cast_info"."movie_id" <= 12553930 AND "aka_name"."id" <= 4465608; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%T616%' AND "aka_name"."id" >= 427853; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[rs]%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 2426 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_name"."md5sum") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT SUM("cast_info"."nr_order") AS agg_0, COUNT(*) AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT "name"."surname_pcode", SUM("name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 2448368 AND "name"."imdb_index" != '%LXXXII%' AND "name"."surname_pcode" != '%F63%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."company_type_id" <= 2; +SELECT AVG("movie_companies"."movie_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%special effects companies%' AND "movie_companies"."id" >= 191352; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."production_year" >= 1957.7442529525215 AND "cast_info"."movie_id" <= 38462; +SELECT SUM("movie_keyword"."keyword_id") AS agg_0, AVG("title"."season_nr") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 132908 AND "title"."kind_id" <= 2010; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 2255271 AND "movie_companies"."company_type_id" >= 2 AND "company_type"."id" IS NOT NULL; +SELECT SUM("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" >= 1 AND "movie_companies"."company_type_id" = 1 AND "movie_companies"."id" >= 997671 AND "movie_companies"."movie_id" >= 1772092; +SELECT MAX("aka_name"."imdb_index") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."imdb_id") AS agg_6, MAX("name"."id") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20755152; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."company_type_id" <= 2 AND "title"."id" <= 12524635; +SELECT COUNT(*) as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%K265%' AND "name"."surname_pcode" != '%Z351%'; +SELECT MAX("title"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."series_years") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2002.1720728854912 AND "title"."season_nr" <= 1.0 AND "title"."episode_of_id" <= 6118; +SELECT "title"."series_years", SUM("title"."episode_nr") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 783231.3844419017 AND "title"."kind_id" != 1 AND "movie_info"."movie_id" >= 1589729 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_info_idx"."info_type_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 22246; +SELECT AVG("cast_info"."person_role_id") as agg_0, SUM("cast_info"."person_role_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."id" <= 28421008 AND "name"."surname_pcode" != '%Z354%'; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("char_name"."md5sum") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("char_name"."imdb_index") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("cast_info"."nr_order") AS agg_9, MAX("title"."md5sum") AS agg_10, MAX("cast_info"."role_id") AS agg_11, MAX("char_name"."surname_pcode") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id"; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."gender") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("person_info"."info_type_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20672157; +SELECT SUM("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" >= 810372 AND "person_info"."info_type_id" >= 20; +SELECT "info_type"."info", SUM("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 1872841 AND "info_type"."info" != '%weekend gross%' GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("title"."kind_id") AS agg_0, AVG("title"."episode_of_id") AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1992.2059852580303 AND "title"."imdb_index" <> '%XVIII%' AND "title"."episode_of_id" <= 6321; +SELECT "title"."kind_id", COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" >= 47643 AND "title"."season_nr" <= 2.3301581271427265 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" >= 18163 AND "keyword"."id" >= 51361 AND "movie_keyword"."id" <= 2249237; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_companies"."company_id") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."production_year" <= 1999.7810845917327 AND "title"."season_nr" <= 608.2828617299108 AND "title"."episode_of_id" <= 8759; +SELECT MAX("kind_type"."id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_of_id" <= 2527420; +SELECT "title"."imdb_index", AVG("cast_info"."person_role_id") as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."person_role_id" <= 19771.4692308674 AND "title"."id" <= 143787 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("movie_companies"."company_type_id") AS agg_9, MAX("title"."episode_of_id") AS agg_10, MAX("title"."season_nr") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1173960 AND "title"."kind_id" <= 1994 AND "movie_companies"."id" <= 12987105; +SELECT MAX("title"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 7639651 AND "title"."kind_id" <= 2004; +SELECT COUNT(*) AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 132970; +SELECT "title"."imdb_index", COUNT(*) AS agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1972.246467847199 AND "keyword"."id" >= 114937; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 1 AND "title"."episode_of_id" <= 9296; +SELECT "title"."series_years", SUM("title"."episode_nr") as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" >= 91774 AND "title"."production_year" >= 1922.437250651763 AND "movie_companies"."movie_id" <= 1795781 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 14.570742527952184 AND "movie_keyword"."movie_id" <= 42007 AND "title"."episode_of_id" <= 7064; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."episode_of_id" <= 2509271; +SELECT AVG("movie_companies"."id") as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 884197 AND "company_type"."id" >= 1 AND "company_name"."id" <= 232745; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 2282344 AND "keyword"."id" <= 74916 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 1524590 AND "char_name"."id" >= 2060158 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT AVG("company_type"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" = 2 AND "title"."kind_id" = 1; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 114378 AND "movie_keyword"."keyword_id" <= 4105 AND "movie_keyword"."id" <= 550898; +SELECT AVG("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 292706 AND "person_info"."info_type_id" != 18 AND "name"."id" IS NOT NULL; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 41861 AND "movie_keyword"."id" >= 3182683 AND "movie_keyword"."movie_id" <= 1976000; +SELECT AVG("cast_info"."id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 1382594 AND "cast_info"."id" <= 24045309 AND "cast_info"."movie_id" >= 770721; +SELECT SUM("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%novel%' AND "movie_info_idx"."movie_id" >= 127268; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" != '%f%' AND "name"."id" >= 859052 AND "person_info"."info_type_id" >= 18; +SELECT COUNT(*) as agg_0, AVG("person_info"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" >= 162760 AND "person_info"."info_type_id" != 25 AND "name"."imdb_index" != '%CXXIX%'; +SELECT AVG("name"."id") as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" != 38 AND "person_info"."person_id" <= 2205800 AND "person_info"."id" <= 2500560; +SELECT AVG("cast_info"."person_role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."movie_id" >= 2034105 AND "aka_name"."person_id" >= 1521246; +SELECT COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" >= 1 AND "title"."id" <= 695076; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1165702; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("movie_keyword"."movie_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 48898; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("company_name"."country_code") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%production companies%' AND "company_type"."id" <= 1 AND "movie_companies"."id" <= 26090; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 21677 AND "movie_keyword"."movie_id" <= 1513483 AND "movie_keyword"."id" <= 1017344 AND "movie_keyword"."keyword_id" >= 2281; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."title") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 132923 AND "title"."episode_of_id" <= 2515737; +SELECT "movie_link"."link_type_id", AVG("title"."episode_nr") as agg_0, SUM("title"."season_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" = 5 AND "movie_link"."link_type_id" >= 4 AND "link_type"."link" != '%similar to%' AND "title"."episode_nr" <= 5.104390403909158 GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT "company_name"."country_code", COUNT(*) as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 1010403 AND "company_name"."country_code" != '%[nr]%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1737959 AND "movie_keyword"."id" >= 2826543 AND "keyword"."id" >= 132905; +SELECT "aka_name"."imdb_index", SUM("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" >= 978465 AND "person_info"."id" >= 1092604 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("char_name"."name_pcode_nf") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("char_name"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."id" <= 179645125; +SELECT "title"."imdb_index", COUNT(*) as agg_0, SUM("title"."kind_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" = 2 AND "title"."episode_of_id" >= 357436.9591929095 AND "movie_info"."id" <= 10947045 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 114646 AND "movie_keyword"."keyword_id" <= 2051 AND "movie_keyword"."id" <= 717362 AND "movie_keyword"."movie_id" >= 1851734; +SELECT SUM("movie_info_idx"."movie_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."info_type_id" = 3 AND "title"."episode_of_id" >= 557735.2737087645; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."md5sum") AS agg_5, MAX("company_name"."id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" <= 2; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.351163667038689 AND "movie_keyword"."movie_id" <= 37638 AND "keyword"."id" <= 168; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" >= 2373715 AND "title"."imdb_index" != '%VIII%' GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "name"."surname_pcode", SUM("person_info"."person_id") as agg_0, AVG("name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" != '%m%' AND "person_info"."person_id" <= 89015 AND "name"."imdb_index" != '%LI%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT AVG("title"."id") AS agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%tv mini series%' AND "title"."imdb_index" <> '%II%' AND "title"."kind_id" <= 6; +SELECT MAX("person_info"."note") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."person_id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 376; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" != 1 AND "company_name"."country_code" != '%[ru]%' AND "movie_companies"."movie_id" >= 2176853 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 27901; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_type"."id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2008; +SELECT "title"."series_years", SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 4686 AND "title"."id" >= 1047186 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 99; +SELECT AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" >= 99 AND "title"."episode_of_id" >= 128523.12743648425; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("char_name"."imdb_index") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."episode_nr") AS agg_8, MAX("cast_info"."person_id") AS agg_9, MAX("title"."md5sum") AS agg_10, MAX("char_name"."name") AS agg_11, MAX("title"."imdb_index") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_role_id" <= 15660700 AND "char_name"."id" <= 15670770 AND "title"."kind_id" <= 2005; +SELECT MAX("title"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."title") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_of_id" <= 2521649; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 651 AND "company_name"."country_code" != '%[az]%'; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."movie_id" >= 827381 AND "movie_info_idx"."info_type_id" = 99 AND "title"."id" <= 947970 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 22449498 AND "keyword"."id" <= 133566; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 115195 AND "title"."episode_nr" >= 6.846485315482504 AND "title"."production_year" >= 1962.8901578987557 AND "title"."season_nr" <= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("aka_name"."name") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."surname_pcode") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."id") AS agg_6, MAX("name"."surname_pcode") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" <> '%V356%' AND "aka_name"."surname_pcode" <> '%V416%' AND "name"."id" <= 32143; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 116120 AND "movie_keyword"."movie_id" <= 869175; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113; +SELECT MAX("title"."id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("info_type"."info") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 6.701678598713416 AND "info_type"."info" <> '%LD number of chapter stops%' AND "movie_info_idx"."movie_id" <= 29666 AND "info_type"."id" <= 1; +SELECT "company_type"."kind", AVG("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 2 AND "movie_companies"."company_type_id" != 2 AND "company_type"."kind" != '%distributors%' GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 2585245 AND "movie_companies"."movie_id" <= 1787149; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("info_type"."id") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 31704 AND "movie_info_idx"."id" <= 16230; +SELECT "name"."gender", AVG("person_info"."person_id") AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%XXIX%' AND "name"."id" <= 53720 AND "person_info"."info_type_id" <= 15 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("name"."md5sum") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."id") AS agg_9, MAX("name"."gender") AS agg_10, MAX("name"."md5sum") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 68564 AND "name"."id" <= 54965; +SELECT SUM("cast_info"."role_id") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" >= 440826 AND "aka_name"."person_id" <= 2320722 AND "cast_info"."role_id" <= 1 AND "name"."id" IS NOT NULL; +SELECT SUM("movie_info"."info_type_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 7664001 AND "movie_info"."movie_id" <= 967718 AND "movie_info"."info_type_id" = 3 AND "title"."id" IS NOT NULL; +SELECT SUM("movie_companies"."company_type_id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 56147 AND "movie_companies"."movie_id" <= 719947; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 1.5955858132610474 AND "title"."kind_id" <= 7 AND "movie_keyword"."keyword_id" <= 523; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[ua]%' AND "movie_companies"."movie_id" <= 371529 AND "movie_companies"."company_type_id" <= 1 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" >= 2763530 AND "keyword"."id" >= 61192 AND "movie_keyword"."movie_id" <= 2258379 AND "movie_keyword"."keyword_id" >= 2303; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133234; +SELECT "movie_info_idx"."info_type_id", AVG("title"."production_year") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" != 100 AND "movie_info_idx"."id" <= 111251 AND "title"."episode_nr" >= 2.1070988910917356 AND "movie_info_idx"."movie_id" <= 1896089 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[se]%' AND "company_name"."id" >= 202521 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "aka_name"."imdb_index", AVG("cast_info"."movie_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 1973544 AND "cast_info"."role_id" <= 7 AND "char_name"."imdb_index" != '%IV%' GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" != 9 AND "char_name"."id" >= 2164742; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 3370; +SELECT "person_info"."info_type_id", AVG("person_info"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."imdb_index" != '%CLXXI%' AND "person_info"."id" >= 225971 AND "person_info"."info_type_id" != 15 AND "person_info"."person_id" >= 1747598 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 965044 AND "aka_name"."surname_pcode" != '%E432%' AND "aka_name"."id" <= 633169 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" = 1 AND "cast_info"."movie_id" <= 598604 AND "char_name"."id" IS NOT NULL AND "aka_name"."id" IS NOT NULL; +SELECT "cast_info"."role_id", AVG("cast_info"."movie_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 1615205 AND "cast_info"."person_role_id" >= 150149.7893492642 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."movie_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" <= 83910 AND "company_name"."id" <= 179631 AND "movie_companies"."company_type_id" != 1 AND "movie_companies"."id" <= 1720391 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" >= 16 AND "title"."series_years" != '%1905-1908%' AND "title"."episode_of_id" <= 165285.2228152639; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 244 AND "movie_keyword"."id" >= 769346 AND "movie_keyword"."movie_id" <= 1977462 AND "keyword"."id" >= 132265; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("company_name"."id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("company_name"."md5sum") AS agg_7, MAX("company_name"."name_pcode_nf") AS agg_8, MAX("company_name"."name_pcode_sf") AS agg_9, MAX("title"."production_year") AS agg_10, MAX("movie_companies"."movie_id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2517544; +SELECT COUNT(*) as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" >= 155492 AND "name"."id" >= 1276856 AND "aka_name"."surname_pcode" != '%C463%' AND "person_info"."person_id" IS NOT NULL; +SELECT COUNT(*) as agg_0, SUM("char_name"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 1421236 AND "char_name"."imdb_index" != '%M%' AND "cast_info"."person_role_id" IS NOT NULL; +SELECT COUNT(*) AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%production companies%' AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 133372; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."gender") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("name"."surname_pcode") AS agg_7, MAX("cast_info"."person_id") AS agg_8, MAX("cast_info"."role_id") AS agg_9, MAX("cast_info"."nr_order") AS agg_10, MAX("aka_name"."name") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 20655388 AND "name"."id" <= 20667774; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 493; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 158267 AND "cast_info"."person_role_id" >= 325006.6444236615 AND "cast_info"."person_id" <= 3819311 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "title"."imdb_index", COUNT(*) AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1853-1890%' AND "title"."production_year" >= 1954.1584020181647 AND "keyword"."id" <= 168 AND "movie_keyword"."id" <= 41131 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12640103 AND "movie_info"."id" <= 74034323; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("cast_info"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15595335; +SELECT SUM("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."country_code" != '%[uz]%' AND "movie_companies"."movie_id" <= 1134583 AND "company_type"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 121.03405496565753 AND "keyword"."id" <= 93262; +SELECT COUNT(*) as agg_0, SUM("movie_link"."movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 806865 AND "link_type"."link" != '%featured in%' AND "title"."episode_nr" <= 2.564677575932918 AND "title"."episode_of_id" <= 1515673.8254079232; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."title") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%IV%' AND "title"."episode_of_id" <= 3397; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("aka_name"."md5sum") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%B351%' AND "cast_info"."nr_order" >= 668083199.947374 AND "aka_name"."person_id" <= 22423; +SELECT "title"."series_years", AVG("keyword"."id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 653129 AND "movie_keyword"."movie_id" <= 2023801 AND "title"."kind_id" >= 7 AND "title"."season_nr" >= 3.659097909150085 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" >= 629401 AND "movie_companies"."company_id" <= 89642; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2; +SELECT "title"."imdb_index", SUM("title"."episode_of_id") as agg_0, AVG("movie_info"."info_type_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info_idx"."id" <= 586695 AND "movie_info_idx"."movie_id" >= 431973 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."movie_id" <= 1182669; +SELECT MAX("char_name"."md5sum") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("char_name"."imdb_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "title"."kind_id" <= 6 AND "movie_keyword"."movie_id" <= 16435; +SELECT "link_type"."id", AVG("movie_link"."id") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."link_type_id" <= 7 AND "title"."id" <= 2491249 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 979 AND "movie_companies"."company_type_id" != 1; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 12335 AND "movie_keyword"."movie_id" >= 2415149; +SELECT AVG("title"."episode_of_id") as agg_0 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."episode_nr" >= 10.456078810211453 AND "kind_type"."kind" != '%movie%'; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_type"."id") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("company_name"."name_pcode_sf") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "company_type"."id" <= 1 AND "company_name"."id" <= 1380; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_info_idx"."id") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_info_idx"."info_type_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%LD dynamic range%' AND "title"."episode_of_id" <= 9184 AND "movie_info_idx"."id" <= 12658; +SELECT "name"."surname_pcode", AVG("person_info"."info_type_id") as agg_0, SUM("person_info"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" != '%m%' AND "aka_name"."id" <= 508908 AND "aka_name"."person_id" <= 1620421 AND "aka_name"."surname_pcode" != '%F243%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT SUM("movie_info_idx"."id") as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 841885.9274117078 AND "movie_info_idx"."id" <= 335914; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("cast_info"."role_id") AS agg_7, MAX("aka_name"."name_pcode_cf") AS agg_8, MAX("name"."name") AS agg_9, MAX("cast_info"."movie_id") AS agg_10, MAX("aka_name"."surname_pcode") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 20636809 AND "name"."id" <= 20634377; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("person_info"."note") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%L316%' AND "name"."id" <= 72769; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" != '%f%' AND "person_info"."id" <= 2789145; +SELECT MAX("title"."kind_id") AS agg_0, MAX("kind_type"."kind") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."series_years") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."production_year" >= 1918.8991315003718 AND "title"."series_years" <> '%1974-1984%' AND "kind_type"."id" <= 1; +SELECT AVG("cast_info"."role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 2131482 AND "char_name"."imdb_index" != '%IV%'; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("cast_info"."note") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" <> '%V413%' AND "cast_info"."movie_id" <= 49916; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT "info_type"."info", AVG("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info_idx"."id" <= 1196946 AND "info_type"."id" >= 28 AND "movie_info_idx"."movie_id" <= 2313628 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "name"."surname_pcode", AVG("aka_name"."person_id") as agg_0, AVG("aka_name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 3646824 AND "aka_name"."surname_pcode" != '%S256%' AND "name"."id" <= 2753934 AND "aka_name"."id" >= 489284 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("aka_name"."name") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" <= 58080; +SELECT "name"."imdb_index", COUNT(*) as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" != '%H165%' AND "aka_name"."id" <= 522463 AND "cast_info"."person_role_id" <= 600813.054482212 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT AVG("title"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."id" <= 1109353 AND "movie_info"."info_type_id" != 15 AND "movie_info_idx"."info_type_id" != 100 AND "movie_info"."id" <= 795635; +SELECT "title"."kind_id", COUNT(*) as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1998.2842929306564 AND "movie_keyword"."id" <= 3092948 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 196; +SELECT MAX("cast_info"."note") AS agg_0, MAX("char_name"."name_pcode_nf") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("char_name"."md5sum") AS agg_7, MAX("cast_info"."role_id") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("cast_info"."person_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 4479043 AND "cast_info"."person_id" <= 7633172 AND "char_name"."id" <= 15608688; +SELECT "char_name"."imdb_index", SUM("cast_info"."person_role_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" >= 2053412 AND "char_name"."imdb_index" != '%II%' AND "cast_info"."id" >= 15895403 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT SUM("company_name"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 86808 AND "movie_companies"."id" <= 1663352; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."movie_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 29953 AND "movie_keyword"."id" <= 4202838; +SELECT MAX("company_name"."name") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("movie_companies"."company_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 1166027 AND "movie_companies"."movie_id" <= 12631503 AND "company_type"."id" <= 4; +SELECT MAX("title"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%video movie%' AND "title"."series_years" <> '%1983-1988%' AND "kind_type"."id" <= 1; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1173325 AND "movie_companies"."company_id" <= 1164492; +SELECT COUNT(*) as agg_0, AVG("title"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 4.779274672114153 AND "title"."production_year" <= 2002.4041702465295; +SELECT "info_type"."id", AVG("title"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 789.68715357176 AND "info_type"."id" >= 33 AND "movie_info_idx"."movie_id" <= 1921048 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."episode_nr" <= 15.537269561122208 AND "title"."production_year" <= 2001.941425480401 AND "title"."kind_id" <= 8; +SELECT "name"."imdb_index", AVG("cast_info"."role_id") AS agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."person_id" <= 12202 AND "name"."id" <= 52010 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "link_type"."link", AVG("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" >= 14 AND "title"."id" <= 287263 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT MAX("company_name"."name_pcode_nf") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[ls]%' AND "movie_companies"."company_id" <= 2608; +SELECT MAX("cast_info"."note") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id"; +SELECT MAX("name"."name") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."info") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."gender") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" <> '%J346%' AND "person_info"."info_type_id" <= 15; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("company_name"."name") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."production_year") AS agg_8, MAX("company_name"."id") AS agg_9, MAX("company_name"."name_pcode_nf") AS agg_10, MAX("title"."imdb_index") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT "name"."surname_pcode", AVG("person_info"."id") as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 3566786 AND "name"."imdb_index" != '%CXVI%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "movie_info"."info_type_id", SUM("title"."kind_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_of_id" <= 872668.2210350372 AND "movie_info_idx"."movie_id" <= 2207982 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("name"."name_pcode_cf") AS agg_8, MAX("aka_name"."surname_pcode") AS agg_9, MAX("aka_name"."name") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT MAX("name"."id") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("name"."md5sum") AS agg_4, MAX("name"."name") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("aka_name"."md5sum") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 69031 AND "person_info"."info_type_id" <= 15; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("name"."id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("person_info"."info") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20780329; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("title"."title") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("title"."imdb_index") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 7.663104127345833 AND "company_name"."country_code" <> '%[zw]%' AND "company_name"."id" <= 4015 AND "title"."episode_of_id" <= 7746; +SELECT "company_type"."kind", COUNT(*) as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" >= 455956 AND "company_type"."id" != 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT "name"."surname_pcode", AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 1807414 AND "person_info"."person_id" >= 25589 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "aka_name"."imdb_index", SUM("person_info"."person_id") as agg_0, SUM("aka_name"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" != 24 AND "person_info"."id" >= 935481 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("company_name"."imdb_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4 AND "company_name"."id" <= 1168421; +SELECT "title"."imdb_index", SUM("movie_info_idx"."movie_id") AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("keyword"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."title") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133425 AND "movie_keyword"."keyword_id" <= 133481; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" != 1 AND "kind_type"."kind" != '%tv series%' AND "title"."series_years" != '%1986-1987%' AND "title"."imdb_index" != '%X%'; +SELECT AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 150445 AND "movie_companies"."company_id" >= 237 AND "company_name"."country_code" != '%[bt]%' AND "movie_companies"."company_type_id" >= 2; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 283; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 2488231 AND "movie_keyword"."id" <= 3752158 AND "movie_keyword"."keyword_id" >= 1933; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 2452886 AND "company_type"."kind" != '%production companies%' AND "movie_companies"."company_id" >= 95 AND "company_type"."id" != 2; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."movie_id") as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 817536 AND "movie_companies"."company_id" >= 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_type_id") AS agg_0, AVG("movie_companies"."company_id") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 4596 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 22422697; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 22405098 AND "keyword"."id" <= 133885; +SELECT AVG("cast_info"."nr_order") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XV%' AND "title"."kind_id" != 7 AND "cast_info"."id" <= 412260 AND "cast_info"."movie_id" >= 664714; +SELECT COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 20.328686739798414 AND "title"."production_year" <= 2002.3029731825404 AND "link_type"."id" != 5 AND "movie_link"."linked_movie_id" <= 1652126; +SELECT "title"."series_years", AVG("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 2488456 AND "movie_keyword"."keyword_id" >= 4942 AND "movie_keyword"."movie_id" <= 516739 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("char_name"."id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" >= 699523 AND "cast_info"."movie_id" <= 1207429 AND "cast_info"."nr_order" >= 3.7456949758626816 AND "cast_info"."person_id" <= 1457274; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1991; +SELECT "info_type"."id", SUM("info_type"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1891.8523762688478 AND "movie_info_idx"."info_type_id" != 99 AND "movie_info_idx"."movie_id" <= 282259 AND "movie_info_idx"."id" <= 290902 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 1202821 AND "person_info"."id" <= 1078213 AND "name"."id" IS NOT NULL; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("info_type"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 3.801798861690287 AND "info_type"."info" <> '%LD number of chapter stops%' AND "movie_info_idx"."movie_id" <= 18728 AND "info_type"."id" <= 1; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%opening weekend%' AND "info_type"."id" <= 1; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 1 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("aka_name"."surname_pcode") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("name"."name") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."gender") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 4492085 AND "person_info"."id" <= 14695066; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("company_name"."id") AS agg_9, MAX("title"."id") AS agg_10, MAX("company_name"."imdb_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT "info_type"."id", AVG("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 84.93479450669028 AND "movie_info_idx"."info_type_id" = 100 AND "movie_info_idx"."id" <= 1047160 AND "title"."episode_of_id" >= 786254.2946036357 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" >= 2335006 AND "company_name"."id" <= 69954 AND "movie_companies"."movie_id" >= 999264 AND "company_type"."id" IS NOT NULL; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 306; +SELECT SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" >= 1 AND "movie_companies"."company_id" <= 38674 AND "company_type"."id" IS NOT NULL; +SELECT "movie_companies"."company_type_id", AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "title"."production_year" <= 2006.9416037022065 AND "title"."imdb_index" != '%XX%' AND "movie_companies"."company_type_id" <= 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 820539 AND "movie_keyword"."movie_id" <= 2054091 AND "keyword"."id" <= 117798; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("person_info"."note") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 29887 AND "person_info"."person_id" <= 73177; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "aka_name"."person_id" <= 2195232 AND "cast_info"."role_id" != 2 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("name"."gender") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("aka_name"."surname_pcode") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("name"."name") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("person_info"."id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 10322 AND "name"."id" <= 61861; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 809785 AND "company_type"."kind" != '%special effects companies%' AND "company_type"."id" = 1; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 6093 AND "movie_keyword"."id" <= 43891; +SELECT SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."season_nr" <= 1.0 AND "kind_type"."kind" != '%tv series%'; +SELECT "title"."series_years", COUNT(*) AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%LD video quality%' AND "info_type"."id" <= 1; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 344; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("aka_name"."id") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("char_name"."name") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("char_name"."md5sum") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("cast_info"."id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 20779806; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_keyword"."movie_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 7.308210015835938 AND "movie_keyword"."movie_id" <= 19760 AND "keyword"."id" <= 392; +SELECT "name"."surname_pcode", SUM("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" = 22 AND "name"."surname_pcode" != '%P213%' AND "person_info"."id" >= 2345396 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 143; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 22572793 AND "keyword"."id" <= 134048; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%IV%' AND "char_name"."id" <= 2711526 AND "cast_info"."person_role_id" IS NOT NULL; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."movie_id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 36 AND "movie_info_idx"."info_type_id" = 99 AND "movie_info_idx"."movie_id" >= 1648957 AND "info_type"."info" != '%LD video standard%' GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT AVG("title"."production_year") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" != 2 AND "title"."id" <= 2380632; +SELECT AVG("company_type"."id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 2602400 AND "company_type"."id" <= 2 AND "movie_companies"."movie_id" >= 2298354 AND "company_type"."kind" != '%special effects companies%'; +SELECT "company_type"."kind", SUM("company_type"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%miscellaneous companies%' AND "company_name"."country_code" != '%[sr]%' AND "company_type"."id" <= 3 AND "movie_companies"."movie_id" >= 2359452 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT SUM("person_info"."person_id") as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 3712041 AND "person_info"."info_type_id" <= 17; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("movie_keyword"."id") AS agg_3, MAX("title"."title") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 133767; +SELECT COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."movie_id" >= 2101552 AND "movie_info_idx"."id" <= 1329459 AND "movie_info_idx"."info_type_id" >= 100 AND "info_type"."id" IS NOT NULL; +SELECT AVG("title"."episode_nr") AS agg_0, COUNT(*) AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2003 AND "movie_info"."movie_id" <= 12577216; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."name") AS agg_3, MAX("name"."id") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("person_info"."info") AS agg_7, MAX("aka_name"."person_id") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("aka_name"."id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20774708 AND "person_info"."person_id" <= 20665286; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[ls]%' AND "movie_companies"."id" <= 1287939 AND "company_name"."id" <= 17024; +SELECT "name"."surname_pcode", SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 17 AND "name"."surname_pcode" != '%Z465%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("company_name"."imdb_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[xyu]%' AND "movie_companies"."movie_id" <= 22431; +SELECT "info_type"."id", AVG("movie_info_idx"."info_type_id") AS agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" <> '%budget%' AND "info_type"."id" <= 1 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12593154 AND "title"."kind_id" <= 1996; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 13370 AND "movie_keyword"."movie_id" >= 1999563; +SELECT "company_name"."country_code", AVG("company_type"."id") as agg_0, AVG("company_name"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 171 AND "company_name"."id" <= 223249 AND "company_type"."id" = 1 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113 AND "movie_info_idx"."id" <= 6895416; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%special effects companies%' AND "company_type"."id" <= 1; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("person_info"."person_id") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."name") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" <> '%f%' AND "person_info"."id" <= 29505; +SELECT MAX("title"."title") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."episode_of_id" <= 2527015; +SELECT "title"."series_years", SUM("title"."episode_nr") as agg_0 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."movie_id" >= 1325490 AND "title"."season_nr" <= 1.0 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("movie_companies"."company_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("cast_info"."nr_order") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 22.492095539717738 AND "cast_info"."movie_id" <= 36586; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("company_type"."id") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."country_code" <> '%[mx]%' AND "company_type"."id" <= 1 AND "movie_companies"."company_id" <= 1972; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 114903 AND "movie_keyword"."movie_id" <= 2089600; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("name"."id") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 20761557 AND "aka_name"."id" <= 4474464; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("movie_info"."note") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XI%' AND "title"."id" <= 41521; +SELECT COUNT(*) as agg_0, AVG("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 129979 AND "movie_keyword"."id" <= 326124 AND "movie_keyword"."movie_id" <= 2436898; +SELECT "name"."gender", SUM("name"."id") AS agg_0, SUM("person_info"."info_type_id") AS agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."person_id" <= 66162 AND "name"."id" <= 78526 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 457; +SELECT "title"."series_years", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2007.749061966595 AND "company_name"."id" >= 62692 AND "title"."id" <= 2055034 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("info_type"."id") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%votes distribution%' AND "info_type"."id" <= 1; +SELECT COUNT(*) as agg_0, AVG("cast_info"."movie_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."person_id" <= 3360229 AND "cast_info"."id" <= 15652529 AND "name"."id" >= 735323; +SELECT SUM("movie_keyword"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 54623 AND "movie_keyword"."id" <= 1809111 AND "movie_keyword"."movie_id" <= 2407142; +SELECT "title"."series_years", AVG("movie_companies"."movie_id") AS agg_0, AVG("movie_companies"."company_type_id") AS agg_1 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 311; +SELECT "cast_info"."role_id", SUM("aka_name"."id") as agg_0, AVG("cast_info"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" <= 460208 AND "aka_name"."person_id" >= 1219191 AND "aka_name"."surname_pcode" != '%V45%' GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("movie_info_idx"."id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" = 99 AND "info_type"."id" >= 63; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."season_nr") AS agg_8, MAX("movie_info"."id") AS agg_9, MAX("movie_info_idx"."note") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" <= 1 AND "title"."episode_of_id" <= 9113; +SELECT MAX("title"."title") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_companies"."id") AS agg_7, MAX("company_type"."id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XV%' AND "title"."kind_id" <= 7 AND "movie_companies"."id" <= 50963; +SELECT MAX("title"."id") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113; +SELECT MAX("title"."title") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("movie_companies"."movie_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 2.05191269722958 AND "movie_companies"."id" <= 36863; +SELECT AVG("title"."production_year") as agg_0, SUM("title"."episode_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1964.7650140220157 AND "title"."series_years" != '%1970-1996%' AND "title"."kind_id" = 7; +SELECT COUNT(*) as agg_0, AVG("cast_info"."role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."id" <= 30873988 AND "aka_name"."id" <= 760915 AND "cast_info"."movie_id" <= 1471893 AND "cast_info"."nr_order" <= 5.548807678757166; +SELECT "company_type"."id", COUNT(*) AS agg_0, AVG("movie_companies"."id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%special effects companies%' AND "company_type"."id" <= 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("name"."id") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."imdb_id") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 20783219 AND "aka_name"."id" <= 4489319; +SELECT "info_type"."id", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" = 99 AND "title"."season_nr" <= 3.1920280001778907 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 478; +SELECT "title"."imdb_index", SUM("title"."id") as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" != 13 AND "title"."kind_id" <= 7 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("movie_companies"."id") AS agg_8, MAX("movie_companies"."company_id") AS agg_9, MAX("company_name"."name_pcode_sf") AS agg_10, MAX("title"."series_years") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1168506; +SELECT MAX("title"."id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."production_year") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 1171827; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("char_name"."name") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("char_name"."imdb_index") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."name_pcode_nf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" <= 49459; +SELECT "company_name"."country_code", AVG("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[la]%' AND "movie_companies"."movie_id" >= 123080 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12608358; +SELECT MAX("title"."series_years") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XVII%' AND "movie_keyword"."keyword_id" <= 288 AND "keyword"."id" <= 301; +SELECT MAX("title"."id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22459014; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("info_type"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT "title"."imdb_index", COUNT(*) AS agg_0, AVG("title"."episode_of_id") AS agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 4.8623017220079054 AND "title"."id" <= 34142 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 14809297; +SELECT "company_name"."country_code", SUM("movie_companies"."company_id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 763817 AND "company_name"."country_code" != '%[er]%' AND "movie_companies"."company_type_id" = 2 AND "company_name"."id" >= 170880 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "info_type"."id", COUNT(*) as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 43 AND "info_type"."info" != '%filming dates%' GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "title"."series_years", COUNT(*) as agg_0, SUM("title"."episode_nr") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 11590 AND "movie_keyword"."movie_id" <= 948348 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."series_years", SUM("title"."production_year") AS agg_0 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."movie_id" <= 31385 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "person_info"."info_type_id", SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 3811980 AND "name"."surname_pcode" != '%K212%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."title") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."kind" <> '%video game%' AND "title"."production_year" >= 1997.233162705857 AND "title"."id" <= 21671; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("name"."id") AS agg_3, MAX("name"."name") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("aka_name"."surname_pcode") AS agg_7, MAX("person_info"."person_id") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("aka_name"."id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20696985 AND "name"."id" <= 20660298; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."id") AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 12618547 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT AVG("title"."season_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" != 7 AND "movie_info"."id" >= 7325829; +SELECT SUM("title"."episode_of_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."movie_id" >= 1997355 AND "title"."production_year" >= 1908.9869774616627; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("title"."id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 19535 AND "info_type"."id" <= 1; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("cast_info"."nr_order") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 34528; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("char_name"."surname_pcode") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" = 1 AND "char_name"."id" <= 43172; +SELECT AVG("movie_companies"."movie_id") as agg_0, SUM("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 2 AND "movie_companies"."company_type_id" <= 1; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" <= 1166630; +SELECT "person_info"."info_type_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 2294589 AND "name"."gender" != '%f%' AND "person_info"."info_type_id" = 25 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT AVG("cast_info"."id") AS agg_0, SUM("cast_info"."movie_id") AS agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."person_id" <= 20770510; +SELECT "company_name"."country_code", SUM("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" >= 2107602 AND "company_name"."id" <= 192289 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "company_name"."country_code", COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT SUM("cast_info"."id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."id" <= 6342361 AND "aka_name"."surname_pcode" != '%G431%' AND "cast_info"."person_role_id" <= 54.68195030979881; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("company_name"."imdb_id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."imdb_index") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" <> '%DM%' AND "char_name"."id" <= 48736; +SELECT AVG("title"."kind_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%similar to%' AND "movie_link"."link_type_id" = 5; +SELECT COUNT(*) as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 1528740 AND "movie_link"."id" <= 23418 AND "title"."season_nr" <= 7.610641217918535 AND "link_type"."id" IS NOT NULL; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_name"."id" <= 1164578; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."episode_nr") AS agg_6 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "movie_keyword"."id" <= 22413960 AND "title"."id" <= 12615386; +SELECT AVG("title"."production_year") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" != 7 AND "movie_link"."linked_movie_id" <= 1149408 AND "movie_link"."link_type_id" != 5; +SELECT MAX("keyword"."id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1963.3360732157396 AND "movie_keyword"."id" <= 30400 AND "title"."id" <= 33189; +SELECT SUM("person_info"."person_id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 930052 AND "name"."id" <= 2328320; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 103847 AND "movie_keyword"."movie_id" >= 1426432 AND "movie_keyword"."keyword_id" >= 194; +SELECT SUM("person_info"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 473540 AND "person_info"."person_id" <= 1169596 AND "aka_name"."surname_pcode" != '%E641%' AND "person_info"."info_type_id" != 25; +SELECT AVG("name"."id") as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" >= 2757240 AND "name"."id" >= 1394516; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."episode_nr" >= 2.702031203447789 AND "title"."season_nr" <= 1.0 AND "title"."episode_of_id" <= 4334; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."gender") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "name"."id" <= 64806; +SELECT MAX("char_name"."name") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("char_name"."imdb_index") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("cast_info"."person_role_id") AS agg_7, MAX("char_name"."name_pcode_nf") AS agg_8, MAX("cast_info"."note") AS agg_9, MAX("char_name"."imdb_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" <= 7664771; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2299706 AND "movie_keyword"."keyword_id" <= 417 AND "title"."season_nr" <= 1.0; +SELECT COUNT(*) AS agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" <= 4466639; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("info_type"."info") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113; +SELECT AVG("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 1778000 AND "movie_companies"."company_id" >= 664 AND "company_type"."id" <= 3; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."id") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("aka_name"."id") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <> 2 AND "char_name"."id" <= 51447 AND "aka_name"."person_id" <= 48884; +SELECT AVG("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 28780 AND "movie_keyword"."keyword_id" >= 717 AND "movie_keyword"."id" >= 3228934; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_name"."imdb_id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 1167888; +SELECT AVG("title"."episode_of_id") AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."id" <= 12584400 AND "movie_info_idx"."movie_id" <= 12537358; +SELECT COUNT(*) as agg_0, SUM("person_info"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 20 AND "name"."imdb_index" != '%CXLVIII%' AND "name"."id" <= 347565 AND "name"."gender" != '%m%'; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[ca]%' AND "movie_companies"."id" <= 1009961 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 404; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("kind_type"."id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."imdb_index") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."id" <= 7 AND "title"."kind_id" <= 2009; +SELECT "name"."imdb_index", AVG("cast_info"."movie_id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."imdb_index" != '%LXXV%' AND "cast_info"."role_id" >= 1 AND "cast_info"."id" <= 12895571 AND "aka_name"."id" >= 76264 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT COUNT(*) as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 19 AND "person_info"."id" <= 2572881 AND "person_info"."person_id" >= 1908176; +SELECT "company_name"."country_code", SUM("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 28661 AND "movie_companies"."company_type_id" != 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("char_name"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" >= 1515.3266126715123 AND "cast_info"."role_id" = 1; +SELECT "cast_info"."role_id", SUM("cast_info"."person_role_id") as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_id" <= 1076172 AND "char_name"."imdb_index" != '%D%' AND "cast_info"."role_id" != 2 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT SUM("keyword"."id") as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 115907 AND "movie_keyword"."keyword_id" >= 102 AND "movie_keyword"."id" >= 3667768; +SELECT AVG("movie_keyword"."keyword_id") AS agg_0, COUNT(*) AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."gender") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."name_pcode_cf") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("name"."id") AS agg_7, MAX("cast_info"."person_id") AS agg_8, MAX("cast_info"."movie_id") AS agg_9, MAX("cast_info"."id") AS agg_10, MAX("name"."imdb_id") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT AVG("cast_info"."movie_id") AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15668398 AND "cast_info"."id" <= 180794931; +SELECT SUM("person_info"."person_id") AS agg_0, COUNT(*) AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" <> '%G416%' AND "aka_name"."person_id" <= 75626 AND "person_info"."info_type_id" <= 15; +SELECT "char_name"."imdb_index", SUM("cast_info"."person_role_id") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."imdb_index" != '%D%' AND "cast_info"."role_id" != 3 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113; +SELECT "title"."kind_id", COUNT(*) as agg_0, SUM("company_name"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 8176 AND "movie_companies"."company_type_id" <= 2 AND "company_name"."id" <= 173864 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."kind" != '%special effects companies%' AND "movie_companies"."movie_id" <= 2447295 AND "movie_companies"."company_id" <= 4523 AND "title"."episode_of_id" >= 77216.5354599615; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."id") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("char_name"."imdb_index") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("char_name"."surname_pcode") AS agg_9, MAX("char_name"."name") AS agg_10, MAX("cast_info"."note") AS agg_11, MAX("title"."kind_id") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 61613 AND "cast_info"."movie_id" <= 24709; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."title") AS agg_2, MAX("keyword"."id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("keyword"."phonetic_code") AS agg_5, MAX("movie_keyword"."keyword_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1979.6957860506234 AND "movie_keyword"."id" <= 70692 AND "title"."episode_of_id" <= 5323; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 384; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 2730 AND "keyword"."id" >= 77339; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 508838 AND "cast_info"."nr_order" >= 9.991634876761008 AND "cast_info"."person_role_id" <= 670976.1296674947 AND "char_name"."id" >= 53371; +SELECT "char_name"."imdb_index", SUM("aka_name"."person_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" >= 286806 AND "cast_info"."person_role_id" >= 2443235.555244008 AND "aka_name"."id" >= 86091 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" >= 67343 AND "movie_keyword"."movie_id" >= 2356420; +SELECT AVG("company_type"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" != 2 AND "movie_companies"."id" <= 1210476 AND "company_type"."kind" != '%special effects companies%' AND "company_type"."id" = 1 AND "company_name"."id" IS NOT NULL; +SELECT "link_type"."link", AVG("title"."episode_of_id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "link_type"."link" != '%edited into%' AND "title"."kind_id" = 7 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT "movie_info"."info_type_id", AVG("title"."episode_nr") as agg_0, SUM("title"."kind_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 993755 AND "movie_info"."info_type_id" = 5 AND "title"."episode_nr" <= 1.1882839102849638 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%votes%' AND "title"."season_nr" >= 7.28604574485671 AND "info_type"."id" <= 1 AND "title"."id" <= 29448; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."kind_id" <= 1997; +SELECT MAX("name"."md5sum") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("aka_name"."surname_pcode") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("person_info"."info") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("aka_name"."name_pcode_cf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%G254%' AND "name"."id" <= 82205 AND "aka_name"."person_id" <= 41070; +SELECT AVG("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 2 AND "movie_companies"."company_type_id" != 1 AND "company_name"."country_code" != '%[no]%'; +SELECT SUM("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" = 2 AND "company_type"."kind" != '%miscellaneous companies%' AND "movie_companies"."company_type_id" = 2; +SELECT MAX("title"."season_nr") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_keyword"."keyword_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 348 AND "title"."kind_id" <= 7; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 34660 AND "movie_keyword"."keyword_id" <= 5177 AND "movie_keyword"."movie_id" <= 2246569; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."md5sum") AS agg_8, MAX("movie_info"."note") AS agg_9, MAX("title"."season_nr") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."production_year" <= 2016.4249550463444 AND "movie_info_idx"."movie_id" <= 28937 AND "movie_info"."id" <= 123234; +SELECT SUM("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%production companies%' AND "movie_companies"."company_type_id" <= 2 AND "movie_companies"."id" <= 1383898 AND "movie_companies"."company_id" >= 1108; +SELECT SUM("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" <= 669476 AND "person_info"."info_type_id" <= 17 AND "name"."gender" != '%m%' AND "name"."surname_pcode" != '%A352%'; +SELECT SUM("cast_info"."role_id") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4469345; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("movie_info"."movie_id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "movie_info"."info_type_id" <= 1; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2006; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <= 8 AND "aka_name"."surname_pcode" <> '%D65%' AND "cast_info"."movie_id" <= 46298; +SELECT AVG("person_info"."person_id") AS agg_0, AVG("person_info"."info_type_id") AS agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20816212; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("name"."gender") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."id") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 20762844; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1165793 AND "movie_companies"."company_type_id" <= 2; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" <> '%[ae]%' AND "movie_companies"."id" <= 37505; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("company_name"."name_pcode_nf") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."phonetic_code") AS agg_8, MAX("title"."md5sum") AS agg_9, MAX("title"."series_years") AS agg_10, MAX("movie_companies"."movie_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1998 AND "company_name"."id" <= 1174697 AND "movie_companies"."id" <= 13023356; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_id" >= 52 AND "company_name"."country_code" != '%[im]%' AND "movie_companies"."company_type_id" = 1 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT COUNT(*) AS agg_0, SUM("movie_companies"."company_type_id") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 12956802; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6, MAX("cast_info"."id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2005.4751809351997 AND "cast_info"."role_id" >= 2 AND "cast_info"."movie_id" <= 26657; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."id" <= 3123089 AND "name"."surname_pcode" != '%N236%' GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 36746 AND "keyword"."id" <= 23990 AND "movie_keyword"."movie_id" >= 1807102; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 3; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("movie_info_idx"."movie_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id"; +SELECT SUM("movie_info"."id") as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 6 AND "movie_info"."id" >= 5932563; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("name"."name") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("name"."name_pcode_nf") AS agg_8, MAX("name"."name_pcode_cf") AS agg_9, MAX("aka_name"."md5sum") AS agg_10, MAX("name"."imdb_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20654664; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."id" >= 14025577 AND "title"."production_year" >= 2010.9535377097602 AND "movie_info_idx"."id" >= 624 AND "movie_info_idx"."movie_id" <= 2447746; +SELECT "movie_info"."info_type_id", COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" >= 1 AND "movie_info"."id" <= 12812556 AND "title"."kind_id" >= 2 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT "person_info"."info_type_id", SUM("person_info"."id") as agg_0, AVG("person_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 90616 AND "name"."imdb_index" != '%XVI%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."md5sum") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_type"."kind") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 12514234 AND "company_type"."id" <= 4; +SELECT AVG("title"."production_year") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%remade as%' AND "movie_link"."linked_movie_id" <= 915943 AND "title"."season_nr" <= 1.187555215085254; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 43986 AND "keyword"."id" <= 483; +SELECT "title"."kind_id", SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7 AND "keyword"."id" <= 56036 AND "movie_keyword"."movie_id" <= 1717457 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("info_type"."info") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" <= 113; +SELECT SUM("movie_info_idx"."info_type_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "title"."season_nr" >= 1.0 AND "movie_info"."movie_id" IS NOT NULL; +SELECT "movie_companies"."company_type_id", SUM("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 310 AND "movie_companies"."movie_id" <= 1906601 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("cast_info"."id") AS agg_4, MAX("aka_name"."name") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("char_name"."name") AS agg_7, MAX("cast_info"."nr_order") AS agg_8, MAX("char_name"."imdb_index") AS agg_9, MAX("cast_info"."person_role_id") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" <= 7607797 AND "aka_name"."person_id" <= 20766892 AND "char_name"."id" <= 15689345; +SELECT AVG("movie_keyword"."movie_id") AS agg_0, SUM("movie_keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 418; +SELECT AVG("person_info"."id") AS agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20739485 AND "person_info"."info_type_id" <= 39 AND "name"."id" <= 20640661; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("aka_name"."imdb_index") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("name"."gender") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."info_type_id" <= 15 AND "aka_name"."person_id" <= 23484; +SELECT "company_name"."country_code", SUM("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 580497 AND "company_type"."kind" != '%miscellaneous companies%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."series_years", SUM("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 1840847 AND "title"."id" >= 1453406 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 1068954 AND "movie_companies"."movie_id" <= 1744743 AND "company_name"."id" IS NOT NULL; +SELECT "aka_name"."surname_pcode", AVG("cast_info"."role_id") as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "aka_name"."id" >= 398602 AND "cast_info"."id" <= 35537143 AND "char_name"."id" <= 1254263 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1953-1962%' AND "title"."episode_of_id" >= 388844.70314026804; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("cast_info"."id") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("char_name"."name") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" <= 15565183; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("info_type"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 1 AND "title"."episode_of_id" <= 9217; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 22459157; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" <= 6865037 AND "title"."episode_of_id" <= 2524302; +SELECT AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 1204252.3643529124 AND "movie_info"."info_type_id" != 1 AND "movie_info"."movie_id" >= 1778042; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."title") AS agg_7, MAX("company_name"."imdb_id") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("title"."kind_id") AS agg_10, MAX("title"."md5sum") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2003.698532253443 AND "company_name"."id" <= 2121 AND "movie_companies"."movie_id" <= 48064; +SELECT "movie_info"."info_type_id", COUNT(*) as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" <= 2481326 AND "title"."series_years" != '%1951-1955%' AND "movie_info_idx"."info_type_id" <= 99 GROUP BY "movie_info"."info_type_id" ORDER BY "movie_info"."info_type_id"; +SELECT "info_type"."id", COUNT(*) as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 1376017 AND "movie_info_idx"."movie_id" >= 273969 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("cast_info"."id") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("cast_info"."note") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("person_info"."id") AS agg_0, MAX("name"."name") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("name"."id") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20758209; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1639221 AND "movie_keyword"."id" >= 3000732 AND "movie_keyword"."keyword_id" <= 4102; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" >= 2 AND "movie_companies"."movie_id" >= 2273783 AND "company_type"."kind" != '%miscellaneous companies%' GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "company_type"."kind", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 1962989 AND "company_type"."kind" != '%production companies%' AND "movie_companies"."company_id" <= 331 AND "movie_companies"."id" <= 2130919 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT "info_type"."info", COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT MAX("char_name"."id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("cast_info"."role_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("char_name"."name") AS agg_7, MAX("cast_info"."nr_order") AS agg_8, MAX("title"."kind_id") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("title"."production_year") AS agg_11, MAX("cast_info"."person_id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2007 AND "cast_info"."id" <= 180174812; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("aka_name"."person_id") AS agg_6, MAX("name"."name") AS agg_7, MAX("name"."imdb_index") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("person_info"."person_id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 43675 AND "person_info"."id" <= 29077; +SELECT SUM("cast_info"."role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" >= 1440684 AND "cast_info"."role_id" <= 8 AND "aka_name"."surname_pcode" != '%G654%'; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 31437; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 703412 AND "movie_keyword"."keyword_id" <= 33812 AND "movie_keyword"."movie_id" <= 1692898 AND "keyword"."id" <= 13192; +SELECT COUNT(*) as agg_0, SUM("cast_info"."person_role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" <= 3 AND "cast_info"."nr_order" <= 8.671991717914185 AND "name"."id" IS NOT NULL; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 249; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 3 AND "movie_companies"."id" >= 1918526 AND "movie_companies"."movie_id" >= 2383197; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 105850 AND "movie_keyword"."movie_id" >= 1999388; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("aka_name"."name_pcode_nf") AS agg_7, MAX("aka_name"."name_pcode_cf") AS agg_8, MAX("name"."name_pcode_nf") AS agg_9, MAX("name"."id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20722942 AND "person_info"."info_type_id" <= 39; +SELECT "info_type"."id", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 2012700 AND "info_type"."id" >= 15 AND "movie_info_idx"."info_type_id" != 99 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "movie_companies"."company_type_id", SUM("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[gd]%' AND "company_name"."id" <= 194474 AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."movie_id" <= 2088391 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."name") AS agg_5, MAX("name"."surname_pcode") AS agg_6, MAX("aka_name"."md5sum") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" <> '%H645%' AND "name"."imdb_index" <> '%LXVII%' AND "aka_name"."id" <= 12642; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."role_id" != 10 AND "cast_info"."person_id" >= 1325806 AND "char_name"."id" IS NOT NULL; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2507399; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 266987 AND "company_name"."id" <= 117621; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("aka_name"."name") AS agg_3, MAX("name"."id") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%T461%' AND "name"."id" <= 46634; +SELECT AVG("title"."season_nr") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 813620 AND "movie_info_idx"."info_type_id" >= 100; +SELECT "movie_info_idx"."info_type_id", SUM("movie_info_idx"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 41 AND "info_type"."info" != '%books%' AND "movie_info_idx"."movie_id" >= 2083933 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 37701; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 12613448; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("person_info"."person_id") AS agg_1, MAX("name"."md5sum") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("aka_name"."imdb_index") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("name"."gender") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT AVG("movie_companies"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[sd]%' AND "movie_companies"."id" <= 214168; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."name_pcode_sf") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."name") AS agg_5, MAX("company_name"."imdb_id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 59827 AND "movie_keyword"."movie_id" <= 2022922 AND "movie_keyword"."keyword_id" >= 21710 AND "movie_keyword"."id" <= 685099; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("info_type"."id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6835269; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 6923; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20691741 AND "person_info"."id" <= 14811908; +SELECT MAX("name"."surname_pcode") AS agg_0, MAX("name"."gender") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("name"."name_pcode_nf") AS agg_4, MAX("name"."id") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 39602; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 3.73817142412659 AND "title"."id" >= 959740 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 22.87195354016298 AND "title"."episode_of_id" <= 5787; +SELECT "title"."series_years", SUM("cast_info"."id") AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 45186 AND "title"."id" <= 49703 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."id" >= 4041 AND "movie_link"."link_type_id" >= 9 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 5065 AND "keyword"."id" <= 2473 AND "movie_keyword"."id" <= 1126451 AND "movie_keyword"."movie_id" <= 1567395; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."id") AS agg_7, MAX("info_type"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2010 AND "movie_info_idx"."movie_id" <= 12608029 AND "info_type"."id" <= 113; +SELECT AVG("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2010.3945515961825 AND "title"."season_nr" >= 1.0; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("aka_name"."imdb_index") AS agg_10, MAX("cast_info"."id") AS agg_11 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id"; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12533054 AND "movie_info"."id" <= 74118997; +SELECT "movie_info_idx"."info_type_id", AVG("title"."kind_id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" >= 101 AND "movie_info_idx"."movie_id" >= 2303040 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT SUM("cast_info"."person_role_id") as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" >= 346784 AND "char_name"."imdb_index" != '%M%'; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("info_type"."info") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "title"."episode_of_id" <= 2523772 AND "movie_info_idx"."movie_id" <= 12611605; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2511451; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info"."info") AS agg_1, MAX("movie_info_idx"."note") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info_idx"."movie_id") AS agg_7, MAX("title"."md5sum") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("title"."season_nr") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."movie_id" <= 25555 AND "movie_info"."movie_id" <= 43833; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("movie_keyword"."movie_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "title"."episode_of_id" <= 2503344 AND "movie_keyword"."keyword_id" <= 133075 AND "keyword"."id" <= 133586; +SELECT "name"."surname_pcode", SUM("cast_info"."person_role_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."gender" != '%f%' AND "cast_info"."movie_id" <= 2399516 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id"; +SELECT MAX("name"."id") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("aka_name"."name_pcode_nf") AS agg_6, MAX("person_info"."note") AS agg_7, MAX("aka_name"."person_id") AS agg_8, MAX("name"."name_pcode_nf") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" <> '%f%' AND "name"."id" <= 65244 AND "person_info"."person_id" <= 55990; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" <> '%[vn]%' AND "company_name"."id" <= 2747; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 9113 AND "movie_keyword"."movie_id" >= 2156705; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" >= 7 AND "kind_type"."kind" != '%movie%' AND "title"."season_nr" <= 1.0; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("cast_info"."nr_order") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id"; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("name"."gender") AS agg_5, MAX("person_info"."id") AS agg_6, MAX("person_info"."person_id") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("name"."surname_pcode") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 42859 AND "aka_name"."person_id" <= 53546; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0, SUM("person_info"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" >= 3837191 AND "name"."imdb_index" != '%CLXXXIV%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 128.97084509605827 AND "title"."kind_id" <= 4; +SELECT MAX("company_type"."kind") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("movie_companies"."note") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2515468; +SELECT AVG("title"."episode_of_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 1324078.9783696278 AND "movie_info_idx"."movie_id" <= 2377984 AND "movie_info_idx"."info_type_id" = 100; +SELECT "company_type"."id", SUM("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 230528 AND "movie_companies"."company_type_id" = 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) AS agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113 AND "title"."kind_id" <= 1996 AND "info_type"."id" <= 113; +SELECT SUM("title"."id") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" != 7 AND "movie_info"."id" <= 12146503 AND "title"."imdb_index" != '%XVII%'; +SELECT MAX("company_name"."name") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."imdb_index") AS agg_8, MAX("title"."series_years") AS agg_9, MAX("movie_companies"."movie_id") AS agg_10, MAX("title"."season_nr") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2512348; +SELECT COUNT(*) as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" <= 593180 AND "title"."production_year" <= 2005.887543687872 AND "movie_link"."movie_id" >= 87509 AND "link_type"."id" <= 16; +SELECT AVG("kind_type"."id") AS agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%video movie%' AND "title"."id" <= 45274; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("movie_info_idx"."id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 7; +SELECT SUM("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%III%' AND "title"."id" <= 545185 AND "movie_info"."id" >= 710370 AND "title"."production_year" >= 2010.8074345545776; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."name") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info"."info") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."id" <= 12552805; +SELECT "movie_companies"."company_type_id", AVG("title"."episode_nr") as agg_0, SUM("title"."production_year") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 2322229 AND "company_name"."id" >= 39111 AND "title"."kind_id" != 1 AND "movie_companies"."company_type_id" <= 2 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("title"."episode_of_id") as agg_0, SUM("link_type"."id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XV%' AND "movie_link"."id" >= 15538; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("info_type"."id") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info_idx"."note") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" <= 12538003; +SELECT MAX("title"."md5sum") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_info"."info") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12591009; +SELECT AVG("movie_link"."linked_movie_id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" != 13 AND "title"."imdb_index" != '%1%' AND "movie_link"."link_type_id" <= 11; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 12551504 AND "info_type"."id" <= 113; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."gender") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6, MAX("aka_name"."person_id") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" <> '%f%' AND "aka_name"."person_id" <= 31371; +SELECT COUNT(*) as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2007.2040483273654 AND "movie_keyword"."keyword_id" >= 21722 AND "movie_keyword"."movie_id" <= 2467513; +SELECT AVG("title"."kind_id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.9745165612611246 AND "keyword"."id" >= 68490; +SELECT "title"."imdb_index", AVG("title"."episode_nr") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 126498 AND "movie_keyword"."keyword_id" >= 38969 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("char_name"."imdb_id") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("char_name"."id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("company_type"."kind") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("company_type"."id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 3 AND "company_type"."id" <= 1; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_companies"."note") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 25.35463455142344 AND "title"."season_nr" <= 1.6543501219130285 AND "title"."kind_id" <= 8; +SELECT "title"."imdb_index", AVG("title"."season_nr") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."imdb_index" != '%I%' AND "cast_info"."movie_id" >= 1437896 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("info_type"."id") AS agg_3, MAX("info_type"."info") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("movie_info_idx"."id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "title"."id" <= 39141 AND "movie_info_idx"."movie_id" <= 17692; +SELECT "company_type"."id", SUM("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" != '%distributors%' AND "movie_companies"."movie_id" <= 1822043 AND "movie_companies"."company_type_id" != 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" != 3 AND "company_name"."id" >= 45074 AND "movie_companies"."id" <= 1387062; +SELECT COUNT(*) as agg_0, AVG("title"."production_year") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."info_type_id" != 3 AND "movie_info"."id" <= 1523158 AND "movie_info"."movie_id" <= 2325979; +SELECT SUM("name"."id") AS agg_0, AVG("name"."id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."imdb_index" <> '%XXVII%' AND "name"."id" <= 47304; +SELECT "company_type"."kind", AVG("movie_companies"."movie_id") AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4 AND "movie_companies"."id" <= 12985256 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."id" <= 181043288 AND "aka_name"."person_id" <= 20715758; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."surname_pcode") AS agg_1, MAX("name"."id") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("aka_name"."name_pcode_cf") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id"; +SELECT COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_id" <= 3067718 AND "aka_name"."surname_pcode" != '%I54%' AND "cast_info"."id" <= 9730341; +SELECT "title"."kind_id", COUNT(*) AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133941 AND "movie_keyword"."keyword_id" <= 134058 AND "title"."kind_id" <= 1996 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."id" <= 87536 AND "movie_keyword"."movie_id" <= 825940 AND "keyword"."id" IS NOT NULL; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("keyword"."phonetic_code") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12540722 AND "title"."kind_id" <= 1992; +SELECT COUNT(*) AS agg_0, SUM("movie_companies"."id") AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "title"."kind_id" <= 2004; +SELECT SUM("movie_companies"."company_id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."id" <= 170175 AND "movie_companies"."id" >= 321648 AND "company_type"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" = 1 AND "movie_companies"."movie_id" >= 1131344 AND "company_name"."country_code" != '%[is]%' AND "company_name"."id" <= 102562; +SELECT MAX("title"."id") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("movie_info_idx"."id") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("company_name"."name") AS agg_6, MAX("title"."id") AS agg_7, MAX("movie_companies"."id") AS agg_8, MAX("movie_companies"."company_id") AS agg_9, MAX("title"."md5sum") AS agg_10, MAX("company_name"."md5sum") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2; +SELECT COUNT(*) as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."role_id" != 1 AND "cast_info"."nr_order" <= 4.04721270141282; +SELECT SUM("title"."season_nr") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2005.8720614692515 AND "title"."id" <= 1259996; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."note") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 1; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_companies"."movie_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1999.6736368436611 AND "title"."episode_nr" <= 2.3219318155521704 AND "movie_companies"."movie_id" <= 29716; +SELECT "name"."imdb_index", SUM("aka_name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" >= 2169187 AND "person_info"."info_type_id" >= 17 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT AVG("keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 125496 AND "movie_keyword"."keyword_id" >= 11132 AND "title"."id" IS NOT NULL; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 102662 AND "movie_keyword"."movie_id" <= 2262603 AND "movie_keyword"."id" >= 3264619; +SELECT COUNT(*) as agg_0, AVG("char_name"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 1598253 AND "cast_info"."nr_order" <= 4.240994151331081 AND "cast_info"."person_role_id" <= 14847.324109849404 AND "cast_info"."person_id" <= 1407081; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%birth date%' AND "title"."imdb_index" != '%XIX%'; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("cast_info"."person_id") AS agg_5, MAX("name"."id") AS agg_6, MAX("cast_info"."movie_id") AS agg_7, MAX("name"."name_pcode_nf") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10, MAX("name"."imdb_id") AS agg_11 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" <> '%f%' AND "aka_name"."id" <= 12232 AND "cast_info"."id" <= 444173; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" >= 517413 AND "movie_info_idx"."id" <= 1033150 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" <= 1373658 AND "info_type"."id" >= 50 AND "info_type"."info" != '%LD release country%' GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT SUM("title"."id") as agg_0, AVG("title"."season_nr") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 3333061 AND "cast_info"."role_id" != 1; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 40362; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."id" >= 5210361 AND "cast_info"."person_role_id" >= 7121.902691130264 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 522; +SELECT SUM("title"."season_nr") as agg_0, AVG("movie_link"."linked_movie_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "link_type"."id" <= 11 AND "title"."production_year" >= 2006.4585975953294; +SELECT "title"."series_years", SUM("title"."season_nr") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[pf]%' AND "title"."episode_of_id" <= 908708.7660920497 AND "movie_companies"."company_type_id" <= 1 AND "title"."production_year" >= 1994.86366766302 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_type"."id" <= 4; +SELECT "info_type"."info", AVG("info_type"."id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 2253848 AND "movie_info_idx"."id" >= 799045 AND "movie_info_idx"."info_type_id" >= 100 GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" >= 1040428 AND "title"."season_nr" <= 1.1316666794401147 AND "movie_info"."id" <= 13962479 AND "title"."production_year" <= 2009.4414874391996 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("cast_info"."person_id") AS agg_7, MAX("cast_info"."movie_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 6875; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 271323 AND "cast_info"."nr_order" >= 440947739.4026428 AND "cast_info"."role_id" != 2 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."movie_id") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("movie_info"."info_type_id") AS agg_8, MAX("title"."kind_id") AS agg_9, MAX("title"."episode_nr") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."episode_nr" <= 65145.28952183986 AND "title"."id" <= 40122 AND "movie_info_idx"."movie_id" <= 36854; +SELECT "name"."gender", SUM("person_info"."info_type_id") as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 20 AND "aka_name"."person_id" >= 333712 AND "aka_name"."id" <= 624213 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 141323 AND "movie_companies"."id" <= 1994388 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "info_type"."info", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 141.40579050797066 AND "info_type"."info" != '%screenplay-teleplay%' GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT "cast_info"."role_id", SUM("cast_info"."person_id") AS agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."id" <= 180602280 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_info"."info") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 96.95626155970757 AND "title"."kind_id" <= 6; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2009.1683931101913 AND "movie_info"."id" <= 141597; +SELECT "title"."kind_id", AVG("title"."episode_of_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" <= 3642962 AND "cast_info"."person_role_id" >= 2652408.4032476614 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("movie_companies"."movie_id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" != 2 AND "company_name"."country_code" != '%[kr]%' AND "movie_companies"."company_id" <= 19821 AND "company_type"."id" <= 1; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."title") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 37128; +SELECT MAX("title"."id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_info"."id") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info"."info") AS agg_6, MAX("movie_info"."note") AS agg_7, MAX("title"."series_years") AS agg_8, MAX("movie_info_idx"."info") AS agg_9, MAX("movie_info_idx"."movie_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_nr" <= 1.3140381033689705 AND "title"."episode_of_id" <= 8301 AND "movie_info"."movie_id" <= 26015; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."id") AS agg_8, MAX("movie_companies"."movie_id") AS agg_9, MAX("company_name"."id") AS agg_10, MAX("company_name"."name_pcode_sf") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 10.014393745254935 AND "company_name"."id" <= 3168 AND "movie_companies"."id" <= 33858; +SELECT MAX("title"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_info"."info") AS agg_6, MAX("movie_info"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2010; +SELECT AVG("movie_link"."link_type_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" >= 1800000 AND "title"."production_year" >= 1992.6796228063713; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 461; +SELECT SUM("cast_info"."person_id") AS agg_0, AVG("cast_info"."movie_id") AS agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."person_role_id" <= 22489; +SELECT COUNT(*) as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" >= 9909 AND "title"."id" <= 344038 AND "title"."season_nr" >= 3.1205367322570496 AND "title"."episode_of_id" <= 140271.44316402148; +SELECT "company_type"."id", COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 3 AND "movie_companies"."movie_id" >= 2223405 AND "movie_companies"."company_type_id" != 1 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT COUNT(*) as agg_0, SUM("movie_link"."movie_id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%remade as%' AND "title"."season_nr" >= 1.0 AND "link_type"."id" >= 14 AND "title"."id" <= 1616819; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."kind" != '%episode%' AND "title"."id" <= 301011 AND "title"."season_nr" >= 1.0 AND "kind_type"."id" != 3; +SELECT MAX("aka_name"."person_id") AS agg_0, MAX("name"."id") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."surname_pcode") AS agg_6, MAX("name"."name") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%CL%' AND "aka_name"."surname_pcode" <> '%A2%' AND "aka_name"."id" <= 8773; +SELECT "title"."kind_id", AVG("keyword"."id") AS agg_0, COUNT(*) AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("movie_companies"."movie_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 1492821 AND "movie_companies"."movie_id" <= 1154714 AND "movie_companies"."company_type_id" >= 2 AND "company_name"."id" <= 87314; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."title") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("company_type"."id") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 7.983827629154233 AND "company_type"."id" <= 1 AND "title"."id" <= 37685; +SELECT MAX("cast_info"."id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("cast_info"."person_role_id") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2003; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 45637 AND "movie_keyword"."movie_id" <= 2202965 AND "movie_keyword"."keyword_id" >= 28913; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("movie_info"."note") AS agg_1, MAX("movie_info"."info_type_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2723; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 552847 AND "keyword"."id" <= 101572 AND "movie_keyword"."id" >= 643251 AND "movie_keyword"."keyword_id" <= 1760; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT COUNT(*) as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 95459 AND "movie_companies"."company_type_id" <= 1 AND "movie_companies"."company_id" <= 13938; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("movie_companies"."company_type_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2509447 AND "company_type"."id" <= 4; +SELECT AVG("title"."production_year") as agg_0, SUM("title"."episode_of_id") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1996.5121443166915 AND "link_type"."id" <= 14; +SELECT AVG("movie_companies"."company_id") as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 3 AND "movie_companies"."company_type_id" >= 2 AND "movie_companies"."id" <= 1865014 AND "company_type"."kind" != '%distributors%'; +SELECT "aka_name"."surname_pcode", AVG("cast_info"."person_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" >= 112862 AND "cast_info"."id" >= 13085209 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT SUM("title"."kind_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XXIV%' AND "title"."production_year" <= 1995.0896515485076; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" != 3 AND "movie_companies"."company_type_id" = 2 AND "company_type"."kind" != '%production companies%' AND "movie_companies"."company_id" >= 302; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_keyword"."id") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("keyword"."keyword") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 7272 AND "keyword"."id" <= 283; +SELECT SUM("keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 54225 AND "movie_keyword"."id" <= 1313562 AND "movie_keyword"."keyword_id" >= 15263; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("company_name"."md5sum") AS agg_6, MAX("company_name"."id") AS agg_7, MAX("title"."id") AS agg_8, MAX("title"."imdb_id") AS agg_9, MAX("title"."kind_id") AS agg_10, MAX("movie_companies"."company_id") AS agg_11 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 6 AND "movie_companies"."id" <= 48842; +SELECT SUM("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" >= 1 AND "company_name"."country_code" != '%[sn]%' AND "movie_companies"."company_id" >= 20799; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 307560 AND "aka_name"."surname_pcode" != '%F321%' AND "aka_name"."person_id" <= 597464; +SELECT SUM("movie_keyword"."movie_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" >= 10479 AND "movie_keyword"."movie_id" <= 1125630 AND "keyword"."id" <= 102541; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."season_nr") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id"; +SELECT SUM("aka_name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%V46%' AND "aka_name"."id" >= 48286; +SELECT MAX("name"."id") AS agg_0, MAX("name"."name") AS agg_1, MAX("name"."gender") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 39 AND "name"."id" <= 20796053; +SELECT SUM("movie_info"."info_type_id") as agg_0, AVG("title"."id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" >= 16 AND "title"."imdb_index" != '%VI%'; +SELECT SUM("title"."kind_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 508233.54152797366 AND "movie_link"."movie_id" >= 15925; +SELECT AVG("title"."episode_of_id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" >= 34421 AND "company_name"."id" <= 101225; +SELECT AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 2133652 AND "name"."surname_pcode" != '%T631%'; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("company_name"."id") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."name") AS agg_5, MAX("company_name"."imdb_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."id" <= 4; +SELECT MAX("name"."md5sum") AS agg_0, MAX("name"."name") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."gender") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT SUM("title"."episode_of_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 12938346 AND "title"."kind_id" <= 1997; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id"; +SELECT "title"."kind_id", AVG("movie_info_idx"."movie_id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 100 AND "movie_info_idx"."id" <= 183322 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2010 AND "movie_info"."id" <= 73498387; +SELECT "movie_companies"."company_type_id", SUM("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 85239 AND "movie_companies"."company_type_id" != 2 AND "movie_companies"."movie_id" <= 672667 AND "company_name"."country_code" != '%[gr]%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT AVG("cast_info"."role_id") AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" = 1 AND "cast_info"."person_role_id" <= 45790; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 12532566; +SELECT "name"."surname_pcode", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."info_type_id" <= 17 AND "name"."gender" != '%m%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0, AVG("cast_info"."nr_order") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%H64%' AND "aka_name"."surname_pcode" != '%G645%' GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 133375; +SELECT COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" <= 129479 AND "link_type"."id" >= 14 AND "movie_link"."id" >= 10456; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "title"."episode_nr" >= 33.33605828888077 AND "keyword"."id" <= 13810 AND "movie_keyword"."movie_id" <= 2453074; +SELECT MAX("movie_info"."movie_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1984.0970793077227 AND "title"."kind_id" <= 7; +SELECT SUM("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" <= 15342 AND "company_name"."country_code" != '%[jp]%'; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("movie_companies"."note") AS agg_6 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 13044501 AND "company_name"."id" <= 1166233; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("person_info"."info") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("name"."id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" <> '%m%' AND "aka_name"."surname_pcode" <> '%C253%' AND "person_info"."info_type_id" <= 15 AND "name"."id" <= 78496; +SELECT "title"."imdb_index", SUM("title"."production_year") AS agg_0, AVG("movie_info"."id") AS agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("name"."name") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("aka_name"."name_pcode_cf") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("person_info"."note") AS agg_6, MAX("aka_name"."id") AS agg_7, MAX("person_info"."person_id") AS agg_8, MAX("person_info"."info") AS agg_9, MAX("aka_name"."surname_pcode") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT "movie_companies"."company_type_id", AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" <= 2150988 AND "movie_companies"."company_type_id" >= 1 AND "company_name"."id" <= 84906 AND "movie_companies"."company_id" >= 44539 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("char_name"."surname_pcode") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("char_name"."imdb_index") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("title"."kind_id") AS agg_8, MAX("title"."production_year") AS agg_9, MAX("char_name"."name_pcode_nf") AS agg_10, MAX("title"."imdb_index") AS agg_11, MAX("cast_info"."person_id") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 15683252 AND "title"."id" <= 12580046 AND "cast_info"."person_role_id" <= 15625158; +SELECT "aka_name"."imdb_index", AVG("aka_name"."person_id") as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."movie_id" <= 1171159 AND "cast_info"."id" <= 27048896 AND "name"."gender" != '%m%' GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 31932; +SELECT AVG("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" != 1 AND "company_type"."id" >= 2 AND "movie_companies"."id" <= 1352843 AND "company_name"."id" IS NOT NULL; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."id") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("movie_keyword"."id") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2524835 AND "keyword"."id" <= 134131 AND "movie_keyword"."keyword_id" <= 133574; +SELECT AVG("aka_name"."person_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."surname_pcode" != '%C652%' AND "cast_info"."person_role_id" >= 142272.6025662094 AND "cast_info"."id" <= 35116542; +SELECT "aka_name"."surname_pcode", AVG("aka_name"."person_id") as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" <= 1640607 AND "aka_name"."surname_pcode" != '%J626%' AND "cast_info"."nr_order" >= 1.6642424736537285 AND "aka_name"."id" <= 744647 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "title"."kind_id", SUM("title"."episode_nr") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" >= 99 AND "title"."episode_nr" <= 10.992166790589568 AND "title"."season_nr" <= 1.0 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("title"."id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2007.6454780728288 AND "title"."episode_nr" >= 7.119202141112956 AND "title"."kind_id" >= 7 AND "title"."id" <= 1039259; +SELECT AVG("movie_keyword"."id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 10964 AND "movie_keyword"."id" <= 1060300 AND "movie_keyword"."movie_id" <= 1979259; +SELECT SUM("title"."episode_nr") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%references%' AND "movie_link"."movie_id" >= 131246; +SELECT "name"."imdb_index", AVG("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 144721 AND "person_info"."person_id" <= 996042 AND "name"."id" >= 203607 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT AVG("company_name"."id") as agg_0, AVG("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 2027828 AND "company_type"."id" != 1 AND "movie_companies"."company_id" <= 117338 AND "company_name"."country_code" != '%[me]%'; +SELECT "name"."imdb_index", SUM("person_info"."id") as agg_0, AVG("person_info"."id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."gender" != '%m%' AND "name"."id" >= 2620987 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "company_name"."country_code", AVG("company_name"."id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 1169384 AND "movie_companies"."company_type_id" <= 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 1956537 AND "company_name"."country_code" != '%[md]%' AND "movie_companies"."company_type_id" != 2 AND "movie_companies"."company_id" <= 98673; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 113; +SELECT "title"."imdb_index", AVG("title"."production_year") as agg_0, SUM("title"."production_year") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."episode_of_id" <= 644492.1423447509 AND "movie_link"."id" >= 14090 AND "link_type"."id" != 10 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("movie_info_idx"."info_type_id") AS agg_7, MAX("title"."id") AS agg_8, MAX("movie_info"."note") AS agg_9, MAX("title"."kind_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."movie_id" <= 12547657 AND "movie_info"."info_type_id" <= 110; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."id" >= 2347083 AND "title"."kind_id" <= 2 AND "movie_info_idx"."id" <= 997804 AND "movie_info_idx"."info_type_id" != 101 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", COUNT(*) as agg_0, AVG("title"."kind_id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" != 3 AND "title"."imdb_index" != '%V%' GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 330; +SELECT MAX("char_name"."name") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("char_name"."imdb_id") AS agg_5, MAX("cast_info"."role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_companies"."company_type_id") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT MAX("person_info"."id") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."name") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%V436%' AND "person_info"."person_id" <= 64990; +SELECT SUM("kind_type"."id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."id" <= 432774 AND "kind_type"."kind" != '%video game%' AND "title"."series_years" != '%1998-2000%' AND "title"."kind_id" >= 7; +SELECT MAX("title"."title") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_info"."note") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id"; +SELECT MAX("cast_info"."id") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("char_name"."id") AS agg_2, MAX("char_name"."name") AS agg_3, MAX("cast_info"."nr_order") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("cast_info"."movie_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" = 2 AND "movie_info"."movie_id" >= 1726192 AND "movie_info"."info_type_id" >= 14; +SELECT "title"."series_years", AVG("movie_info_idx"."movie_id") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."episode_nr" <= 5.491963973727811 AND "title"."production_year" >= 2003.6545571898034 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("aka_name"."imdb_index") AS agg_4, MAX("char_name"."name") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("char_name"."id") AS agg_7, MAX("cast_info"."person_id") AS agg_8, MAX("cast_info"."nr_order") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 20690040 AND "cast_info"."person_id" <= 7598194 AND "char_name"."id" <= 15574904; +SELECT MAX("char_name"."name") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("char_name"."imdb_id") AS agg_6, MAX("char_name"."imdb_index") AS agg_7, MAX("aka_name"."id") AS agg_8, MAX("cast_info"."person_role_id") AS agg_9, MAX("cast_info"."nr_order") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."role_id" <> 2 AND "char_name"."id" <= 17679 AND "cast_info"."id" <= 380902; +SELECT "company_name"."country_code", AVG("company_name"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" >= 1336001 AND "company_name"."id" <= 113651 AND "movie_companies"."company_id" <= 12450 AND "company_name"."country_code" != '%[ag]%' GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."name_pcode_nf") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1167098; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" != '%C161%' AND "aka_name"."id" >= 503536 AND "aka_name"."person_id" <= 1896796; +SELECT MAX("aka_name"."name") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."imdb_id") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("aka_name"."md5sum") AS agg_6, MAX("name"."name_pcode_nf") AS agg_7, MAX("person_info"."note") AS agg_8, MAX("person_info"."id") AS agg_9, MAX("aka_name"."id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 20721515; +SELECT AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."imdb_index" != '%DM%' AND "char_name"."id" <= 1099729; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" >= 24178 AND "movie_companies"."movie_id" <= 363554 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 200295 AND "movie_keyword"."movie_id" <= 1869371 AND "keyword"."id" <= 87418; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_info"."note") AS agg_3, MAX("movie_info"."info") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2004; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("cast_info"."note") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("aka_name"."person_id") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("aka_name"."md5sum") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 36516 AND "movie_keyword"."movie_id" <= 2136973 AND "movie_keyword"."keyword_id" <= 1801; +SELECT AVG("movie_keyword"."movie_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 1828401 AND "movie_keyword"."id" >= 3594444 AND "keyword"."id" <= 54302; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 178503 AND "movie_companies"."id" >= 966343 AND "movie_companies"."company_id" <= 1661 AND "movie_companies"."movie_id" <= 2148646; +SELECT "kind_type"."id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%video game%' AND "title"."id" <= 979097 GROUP BY "kind_type"."id" ORDER BY "kind_type"."id"; +SELECT "cast_info"."role_id", COUNT(*) as agg_0, SUM("cast_info"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%IV%' AND "cast_info"."person_role_id" >= 3673.399916229941 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT "company_name"."country_code", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 105303 AND "movie_companies"."company_id" >= 6349 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133527 AND "title"."kind_id" <= 2003; +SELECT MAX("movie_info"."info_type_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("movie_info"."info") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 2004 AND "movie_info"."movie_id" <= 12573628; +SELECT "title"."imdb_index", AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" WHERE "movie_keyword"."movie_id" <= 2450101 AND "movie_keyword"."id" <= 1513381 AND "title"."kind_id" = 1 AND "movie_keyword"."keyword_id" >= 604 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 419; +SELECT MAX("name"."id") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."name_pcode_nf") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20732688 AND "person_info"."id" <= 14759742; +SELECT "title"."kind_id", SUM("movie_info"."movie_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 6354321 AND "movie_info"."movie_id" >= 2518484 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."id" <= 1725962 AND "char_name"."id" <= 2515956 AND "cast_info"."nr_order" <= 865035608.4334258 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" >= 1304692 AND "movie_info"."movie_id" >= 2208804 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT COUNT(*) as agg_0, AVG("title"."season_nr") as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 20.304392201260253 AND "movie_link"."link_type_id" <= 8; +SELECT SUM("movie_keyword"."keyword_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" <= 3663159 AND "movie_keyword"."keyword_id" <= 33856; +SELECT SUM("name"."id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 359256 AND "person_info"."info_type_id" <= 21 AND "name"."imdb_index" != '%LXVIII%'; +SELECT COUNT(*) AS agg_0, AVG("title"."episode_of_id") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4; +SELECT COUNT(*) as agg_0, AVG("movie_info"."info_type_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%III%' AND "movie_info"."movie_id" <= 1414982 AND "title"."id" <= 1372302 AND "movie_info"."id" <= 4453745; +SELECT "title"."kind_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 80746 AND "movie_keyword"."keyword_id" >= 2406 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("kind_type"."kind") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."title") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("aka_name"."person_id") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("name"."id") AS agg_9, MAX("aka_name"."md5sum") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20725058 AND "person_info"."id" <= 14715496 AND "aka_name"."id" <= 4492872; +SELECT "name"."imdb_index", COUNT(*) AS agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" <= 19012 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("keyword"."phonetic_code") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133740; +SELECT SUM("char_name"."id") AS agg_0, AVG("cast_info"."movie_id") AS agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 6.1373664605627845 AND "cast_info"."id" <= 623028; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2000.4741176986456 AND "info_type"."info" <> '%height%' AND "title"."kind_id" <= 5 AND "movie_info_idx"."id" <= 12246; +SELECT AVG("title"."production_year") as agg_0, AVG("title"."production_year") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 5.025124381036099 AND "movie_keyword"."keyword_id" >= 7473 AND "title"."episode_of_id" <= 1124011.2820834557 AND "keyword"."id" IS NOT NULL; +SELECT "title"."kind_id", SUM("movie_keyword"."keyword_id") as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 120109 AND "movie_keyword"."keyword_id" >= 4129 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_info"."movie_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info"."note") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 12586676; +SELECT AVG("title"."production_year") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "info_type"."info" != '%copyright holder%' AND "movie_info_idx"."movie_id" <= 381566 AND "title"."production_year" <= 1975.5809854330669; +SELECT SUM("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" >= 2329511 AND "movie_companies"."company_type_id" >= 1 AND "company_type"."id" <= 2 AND "movie_companies"."company_id" >= 16; +SELECT "title"."kind_id", COUNT(*) AS agg_0, AVG("movie_keyword"."keyword_id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 359 AND "movie_keyword"."keyword_id" <= 443 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT AVG("movie_companies"."id") AS agg_0, AVG("movie_companies"."id") AS agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 25839; +SELECT "company_name"."country_code", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" = 1 AND "company_name"."country_code" != '%[pk]%' AND "company_type"."id" != 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("person_info"."info") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("name"."imdb_index") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("name"."name_pcode_cf") AS agg_6, MAX("aka_name"."person_id") AS agg_7, MAX("person_info"."info_type_id") AS agg_8, MAX("person_info"."person_id") AS agg_9, MAX("name"."md5sum") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20830559 AND "aka_name"."person_id" <= 20635510 AND "person_info"."id" <= 14683338; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."name") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT "name"."imdb_index", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" >= 1223306 AND "aka_name"."surname_pcode" != '%C134%' AND "person_info"."info_type_id" != 22 GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT "title"."series_years", AVG("title"."season_nr") as agg_0, SUM("title"."kind_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" <= 12226213 AND "movie_info"."movie_id" >= 949298 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" >= 114037 AND "cast_info"."person_role_id" >= 613001.3035098123 AND "cast_info"."movie_id" >= 998319 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "name"."imdb_index", AVG("person_info"."info_type_id") as agg_0, SUM("aka_name"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" >= 2551983 AND "name"."imdb_index" != '%XXI%' GROUP BY "name"."imdb_index" ORDER BY "name"."imdb_index"; +SELECT MAX("title"."series_years") AS agg_0, MAX("movie_info_idx"."info") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_info"."id") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."imdb_id") AS agg_8, MAX("movie_info"."info") AS agg_9, MAX("movie_info_idx"."note") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."episode_of_id" <= 4187 AND "movie_info_idx"."movie_id" <= 16524; +SELECT COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12562303; +SELECT COUNT(*) AS agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 1019651 AND "company_name"."country_code" != '%[er]%' AND "movie_companies"."movie_id" <= 1286347 AND "title"."episode_nr" <= 9.616879718151289; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 4; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."production_year" >= 2009.6454756756764 AND "cast_info"."nr_order" <= 3.324357422462065; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 1.9178641361158442 AND "movie_info_idx"."info_type_id" <= 99 AND "info_type"."id" <= 1; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("cast_info"."role_id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("cast_info"."note") AS agg_2, MAX("char_name"."id") AS agg_3, MAX("char_name"."imdb_id") AS agg_4, MAX("char_name"."md5sum") AS agg_5, MAX("cast_info"."person_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT AVG("title"."season_nr") as agg_0, SUM("link_type"."id") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."id" != 10 AND "movie_link"."id" <= 18512; +SELECT COUNT(*) AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 7.649699393723324 AND "company_type"."kind" <> '%special effects companies%' AND "title"."id" <= 23179 AND "movie_companies"."movie_id" <= 38662; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2010.529550618986 AND "movie_info"."info_type_id" <= 6; +SELECT "movie_companies"."company_type_id", AVG("title"."episode_nr") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 111104 AND "title"."imdb_index" != '%XXIV%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "company_type"."kind", AVG("title"."kind_id") AS agg_0, COUNT(*) AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("cast_info"."note") AS agg_0, MAX("name"."id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("name"."imdb_id") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("cast_info"."role_id") AS agg_6, MAX("name"."gender") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("name"."name_pcode_nf") AS agg_9, MAX("aka_name"."name_pcode_nf") AS agg_10, MAX("cast_info"."person_role_id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0, SUM("person_info"."info_type_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" >= 2315792 AND "aka_name"."id" <= 498120 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT AVG("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 107 AND "info_type"."id" >= 33 AND "movie_info_idx"."movie_id" <= 1220192; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "company_type"."id" <= 1; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT AVG("aka_name"."id") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_id" <= 2820442 AND "cast_info"."movie_id" >= 825365 AND "aka_name"."id" <= 376011; +SELECT "link_type"."id", SUM("movie_link"."link_type_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%references%' AND "movie_link"."link_type_id" != 7 AND "title"."episode_nr" <= 80.94971231351425 GROUP BY "link_type"."id" ORDER BY "link_type"."id"; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."keyword") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 282; +SELECT "info_type"."id", SUM("movie_info_idx"."info_type_id") as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" >= 33 AND "movie_info_idx"."id" <= 1070683 AND "movie_info_idx"."movie_id" >= 949665 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT COUNT(*) as agg_0, SUM("title"."season_nr") as agg_1 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "title"."id" <= 930611 AND "kind_type"."id" >= 3; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("company_name"."md5sum") AS agg_6, MAX("company_name"."name") AS agg_7, MAX("title"."title") AS agg_8, MAX("title"."episode_nr") AS agg_9, MAX("title"."imdb_id") AS agg_10, MAX("company_name"."country_code") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 6581 AND "company_name"."id" <= 1336; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 133286 AND "movie_keyword"."keyword_id" <= 133447; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("name"."gender") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("name"."surname_pcode") AS agg_7, MAX("aka_name"."name_pcode_nf") AS agg_8, MAX("name"."imdb_id") AS agg_9, MAX("name"."id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" <> '%f%' AND "aka_name"."surname_pcode" <> '%S54%' AND "name"."id" <= 54238 AND "person_info"."id" <= 57796; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("company_name"."country_code") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."id") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 4360; +SELECT "name"."surname_pcode", AVG("person_info"."info_type_id") as agg_0, AVG("person_info"."info_type_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" != '%I154%' AND "person_info"."person_id" >= 1778979 AND "person_info"."info_type_id" = 24 AND "name"."imdb_index" != '%LXX%' GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."imdb_index") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2518076 AND "info_type"."id" <= 113 AND "movie_info_idx"."movie_id" <= 12602171; +SELECT COUNT(*) as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" >= 1687341 AND "movie_info_idx"."id" >= 134285 AND "movie_info_idx"."info_type_id" != 101 AND "title"."id" IS NOT NULL; +SELECT SUM("title"."season_nr") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."imdb_index" != '%XX%' AND "movie_companies"."id" <= 253276; +SELECT SUM("cast_info"."person_role_id") AS agg_0, COUNT(*) AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("keyword"."id") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 3.8694169901460054 AND "title"."id" <= 37018 AND "keyword"."id" <= 484; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_info_idx"."note") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."phonetic_code") AS agg_8, MAX("movie_info_idx"."info") AS agg_9, MAX("title"."series_years") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id"; +SELECT AVG("title"."episode_nr") as agg_0, AVG("title"."episode_of_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 1746979 AND "title"."id" <= 491596; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 12595902 AND "keyword"."id" <= 133280; +SELECT "movie_companies"."company_type_id", AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 158146 AND "movie_companies"."id" <= 353278 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("keyword"."id") AS agg_6, MAX("title"."season_nr") AS agg_7, MAX("title"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133051 AND "movie_keyword"."movie_id" <= 12610496 AND "title"."kind_id" <= 2005; +SELECT AVG("cast_info"."person_role_id") as agg_0, AVG("char_name"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 1060614 AND "char_name"."imdb_index" != '%D%' AND "char_name"."id" >= 2302656; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2006.9075930721592 AND "title"."episode_of_id" <= 8181; +SELECT SUM("cast_info"."id") as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."movie_id" <= 1797538 AND "char_name"."id" >= 530885; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "name"."gender" != '%m%' AND "aka_name"."id" >= 262462; +SELECT "name"."surname_pcode", SUM("person_info"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" >= 2294148 AND "person_info"."id" <= 2524202 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT SUM("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" >= 1022304 AND "company_type"."id" = 2; +SELECT MAX("name"."name") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("person_info"."person_id") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."gender") AS agg_4, MAX("person_info"."note") AS agg_5, MAX("person_info"."info") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" <= 15; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("title"."imdb_index") AS agg_9, MAX("company_name"."id") AS agg_10, MAX("company_name"."imdb_id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 42085 AND "movie_companies"."movie_id" <= 49378; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_info_idx"."note") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id"; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 2479334 AND "title"."id" <= 2351913; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" >= 668757 AND "keyword"."id" <= 22923 AND "movie_keyword"."movie_id" <= 2210756 AND "title"."episode_of_id" <= 1025278.5168141662; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 1903491 AND "keyword"."id" >= 111349; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."id" >= 37 AND "movie_info_idx"."info_type_id" = 101 AND "movie_info_idx"."id" <= 1097332 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_type"."kind") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."series_years") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 13044406; +SELECT "movie_info_idx"."info_type_id", SUM("title"."season_nr") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 1172496.1847656448 AND "movie_info_idx"."movie_id" <= 1481360 AND "movie_info_idx"."id" <= 605899 AND "title"."id" <= 1368125 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "cast_info"."role_id", AVG("title"."episode_of_id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 2505613 AND "title"."season_nr" >= 1.2651531415433204 AND "cast_info"."id" <= 12604291 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 2001.5736804183223 AND "movie_info"."movie_id" <= 2491974; +SELECT "aka_name"."imdb_index", SUM("person_info"."info_type_id") as agg_0, SUM("person_info"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "person_info"."id" >= 1579767 AND "name"."id" <= 3236616 AND "aka_name"."person_id" <= 2246094 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "title"."series_years", SUM("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "movie_link" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" WHERE "movie_link"."link_type_id" != 5 AND "link_type"."id" >= 12 AND "title"."episode_nr" <= 10.85876014452599 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) AS agg_0, AVG("title"."episode_of_id") AS agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."id" <= 13007360 AND "company_name"."id" <= 1173973; +SELECT "movie_link"."movie_id", SUM("movie_link"."linked_movie_id") as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."movie_id" >= 11528 AND "title"."episode_of_id" <= 855417.0581157559 GROUP BY "movie_link"."movie_id" ORDER BY "movie_link"."movie_id"; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("aka_name"."md5sum") AS agg_2, MAX("person_info"."id") AS agg_3, MAX("name"."gender") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."surname_pcode") AS agg_7, MAX("aka_name"."name_pcode_cf") AS agg_8, MAX("person_info"."person_id") AS agg_9, MAX("aka_name"."id") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" <> '%Z635%' AND "person_info"."id" <= 20545 AND "aka_name"."id" <= 13331; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("movie_info"."movie_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_info"."info_type_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("movie_info_idx"."info") AS agg_7, MAX("title"."episode_of_id") AS agg_8, MAX("movie_info_idx"."id") AS agg_9, MAX("movie_info_idx"."movie_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."imdb_index" <> '%VII%' AND "movie_info_idx"."movie_id" <= 19428 AND "title"."episode_of_id" <= 10080; +SELECT MAX("movie_info"."note") AS agg_0, MAX("title"."id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("title"."title") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12517483; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 369; +SELECT "title"."imdb_index", SUM("title"."kind_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" >= 1521465 AND "title"."id" >= 2003048 AND "company_name"."id" <= 176075 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT COUNT(*) as agg_0, SUM("movie_companies"."id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[es]%' AND "movie_companies"."company_id" <= 69576 AND "movie_companies"."id" >= 2007021; +SELECT "company_name"."country_code", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" <= 1380100 AND "company_name"."id" <= 144355 AND "company_name"."country_code" != '%[ae]%' AND "movie_companies"."company_type_id" <= 1 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" >= 3731289 AND "cast_info"."person_role_id" <= 10377.762539948613 AND "cast_info"."movie_id" <= 526156 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT AVG("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."movie_id" <= 2180092 AND "company_type"."id" != 3 AND "movie_companies"."company_id" >= 26573 AND "movie_companies"."company_type_id" != 2; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("keyword"."keyword") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2519531; +SELECT AVG("title"."season_nr") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" >= 172369 AND "company_type"."id" = 2; +SELECT "char_name"."imdb_index", SUM("cast_info"."role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 1859295 AND "cast_info"."movie_id" <= 1512117 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT AVG("cast_info"."id") as agg_0, AVG("cast_info"."movie_id") as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "title"."episode_nr" <= 77.1497000151073 AND "title"."episode_of_id" >= 376668.24130580283; +SELECT SUM("title"."season_nr") as agg_0, AVG("title"."production_year") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 251 AND "movie_keyword"."movie_id" <= 1636908 AND "keyword"."id" <= 42844 AND "title"."episode_of_id" >= 154211.28930112673; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_companies"."company_type_id") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6, MAX("title"."title") AS agg_7, MAX("movie_companies"."id") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 2710 AND "title"."kind_id" <= 5; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."id" >= 11691951 AND "title"."episode_of_id" >= 1017428.7991925817 AND "movie_info"."info_type_id" >= 7 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" >= 283023 AND "name"."gender" != '%f%'; +SELECT "aka_name"."imdb_index", AVG("cast_info"."person_id") as agg_0, SUM("cast_info"."role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%CXCIII%' AND "cast_info"."person_id" <= 3602647 AND "name"."id" <= 2876182 AND "cast_info"."id" <= 25717041 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT COUNT(*) as agg_0, AVG("title"."production_year") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1993-2009%' AND "keyword"."id" <= 122624 AND "movie_keyword"."keyword_id" >= 2080; +SELECT MAX("movie_info"."info") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."id") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."id" <= 12578980 AND "movie_info"."info_type_id" <= 110; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" >= 4122060 AND "aka_name"."id" >= 12514 AND "aka_name"."surname_pcode" != '%P364%'; +SELECT MAX("cast_info"."id") AS agg_0, MAX("name"."imdb_id") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("cast_info"."movie_id") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("name"."imdb_index") AS agg_5, MAX("name"."gender") AS agg_6, MAX("cast_info"."note") AS agg_7, MAX("name"."surname_pcode") AS agg_8, MAX("aka_name"."name_pcode_cf") AS agg_9, MAX("cast_info"."person_id") AS agg_10, MAX("name"."id") AS agg_11 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id"; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."kind") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" <= 1; +SELECT SUM("cast_info"."role_id") AS agg_0, SUM("cast_info"."nr_order") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" <= 4.236608801953581 AND "cast_info"."movie_id" <= 45352; +SELECT SUM("title"."episode_of_id") as agg_0, SUM("movie_info"."info_type_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" != 10 AND "title"."season_nr" >= 1.0; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_keyword"."movie_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT AVG("person_info"."info_type_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 2153245 AND "person_info"."person_id" <= 2307833 AND "name"."id" IS NOT NULL; +SELECT "cast_info"."role_id", SUM("cast_info"."person_role_id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" <= 168895 AND "cast_info"."person_id" <= 3766100 AND "char_name"."id" <= 351334 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT COUNT(*) AS agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 12564951; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."title") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("movie_info"."info") AS agg_5, MAX("movie_info_idx"."id") AS agg_6, MAX("movie_info"."note") AS agg_7, MAX("title"."phonetic_code") AS agg_8, MAX("movie_info_idx"."info") AS agg_9, MAX("movie_info"."id") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info"."id" <= 205827; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("movie_companies"."id") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2; +SELECT SUM("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 1471125 AND "info_type"."info" != '%LD picture format%' AND "info_type"."id" >= 67; +SELECT "cast_info"."role_id", AVG("title"."production_year") as agg_0, SUM("cast_info"."nr_order") as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."movie_id" <= 2034203 AND "cast_info"."role_id" = 1 AND "title"."id" >= 347410 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 36581; +SELECT "char_name"."imdb_index", AVG("cast_info"."movie_id") as agg_0, AVG("cast_info"."person_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%I%' AND "cast_info"."person_role_id" >= 1788971.9117841108 AND "char_name"."id" >= 1348324 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT SUM("title"."id") AS agg_0, AVG("movie_keyword"."keyword_id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133282 AND "title"."id" <= 12543958 AND "movie_keyword"."id" <= 22493936; +SELECT MAX("info_type"."info") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("info_type"."id") AS agg_2 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" <> '%release dates%' AND "movie_info_idx"."movie_id" <= 16726; +SELECT MAX("aka_name"."surname_pcode") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("person_info"."person_id") AS agg_6, MAX("name"."name_pcode_cf") AS agg_7, MAX("aka_name"."name") AS agg_8, MAX("person_info"."id") AS agg_9, MAX("name"."imdb_id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 52539 AND "person_info"."info_type_id" <= 15; +SELECT "info_type"."id", SUM("info_type"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "info_type"."info" != '%certificates%' AND "movie_info_idx"."movie_id" <= 1840306 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT "aka_name"."surname_pcode", AVG("aka_name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."imdb_index" != '%XXI%' AND "name"."id" >= 521070 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."surname_pcode" != '%K516%' AND "name"."id" >= 148800 AND "person_info"."info_type_id" = 20 AND "person_info"."person_id" <= 2057272 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "aka_name"."surname_pcode", AVG("cast_info"."person_id") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" <= 20784231 AND "cast_info"."person_id" <= 7665621 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT AVG("title"."production_year") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 56313 AND "title"."episode_nr" <= 35.86406525731764 AND "title"."episode_of_id" <= 151431.09889622752 AND "movie_keyword"."movie_id" <= 1968514; +SELECT "aka_name"."imdb_index", COUNT(*) AS agg_0, AVG("name"."id") AS agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 20834278 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT "movie_companies"."company_type_id", SUM("company_type"."id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_name"."country_code" != '%[as]%' AND "company_type"."id" = 2 AND "movie_companies"."movie_id" <= 2292175 AND "company_type"."kind" != '%production companies%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("company_name"."country_code") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."note") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT "char_name"."imdb_index", SUM("char_name"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" != '%I%' AND "char_name"."id" <= 1255352 AND "cast_info"."id" >= 719494 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT AVG("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 2 AND "movie_companies"."company_id" >= 6342 AND "company_name"."id" <= 186174 AND "movie_companies"."id" <= 1386561; +SELECT MAX("char_name"."imdb_id") AS agg_0, MAX("cast_info"."movie_id") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("char_name"."surname_pcode") AS agg_5, MAX("cast_info"."role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 4.472234986919135 AND "char_name"."id" <= 35087; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 898171 AND "movie_info_idx"."info_type_id" != 105; +SELECT MAX("name"."id") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("aka_name"."name_pcode_nf") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("name"."imdb_index") AS agg_6, MAX("aka_name"."md5sum") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" <= 4494678; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, SUM("cast_info"."id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."nr_order" >= 1.646156008694175 AND "cast_info"."person_role_id" <= 1625194.5974861267 AND "cast_info"."id" <= 1740698 AND "cast_info"."movie_id" <= 1247693 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT "person_info"."info_type_id", AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 1733529 AND "aka_name"."surname_pcode" != '%P543%' AND "aka_name"."id" <= 59213 AND "person_info"."id" <= 1991364 GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT SUM("title"."kind_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 96195 AND "movie_keyword"."id" >= 711700; +SELECT "name"."surname_pcode", AVG("aka_name"."id") as agg_0, AVG("name"."id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."id" >= 1185825 AND "name"."gender" != '%m%' AND "aka_name"."person_id" <= 2649070 AND "aka_name"."id" >= 791335 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("char_name"."name") AS agg_3, MAX("aka_name"."name_pcode_nf") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("cast_info"."note") AS agg_6, MAX("char_name"."surname_pcode") AS agg_7, MAX("char_name"."imdb_index") AS agg_8, MAX("aka_name"."person_id") AS agg_9, MAX("char_name"."id") AS agg_10 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id"; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("company_name"."country_code") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("company_name"."md5sum") AS agg_7, MAX("title"."episode_nr") AS agg_8, MAX("title"."production_year") AS agg_9, MAX("movie_companies"."note") AS agg_10, MAX("title"."phonetic_code") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 27153 AND "movie_companies"."company_id" <= 2606; +SELECT SUM("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" >= 1784888 AND "movie_info_idx"."info_type_id" != 99; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("movie_keyword"."movie_id") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."title") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" <= 12632485; +SELECT "aka_name"."imdb_index", SUM("cast_info"."person_role_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."person_id" >= 1651450 AND "cast_info"."nr_order" >= 11.122389258305189 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("movie_info"."id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info"."movie_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 110 AND "title"."id" <= 12571862; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("movie_keyword"."id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "movie_keyword"."id" <= 89853; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."person_id" >= 695978 AND "name"."id" <= 2617164 AND "name"."imdb_index" != '%XXVIII%' GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("cast_info"."note") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("char_name"."imdb_id") AS agg_2, MAX("cast_info"."id") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("char_name"."name_pcode_nf") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id"; +SELECT MAX("char_name"."surname_pcode") AS agg_0, MAX("char_name"."id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("char_name"."md5sum") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("cast_info"."nr_order") AS agg_5, MAX("char_name"."name") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id"; +SELECT AVG("keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 47660 AND "movie_keyword"."id" >= 1782789 AND "movie_keyword"."keyword_id" >= 755; +SELECT SUM("movie_keyword"."id") as agg_0, SUM("movie_keyword"."keyword_id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" >= 2278706 AND "movie_keyword"."id" >= 3682651; +SELECT "title"."imdb_index", SUM("title"."season_nr") AS agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2525621 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("kind_type"."id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."episode_of_id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" <> '%video movie%' AND "kind_type"."id" <= 1; +SELECT COUNT(*) as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."movie_id" >= 1309333 AND "movie_companies"."id" <= 1044526 AND "movie_companies"."company_id" <= 28648 AND "movie_companies"."company_type_id" >= 1; +SELECT MAX("company_name"."md5sum") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("movie_companies"."movie_id") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 52166; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 1166448; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."md5sum") AS agg_6, MAX("company_type"."id") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0, AVG("movie_info_idx"."id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."info_type_id" <= 100 AND "title"."kind_id" >= 7; +SELECT AVG("person_info"."info_type_id") AS agg_0, SUM("aka_name"."id") AS agg_1 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 20824782 AND "aka_name"."person_id" <= 20747177; +SELECT "movie_companies"."company_type_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_id" <= 252 AND "company_type"."kind" != '%miscellaneous companies%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "company_type"."kind", SUM("title"."kind_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."movie_id" <= 128859 AND "title"."season_nr" >= 1.0 AND "movie_companies"."company_type_id" >= 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT "info_type"."info", SUM("movie_info_idx"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%production dates%' AND "movie_info_idx"."info_type_id" >= 99 AND "title"."imdb_index" != '%XVI%' AND "title"."series_years" != '%1950-1953%' GROUP BY "info_type"."info" ORDER BY "info_type"."info"; +SELECT SUM("company_type"."id") as agg_0, SUM("movie_companies"."company_type_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."movie_id" >= 755594 AND "company_name"."country_code" != '%[bm]%'; +SELECT "title"."series_years", SUM("cast_info"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 5.694788410331686 AND "title"."season_nr" <= 1.0 AND "title"."id" <= 2444409 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "title"."imdb_index", COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" != 3 AND "title"."season_nr" <= 1.0 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 176055 AND "company_name"."country_code" != '%[gp]%'; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("info_type"."info") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."title") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2524763; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "company_type"."kind" <> '%special effects companies%' AND "movie_companies"."company_id" <= 4431; +SELECT "company_name"."country_code", SUM("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 650321 AND "company_name"."id" <= 55038 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "title"."series_years", AVG("title"."episode_nr") as agg_0, AVG("title"."season_nr") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.992559607998363 AND "title"."kind_id" <= 7 AND "movie_keyword"."keyword_id" >= 1482 AND "keyword"."id" <= 94751 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "movie_link"."link_type_id", SUM("title"."episode_of_id") as agg_0 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."linked_movie_id" >= 1256449 AND "link_type"."id" >= 14 AND "title"."production_year" >= 2000.1326068520689 AND "title"."episode_nr" >= 17.29259133434426 GROUP BY "movie_link"."link_type_id" ORDER BY "movie_link"."link_type_id"; +SELECT MAX("movie_companies"."company_id") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("movie_companies"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT "company_type"."id", AVG("movie_companies"."movie_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[sa]%' AND "movie_companies"."company_type_id" = 1 AND "company_type"."kind" != '%distributors%' AND "movie_companies"."id" >= 919536 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT SUM("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" != 1 AND "movie_companies"."company_id" <= 553; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("kind_type"."id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."title") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1903.9657186081374 AND "title"."episode_nr" <= 12.915628431734737 AND "movie_keyword"."movie_id" <= 23953; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 283 AND "title"."id" <= 32275; +SELECT COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" != '%M521%' AND "name"."gender" != '%m%' AND "person_info"."info_type_id" != 16; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."keyword") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("movie_keyword"."id") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."episode_of_id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" <= 494 AND "keyword"."id" <= 446; +SELECT MAX("person_info"."info") AS agg_0, MAX("person_info"."id") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("name"."id") AS agg_4, MAX("name"."name_pcode_cf") AS agg_5, MAX("name"."imdb_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20666086; +SELECT MAX("movie_info_idx"."id") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."md5sum") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "title"."production_year" >= 2008.9096261590144 AND "title"."episode_nr" <= 7.388172470870578 AND "title"."kind_id" <= 6; +SELECT AVG("movie_companies"."company_type_id") as agg_0, AVG("movie_companies"."company_id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_id" >= 139 AND "movie_companies"."id" >= 841852 AND "company_type"."id" = 2; +SELECT "aka_name"."surname_pcode", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "cast_info"."person_role_id" >= 17849.565661134515 AND "char_name"."id" >= 2747605 GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT "title"."kind_id", SUM("title"."kind_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" != '%[gt]%' AND "company_name"."id" <= 200467 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "kind_type"."id", AVG("title"."kind_id") as agg_0, AVG("title"."production_year") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" >= 6 AND "title"."episode_of_id" <= 993594.7259044541 AND "kind_type"."kind" != '%tv mini series%' AND "kind_type"."id" >= 2 GROUP BY "kind_type"."id" ORDER BY "kind_type"."id"; +SELECT COUNT(*) as agg_0, SUM("title"."id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."imdb_index" != '%D%' AND "char_name"."id" >= 2084027; +SELECT MAX("cast_info"."person_role_id") AS agg_0, MAX("aka_name"."person_id") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("name"."id") AS agg_5, MAX("cast_info"."movie_id") AS agg_6, MAX("aka_name"."name") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("cast_info"."person_id") AS agg_9, MAX("name"."imdb_id") AS agg_10, MAX("cast_info"."note") AS agg_11 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."surname_pcode" <> '%F256%' AND "name"."imdb_index" <> '%VI%' AND "cast_info"."nr_order" <= 8.979767555315684 AND "cast_info"."person_id" <= 9737 AND "name"."id" <= 26613; +SELECT "char_name"."imdb_index", SUM("char_name"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_id" >= 2277608 AND "char_name"."id" >= 87534 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 140073 AND "movie_companies"."id" <= 1028769 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "info_type"."id", AVG("movie_info_idx"."info_type_id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%LD catalog number%' AND "movie_info_idx"."movie_id" >= 1739101 AND "info_type"."id" <= 111 AND "movie_info_idx"."info_type_id" >= 99 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("cast_info"."nr_order") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("char_name"."surname_pcode") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("char_name"."imdb_index") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."role_id" <= 10 AND "cast_info"."person_role_id" <= 34015; +SELECT "name"."surname_pcode", SUM("person_info"."person_id") as agg_0, AVG("person_info"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."info_type_id" = 24 AND "person_info"."person_id" <= 4088653 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT SUM("movie_info_idx"."info_type_id") as agg_0, AVG("movie_info_idx"."info_type_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 1326965 AND "movie_info_idx"."movie_id" >= 2110659; +SELECT "aka_name"."surname_pcode", SUM("name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" <= 94232 AND "aka_name"."surname_pcode" != '%Q426%' GROUP BY "aka_name"."surname_pcode" ORDER BY "aka_name"."surname_pcode"; +SELECT AVG("movie_keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" >= 48806 AND "movie_keyword"."movie_id" <= 1611832 AND "movie_keyword"."keyword_id" <= 131172; +SELECT MAX("movie_info_idx"."info_type_id") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("movie_info_idx"."id") AS agg_3, MAX("movie_info"."id") AS agg_4, MAX("movie_info_idx"."note") AS agg_5, MAX("movie_info"."info") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("movie_info_idx"."movie_id") AS agg_8, MAX("movie_info_idx"."info") AS agg_9, MAX("title"."md5sum") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id"; +SELECT MAX("title"."kind_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("title"."phonetic_code") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("company_type"."id") AS agg_6, MAX("title"."title") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1998; +SELECT SUM("title"."kind_id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."kind_id" <= 7 AND "kind_type"."id" >= 3 AND "title"."id" <= 2102457; +SELECT "title"."imdb_index", AVG("movie_companies"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.5325151973957003 AND "movie_companies"."movie_id" <= 1578161 AND "movie_companies"."company_type_id" >= 1 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("title"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."series_years" != '%1958-1989%' AND "movie_keyword"."movie_id" <= 2280631; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("company_name"."imdb_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("movie_companies"."company_type_id") AS agg_7, MAX("movie_companies"."id") AS agg_8, MAX("company_name"."md5sum") AS agg_9, MAX("title"."phonetic_code") AS agg_10, MAX("company_name"."id") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."country_code" <> '%[af]%' AND "movie_companies"."id" <= 51171 AND "company_name"."id" <= 2098; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_info_idx"."info") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("movie_info"."movie_id") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."id") AS agg_8, MAX("title"."production_year") AS agg_9, MAX("movie_info"."info_type_id") AS agg_10 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."id" <= 73486068 AND "movie_info_idx"."id" <= 6895876; +SELECT AVG("movie_keyword"."movie_id") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 103077 AND "movie_keyword"."id" <= 1644613 AND "movie_keyword"."keyword_id" <= 6845 AND "movie_keyword"."movie_id" <= 832277; +SELECT "company_name"."country_code", SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[pk]%' AND "company_name"."id" >= 118614 AND "movie_companies"."id" >= 1096637 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("char_name"."imdb_index") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("char_name"."imdb_id") AS agg_4, MAX("cast_info"."id") AS agg_5, MAX("char_name"."md5sum") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" <= 320302372.8700937 AND "cast_info"."person_id" <= 24236; +SELECT "title"."imdb_index", AVG("movie_keyword"."movie_id") as agg_0, SUM("title"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 2209357 AND "movie_keyword"."keyword_id" >= 80 AND "title"."imdb_index" != '%X%' AND "title"."id" <= 347835 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" >= 548559 AND "keyword"."id" <= 32813 AND "movie_keyword"."id" <= 1534517; +SELECT MAX("name"."gender") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."id") AS agg_4, MAX("name"."id") AS agg_5, MAX("person_info"."person_id") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 20661444; +SELECT AVG("cast_info"."id") AS agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 4196; +SELECT "cast_info"."role_id", COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 1992605 AND "cast_info"."movie_id" >= 992326 AND "char_name"."id" <= 1582535 GROUP BY "cast_info"."role_id" ORDER BY "cast_info"."role_id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."title") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("movie_info"."info_type_id") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 1971.9043801011765 AND "title"."imdb_index" <> '%VII%' AND "movie_info"."info_type_id" <= 1; +SELECT SUM("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."id" >= 652557 AND "movie_keyword"."keyword_id" <= 4270; +SELECT "title"."series_years", AVG("movie_info_idx"."movie_id") as agg_0, SUM("title"."id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" >= 2303427 AND "title"."production_year" >= 1982.3264361467316 AND "movie_info_idx"."info_type_id" = 100 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT COUNT(*) as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" WHERE "movie_info_idx"."id" >= 849034 AND "info_type"."id" <= 100; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."kind_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 4; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("cast_info"."person_id") AS agg_1, MAX("title"."imdb_index") AS agg_2, MAX("cast_info"."person_role_id") AS agg_3, MAX("char_name"."imdb_index") AS agg_4, MAX("char_name"."name_pcode_nf") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("char_name"."surname_pcode") AS agg_8, MAX("title"."md5sum") AS agg_9, MAX("cast_info"."note") AS agg_10, MAX("title"."series_years") AS agg_11, MAX("char_name"."md5sum") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "cast_info"."nr_order" >= 6.858991221002884 AND "cast_info"."role_id" <= 3 AND "title"."episode_of_id" <= 7279 AND "cast_info"."id" <= 236582; +SELECT "title"."imdb_index", SUM("movie_info_idx"."movie_id") as agg_0 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."id" <= 613282 AND "title"."production_year" >= 2009.4318437931443 AND "title"."kind_id" != 1 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT SUM("movie_keyword"."movie_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."keyword_id" <= 1054 AND "keyword"."id" <= 100167 AND "movie_keyword"."id" <= 612033; +SELECT SUM("title"."episode_of_id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."movie_id" <= 1828671 AND "movie_info_idx"."info_type_id" <= 100 AND "info_type"."info" != '%LD master format%'; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."id") AS agg_4, MAX("movie_companies"."movie_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("movie_companies"."note") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."id" <= 13043167 AND "title"."episode_of_id" <= 2514938; +SELECT MAX("title"."imdb_id") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("movie_companies"."id") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("movie_companies"."movie_id") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2003.5514309966775 AND "title"."kind_id" <= 8; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."nr_order") AS agg_1, MAX("char_name"."name_pcode_nf") AS agg_2, MAX("cast_info"."role_id") AS agg_3, MAX("cast_info"."person_id") AS agg_4, MAX("cast_info"."movie_id") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."person_role_id" <= 59930; +SELECT MAX("cast_info"."person_id") AS agg_0, MAX("char_name"."imdb_index") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("cast_info"."note") AS agg_5, MAX("char_name"."id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "char_name"."id" <= 15585597; +SELECT MAX("title"."title") AS agg_0, MAX("movie_info"."info_type_id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("movie_info"."note") AS agg_4, MAX("movie_info"."id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" <= 1962.163167765876 AND "movie_info"."movie_id" <= 32931; +SELECT AVG("movie_companies"."company_type_id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" >= 2 AND "company_type"."id" != 3 AND "movie_companies"."id" >= 144901 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT MAX("char_name"."surname_pcode") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("char_name"."name_pcode_nf") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."imdb_index") AS agg_8, MAX("title"."season_nr") AS agg_9, MAX("char_name"."name") AS agg_10, MAX("char_name"."md5sum") AS agg_11, MAX("char_name"."imdb_id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 15617519 AND "title"."kind_id" <= 2008; +SELECT "info_type"."id", SUM("movie_info_idx"."id") as agg_0, AVG("movie_info_idx"."info_type_id") as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" <= 517569 AND "info_type"."id" >= 74 AND "movie_info_idx"."info_type_id" <= 99 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("movie_info"."info_type_id") AS agg_3, MAX("movie_info"."movie_id") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info"."movie_id" <= 16981; +SELECT MAX("name"."gender") AS agg_0, MAX("aka_name"."id") AS agg_1, MAX("name"."id") AS agg_2, MAX("aka_name"."imdb_index") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("person_info"."info_type_id") AS agg_5, MAX("aka_name"."name_pcode_cf") AS agg_6, MAX("aka_name"."md5sum") AS agg_7, MAX("person_info"."info") AS agg_8, MAX("name"."imdb_index") AS agg_9, MAX("name"."name_pcode_nf") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%K623%' AND "person_info"."info_type_id" <= 15 AND "aka_name"."person_id" <= 23588; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."name_pcode_cf") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("name"."name") AS agg_6, MAX("name"."gender") AS agg_7, MAX("name"."imdb_id") AS agg_8, MAX("name"."id") AS agg_9, MAX("aka_name"."id") AS agg_10 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20708670; +SELECT "title"."kind_id", SUM("title"."episode_of_id") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."movie_id" <= 1960120 AND "title"."kind_id" != 7 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "link_type"."link", SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "movie_link"."id" >= 2236 AND "link_type"."id" != 6 AND "movie_link"."linked_movie_id" <= 2478815 AND "title"."episode_nr" >= 14.947522675678066 GROUP BY "link_type"."link" ORDER BY "link_type"."link"; +SELECT SUM("title"."id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 435 AND "movie_keyword"."movie_id" <= 29175; +SELECT MAX("title"."title") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_companies"."movie_id") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT AVG("title"."season_nr") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" != 4 AND "title"."id" >= 1550358 AND "kind_type"."kind" != '%episode%'; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_companies"."movie_id") AS agg_7, MAX("company_name"."name") AS agg_8, MAX("title"."episode_of_id") AS agg_9, MAX("movie_companies"."id") AS agg_10, MAX("title"."episode_nr") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1169862 AND "title"."kind_id" <= 2006; +SELECT "name"."gender", SUM("cast_info"."person_id") as agg_0, AVG("aka_name"."person_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."person_id" <= 1471728 AND "cast_info"."id" <= 25446709 AND "cast_info"."movie_id" >= 1719162 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT MAX("title"."series_years") AS agg_0, MAX("cast_info"."role_id") AS agg_1, MAX("cast_info"."movie_id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("cast_info"."person_role_id") AS agg_5, MAX("cast_info"."nr_order") AS agg_6, MAX("title"."id") AS agg_7, MAX("title"."production_year") AS agg_8 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" >= 0.41632211966876276 AND "cast_info"."role_id" = 2 AND "title"."id" <= 13259; +SELECT MAX("title"."kind_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6875206; +SELECT MAX("keyword"."id") AS agg_0, MAX("title"."imdb_index") AS agg_1, MAX("title"."imdb_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("keyword"."keyword") AS agg_4, MAX("title"."md5sum") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_keyword"."id") AS agg_7, MAX("title"."episode_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 16697 AND "keyword"."id" <= 137; +SELECT AVG("title"."episode_nr") AS agg_0, SUM("title"."episode_nr") AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."imdb_index" <> '%XII%' AND "title"."series_years" <> '%1970-1985%' AND "info_type"."info" <> '%LD dialogue intellegibility%' AND "title"."kind_id" <= 7 AND "movie_info_idx"."id" <= 7727; +SELECT "company_name"."country_code", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_id" >= 21853 AND "movie_companies"."id" <= 1897302 AND "company_name"."id" <= 85463 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("company_type"."id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."id" <= 12519318 AND "company_type"."id" <= 4; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 35827 AND "movie_keyword"."movie_id" <= 2368090 AND "movie_keyword"."id" >= 757798; +SELECT "company_name"."country_code", SUM("movie_companies"."company_id") as agg_0, COUNT(*) as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."company_type_id" = 1 AND "movie_companies"."movie_id" >= 1186615 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT "person_info"."info_type_id", COUNT(*) as agg_0, SUM("person_info"."person_id") as agg_1 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 457447 AND "aka_name"."id" <= 485537 AND "name"."surname_pcode" != '%Q656%' GROUP BY "person_info"."info_type_id" ORDER BY "person_info"."info_type_id"; +SELECT MAX("aka_name"."name_pcode_cf") AS agg_0, MAX("aka_name"."name") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("cast_info"."note") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4482378 AND "cast_info"."person_role_id" <= 15571673; +SELECT "name"."surname_pcode", COUNT(*) as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 240611 AND "name"."gender" != '%m%' AND "name"."surname_pcode" != '%A421%' AND "name"."id" <= 4088919 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "name"."gender", SUM("cast_info"."person_role_id") as agg_0, SUM("cast_info"."movie_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "cast_info"."id" >= 4476224 AND "name"."gender" != '%f%' GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT "company_type"."kind", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."country_code" != '%[ly]%' AND "company_type"."kind" != '%production companies%' AND "movie_companies"."company_id" <= 25165 AND "company_name"."id" <= 75724 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("name"."gender") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("person_info"."info") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("aka_name"."name") AS agg_7, MAX("name"."name") AS agg_8, MAX("name"."md5sum") AS agg_9, MAX("aka_name"."person_id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 32408 AND "person_info"."info_type_id" <= 15; +SELECT SUM("movie_keyword"."keyword_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 73851 AND "movie_keyword"."keyword_id" >= 5956 AND "movie_keyword"."movie_id" >= 2009874 AND "movie_keyword"."id" >= 3684146; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 367; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."company_type_id") as agg_0, AVG("company_name"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" != 3 AND "movie_companies"."id" <= 1218394 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."kind_id", SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."id" >= 1142716 AND "info_type"."info" != '%pictorial%' AND "title"."kind_id" <= 7 AND "movie_info_idx"."id" <= 698105 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT SUM("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 11833 AND "movie_keyword"."keyword_id" <= 112482; +SELECT "company_name"."country_code", AVG("movie_companies"."company_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."id" <= 2302987 AND "movie_companies"."movie_id" <= 1706212 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT AVG("movie_keyword"."keyword_id") AS agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 132979; +SELECT COUNT(*) as agg_0 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."kind_id" >= 1 AND "title"."season_nr" >= 5.651969409791061 AND "movie_link"."link_type_id" <= 11; +SELECT SUM("char_name"."id") as agg_0, SUM("cast_info"."person_role_id") as agg_1 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."nr_order" <= 7.297468676878067 AND "cast_info"."id" <= 27924224 AND "char_name"."id" <= 2521430 AND "cast_info"."person_id" >= 475604; +SELECT "name"."surname_pcode", COUNT(*) as agg_0, SUM("aka_name"."id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 881843 AND "person_info"."id" <= 2919192 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT "info_type"."id", SUM("movie_info_idx"."movie_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%death notes%' AND "info_type"."id" <= 88 GROUP BY "info_type"."id" ORDER BY "info_type"."id"; +SELECT COUNT(*) as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%video movie%' AND "title"."episode_nr" >= 1.0312787198642828 AND "kind_type"."id" >= 6; +SELECT "title"."imdb_index", AVG("keyword"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."id" >= 104642 AND "keyword"."id" <= 11049 AND "movie_keyword"."movie_id" >= 1702803 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id"; +SELECT MAX("cast_info"."note") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("char_name"."name") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("char_name"."imdb_index") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("char_name"."surname_pcode") AS agg_7, MAX("cast_info"."id") AS agg_8, MAX("char_name"."imdb_id") AS agg_9, MAX("cast_info"."person_role_id") AS agg_10, MAX("title"."md5sum") AS agg_11, MAX("cast_info"."person_id") AS agg_12 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."id" <= 15545481 AND "cast_info"."id" <= 180461065 AND "title"."id" <= 12591404; +SELECT AVG("person_info"."person_id") as agg_0 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."id" >= 45287 AND "aka_name"."person_id" >= 1852720 AND "person_info"."info_type_id" >= 25 AND "person_info"."person_id" <= 1916784; +SELECT MAX("person_info"."info_type_id") AS agg_0, MAX("person_info"."person_id") AS agg_1, MAX("person_info"."id") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."name_pcode_nf") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."person_id" <= 30369; +SELECT "company_name"."country_code", AVG("movie_companies"."company_type_id") as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" >= 161894 AND "movie_companies"."company_type_id" <= 2 GROUP BY "company_name"."country_code" ORDER BY "company_name"."country_code"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."md5sum") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id"; +SELECT MAX("char_name"."name_pcode_nf") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("cast_info"."id") AS agg_2, MAX("char_name"."imdb_id") AS agg_3, MAX("cast_info"."movie_id") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("cast_info"."person_role_id") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" <= 15652895; +SELECT MAX("name"."name_pcode_cf") AS agg_0, MAX("name"."imdb_index") AS agg_1, MAX("name"."gender") AS agg_2, MAX("name"."surname_pcode") AS agg_3, MAX("name"."name") AS agg_4, MAX("person_info"."id") AS agg_5, MAX("person_info"."note") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."surname_pcode" <> '%F43%' AND "name"."id" <= 51503; +SELECT AVG("title"."episode_nr") as agg_0, AVG("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 1360904 AND "movie_info_idx"."info_type_id" != 100 AND "movie_info_idx"."movie_id" <= 763397; +SELECT COUNT(*) as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."keyword_id" >= 9231 AND "keyword"."id" <= 98613 AND "title"."id" IS NOT NULL; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("movie_companies"."company_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."episode_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "title"."id" <= 12520317; +SELECT "name"."gender", SUM("name"."id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."gender" != '%f%' AND "name"."surname_pcode" != '%K352%' AND "aka_name"."id" >= 582985 GROUP BY "name"."gender" ORDER BY "name"."gender"; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "title"."episode_of_id" >= 830040.4890620675 AND "movie_info"."info_type_id" >= 2; +SELECT MAX("company_name"."name_pcode_sf") AS agg_0, MAX("company_name"."md5sum") AS agg_1, MAX("company_name"."name_pcode_nf") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("movie_companies"."id") AS agg_4, MAX("company_name"."country_code") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" <= 1; +SELECT MAX("name"."gender") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("person_info"."note") AS agg_4, MAX("aka_name"."imdb_index") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("person_info"."id") AS agg_7, MAX("name"."name") AS agg_8, MAX("name"."id") AS agg_9, MAX("name"."surname_pcode") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" <> '%f%' AND "name"."id" <= 53308 AND "aka_name"."person_id" <= 31569; +SELECT "title"."imdb_index", SUM("movie_keyword"."keyword_id") AS agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2002.8016393474704 AND "keyword"."id" <= 229 AND "movie_keyword"."movie_id" <= 35108 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" >= 1 AND "movie_companies"."movie_id" <= 1251561 AND "movie_companies"."company_id" >= 127 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "movie_companies"."company_type_id", AVG("title"."kind_id") AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT MAX("company_name"."name") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("company_name"."id") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("company_name"."country_code") AS agg_5, MAX("movie_companies"."company_type_id") AS agg_6, MAX("movie_companies"."company_id") AS agg_7, MAX("company_name"."name_pcode_nf") AS agg_8, MAX("title"."phonetic_code") AS agg_9, MAX("title"."md5sum") AS agg_10, MAX("title"."imdb_index") AS agg_11 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" <= 1163987; +SELECT "aka_name"."imdb_index", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."id" <= 1627548 AND "name"."imdb_index" != '%LV%' AND "aka_name"."person_id" <= 3879139 GROUP BY "aka_name"."imdb_index" ORDER BY "aka_name"."imdb_index"; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("company_type"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, AVG("movie_keyword"."keyword_id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 2256642 AND "keyword"."id" <= 27078 AND "movie_keyword"."keyword_id" <= 378; +SELECT "company_type"."kind", COUNT(*) as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" >= 2 AND "movie_companies"."id" <= 1365352 AND "movie_companies"."movie_id" <= 2079011 AND "movie_companies"."company_id" >= 957 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT MAX("person_info"."id") AS agg_0, MAX("person_info"."info_type_id") AS agg_1, MAX("name"."surname_pcode") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("name"."gender") AS agg_4, MAX("person_info"."person_id") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20739188; +SELECT SUM("movie_info_idx"."info_type_id") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."production_year" <= 2009.1394453841183 AND "movie_info_idx"."id" <= 336222; +SELECT MAX("aka_name"."name") AS agg_0, MAX("char_name"."imdb_id") AS agg_1, MAX("aka_name"."name_pcode_cf") AS agg_2, MAX("aka_name"."md5sum") AS agg_3, MAX("cast_info"."role_id") AS agg_4, MAX("char_name"."name") AS agg_5, MAX("char_name"."md5sum") AS agg_6, MAX("char_name"."id") AS agg_7, MAX("cast_info"."movie_id") AS agg_8, MAX("aka_name"."name_pcode_nf") AS agg_9, MAX("cast_info"."nr_order") AS agg_10 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "char_name"."id" <= 58708 AND "cast_info"."person_role_id" <= 25598; +SELECT "title"."kind_id", COUNT(*) as agg_0, AVG("title"."season_nr") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."episode_nr" >= 1.1600008029453877 AND "link_type"."link" != '%similar to%' AND "link_type"."id" = 3 AND "title"."id" <= 270392 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "movie_keyword"."movie_id" <= 22656; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("title"."title") AS agg_3, MAX("movie_info_idx"."info") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("info_type"."info") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("title"."md5sum") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2516527 AND "movie_info_idx"."info_type_id" <= 113 AND "info_type"."id" <= 113; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."name_pcode_sf") AS agg_1, MAX("movie_companies"."company_id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("company_name"."name") AS agg_5, MAX("company_name"."country_code") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "movie_companies"."id" <= 21399 AND "company_type"."id" <= 1; +SELECT SUM("movie_info_idx"."movie_id") AS agg_0, COUNT(*) AS agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."id" <= 113; +SELECT AVG("movie_companies"."id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."movie_id" <= 2099696 AND "movie_companies"."company_type_id" != 1 AND "company_type"."kind" != '%miscellaneous companies%'; +SELECT "company_type"."kind", COUNT(*) as agg_0, SUM("company_type"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 1963901 AND "company_type"."id" != 1 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT COUNT(*) as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1877.7865475049337 AND "movie_companies"."id" >= 1263057 AND "movie_companies"."company_id" >= 24536; +SELECT AVG("title"."id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 41451 AND "movie_keyword"."id" >= 208414; +SELECT MAX("aka_name"."id") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("cast_info"."role_id") AS agg_2, MAX("aka_name"."surname_pcode") AS agg_3, MAX("cast_info"."person_role_id") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("aka_name"."name") AS agg_6, MAX("aka_name"."name_pcode_nf") AS agg_7, MAX("aka_name"."person_id") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10, MAX("cast_info"."nr_order") AS agg_11 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."id" <= 4468430 AND "name"."id" <= 20804048 AND "cast_info"."person_role_id" <= 15683646; +SELECT COUNT(*) as agg_0, SUM("movie_keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 89830 AND "movie_keyword"."keyword_id" <= 16879; +SELECT AVG("cast_info"."id") as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."surname_pcode" != '%C436%' AND "name"."imdb_index" != '%VIII%'; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."title") AS agg_1, MAX("info_type"."id") AS agg_2, MAX("movie_info_idx"."info") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("info_type"."info") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."id" <= 113 AND "movie_info_idx"."movie_id" <= 12578477 AND "title"."episode_of_id" <= 2527169; +SELECT SUM("cast_info"."person_role_id") as agg_0, COUNT(*) as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."nr_order" >= 17.426743246287618 AND "cast_info"."person_role_id" >= 4463.157187643946 AND "cast_info"."person_id" >= 985583; +SELECT MAX("title"."title") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("keyword"."phonetic_code") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."imdb_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("keyword"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("kind_type"."kind") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."kind_id") AS agg_6 FROM "title" LEFT OUTER JOIN "kind_type" ON "title"."kind_id" = "kind_type"."id" WHERE "kind_type"."kind" <> '%tv mini series%' AND "title"."production_year" >= 2010.0786023277876 AND "title"."kind_id" <= 4; +SELECT AVG("title"."kind_id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "title"."episode_nr" <= 49.48792888616402 AND "kind_type"."kind" != '%episode%'; +SELECT SUM("title"."episode_nr") as agg_0, SUM("movie_info_idx"."movie_id") as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.6796260813025725 AND "title"."episode_nr" <= 46178.31459743228 AND "title"."episode_of_id" >= 1173490.372576542; +SELECT "movie_companies"."company_type_id", AVG("movie_companies"."id") as agg_0, AVG("movie_companies"."id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 2477779 AND "movie_companies"."company_id" <= 10153 AND "movie_companies"."company_type_id" <= 2 AND "company_type"."kind" != '%distributors%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "movie_info_idx"."info_type_id", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "info_type"."info" != '%novel%' AND "movie_info_idx"."id" <= 855698 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT AVG("cast_info"."person_id") AS agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" WHERE "cast_info"."id" <= 179823006 AND "char_name"."id" <= 15655306; +SELECT "title"."kind_id", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1.0 AND "company_name"."id" <= 187782 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("name"."imdb_id") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("aka_name"."person_id") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("name"."md5sum") AS agg_5, MAX("person_info"."person_id") AS agg_6, MAX("name"."imdb_index") AS agg_7, MAX("aka_name"."imdb_index") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("person_info"."info_type_id") AS agg_10 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT "company_type"."id", SUM("movie_companies"."company_id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 2 AND "movie_companies"."movie_id" >= 368744 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT "name"."surname_pcode", COUNT(*) as agg_0 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "person_info"."person_id" <= 191199 AND "name"."id" <= 3707899 AND "aka_name"."id" >= 470005 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT AVG("name"."id") AS agg_0 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."id" <= 4472882 AND "name"."id" <= 20830654; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("movie_info_idx"."note") AS agg_2 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 99; +SELECT MAX("name"."gender") AS agg_0, MAX("person_info"."note") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("person_info"."info_type_id") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "name"."id" <= 20682978 AND "person_info"."info_type_id" <= 39; +SELECT MAX("title"."id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."title") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2010.131419361733 AND "title"."id" <= 37992; +SELECT MAX("movie_keyword"."id") AS agg_0, MAX("keyword"."id") AS agg_1, MAX("keyword"."phonetic_code") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id"; +SELECT COUNT(*) as agg_0, SUM("keyword"."id") as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."keyword_id" <= 575 AND "movie_keyword"."id" <= 4442943; +SELECT "title"."imdb_index", AVG("movie_keyword"."keyword_id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 83683 AND "movie_keyword"."movie_id" <= 2045071 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT "movie_info_idx"."info_type_id", AVG("movie_info_idx"."info_type_id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."movie_id" <= 1297564 AND "info_type"."id" <= 102 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 3.666081189220511 AND "title"."episode_of_id" >= 14995.765680187313 AND "movie_info_idx"."info_type_id" <= 99 AND "movie_info_idx"."movie_id" >= 158567 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("name"."name") AS agg_0, MAX("aka_name"."imdb_index") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("name"."imdb_index") AS agg_4, MAX("aka_name"."name_pcode_nf") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("name"."id") AS agg_7, MAX("aka_name"."md5sum") AS agg_8, MAX("person_info"."info_type_id") AS agg_9, MAX("person_info"."id") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."gender" <> '%m%' AND "name"."id" <= 30229 AND "person_info"."info_type_id" <= 15; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("title"."production_year") AS agg_1, MAX("movie_info_idx"."info_type_id") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_info_idx"."movie_id") AS agg_4, MAX("info_type"."id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."kind_id" <= 1993 AND "info_type"."id" <= 113; +SELECT AVG("title"."episode_nr") as agg_0, COUNT(*) as agg_1 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "movie_info"."info_type_id" <= 1 AND "movie_info"."movie_id" <= 448040 AND "title"."episode_of_id" >= 387095.222328803; +SELECT SUM("movie_link"."linked_movie_id") as agg_0, SUM("title"."season_nr") as agg_1 FROM "movie_link" LEFT OUTER JOIN "link_type" ON "movie_link"."link_type_id" = "link_type"."id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "title"."id" <= 233515 AND "movie_link"."id" >= 19861 AND "link_type"."id" IS NOT NULL; +SELECT MAX("movie_info"."note") AS agg_0, MAX("movie_info"."id") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("movie_info"."movie_id") AS agg_3, MAX("title"."md5sum") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2006.0000405870899 AND "title"."kind_id" <= 4; +SELECT COUNT(*) as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 220955.47474178518 AND "movie_info"."movie_id" >= 2377488; +SELECT MAX("person_info"."person_id") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."name_pcode_cf") AS agg_3, MAX("person_info"."info_type_id") AS agg_4, MAX("person_info"."info") AS agg_5, MAX("name"."surname_pcode") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."surname_pcode" <> '%U253%' AND "name"."imdb_index" <> '%CLXXII%' AND "person_info"."person_id" <= 22648; +SELECT MAX("title"."production_year") AS agg_0, MAX("movie_keyword"."movie_id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."episode_nr") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133266 AND "title"."episode_of_id" <= 2512549; +SELECT MAX("title"."title") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."kind_id") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("keyword"."keyword") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 12565947 AND "keyword"."id" <= 133592 AND "title"."id" <= 12621573; +SELECT AVG("cast_info"."id") AS agg_0, AVG("cast_info"."person_id") AS agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "aka_name"."id" <= 4484987 AND "name"."id" <= 20824763 AND "cast_info"."person_role_id" <= 15609234; +SELECT MAX("title"."title") AS agg_0, MAX("movie_companies"."company_type_id") AS agg_1, MAX("title"."production_year") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("movie_companies"."note") AS agg_6, MAX("title"."imdb_index") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."series_years" <> '%1969-1987%' AND "movie_companies"."movie_id" <= 29122; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "name"."surname_pcode" != '%U563%' AND "aka_name"."id" <= 451999 AND "name"."id" <= 3479654 AND "aka_name"."person_id" <= 4102555; +SELECT SUM("cast_info"."person_role_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."nr_order" <= 13.385782620191542 AND "cast_info"."role_id" >= 9; +SELECT COUNT(*) AS agg_0, AVG("movie_keyword"."movie_id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 20955; +SELECT MAX("title"."phonetic_code") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."season_nr") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."production_year") AS agg_7, MAX("title"."episode_of_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 1990.014142122256 AND "movie_keyword"."id" <= 28725 AND "title"."episode_of_id" <= 7272; +SELECT COUNT(*) as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "cast_info"."movie_id" >= 261232 AND "char_name"."imdb_index" != '%II%' AND "char_name"."id" >= 344505 AND "cast_info"."person_id" >= 1349481; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("title"."imdb_index") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("keyword"."keyword") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("keyword"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 30.483031768291273 AND "title"."id" <= 12966 AND "movie_keyword"."movie_id" <= 28837; +SELECT MAX("movie_companies"."note") AS agg_0, MAX("title"."series_years") AS agg_1, MAX("title"."episode_of_id") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."imdb_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."season_nr") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id"; +SELECT COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."production_year" >= 2010.89814389489 AND "movie_info_idx"."movie_id" <= 1729471; +SELECT MAX("movie_info_idx"."info") AS agg_0, MAX("movie_info_idx"."info_type_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."kind_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."production_year") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info_idx"."movie_id" <= 17049; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("aka_name"."md5sum") AS agg_1, MAX("aka_name"."name_pcode_nf") AS agg_2, MAX("name"."name") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("aka_name"."id") AS agg_5, MAX("name"."imdb_index") AS agg_6, MAX("name"."surname_pcode") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."surname_pcode" <> '%V231%' AND "name"."id" <= 81207; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 93754 AND "movie_keyword"."id" <= 2395235; +SELECT COUNT(*) as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_name"."id" >= 103596 AND "movie_companies"."company_id" >= 285 AND "title"."id" IS NOT NULL; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("name"."name_pcode_nf") AS agg_1, MAX("aka_name"."name") AS agg_2, MAX("name"."name") AS agg_3, MAX("name"."surname_pcode") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."md5sum") AS agg_6, MAX("aka_name"."id") AS agg_7 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id"; +SELECT COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" >= 4102498 AND "cast_info"."role_id" <= 2 AND "aka_name"."id" <= 619378; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("movie_info"."info") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."production_year") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("title"."episode_of_id") AS agg_7 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 78747.0111654844 AND "movie_info"."movie_id" <= 35109; +SELECT "title"."kind_id", COUNT(*) as agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."nr_order" <= 9.827895041614223 AND "cast_info"."id" <= 3420469 AND "title"."season_nr" <= 1.0 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("title"."series_years") AS agg_0, MAX("title"."kind_id") AS agg_1, MAX("title"."md5sum") AS agg_2, MAX("title"."title") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("movie_info_idx"."info") AS agg_6, MAX("title"."episode_nr") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%LD laserdisc title%' AND "info_type"."id" <= 1 AND "movie_info_idx"."id" <= 25721; +SELECT MAX("movie_keyword"."movie_id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 12582847 AND "keyword"."id" <= 133916; +SELECT MAX("keyword"."phonetic_code") AS agg_0, MAX("title"."phonetic_code") AS agg_1, MAX("title"."season_nr") AS agg_2, MAX("title"."episode_nr") AS agg_3, MAX("movie_keyword"."movie_id") AS agg_4, MAX("title"."production_year") AS agg_5, MAX("title"."title") AS agg_6, MAX("title"."imdb_index") AS agg_7, MAX("title"."imdb_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2519960 AND "keyword"."id" <= 133773 AND "movie_keyword"."keyword_id" <= 133313; +SELECT SUM("info_type"."id") as agg_0, COUNT(*) as agg_1 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."id" >= 179849 AND "info_type"."info" != '%agent address%' AND "info_type"."id" <= 107; +SELECT MAX("title"."production_year") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("keyword"."keyword") AS agg_2, MAX("movie_keyword"."keyword_id") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("keyword"."phonetic_code") AS agg_7, MAX("title"."id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 147 AND "title"."episode_of_id" <= 6966; +SELECT "title"."series_years", SUM("title"."episode_of_id") as agg_0, AVG("title"."episode_nr") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "title"."kind_id" = 7 AND "movie_info_idx"."info_type_id" >= 100 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 423; +SELECT SUM("title"."id") as agg_0 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "movie_companies"."movie_id" >= 60439 AND "movie_companies"."id" <= 465634 AND "company_type"."id" IS NOT NULL; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_name"."imdb_id") AS agg_1, MAX("company_type"."kind") AS agg_2, MAX("movie_companies"."id") AS agg_3, MAX("movie_companies"."note") AS agg_4, MAX("company_name"."md5sum") AS agg_5, MAX("movie_companies"."movie_id") AS agg_6 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id" WHERE "movie_companies"."id" <= 42247 AND "company_name"."id" <= 2502; +SELECT COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."id" <= 297995 AND "cast_info"."movie_id" <= 911903 AND "aka_name"."surname_pcode" != '%G516%'; +SELECT MAX("keyword"."id") AS agg_0, MAX("keyword"."keyword") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "movie_keyword"."movie_id" <= 42289; +SELECT "company_type"."kind", COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" <= 4 AND "title"."id" <= 12639155 AND "movie_companies"."company_type_id" <= 2 GROUP BY "company_type"."kind" ORDER BY "company_type"."kind"; +SELECT SUM("movie_companies"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."id" <= 2 AND "movie_companies"."movie_id" >= 925035 AND "movie_companies"."company_id" <= 17073 AND "movie_companies"."company_type_id" = 1; +SELECT SUM("title"."kind_id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 102721 AND "movie_keyword"."movie_id" <= 2258886; +SELECT "title"."series_years", AVG("title"."id") as agg_0 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 870146.9888764963 AND "movie_keyword"."id" <= 4137622 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("person_info"."info") AS agg_1, MAX("aka_name"."imdb_index") AS agg_2, MAX("name"."md5sum") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("name"."surname_pcode") AS agg_5, MAX("person_info"."person_id") AS agg_6, MAX("name"."imdb_id") AS agg_7, MAX("aka_name"."surname_pcode") AS agg_8, MAX("aka_name"."md5sum") AS agg_9, MAX("name"."name_pcode_cf") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "name"."id" <= 72132 AND "aka_name"."person_id" <= 56734; +SELECT MAX("movie_companies"."company_type_id") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."id") AS agg_2 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."id" <= 40231; +SELECT MAX("movie_companies"."id") AS agg_0, MAX("company_name"."name") AS agg_1, MAX("movie_companies"."movie_id") AS agg_2, MAX("company_name"."md5sum") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("company_name"."id") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."id" <= 4118; +SELECT MAX("keyword"."id") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."movie_id") AS agg_2 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 201; +SELECT "title"."imdb_index", COUNT(*) as agg_0, AVG("title"."production_year") as agg_1 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" WHERE "movie_info"."movie_id" <= 2218137 AND "title"."kind_id" >= 7 AND "movie_info_idx"."info_type_id" >= 101 AND "movie_info_idx"."movie_id" <= 944233 GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("movie_companies"."movie_id") AS agg_1, MAX("company_name"."name_pcode_sf") AS agg_2, MAX("company_name"."imdb_id") AS agg_3, MAX("company_name"."country_code") AS agg_4, MAX("movie_companies"."note") AS agg_5, MAX("company_name"."md5sum") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id"; +SELECT "title"."series_years", SUM("char_name"."id") as agg_0 FROM "cast_info" LEFT OUTER JOIN "char_name" ON "cast_info"."person_role_id" = "char_name"."id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "char_name"."imdb_index" != '%D%' AND "cast_info"."id" <= 14534031 AND "cast_info"."person_role_id" <= 2800737.360970864 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("title"."season_nr") as agg_0, COUNT(*) as agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" >= 61289 AND "movie_keyword"."movie_id" <= 2510061 AND "title"."kind_id" = 7 AND "title"."episode_nr" <= 31.463450347305823; +SELECT MAX("aka_name"."md5sum") AS agg_0, MAX("person_info"."person_id") AS agg_1, MAX("name"."name_pcode_cf") AS agg_2, MAX("person_info"."info") AS agg_3, MAX("aka_name"."id") AS agg_4, MAX("name"."imdb_id") AS agg_5, MAX("name"."id") AS agg_6, MAX("name"."surname_pcode") AS agg_7, MAX("name"."md5sum") AS agg_8, MAX("person_info"."note") AS agg_9, MAX("aka_name"."surname_pcode") AS agg_10 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT SUM("movie_keyword"."id") as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" <= 72200 AND "movie_keyword"."movie_id" >= 1716235 AND "movie_keyword"."keyword_id" <= 9394 AND "movie_keyword"."id" >= 1792005; +SELECT MAX("title"."md5sum") AS agg_0, MAX("title"."episode_nr") AS agg_1, MAX("title"."title") AS agg_2, MAX("title"."series_years") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."id") AS agg_6 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" <= 7; +SELECT MAX("name"."imdb_index") AS agg_0, MAX("aka_name"."name_pcode_nf") AS agg_1, MAX("aka_name"."person_id") AS agg_2, MAX("aka_name"."id") AS agg_3, MAX("aka_name"."md5sum") AS agg_4, MAX("name"."gender") AS agg_5, MAX("name"."name_pcode_nf") AS agg_6, MAX("name"."md5sum") AS agg_7 FROM "name" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "aka_name"."person_id" <= 20823761; +SELECT COUNT(*) as agg_0, SUM("keyword"."id") as agg_1 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "keyword"."id" >= 90339 AND "movie_keyword"."id" >= 1371933 AND "movie_keyword"."movie_id" <= 2349999; +SELECT "title"."imdb_index", COUNT(*) as agg_0, COUNT(*) as agg_1 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."person_id" >= 3574341 AND "cast_info"."movie_id" >= 1229295 AND "title"."series_years" != '%1949-1956%' GROUP BY "title"."imdb_index" ORDER BY "title"."imdb_index"; +SELECT MAX("keyword"."keyword") AS agg_0, MAX("movie_keyword"."keyword_id") AS agg_1, MAX("movie_keyword"."id") AS agg_2 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 132914 AND "movie_keyword"."movie_id" <= 12616413; +SELECT MAX("title"."episode_nr") AS agg_0, MAX("title"."id") AS agg_1, MAX("keyword"."id") AS agg_2, MAX("keyword"."keyword") AS agg_3, MAX("title"."kind_id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."phonetic_code") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("movie_keyword"."movie_id") AS agg_8 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 384 AND "movie_keyword"."movie_id" <= 35052; +SELECT "title"."kind_id", SUM("movie_link"."id") as agg_0, COUNT(*) as agg_1 FROM "link_type" LEFT OUTER JOIN "movie_link" ON "link_type"."id" = "movie_link"."link_type_id" LEFT OUTER JOIN "title" ON "movie_link"."movie_id" = "title"."id" WHERE "link_type"."link" != '%unknown link%' AND "movie_link"."link_type_id" != 9 AND "link_type"."id" <= 7 AND "title"."id" <= 189603 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("char_name"."surname_pcode") AS agg_1, MAX("cast_info"."person_id") AS agg_2, MAX("cast_info"."note") AS agg_3, MAX("char_name"."md5sum") AS agg_4, MAX("char_name"."id") AS agg_5, MAX("char_name"."name") AS agg_6 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."imdb_index" <> '%IV%' AND "cast_info"."person_role_id" <= 36353; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("keyword"."phonetic_code") AS agg_1, MAX("movie_keyword"."keyword_id") AS agg_2, MAX("title"."imdb_id") AS agg_3, MAX("title"."season_nr") AS agg_4, MAX("title"."series_years") AS agg_5, MAX("keyword"."keyword") AS agg_6, MAX("title"."md5sum") AS agg_7, MAX("title"."phonetic_code") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."movie_id" <= 21020 AND "title"."kind_id" <= 6; +SELECT "movie_companies"."company_type_id", COUNT(*) AS agg_0 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_type_id" <= 2 AND "company_name"."id" <= 1165505 AND "title"."episode_of_id" <= 2516597 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "name"."surname_pcode", AVG("cast_info"."nr_order") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 15600094 AND "aka_name"."person_id" <= 20651277 AND "name"."id" <= 20814908 GROUP BY "name"."surname_pcode" ORDER BY "name"."surname_pcode"; +SELECT MAX("title"."title") AS agg_0, MAX("movie_keyword"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("movie_keyword"."keyword_id") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."imdb_index") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("title"."kind_id") AS agg_8 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id"; +SELECT "title"."series_years", SUM("movie_keyword"."movie_id") as agg_0, SUM("title"."kind_id") as agg_1 FROM "title" LEFT OUTER JOIN "movie_keyword" ON "title"."id" = "movie_keyword"."movie_id" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" WHERE "title"."episode_of_id" <= 1149816.444386371 AND "movie_keyword"."movie_id" >= 333584 AND "keyword"."id" <= 114574 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT AVG("char_name"."id") as agg_0 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."episode_of_id" >= 587423.703232103 AND "cast_info"."person_id" <= 644115 AND "title"."episode_nr" <= 110.29018995574572 AND "title"."id" >= 1853638; +SELECT "company_type"."id", COUNT(*) AS agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "company_type"."kind" <> '%miscellaneous companies%' AND "movie_companies"."company_id" <= 3178 GROUP BY "company_type"."id" ORDER BY "company_type"."id"; +SELECT AVG("name"."id") AS agg_0 FROM "aka_name" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id" WHERE "aka_name"."person_id" <= 20658244; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_companies"."note") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("movie_companies"."company_id") AS agg_4, MAX("title"."imdb_index") AS agg_5, MAX("title"."id") AS agg_6, MAX("title"."series_years") AS agg_7 FROM "movie_companies" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "movie_companies"."company_id" <= 4032; +SELECT MAX("info_type"."info") AS agg_0, MAX("info_type"."id") AS agg_1, MAX("title"."id") AS agg_2, MAX("movie_info_idx"."note") AS agg_3, MAX("movie_info_idx"."id") AS agg_4, MAX("title"."episode_of_id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("title"."kind_id") AS agg_7, MAX("title"."season_nr") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "title"."season_nr" <= 2.215210641769133 AND "title"."kind_id" <= 5 AND "info_type"."id" <= 1; +SELECT MAX("name"."name_pcode_nf") AS agg_0, MAX("name"."gender") AS agg_1, MAX("person_info"."info_type_id") AS agg_2, MAX("name"."imdb_index") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."id") AS agg_5, MAX("name"."md5sum") AS agg_6 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id"; +SELECT COUNT(*) as agg_0, AVG("person_info"."person_id") as agg_1 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" WHERE "person_info"."id" >= 1386650 AND "person_info"."person_id" >= 2304218 AND "name"."id" >= 3996444; +SELECT AVG("title"."production_year") as agg_0 FROM "movie_info" LEFT OUTER JOIN "title" ON "movie_info"."movie_id" = "title"."id" WHERE "title"."episode_nr" <= 1.3335943412885904 AND "title"."id" <= 601985 AND "movie_info"."movie_id" <= 2354333; +SELECT "title"."series_years", COUNT(*) as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%LD additional information%' AND "title"."episode_nr" >= 4.457941889676504 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."company_type_id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "company_name"."country_code" != '%[gw]%' AND "movie_companies"."movie_id" <= 2515301 AND "company_name"."id" <= 73776 AND "movie_companies"."id" >= 866798 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT "title"."series_years", COUNT(*) AS agg_0 FROM "cast_info" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "cast_info"."id" <= 180695525 GROUP BY "title"."series_years" ORDER BY "title"."series_years"; +SELECT MAX("cast_info"."movie_id") AS agg_0, MAX("aka_name"."name_pcode_cf") AS agg_1, MAX("cast_info"."person_role_id") AS agg_2, MAX("cast_info"."nr_order") AS agg_3, MAX("aka_name"."name") AS agg_4, MAX("aka_name"."person_id") AS agg_5, MAX("aka_name"."id") AS agg_6 FROM "cast_info" LEFT OUTER JOIN "aka_name" ON "cast_info"."person_id" = "aka_name"."id" WHERE "aka_name"."person_id" <= 20725189; +SELECT AVG("cast_info"."person_role_id") as agg_0, SUM("cast_info"."role_id") as agg_1 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" LEFT OUTER JOIN "name" ON "aka_name"."person_id" = "name"."id" WHERE "aka_name"."surname_pcode" != '%B154%' AND "cast_info"."nr_order" >= 8.149203665523764 AND "name"."id" IS NOT NULL; +SELECT "title"."kind_id", AVG("title"."production_year") AS agg_0, SUM("keyword"."id") AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 133333 AND "title"."id" <= 12614036 GROUP BY "title"."kind_id" ORDER BY "title"."kind_id"; +SELECT "movie_info_idx"."info_type_id", SUM("info_type"."id") as agg_0 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" WHERE "movie_info_idx"."info_type_id" <= 99 AND "movie_info_idx"."id" <= 494957 GROUP BY "movie_info_idx"."info_type_id" ORDER BY "movie_info_idx"."info_type_id"; +SELECT MAX("title"."imdb_index") AS agg_0, MAX("title"."md5sum") AS agg_1, MAX("movie_info"."movie_id") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("title"."phonetic_code") AS agg_4, MAX("title"."id") AS agg_5, MAX("title"."series_years") AS agg_6, MAX("movie_info"."info_type_id") AS agg_7 FROM "title" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id"; +SELECT "movie_companies"."company_type_id", SUM("company_type"."id") as agg_0 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 108756 AND "movie_companies"."movie_id" <= 1979410 GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT SUM("title"."id") as agg_0, COUNT(*) as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "company_type"."id" != 1 AND "title"."episode_of_id" <= 281891.78444286744; +SELECT MAX("title"."season_nr") AS agg_0, MAX("movie_info_idx"."id") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("info_type"."id") AS agg_3, MAX("title"."series_years") AS agg_4, MAX("title"."episode_nr") AS agg_5, MAX("title"."kind_id") AS agg_6, MAX("title"."id") AS agg_7, MAX("movie_info_idx"."note") AS agg_8 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "movie_info_idx"."id" <= 6864360 AND "title"."episode_of_id" <= 2524297 AND "info_type"."id" <= 113; +SELECT MAX("movie_info_idx"."movie_id") AS agg_0, MAX("title"."imdb_id") AS agg_1, MAX("movie_info"."id") AS agg_2, MAX("title"."production_year") AS agg_3, MAX("title"."episode_of_id") AS agg_4, MAX("movie_info_idx"."id") AS agg_5, MAX("movie_info_idx"."note") AS agg_6, MAX("title"."phonetic_code") AS agg_7, MAX("movie_info_idx"."info_type_id") AS agg_8, MAX("movie_info_idx"."info") AS agg_9, MAX("movie_info"."movie_id") AS agg_10 FROM "movie_info_idx" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info_idx"."id" <= 8653 AND "title"."episode_of_id" <= 8642; +SELECT "char_name"."imdb_index", COUNT(*) as agg_0, SUM("cast_info"."person_role_id") as agg_1 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" WHERE "char_name"."id" >= 1380115 AND "cast_info"."movie_id" >= 708177 GROUP BY "char_name"."imdb_index" ORDER BY "char_name"."imdb_index"; +SELECT MAX("aka_name"."name_pcode_nf") AS agg_0, MAX("name"."md5sum") AS agg_1, MAX("person_info"."note") AS agg_2, MAX("name"."imdb_id") AS agg_3, MAX("name"."name_pcode_cf") AS agg_4, MAX("aka_name"."surname_pcode") AS agg_5, MAX("aka_name"."id") AS agg_6, MAX("person_info"."info") AS agg_7, MAX("person_info"."id") AS agg_8, MAX("name"."name_pcode_nf") AS agg_9, MAX("aka_name"."name") AS agg_10 FROM "person_info" LEFT OUTER JOIN "name" ON "person_info"."person_id" = "name"."id" LEFT OUTER JOIN "aka_name" ON "name"."id" = "aka_name"."person_id" WHERE "name"."imdb_index" <> '%LVII%' AND "aka_name"."surname_pcode" <> '%V214%' AND "name"."id" <= 33390 AND "aka_name"."id" <= 10848; +SELECT COUNT(*) as agg_0, AVG("title"."episode_nr") as agg_1 FROM "title" LEFT OUTER JOIN "cast_info" ON "title"."id" = "cast_info"."movie_id" WHERE "cast_info"."person_id" <= 2751499 AND "cast_info"."nr_order" <= 14.86591648695893 AND "title"."episode_of_id" <= 1549634.0767911666 AND "cast_info"."movie_id" >= 1152326; +SELECT MAX("movie_keyword"."keyword_id") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."phonetic_code") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_keyword"."id") AS agg_4, MAX("title"."title") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2525172; +SELECT "kind_type"."id", AVG("title"."kind_id") as agg_0 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."kind" != '%episode%' AND "title"."production_year" >= 2006.622255370102 AND "title"."series_years" != '%1966-1990%' GROUP BY "kind_type"."id" ORDER BY "kind_type"."id"; +SELECT MAX("company_type"."kind") AS agg_0, MAX("company_type"."id") AS agg_1, MAX("movie_companies"."company_id") AS agg_2 FROM "movie_companies" LEFT OUTER JOIN "company_type" ON "movie_companies"."company_type_id" = "company_type"."id"; +SELECT COUNT(*) AS agg_0, COUNT(*) AS agg_1 FROM "keyword" LEFT OUTER JOIN "movie_keyword" ON "keyword"."id" = "movie_keyword"."keyword_id" WHERE "keyword"."id" <= 248; +SELECT MAX("company_name"."name") AS agg_0, MAX("company_name"."name_pcode_nf") AS agg_1, MAX("company_name"."md5sum") AS agg_2, MAX("movie_companies"."note") AS agg_3, MAX("company_name"."imdb_id") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5, MAX("company_type"."id") AS agg_6 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_type"."id" <= 4 AND "movie_companies"."movie_id" <= 12580147; +SELECT COUNT(*) AS agg_0 FROM "title" LEFT OUTER JOIN "movie_companies" ON "title"."id" = "movie_companies"."movie_id" WHERE "movie_companies"."movie_id" <= 12527566; +SELECT MAX("title"."title") AS agg_0, MAX("info_type"."info") AS agg_1, MAX("title"."kind_id") AS agg_2, MAX("movie_info_idx"."movie_id") AS agg_3, MAX("title"."imdb_index") AS agg_4, MAX("title"."phonetic_code") AS agg_5, MAX("title"."episode_of_id") AS agg_6, MAX("movie_info_idx"."id") AS agg_7, MAX("movie_info_idx"."info") AS agg_8 FROM "info_type" LEFT OUTER JOIN "movie_info_idx" ON "info_type"."id" = "movie_info_idx"."info_type_id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" <> '%countries%' AND "movie_info_idx"."id" <= 24803 AND "title"."kind_id" <= 6; +SELECT MAX("title"."season_nr") AS agg_0, MAX("title"."episode_of_id") AS agg_1, MAX("title"."series_years") AS agg_2, MAX("title"."md5sum") AS agg_3, MAX("title"."episode_nr") AS agg_4, MAX("movie_keyword"."keyword_id") AS agg_5, MAX("title"."imdb_id") AS agg_6 FROM "movie_keyword" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "movie_keyword"."id" <= 22526677; +SELECT MAX("title"."episode_of_id") AS agg_0, MAX("movie_companies"."id") AS agg_1, MAX("movie_companies"."company_type_id") AS agg_2, MAX("title"."season_nr") AS agg_3, MAX("movie_companies"."movie_id") AS agg_4, MAX("movie_companies"."company_id") AS agg_5, MAX("title"."production_year") AS agg_6, MAX("title"."imdb_id") AS agg_7, MAX("title"."series_years") AS agg_8 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" LEFT OUTER JOIN "title" ON "movie_companies"."movie_id" = "title"."id" WHERE "title"."episode_of_id" <= 2516991 AND "movie_companies"."movie_id" <= 12546777; +SELECT SUM("company_name"."id") as agg_0 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id" WHERE "movie_companies"."company_type_id" = 2 AND "movie_companies"."movie_id" <= 752359; +SELECT MAX("movie_companies"."movie_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("movie_companies"."id") AS agg_2, MAX("company_name"."country_code") AS agg_3, MAX("company_name"."name_pcode_nf") AS agg_4, MAX("company_name"."name_pcode_sf") AS agg_5 FROM "company_name" LEFT OUTER JOIN "movie_companies" ON "company_name"."id" = "movie_companies"."company_id"; +SELECT MAX("name"."gender") AS agg_0, MAX("person_info"."person_id") AS agg_1, MAX("name"."name_pcode_nf") AS agg_2, MAX("person_info"."note") AS agg_3, MAX("name"."name") AS agg_4, MAX("name"."id") AS agg_5, MAX("person_info"."id") AS agg_6 FROM "name" LEFT OUTER JOIN "person_info" ON "name"."id" = "person_info"."person_id"; +SELECT SUM("info_type"."id") as agg_0 FROM "movie_info_idx" LEFT OUTER JOIN "info_type" ON "movie_info_idx"."info_type_id" = "info_type"."id" LEFT OUTER JOIN "title" ON "movie_info_idx"."movie_id" = "title"."id" WHERE "info_type"."info" != '%spouse%' AND "title"."id" <= 270152 AND "info_type"."id" >= 32 AND "movie_info_idx"."info_type_id" <= 101; +SELECT SUM("aka_name"."person_id") as agg_0 FROM "aka_name" LEFT OUTER JOIN "cast_info" ON "aka_name"."id" = "cast_info"."person_id" WHERE "cast_info"."person_role_id" <= 207468.31389090692 AND "cast_info"."movie_id" <= 2204942 AND "aka_name"."person_id" >= 3069690; +SELECT MAX("company_name"."imdb_id") AS agg_0, MAX("movie_companies"."company_id") AS agg_1, MAX("company_name"."name") AS agg_2, MAX("movie_companies"."company_type_id") AS agg_3, MAX("company_name"."name_pcode_sf") AS agg_4, MAX("company_name"."name_pcode_nf") AS agg_5 FROM "movie_companies" LEFT OUTER JOIN "company_name" ON "movie_companies"."company_id" = "company_name"."id" WHERE "company_name"."id" <= 2433; +SELECT "movie_companies"."company_type_id", SUM("movie_companies"."id") as agg_0, SUM("movie_companies"."movie_id") as agg_1 FROM "company_type" LEFT OUTER JOIN "movie_companies" ON "company_type"."id" = "movie_companies"."company_type_id" WHERE "movie_companies"."company_type_id" != 1 AND "company_type"."kind" != '%special effects companies%' GROUP BY "movie_companies"."company_type_id" ORDER BY "movie_companies"."company_type_id"; +SELECT COUNT(*) as agg_0, AVG("title"."kind_id") as agg_1 FROM "kind_type" LEFT OUTER JOIN "title" ON "kind_type"."id" = "title"."kind_id" WHERE "kind_type"."id" != 3 AND "kind_type"."kind" != '%tv series%' AND "title"."kind_id" != 1; +SELECT COUNT(*) as agg_0 FROM "movie_keyword" LEFT OUTER JOIN "keyword" ON "movie_keyword"."keyword_id" = "keyword"."id" LEFT OUTER JOIN "title" ON "movie_keyword"."movie_id" = "title"."id" WHERE "keyword"."id" <= 16323 AND "movie_keyword"."id" <= 2255833 AND "title"."episode_nr" <= 12.439315324747827 AND "title"."id" >= 1675146; +SELECT MAX("cast_info"."id") AS agg_0, MAX("cast_info"."person_role_id") AS agg_1, MAX("char_name"."surname_pcode") AS agg_2, MAX("cast_info"."person_id") AS agg_3, MAX("char_name"."imdb_index") AS agg_4, MAX("title"."imdb_id") AS agg_5, MAX("title"."season_nr") AS agg_6, MAX("cast_info"."nr_order") AS agg_7, MAX("char_name"."name_pcode_nf") AS agg_8, MAX("title"."id") AS agg_9, MAX("title"."episode_nr") AS agg_10, MAX("char_name"."id") AS agg_11, MAX("title"."kind_id") AS agg_12 FROM "char_name" LEFT OUTER JOIN "cast_info" ON "char_name"."id" = "cast_info"."person_role_id" LEFT OUTER JOIN "title" ON "cast_info"."movie_id" = "title"."id" WHERE "title"."season_nr" >= 1.0 AND "char_name"."id" <= 38579 AND "title"."kind_id" <= 5; +SELECT MAX("movie_info_idx"."note") AS agg_0, MAX("title"."season_nr") AS agg_1, MAX("title"."episode_nr") AS agg_2, MAX("title"."episode_of_id") AS agg_3, MAX("movie_info"."info_type_id") AS agg_4, MAX("movie_info_idx"."movie_id") AS agg_5, MAX("title"."title") AS agg_6, MAX("movie_info"."info") AS agg_7, MAX("title"."kind_id") AS agg_8, MAX("movie_info"."movie_id") AS agg_9, MAX("title"."id") AS agg_10 FROM "title" LEFT OUTER JOIN "movie_info_idx" ON "title"."id" = "movie_info_idx"."movie_id" LEFT OUTER JOIN "movie_info" ON "title"."id" = "movie_info"."movie_id" WHERE "movie_info_idx"."id" <= 6894554 AND "movie_info"."info_type_id" <= 110; diff --git a/workloads/IMDB_100GB/regular_rebalanced_5k/run_time_s-athena-aurora-redshift.npy b/workloads/IMDB_100GB/regular_rebalanced_5k/run_time_s-athena-aurora-redshift.npy new file mode 100644 index 0000000000000000000000000000000000000000..145a3bf01e413894af2800e810bd4742c895aa03 GIT binary patch literal 119960 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 A+W-In literal 0 HcmV?d00001