| [ | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT count(*) FROM browser WHERE market_share >= 5", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "browser", | |
| "WHERE", | |
| "market_share", | |
| ">", | |
| "=", | |
| "5" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "browser", | |
| "where", | |
| "market_share", | |
| ">", | |
| "=", | |
| "value" | |
| ], | |
| "question": "¿Cuántos navegadores principales tienen una cuota de mercado de al menos 5?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| 5.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT name FROM browser ORDER BY market_share DESC", | |
| "query_toks": [ | |
| "SELECT", | |
| "name", | |
| "FROM", | |
| "browser", | |
| "ORDER", | |
| "BY", | |
| "market_share", | |
| "DESC" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "browser", | |
| "order", | |
| "by", | |
| "market_share", | |
| "desc" | |
| ], | |
| "question": "Enumere el nombre de los navegadores en orden descendente por participación de mercado.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT id , name , market_share FROM browser", | |
| "query_toks": [ | |
| "SELECT", | |
| "id", | |
| ",", | |
| "name", | |
| ",", | |
| "market_share", | |
| "FROM", | |
| "browser" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "id", | |
| ",", | |
| "name", | |
| ",", | |
| "market_share", | |
| "from", | |
| "browser" | |
| ], | |
| "question": "Enumere las identificaciones, nombres y cuotas de mercado de todos los navegadores.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT max(market_share) , min(market_share) , avg(market_share) FROM browser", | |
| "query_toks": [ | |
| "SELECT", | |
| "max", | |
| "(", | |
| "market_share", | |
| ")", | |
| ",", | |
| "min", | |
| "(", | |
| "market_share", | |
| ")", | |
| ",", | |
| "avg", | |
| "(", | |
| "market_share", | |
| ")", | |
| "FROM", | |
| "browser" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "max", | |
| "(", | |
| "market_share", | |
| ")", | |
| ",", | |
| "min", | |
| "(", | |
| "market_share", | |
| ")", | |
| ",", | |
| "avg", | |
| "(", | |
| "market_share", | |
| ")", | |
| "from", | |
| "browser" | |
| ], | |
| "question": "¿Cuál es la cuota de mercado máxima, mínima y media de los navegadores enumerados?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 1, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT id , market_share FROM browser WHERE name = 'Safari'", | |
| "query_toks": [ | |
| "SELECT", | |
| "id", | |
| ",", | |
| "market_share", | |
| "FROM", | |
| "browser", | |
| "WHERE", | |
| "name", | |
| "=", | |
| "'Safari", | |
| "'" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "id", | |
| ",", | |
| "market_share", | |
| "from", | |
| "browser", | |
| "where", | |
| "name", | |
| "=", | |
| "value" | |
| ], | |
| "question": "¿Cuál es la identificación y la cuota de mercado del navegador ''Safari''?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Safari\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT name , operating_system FROM web_client_accelerator WHERE CONNECTION != 'Broadband'", | |
| "query_toks": [ | |
| "SELECT", | |
| "name", | |
| ",", | |
| "operating_system", | |
| "FROM", | |
| "web_client_accelerator", | |
| "WHERE", | |
| "CONNECTION", | |
| "!", | |
| "=", | |
| "'Broadband", | |
| "'" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| ",", | |
| "operating_system", | |
| "from", | |
| "web_client_accelerator", | |
| "where", | |
| "connection", | |
| "!", | |
| "=", | |
| "value" | |
| ], | |
| "question": "¿Cuáles son el nombre y el sistema operativo de los aceleradores de clientes web que no funcionan solo con una conexión de tipo ''Broadband''?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 7, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Broadband\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id JOIN web_client_accelerator AS T3 ON T2.accelerator_id = T3.id WHERE T3.name = 'CProxy' AND T2.compatible_since_year > 1998", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.name", | |
| "FROM", | |
| "browser", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.browser_id", | |
| "JOIN", | |
| "web_client_accelerator", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T2.accelerator_id", | |
| "=", | |
| "T3.id", | |
| "WHERE", | |
| "T3.name", | |
| "=", | |
| "'CProxy", | |
| "'", | |
| "AND", | |
| "T2.compatible_since_year", | |
| ">", | |
| "1998" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "name", | |
| "from", | |
| "browser", | |
| "as", | |
| "t1", | |
| "join", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "browser_id", | |
| "join", | |
| "web_client_accelerator", | |
| "as", | |
| "t3", | |
| "on", | |
| "t2", | |
| ".", | |
| "accelerator_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "id", | |
| "where", | |
| "t3", | |
| ".", | |
| "name", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "compatible_since_year", | |
| ">", | |
| "value" | |
| ], | |
| "question": "¿Cómo se llama el navegador que se hizo compatible con el acelerador ''Cproxy'' después del año 1998?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"CProxy\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ], | |
| 1998.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT T1.id , T1.Name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id GROUP BY T1.id HAVING count(*) >= 2", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.id", | |
| ",", | |
| "T1.Name", | |
| "FROM", | |
| "web_client_accelerator", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T2.accelerator_id", | |
| "=", | |
| "T1.id", | |
| "GROUP", | |
| "BY", | |
| "T1.id", | |
| "HAVING", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "2" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "id", | |
| ",", | |
| "t1", | |
| ".", | |
| "name", | |
| "from", | |
| "web_client_accelerator", | |
| "as", | |
| "t1", | |
| "join", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t2", | |
| ".", | |
| "accelerator_id", | |
| "=", | |
| "t1", | |
| ".", | |
| "id", | |
| "group", | |
| "by", | |
| "t1", | |
| ".", | |
| "id", | |
| "having", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "=", | |
| "value" | |
| ], | |
| "question": "¿Cuáles son las identificaciones y nombres de los aceleradores web que son compatibles con dos o más navegadores?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 2.0, | |
| null | |
| ] | |
| ], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT T1.id , T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.id", | |
| ",", | |
| "T1.name", | |
| "FROM", | |
| "browser", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.browser_id", | |
| "GROUP", | |
| "BY", | |
| "T1.id", | |
| "ORDER", | |
| "BY", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "id", | |
| ",", | |
| "t1", | |
| ".", | |
| "name", | |
| "from", | |
| "browser", | |
| "as", | |
| "t1", | |
| "join", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "browser_id", | |
| "group", | |
| "by", | |
| "t1", | |
| ".", | |
| "id", | |
| "order", | |
| "by", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "¿Cuál es la identificación y el nombre del navegador que es compatible con la mayoría de los aceleradores web?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id WHERE T3.name = 'CACHEbox' AND T2.name = 'Internet Explorer'", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.compatible_since_year", | |
| "FROM", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.browser_id", | |
| "=", | |
| "T2.id", | |
| "JOIN", | |
| "web_client_accelerator", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.accelerator_id", | |
| "=", | |
| "T3.id", | |
| "WHERE", | |
| "T3.name", | |
| "=", | |
| "'CACHEbox", | |
| "'", | |
| "AND", | |
| "T2.name", | |
| "=", | |
| "'Internet", | |
| "Explorer", | |
| "'" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "compatible_since_year", | |
| "from", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t1", | |
| "join", | |
| "browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "browser_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "join", | |
| "web_client_accelerator", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "accelerator_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "id", | |
| "where", | |
| "t3", | |
| ".", | |
| "name", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "name", | |
| "=", | |
| "value" | |
| ], | |
| "question": "¿Cuándo se hicieron compatibles el acelerador web ''CACHEbox'' y el navegador 'Internet Explorer'?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"CACHEbox\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Internet Explorer\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT count(DISTINCT client) FROM web_client_accelerator", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "DISTINCT", | |
| "client", | |
| ")", | |
| "FROM", | |
| "web_client_accelerator" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "distinct", | |
| "client", | |
| ")", | |
| "from", | |
| "web_client_accelerator" | |
| ], | |
| "question": "¿Cuántos tipos diferentes de clientes son compatibles con los aceleradores de clientes web?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| true | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT count(*) FROM web_client_accelerator WHERE id NOT IN ( SELECT accelerator_id FROM accelerator_compatible_browser );", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "web_client_accelerator", | |
| "WHERE", | |
| "id", | |
| "NOT", | |
| "IN", | |
| "(", | |
| "SELECT", | |
| "accelerator_id", | |
| "FROM", | |
| "accelerator_compatible_browser", | |
| ")", | |
| ";" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "web_client_accelerator", | |
| "where", | |
| "id", | |
| "not", | |
| "in", | |
| "(", | |
| "select", | |
| "accelerator_id", | |
| "from", | |
| "accelerator_compatible_browser", | |
| ")" | |
| ], | |
| "question": "¿Cuántos aceleradores no son compatibles con los navegadores enumerados?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| true, | |
| 8, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| 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": "browser_web", | |
| "query": "SELECT DISTINCT T1.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.market_share > 15;", | |
| "query_toks": [ | |
| "SELECT", | |
| "DISTINCT", | |
| "T1.name", | |
| "FROM", | |
| "web_client_accelerator", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T2.accelerator_id", | |
| "=", | |
| "T1.id", | |
| "JOIN", | |
| "browser", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T2.browser_id", | |
| "=", | |
| "T3.id", | |
| "WHERE", | |
| "T3.market_share", | |
| ">", | |
| "15", | |
| ";" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "distinct", | |
| "t1", | |
| ".", | |
| "name", | |
| "from", | |
| "web_client_accelerator", | |
| "as", | |
| "t1", | |
| "join", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t2", | |
| ".", | |
| "accelerator_id", | |
| "=", | |
| "t1", | |
| ".", | |
| "id", | |
| "join", | |
| "browser", | |
| "as", | |
| "t3", | |
| "on", | |
| "t2", | |
| ".", | |
| "browser_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "id", | |
| "where", | |
| "t3", | |
| ".", | |
| "market_share", | |
| ">", | |
| "value" | |
| ], | |
| "question": "¿Qué nombres distintos de aceleradores son compatibles con los navegadores que tienen una cuota de mercado superior a 15?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| 15.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'CACHEbox' INTERSECT SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'Fasterfox'", | |
| "query_toks": [ | |
| "SELECT", | |
| "T3.name", | |
| "FROM", | |
| "web_client_accelerator", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T2.accelerator_id", | |
| "=", | |
| "T1.id", | |
| "JOIN", | |
| "browser", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T2.browser_id", | |
| "=", | |
| "T3.id", | |
| "WHERE", | |
| "T1.name", | |
| "=", | |
| "'CACHEbox", | |
| "'", | |
| "INTERSECT", | |
| "SELECT", | |
| "T3.name", | |
| "FROM", | |
| "web_client_accelerator", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T2.accelerator_id", | |
| "=", | |
| "T1.id", | |
| "JOIN", | |
| "browser", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T2.browser_id", | |
| "=", | |
| "T3.id", | |
| "WHERE", | |
| "T1.name", | |
| "=", | |
| "'Fasterfox", | |
| "'" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t3", | |
| ".", | |
| "name", | |
| "from", | |
| "web_client_accelerator", | |
| "as", | |
| "t1", | |
| "join", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t2", | |
| ".", | |
| "accelerator_id", | |
| "=", | |
| "t1", | |
| ".", | |
| "id", | |
| "join", | |
| "browser", | |
| "as", | |
| "t3", | |
| "on", | |
| "t2", | |
| ".", | |
| "browser_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "name", | |
| "=", | |
| "value", | |
| "intersect", | |
| "select", | |
| "t3", | |
| ".", | |
| "name", | |
| "from", | |
| "web_client_accelerator", | |
| "as", | |
| "t1", | |
| "join", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t2", | |
| ".", | |
| "accelerator_id", | |
| "=", | |
| "t1", | |
| ".", | |
| "id", | |
| "join", | |
| "browser", | |
| "as", | |
| "t3", | |
| "on", | |
| "t2", | |
| ".", | |
| "browser_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "name", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Enumere los nombres del navegador que son compatibles con ''CACHEbox'' y ''Fasterfox''.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"CACHEbox\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Fasterfox\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| }, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT name , operating_system FROM web_client_accelerator EXCEPT SELECT T1.name , T1.operating_system FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.name = 'Opera'", | |
| "query_toks": [ | |
| "SELECT", | |
| "name", | |
| ",", | |
| "operating_system", | |
| "FROM", | |
| "web_client_accelerator", | |
| "EXCEPT", | |
| "SELECT", | |
| "T1.name", | |
| ",", | |
| "T1.operating_system", | |
| "FROM", | |
| "web_client_accelerator", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T2.accelerator_id", | |
| "=", | |
| "T1.id", | |
| "JOIN", | |
| "browser", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T2.browser_id", | |
| "=", | |
| "T3.id", | |
| "WHERE", | |
| "T3.name", | |
| "=", | |
| "'Opera", | |
| "'" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| ",", | |
| "operating_system", | |
| "from", | |
| "web_client_accelerator", | |
| "except", | |
| "select", | |
| "t1", | |
| ".", | |
| "name", | |
| ",", | |
| "t1", | |
| ".", | |
| "operating_system", | |
| "from", | |
| "web_client_accelerator", | |
| "as", | |
| "t1", | |
| "join", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t2", | |
| ".", | |
| "accelerator_id", | |
| "=", | |
| "t1", | |
| ".", | |
| "id", | |
| "join", | |
| "browser", | |
| "as", | |
| "t3", | |
| "on", | |
| "t2", | |
| ".", | |
| "browser_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "id", | |
| "where", | |
| "t3", | |
| ".", | |
| "name", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Muestre los nombres de los aceleradores y los sistemas operativos compatibles que no son compatibles con el navegador llamado ''Opera''.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Opera\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT name FROM web_client_accelerator WHERE name LIKE \"%Opera%\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "name", | |
| "FROM", | |
| "web_client_accelerator", | |
| "WHERE", | |
| "name", | |
| "LIKE", | |
| "``", | |
| "%", | |
| "Opera", | |
| "%", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "web_client_accelerator", | |
| "where", | |
| "name", | |
| "like", | |
| "value" | |
| ], | |
| "question": "¿Qué nombre de acelerador contiene \"Opera\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 9, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"%Opera%\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT Operating_system , count(*) FROM web_client_accelerator GROUP BY Operating_system", | |
| "query_toks": [ | |
| "SELECT", | |
| "Operating_system", | |
| ",", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "web_client_accelerator", | |
| "GROUP", | |
| "BY", | |
| "Operating_system" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "operating_system", | |
| ",", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "web_client_accelerator", | |
| "group", | |
| "by", | |
| "operating_system" | |
| ], | |
| "question": "Encuentre la cantidad de aceleradores web utilizados para cada sistema operativo.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "browser_web", | |
| "query": "SELECT T2.name , T3.name FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id ORDER BY T1.compatible_since_year DESC", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.name", | |
| ",", | |
| "T3.name", | |
| "FROM", | |
| "accelerator_compatible_browser", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "browser", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.browser_id", | |
| "=", | |
| "T2.id", | |
| "JOIN", | |
| "web_client_accelerator", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.accelerator_id", | |
| "=", | |
| "T3.id", | |
| "ORDER", | |
| "BY", | |
| "T1.compatible_since_year", | |
| "DESC" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "name", | |
| ",", | |
| "t3", | |
| ".", | |
| "name", | |
| "from", | |
| "accelerator_compatible_browser", | |
| "as", | |
| "t1", | |
| "join", | |
| "browser", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "browser_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "join", | |
| "web_client_accelerator", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "accelerator_id", | |
| "=", | |
| "t3", | |
| ".", | |
| "id", | |
| "order", | |
| "by", | |
| "t1", | |
| ".", | |
| "compatible_since_year", | |
| "desc" | |
| ], | |
| "question": "Deme los nombres de todos los navegadores y aceleradores compatibles en orden descendente de año compatible", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| } | |
| ] |