| [ | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT count(*) FROM teacher", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "teacher" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "teacher" | |
| ], | |
| "question": "Có bao nhiêu giáo viên ?", | |
| "question_toks": [ | |
| "How", | |
| "many", | |
| "teachers", | |
| "are", | |
| "there", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT count(*) FROM teacher", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "teacher" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "teacher" | |
| ], | |
| "question": "Tổng số giáo viên là bao nhiêu ?", | |
| "question_toks": [ | |
| "What", | |
| "is", | |
| "the", | |
| "total", | |
| "count", | |
| "of", | |
| "teachers", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Name FROM teacher ORDER BY Age ASC", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "teacher", | |
| "ORDER", | |
| "BY", | |
| "Age", | |
| "ASC" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "order", | |
| "by", | |
| "age", | |
| "asc" | |
| ], | |
| "question": "Cho biết tên của giáo viên và sắp xếp kết quả theo thứ tự tăng dần về độ tuổi .", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "names", | |
| "of", | |
| "teachers", | |
| "in", | |
| "ascending", | |
| "order", | |
| "of", | |
| "age", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Name FROM teacher ORDER BY Age ASC", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "teacher", | |
| "ORDER", | |
| "BY", | |
| "Age", | |
| "ASC" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "order", | |
| "by", | |
| "age", | |
| "asc" | |
| ], | |
| "question": "Liệt kê tên của các giáo viên theo thứ tự tăng dần về độ tuổi của từng người .", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "teachers", | |
| "ordered", | |
| "by", | |
| "ascending", | |
| "age", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Age , Hometown FROM teacher", | |
| "query_toks": [ | |
| "SELECT", | |
| "Age", | |
| ",", | |
| "Hometown", | |
| "FROM", | |
| "teacher" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "age", | |
| ",", | |
| "hometown", | |
| "from", | |
| "teacher" | |
| ], | |
| "question": "Liệt kê độ tuổi và quê hương của tất cả các giáo viên", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "age", | |
| "and", | |
| "hometown", | |
| "of", | |
| "teachers", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Age , Hometown FROM teacher", | |
| "query_toks": [ | |
| "SELECT", | |
| "Age", | |
| ",", | |
| "Hometown", | |
| "FROM", | |
| "teacher" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "age", | |
| ",", | |
| "hometown", | |
| "from", | |
| "teacher" | |
| ], | |
| "question": "Cho biết độ tuổi và quê hương của mỗi giáo viên .", | |
| "question_toks": [ | |
| "What", | |
| "is", | |
| "the", | |
| "age", | |
| "and", | |
| "hometown", | |
| "of", | |
| "every", | |
| "teacher", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "select name from teacher where hometown != \"little lever urban district\"", | |
| "query_toks": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "where", | |
| "hometown", | |
| "!=", | |
| "\"little lever urban district\"" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "where", | |
| "hometown", | |
| "!", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Liệt kê tên của các giáo viên có quê hương không phải là ' Khu đô thị Little Lever ' .", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "name", | |
| "of", | |
| "teachers", | |
| "whose", | |
| "hometown", | |
| "is", | |
| "not", | |
| "``", | |
| "Little", | |
| "Lever", | |
| "Urban", | |
| "District", | |
| "''", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 7, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"little lever urban district\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "select name from teacher where hometown != \"little lever urban district\"", | |
| "query_toks": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "where", | |
| "hometown", | |
| "!=", | |
| "\"little lever urban district\"" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "where", | |
| "hometown", | |
| "!", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Các giáo viên có quê hương không phải ở ' Khu đô thị Little Lever ' có tên là gì ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "teachers", | |
| "whose", | |
| "hometown", | |
| "is", | |
| "not", | |
| "``", | |
| "Little", | |
| "Lever", | |
| "Urban", | |
| "District", | |
| "''", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 7, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"little lever urban district\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Name FROM teacher WHERE Age = 32 OR Age = 33", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "teacher", | |
| "WHERE", | |
| "Age", | |
| "=", | |
| "32", | |
| "OR", | |
| "Age", | |
| "=", | |
| "33" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "where", | |
| "age", | |
| "=", | |
| "value", | |
| "or", | |
| "age", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Hiển thị tên của các giáo viên ở độ tuổi 32 hoặc 33 ?", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "name", | |
| "of", | |
| "teachers", | |
| "aged", | |
| "either", | |
| "32", | |
| "or", | |
| "33", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| 32, | |
| null | |
| ], | |
| "or", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| 33, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Name FROM teacher WHERE Age = 32 OR Age = 33", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "teacher", | |
| "WHERE", | |
| "Age", | |
| "=", | |
| "32", | |
| "OR", | |
| "Age", | |
| "=", | |
| "33" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "where", | |
| "age", | |
| "=", | |
| "value", | |
| "or", | |
| "age", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Tên của các giáo viên ở độ tuổi 32 hoặc 33 là gì ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "teachers", | |
| "who", | |
| "are", | |
| "aged", | |
| "either", | |
| "32", | |
| "or", | |
| "33", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| 32, | |
| null | |
| ], | |
| "or", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| 33, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Hometown", | |
| "FROM", | |
| "teacher", | |
| "ORDER", | |
| "BY", | |
| "Age", | |
| "ASC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "hometown", | |
| "from", | |
| "teacher", | |
| "order", | |
| "by", | |
| "age", | |
| "asc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Quê hương của giáo viên trẻ nhất là ở đâu ?", | |
| "question_toks": [ | |
| "What", | |
| "is", | |
| "the", | |
| "hometown", | |
| "of", | |
| "the", | |
| "youngest", | |
| "teacher", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Hometown", | |
| "FROM", | |
| "teacher", | |
| "ORDER", | |
| "BY", | |
| "Age", | |
| "ASC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "hometown", | |
| "from", | |
| "teacher", | |
| "order", | |
| "by", | |
| "age", | |
| "asc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Giáo viên trẻ nhất từ đâu đến ?", | |
| "question_toks": [ | |
| "Where", | |
| "is", | |
| "the", | |
| "youngest", | |
| "teacher", | |
| "from", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown", | |
| "query_toks": [ | |
| "SELECT", | |
| "Hometown", | |
| ",", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "teacher", | |
| "GROUP", | |
| "BY", | |
| "Hometown" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "hometown", | |
| ",", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "teacher", | |
| "group", | |
| "by", | |
| "hometown" | |
| ], | |
| "question": "Hiển thị những quê hương khác nhau của các giáo viên và số lượng giáo viên đến từ mỗi quê hương .", | |
| "question_toks": [ | |
| "Show", | |
| "different", | |
| "hometown", | |
| "of", | |
| "teachers", | |
| "and", | |
| "the", | |
| "number", | |
| "of", | |
| "teachers", | |
| "from", | |
| "each", | |
| "hometown", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown", | |
| "query_toks": [ | |
| "SELECT", | |
| "Hometown", | |
| ",", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "teacher", | |
| "GROUP", | |
| "BY", | |
| "Hometown" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "hometown", | |
| ",", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "teacher", | |
| "group", | |
| "by", | |
| "hometown" | |
| ], | |
| "question": "mỗi quê hương có bao nhiêu giáo viên .", | |
| "question_toks": [ | |
| "For", | |
| "each", | |
| "hometown", | |
| ",", | |
| "how", | |
| "many", | |
| "teachers", | |
| "are", | |
| "there", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Hometown", | |
| "FROM", | |
| "teacher", | |
| "GROUP", | |
| "BY", | |
| "Hometown", | |
| "ORDER", | |
| "BY", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "hometown", | |
| "from", | |
| "teacher", | |
| "group", | |
| "by", | |
| "hometown", | |
| "order", | |
| "by", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Liệt kê quê hương phổ biến nhất mà các giáo viên đến từ .", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "most", | |
| "common", | |
| "hometown", | |
| "of", | |
| "teachers", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Hometown", | |
| "FROM", | |
| "teacher", | |
| "GROUP", | |
| "BY", | |
| "Hometown", | |
| "ORDER", | |
| "BY", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "hometown", | |
| "from", | |
| "teacher", | |
| "group", | |
| "by", | |
| "hometown", | |
| "order", | |
| "by", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Nơi nào là quê hương của nhiều giáo viên nhất ?", | |
| "question_toks": [ | |
| "What", | |
| "is", | |
| "the", | |
| "most", | |
| "commmon", | |
| "hometowns", | |
| "for", | |
| "teachers", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2", | |
| "query_toks": [ | |
| "SELECT", | |
| "Hometown", | |
| "FROM", | |
| "teacher", | |
| "GROUP", | |
| "BY", | |
| "Hometown", | |
| "HAVING", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "2" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "hometown", | |
| "from", | |
| "teacher", | |
| "group", | |
| "by", | |
| "hometown", | |
| "having", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Hiển thị những nơi là quê hương của ít nhất hai giáo viên .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "hometowns", | |
| "shared", | |
| "by", | |
| "at", | |
| "least", | |
| "two", | |
| "teachers", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 2, | |
| null | |
| ] | |
| ], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2", | |
| "query_toks": [ | |
| "SELECT", | |
| "Hometown", | |
| "FROM", | |
| "teacher", | |
| "GROUP", | |
| "BY", | |
| "Hometown", | |
| "HAVING", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "2" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "hometown", | |
| "from", | |
| "teacher", | |
| "group", | |
| "by", | |
| "hometown", | |
| "having", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Những nơi nào là quê hương của ít nhất 2 giáo viên ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "towns", | |
| "from", | |
| "which", | |
| "at", | |
| "least", | |
| "two", | |
| "teachers", | |
| "come", | |
| "from", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 2, | |
| null | |
| ] | |
| ], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID", | |
| "query_toks": [ | |
| "SELECT", | |
| "T3.Name", | |
| ",", | |
| "T2.Course", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "course", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Course_ID", | |
| "=", | |
| "T2.Course_ID", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T3.Teacher_ID" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t3", | |
| ".", | |
| "name", | |
| ",", | |
| "t2", | |
| ".", | |
| "course", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "course", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "course_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "course_id", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "teacher_id" | |
| ], | |
| "question": "Hiển thị tên của tất cả các giáo viên cũng như là các khoá học họ được sắp xếp để dạy .", | |
| "question_toks": [ | |
| "Show", | |
| "names", | |
| "of", | |
| "teachers", | |
| "and", | |
| "the", | |
| "courses", | |
| "they", | |
| "are", | |
| "arranged", | |
| "to", | |
| "teach", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID", | |
| "query_toks": [ | |
| "SELECT", | |
| "T3.Name", | |
| ",", | |
| "T2.Course", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "course", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Course_ID", | |
| "=", | |
| "T2.Course_ID", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T3.Teacher_ID" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t3", | |
| ".", | |
| "name", | |
| ",", | |
| "t2", | |
| ".", | |
| "course", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "course", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "course_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "course_id", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "teacher_id" | |
| ], | |
| "question": "Tên của các giáo viên và các khoá học họ đã dạy ?", | |
| "question_toks": [ | |
| "What", | |
| "is", | |
| "the", | |
| "name", | |
| "of", | |
| "each", | |
| "teacher", | |
| "and", | |
| "what", | |
| "course", | |
| "they", | |
| "teach", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name", | |
| "query_toks": [ | |
| "SELECT", | |
| "T3.Name", | |
| ",", | |
| "T2.Course", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "course", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Course_ID", | |
| "=", | |
| "T2.Course_ID", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T3.Teacher_ID", | |
| "ORDER", | |
| "BY", | |
| "T3.Name" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t3", | |
| ".", | |
| "name", | |
| ",", | |
| "t2", | |
| ".", | |
| "course", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "course", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "course_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "course_id", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "teacher_id", | |
| "order", | |
| "by", | |
| "t3", | |
| ".", | |
| "name" | |
| ], | |
| "question": "Hiển thị tên của các giáo viên cũng như là các khoá học họ được sắp xếp để dạy theo thứ tự bảng chữ cái tăng dần của tên giáo viên .", | |
| "question_toks": [ | |
| "Show", | |
| "names", | |
| "of", | |
| "teachers", | |
| "and", | |
| "the", | |
| "courses", | |
| "they", | |
| "are", | |
| "arranged", | |
| "to", | |
| "teach", | |
| "in", | |
| "ascending", | |
| "alphabetical", | |
| "order", | |
| "of", | |
| "the", | |
| "teacher", | |
| "'s", | |
| "name", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name", | |
| "query_toks": [ | |
| "SELECT", | |
| "T3.Name", | |
| ",", | |
| "T2.Course", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "course", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Course_ID", | |
| "=", | |
| "T2.Course_ID", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T3.Teacher_ID", | |
| "ORDER", | |
| "BY", | |
| "T3.Name" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t3", | |
| ".", | |
| "name", | |
| ",", | |
| "t2", | |
| ".", | |
| "course", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "course", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "course_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "course_id", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "teacher_id", | |
| "order", | |
| "by", | |
| "t3", | |
| ".", | |
| "name" | |
| ], | |
| "question": "Hiển thị tên của các giáo viên và các khoá học họ dạy theo thứ tự bảng chữ cái tăng dần của tên giáo viên", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "teachers", | |
| "and", | |
| "the", | |
| "courses", | |
| "they", | |
| "teach", | |
| "in", | |
| "ascending", | |
| "alphabetical", | |
| "order", | |
| "by", | |
| "the", | |
| "name", | |
| "of", | |
| "the", | |
| "teacher", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "T3.Name", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "course", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Course_ID", | |
| "=", | |
| "T2.Course_ID", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T3.Teacher_ID", | |
| "WHERE", | |
| "T2.Course", | |
| "=", | |
| "``", | |
| "Math", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t3", | |
| ".", | |
| "name", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "course", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "course_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "course_id", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "teacher_id", | |
| "where", | |
| "t2", | |
| ".", | |
| "course", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Hiển thị tên của các giáo viên đã giảng dạy các khoá học ' Toán ' .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "name", | |
| "of", | |
| "the", | |
| "teacher", | |
| "for", | |
| "the", | |
| "math", | |
| "course", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Math\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "T3.Name", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "course", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Course_ID", | |
| "=", | |
| "T2.Course_ID", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T3.Teacher_ID", | |
| "WHERE", | |
| "T2.Course", | |
| "=", | |
| "``", | |
| "Math", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t3", | |
| ".", | |
| "name", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "course", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "course_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "course_id", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "teacher_id", | |
| "where", | |
| "t2", | |
| ".", | |
| "course", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Tên của những giáo viên dạy bộ môn ' Toán ' ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "people", | |
| "who", | |
| "teach", | |
| "math", | |
| "courses", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Math\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.Name", | |
| ",", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T2.Teacher_ID", | |
| "GROUP", | |
| "BY", | |
| "T2.Name" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "name", | |
| ",", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "teacher_id", | |
| "group", | |
| "by", | |
| "t2", | |
| ".", | |
| "name" | |
| ], | |
| "question": "Hiển thị tên của giáo viên và số lượng các khoá học họ dạy .", | |
| "question_toks": [ | |
| "Show", | |
| "names", | |
| "of", | |
| "teachers", | |
| "and", | |
| "the", | |
| "number", | |
| "of", | |
| "courses", | |
| "they", | |
| "teach", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.Name", | |
| ",", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T2.Teacher_ID", | |
| "GROUP", | |
| "BY", | |
| "T2.Name" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "name", | |
| ",", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "teacher_id", | |
| "group", | |
| "by", | |
| "t2", | |
| ".", | |
| "name" | |
| ], | |
| "question": "Cho biết tên của các giáo viên cũng như là họ đã dạy bao nhiêu khoá học ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "teachers", | |
| "and", | |
| "how", | |
| "many", | |
| "courses", | |
| "do", | |
| "they", | |
| "teach", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.Name", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T2.Teacher_ID", | |
| "GROUP", | |
| "BY", | |
| "T2.Name", | |
| "HAVING", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "2" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "name", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "teacher_id", | |
| "group", | |
| "by", | |
| "t2", | |
| ".", | |
| "name", | |
| "having", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Hiển thị tên của giáo viên dạy ít nhất hai khoá học .", | |
| "question_toks": [ | |
| "Show", | |
| "names", | |
| "of", | |
| "teachers", | |
| "that", | |
| "teach", | |
| "at", | |
| "least", | |
| "two", | |
| "courses", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 2, | |
| null | |
| ] | |
| ], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.Name", | |
| "FROM", | |
| "course_arrange", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "teacher", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Teacher_ID", | |
| "=", | |
| "T2.Teacher_ID", | |
| "GROUP", | |
| "BY", | |
| "T2.Name", | |
| "HAVING", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "2" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "name", | |
| "from", | |
| "course_arrange", | |
| "as", | |
| "t1", | |
| "join", | |
| "teacher", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "teacher_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "teacher_id", | |
| "group", | |
| "by", | |
| "t2", | |
| ".", | |
| "name", | |
| "having", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Tên của các giáo viên dạy ít nhất hai khoá học", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "teachers", | |
| "who", | |
| "teach", | |
| "at", | |
| "least", | |
| "two", | |
| "courses", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 2, | |
| null | |
| ] | |
| ], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "teacher", | |
| "WHERE", | |
| "Teacher_id", | |
| "NOT", | |
| "IN", | |
| "(", | |
| "SELECT", | |
| "Teacher_id", | |
| "FROM", | |
| "course_arrange", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "where", | |
| "teacher_id", | |
| "not", | |
| "in", | |
| "(", | |
| "select", | |
| "teacher_id", | |
| "from", | |
| "course_arrange", | |
| ")" | |
| ], | |
| "question": "Liệt kê tên của các giáo viên chưa được sắp xếp để dạy các khoá học .", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "names", | |
| "of", | |
| "teachers", | |
| "who", | |
| "have", | |
| "not", | |
| "been", | |
| "arranged", | |
| "to", | |
| "teach", | |
| "courses", | |
| "." | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| true, | |
| 8, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| }, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "course_teach", | |
| "query": "SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "teacher", | |
| "WHERE", | |
| "Teacher_id", | |
| "NOT", | |
| "IN", | |
| "(", | |
| "SELECT", | |
| "Teacher_id", | |
| "FROM", | |
| "course_arrange", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "teacher", | |
| "where", | |
| "teacher_id", | |
| "not", | |
| "in", | |
| "(", | |
| "select", | |
| "teacher_id", | |
| "from", | |
| "course_arrange", | |
| ")" | |
| ], | |
| "question": "Tên của các giáo viên chưa được sắp xếp dạy khoá học nào", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "teachers", | |
| "whose", | |
| "courses", | |
| "have", | |
| "not", | |
| "been", | |
| "arranged", | |
| "?" | |
| ], | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| true, | |
| 8, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| }, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| } | |
| ] |