{"index": 0, "beams": [{"question": "\u00bfCu\u00e1ntos cantantes tenemos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM singer", "inferred_code_readable": "", "score": -4.172319769679689e-06}]} {"index": 1, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero total de cantantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM singer", "inferred_code_readable": "", "score": -2.741811655937454e-06}]} {"index": 2, "beams": [{"question": "Muestre el nombre, el pa\u00eds y la edad de todos los cantantes ordenados por edad, desde el mayor al m\u00e1s joven.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name, singer.Country, singer.Age FROM singer ORDER BY singer.Age Desc", "inferred_code_readable": "", "score": -0.0029353650038501655}]} {"index": 3, "beams": [{"question": "\u00bfCu\u00e1les son los nombres, pa\u00edses y edades de cada cantante en orden descendente de edad?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name, singer.Country, singer.Age FROM singer ORDER BY singer.Age Desc", "inferred_code_readable": "", "score": -0.00039045898717660066}]} {"index": 4, "beams": [{"question": "\u00bfCu\u00e1l es la edad media, m\u00ednima y m\u00e1xima de todos los cantantes de\"France\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedn\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(singer.Age), Min(singer.Age), Max(singer.Age) FROM singer WHERE singer.Country = \"Unitedn\"", "inferred_code_readable": "", "score": -1.185812174315359}]} {"index": 5, "beams": [{"question": "\u00bfCu\u00e1l es la edad media, m\u00ednima y m\u00e1xima de todos los cantantes de\"France\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedn\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(singer.Age), Min(singer.Age), Max(singer.Age) FROM singer WHERE singer.Country = \"Unitedn\"", "inferred_code_readable": "", "score": -1.185812174315359}]} {"index": 6, "beams": [{"question": "Muestra el nombre y el a\u00f1o de lanzamiento de la canci\u00f3n del cantante m\u00e1s joven.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name, singer.Song_release_year FROM singer ORDER BY singer.Age Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0005527716960997964}]} {"index": 7, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y a\u00f1os de lanzamiento de todas las canciones del cantante m\u00e1s joven?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Song_Name, singer.Song_release_year FROM singer ORDER BY singer.Age Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0003711859301347431}]} {"index": 8, "beams": [{"question": "\u00bfCu\u00e1les son todos los pa\u00edses distintos de donde vienen los cantantes mayores de 20 a\u00f1os?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 20))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT singer.Country FROM singer WHERE singer.Age > 20", "inferred_code_readable": "", "score": -0.0006908604817326136}]} {"index": 9, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses differentes con cantantes mayores de 20 a\u00f1os?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 20))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT singer.Country FROM singer WHERE singer.Age > 20", "inferred_code_readable": "", "score": -0.003275262651008859}]} {"index": 10, "beams": [{"question": "Muestra todos los pa\u00edses y el n\u00famero de cantantes de cada pa\u00eds.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Country, Count(*) FROM singer GROUP BY singer.Country", "inferred_code_readable": "", "score": -3.576277386230231e-06}]} {"index": 11, "beams": [{"question": "\u00bfCu\u00e1ntos cantantes vienen de cada pa\u00eds?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Country, Count(*) FROM singer GROUP BY singer.Country", "inferred_code_readable": "", "score": -2.562976406039752e-05}]} {"index": 12, "beams": [{"question": "Enumere todos los nombres de las canciones por cantantes que est\u00e1n por encima de la edad promedio.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Song_Name FROM singer WHERE singer.Age > (SELECT Avg(singer.Age) FROM singer)", "inferred_code_readable": "", "score": -7.033345241325151e-06}]} {"index": 13, "beams": [{"question": "\u00bfCu\u00e1les son todos los nombres de las canciones de cantantes mayores que promedio?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Song_Name FROM singer WHERE singer.Age > (SELECT Avg(singer.Age) FROM singer)", "inferred_code_readable": "", "score": -1.1682493081366374e-05}]} {"index": 14, "beams": [{"question": "Muestre localizaciones y nombres de todos los estadios con una capacidad entre 5000 y 10000.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Between (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4000))) (val-val2 (Number (object-f 5000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Location, stadium.Name FROM stadium WHERE stadium.Capacity BETWEEN 4000 AND 5000", "inferred_code_readable": "", "score": -0.00727001473610045}]} {"index": 15, "beams": [{"question": "\u00bfCu\u00e1les son las localizaciones y los nombres de todos los estadios con capacidad entre 5000 y 10000?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Between (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4000))) (val-val2 (Number (object-f 5000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Location, stadium.Name FROM stadium WHERE stadium.Capacity BETWEEN 4000 AND 5000", "inferred_code_readable": "", "score": -0.00751018202333853}]} {"index": 16, "beams": [{"question": "\u00bfCu\u00e1l es la asistencia media y la capacidad m\u00e1xima de todos los estadios?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(stadium.Capacity), Max(stadium.Highest) FROM stadium", "inferred_code_readable": "", "score": -0.0014896895724234582}]} {"index": 17, "beams": [{"question": "\u00bfCu\u00e1l es la capacidad media y m\u00e1xima de todos los estadios?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(stadium.Capacity), Max(stadium.Highest) FROM stadium", "inferred_code_readable": "", "score": -2.3841759073661706e-05}]} {"index": 18, "beams": [{"question": "\u00bfCu\u00e1l es el nombre y la capacidad del estadio con una mayor asistencia promedio?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name, stadium.Capacity FROM stadium ORDER BY stadium.Average Desc LIMIT 1", "inferred_code_readable": "", "score": -0.5411581215211214}]} {"index": 19, "beams": [{"question": "\u00bfCu\u00e1l es el nombre y la capacidad del estadio con una mayor asistencia promedio?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name, stadium.Capacity FROM stadium ORDER BY stadium.Average Desc LIMIT 1", "inferred_code_readable": "", "score": -0.5411581215211214}]} {"index": 20, "beams": [{"question": "\u00bfCu\u00e1ntos conciertos hay en el a\u00f1o 2014 o 2015?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2015))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM concert WHERE concert.Year = 2014 OR concert.Year = 2015", "inferred_code_readable": "", "score": -0.06902047231472608}]} {"index": 21, "beams": [{"question": "\u00bfCu\u00e1ntos conciertos se realizaron en 2014 o 2015?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2015))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM concert WHERE concert.Year = 2014 OR concert.Year = 2015", "inferred_code_readable": "", "score": -0.016932607920672638}]} {"index": 22, "beams": [{"question": "Muestre el nombre del estadio y el n\u00famero de conciertos en cada estadio.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name, Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID GROUP BY concert.Stadium_ID", "inferred_code_readable": "", "score": -0.048764631137188985}]} {"index": 23, "beams": [{"question": "Para cada estadio, \u00bfcu\u00e1ntos conciertos se celebran?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name, Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID GROUP BY concert.Stadium_ID", "inferred_code_readable": "", "score": -0.11334145716590172}]} {"index": 24, "beams": [{"question": "Muestra el nombre de estadio y su capacidad con la mayor cantidad de conciertos en el a\u00f1o 2014 o despu\u00e9s.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name, stadium.Capacity FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year >= 2014 GROUP BY concert.Stadium_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.020316094616823932}]} {"index": 25, "beams": [{"question": "\u00bfCu\u00e1l es el nombre y la capacidad del estadio donde celebra m\u00e1s conciertos despu\u00e9s de 2013?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 85))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name, stadium.Capacity FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year > 85 GROUP BY concert.Stadium_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -1.5301445922280195}]} {"index": 26, "beams": [{"question": "\u00bfEn qu\u00e9 a\u00f1o hay m\u00e1s conciertos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT concert.Year FROM concert GROUP BY concert.Year ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -5.7099841065166856e-05}]} {"index": 27, "beams": [{"question": "\u00bfCu\u00e1l es el a\u00f1o cuando se celebraron m\u00e1s conciertos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT concert.Year FROM concert GROUP BY concert.Year ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.00025519580110966444}]} {"index": 28, "beams": [{"question": "Muestre los nombres de los estadios sin ning\u00fan concierto.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name FROM stadium WHERE stadium.Stadium_ID NOT IN (SELECT concert.Stadium_ID FROM concert)", "inferred_code_readable": "", "score": -1.9311877878180894e-05}]} {"index": 29, "beams": [{"question": "\u00bfC\u00f3mo se llaman los estadios sin conciertos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name FROM stadium WHERE stadium.Stadium_ID NOT IN (SELECT concert.Stadium_ID FROM concert)", "inferred_code_readable": "", "score": -1.9550292485348564e-05}]} {"index": 30, "beams": [{"question": "Muestre los pa\u00edses de donde vienen los cantantes mayores de 40 a\u00f1os o menores de 30.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 40))))) (cond-right (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Country FROM singer WHERE singer.Age > 40 OR singer.Age < 30", "inferred_code_readable": "", "score": -0.0240850214965036}]} {"index": 31, "beams": [{"question": "Muestre los nombres de todos los estadios, excepto los en que se celebraron conciertos en el a\u00f1o 2014.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT stadium.Name FROM stadium EXCEPT SELECT stadium.Name FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2014", "inferred_code_readable": "", "score": -0.008092562720975138}]} {"index": 32, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de todos los estadios donde no hubieron conciertos en 2014?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT stadium.Name FROM stadium EXCEPT SELECT stadium.Name FROM concert JOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID WHERE concert.Year = 2014", "inferred_code_readable": "", "score": -0.123409310652697}]} {"index": 33, "beams": [{"question": "Muestre los nombres, temas y el n\u00famero de cantantes en cada concierto.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT concert.concert_Name, concert.Theme, Count(*) FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID GROUP BY concert.concert_ID", "inferred_code_readable": "", "score": -0.07517761360476527}]} {"index": 34, "beams": [{"question": "\u00bfCu\u00e1les son los nombres, temas y n\u00famero de cantantes de cada concierto?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT concert.concert_Name, concert.Theme, Count(*) FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID GROUP BY singer_in_concert.concert_ID", "inferred_code_readable": "", "score": -0.35385259351539133}]} {"index": 35, "beams": [{"question": "Enumere los nombres y el n\u00famero de conciertos para cada cantante.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name, Count(*) FROM singer JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID GROUP BY singer_in_concert.Singer_ID", "inferred_code_readable": "", "score": -0.0011316570197905662}]} {"index": 36, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los cantantes y el n\u00famero de conciertos de cada persona?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name, Count(*) FROM singer JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID GROUP BY singer_in_concert.Singer_ID", "inferred_code_readable": "", "score": -7.665077846041868e-05}]} {"index": 37, "beams": [{"question": "Enumere todos los nombres de los cantantes en los conciertos del a\u00f1o 2014.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID WHERE concert.Year = 2014", "inferred_code_readable": "", "score": -0.0016742315414646214}]} {"index": 38, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los cantantes que cantaron en los concierto en 2014?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID WHERE concert.Year = 2014", "inferred_code_readable": "", "score": -0.36928981003939043}]} {"index": 39, "beams": [{"question": "\u00bfCu\u00e1l es el nombre y la nacionalidad del cantante que tiene una canci\u00f3n con 'Hey' en su nombre?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%en%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name, singer.Country FROM singer WHERE singer.Song_Name LIKE \"%en%\"", "inferred_code_readable": "", "score": -0.874142499837518}]} {"index": 40, "beams": [{"question": "\u00bfCu\u00e1l es los nombres y el pa\u00eds de origen de cada cantante que tiene la canci\u00f3n con la palabra 'Hey' en su nombre?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%He%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name, singer.Country FROM singer WHERE singer.Song_Name LIKE \"%He%\"", "inferred_code_readable": "", "score": -0.8757837339928969}]} {"index": 41, "beams": [{"question": "Encuentre nombres y localizaciones de los estadios en los que se realizaron algunos conciertos en 2014 y 2015.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2015))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name, stadium.Location FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2014 INTERSECT SELECT stadium.Name, stadium.Location FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2015", "inferred_code_readable": "", "score": -0.4255575108680105}]} {"index": 42, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y las localizaciones de los estadios donde tuvieron lugar conciertos en 2014 y 2015?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2014))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT stadium.Name, stadium.Location FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2014", "inferred_code_readable": "", "score": -0.08507204921748723}]} {"index": 43, "beams": [{"question": "Encuentre el n\u00famero de conciertos que se realizaron en el estadio con mayor capacidad.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID ORDER BY stadium.Capacity Desc LIMIT 1", "inferred_code_readable": "", "score": -0.4022125509923953}]} {"index": 44, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de conciertos que se realizaron en el estadio con mayor capacidad?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID ORDER BY stadium.Capacity Desc LIMIT 1", "inferred_code_readable": "", "score": -0.04155591074785292}]} {"index": 45, "beams": [{"question": "Encuentre la cantidad de mascotas cuyo peso es superior a 10.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Pets WHERE Pets.weight > 10", "inferred_code_readable": "", "score": -1.2874581742039481e-05}]} {"index": 46, "beams": [{"question": "\u00bfCu\u00e1ntas mascotas pesan m\u00e1s de 10?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Pets WHERE Pets.weight > 10", "inferred_code_readable": "", "score": -1.513954911303017e-05}]} {"index": 47, "beams": [{"question": "Encuentre el peso del\"dog\" de edad m\u00e1s peque\u00f1a.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"male\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Pets.weight FROM Pets WHERE Pets.PetType = \"male\" AND Pets.pet_age = (SELECT Min(Pets.pet_age) FROM Pets WHERE Pets.PetType = \"Cat\")", "inferred_code_readable": "", "score": -0.6344860195934601}]} {"index": 48, "beams": [{"question": "\u00bfCu\u00e1nto pesa el \"dog\" m\u00e1s joven?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"male\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"male\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Pets.weight FROM Pets WHERE Pets.PetType = \"male\" AND Pets.pet_age = (SELECT Min(Pets.pet_age) FROM Pets WHERE Pets.PetType = \"male\")", "inferred_code_readable": "", "score": -0.6987578485502866}]} {"index": 49, "beams": [{"question": "Encuentre el peso m\u00e1ximo para cada tipo de mascotas. Indique el peso m\u00e1ximo y el tipo correspondiente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(Pets.weight), Pets.PetType FROM Pets GROUP BY Pets.PetType", "inferred_code_readable": "", "score": -0.03834950631653555}]} {"index": 50, "beams": [{"question": "Enumere el peso m\u00e1ximo y tipo para cada mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(Pets.weight), Pets.PetType FROM Pets", "inferred_code_readable": "", "score": -0.04296777320289635}]} {"index": 51, "beams": [{"question": "Encuentre la cantidad de mascotas que pertenecen a estudiantes mayores de 20 a\u00f1os.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 20))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Age > 20", "inferred_code_readable": "", "score": -0.5986532760100403}]} {"index": 52, "beams": [{"question": "\u00bfCu\u00e1ntas mascotas tienen los estudiantes de una edad mayor de 20 a\u00f1os?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 20))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Age > 20", "inferred_code_readable": "", "score": -1.2249335787602291}]} {"index": 53, "beams": [{"question": "Encuentre el n\u00famero de mascotas de \"dog\" que cr\u00edan estudiantes femeninas (Sexo \"F\").", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"F\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"F\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Sex = \"F\" AND Pets.PetType = \"F\"", "inferred_code_readable": "", "score": -0.19774767715184538}]} {"index": 54, "beams": [{"question": "\u00bfCu\u00e1ntas mascotas de \"dog\" cr\u00edan las alumnas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"F\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Sex = \"F\" AND Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -0.6569578517234191}]} {"index": 55, "beams": [{"question": "Encuentre el n\u00famero de distintos tipos de mascotas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Pets.PetType) FROM Pets", "inferred_code_readable": "", "score": -6.914129606627739e-06}]} {"index": 56, "beams": [{"question": "\u00bfCu\u00e1ntos tipos diferentes de mascota hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Pets.PetType) FROM Pets", "inferred_code_readable": "", "score": -2.9205931156184306e-05}]} {"index": 57, "beams": [{"question": "Dime el nombre de pila de los estudiantes que tengan \"cat\"o\"dog\" como mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\" OR Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -0.6206264324827018}]} {"index": 58, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de pila de todos los estudiantes que tienen un \"cat\"o\"dog\"como mascota?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\" OR Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -0.7848290270452836}]} {"index": 59, "beams": [{"question": "Dime nombres de pila de los estudiantes que tengan tanto\"cat\"como\"dog\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\" INTERSECT SELECT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -1.6111619888786777}]} {"index": 60, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de pila de los estudiantes que tengan como \"cat\"tanto \"dog\" como mascotas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\" INTERSECT SELECT Student.Fname FROM Student JOIN Has_Pet ON Has_Pet.PetID = Has_Pet.StuID WHERE Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -1.7151308063127004}]} {"index": 61, "beams": [{"question": "Encuentre la especialidad y la edad de los estudiantes que no tengan un \"cat\"como mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student.Major, Student.Age FROM Student WHERE Student.StuID NOT IN (SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\")", "inferred_code_readable": "", "score": -0.6726928914678396}]} {"index": 62, "beams": [{"question": "\u00bfCu\u00e1l es la especialidad de cada estudiante que no tenga un \"cat\" como mascota y cu\u00e1ntos a\u00f1os tienen estos alumnos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student.Age, Student.Age FROM Student WHERE Student.StuID NOT IN (SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\")", "inferred_code_readable": "", "score": -1.2869837861719304}]} {"index": 63, "beams": [{"question": "Encuentre identificaciones de los estudiantes que no tengan un \"cat\" como mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Student.StuID FROM Student EXCEPT SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -0.0007815332966742972}]} {"index": 64, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones de los estudiantes que no cuenten con \"cat\" como mascotas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Student.StuID FROM Student EXCEPT SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -0.0010412303583819948}]} {"index": 65, "beams": [{"question": "Encuentre nombres de pila y edades de los estudiantes que tengan un \"dog\"pero no \"cat\"como mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Milk\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Student.Fname, Student.Age FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Milk\" EXCEPT SELECT Student.Fname, Student.Age FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID WHERE Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -0.5094448156910545}]} {"index": 66, "beams": [{"question": "\u00bfCu\u00e1l es los nombres de pila de cada estudiante que no tenga un\"cat\" sino un \"dog\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cat\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Student.Fname FROM Student EXCEPT SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "inferred_code_readable": "", "score": -0.45896337122125175}]} {"index": 67, "beams": [{"question": "Encuentre el tipo y el peso de la mascota m\u00e1s joven", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Pets.PetType, Pets.weight FROM Pets ORDER BY Pets.pet_age Asc LIMIT 1", "inferred_code_readable": "", "score": -1.013277645256494e-05}]} {"index": 68, "beams": [{"question": "\u00bfQu\u00e9 tipo de mascota es el animal m\u00e1s joven y cu\u00e1nto pesa?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Pets.PetType, Pets.weight FROM Pets ORDER BY Pets.pet_age Asc LIMIT 1", "inferred_code_readable": "", "score": -9.655941383357458e-06}]} {"index": 69, "beams": [{"question": "Encuentre identificaciones y pesos de todas las mascotas cuya edad sea mayor de 1.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Pets.PetID, Pets.weight FROM Pets WHERE Pets.pet_age > 1", "inferred_code_readable": "", "score": -9.775138124723526e-06}]} {"index": 70, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n y el peso de cada mascota mayor de 1 a\u00f1o?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Pets.PetID, Pets.weight FROM Pets WHERE Pets.pet_age > 1", "inferred_code_readable": "", "score": -1.0848024565746073e-05}]} {"index": 71, "beams": [{"question": "Calcula la edad media y m\u00e1xima para cada tipo de mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Pets.PetType), Max(Pets.pet_age), Pets.PetType FROM Pets GROUP BY Pets.PetType", "inferred_code_readable": "", "score": -0.015997274948865936}]} {"index": 72, "beams": [{"question": "\u00bfCu\u00e1l es la edad media y mayor para cada tipo de mascota?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Pets.pet_age), Max(Pets.pet_age), Pets.PetType FROM Pets GROUP BY Pets.PetType", "inferred_code_readable": "", "score": -0.20453105839990116}]} {"index": 73, "beams": [{"question": "Dime el peso promedio de cada tipo de mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Pets.PetType, Avg(Pets.weight) FROM Pets GROUP BY Pets.PetType", "inferred_code_readable": "", "score": -3.0398216864568894e-05}]} {"index": 74, "beams": [{"question": "\u00bfCu\u00e1l es el peso medio de cada tipo de mascota?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Pets.PetType, Avg(Pets.weight) FROM Pets GROUP BY Pets.PetType", "inferred_code_readable": "", "score": -4.005396191075761e-05}]} {"index": 75, "beams": [{"question": "Dime nombres de pila y edades de los estudiantes que tengan una mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Student.Fname, Student.Age FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID", "inferred_code_readable": "", "score": -6.914131510882271e-06}]} {"index": 76, "beams": [{"question": "\u00bfCu\u00e1les son los distintos nombres de pila y edades de los estudiantes con mascotas?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Student.Fname, Student.Age FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID", "inferred_code_readable": "", "score": -5.722044228662071e-06}]} {"index": 77, "beams": [{"question": "Encuentre la identificaci\u00f3n de la mascota del estudiante cuyo apellido es\"Smith\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Smith\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Has_Pet.PetID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID WHERE Student.LName = \"Smith\"", "inferred_code_readable": "", "score": -0.2500154351993089}]} {"index": 78, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n de la mascota del estudiante cuyo apellido es 'Smith'?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Smith\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Has_Pet.PetID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.LName = \"Smith\"", "inferred_code_readable": "", "score": -1.5786495971071872}]} {"index": 79, "beams": [{"question": "Encuentre el n\u00famero de mascotas para cada estudiante que tenga mascota y su id de estudiante.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), Student.StuID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Student.StuID", "inferred_code_readable": "", "score": -0.3695611426069334}]} {"index": 80, "beams": [{"question": "Para los estudiantes que tienen mascotas, \u00bfcu\u00e1ntas tiene cada uno?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), Student.StuID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Student.StuID", "inferred_code_readable": "", "score": -0.0016735249311636835}]} {"index": 81, "beams": [{"question": "Dime el nombre de pila y el sexo del estudiante que tenga m\u00e1s de una mascota.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student.Fname, Student.Sex FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Student.StuID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.1154608502209058}]} {"index": 82, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de pila y sexo de todos los estudiantes que tengan m\u00e1s de una mascota?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student.Fname, Student.Sex FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Has_Pet.StuID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.11670369641588962}]} {"index": 83, "beams": [{"question": "Encuentre el apellido del estudiante que tenga un \"cat\"de 3 a\u00f1os.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"F\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student.LName FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Age = 3 AND Pets.PetType = \"F\"", "inferred_code_readable": "", "score": -1.5528860326385612}]} {"index": 84, "beams": [{"question": "\u00bfCu\u00e1l es el apellido del estudiante que tenga un \"cat\" de 3 a\u00f1os?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"F\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student.LName FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Age = 3 AND Pets.PetType = \"F\"", "inferred_code_readable": "", "score": -1.3554710244556603}]} {"index": 85, "beams": [{"question": "Encuentre la edad promedio de los estudiantes sin mascotas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Student.Age) FROM Student WHERE Student.StuID NOT IN (SELECT Has_Pet.StuID FROM Has_Pet)", "inferred_code_readable": "", "score": -9.071601989774081e-05}]} {"index": 86, "beams": [{"question": "\u00bfCu\u00e1l es la edad promedio de todos los estudiantes que no tengan mascotas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Student.Age) FROM Student WHERE Student.StuID NOT IN (SELECT Has_Pet.StuID FROM Has_Pet)", "inferred_code_readable": "", "score": -6.389514294369292e-05}]} {"index": 87, "beams": [{"question": "\u00bfCu\u00e1ntos continentes hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM continents", "inferred_code_readable": "", "score": -6.675712242554255e-06}]} {"index": 88, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de continentes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM continents", "inferred_code_readable": "", "score": -5.722034337907189e-06}]} {"index": 89, "beams": [{"question": "\u00bfCu\u00e1ntos pa\u00edses hay en cada continente? Enumere la identificaci\u00f3n de continente, el nombre de continente y el n\u00famero de pa\u00edses.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT continents.ContId, continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent GROUP BY continents.ContId", "inferred_code_readable": "", "score": -0.001662327794399232}]} {"index": 90, "beams": [{"question": "Para cada continente, indique su identificaci\u00f3n, nombre y cu\u00e1ntos pa\u00edses tiene.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT continents.Continent, continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent GROUP BY continents.Continent", "inferred_code_readable": "", "score": -0.24100341065545905}]} {"index": 91, "beams": [{"question": "\u00bfCu\u00e1ntos pa\u00edses se enumeran?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM countries", "inferred_code_readable": "", "score": -2.622602870872015e-06}]} {"index": 92, "beams": [{"question": "Cuantos paises existen?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM countries", "inferred_code_readable": "", "score": -3.457066313217183e-06}]} {"index": 93, "beams": [{"question": "\u00bfCu\u00e1ntos modelos produce cada fabricante de autom\u00f3viles? Enumere nombres completos, identificaciones y n\u00fameros de estos fabricantes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.FullName, car_makers.Maker, Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "inferred_code_readable": "", "score": -0.001032475117547449}]} {"index": 94, "beams": [{"question": "\u00bfCu\u00e1l es el nombre completo de cada fabricante de autom\u00f3viles, junto con su identificaci\u00f3n y cu\u00e1ntos modelos produce?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.FullName, car_makers.Maker, Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "inferred_code_readable": "", "score": -0.8087553048018421}]} {"index": 95, "beams": [{"question": "\u00bfQu\u00e9 modelo de coche tiene la caballo de fuerza m\u00ednima?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_names.Model FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Horsepower Asc LIMIT 1", "inferred_code_readable": "", "score": -0.037085733605053406}]} {"index": 96, "beams": [{"question": "\u00bfCu\u00e1l es el modelo del coche con menor caballo de fuerza?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Horsepower Asc LIMIT 1", "inferred_code_readable": "", "score": -0.5208025124269824}]} {"index": 97, "beams": [{"question": "Encuentre el modelo del coche cuyo peso est\u00e1 por debajo del peso promedio.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Weight < (SELECT Avg(cars_data.Weight) FROM cars_data)", "inferred_code_readable": "", "score": -0.007926778281870384}]} {"index": 98, "beams": [{"question": "\u00bfCu\u00e1l es el modelo del autom\u00f3vil con un peso menor que el promedio?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Weight < (SELECT Avg(cars_data.Weight) FROM cars_data)", "inferred_code_readable": "", "score": -0.03586838349249177}]} {"index": 99, "beams": [{"question": "Encontre nombres completos de los fabricantes que produjeron algunos coches en el a\u00f1o \"1970\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (Number (object-f 70))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.FullName, car_makers.Maker FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year = 70", "inferred_code_readable": "", "score": -0.19348880463372353}]} {"index": 100, "beams": [{"question": "\u00bfC\u00f3mo se llaman los fabricantes que produjeron un coche en \"1970\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (Number (object-f 70))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.Maker FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year = 70", "inferred_code_readable": "", "score": -1.4270160910613612}]} {"index": 101, "beams": [{"question": "Encuentre el tiempo de fabricaci\u00f3n y producci\u00f3n de los autosm\u00f3viles que se produjeron en el primer a\u00f1o.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Year, cars_data.Year FROM cars_data ORDER BY cars_data.Year Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0007390865949474801}]} {"index": 102, "beams": [{"question": "\u00bfCu\u00e1l es el fabricante del coche producido en el primer a\u00f1o y qu\u00e9 a\u00f1o fue?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.Maker, cars_data.Year FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Year Asc LIMIT 1", "inferred_code_readable": "", "score": -0.02443010746377894}]} {"index": 103, "beams": [{"question": "\u00bfQu\u00e9 modelos de autom\u00f3viles se fabricaron despu\u00e9s de \"1980\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1990))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year > 1990", "inferred_code_readable": "", "score": -0.17322519949426152}]} {"index": 104, "beams": [{"question": "\u00bfCu\u00e1les son los diferentes modelos de coches producidos despu\u00e9s de \"1980\"?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1990))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year > 1990", "inferred_code_readable": "", "score": -0.8000944784468729}]} {"index": 105, "beams": [{"question": "\u00bfCu\u00e1ntos fabricantes de autom\u00f3viles hay en cada continente? Enumere nombres de continente y recuentos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent JOIN car_makers ON countries.CountryId = car_makers.Country GROUP BY continents.Continent", "inferred_code_readable": "", "score": -0.0010812167339295797}]} {"index": 106, "beams": [{"question": "\u00bfC\u00f3mo se llama cada continente y cu\u00e1ntos fabricantes de autom\u00f3viles hay en cada uno?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent GROUP BY continents.Continent", "inferred_code_readable": "", "score": -0.4030849881248386}]} {"index": 107, "beams": [{"question": "\u00bfCu\u00e1l de los pa\u00edses tiene m\u00e1s fabricantes de autom\u00f3viles? Indique sus nombres.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country GROUP BY countries.CountryName ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -2.729882995566868e-05}]} {"index": 108, "beams": [{"question": "\u00bfC\u00f3mo se llama el pa\u00eds en que se ubican m\u00e1s fabricantes de autom\u00f3viles?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country GROUP BY countries.CountryName ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -2.3722592402464215e-05}]} {"index": 109, "beams": [{"question": "\u00bfCu\u00e1ntos modelos de autom\u00f3viles produce cada fabricante? Enumere el recuento y el nombre completo del fabricante.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), car_makers.FullName FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "inferred_code_readable": "", "score": -0.28584171533751146}]} {"index": 110, "beams": [{"question": "\u00bfCu\u00e1l es la cantidad de modelos de autom\u00f3viles que produce cada fabricante y cu\u00e1l es la identificaci\u00f3n y el nombre completo de cada fabricante?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), car_makers.FullName, car_makers.Id FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "inferred_code_readable": "", "score": -0.12938568914553628}]} {"index": 111, "beams": [{"question": "\u00bfCu\u00e1l es la aceleraci\u00f3n del coche de \"amc hornet sportabout (sw)\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Anchorsportsportsportabout(\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Accelerate FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"Anchorsportsportsportabout(\"", "inferred_code_readable": "", "score": -1.6696403976707686}]} {"index": 112, "beams": [{"question": "\u00bfCu\u00e1nto acelera el coche de \"amc hornet sea sportabout (sw)\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 4))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Anchornetseasportsportabout(\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Accelerate FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"Anchornetseasportsportabout(\"", "inferred_code_readable": "", "score": -3.0430834201384442}]} {"index": 113, "beams": [{"question": "\u00bfCu\u00e1ntos fabricantes de autom\u00f3viles hay en \"France\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Texas\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE countries.CountryName = \"Texas\"", "inferred_code_readable": "", "score": -0.8086013875160702}]} {"index": 114, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de fabricantes de coches en \"France\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Texas\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE countries.CountryName = \"Texas\"", "inferred_code_readable": "", "score": -0.3881313154267829}]} {"index": 115, "beams": [{"question": "\u00bfCu\u00e1ntos modelos de autom\u00f3viles se producen en \"USA\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM countries WHERE countries.CountryName = \"United\"", "inferred_code_readable": "", "score": -0.9882479308572982}]} {"index": 116, "beams": [{"question": "\u00bfCu\u00e1l es el recuento de modelos de autom\u00f3viles producidos en \"USA\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent WHERE continents.Continent = \"United\"", "inferred_code_readable": "", "score": -1.7924643420845001}]} {"index": 117, "beams": [{"question": "\u00bfCu\u00e1l es el promedio de mpg de los autos con 4 cilindros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = 4", "inferred_code_readable": "", "score": -9.39337888752334e-05}]} {"index": 118, "beams": [{"question": "\u00bfCu\u00e1l es el promedio de mpg de todos los coches con 4 cilindros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = 4", "inferred_code_readable": "", "score": -0.0001244485622891034}]} {"index": 119, "beams": [{"question": "\u00bfCu\u00e1l es el menor peso del autom\u00f3viles producidos con\"8\" cilindros en \"1974\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 8))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (String (string-s \"\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Min(cars_data.Weight) FROM cars_data WHERE cars_data.Cylinders = 8 AND cars_data.Year = \"\"", "inferred_code_readable": "", "score": -1.5490337515309562}]} {"index": 120, "beams": [{"question": "\u00bfCu\u00e1l es el peso m\u00ednimo del autom\u00f3viles con \"8\" cilindros producidos en \"1974\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 8))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (String (string-s \"A\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Min(cars_data.Weight) FROM cars_data WHERE cars_data.Cylinders = 8 AND cars_data.Year = \"A\"", "inferred_code_readable": "", "score": -1.7879687880993629}]} {"index": 121, "beams": [{"question": "\u00bfCu\u00e1les son todos los fabricantes y modelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.Maker, model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker", "inferred_code_readable": "", "score": -0.11719079595395243}]} {"index": 122, "beams": [{"question": "\u00bfCu\u00e1les son los fabricantes y modelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.Maker, model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker", "inferred_code_readable": "", "score": -0.000489438278940213}]} {"index": 123, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses que tienen al menos un fabricante de autom\u00f3viles? Dime su nombre e identificaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countries.CountryName, car_makers.Id FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country", "inferred_code_readable": "", "score": -0.0032922219039264178}]} {"index": 124, "beams": [{"question": "\u00bfCu\u00e1les son los nombres e identificaciones de todos los pa\u00edses con al menos un fabricante de autom\u00f3viles?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countries.CountryName, car_makers.Id FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country", "inferred_code_readable": "", "score": -0.2746915110277257}]} {"index": 125, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de autom\u00f3viles con caballos de fuerza superiores a 150?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (Number (object-f 150))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Horsepower > 150", "inferred_code_readable": "", "score": -0.040246643101177426}]} {"index": 126, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de autom\u00f3viles con caballo de fuerza superior a 150?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (Number (object-f 150))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Horsepower > 150", "inferred_code_readable": "", "score": -0.0303108021377696}]} {"index": 127, "beams": [{"question": "\u00bfCu\u00e1l es el peso medio de los coches cada a\u00f1o?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(cars_data.Weight), cars_data.Year FROM cars_data GROUP BY cars_data.Year", "inferred_code_readable": "", "score": -1.4305036209805166e-05}]} {"index": 128, "beams": [{"question": "\u00bfCu\u00e1l es el peso medio y el a\u00f1o de cada a\u00f1o?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(cars_data.Weight), cars_data.Year FROM cars_data GROUP BY cars_data.Year", "inferred_code_readable": "", "score": -0.003724956860345685}]} {"index": 129, "beams": [{"question": "\u00bfQu\u00e9 pa\u00edses de \"Europe\"tienen al menos 3 fabricantes de autom\u00f3viles?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Uniteds\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countries.CountryName FROM continents JOIN countries ON continents.ContId = countries.Continent JOIN car_makers ON countries.CountryId = car_makers.Country WHERE continents.Continent = \"Uniteds\" GROUP BY countries.CountryId HAVING Count(*) >= 3", "inferred_code_readable": "", "score": -1.028473340250379}]} {"index": 130, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de todos los pa\u00edses \"Europe\" con al menos 3 fabricantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Uniteds\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countries.CountryName FROM continents JOIN countries ON continents.ContId = countries.Continent WHERE continents.Continent = \"Uniteds\" GROUP BY countries.CountryId HAVING Count(*) >= 3", "inferred_code_readable": "", "score": -0.5840492156745185}]} {"index": 131, "beams": [{"question": "\u00bfCu\u00e1l es el caballo de fuerza m\u00e1ximo y la marca de los modelos de autom\u00f3vil con 3 cilindros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(cars_data.Horsepower), car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Cylinders = 3", "inferred_code_readable": "", "score": -0.07418662707994628}]} {"index": 132, "beams": [{"question": "\u00bfCu\u00e1l es el mayor caballo de fuerza para los modelos con 3 cilindros y de qu\u00e9 marcas son?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(cars_data.Horsepower), car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Cylinders >= 3", "inferred_code_readable": "", "score": -0.7315834625395752}]} {"index": 133, "beams": [{"question": "\u00bfQu\u00e9 modelo ahorra m\u00e1s gasolina, es decir, tenga m\u00e1xima mpg? ", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_names.Model FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.MPG Desc LIMIT 1", "inferred_code_readable": "", "score": -1.6506842437744496}]} {"index": 134, "beams": [{"question": "\u00bfCu\u00e1l es el modelo de autom\u00f3vil con mayor mpg?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_names.Model FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.MPG Desc LIMIT 1", "inferred_code_readable": "", "score": -0.5865907333764113}]} {"index": 135, "beams": [{"question": "\u00bfCu\u00e1l es el caballo de fuerza medio de los coches antes de \"1980\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1990))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(cars_data.Horsepower) FROM cars_data WHERE cars_data.Year < 1990", "inferred_code_readable": "", "score": -0.47904553826062823}]} {"index": 136, "beams": [{"question": "\u00bfCu\u00e1l es el caballo de fuerza promedio de todas las marcas de autosm\u00f3viles producidos antes de 1980?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1990))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(cars_data.Horsepower) FROM cars_data WHERE cars_data.Year < 1990", "inferred_code_readable": "", "score": -0.6313517093508523}]} {"index": 137, "beams": [{"question": "\u00bfCu\u00e1l es el edispl medio de los coches del modelo \"volvo\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 4)) (Table (table-table_id 3))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PVvo\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(cars_data.Edispl) FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Model = \"PVvo\"", "inferred_code_readable": "", "score": -1.2638474902220551}]} {"index": 138, "beams": [{"question": "\u00bfCu\u00e1l es el edispl promedio para todos los \"volvo\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 4))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PVvo\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(cars_data.Edispl) FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"PVvo\"", "inferred_code_readable": "", "score": -0.5062883012850037}]} {"index": 139, "beams": [{"question": "\u00bfCu\u00e1l es la aceleraci\u00f3n m\u00e1xima para coches de n\u00fameros de cilindros diferentes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(cars_data.Accelerate), cars_data.Cylinders FROM cars_data GROUP BY cars_data.Cylinders", "inferred_code_readable": "", "score": -0.006970193700013283}]} {"index": 140, "beams": [{"question": "\u00bfCu\u00e1l es la aceleraci\u00f3n m\u00e1xima para todos los coches de cilindros diferentes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(cars_data.Accelerate), cars_data.Cylinders FROM cars_data", "inferred_code_readable": "", "score": -0.6182765619430413}]} {"index": 141, "beams": [{"question": "\u00bfQu\u00e9 modelo tiene m\u00e1s versiones (marcas) de autom\u00f3viles?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_names.Model FROM car_names GROUP BY car_names.Model ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0014028987765684064}]} {"index": 142, "beams": [{"question": "\u00bfQu\u00e9 modelo tiene las versiones m\u00e1s diversas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT model_list.Model FROM model_list GROUP BY model_list.Model ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.00012826320746484043}]} {"index": 143, "beams": [{"question": "\u00bfCu\u00e1ntos coches tienen m\u00e1s de 4 cilindros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 4", "inferred_code_readable": "", "score": -0.00047470331271881605}]} {"index": 144, "beams": [{"question": "\u00bfCu\u00e1l es la cantidad de autom\u00f3viles con m\u00e1s de 4 cilindros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 4", "inferred_code_readable": "", "score": -0.0003634056153458687}]} {"index": 145, "beams": [{"question": "\u00bfcu\u00e1ntos coches se fabricaron en \"1980\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (String (string-s \"in\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Year = \"in\"", "inferred_code_readable": "", "score": -0.8774431620515557}]} {"index": 146, "beams": [{"question": "En \"1980\", \u00bfcu\u00e1ntos coches se fabricaron?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (String (string-s \"in\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Year = \"in\"", "inferred_code_readable": "", "score": -0.7083545456298808}]} {"index": 147, "beams": [{"question": "\u00bfCu\u00e1ntos modelos de autos produjo el fabricante con el nombre completo \"American Motor Company\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AmericanMotorCompany\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"AmericanMotorCompany\"", "inferred_code_readable": "", "score": -0.0039883917582628214}]} {"index": 148, "beams": [{"question": "\u00bfCu\u00e1l es la cantidad de modelos de autos creados por el fabricante de autom\u00f3viles\"American Motor Company\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AmericanMotorCompany\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"AmericanMotorCompany\"", "inferred_code_readable": "", "score": -0.6053455685724103}]} {"index": 149, "beams": [{"question": "\u00bfQu\u00e9 fabricantes dise\u00f1aron m\u00e1s de 3 modelos de autos? Indique su nombre completo y la identificaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.FullName, car_makers.Id FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 3", "inferred_code_readable": "", "score": -0.20986224111022977}]} {"index": 150, "beams": [{"question": "\u00bfCu\u00e1les son los nombres e ids de todos los fabricantes con m\u00e1s de 3 modelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.FullName, car_makers.Maker FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 3", "inferred_code_readable": "", "score": -0.23422235539555913}]} {"index": 151, "beams": [{"question": "\u00bfQu\u00e9 modelos distintos son producidos por el fabricante con el nombre completo de \"General Motors\" o que pesan m\u00e1s de 3500?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"JohnMotorMotor\"))))) (cond-right (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"JohnMotorMotor\" OR car_makers.Maker > 3000", "inferred_code_readable": "", "score": -2.2475259720250307}]} {"index": 152, "beams": [{"question": "\u00bfCu\u00e1les son los diferentes modelos producidos por el fabricante de autom\u00f3viles \"General Motors\" o que pesan m\u00e1s de 3500?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"JohnMotorMotor\"))))) (cond-right (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"JohnMotorMotor\" OR car_makers.FullName > 3000", "inferred_code_readable": "", "score": -1.8764872443181417}]} {"index": 153, "beams": [{"question": "\u00bfEn qu\u00e9 a\u00f1os se produjeron autom\u00f3viles que pesaban no menos de 3000 y no m\u00e1s de 4000?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Between (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))) (val-val2 (Number (object-f 5000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Year FROM cars_data WHERE cars_data.Weight BETWEEN 3000 AND 5000", "inferred_code_readable": "", "score": -0.029052169094057945}]} {"index": 154, "beams": [{"question": "\u00bfCu\u00e1les son los diferentes a\u00f1os en los que se produjeron coches que pesaban menos de 4000 y tambi\u00e9n m\u00e1s de 3000?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Year FROM cars_data WHERE cars_data.Weight < 4000 INTERSECT SELECT cars_data.Year FROM cars_data WHERE cars_data.Weight > 3000", "inferred_code_readable": "", "score": -0.15400318356032017}]} {"index": 155, "beams": [{"question": "\u00bfCu\u00e1l es el caballo de fuerza del auto con la mayor aceleraci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Horsepower FROM cars_data ORDER BY cars_data.Accelerate Desc LIMIT 1", "inferred_code_readable": "", "score": -7.629385478935546e-06}]} {"index": 156, "beams": [{"question": "\u00bfCu\u00e1l es el caballo de fuerza del auto con la mayor aceleraci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Horsepower FROM cars_data ORDER BY cars_data.Accelerate Desc LIMIT 1", "inferred_code_readable": "", "score": -7.629385478935546e-06}]} {"index": 157, "beams": [{"question": "Para el modelo \"volvo\", \u00bfcu\u00e1ntos cilindros tiene el coche con menor aceleraci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 4))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PVvo\"))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Cylinders FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"PVvo\" ORDER BY cars_data.Accelerate Asc LIMIT 1", "inferred_code_readable": "", "score": -1.7282744911103265}]} {"index": 158, "beams": [{"question": "Para un modelo de \"volvo\", \u00bfcu\u00e1ntos cilindros tiene la versi\u00f3n con menor aceleraci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 4)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PVvo\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Cylinders FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_makers.Maker = \"PVvo\"", "inferred_code_readable": "", "score": -1.9502951906924082}]} {"index": 159, "beams": [{"question": "\u00bfCu\u00e1ntos autom\u00f3viles tienen una aceleraci\u00f3n mayor que el con la mayor caballo de fuerza?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Accelerate > (SELECT Max(cars_data.Accelerate) FROM cars_data)", "inferred_code_readable": "", "score": -0.00012957436289440238}]} {"index": 160, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de autos con una mayor aceleraci\u00f3n que el que lleva mayores caballos de fuerza?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Accelerate > (SELECT Max(cars_data.Accelerate) FROM cars_data)", "inferred_code_readable": "", "score": -0.0032391913285323426}]} {"index": 161, "beams": [{"question": "\u00bfCu\u00e1ntos pa\u00edses tienen m\u00e1s de 2 fabricantes de autom\u00f3viles?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (TableUnitSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM (SELECT car_makers.Country FROM car_makers GROUP BY car_makers.Country HAVING Count(*) > 2)", "inferred_code_readable": "", "score": -1.2059424688766995}]} {"index": 162, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de los pa\u00edses con m\u00e1s de 2 fabricantes de autom\u00f3viles?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (TableUnitSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM (SELECT car_makers.Country FROM car_makers GROUP BY car_makers.Country HAVING Count(*) > 2)", "inferred_code_readable": "", "score": -0.027267476748797037}]} {"index": 163, "beams": [{"question": "\u00bfCu\u00e1ntos coches tiene m\u00e1s de 6 cilindros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 8))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 8", "inferred_code_readable": "", "score": -0.4102317392801922}]} {"index": 164, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de autom\u00f3viles con m\u00e1s de 6 cilindros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2006))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 2006", "inferred_code_readable": "", "score": -0.4680361747723367}]} {"index": 165, "beams": [{"question": "Para los coches de 4 cilindros, \u00bfqu\u00e9 modelo suyo tiene el mayor caballo de fuerza?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Id FROM cars_data ORDER BY cars_data.Cylinders Desc LIMIT 1", "inferred_code_readable": "", "score": -1.3001281953061579}]} {"index": 166, "beams": [{"question": "Entre todos los coches de 4 cilindros, \u00bfqu\u00e9 modelo tiene m\u00e1s caballo de fuerza?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Horsepower FROM cars_data WHERE cars_data.Cylinders = 4 ORDER BY cars_data.Horsepower Desc LIMIT 1", "inferred_code_readable": "", "score": -1.5948972045352505}]} {"index": 167, "beams": [{"question": "Entre los coches con el caballo de fuerza m\u00e1s del m\u00ednimo, \u00bfcu\u00e1les no tienen m\u00e1s de 3 cilindros? Enumere los nombres completos de sus fabricantes, as\u00ed como ids de dichos fabricantes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Between (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))) (val-val2 (Number (object-f 3))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.FullName, car_makers.Maker, car_makers.Id FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Cylinders BETWEEN 3 AND 3", "inferred_code_readable": "", "score": -0.17385428095383304}]} {"index": 168, "beams": [{"question": "Entre los autos que no tienen el caballo de fuerza m\u00ednimo, \u00bfcu\u00e1les son las identificaciones y los nombres completos de todos los que tienen menos de 4 cilindros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT cars_data.Edispl, cars_data.Edispl FROM cars_data WHERE cars_data.Cylinders < 4", "inferred_code_readable": "", "score": -0.20734179124239205}]} {"index": 169, "beams": [{"question": "\u00bfCu\u00e1l es el m\u00e1ximo del mpg de los coche con\"8\" cilindros o producido antes de \"1980\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (String (string-s \"in\"))))) (cond-right (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (Number (object-f 8))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = \"in\" OR cars_data.Year < 8", "inferred_code_readable": "", "score": -1.561052189564279}]} {"index": 170, "beams": [{"question": "\u00bfCu\u00e1l es el mpg m\u00e1ximo de los autos que ten\u00edan \"8\"cilindros o que se produjeron antes de \"1980\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (String (string-s \"4\"))))) (cond-right (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))) (val-val1 (Number (object-f 8))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = \"4\" OR cars_data.Year < 8", "inferred_code_readable": "", "score": -1.5683313945529633}]} {"index": 171, "beams": [{"question": "\u00bfQu\u00e9 modelos son m\u00e1s ligeros de 3500 pero no fabricados por\"Ford Motor Company\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USMotorMotorCompany\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT model_list.Model FROM model_list WHERE model_list.Model < 3000 EXCEPT SELECT model_list.Model FROM model_list JOIN car_makers ON model_list.Maker = car_makers.Id WHERE car_makers.FullName = \"USMotorMotorCompany\"", "inferred_code_readable": "", "score": -2.2654845328007056}]} {"index": 172, "beams": [{"question": "\u00bfCu\u00e1les son los diferentes modelos que son m\u00e1s ligeros de 3500 pero que no fueron fabricados por \"Ford Motor Company\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USMotorMotorCompany\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT model_list.Model FROM model_list EXCEPT SELECT model_list.Model FROM model_list JOIN car_makers ON model_list.Maker = car_makers.Id WHERE car_makers.FullName > 3000 AND car_makers.Maker = \"USMotorMotorCompany\"", "inferred_code_readable": "", "score": -0.5288982928145387}]} {"index": 173, "beams": [{"question": "\u00bfC\u00f3mo se llaman los pa\u00edses que no disponen de ning\u00fan fabricante de autom\u00f3viles?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countries.CountryName FROM countries WHERE countries.CountryId NOT IN (SELECT car_makers.Country FROM car_makers)", "inferred_code_readable": "", "score": -2.1696053764230783e-05}]} {"index": 174, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los pa\u00edses sin fabricantes de autom\u00f3viles?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countries.CountryName FROM countries WHERE countries.CountryId NOT IN (SELECT car_makers.Country FROM car_makers)", "inferred_code_readable": "", "score": -1.9669494399465748e-05}]} {"index": 175, "beams": [{"question": "\u00bfCu\u00e1les son los fabricantes de autom\u00f3viles que producen al menos 2 modelos y m\u00e1s de 3 fabricantes de autom\u00f3viles? Enumere la identificaci\u00f3n y el fabricante.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.Id, car_makers.Maker FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.0617683240727942}]} {"index": 176, "beams": [{"question": "\u00bfCu\u00e1les son las ids y fabricantes de todos los fabricantes de autom\u00f3viles que producen al menos 2 modelos y fabrican m\u00e1s de 3 marcas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT car_makers.Id, car_makers.Maker FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 2 INTERSECT SELECT car_makers.Id, car_makers.Maker FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 3", "inferred_code_readable": "", "score": -0.2502537562578482}]} {"index": 177, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones y los nombres de los pa\u00edses que tienen m\u00e1s de 3 fabricantes de autom\u00f3viles o producen el modelo \"fiat model\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"in\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))", "inferred_code": "SELECT car_makers.Id, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE car_makers.Maker = \"in\" UNION SELECT car_makers.Id, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName > 3 GROUP BY car_makers.Id HAVING Count(*) > 2", "inferred_code_readable": "", "score": -3.5101529366131885}]} {"index": 178, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones y nombres de todos los pa\u00edses que tienen m\u00e1s de 3 fabricantes de autom\u00f3viles o producen \"fiat model\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"in\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"film\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))", "inferred_code": "SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE car_makers.Maker = \"in\" UNION SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"film\" GROUP BY car_makers.Id HAVING Count(*) > 3", "inferred_code_readable": "", "score": -4.561170198358596}]} {"index": 179, "beams": [{"question": "\u00bfA qu\u00e9 pa\u00eds pertenece la aerol\u00ednea\"JetBlue Airways\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalterBlueAirways\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Country FROM airlines WHERE airlines.Airline = \"WalterBlueAirways\"", "inferred_code_readable": "", "score": -0.5471274868604041}]} {"index": 180, "beams": [{"question": "\u00bfA qu\u00e9 pa\u00eds est\u00e1 afiliado Jetblue Airways?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Walter%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Country FROM airlines WHERE airlines.Airline = \"Walter%\"", "inferred_code_readable": "", "score": -0.8243568120536438}]} {"index": 181, "beams": [{"question": "\u00bfCu\u00e1l es la abreviatura de Aerol\u00ednea\"JetBlue Airways\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalterBlueAirways\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Abbreviation FROM airlines WHERE airlines.Airline = \"WalterBlueAirways\"", "inferred_code_readable": "", "score": -1.2232552187573233}]} {"index": 182, "beams": [{"question": "\u00bfQu\u00e9 abreviatura corresponde a \"JetBlue Airways\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Walter\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Abbreviation FROM airlines WHERE airlines.Airline = \"Walter\"", "inferred_code_readable": "", "score": -0.6617532800879857}]} {"index": 183, "beams": [{"question": "Enumere todos los nombres de aerol\u00edneas y sus abreviaturas en \"USA\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline, airlines.Abbreviation FROM airlines WHERE airlines.Country = \"United\"", "inferred_code_readable": "", "score": -0.03440841473472034}]} {"index": 184, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y abreviaturas de las aerol\u00edneas en \"USA\"", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline, airlines.Abbreviation FROM airlines WHERE airlines.Country = \"United\"", "inferred_code_readable": "", "score": -0.027119140824048316}]} {"index": 185, "beams": [{"question": "Enumere el c\u00f3digo y el nombre del aeropuerto de la ciudad de \"Anthony\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ArSmi\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportCode, airports.AirportName FROM airports WHERE airports.City = \"ArSmi\"", "inferred_code_readable": "", "score": -1.3820449916105702}]} {"index": 186, "beams": [{"question": "Proporcione el c\u00f3digo del aeropuerto y el nombre del aeropuerto correspondiente a la ciudad \"Anthony\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ArSmi\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportCode, airports.AirportName FROM airports WHERE airports.City = \"ArSmi\"", "inferred_code_readable": "", "score": -1.4252993465704051}]} {"index": 187, "beams": [{"question": "\u00bfCu\u00e1ntas aerol\u00edneas tenemos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines", "inferred_code_readable": "", "score": -4.172320693385245e-06}]} {"index": 188, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero total de aerol\u00edneas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines", "inferred_code_readable": "", "score": -7.033331222316974e-06}]} {"index": 189, "beams": [{"question": "\u00bfCu\u00e1ntos aeropuertos tenemos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airports", "inferred_code_readable": "", "score": -2.384184817572077e-06}]} {"index": 190, "beams": [{"question": "Dame el n\u00famero de aeropuertos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airports", "inferred_code_readable": "", "score": -3.457067165868466e-06}]} {"index": 191, "beams": [{"question": "Cu\u00e1ntos vuelos tenemos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM flights", "inferred_code_readable": "", "score": -1.0728834993756209e-06}]} {"index": 192, "beams": [{"question": "Dame el n\u00famero de vuelos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM flights", "inferred_code_readable": "", "score": -4.053112178326046e-06}]} {"index": 193, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00ednea tiene la abreviatura \"UAL\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UAL\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines WHERE airlines.Abbreviation = \"UAL\"", "inferred_code_readable": "", "score": -0.015760335814704263}]} {"index": 194, "beams": [{"question": "Indique la aerol\u00ednea con la abreviatura \"UAL\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UAL\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines WHERE airlines.Abbreviation = \"UAL\"", "inferred_code_readable": "", "score": -9.226406926643449e-05}]} {"index": 195, "beams": [{"question": "\u00bfCu\u00e1ntas aerol\u00edneas son de \"USA\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USA\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines WHERE airlines.Country = \"USA\"", "inferred_code_readable": "", "score": -0.6048390865319533}]} {"index": 196, "beams": [{"question": "Dame el n\u00famero de aerol\u00edneas de \"USA\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines WHERE airlines.Country = \"United\"", "inferred_code_readable": "", "score": -0.28069749660762966}]} {"index": 197, "beams": [{"question": "\u00bfEn qu\u00e9 ciudad y pa\u00eds se encuentra el aeropuerto de \"Alton\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cuton\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.City, airports.Country FROM airports WHERE airports.AirportName = \"Cuton\"", "inferred_code_readable": "", "score": -0.17493041959660616}]} {"index": 198, "beams": [{"question": "Indique la ciudad y el pa\u00eds para el aeropuerto de \"Alton\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Cuton\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.City, airports.Country FROM airports WHERE airports.AirportName = \"Cuton\"", "inferred_code_readable": "", "score": -0.3399622334465562}]} {"index": 199, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del aeropuerto de \"AKO\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AKO\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportName FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE flights.SourceAirport = \"AKO\"", "inferred_code_readable": "", "score": -0.6689283042891745}]} {"index": 200, "beams": [{"question": "Dime el nombre del aeropuerto con el c\u00f3digo \"AKO\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AKO\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportName FROM airports WHERE airports.AirportCode = \"AKO\"", "inferred_code_readable": "", "score": -8.344649629066225e-07}]} {"index": 201, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los aeropuertos en ciudad \"Aberdeen\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Awarddeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportName FROM airports WHERE airports.City = \"Awarddeen\"", "inferred_code_readable": "", "score": -0.9189047394307579}]} {"index": 202, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los aeropuertos de \"Aberdeen\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Awarddeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportName FROM airports WHERE airports.City = \"Awarddeen\"", "inferred_code_readable": "", "score": -0.8021512022225892}]} {"index": 203, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos salen de \"APG\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM flights WHERE flights.SourceAirport = \"APG\"", "inferred_code_readable": "", "score": -0.020725457838715045}]} {"index": 204, "beams": [{"question": "Cuente el n\u00famero de vuelos que salen de 'APG'.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM flights WHERE flights.SourceAirport = \"APG\"", "inferred_code_readable": "", "score": -0.018100550604650323}]} {"index": 205, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos dirigen \"ATO\" como destino?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ATO\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM flights WHERE flights.DestAirport = \"ATO\"", "inferred_code_readable": "", "score": -0.00017618365895089028}]} {"index": 206, "beams": [{"question": "Cuente el n\u00famero de vuelos que llegan a \"ATO\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ATO\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM flights WHERE flights.DestAirport = \"ATO\"", "inferred_code_readable": "", "score": -0.03762484676305888}]} {"index": 207, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos salen de la ciudad de \"Aberdeen\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Adeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(flights.FlightNo) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\"", "inferred_code_readable": "", "score": -0.009211936094914108}]} {"index": 208, "beams": [{"question": "Dame el n\u00famero de vuelos que salen de \"Aberdeen\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AAdeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"AAdeen\"", "inferred_code_readable": "", "score": -1.814346751743038}]} {"index": 209, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos llegan a la ciudad de \"Aberdeen\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Adeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\"", "inferred_code_readable": "", "score": -0.5508737402285462}]} {"index": 210, "beams": [{"question": "Dame el n\u00famero de vuelos que llegan a \"Aberdeen\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Adeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\"", "inferred_code_readable": "", "score": -1.1633359122455005}]} {"index": 211, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos salen de la ciudad de \"Aberdeen\" y tienen como destino la ciudad de \"Ashley\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alicedeen\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alice\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\" AND airports.City = \"Alice\"", "inferred_code_readable": "", "score": -1.132250825478046}]} {"index": 212, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos vuelan de\"Aberdeen\" a \"Ashley\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alicedeen\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alice\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\" AND flights.DestAirport = \"Alice\"", "inferred_code_readable": "", "score": -1.036249285203077}]} {"index": 213, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos tiene la aerol\u00ednea 'JetBlue Airways'?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Bootball\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines JOIN flights WHERE airlines.Airline = \"Bootball\"", "inferred_code_readable": "", "score": -2.2638465270202417}]} {"index": 214, "beams": [{"question": "Indique el n\u00famero de vuelos de \"JetBlue Airways\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Bob\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines JOIN flights WHERE airlines.Airline = \"Bob\"", "inferred_code_readable": "", "score": -2.0170958617947434}]} {"index": 215, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos de 'United Airlines' van al aeropuerto 'ASY'?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ASY\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedAirlines\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.AirportName = \"ASY\" AND airlines.Airline = \"UnitedAirlines\"", "inferred_code_readable": "", "score": -0.8754614123048157}]} {"index": 216, "beams": [{"question": "Cuente el n\u00famero de vuelos de \"United Airlines\" que llegan al aeropuerto\"ASY\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ASY\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedAirlines\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines JOIN flights WHERE flights.DestAirport = \"ASY\" AND airlines.Airline = \"UnitedAirlines\"", "inferred_code_readable": "", "score": -0.8168930213479939}]} {"index": 217, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos de 'United Airlines' salen del aeropuerto 'AHD'?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AHD\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedAirlines\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.AirportName = \"AHD\" AND airlines.Airline = \"UnitedAirlines\"", "inferred_code_readable": "", "score": -0.6667032694525687}]} {"index": 218, "beams": [{"question": "Dame el n\u00famero de vuelos de \"United Airlines\"que salen del aeropuerto \"AHD\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AHD\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedAirlines\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines JOIN flights WHERE flights.SourceAirport = \"AHD\" AND airlines.Airline = \"UnitedAirlines\"", "inferred_code_readable": "", "score": -0.9414407372477811}]} {"index": 219, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos de \"United Airlines\"van a la ciudad de 'Aberdeen'?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alicedeen\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedAirlinesAirlines\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(flights.FlightNo) FROM airlines JOIN airports JOIN flights WHERE airports.City = \"Alicedeen\" AND airlines.Airline = \"UnitedAirlinesAirlines\"", "inferred_code_readable": "", "score": -1.413727520999288}]} {"index": 220, "beams": [{"question": "Cuente el n\u00famero de vuelos de \"United Airlines\"que llegan a \"Aberdeen\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alicedeen\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedAirlinesAirlines\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.City = \"Alicedeen\" AND airlines.Airline = \"UnitedAirlinesAirlines\"", "inferred_code_readable": "", "score": -0.9228589462588914}]} {"index": 221, "beams": [{"question": "\u00bfQu\u00e9 ciudad tiene m\u00e1s vuelos de llegadas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.34604221541898994}]} {"index": 222, "beams": [{"question": "\u00bfQu\u00e9 ciudad tiene el aeropuerto de destino m\u00e1s frecuente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.DestAirport ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.4222497936804146}]} {"index": 223, "beams": [{"question": "\u00bfQu\u00e9 ciudad tiene una mayor cantidad de vuelos de salida?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY airports.City ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.5969800939211183}]} {"index": 224, "beams": [{"question": "\u00bfEn qu\u00e9 ciudad se ubica el aeropuerto de origen m\u00e1s frecuente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.21274882512707904}]} {"index": 225, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo del aeropuerto que tiene el mayor n\u00famero de vuelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.SourceAirport FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.1426981515197383}]} {"index": 226, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo del aeropuerto con m\u00e1s vuelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.SourceAirport FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.4124524855027687}]} {"index": 227, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo del aeropuerto que tiene el menor volumne de vuelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportCode FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY airports.AirportCode ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.7293811803533927}]} {"index": 228, "beams": [{"question": "Da el c\u00f3digo del aeropuerto con menos vuelos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.SourceAirport FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.4031430211947864}]} {"index": 229, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00ednea tiene m\u00e1s vuelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights GROUP BY airlines.Airline ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.05076811654026869}]} {"index": 230, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00ednea brinda m\u00e1s vuelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights GROUP BY airlines.Airline ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.15515300939162557}]} {"index": 231, "beams": [{"question": "Encuentre la abreviatura de la aerol\u00ednea que tenga el menor n\u00famero de vuelos y el pa\u00eds a que pertenece", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Abbreviation, airlines.Country FROM airlines JOIN airports JOIN flights GROUP BY airlines.Abbreviation ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -1.9404972716878461}]} {"index": 232, "beams": [{"question": "\u00bfCu\u00e1l es la abreviatura de aerol\u00ednea con la menor cantidad de vuelos y en qu\u00e9 pa\u00eds se encuentra?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Abbreviation, airlines.Country FROM airlines JOIN flights GROUP BY flights.Airline ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -1.1152024117367532}]} {"index": 233, "beams": [{"question": "\u00bfCu\u00e1les son las aerol\u00edneas que tienen alg\u00fan vuelo que sale del aeropuerto 'AHD'?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AHD\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"AHD\"", "inferred_code_readable": "", "score": -0.5198381628686803}]} {"index": 234, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00edneas tienen un vuelo del aeropuerto de origen\"AHD\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AHD\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"AHD\"", "inferred_code_readable": "", "score": -0.021584779362626705}]} {"index": 235, "beams": [{"question": "\u00bfCu\u00e1les son las aerol\u00edneas que tienen vuelos que llegan al aeropuerto 'AHD'?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AHD\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"AHD\"", "inferred_code_readable": "", "score": -1.2080191646383298}]} {"index": 236, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00edneas tienen un vuelo con el aeropuerto de destino \"AHD\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AHD\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.DestAirport = \"AHD\"", "inferred_code_readable": "", "score": -0.4189677312413238}]} {"index": 237, "beams": [{"question": "Encuentre todas las aerol\u00edneas que tienen vuelos desde ambos aeropuertos 'APG' y 'CVO'.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CVO\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"APG\" INTERSECT SELECT airlines.Airline FROM airports JOIN flights ON airports.AirportCode = flights.Airline AND flights.DestAirport = flights.Airline JOIN airlines WHERE flights.SourceAirport = \"CVO\"", "inferred_code_readable": "", "score": -3.105508038899721}]} {"index": 238, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00edneas tienen vuelos desde ambos aeropuertos \"APG\"y \"CVO\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CVO\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"APG\" INTERSECT SELECT airlines.Airline FROM airports JOIN flights ON airports.AirportCode = flights.Airline AND flights.DestAirport = flights.Airline JOIN airlines WHERE flights.SourceAirport = \"CVO\"", "inferred_code_readable": "", "score": -3.052851481259225}]} {"index": 239, "beams": [{"question": "Encuentre todas las aerol\u00edneas que tienen vuelos desde el aeropuerto 'CVO' pero no desde 'APG'.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AnVO\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"AnVO\" EXCEPT SELECT airlines.Airline FROM airports JOIN flights WHERE flights.SourceAirport = \"APG\"", "inferred_code_readable": "", "score": -3.186430454555712}]} {"index": 240, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00edneas tienen salidas desde\"CVO\" pero no desde\"APG\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"LondonVO\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"LondonVO\" EXCEPT SELECT airlines.Airline FROM airports JOIN flights ON airports.AirportCode = flights.Airline WHERE flights.SourceAirport = \"APG\"", "inferred_code_readable": "", "score": -2.8786023125261266}]} {"index": 241, "beams": [{"question": "Encuentre todas las aerol\u00edneas que tengan al menos 10 vuelos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights GROUP BY flights.Airline HAVING Count(*) >= 10", "inferred_code_readable": "", "score": -0.43171440206536715}]} {"index": 242, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00edneas tienen al menos 10 vuelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights GROUP BY flights.Airline HAVING Count(*) >= 10", "inferred_code_readable": "", "score": -0.26723971932204194}]} {"index": 243, "beams": [{"question": "Encuentre todas las aerol\u00edneas que tienen menos de 200 vuelos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.FlightNo < 200", "inferred_code_readable": "", "score": -0.479533495681693}]} {"index": 244, "beams": [{"question": "\u00bfQu\u00e9 aerol\u00edneas tienen menos de 200 vuelos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.FlightNo < 200", "inferred_code_readable": "", "score": -0.39759880931330116}]} {"index": 245, "beams": [{"question": "\u00bfCu\u00e1les son los n\u00fameros de vuelo de la aerol\u00ednea\"United Airlines\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedAirlines\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airlines JOIN flights WHERE airlines.Airline = \"UnitedAirlines\"", "inferred_code_readable": "", "score": -0.020154200244881793}]} {"index": 246, "beams": [{"question": "\u00bfQu\u00e9 n\u00fameros de vuelo corresponden a los vuelos de \"United Airlines\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedAirlines\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airlines JOIN flights WHERE airlines.Airline = \"UnitedAirlines\"", "inferred_code_readable": "", "score": -0.46585294946930134}]} {"index": 247, "beams": [{"question": "\u00bfCu\u00e1les son los n\u00fameros de vuelo de los vuelos que salen del aeropuerto\"APG\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM flights WHERE flights.SourceAirport = \"APG\"", "inferred_code_readable": "", "score": -0.6050951272489797}]} {"index": 248, "beams": [{"question": "Indique los n\u00fameros de vuelo de los vuelos que salen de\"APG\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM flights WHERE flights.SourceAirport = \"APG\"", "inferred_code_readable": "", "score": -0.039770364745464803}]} {"index": 249, "beams": [{"question": "\u00bfCu\u00e1les son los n\u00fameros de vuelo de los vuelos que llegan al aeropuerto\"APG\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM flights WHERE flights.SourceAirport = \"APG\"", "inferred_code_readable": "", "score": -0.1287977383154697}]} {"index": 250, "beams": [{"question": "Indique los n\u00fameros de vuelo de los vuelos que aterrizan en \"APG\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"APG\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM flights WHERE flights.SourceAirport = \"APG\"", "inferred_code_readable": "", "score": -0.02840449238511411}]} {"index": 251, "beams": [{"question": "\u00bfCu\u00e1les son los n\u00fameros de vuelo de los vuelos que salen de la ciudad de\"Aberdeen\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alicedeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\"", "inferred_code_readable": "", "score": -1.808472095452636}]} {"index": 252, "beams": [{"question": "Indique los n\u00fameros de vuelo de los vuelos que salen de \"Aberdeen\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AAdeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"AAdeen\"", "inferred_code_readable": "", "score": -0.9180343550849557}]} {"index": 253, "beams": [{"question": "\u00bfCu\u00e1les son los n\u00fameros de los vuelos que llegan a la ciudad \"Aberdeen\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Adeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\"", "inferred_code_readable": "", "score": -0.13555025402162357}]} {"index": 254, "beams": [{"question": "Indique los n\u00fameros de los vuelos que llegan a \"Aberdeen\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alicedeen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\"", "inferred_code_readable": "", "score": -1.8487276365134022}]} {"index": 255, "beams": [{"question": "Encuentre el n\u00famero de vuelos que aterrizan en la ciudad de \"Aberdeen\" o \"Abilene\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Aladeen\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Bob\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Aladeen\" OR airports.City = \"Bob\"", "inferred_code_readable": "", "score": -2.306552651111552}]} {"index": 256, "beams": [{"question": "\u00bfCu\u00e1ntos vuelos hay en \"Aberdeen\"o \"Abilene\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alicedeen\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"BA\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\" OR airports.City = \"BA\"", "inferred_code_readable": "", "score": -2.828133123660095}]} {"index": 257, "beams": [{"question": "Encuentre los nombres de los aeropuertos que no tienen vuelos de entrada ni de salida.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportName FROM airports WHERE airports.AirportCode NOT IN (SELECT flights.SourceAirport FROM flights)", "inferred_code_readable": "", "score": -8.702273802896343e-06}]} {"index": 258, "beams": [{"question": "\u00bfQu\u00e9 aeropuertos no tienen vuelos de salida o llegada?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT airports.AirportName FROM airports WHERE airports.AirportCode NOT IN (SELECT flights.SourceAirport FROM flights)", "inferred_code_readable": "", "score": -1.1801710577685753e-05}]} {"index": 259, "beams": [{"question": "\u00bfCu\u00e1ntos empleados hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM employee", "inferred_code_readable": "", "score": -1.430502356214447e-05}]} {"index": 260, "beams": [{"question": "Cuente el n\u00famero de empleados.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM employee", "inferred_code_readable": "", "score": -1.3589778717459922e-05}]} {"index": 261, "beams": [{"question": "Ordene los nombres de los empleados por su edad en orden ascendente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.Name FROM employee ORDER BY employee.Age Asc", "inferred_code_readable": "", "score": -6.198876398855191e-06}]} {"index": 262, "beams": [{"question": "Enumere los nombres de los empleados y ord\u00e9nelos en orden ascendente de edad.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.Name FROM employee ORDER BY employee.Age Asc", "inferred_code_readable": "", "score": -4.768367659835349e-06}]} {"index": 263, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de empleados de cada ciudad?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.City, Count(*) FROM employee GROUP BY employee.City", "inferred_code_readable": "", "score": -8.141727235511098e-05}]} {"index": 264, "beams": [{"question": "Cuente el n\u00famero de empleados de cada ciudad.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), employee.City FROM employee GROUP BY employee.City", "inferred_code_readable": "", "score": -0.06774745879830846}]} {"index": 265, "beams": [{"question": "\u00bfDe qu\u00e9 ciudades provienen m\u00e1s de un empleado menor de 30 a\u00f1os?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.City FROM employee WHERE employee.Age < 30 GROUP BY employee.City HAVING Count(*) > 30", "inferred_code_readable": "", "score": -0.046606275790132656}]} {"index": 266, "beams": [{"question": "Encuentre las ciudades que tienen m\u00e1s de un empleado menor de 30 a\u00f1os.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.City FROM employee WHERE employee.Age < 30 GROUP BY employee.City HAVING Count(*) > 30", "inferred_code_readable": "", "score": -0.013478839368723072}]} {"index": 267, "beams": [{"question": "Encuentra el n\u00famero de tiendas en cada localizaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Location, Count(*) FROM shop GROUP BY shop.Location", "inferred_code_readable": "", "score": -2.2649760538229202e-06}]} {"index": 268, "beams": [{"question": "\u00bfCu\u00e1ntas tiendas hay en cada localizaci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Location, Count(*) FROM shop GROUP BY shop.Location", "inferred_code_readable": "", "score": -2.741813027284934e-06}]} {"index": 269, "beams": [{"question": "Encuentre el nombre del gerente y el distrito de la tienda cuyo n\u00famero de productos sea el mayor.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Manager_name, shop.District FROM shop ORDER BY shop.Number_products Desc LIMIT 1", "inferred_code_readable": "", "score": -0.00016795384117784806}]} {"index": 270, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del gerente y el distrito de la tienda que vende la mayor cantidad de productos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 9) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Manager_name, shop.District FROM shop GROUP BY shop.Manager_name ORDER BY Sum(shop.Number_products) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.015632432867874968}]} {"index": 271, "beams": [{"question": "Encuentra el n\u00famero m\u00ednimo y m\u00e1ximo de productos de todas las tiendas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Min(shop.Number_products), Max(shop.Number_products) FROM shop", "inferred_code_readable": "", "score": -3.0875090580195774e-05}]} {"index": 272, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero m\u00ednimo y m\u00e1ximo de productos en todas las tiendas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Min(shop.Number_products), Max(shop.Number_products) FROM shop", "inferred_code_readable": "", "score": -2.8371722834208413e-05}]} {"index": 273, "beams": [{"question": "Dame nombres, localizaciones y distritos de todas las tiendas en orden descendente de n\u00fameros de productos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name, shop.Location, shop.District FROM shop ORDER BY shop.Number_products Desc", "inferred_code_readable": "", "score": -2.5391450336087473e-05}]} {"index": 274, "beams": [{"question": "Ordene todas las tiendas por n\u00fameros de productos en orden descendente y devuelva el nombre, la localizaci\u00f3n y el distrito de cada tienda.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name, shop.Location, shop.District FROM shop ORDER BY shop.Number_products Desc", "inferred_code_readable": "", "score": -2.157682807535366e-05}]} {"index": 275, "beams": [{"question": "Encuentre los nombres de las tiendas cuyos n\u00fameros de productos sean mayores que el n\u00famero promedio.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name FROM shop WHERE shop.Number_products > (SELECT Avg(shop.Number_products) FROM shop)", "inferred_code_readable": "", "score": -7.390970552023646e-06}]} {"index": 276, "beams": [{"question": "\u00bfCu\u00e1les son las tiendas que tienen productos por encima del promedio? Dame los nombres de las tiendas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name FROM shop WHERE shop.Number_products > (SELECT Avg(shop.Number_products) FROM shop)", "inferred_code_readable": "", "score": -4.529951311837976e-06}]} {"index": 277, "beams": [{"question": "Encuentre el nombre del empleado que recibi\u00f3 m\u00e1s premios en la evaluaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 17) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID GROUP BY evaluation.Employee_ID ORDER BY Sum(evaluation.Bonus) Desc LIMIT 1", "inferred_code_readable": "", "score": -1.06201729096545}]} {"index": 278, "beams": [{"question": "\u00bfCu\u00e1l es el empleado quien recibi\u00f3 m\u00e1s premios en las evaluaciones? Dame su nombre.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 17) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID GROUP BY evaluation.Employee_ID ORDER BY Sum(evaluation.Bonus) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.6034294835405163}]} {"index": 279, "beams": [{"question": "Encuentre el nombre del empleado que obtuvo la prima m\u00e1s alta a la vez.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID ORDER BY evaluation.Bonus Desc LIMIT 1", "inferred_code_readable": "", "score": -0.17874617198331322}]} {"index": 280, "beams": [{"question": "\u00bfQu\u00e9 empleado recibi\u00f3 la mayor prima? Dame su nombre.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID ORDER BY evaluation.Bonus Desc LIMIT 1", "inferred_code_readable": "", "score": -0.00016343065659896183}]} {"index": 281, "beams": [{"question": "Encuentre los nombres de los empleados que nunca ganaron ning\u00fan premio en la evaluaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.Name FROM employee WHERE employee.Employee_ID NOT IN (SELECT evaluation.Employee_ID FROM evaluation)", "inferred_code_readable": "", "score": -1.5497193629698813e-05}]} {"index": 282, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los empleados que nunca recibieron ninguna evaluaci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT employee.Name FROM employee WHERE employee.Employee_ID NOT IN (SELECT evaluation.Employee_ID FROM evaluation)", "inferred_code_readable": "", "score": -1.6808484879504704e-05}]} {"index": 283, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de la tienda que est\u00e1 contratando a la mayor cantidad de empleados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name FROM shop JOIN hiring ON shop.Shop_ID = hiring.Shop_ID GROUP BY shop.Name ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0021265532398473397}]} {"index": 284, "beams": [{"question": "\u00bfQu\u00e9 tienda tiene m\u00e1s empleados? Dame el nombre de la tienda.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name FROM shop JOIN hiring ON shop.Shop_ID = hiring.Shop_ID GROUP BY shop.Name ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.05100195331714019}]} {"index": 285, "beams": [{"question": "Encuentre nombres de las tiendas que no contratan a ning\u00fan empleado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name FROM shop WHERE shop.Shop_ID NOT IN (SELECT hiring.Shop_ID FROM hiring)", "inferred_code_readable": "", "score": -1.394747667404772e-05}]} {"index": 286, "beams": [{"question": "\u00bfQu\u00e9 tiendas funcionan sin empleados? Encuentra sus nombres.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name FROM shop WHERE shop.Shop_ID NOT IN (SELECT hiring.Shop_ID FROM hiring)", "inferred_code_readable": "", "score": -1.0848039408983823e-05}]} {"index": 287, "beams": [{"question": "Encuentre el n\u00famero de empleados contratados en cada tienda; muestre el nombre de la tienda tambi\u00e9n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name, Count(*) FROM employee JOIN shop JOIN hiring ON employee.Employee_ID = hiring.Employee_ID AND hiring.Shop_ID = shop.Shop_ID GROUP BY shop.Name", "inferred_code_readable": "", "score": -7.140549257655948e-05}]} {"index": 288, "beams": [{"question": "Para cada tienda, dime el n\u00famero de empleados que trabajan all\u00ed y el nombre de la tienda.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.Name, Count(*) FROM employee JOIN shop JOIN hiring ON employee.Employee_ID = hiring.Employee_ID AND hiring.Shop_ID = shop.Shop_ID GROUP BY shop.Name", "inferred_code_readable": "", "score": -0.0025854806608265335}]} {"index": 289, "beams": [{"question": "\u00bfCu\u00e1l es la prima total otorgado en todas las evaluaciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(evaluation.Bonus) FROM evaluation", "inferred_code_readable": "", "score": -2.8848392965130643e-05}]} {"index": 290, "beams": [{"question": "Encuentre la cantidad total de prima otorgada en todas las evaluaciones.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(evaluation.Bonus) FROM evaluation", "inferred_code_readable": "", "score": -1.0728814828553368e-05}]} {"index": 291, "beams": [{"question": "Dame toda la informaci\u00f3n sobre la contrataci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT * FROM hiring", "inferred_code_readable": "", "score": -5.125995116372906e-06}]} {"index": 292, "beams": [{"question": "\u00bfCu\u00e1l es toda la informaci\u00f3n sobre contrataci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT * FROM hiring", "inferred_code_readable": "", "score": -6.437293244232478e-06}]} {"index": 293, "beams": [{"question": "\u00bfQu\u00e9 distrito tiene tiendas con menos de 3000 productos y tiendas con m\u00e1s de 10000 productos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.District FROM shop WHERE shop.Number_products < 3000 INTERSECT SELECT shop.District FROM shop WHERE shop.Number_products > 10000", "inferred_code_readable": "", "score": -0.006083378807538509}]} {"index": 294, "beams": [{"question": "Encuentre los distritos en los que hay tiendas que venden menos de 3000 productos y tiendas que venden m\u00e1s de 10000 productos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT shop.District FROM shop WHERE shop.Number_products < 3000 INTERSECT SELECT shop.District FROM shop WHERE shop.Number_products > 10000", "inferred_code_readable": "", "score": -0.027565807098035577}]} {"index": 295, "beams": [{"question": "\u00bfCu\u00e1ntas localizaciones de tiendas diferentes hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT shop.Location) FROM shop", "inferred_code_readable": "", "score": -7.033344616047543e-06}]} {"index": 296, "beams": [{"question": "Cuente el n\u00famero de localizaciones de tiendas distintas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT shop.Location) FROM shop", "inferred_code_readable": "", "score": -6.556507962329761e-06}]} {"index": 297, "beams": [{"question": "\u00bfCu\u00e1ntos documentos tenemos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Documents", "inferred_code_readable": "", "score": -1.7881385900864188e-06}]} {"index": 298, "beams": [{"question": "Cuente el n\u00famero de documentos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Documents", "inferred_code_readable": "", "score": -3.6954844162551126e-06}]} {"index": 299, "beams": [{"question": "Enumere IDs de documento, los nombres de documento y las descripciones de todos los documentos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Documents.Document_Name, Documents.Document_Description FROM Documents", "inferred_code_readable": "", "score": -6.556505432797621e-06}]} {"index": 300, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones, nombres y descripciones de todos los documentos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Documents.Document_Name, Documents.Document_Description FROM Documents", "inferred_code_readable": "", "score": -7.033343962348226e-06}]} {"index": 301, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de documento y la identificaci\u00f3n de plantilla para el documento con una descripci\u00f3n con la letra \"w\" en \u00e9l?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%a%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_Name, Documents.Template_ID FROM Documents WHERE Documents.Document_Description LIKE \"%a%\"", "inferred_code_readable": "", "score": -0.13962921498861647}]} {"index": 302, "beams": [{"question": "Dame los nombres y las identificaciones de plantilla de los documentos que contienen la letra \"w\" en sus descripciones.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%a%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_Name, Documents.Template_ID FROM Documents WHERE Documents.Document_Description LIKE \"%a%\"", "inferred_code_readable": "", "score": -0.3422558605596393}]} {"index": 303, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n de documento, la identificaci\u00f3n de plantilla y la descripci\u00f3n del documento llamado\"Robbin CV\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Nober\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Documents.Template_ID, Documents.Document_Description FROM Documents WHERE Documents.Document_Name = \"Nober\"", "inferred_code_readable": "", "score": -2.4710509628020816}]} {"index": 304, "beams": [{"question": "Dame la identificaci\u00f3n de documento, la identificaci\u00f3n de plantilla y la descripci\u00f3n del documento con el nombre \"Robbin CV\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NoinCVCVCV\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Documents.Template_ID, Documents.Document_Description FROM Documents WHERE Documents.Document_Name = \"NoinCVCVCV\"", "inferred_code_readable": "", "score": -2.1738014965867265}]} {"index": 305, "beams": [{"question": "\u00bfCu\u00e1ntas plantillas diferentes utilizan todos los documentos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Documents.Template_ID) FROM Documents", "inferred_code_readable": "", "score": -0.00011705745366441533}]} {"index": 306, "beams": [{"question": "Cuente el n\u00famero de plantillas diferentes utilizadas entre documentos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Documents.Template_ID) FROM Documents", "inferred_code_readable": "", "score": -7.712652023883493e-05}]} {"index": 307, "beams": [{"question": "\u00bfCu\u00e1ntos documentos est\u00e1n usando la plantilla de \"PPT\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PPT\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Templates.Template_Type_Code = \"PPT\"", "inferred_code_readable": "", "score": -0.0553098618973209}]} {"index": 308, "beams": [{"question": "Cuente el n\u00famero de documentos que utilizan\"PPT\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PPT\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Templates.Template_Type_Code = \"PPT\"", "inferred_code_readable": "", "score": -2.0027097043850972e-05}]} {"index": 309, "beams": [{"question": "Muestre todas las IDs de plantilla utilizadas y el recuento de utilizaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID, Count(*) FROM Templates GROUP BY Templates.Template_ID", "inferred_code_readable": "", "score": -4.267655138789905e-05}]} {"index": 310, "beams": [{"question": "\u00bfCu\u00e1les son las diferentes IDs de plantilla que se utilizan para los documentos y cu\u00e1ntas veces se ha utilizado cada una?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Template_ID, Count(*) FROM Documents GROUP BY Documents.Template_ID", "inferred_code_readable": "", "score": -2.336486932108528e-05}]} {"index": 311, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n y el c\u00f3digo de tipo de la plantilla que utilizan m\u00e1s los documentos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID, Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID GROUP BY Templates.Template_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0006247049519032544}]} {"index": 312, "beams": [{"question": "Dame la identificaci\u00f3n y el c\u00f3digo de tipo de la plantilla que se utiliza m\u00e1s por los documentos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID, Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID GROUP BY Templates.Template_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.037212313848826284}]} {"index": 313, "beams": [{"question": "Muestre las identificaciones de todas las plantillas que los documentos utilizan m\u00e1s de una vez.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Template_ID FROM Documents GROUP BY Documents.Template_ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.002402357218706186}]} {"index": 314, "beams": [{"question": "\u00bfCu\u00e1les son las IDs de plantilla que se utilice en m\u00e1s de un documento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Template_ID FROM Documents GROUP BY Documents.Template_ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.0003978841280414258}]} {"index": 315, "beams": [{"question": "Muestra las identificaciones de todas las plantillas que no utiliza ning\u00fan documento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID FROM Templates EXCEPT SELECT Documents.Template_ID FROM Documents", "inferred_code_readable": "", "score": -2.861022174727168e-06}]} {"index": 316, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones de las plantillas que no se utilizan en ning\u00fan documento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID FROM Templates EXCEPT SELECT Documents.Template_ID FROM Documents", "inferred_code_readable": "", "score": -3.0994407325124484e-06}]} {"index": 317, "beams": [{"question": "\u00bfCu\u00e1ntas plantillas tenemos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Templates", "inferred_code_readable": "", "score": -2.7418124801670274e-06}]} {"index": 318, "beams": [{"question": "Cuente el n\u00famero de plantillas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Templates", "inferred_code_readable": "", "score": -2.264975634602706e-06}]} {"index": 319, "beams": [{"question": "Muestre las identificaciones, los n\u00fameros de versi\u00f3n y los c\u00f3digos de tipo para todas las plantillas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID, Templates.Version_Number, Templates.Template_Type_Code FROM Templates", "inferred_code_readable": "", "score": -5.960461528786709e-06}]} {"index": 320, "beams": [{"question": "\u00bfCu\u00e1les son ID, el n\u00famero de versi\u00f3n y el c\u00f3digo de tipo de cada plantilla?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID, Templates.Version_Number, Templates.Template_Type_Code FROM Templates", "inferred_code_readable": "", "score": -1.2040114960143455e-05}]} {"index": 321, "beams": [{"question": "Muestre todos los c\u00f3digos de tipo distintos para todas las plantillas.", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Templates.Template_Type_Code FROM Templates", "inferred_code_readable": "", "score": -4.458359417469637e-05}]} {"index": 322, "beams": [{"question": "\u00bfCu\u00e1les son los diferentes c\u00f3digos de tipo de plantilla?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Templates.Template_Type_Code FROM Templates", "inferred_code_readable": "", "score": -0.000392996036460147}]} {"index": 323, "beams": [{"question": "\u00bfCu\u00e1les son los identificadores de las plantillas con c\u00f3digo de tipo de plantilla \"PP\" o \"PPT\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CV\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PPT\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID FROM Templates WHERE Templates.Template_Type_Code = \"CV\" OR Templates.Template_Type_Code = \"PPT\"", "inferred_code_readable": "", "score": -0.9072214104127383}]} {"index": 324, "beams": [{"question": "Dame los identificadores de las plantillas que tienen el c\u00f3digo\"PP\"o\"PPT\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PPT\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Paper\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID FROM Templates WHERE Templates.Template_Type_Code = \"PPT\" OR Templates.Template_Type_Code = \"Paper\"", "inferred_code_readable": "", "score": -0.530053757122765}]} {"index": 325, "beams": [{"question": "\u00bfCu\u00e1ntas plantillas tienen el c\u00f3digo de tipo de plantilla \"CV\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CV\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Templates WHERE Templates.Template_Type_Code = \"CV\"", "inferred_code_readable": "", "score": -0.0013803403125223213}]} {"index": 326, "beams": [{"question": "Cuente el n\u00famero de plantillas del tipo \"CV\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CV\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Templates WHERE Templates.Template_Type_Code = \"CV\"", "inferred_code_readable": "", "score": -0.0008995110401102124}]} {"index": 327, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de versi\u00f3n y el c\u00f3digo de tipo de plantilla para la plantilla con un n\u00famero de versi\u00f3n posterior a 5?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 5))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Version_Number, Templates.Template_Type_Code FROM Templates WHERE Templates.Version_Number > 5", "inferred_code_readable": "", "score": -0.13029044681776014}]} {"index": 328, "beams": [{"question": "Dame los n\u00fameros de versi\u00f3n y los c\u00f3digos de tipo de plantilla de las plantillas con un n\u00famero de versi\u00f3n superior a 5.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 5))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Version_Number, Templates.Template_Type_Code FROM Templates WHERE Templates.Version_Number > 5", "inferred_code_readable": "", "score": -0.06288659714088851}]} {"index": 329, "beams": [{"question": "Muestre todos los c\u00f3digos de tipo de plantilla y el n\u00famero de plantillas para cada una.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates GROUP BY Templates.Template_Type_Code", "inferred_code_readable": "", "score": -6.91413191589163e-06}]} {"index": 330, "beams": [{"question": "\u00bfCu\u00e1les son los diferentes c\u00f3digos de tipo de plantilla y cu\u00e1ntas plantillas corresponden a cada una?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates GROUP BY Templates.Template_Type_Code", "inferred_code_readable": "", "score": -7.629379481954857e-06}]} {"index": 331, "beams": [{"question": "\u00bfQu\u00e9 c\u00f3digo de tipo de plantilla tiene la mayor cantidad de plantillas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -1.8596610232179955e-05}]} {"index": 332, "beams": [{"question": "Dame el c\u00f3digo de tipo del tipo de plantilla al que pertenecen m\u00e1s plantillas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -3.576252599657437e-05}]} {"index": 333, "beams": [{"question": "Muestre todos los c\u00f3digos de tipo de plantilla con menos de tres plantillas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code HAVING Count(*) < 3", "inferred_code_readable": "", "score": -0.00013064769882475957}]} {"index": 334, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de los tipos de plantillas que tienen menos de 3 plantillas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code HAVING Count(*) < 3", "inferred_code_readable": "", "score": -0.00025031433147404414}]} {"index": 335, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de versi\u00f3n m\u00e1s peque\u00f1o y su c\u00f3digo de tipo de plantilla?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Version_Number, Templates.Template_Type_Code FROM Templates ORDER BY Templates.Version_Number Asc LIMIT 1", "inferred_code_readable": "", "score": -0.37030092036825124}]} {"index": 336, "beams": [{"question": "Dame el n\u00famero de versi\u00f3n m\u00e1s peque\u00f1o, junto con su c\u00f3digo de tipo de plantilla correspondiente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Version_Number, Templates.Template_Type_Code FROM Templates ORDER BY Templates.Version_Number Asc LIMIT 1", "inferred_code_readable": "", "score": -0.016479867794679137}]} {"index": 337, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo de tipo de la plantilla que utiliza el documento con el nombre\"Base de datos\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"x\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Documents.Document_Name = \"x\"", "inferred_code_readable": "", "score": -1.3133833026352733}]} {"index": 338, "beams": [{"question": "Dame el c\u00f3digo de tipo de la plantilla que se utiliza por un documento denominado \"Data base\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USbase\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Documents.Document_Name = \"USbase\"", "inferred_code_readable": "", "score": -1.5132101734142367}]} {"index": 339, "beams": [{"question": "Muestre los nombres de todos los documentos utilizando plantillas con el c\u00f3digo de tipo de plantilla \"BK\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"BK\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_Name FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Templates.Template_Type_Code = \"BK\"", "inferred_code_readable": "", "score": -0.0026219289278230917}]} {"index": 340, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los documentos que utilizan plantillas con el c\u00f3digo \"BK\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"BK\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_Name FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Templates.Template_Type_Code = \"BK\"", "inferred_code_readable": "", "score": -0.002033578696646998}]} {"index": 341, "beams": [{"question": "Muestre todos los c\u00f3digos de tipo de plantilla y el n\u00famero de documentos que utilizan cada tipo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID GROUP BY Templates.Template_Type_Code", "inferred_code_readable": "", "score": -0.0017648274343144976}]} {"index": 342, "beams": [{"question": "\u00bfCu\u00e1les son los diferentes c\u00f3digos de tipo de plantilla y cu\u00e1ntos documentos utilizan cada tipo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID GROUP BY Templates.Template_Type_Code", "inferred_code_readable": "", "score": -0.0013221758203627587}]} {"index": 343, "beams": [{"question": "\u00bfQu\u00e9 c\u00f3digo de tipo de plantilla se utiliza m\u00e1s entre los documentos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.00025736208019111473}]} {"index": 344, "beams": [{"question": "Dame el c\u00f3digo del tipo de plantilla que se usa con m\u00e1s frecuencia en los documentos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.3560253959554913}]} {"index": 345, "beams": [{"question": "Muestra todos los c\u00f3digos de tipo de plantilla que no se utiliza por ning\u00fan documento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types EXCEPT SELECT Templates.Template_Type_Code FROM Templates", "inferred_code_readable": "", "score": -2.7775618200109875e-05}]} {"index": 346, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de tipos de plantilla que no se utiliza por ning\u00fan documento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types EXCEPT SELECT Templates.Template_Type_Code FROM Templates", "inferred_code_readable": "", "score": -0.00020669916661830712}]} {"index": 347, "beams": [{"question": "Muestre todos los c\u00f3digos de tipo de plantilla y descripciones.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Ref_Template_Types.Template_Type_Code, Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types", "inferred_code_readable": "", "score": -1.4305113040791184e-06}]} {"index": 348, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de tipo y las descripciones para todos los tipos de plantillas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Ref_Template_Types.Template_Type_Code, Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types", "inferred_code_readable": "", "score": -1.7881391372043254e-06}]} {"index": 349, "beams": [{"question": "\u00bfCu\u00e1les son las descripciones de tipo de plantilla para el c\u00f3digo\"AD\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CV\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Code = \"CV\"", "inferred_code_readable": "", "score": -0.7035049200055923}]} {"index": 350, "beams": [{"question": "Dame la descripci\u00f3n del tipo de plantilla con el c\u00f3digo \"AD\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CV\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Code = \"CV\"", "inferred_code_readable": "", "score": -0.7413033246992597}]} {"index": 351, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo de tipo de plantilla para la descripci\u00f3n del tipo de plantilla \"Book\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Paper\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Description = \"Paper\"", "inferred_code_readable": "", "score": -0.2966983616350518}]} {"index": 352, "beams": [{"question": "Dame el c\u00f3digo de tipo del tipo de plantilla con la descripci\u00f3n \"Book\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Paper\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Description = \"Paper\"", "inferred_code_readable": "", "score": -0.2030476480711414}]} {"index": 353, "beams": [{"question": "\u00bfCu\u00e1les son las distintas descripciones de tipo de plantilla para las plantillas que se utilizan por cualquier documento?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types JOIN Templates ON Ref_Template_Types.Template_Type_Code = Templates.Template_Type_Code JOIN Documents ON Templates.Template_ID = Documents.Template_ID", "inferred_code_readable": "", "score": -0.6414040665025951}]} {"index": 354, "beams": [{"question": "Dame las diferentes descripciones de las plantillas que se han utilizado en un documento.", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types JOIN Templates ON Ref_Template_Types.Template_Type_Code = Templates.Template_Type_Code JOIN Documents ON Templates.Template_ID = Documents.Template_ID", "inferred_code_readable": "", "score": -0.48565994573745996}]} {"index": 355, "beams": [{"question": "\u00bfQu\u00e9 son las IDs de plantilla con la descripci\u00f3n de tipo de plantilla\"Presentaci\u00f3n\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Graphi\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID FROM Ref_Template_Types JOIN Templates ON Ref_Template_Types.Template_Type_Code = Templates.Template_Type_Code WHERE Ref_Template_Types.Template_Type_Description = \"Graphi\"", "inferred_code_readable": "", "score": -1.9651807472086986}]} {"index": 356, "beams": [{"question": "Dame las identificaciones correspondientes a las plantillas con la descripci\u00f3n 'Presentaci\u00f3n'.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Graphi\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Templates.Template_ID FROM Ref_Template_Types JOIN Templates ON Ref_Template_Types.Template_Type_Code = Templates.Template_Type_Code WHERE Ref_Template_Types.Template_Type_Description = \"Graphi\"", "inferred_code_readable": "", "score": -2.163219686389013}]} {"index": 357, "beams": [{"question": "\u00bfCu\u00e1ntos p\u00e1rrafos hay en total?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Paragraphs", "inferred_code_readable": "", "score": -2.622603169299964e-06}]} {"index": 358, "beams": [{"question": "Cuente el n\u00famero de p\u00e1rrafos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Paragraphs", "inferred_code_readable": "", "score": -3.0994386719385147e-06}]} {"index": 359, "beams": [{"question": "\u00bfCu\u00e1ntos p\u00e1rrafos tiene el documento con el nombre \"Summer Show\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NYShowShow\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"NYShowShow\"", "inferred_code_readable": "", "score": -0.8626077074114988}]} {"index": 360, "beams": [{"question": "Cuente el n\u00famero de p\u00e1rrafos en el documento llamado\"Summer Show\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NYShowShow\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"NYShowShow\"", "inferred_code_readable": "", "score": -0.8599821914517989}]} {"index": 361, "beams": [{"question": "Muestra los otros detalles del p\u00e1rrafo con el texto \"Korea\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Research\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Other_Details FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"Research\"", "inferred_code_readable": "", "score": -0.6819818429551248}]} {"index": 362, "beams": [{"question": "\u00bfCu\u00e1les son los otros detalles del p\u00e1rrafo que incluye \"Korea\" en texto?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%Ke%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Other_Details FROM Paragraphs WHERE Paragraphs.Paragraph_Text LIKE \"%Ke%\"", "inferred_code_readable": "", "score": -0.3115416493200982}]} {"index": 363, "beams": [{"question": "Muestre todas las identicificaciones de p\u00e1rrafo y los textos de p\u00e1rrafo del documento con el nombre de \"Welcome to NY\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Boetoto\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Paragraph_ID, Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Boetoto\"", "inferred_code_readable": "", "score": -2.7867397428967493}]} {"index": 364, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones y los textos de p\u00e1rrafos del documento titulado 'Bienvenido a Nueva York'?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NewYorkal\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"NewYorkal\"", "inferred_code_readable": "", "score": -0.84025590327348}]} {"index": 365, "beams": [{"question": "Muestre todos los textos de p\u00e1rrafos del documento\"Customer reviews\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Gonereviewsreviews\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Gonereviewsreviews\"", "inferred_code_readable": "", "score": -2.3250823193499457}]} {"index": 366, "beams": [{"question": "\u00bfCu\u00e1les son los textos de p\u00e1rrafos del documento titulado \"Customer reviews\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Gronreviewsreviews\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Gronreviewsreviews\"", "inferred_code_readable": "", "score": -2.496669529815833}]} {"index": 367, "beams": [{"question": "Muestra todas las identificaciones de documentos y el n\u00famero de p\u00e1rrafos de cada uno. Ord\u00e9nelos por ID de documento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID, Count(*) FROM Paragraphs GROUP BY Paragraphs.Document_ID ORDER BY Count(*) Asc", "inferred_code_readable": "", "score": -5.459746394365084e-05}]} {"index": 368, "beams": [{"question": "Dame las diferentes identificaciones de documentos junto con sus n\u00fameros de p\u00e1rrafos correspondientes a cada uno, ordenados por id.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID, Count(*) FROM Paragraphs GROUP BY Paragraphs.Document_ID ORDER BY Count(*) Asc", "inferred_code_readable": "", "score": -2.622600765533889e-05}]} {"index": 369, "beams": [{"question": "Muestre todas identificaciones de documentos, los nombres y el n\u00famero de p\u00e1rrafos de cada uno.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Documents.Document_Name, Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Documents.Document_ID", "inferred_code_readable": "", "score": -0.49428741432951284}]} {"index": 370, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones y nombres de cada documento, as\u00ed como el n\u00famero de p\u00e1rrafos en cada uno?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Documents.Document_Name, Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Documents.Document_ID", "inferred_code_readable": "", "score": -0.00013625002125650099}]} {"index": 371, "beams": [{"question": "Enumere todos las identificaciones de los documentos con al menos dos p\u00e1rrafos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -1.9073460713059376e-05}]} {"index": 372, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones de los documentos que contienen 2 o m\u00e1s p\u00e1rrafos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -2.610675993963696e-05}]} {"index": 373, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n y el nombre del documento que contiene m\u00e1s p\u00e1rrafos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Documents.Document_Name FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Documents.Document_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -7.629283388865815e-05}]} {"index": 374, "beams": [{"question": "Dame la identificaci\u00f3n y el nombre del documento con m\u00e1s p\u00e1rrafos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Documents.Document_ID, Documents.Document_Name FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Documents.Document_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -9.381609627467924e-05}]} {"index": 375, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n del documento con el menor n\u00famero de p\u00e1rrafos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0031369829763008283}]} {"index": 376, "beams": [{"question": "Dame la identificaci\u00f3n del documento con la menor cantidad de p\u00e1rrafos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.10750707364470458}]} {"index": 377, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n del documento con 1 o 2 p\u00e1rrafos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) = 1", "inferred_code_readable": "", "score": -0.0009330782297212181}]} {"index": 378, "beams": [{"question": "Proporcione las identificaciones de documentos que tengan entre uno y dos p\u00e1rrafos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Between (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))) (val-val2 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) BETWEEN 2 AND 2", "inferred_code_readable": "", "score": -0.0045654623967337216}]} {"index": 379, "beams": [{"question": "Muestre la identificaci\u00f3n del documento con el texto de p\u00e1rrafo \"Brazil\"e \"Ireland\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UK\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"UK\" INTERSECT SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"english\"", "inferred_code_readable": "", "score": -2.6771867737878168}]} {"index": 380, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones de documentos que contienen el texto de p\u00e1rrafo\"Brazil\" e \"Ireland\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UK\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (String (string-s \"I\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"UK\" INTERSECT SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"I\"", "inferred_code_readable": "", "score": -2.103759518500901}]} {"index": 381, "beams": [{"question": "\u00bfCu\u00e1ntos profesores hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM teacher", "inferred_code_readable": "", "score": -1.0728833714779284e-06}]} {"index": 382, "beams": [{"question": "\u00bfCu\u00e1l es el recuento total de profesores?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM teacher", "inferred_code_readable": "", "score": -1.31130187241979e-06}]} {"index": 383, "beams": [{"question": "Enumere los nombres de los profesores en orden ascendente de edad.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher ORDER BY teacher.Age Asc", "inferred_code_readable": "", "score": -2.7418128425438226e-06}]} {"index": 384, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los profesores ordenados por edades de manera ascendente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher ORDER BY teacher.Age Asc", "inferred_code_readable": "", "score": -2.3841852865302826e-06}]} {"index": 385, "beams": [{"question": "\u00bfCu\u00e1les son las edades y los pueblos natales de los profesores?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Age, teacher.Hometown FROM teacher", "inferred_code_readable": "", "score": -1.1920927533992653e-06}]} {"index": 386, "beams": [{"question": "\u00bfCu\u00e1l es la edad y el pueblo natal de cada profesor?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Age, teacher.Hometown FROM teacher", "inferred_code_readable": "", "score": -2.026557559986486e-06}]} {"index": 387, "beams": [{"question": "Indique los nombres de los profesores cuyo pueblo natal no sea el \"Little Lever Urban District\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ScaLeverLeverDistrictDistrict\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher WHERE teacher.Hometown != \"ScaLeverLeverDistrictDistrict\"", "inferred_code_readable": "", "score": -3.465346608642264}]} {"index": 388, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los profesores cuyo pueblo natal no es el \"Little Lever Urban District\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ScaLeverLeverUrbanDistrict\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher WHERE teacher.Hometown != \"ScaLeverLeverUrbanDistrict\"", "inferred_code_readable": "", "score": -1.7376369798512812}]} {"index": 389, "beams": [{"question": "Muestre los nombres de los profesores de 32 o 33 a\u00f1os", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 32))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 300))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher WHERE teacher.Age = 32 OR teacher.Age = 300", "inferred_code_readable": "", "score": -1.1142962276317974}]} {"index": 390, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los profesores que tienen 32 o 33 a\u00f1os?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 32))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher WHERE teacher.Age = 32 OR teacher.Age = 3000", "inferred_code_readable": "", "score": -1.5745534560595758}]} {"index": 391, "beams": [{"question": "\u00bfCu\u00e1l es el pueblo natal del profesor m\u00e1s joven?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Hometown FROM teacher ORDER BY teacher.Age Asc LIMIT 1", "inferred_code_readable": "", "score": -4.172323329498795e-06}]} {"index": 392, "beams": [{"question": "\u00bfDe d\u00f3nde es el profesor m\u00e1s joven?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Hometown FROM teacher ORDER BY teacher.Age Asc LIMIT 1", "inferred_code_readable": "", "score": -6.5565057951744166e-06}]} {"index": 393, "beams": [{"question": "Muestre los profesores de pueblos diferentes y el n\u00famero de profesores provenientes de cada uno.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Hometown, Count(*) FROM teacher GROUP BY teacher.Hometown", "inferred_code_readable": "", "score": -3.5762760077773237e-06}]} {"index": 394, "beams": [{"question": "Para cada pueblo natal, \u00bfcu\u00e1ntos profesores hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Hometown, Count(*) FROM teacher GROUP BY teacher.Hometown", "inferred_code_readable": "", "score": -2.980230746629786e-06}]} {"index": 395, "beams": [{"question": "Enumere el pueblo natal m\u00e1s com\u00fan de los profesores.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Hometown FROM teacher GROUP BY teacher.Hometown ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -7.974818188216659e-05}]} {"index": 396, "beams": [{"question": "\u00bfCu\u00e1les son los pubelos natales donde nacen m\u00e1s profesores?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Hometown FROM teacher GROUP BY teacher.Hometown ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -5.245204157233729e-06}]} {"index": 397, "beams": [{"question": "Muestre los pubelos natales donce nacen al menos dos profesores.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Hometown FROM teacher GROUP BY teacher.Hometown HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -2.408016987942574e-05}]} {"index": 398, "beams": [{"question": "\u00bfCu\u00e1les son los pubelos natales de las que vienen al menos dos profesores?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Hometown FROM teacher GROUP BY teacher.Hometown HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -2.1457620114517795e-05}]} {"index": 399, "beams": [{"question": "Muestre los nombres de los profesores y las asignaturas que est\u00e1n dispuestos a impartir.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name, course.Course FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID", "inferred_code_readable": "", "score": -2.253051218303881e-05}]} {"index": 400, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de cada profesores y qu\u00e9 curso imparte?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name, course.Course FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID", "inferred_code_readable": "", "score": -0.0008427732223310613}]} {"index": 401, "beams": [{"question": "Muestre los nombres de los profesores y los cursos que est\u00e1n dispuestos a ense\u00f1ar en orden alfab\u00e9tico de sus nombres de manera ascendiente", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name, course.Course FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID ORDER BY teacher.Name Asc", "inferred_code_readable": "", "score": -0.015378958980889479}]} {"index": 402, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los profesores y las asignaturas que imparten en orden alfab\u00e9tico de sus nombres de manera ascendiente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name, course.Course FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID ORDER BY teacher.Name Asc", "inferred_code_readable": "", "score": -0.00016534030152826062}]} {"index": 403, "beams": [{"question": "Muestre el nombre del profesor del curso de matem\u00e1ticas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 1))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Ps\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID WHERE course.Course = \"Ps\"", "inferred_code_readable": "", "score": -1.7341161633547202}]} {"index": 404, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de las profesores que imparten cursos de matem\u00e1ticas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Computer\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID WHERE course.Course = \"Computer\"", "inferred_code_readable": "", "score": -1.2113901158506621}]} {"index": 405, "beams": [{"question": "Muestre los nombres de los profesores y n\u00famero de cursos que imparten.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name, Count(*) FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Teacher_ID", "inferred_code_readable": "", "score": -1.040272525434169}]} {"index": 406, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los profesores y cu\u00e1ntos cursos imparten?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name, Count(*) FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Name", "inferred_code_readable": "", "score": -0.00041101372052310126}]} {"index": 407, "beams": [{"question": "Muestre los nombres de los profesores que ense\u00f1an al menos dos cursos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Teacher_ID HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.018554209224895146}]} {"index": 408, "beams": [{"question": "\u00bfC\u00f3mo se llaman los profesores que imparten al menos dos cursos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Teacher_ID HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.0018754180515685448}]} {"index": 409, "beams": [{"question": "Enumere los nombres de los profesores que no han sido asignados para impartir cursos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher WHERE teacher.Teacher_ID NOT IN (SELECT course_arrange.Teacher_ID FROM course_arrange)", "inferred_code_readable": "", "score": -1.4781935909979893e-05}]} {"index": 410, "beams": [{"question": "\u00bfCu\u00e1les son los profesores cuyos cursos no se han asignado?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT teacher.Name FROM teacher WHERE teacher.Teacher_ID NOT IN (SELECT course_arrange.Teacher_ID FROM course_arrange)", "inferred_code_readable": "", "score": -0.015438789403667386}]} {"index": 411, "beams": [{"question": "\u00bfCu\u00e1ntos visitantes menores de 30 a\u00f1os hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM visitor WHERE visitor.Age < 30", "inferred_code_readable": "", "score": -1.4066682922475593e-05}]} {"index": 412, "beams": [{"question": "Encuentre los nombres de los visitantes cuyo nivel de membres\u00eda sea superior a 4 y ord\u00e9nelos por este nivel de alto a bajo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT visitor.Name FROM visitor WHERE visitor.Level_of_membership > 4 ORDER BY visitor.Name Asc", "inferred_code_readable": "", "score": -0.00042671106267988534}]} {"index": 413, "beams": [{"question": "\u00bfCu\u00e1l es la edad promedia de los visitanes de nivel de membres\u00eda no m\u00e1s de 4?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(visitor.Age) FROM visitor WHERE visitor.Level_of_membership < 4", "inferred_code_readable": "", "score": -0.6123569007899761}]} {"index": 414, "beams": [{"question": "Encuentre los nombres y niveles de membres\u00eda de los visitantes que son miembros superiores a cuarto nivel y ord\u00e1nelos por edades de mayores a j\u00f3venes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT visitor.Name, visitor.Level_of_membership FROM visitor WHERE visitor.Age > 4 ORDER BY visitor.Level_of_membership Asc", "inferred_code_readable": "", "score": -0.19205409413318364}]} {"index": 415, "beams": [{"question": "Encuentre la identificaci\u00f3n y el nombre del museo que tiene m\u00e1s personal.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT museum.Museum_ID, museum.Name FROM museum ORDER BY museum.Num_of_Staff Desc LIMIT 1", "inferred_code_readable": "", "score": -9.894358925066626e-06}]} {"index": 416, "beams": [{"question": "Encuentre la cantidad media de personal que trabaja en los museos que estuvieron abiertos antes de 2009.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2009))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(museum.Num_of_Staff) FROM museum WHERE museum.Open_Year < 2009", "inferred_code_readable": "", "score": -0.0007962986396492511}]} {"index": 417, "beams": [{"question": "\u00bfCu\u00e1l es el a\u00f1o abierto y el n\u00famero de personal del Museo llamado \"Plaza Museum\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"DinMuseumMuseum\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT museum.Open_Year, museum.Num_of_Staff FROM museum WHERE museum.Name = \"DinMuseumMuseum\"", "inferred_code_readable": "", "score": -2.185602068025922}]} {"index": 418, "beams": [{"question": "Encuentre los nombres de los museos que tienen m\u00e1s personal que el m\u00ednimo de todos abiertos despu\u00e9s de 2010.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2010))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT museum.Name FROM museum WHERE museum.Num_of_Staff > (SELECT Max(museum.Num_of_Staff) FROM museum WHERE museum.Open_Year = 2010)", "inferred_code_readable": "", "score": -0.04163304942933621}]} {"index": 419, "beams": [{"question": "Encuentre identificaciones, nombres y edades de los visitantes que visitaron algunos museos m\u00e1s de una vez.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT visitor.ID, visitor.Name, visitor.Age FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID GROUP BY visitor.ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.00038691873074014893}]} {"index": 420, "beams": [{"question": "\u00bfCu\u00e1les son la identificaci\u00f3n, el nombre y el nivel de membres\u00eda de los visitantes que han gastado m\u00e1s dinero en total en todas las entradas al museo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 12) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT visitor.ID, visitor.Name, visitor.Level_of_membership FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID GROUP BY visitor.ID ORDER BY Sum(visit.Total_spent) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.000495996787414299}]} {"index": 421, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n y el nombre del museo m\u00e1s visitado?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT visit.Museum_ID, museum.Name FROM museum JOIN visit ON museum.Museum_ID = visit.Museum_ID GROUP BY visit.Museum_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.04439434173794865}]} {"index": 422, "beams": [{"question": "\u00bfC\u00f3mo se llama el museo que no ha tenido ninguna visita hasta hoy?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT museum.Name FROM museum WHERE museum.Museum_ID NOT IN (SELECT visit.Museum_ID FROM visit)", "inferred_code_readable": "", "score": -2.205369017360681e-05}]} {"index": 423, "beams": [{"question": "Encuentre el nombre y la edad del visitante que compr\u00f3 m\u00e1s entradas a la vez.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 11) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT visitor.Name, visitor.Age FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID GROUP BY visitor.ID ORDER BY Sum(visit.Num_of_Ticket) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.06273391902573877}]} {"index": 424, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero medio y m\u00e1ximo de entradas compradas entre todas las visitas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(visit.Num_of_Ticket), Max(visit.Num_of_Ticket) FROM visit", "inferred_code_readable": "", "score": -9.059896299845605e-06}]} {"index": 425, "beams": [{"question": "\u00bfCu\u00e1l es el gasto total de entradas de los miembros de nivel \"1\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(visit.Total_spent) FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID WHERE visitor.Level_of_membership = 1", "inferred_code_readable": "", "score": -0.0012911168049214439}]} {"index": 426, "beams": [{"question": "\u00bfC\u00f3mo se llama el visitante que visit\u00f3 un museo abierto antes de 2009 y otro abierto despu\u00e9s de 2011?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2009))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2011))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT visitor.Name FROM museum JOIN visitor JOIN visit ON museum.Museum_ID = visit.Museum_ID AND visit.visitor_ID = visitor.ID WHERE museum.Open_Year < 2009 INTERSECT SELECT visitor.Name FROM visitor JOIN visit ON visit.Museum_ID = visit.visitor_ID JOIN museum ON visit.Museum_ID = museum.Museum_ID WHERE museum.Open_Year > 2011", "inferred_code_readable": "", "score": -1.3390029539902528}]} {"index": 427, "beams": [{"question": "Encuentre el n\u00famero de visitantes que no visitaron ning\u00fan museo abierto despu\u00e9s de 2010.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2010))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM visit WHERE visit.Museum_ID NOT IN (SELECT museum.Museum_ID FROM museum WHERE museum.Open_Year > 2010)", "inferred_code_readable": "", "score": -0.41254555155400396}]} {"index": 428, "beams": [{"question": "\u00bfCu\u00e1ntos museos se abrieron despu\u00e9s de 2013 o antes de 2008?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Or (cond-left (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 300))))) (cond-right (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2008))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM museum WHERE museum.Open_Year > 300 OR museum.Open_Year < 2008", "inferred_code_readable": "", "score": -0.4918797164603248}]} {"index": 429, "beams": [{"question": "Encuentra el n\u00famero total de jugadores.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM players", "inferred_code_readable": "", "score": -5.125993361332348e-06}]} {"index": 430, "beams": [{"question": "\u00bfCuantos jugadores hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM players", "inferred_code_readable": "", "score": -8.463845574624429e-06}]} {"index": 431, "beams": [{"question": "Encuentra el n\u00famero total de partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM matches", "inferred_code_readable": "", "score": -5.245200320302956e-06}]} {"index": 432, "beams": [{"question": "Cuente el n\u00famero de partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM matches", "inferred_code_readable": "", "score": -1.6689174934469975e-05}]} {"index": 433, "beams": [{"question": "Enumere el nombre y la fecha de nacimiento de todos los jugadores de c\u00f3digo de pa\u00eds \"USA\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.birth_date FROM players WHERE players.country_code = \"United\"", "inferred_code_readable": "", "score": -0.01167308311853077}]} {"index": 434, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y las fechas de nacimiento de los jugadores de\"USA\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.birth_date FROM players WHERE players.country_code = \"United\"", "inferred_code_readable": "", "score": -0.011030802961883523}]} {"index": 435, "beams": [{"question": "Encuentra la edad media de los ganadores y perdedores de todos los partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(matches.loser_age), matches.winner_age FROM matches GROUP BY matches.winner_age", "inferred_code_readable": "", "score": -0.8947908477743027}]} {"index": 436, "beams": [{"question": "\u00bfCu\u00e1les son las edades medias de los perdedores y ganadores en los partidos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(matches.loser_age), matches.winner_age FROM matches GROUP BY matches.winner_id", "inferred_code_readable": "", "score": -0.9650768885422707}]} {"index": 437, "beams": [{"question": "Encuentra la clasificaciones medias de ganadores en todos los partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 40) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(rankings.ranking) FROM rankings", "inferred_code_readable": "", "score": -0.04700834191614689}]} {"index": 438, "beams": [{"question": "\u00bfCu\u00e1l es la clasificaciones medias de los ganadores en todos los partidos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 40) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(rankings.ranking) FROM rankings", "inferred_code_readable": "", "score": -0.006457407740022347}]} {"index": 439, "beams": [{"question": "Encuentra la clasificaci\u00f3n m\u00e1s alta de los perdedores en todos los partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 40) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(rankings.ranking) FROM rankings", "inferred_code_readable": "", "score": -0.07181259338337043}]} {"index": 440, "beams": [{"question": "\u00bfCu\u00e1l es la mejor clasificaiones de perdedores en todos los partidos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.best_of FROM matches ORDER BY matches.best_of Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0016679969990747168}]} {"index": 441, "beams": [{"question": "Encuentre el n\u00famero de c\u00f3digos de pa\u00edses distintos de todos los jugadores.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT players.country_code) FROM players", "inferred_code_readable": "", "score": -1.1205654239176965e-05}]} {"index": 442, "beams": [{"question": "\u00bfDe cu\u00e1ntos pa\u00edses distintos provienen los jugadores?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT players.country_code) FROM players", "inferred_code_readable": "", "score": -8.225433965947104e-06}]} {"index": 443, "beams": [{"question": "\u00bfCu\u00e1ntos perderdores hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM matches", "inferred_code_readable": "", "score": -3.6954872513206283e-06}]} {"index": 444, "beams": [{"question": "\u00bfCu\u00e1ntos nombres diferentes de perdedores hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT matches.loser_name) FROM matches", "inferred_code_readable": "", "score": -7.033345042373185e-06}]} {"index": 445, "beams": [{"question": "Encuentra el nombre del torneo que tiene m\u00e1s de 10 partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.tourney_name FROM matches GROUP BY matches.tourney_name HAVING Count(*) > 10", "inferred_code_readable": "", "score": -0.010008963731003462}]} {"index": 446, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los torneos que tienen m\u00e1s de 10 partidos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.tourney_name FROM matches GROUP BY matches.tourney_name HAVING Count(*) > 10", "inferred_code_readable": "", "score": -0.8840545705389857}]} {"index": 447, "beams": [{"question": "Enumere los nombres de todos los ganadores que jugaron tanto en 2013 como en 2016.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2003))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2016))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.year = 2003 INTERSECT SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.year = 2016", "inferred_code_readable": "", "score": -0.6637710016622336}]} {"index": 448, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los jugadores que ganaron tanto en 2013 como en 2016?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2003))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2016))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.year = 2003 INTERSECT SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.year = 2016", "inferred_code_readable": "", "score": -1.1461180369902024}]} {"index": 449, "beams": [{"question": "Enumere el n\u00famero de todos los partidos en 2013 o 2016.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2016))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM matches WHERE matches.year = 3 OR matches.year = 2016", "inferred_code_readable": "", "score": -0.19796384458815908}]} {"index": 450, "beams": [{"question": "\u00bfCu\u00e1ntos partidos se celebraon en 2013 o 2016?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2016))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM matches WHERE matches.year = 3 OR matches.year = 2016", "inferred_code_readable": "", "score": -0.15555510427999764}]} {"index": 451, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo de pa\u00eds y el nombre de los jugadores que ganaron tanto en el torneo\"WTA Championships\" como en el \"Australian Open\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NewTAChampionship\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AccoOpenOpenOpen\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.country_code, players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"NewTAChampionship\" INTERSECT SELECT players.country_code, players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.tourney_name = \"AccoOpenOpenOpen\"", "inferred_code_readable": "", "score": -2.0709721058182495}]} {"index": 452, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y c\u00f3digos de pa\u00eds de los jugadores que ganaron tanto el \"WTA Championships\" como el \"Australian Open\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NewTAChampionship\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alice\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"NewTAChampionship\" INTERSECT SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.tourney_name = \"Alice\"", "inferred_code_readable": "", "score": -2.315385544778813}]} {"index": 453, "beams": [{"question": "Encuentre el nombre y el c\u00f3digo de pa\u00eds del jugador de edad m\u00e1s alta.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_age Desc LIMIT 1", "inferred_code_readable": "", "score": -0.4605937590637694}]} {"index": 454, "beams": [{"question": "\u00bfCu\u00e1l es el nombre y el c\u00f3digo de pa\u00eds del jugador de edad m\u00e1s alta?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_age Desc LIMIT 1", "inferred_code_readable": "", "score": -0.09173809200392213}]} {"index": 455, "beams": [{"question": "Enumere el nombre y apellido de todos los jugadores en orden de fecha de nacimiento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.last_name FROM players ORDER BY players.birth_date Asc", "inferred_code_readable": "", "score": -3.6954866189375934e-06}]} {"index": 456, "beams": [{"question": "\u00bfCu\u00e1les son los nombres completos de todos los jugadores, ordenados por fechas de nacimiento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.last_name FROM players ORDER BY players.birth_date Asc", "inferred_code_readable": "", "score": -1.108644162428618e-05}]} {"index": 457, "beams": [{"question": "Enumere los nombres y apellidos de todos los jugadores de mano acostumbrada de\"L\" en el orden de fecha de nacimiento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"\"))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.last_name FROM players WHERE players.hand = \"\" ORDER BY players.birth_date Asc", "inferred_code_readable": "", "score": -1.0005166519511803}]} {"index": 458, "beams": [{"question": "\u00bfCu\u00e1les son los nombres completos de todos los jugadores de mano acostumbrada de\"L\", en orden de fecha de nacimiento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"null\"))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.last_name FROM players WHERE players.hand = \"null\" ORDER BY players.birth_date Asc", "inferred_code_readable": "", "score": -1.3812275663269844}]} {"index": 459, "beams": [{"question": "Encuentre el nombre y el c\u00f3digo de pa\u00eds del jugador que ha partici\u00e0do la mayor cantidad de torneos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY players.player_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.10495703965398917}]} {"index": 460, "beams": [{"question": "\u00bfCu\u00e1l es el nombre y el c\u00f3digo de pa\u00eds del jugador que ha partici\u00e0do la mayor cantidad de torneos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY players.player_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.03935418444434191}]} {"index": 461, "beams": [{"question": "Encuentre el a\u00f1o en que se celebr\u00f3 m\u00e1s partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.year FROM matches GROUP BY matches.year ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -3.3378596242528147e-06}]} {"index": 462, "beams": [{"question": "\u00bfQu\u00e9 a\u00f1o tuvo m\u00e1s partidos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.year FROM matches GROUP BY matches.year ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -4.649160523229057e-06}]} {"index": 463, "beams": [{"question": "Encuentre el nombre y los puntos de clasificaci\u00f3n del ganador que gan\u00f3 m\u00e1s veces.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.winner_name, matches.winner_rank_points FROM matches GROUP BY matches.winner_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.36988649483866}]} {"index": 464, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del ganador que ha ganado m\u00e1s partidos y cu\u00e1ntos puntos de clasificaci\u00f3n sac\u00f3 este jugador?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, matches.winner_rank_points FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY matches.winner_name ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.5350596006215653}]} {"index": 465, "beams": [{"question": "Encuentre el nombre del ganador que tiene los puntos de clasificaci\u00f3n m\u00e1s altos y particip\u00f3 en el torneo del \"Australian Open\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AustralianOpen\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AmericanOpen\"))))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.winner_name FROM players JOIN matches ON players.player_id = matches.loser_id JOIN rankings ON players.player_id = rankings.player_id WHERE matches.tourney_name = \"AustralianOpen\" AND matches.winner_rank_points = \"AmericanOpen\" ORDER BY rankings.ranking_points Desc LIMIT 1", "inferred_code_readable": "", "score": -3.8295920982190097}]} {"index": 466, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del ganador con m\u00e1s puntos de clasificaci\u00f3n que particip\u00f3 en el torneo \"Australian Open\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Australian\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False))))) (val-val1 (String (string-s \"AmericanOpen\"))))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"Australian\" AND matches.winner_rank_points = \"AmericanOpen\" ORDER BY matches.winner_rank_points Desc LIMIT 1", "inferred_code_readable": "", "score": -3.891966916727}]} {"index": 467, "beams": [{"question": "Encuentre los nombres de perdedores y de ganadores que jugaron en el partido m\u00e1s tiempo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.loser_name, matches.winner_name FROM matches ORDER BY matches.minutes Desc LIMIT 1", "inferred_code_readable": "", "score": -0.012243953169644328}]} {"index": 468, "beams": [{"question": "\u00bfC\u00f3mo se llaman los ganadores y perdedores que jugaron en el partido m\u00e1s largo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.winner_name, matches.loser_name FROM matches ORDER BY matches.minutes Desc LIMIT 1", "inferred_code_readable": "", "score": -0.000781360915169671}]} {"index": 469, "beams": [{"question": "Encuentra la clasificaci\u00f3n media de cada jugador y su nombre.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, Avg(rankings.ranking_points) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY players.first_name", "inferred_code_readable": "", "score": -0.010561814699030947}]} {"index": 470, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de todos los jugadores y su clasificaci\u00f3n media?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, Avg(rankings.ranking_points) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY rankings.player_id", "inferred_code_readable": "", "score": -0.0003915712396604931}]} {"index": 471, "beams": [{"question": "Encuentra el total de puntos de clasificaci\u00f3n de cada jugador y su nombre.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, Sum(rankings.ranking_points) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY players.first_name", "inferred_code_readable": "", "score": -0.0014625974988291546}]} {"index": 472, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de todos los jugadores y sus puntos de clasificaci\u00f3n totales?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, Sum(rankings.ranking_points) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY rankings.player_id", "inferred_code_readable": "", "score": -0.04519216214330868}]} {"index": 473, "beams": [{"question": "Encuentra el n\u00famero de jugadores de cada pa\u00eds.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.country_code, Count(*) FROM players GROUP BY players.country_code", "inferred_code_readable": "", "score": -6.675714040227376e-06}]} {"index": 474, "beams": [{"question": "\u00bfCu\u00e1ntos jugadores son de cada pa\u00eds?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.country_code, Count(*) FROM players GROUP BY players.country_code", "inferred_code_readable": "", "score": -4.410742448612837e-06}]} {"index": 475, "beams": [{"question": "Encuentre el c\u00f3digo del pa\u00eds donde tiene el mayor n\u00famero de jugadores.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.country_code FROM players GROUP BY players.country_code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -3.933905460939968e-06}]} {"index": 476, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo del pa\u00eds con m\u00e1s jugadores?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.country_code FROM players GROUP BY players.country_code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -4.7683693864541965e-06}]} {"index": 477, "beams": [{"question": "Encuentra los c\u00f3digos de pa\u00edses que tienen m\u00e1s de 50 jugadores.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 50))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.country_code FROM players GROUP BY players.country_code HAVING Count(*) > 50", "inferred_code_readable": "", "score": -0.0007678106019994857}]} {"index": 478, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de pa\u00edses con m\u00e1s de 50 jugadores?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 50))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.country_code FROM players GROUP BY players.country_code HAVING Count(*) > 50", "inferred_code_readable": "", "score": -0.000937692262787948}]} {"index": 479, "beams": [{"question": "Encuentre el n\u00famero total de torneos para cada fecha de clasificaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 39) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 39) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT rankings.ranking_date, Count(*) FROM rankings GROUP BY rankings.ranking_date", "inferred_code_readable": "", "score": -0.0012054775075327484}]} {"index": 480, "beams": [{"question": "\u00bfCu\u00e1ntos torneos en total hubo para cada fecha de clasificaci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 39) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 39) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT rankings.ranking_date, Count(*) FROM rankings GROUP BY rankings.ranking_date", "inferred_code_readable": "", "score": -9.155033385610523e-05}]} {"index": 481, "beams": [{"question": "Calcula el n\u00famero de partidos jugados de cada a\u00f1o.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), matches.year FROM matches GROUP BY matches.year", "inferred_code_readable": "", "score": -1.859654108216091e-05}]} {"index": 482, "beams": [{"question": "\u00bfCu\u00e1ntos partidos se jugaron cada a\u00f1o?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), matches.year FROM matches GROUP BY matches.year", "inferred_code_readable": "", "score": -0.001875557818436846}]} {"index": 483, "beams": [{"question": "Encuentra nombres y clasificaciones de los 3 ganadores m\u00e1s j\u00f3venes entre todos los partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 3) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.winner_name, players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_age Asc LIMIT 3", "inferred_code_readable": "", "score": -0.5052019240384027}]} {"index": 484, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y clasificaciones de los tres ganadores m\u00e1s j\u00f3venes entre todos los partidos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 3) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT matches.winner_name, players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_age Asc LIMIT 3", "inferred_code_readable": "", "score": -0.08826927693664288}]} {"index": 485, "beams": [{"question": "\u00bfCu\u00e1ntos ganadores diferentes participaron en \"WTA Championships\" y fueron zurdos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NewTAChampionship\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"n\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"NewTAChampionship\" AND players.hand = \"n\"", "inferred_code_readable": "", "score": -2.1703906810367712}]} {"index": 486, "beams": [{"question": "Encuentra el n\u00famero de ganadores zurdos que participaron en \"WTA Championships\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Y\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 27) (singleton-is_distinct False))))) (val-val1 (String (string-s \"JohnTAChampionship\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM players JOIN matches ON players.player_id = matches.loser_id WHERE players.hand = \"Y\" AND matches.tourney_name = \"JohnTAChampionship\"", "inferred_code_readable": "", "score": -3.080654190809291}]} {"index": 487, "beams": [{"question": "Encuentre el nombre, c\u00f3digo de pa\u00eds y fecha de nacimiento del ganador que tenga los puntos de clasificaci\u00f3n m\u00e1s altos entre todos los partidos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.country_code, players.birth_date FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY matches.winner_id ORDER BY matches.winner_rank_points Desc LIMIT 1", "inferred_code_readable": "", "score": -1.1262444400607095}]} {"index": 488, "beams": [{"question": "\u00bfCu\u00e1l es el nombre, el c\u00f3digo de pa\u00eds y la fecha de nacimiento del jugador con m\u00e1s puntos de clasificaci\u00f3n de ganador entre todos los partidos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.first_name, players.country_code, players.birth_date FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY matches.winner_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0003518797526567141}]} {"index": 489, "beams": [{"question": "Encuentra el n\u00famero de jugadores diestros y zurdos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.hand, Count(*) FROM players GROUP BY players.hand", "inferred_code_readable": "", "score": -4.4107424272965545e-06}]} {"index": 490, "beams": [{"question": "\u00bfCu\u00e1ntos jugadores diestros y zurdos hay respectivamente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT players.hand, Count(*) FROM players GROUP BY players.hand", "inferred_code_readable": "", "score": -5.483625280078286e-06}]} {"index": 491, "beams": [{"question": "\u00bfCu\u00e1ntos barcos terminaron siendo \"Captured\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Motured\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM ship WHERE ship.disposition_of_ship = \"Motured\"", "inferred_code_readable": "", "score": -1.4156254529943482}]} {"index": 492, "beams": [{"question": "Enumere nombres y tonelajes en orden alfab\u00e9tico reverso de nombres.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT ship.name, ship.tonnage FROM ship ORDER BY ship.name Desc", "inferred_code_readable": "", "score": -6.532547938320477e-05}]} {"index": 493, "beams": [{"question": "Enumere el nombre, la fecha y el resultado de cada batalla.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT battle.name, battle.date, battle.result FROM battle", "inferred_code_readable": "", "score": -5.483624562430123e-06}]} {"index": 494, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero m\u00e1ximo y m\u00ednimo de muertes causadas cada vez?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(death.killed), Min(death.killed), death.killed FROM death", "inferred_code_readable": "", "score": -0.8073928671390433}]} {"index": 495, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero medio de heridas causadas cada vez?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(death.injured) FROM death", "inferred_code_readable": "", "score": -0.0006124346277687209}]} {"index": 496, "beams": [{"question": "\u00bfCu\u00e1les son las situaciones de muertes y lesiones causadas por el barco con tonelaje \"T\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Te\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT death.killed, death.injured FROM ship JOIN death ON ship.id = death.caused_by_ship_id WHERE ship.tonnage = \"Te\"", "inferred_code_readable": "", "score": -0.5778940636446706}]} {"index": 497, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y los resultados de las batallas cuyo comandante b\u00falgaro no es \"Boril\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Gron\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT battle.name, battle.result FROM battle WHERE battle.bulgarian_commander != \"Gron\"", "inferred_code_readable": "", "score": -2.0865293443145987}]} {"index": 498, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones y nombres diferentes de las batallas que perdieron alg\u00fan barco del tipo 'Brig'?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Ps\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT battle.id, battle.name FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.ship_type = \"Ps\"", "inferred_code_readable": "", "score": -0.2381122673585523}]} {"index": 499, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones y nombres de las batallas que llevaron a m\u00e1s de 10 personas muertas en total?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 17) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT battle.id, battle.name FROM battle JOIN ship ON battle.id = ship.lost_in_battle JOIN death ON ship.id = death.caused_by_ship_id GROUP BY battle.id HAVING Sum(death.killed) > 10", "inferred_code_readable": "", "score": -0.6148033879362842}]} {"index": 500, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n y el nombre del barco que caus\u00f3 m\u00e1s lesiones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT ship.id, ship.name FROM ship JOIN death ON ship.id = death.caused_by_ship_id GROUP BY ship.id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -9.858476162349916e-05}]} {"index": 501, "beams": [{"question": "\u00bfCu\u00e1les son los distintos nombres de batalla entre el comandante b\u00falgaro \"Kaloyan\" y el comandante latino \"Baldwin I\"?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Democratic\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Comp\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT battle.result FROM battle WHERE battle.bulgarian_commander = \"Democratic\" AND battle.latin_commander = \"Comp\"", "inferred_code_readable": "", "score": -2.9795372011027155}]} {"index": 502, "beams": [{"question": "\u00bfCu\u00e1ntos resultados diferentes hay para las batallas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT battle.result) FROM battle", "inferred_code_readable": "", "score": -6.794925845099442e-06}]} {"index": 503, "beams": [{"question": "\u00bfCu\u00e1ntas batallas no perdi\u00f3 ning\u00fan barco con tonelaje \"225\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM battle WHERE battle.id NOT IN (SELECT ship.lost_in_battle FROM ship WHERE ship.tonnage = 200)", "inferred_code_readable": "", "score": -0.25102772922449645}]} {"index": 504, "beams": [{"question": "Indique el nombre y la fecha de la batalla que ha perdido el barco llamado \"Lettice\" y el barco llamado \"HMS Atalanta\"", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Latice\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"KeMSAta\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT battle.name, battle.date FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.name = \"Latice\" INTERSECT SELECT battle.name, battle.date FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.name = \"KeMSAta\"", "inferred_code_readable": "", "score": -1.7861312596505385}]} {"index": 505, "beams": [{"question": "Muestra nombres, resultados y comandantes b\u00falgaros de las batallas sin barcos perdidos en el \"English Channel\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedChannel\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT battle.name, battle.result, battle.bulgarian_commander FROM battle WHERE battle.id NOT IN (SELECT ship.lost_in_battle FROM ship WHERE ship.location = \"UnitedChannel\")", "inferred_code_readable": "", "score": -1.4295712985549471}]} {"index": 506, "beams": [{"question": "\u00bfCu\u00e1les son las notas de muertes que tienen la subcadena \"East\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))) (val-val1 (String (string-s \"A%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT death.note FROM death WHERE death.note LIKE \"A%\"", "inferred_code_readable": "", "score": -0.9487047733032696}]} {"index": 507, "beams": [{"question": "\u00bfCu\u00e1les son todas las direcciones, incluidas la l\u00ednea 1 y la l\u00ednea 2?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (Number (object-f 40))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Addresses.line_1 FROM Addresses WHERE Addresses.line_1 LIKE 40 INTERSECT SELECT Addresses.line_1 FROM Addresses WHERE Addresses.line_1 LIKE \"%\"", "inferred_code_readable": "", "score": -1.5885041303772596}]} {"index": 508, "beams": [{"question": "\u00bfCu\u00e1l es la primera y segunda l\u00ednea para todas las direcciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Addresses.line_1, Addresses.line_2 FROM Addresses", "inferred_code_readable": "", "score": -1.9073479080589095e-06}]} {"index": 509, "beams": [{"question": "\u00bfCu\u00e1ntos cursos en total se enumeran?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Courses", "inferred_code_readable": "", "score": -2.861021300759603e-06}]} {"index": 510, "beams": [{"question": "Cu\u00e1ntos cursos hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Courses", "inferred_code_readable": "", "score": -2.264975449861595e-06}]} {"index": 511, "beams": [{"question": "\u00bfC\u00f3mo se describe el curso de\"math\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Courses.course_description FROM Courses WHERE Courses.course_name = \"\"", "inferred_code_readable": "", "score": -0.8224188685408436}]} {"index": 512, "beams": [{"question": "\u00bfCu\u00e1les son las descripciones de todos los cursos de \"math\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Courses.course_description FROM Courses WHERE Courses.course_name = \"\"", "inferred_code_readable": "", "score": -1.022795796393872}]} {"index": 513, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo postal de la direcci\u00f3n en la ciudad de \"Port Chelsea\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PenChelseaChelsea\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Addresses.zip_postcode FROM Addresses WHERE Addresses.city = \"PenChelseaChelsea\"", "inferred_code_readable": "", "score": -1.2967873066446174}]} {"index": 514, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo postal de\"Port Chelsea\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"LondonChelseaChelsea\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Addresses.zip_postcode FROM Addresses WHERE Addresses.city = \"LondonChelseaChelsea\"", "inferred_code_readable": "", "score": -2.029018585569908}]} {"index": 515, "beams": [{"question": "\u00bfQu\u00e9 departamento ofrece la mayor cantidad de programas de grado? Indique el nombre y la identificaci\u00f3n del departamento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Departments.department_name, Degree_Programs.department_id FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id GROUP BY Degree_Programs.department_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.1036568000468705}]} {"index": 516, "beams": [{"question": "\u00bfCu\u00e1l es el nombre y la identificaci\u00f3n del departamento con la mayor cantidad de programas de grados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Departments.department_name, Degree_Programs.department_id FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id GROUP BY Degree_Programs.department_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.25468453561607873}]} {"index": 517, "beams": [{"question": "\u00bfCu\u00e1ntos departamentos ofrecen programas de grado?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Degree_Programs.department_id) FROM Degree_Programs", "inferred_code_readable": "", "score": -8.940686406333498e-06}]} {"index": 518, "beams": [{"question": "\u00bfCu\u00e1ntos departamentos diferentes ofrecen programas de grado?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Degree_Programs.department_id) FROM Degree_Programs", "inferred_code_readable": "", "score": -9.17910313091852e-06}]} {"index": 519, "beams": [{"question": "\u00bfCu\u00e1ntos nombres de resumen de grado diferentes hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Degree_Programs.degree_summary_name) FROM Degree_Programs", "inferred_code_readable": "", "score": -1.5377950774109195e-05}]} {"index": 520, "beams": [{"question": "\u00bfCu\u00e1ntos programas de grado se otorgan?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Degree_Programs", "inferred_code_readable": "", "score": -3.8146942600292277e-06}]} {"index": 521, "beams": [{"question": "\u00bfCu\u00e1ntos programas de grado ofrece el departamento de \"engineer\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Computer\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id WHERE Departments.department_name = \"Computer\"", "inferred_code_readable": "", "score": -0.16478468283221304}]} {"index": 522, "beams": [{"question": "\u00bfCu\u00e1ntos programas de grado tiene el departamento de \"engineer\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Computer\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id WHERE Departments.department_name = \"Computer\"", "inferred_code_readable": "", "score": -0.1460912065674762}]} {"index": 523, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y descripciones de todas las secciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sections.section_name, Sections.section_description FROM Sections", "inferred_code_readable": "", "score": -9.536742311411217e-07}]} {"index": 524, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y descripciones para todas las secciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sections.section_name, Sections.section_description FROM Sections", "inferred_code_readable": "", "score": -9.536742311411217e-07}]} {"index": 525, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y las identificaciones de los cursos que tienen 2 secciones como m\u00e1ximo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 4))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Le (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Courses.course_name, Courses.course_id FROM Courses JOIN Sections ON Courses.course_id = Sections.course_id GROUP BY Sections.course_id HAVING Count(*) <= 2", "inferred_code_readable": "", "score": -0.34668352249705947}]} {"index": 526, "beams": [{"question": "\u00bfCu\u00e1les son los nombres e identificaciones de cada curso con menos de 2 secciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 4))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Courses.course_name, Sections.course_id FROM Courses JOIN Sections ON Courses.course_id = Sections.course_id GROUP BY Sections.course_id HAVING Count(*) < 2", "inferred_code_readable": "", "score": -0.0016116623216859693}]} {"index": 527, "beams": [{"question": "Enumere los nombres de secciones en orden lexicogr\u00e1fico inverso.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sections.section_name FROM Sections ORDER BY Sections.section_name Desc", "inferred_code_readable": "", "score": -0.00022075181052372272}]} {"index": 528, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de las secciones en orden alfab\u00e9tico inverso?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sections.section_name FROM Sections ORDER BY Sections.section_name Desc", "inferred_code_readable": "", "score": -0.0006329216405589477}]} {"index": 529, "beams": [{"question": "\u00bfCu\u00e1l es el semestre en el que se registra m\u00e1sestudiantes? Muestre tanto el nombre como la identificaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 29) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Semesters.semester_name, Semesters.semester_id FROM Semesters JOIN Student_Enrolment ON Semesters.semester_id = Student_Enrolment.semester_id GROUP BY Semesters.semester_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.22049141480226808}]} {"index": 530, "beams": [{"question": "Para cada semestre, \u00bfcu\u00e1l es el nombre y la identificaci\u00f3n del que tiene m\u00e1s estudiantes registrados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 29) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Semesters.semester_name, Student_Enrolment.semester_id FROM Semesters JOIN Student_Enrolment ON Semesters.semester_id = Student_Enrolment.semester_id GROUP BY Student_Enrolment.semester_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.3794090205486711}]} {"index": 531, "beams": [{"question": "\u00bfCu\u00e1l es la descripci\u00f3n del departamento cuyo nombre tiene la subcadena \"computer\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%Ke%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Departments.department_description FROM Departments WHERE Departments.department_name LIKE \"%Ke%\"", "inferred_code_readable": "", "score": -2.194560938246994}]} {"index": 532, "beams": [{"question": "\u00bfCu\u00e1l es la descripci\u00f3n del departamento cuyo nombre tiene la palabra \"computer\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%Ke%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Departments.department_description FROM Departments WHERE Departments.department_name LIKE \"%Ke%\"", "inferred_code_readable": "", "score": -2.1224110716104434}]} {"index": 533, "beams": [{"question": "\u00bfQui\u00e9nes est\u00e1n inscritos en dos programas en un semestre? Indique el nombre primero, segundo y apellido y la identificaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id GROUP BY Students.student_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.9602483526317371}]} {"index": 534, "beams": [{"question": "\u00bfCu\u00e1les son los nombre completos junto con las identificaciones, de todos los estudiantes que se inscribieron en 2 programas en un semestre?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Students.student_id FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id GROUP BY Students.student_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.7103578667080654}]} {"index": 535, "beams": [{"question": "\u00bfQui\u00e9n est\u00e1 inscrito en un programa de \"Bachelor\"? Escriba el nombre, segundo nombre, apellido.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7)) (Table (table-table_id 3))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Ded\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Degree_Programs JOIN Students JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id AND Student_Enrolment.student_id = Students.student_id WHERE Degree_Programs.degree_summary_name = \"Ded\"", "inferred_code_readable": "", "score": -2.6628931864279295}]} {"index": 536, "beams": [{"question": "\u00bfCu\u00e1les son el nombre, el segundo nombre y el apellido de todas las personas inscritas en un programa de \"Bachelor\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7)) (Table (table-table_id 3))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PhC\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Degree_Programs JOIN Students JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id AND Student_Enrolment.student_id = Students.student_id WHERE Degree_Programs.degree_summary_name = \"PhC\"", "inferred_code_readable": "", "score": -3.131489958734363}]} {"index": 537, "beams": [{"question": "\u00bfEncuentra el tipo de programa en el que est\u00e1 matriculado la mayor cantidad de estudiantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 50) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id AND Student_Enrolment_Courses.student_enrolment_id = Student_Enrolment.student_enrolment_id GROUP BY Student_Enrolment.degree_program_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.36224349176098514}]} {"index": 538, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de resumen de grado que tiene la mayor cantidad de estudiantes matriculados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Degree_Programs.degree_summary_name FROM Degree_Programs JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id GROUP BY Student_Enrolment.degree_program_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.33385357254754666}]} {"index": 539, "beams": [{"question": "Encuentre el programa de grado en el que est\u00e1 inscrito la mayor cantidad de estudiantes. Enumere tanto la identificaci\u00f3n como el nombre del resumen del grado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student_Enrolment.degree_program_id, Degree_Programs.degree_summary_name FROM Degree_Programs JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id GROUP BY Student_Enrolment.degree_program_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.012702782550782388}]} {"index": 540, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n del programa de grado y el nombre del resumen del grado que tiene m\u00e1s estudiantes matriculados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student_Enrolment.degree_program_id, Degree_Programs.degree_summary_name FROM Degree_Programs JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id GROUP BY Student_Enrolment.degree_program_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.04089773822533971}]} {"index": 541, "beams": [{"question": "\u00bfQu\u00e9 estudiante se ha matriculado m\u00e1s veces en cualquier programa? Indique la identificaci\u00f3n, nombre, segundo nombre, apellido, el n\u00famero de inscripciones y la identificaci\u00f3n del estudiante.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.student_id, Students.first_name, Count(*) FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id GROUP BY Students.student_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.08025971488945771}]} {"index": 542, "beams": [{"question": "\u00bfCu\u00e1l es el nombre, el segundo nombre y el apellido, junto con la identificaci\u00f3n y el n\u00famero de inscripciones, del estudiante que se inscribi\u00f3 m\u00e1s en cualquier programa?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Count(*) FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id GROUP BY Students.student_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.001458432270595722}]} {"index": 543, "beams": [{"question": "\u00bfQu\u00e9 semestres no tienen ning\u00fan alumno matriculado? Dime sus nombres.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 29) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Semesters.semester_name FROM Semesters WHERE Semesters.semester_id NOT IN (SELECT Student_Enrolment.semester_id FROM Student_Enrolment)", "inferred_code_readable": "", "score": -2.0623175586820253e-05}]} {"index": 544, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del semestre sin estudiantes inscritos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 29) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Semesters.semester_name FROM Semesters WHERE Semesters.semester_id NOT IN (SELECT Student_Enrolment.semester_id FROM Student_Enrolment)", "inferred_code_readable": "", "score": -1.823899780362126e-05}]} {"index": 545, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de todos los cursos inscritos por los estudiantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 8))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 50) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id", "inferred_code_readable": "", "score": -0.004109745161215983}]} {"index": 546, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de todos los cursos que tienen algunos estudiantes inscritos?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 8))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 50) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id", "inferred_code_readable": "", "score": -0.00027785919557743455}]} {"index": 547, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del curso con mayores inscripciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 8))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 50) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 50) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id GROUP BY Student_Enrolment_Courses.course_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0005918339295263308}]} {"index": 548, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del curso con m\u00e1s estudiantes matriculados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 8))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 50) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id GROUP BY Courses.course_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.002728286283648629}]} {"index": 549, "beams": [{"question": "Encuentre apellidos de los estudiantes que actualmente viven en\"North Carolina\"pero que no se han registrado en ning\u00fan programa de grado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CCarolina\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PaloCarolina\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Students.last_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Addresses.state_province_county = \"CCarolina\" EXCEPT SELECT Students.last_name FROM Students EXCEPT SELECT Addresses.city FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"PaloCarolina\"", "inferred_code_readable": "", "score": -3.7198365690292547}]} {"index": 550, "beams": [{"question": "\u00bfCu\u00e1les son los apellidos de los estudiantes que viven en \"North Carolina\" pero que no se han registrado en ning\u00fan programa de grado?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CCarolinaCarolina\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Students.last_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Addresses.state_province_county = \"CCarolinaCarolina\" EXCEPT SELECT Students.last_name FROM Addresses", "inferred_code_readable": "", "score": -1.0639447036666994}]} {"index": 551, "beams": [{"question": "Muestre la fecha y la identificaci\u00f3n de transcripciones con al menos 2 resultados de curso.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Transcripts.transcript_date, Transcripts.transcript_id FROM Transcripts GROUP BY Transcripts.transcript_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.3364837121935622}]} {"index": 552, "beams": [{"question": "\u00bfCu\u00e1l es la fecha y la identificaci\u00f3n de transcripciones con al menos 2 cursos enumerados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9)) (Table (table-table_id 10))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 56) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Transcripts.transcript_date, Transcripts.transcript_id FROM Transcripts JOIN Transcript_Contents ON Transcripts.transcript_id = Transcript_Contents.transcript_id GROUP BY Transcripts.transcript_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.003618739810846705}]} {"index": 553, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de m\u00f3vil celular de la persona con el nombre de \"Timmothy\"y el apellido de\"Ward\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Mmothy\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Td\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.cell_mobile_number FROM Students WHERE Students.first_name = \"Mmothy\" AND Students.last_name = \"Td\"", "inferred_code_readable": "", "score": -0.45391914637836805}]} {"index": 554, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de m\u00f3vil celular del estudiante llamado \"Timmothy Ward\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Mmothy\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Td\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.cell_mobile_number FROM Students WHERE Students.first_name = \"Mmothy\" AND Students.last_name = \"Td\"", "inferred_code_readable": "", "score": -0.06828705189726492}]} {"index": 555, "beams": [{"question": "\u00bfQui\u00e9n es el primer estudiante que se registr\u00f3? Indique el nombre, segundo nombre y apellido.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students ORDER BY Students.date_first_registered Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0019068732916593945}]} {"index": 556, "beams": [{"question": "\u00bfCu\u00e1l es el nombre, segundo nombre y apellido del primer estudiante que se inscribi\u00f3?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students ORDER BY Students.date_first_registered Asc LIMIT 1", "inferred_code_readable": "", "score": -4.3153269622564494e-05}]} {"index": 557, "beams": [{"question": "\u00bfQui\u00e9n es el primer graduado de la escuela? Indique el nombre, segundo nombre y apellido.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students ORDER BY Students.date_left Asc LIMIT 1", "inferred_code_readable": "", "score": -1.5974024904608086e-05}]} {"index": 558, "beams": [{"question": "\u00bfCu\u00e1l es el nombre, el segundo nombre y el apellido del primer graduado de la escuela?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students ORDER BY Students.date_left Asc LIMIT 1", "inferred_code_readable": "", "score": -1.0609619607748755e-05}]} {"index": 559, "beams": [{"question": "\u00bfLa direcci\u00f3n permanente de qui\u00e9n es diferente a su direcci\u00f3n actual? Dame sus numbres .", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Students.first_name FROM Students", "inferred_code_readable": "", "score": -0.3490762435575121}]} {"index": 560, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del estudiante cuya direcci\u00f3n permanente es diferente a la actual?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Students.first_name FROM Students WHERE Students.permanent_address_id > (SELECT Min(Students.permanent_address_id) FROM Students)", "inferred_code_readable": "", "score": -0.7243775431863568}]} {"index": 561, "beams": [{"question": "\u00bfEn qu\u00e9 direcci\u00f3n vive la mayor cantidad de estudiantes actualmente? Enumere la identificaci\u00f3n de la direcci\u00f3n y su primera y segunda l\u00ednea.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 6))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.current_address_id, Addresses.line_1 FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id GROUP BY Students.current_address_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.5917349721723824}]} {"index": 562, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n, la l\u00ednea 1 y la l\u00ednea 2 de la direcci\u00f3n con m\u00e1s estudiantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 6))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.current_address_id, Addresses.line_1, Addresses.line_2 FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id GROUP BY Students.current_address_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.2716753148297073}]} {"index": 563, "beams": [{"question": "En promedio, \u00bfcu\u00e1ndo se imprimieron las transcripciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Transcripts.transcript_date) FROM Transcripts", "inferred_code_readable": "", "score": -9.703187191689722e-05}]} {"index": 564, "beams": [{"question": "\u00bfCu\u00e1l es la fecha media de transcripci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Transcripts.transcript_date) FROM Transcripts", "inferred_code_readable": "", "score": -1.5497132899611188e-05}]} {"index": 565, "beams": [{"question": "\u00bfCu\u00e1ndo se publica la primera transcripci\u00f3n? Enumere la fecha y otros detalles.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 54) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Transcripts.transcript_date, Transcripts.other_details FROM Transcripts ORDER BY Transcripts.transcript_date Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0004229058810167885}]} {"index": 566, "beams": [{"question": "\u00bfCu\u00e1l es la fecha m\u00e1s temprana de la publicaci\u00f3n de la transcripci\u00f3n y qu\u00e9 detalles puede darme?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 54) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Transcripts.transcript_date, Transcripts.other_details FROM Transcripts ORDER BY Transcripts.transcript_date Asc LIMIT 1", "inferred_code_readable": "", "score": -0.00010001456244168594}]} {"index": 567, "beams": [{"question": "\u00bfCu\u00e1ntas transcripciones se publican?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Transcripts", "inferred_code_readable": "", "score": -5.72203664717108e-06}]} {"index": 568, "beams": [{"question": "\u00bfCu\u00e1ntas transcripciones se enumeran?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Transcripts", "inferred_code_readable": "", "score": -6.6757047250121104e-06}]} {"index": 569, "beams": [{"question": "\u00bfCu\u00e1l es la fecha de publicaci\u00f3n de la \u00faltima transcripci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Transcripts.transcript_date FROM Transcripts ORDER BY Transcripts.transcript_date Desc LIMIT 1", "inferred_code_readable": "", "score": -0.04049025723868738}]} {"index": 570, "beams": [{"question": "\u00bfCu\u00e1ndo se public\u00f3 la \u00faltima transcripci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(Transcripts.transcript_date) FROM Transcripts", "inferred_code_readable": "", "score": -1.597399625552498e-05}]} {"index": 571, "beams": [{"question": "\u00bfCu\u00e1ntas veces como m\u00e1xima se puede mostrar el resultado de la inscripci\u00f3n a un curso en diferentes transcripciones? Tambi\u00e9n muestre ID de inscripci\u00f3n al curso.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Transcripts.transcript_id, Count(*) FROM Transcripts GROUP BY Transcripts.transcript_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.06419288115079524}]} {"index": 572, "beams": [{"question": "Las veces m\u00e1ximas que un curso aparece en diferentes transcripciones y cu\u00e1l es la identificaci\u00f3n de inscripci\u00f3n suya?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), Transcripts.transcript_id FROM Transcripts GROUP BY Transcripts.transcript_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.11834307867805904}]} {"index": 573, "beams": [{"question": "Muestre la fecha de la transcripci\u00f3n que da el menor n\u00famero de resultados, tambi\u00e9n enumere la identificaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Transcripts.transcript_date, Transcripts.transcript_id FROM Transcripts GROUP BY Transcripts.transcript_id ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.04076405673491479}]} {"index": 574, "beams": [{"question": "\u00bfCu\u00e1l es la fecha y la identificaci\u00f3n de l atranscripci\u00f3n con el menor n\u00famero de resultados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 53) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 9)) (Table (table-table_id 9))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 56) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 52) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Transcripts.transcript_date, Transcripts.transcript_id FROM Transcripts GROUP BY Transcripts.transcript_id ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.9064769408075222}]} {"index": 575, "beams": [{"question": "Encuentre el semestre en el que se inscribieron tanto \"Master\"como \"Bachelor\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 29) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Comp\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 29) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 28) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Ph\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Semesters.semester_name FROM Semesters JOIN Student_Enrolment ON Semesters.semester_id = Student_Enrolment.semester_id WHERE Student_Enrolment.degree_program_id = \"Comp\" INTERSECT SELECT Semesters.semester_name FROM Student_Enrolment JOIN Semesters ON Student_Enrolment.semester_id = Semesters.semester_id WHERE Student_Enrolment.degree_program_id = \"Ph\"", "inferred_code_readable": "", "score": -1.5825880387304707}]} {"index": 576, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n del semestre en el que se inscribieron \"Master\"y \"Bachelor\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Professor\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (String (string-s \"P\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Student_Enrolment.semester_id FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"Professor\" INTERSECT SELECT Student_Enrolment.semester_id FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"P\"", "inferred_code_readable": "", "score": -2.5652053895585567}]} {"index": 577, "beams": [{"question": "\u00bfCu\u00e1ntas direcciones diferentes viven actualmente los estudiantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Students.current_address_id) FROM Students", "inferred_code_readable": "", "score": -6.794926022735126e-06}]} {"index": 578, "beams": [{"question": "\u00bfCu\u00e1les son las diferentes direcciones que tienen los estudiantes viviendo all\u00ed?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Students.current_address_id FROM Students", "inferred_code_readable": "", "score": -0.008369474531200183}]} {"index": 579, "beams": [{"question": "Enumere todos los detalles del alumno en orden lexicogr\u00e1fico inverso.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT * FROM Students ORDER BY Students.first_name Desc", "inferred_code_readable": "", "score": -0.0006382186067881435}]} {"index": 580, "beams": [{"question": "\u00bfQu\u00e9 otros detalles me puedes contar sobre los estudiantes en orden alfab\u00e9tico inverso?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT * FROM Students ORDER BY Students.other_student_details Desc", "inferred_code_readable": "", "score": -0.39590921480303365}]} {"index": 581, "beams": [{"question": "Describe la secci\u00f3n \"h\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (String (string-s \"x\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sections.section_description FROM Sections WHERE Sections.section_name = \"x\"", "inferred_code_readable": "", "score": -0.19704967737170165}]} {"index": 582, "beams": [{"question": "\u00bfCu\u00e1l es la descripci\u00f3n de la secci\u00f3n denominada\"h\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (String (string-s \"x\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sections.section_description FROM Sections WHERE Sections.section_name = \"x\"", "inferred_code_readable": "", "score": -0.1170039474961726}]} {"index": 583, "beams": [{"question": "Encuentre los nombres de los estudiantes que viven permanentemente en el pa\u00eds \"Haiti\" o tienen el n\u00famero de m\u00f3vil celular\"09700166582\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Close\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"C700166582\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Addresses.country = \"Close\" OR Students.cell_mobile_number = \"C700166582\"", "inferred_code_readable": "", "score": -1.7175210061400819}]} {"index": 584, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los estudiantes que viven en \"Haiti\" de forma permanente o tienen el n\u00famero de m\u00f3vil celular\"09700166582\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Close\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Canada\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Students.first_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Students.cell_mobile_number = \"Close\" OR Addresses.country = \"Canada\"", "inferred_code_readable": "", "score": -1.1920648762836947}]} {"index": 585, "beams": [{"question": "Enumere t\u00edtulos de todos los dibujos animados en orden alfab\u00e9tico.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title FROM Cartoon ORDER BY Cartoon.Title Asc", "inferred_code_readable": "", "score": -5.841249148375027e-06}]} {"index": 586, "beams": [{"question": "\u00bfCu\u00e1les son los t\u00edtulos de los dibujos animados ordenados alfab\u00e9ticamente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title FROM Cartoon ORDER BY Cartoon.Title Asc", "inferred_code_readable": "", "score": -4.529950295761864e-06}]} {"index": 587, "beams": [{"question": "Lista todos los dibujos animados dirigidos por \"Ben Jones\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"JohnJones\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"JohnJones\"", "inferred_code_readable": "", "score": -1.8238489505665285}]} {"index": 588, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de todos los dibujos animados dirigidos por\"Ben Jones\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalJones\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"WalJones\"", "inferred_code_readable": "", "score": -0.8988840966887537}]} {"index": 589, "beams": [{"question": "\u00bfCu\u00e1ntos dibujos animados fueron escritos por\"Joseph Kuhr\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"StevenKuKuhr\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Cartoon WHERE Cartoon.Written_by = \"StevenKuKuhr\"", "inferred_code_readable": "", "score": -0.5587159436971731}]} {"index": 590, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de dibujos animados escritos por\"Joseph Kuhr\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"StevenKuKuhr\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Cartoon WHERE Cartoon.Written_by = \"StevenKuKuhr\"", "inferred_code_readable": "", "score": -0.36306990937019634}]} {"index": 591, "beams": [{"question": "Enumere todos los t\u00edtulos de dibujos animados y sus directores ordenados por fecha del aire.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title, Cartoon.Directed_by FROM Cartoon ORDER BY Cartoon.Title Asc", "inferred_code_readable": "", "score": -0.6907129883751679}]} {"index": 592, "beams": [{"question": "\u00bfCu\u00e1les son los t\u00edtulos y los directores de todos los dibujos animados ordenados por fecha del aire?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title, Cartoon.Directed_by FROM Cartoon ORDER BY Cartoon.Original_air_date Asc", "inferred_code_readable": "", "score": -0.21952040329434652}]} {"index": 593, "beams": [{"question": "Enumere t\u00edtulos de todos los dibujos animados dirigidos por\"Ben Jones\" o\"Brandon Vietti\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PeterJonesJones\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"BlanVietViet\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"PeterJonesJones\" OR Cartoon.Written_by = \"BlanVietViet\"", "inferred_code_readable": "", "score": -2.4983138583790563}]} {"index": 594, "beams": [{"question": "\u00bfCu\u00e1les son los t\u00edtulos de todos los dibujos animados dirigidos por \"Ben Jones\"o\"Brandon Vietti\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"PeterJonesJones\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"JamesVietViet\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"PeterJonesJones\" OR Cartoon.Written_by = \"JamesVietViet\"", "inferred_code_readable": "", "score": -1.0620323109871563}]} {"index": 595, "beams": [{"question": "\u00bfQu\u00e9 pa\u00eds tiene m\u00e1s canales de televisi\u00f3n? Enumere los pa\u00edses y la cantidad de canales de televisi\u00f3n que tiene.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Country, Count(*) FROM TV_Channel GROUP BY TV_Channel.Country ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -1.6450854417371374e-05}]} {"index": 596, "beams": [{"question": "\u00bfCu\u00e1l es el pa\u00eds con m\u00e1s canales de televisi\u00f3n y cu\u00e1ntos tiene?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Country, Count(*) FROM TV_Channel GROUP BY TV_Channel.Country ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0006321042269163968}]} {"index": 597, "beams": [{"question": "Enumere el n\u00famero de diferentes nombres de la serie y el de contenidos diferentes en la tabla de canales de TV.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct True)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT TV_Channel.series_name), Count(DISTINCT TV_Channel.Content) FROM TV_Channel", "inferred_code_readable": "", "score": -0.0003865515054997104}]} {"index": 598, "beams": [{"question": "\u00bfCu\u00e1ntas series y contenidos diferentes se enumeran en la tabla de canales de TV?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct True)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT TV_Channel.Content), Count(DISTINCT TV_Channel.Content) FROM TV_Channel", "inferred_code_readable": "", "score": -0.0008595727111284646}]} {"index": 599, "beams": [{"question": "\u00bfCu\u00e1l es el contenido de la serie de televisi\u00f3n de \"Sky Radio\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TVRadio\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Content FROM TV_Channel WHERE TV_Channel.series_name = \"TVRadio\"", "inferred_code_readable": "", "score": -0.6538133578678398}]} {"index": 600, "beams": [{"question": "\u00bfCu\u00e1l es el contenido de la serie de televisi\u00f3n\"Sky Radio\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TVRadio\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Content FROM TV_Channel WHERE TV_Channel.series_name = \"TVRadio\"", "inferred_code_readable": "", "score": -0.5520613104108278}]} {"index": 601, "beams": [{"question": "\u00bfCu\u00e1l es la opci\u00f3n de paquete del canal de televisi\u00f3n con la serie \"Sky Radio\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TVRadio\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Package_Option FROM TV_Channel WHERE TV_Channel.series_name = \"TVRadio\"", "inferred_code_readable": "", "score": -1.0564003399539104}]} {"index": 602, "beams": [{"question": "\u00bfCu\u00e1les son las opciones de paquete de los canales de televisi\u00f3n con la serie de\"Sky Radio\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TVRadio\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Package_Option FROM TV_Channel WHERE TV_Channel.series_name = \"TVRadio\"", "inferred_code_readable": "", "score": -0.5109098775543188}]} {"index": 603, "beams": [{"question": "\u00bfCu\u00e1ntos canales de televisi\u00f3n utilizan el idioma \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM TV_Channel WHERE TV_Channel.Language = \"english\"", "inferred_code_readable": "", "score": -0.07336808554813246}]} {"index": 604, "beams": [{"question": "\u00bfCu\u00e1ntos canales de televisi\u00f3n utilizan el idioma \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM TV_Channel WHERE TV_Channel.Language = \"english\"", "inferred_code_readable": "", "score": -0.07336808554813246}]} {"index": 605, "beams": [{"question": "Enumere el idioma utilizado por el canal de televisi\u00f3n que usa menos idiomas. Lista el n\u00famero de tales canales de televisi\u00f3n .", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Language, Count(*) FROM TV_Channel GROUP BY TV_Channel.Language ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -6.008091672526916e-05}]} {"index": 606, "beams": [{"question": "\u00bfCu\u00e1l es el idioma que menos usan los canales de televisi\u00f3n y cu\u00e1ntos canales lo usan?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Language, Count(*) FROM TV_Channel GROUP BY TV_Channel.Language ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0010672503177957537}]} {"index": 607, "beams": [{"question": "Enumere cada idioma y el n\u00famero de canales de televisi\u00f3n que lo utilizan.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Language, Count(*) FROM TV_Channel GROUP BY TV_Channel.Language", "inferred_code_readable": "", "score": -2.622603822999281e-06}]} {"index": 608, "beams": [{"question": "Para cada idioma, indique el n\u00famero de canales de televisi\u00f3n que lo utilizan.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Language, Count(*) FROM TV_Channel GROUP BY TV_Channel.Language", "inferred_code_readable": "", "score": -2.3841853078465647e-06}]} {"index": 609, "beams": [{"question": "\u00bfCu\u00e1l es el canal de televisi\u00f3n que proyect\u00f3 el dibujo animado \"The Rise of the Blue Beetle!\"? Indique el nombre de la serie de este canal de televisi\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TheRisRisofBlueetle!\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.series_name FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Title = \"TheRisRisofBlueetle!\"", "inferred_code_readable": "", "score": -0.9924983258041422}]} {"index": 610, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de la serie del canal de televisi\u00f3n que proyect\u00f3\"The Rise of the Blue Beetle!\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TheRisBeBeofBele!\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.series_name FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Title = \"TheRisBeBeofBele!\"", "inferred_code_readable": "", "score": -1.7533058644431918}]} {"index": 611, "beams": [{"question": "Enumere nombres de todos los dibujos animados disponibles en el canal de televisi\u00f3n con la serie de televisi\u00f3n \"Sky Radio\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"JaRadioRadio\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE TV_Channel.series_name = \"JaRadioRadio\"", "inferred_code_readable": "", "score": -2.2449394907694824}]} {"index": 612, "beams": [{"question": "\u00bfCu\u00e1les son los t\u00edtulos de todos los dibujos animados que est\u00e1n en el canal de televisi\u00f3n con la serie de televisi\u00f3n \"Sky Radio\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"sRadioRadio\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Title FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE TV_Channel.series_name = \"sRadioRadio\"", "inferred_code_readable": "", "score": -1.9826410553738185}]} {"index": 613, "beams": [{"question": "Enumere los episodios de todas las series de televisi\u00f3n ordenadas por calificaciones.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Episode FROM TV_series ORDER BY TV_series.Rating Asc", "inferred_code_readable": "", "score": -0.0002528114994504449}]} {"index": 614, "beams": [{"question": "\u00bfCu\u00e1les son todos los episodios ordenados por calificaciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Episode FROM TV_series ORDER BY TV_series.Rating Asc", "inferred_code_readable": "", "score": -3.1232429520855476e-05}]} {"index": 615, "beams": [{"question": "Enumere las 3 series de televisi\u00f3n de mayor calificaci\u00f3n. Enumere los episodios y las clasificaciones.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 3) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Episode, TV_series.Rating FROM TV_series ORDER BY TV_series.Weekly_Rank Desc LIMIT 3", "inferred_code_readable": "", "score": -0.323621481649532}]} {"index": 616, "beams": [{"question": "\u00bfCu\u00e1les son los 3 episodios mejor calificados en la tabla de series de televisi\u00f3n y cu\u00e1les fueron esas calificaciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 3) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Episode, TV_series.Rating FROM TV_series ORDER BY TV_series.Rating Desc LIMIT 3", "inferred_code_readable": "", "score": -0.0014085088364339526}]} {"index": 617, "beams": [{"question": "\u00bfCu\u00e1l es la cuota m\u00ednima y m\u00e1xima de las series de televisi\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Min(TV_series.Share), Max(TV_series.Share) FROM TV_series", "inferred_code_readable": "", "score": -4.8279464301970165e-05}]} {"index": 618, "beams": [{"question": "\u00bfCu\u00e1l es la cuota m\u00e1xima y m\u00ednima de la serie de televisi\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(TV_series.Share), Min(TV_series.Share) FROM TV_series", "inferred_code_readable": "", "score": -6.914128810819875e-06}]} {"index": 619, "beams": [{"question": "\u00bfCu\u00e1l es la fecha del aire de la serie de televisi\u00f3n con el episodio \"A Love of a Lifetime\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ALoveofaLifeLifeLife\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Air_Date FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "inferred_code_readable": "", "score": -0.5459428524748233}]} {"index": 620, "beams": [{"question": "\u00bfCu\u00e1ndo emiti\u00f3 el episodio \"A Love of a Lifetime\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ALoveofaLifeLifetime\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Air_Date FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLifetime\"", "inferred_code_readable": "", "score": -0.33206942050820487}]} {"index": 621, "beams": [{"question": "\u00bfCu\u00e1l es el rango semanal de la serie de televisi\u00f3n\"A Love of a Lifetime\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ALoveofaLifeLifeLife\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Weekly_Rank FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "inferred_code_readable": "", "score": -0.4569256114351745}]} {"index": 622, "beams": [{"question": "\u00bfCu\u00e1l es el rango semanal del episodio \"A Love of a Lifetime\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ALoveofaLifeLifeLife\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Weekly_Rank FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "inferred_code_readable": "", "score": -0.4593976397588193}]} {"index": 623, "beams": [{"question": "\u00bfCu\u00e1l es el canal de televisi\u00f3n de la serie de televisi\u00f3n con el episodio \"A Love of a Lifetime\"? Indique el nombre de la serie de este canal de televisi\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ALoveofaLifeLifeLife\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.series_name FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "inferred_code_readable": "", "score": -0.31302870735547117}]} {"index": 624, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de la serie que contiene el episodio \"A Love of a Lifetime\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ALoveofaLifeLifeLife\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.series_name FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "inferred_code_readable": "", "score": -0.3661084091587625}]} {"index": 625, "beams": [{"question": "Enumere los episodios de todas las series de televisi\u00f3n que est\u00e1n disponibles en el canal de televisi\u00f3n con una serie\"Sky Radio\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TVRadio\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Episode FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_Channel.series_name = \"TVRadio\"", "inferred_code_readable": "", "score": -0.4418479707088778}]} {"index": 626, "beams": [{"question": "\u00bfCu\u00e1l es el episodio de la serie de televisi\u00f3n que emiti\u00f3 la serie de televisi\u00f3n \"Sky Radio\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TVRadio\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_series.Episode FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_Channel.series_name = \"TVRadio\"", "inferred_code_readable": "", "score": -0.9265158921477123}]} {"index": 627, "beams": [{"question": "Encuentra el n\u00famero de dibujos animados dirigidas por cada uno de los directores listados.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Directed_by, Count(*) FROM Cartoon GROUP BY Cartoon.Directed_by", "inferred_code_readable": "", "score": -3.111318418547171e-05}]} {"index": 628, "beams": [{"question": "\u00bfCu\u00e1ntos dibujos animados dirigi\u00f3 cada director?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Directed_by, Count(*) FROM Cartoon GROUP BY Cartoon.Directed_by", "inferred_code_readable": "", "score": -1.025196235104886e-05}]} {"index": 629, "beams": [{"question": "Encuentra el c\u00f3digo de producci\u00f3n y el canal del dibujo animado emitido m\u00e1s recientemente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Production_code, Cartoon.Channel FROM Cartoon ORDER BY Cartoon.Original_air_date Desc LIMIT 1", "inferred_code_readable": "", "score": -0.3174172639837707}]} {"index": 630, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo de producci\u00f3n y el canal del dibujo animado m\u00e1s reciente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Cartoon.Production_code, Cartoon.Channel FROM Cartoon ORDER BY Cartoon.Production_code Desc LIMIT 1", "inferred_code_readable": "", "score": -0.562816858291157}]} {"index": 631, "beams": [{"question": "Encuentre la opci\u00f3n de paquete y el nombre de la serie del canal de televisi\u00f3n de alta definici\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Universal\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Package_Option, TV_Channel.series_name FROM TV_Channel WHERE TV_Channel.Hight_definition_TV = \"Universal\"", "inferred_code_readable": "", "score": -0.5143373338102464}]} {"index": 632, "beams": [{"question": "\u00bfCu\u00e1les son las opciones de paquete y los nombres de las series para el canal que admite televisi\u00f3n de alta definici\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Universal\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Package_Option, TV_Channel.series_name FROM TV_Channel WHERE TV_Channel.Hight_definition_TV = \"Universal\"", "inferred_code_readable": "", "score": -0.5708142549407427}]} {"index": 633, "beams": [{"question": "\u00bfQu\u00e9 pa\u00edses tienen los canales de televisiones que est\u00e1n reproduciendo algunos dibujos animados escritos por \"Todd Casey\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TddCasey\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Written_by = \"TddCasey\"", "inferred_code_readable": "", "score": -0.4199985412528662}]} {"index": 634, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses que tienen dibujos animados en la televisi\u00f3n escritos por \"Todd Casey\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TddCasey\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Written_by = \"TddCasey\"", "inferred_code_readable": "", "score": -0.25097791465420727}]} {"index": 635, "beams": [{"question": "\u00bfQu\u00e9 pa\u00edses tienen los canales que no est\u00e1n reproduciendo ning\u00fan dibujo animado escrito por \"Todd Casey\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TddCaseCasey\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT TV_Channel.Country FROM TV_Channel EXCEPT SELECT TV_Channel.Country FROM TV_Channel JOIN TV_Channel WHERE Cartoon.Written_by = \"TddCaseCasey\"", "inferred_code_readable": "", "score": -0.9724758256031194}]} {"index": 636, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses que no est\u00e1n reproduciendo dibujos animados escritos por \"Todd Casey\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TddCaseCasey\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT TV_Channel.Country FROM TV_Channel EXCEPT SELECT TV_Channel.Country FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Written_by = \"TddCaseCasey\"", "inferred_code_readable": "", "score": -0.7066098152914009}]} {"index": 637, "beams": [{"question": "Encontre el nombre de la serie y el pa\u00eds del canal de televisi\u00f3n que est\u00e1 reproduciendo algunos dibujos animados dirigidos por \"Ben Jones\"y \"Michael Chang\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalterJones\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalterChang\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.series_name, TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"WalterJones\" INTERSECT SELECT TV_Channel.series_name, TV_Channel.Country FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Directed_by = \"WalterChang\"", "inferred_code_readable": "", "score": -0.855416104672571}]} {"index": 638, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de la serie y el pa\u00eds de todos los canales de televisi\u00f3n que reproducen dibujos animados dirigidos por\"Ben Jones\"y por \"Michael Chang\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalJones\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalterChang\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalterChang\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.series_name, TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"WalJones\" INTERSECT SELECT TV_Channel.series_name, TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"WalterChang\" AND Cartoon.Written_by = \"WalterChang\"", "inferred_code_readable": "", "score": -1.0254060839075407}]} {"index": 639, "beams": [{"question": "Encuentre la relaci\u00f3n de aspecto de p\u00edxeles par y el pa\u00eds de origen de los canales de televisi\u00f3n que no utilizan \"English\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USA\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Pixel_aspect_ratio_PAR, TV_Channel.Country FROM TV_Channel WHERE TV_Channel.Language != \"USA\"", "inferred_code_readable": "", "score": -0.25508695758949074}]} {"index": 640, "beams": [{"question": "\u00bfCu\u00e1l es la relaci\u00f3n de aspecto de p\u00edxeles par y el pa\u00eds de origen de todos los canales de televisi\u00f3n que no utilizan \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USA\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Pixel_aspect_ratio_PAR, TV_Channel.Country FROM TV_Channel WHERE TV_Channel.Language != \"USA\"", "inferred_code_readable": "", "score": -0.19484008804622732}]} {"index": 641, "beams": [{"question": "Encuentre id de los canales de televisi\u00f3n que de los paises en los que hay m\u00e1s de dos canales de televisi\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.Country FROM TV_Channel GROUP BY TV_Channel.Country HAVING Count(*) > 2", "inferred_code_readable": "", "score": -0.012283082110705834}]} {"index": 642, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones de todos los canales de televisi\u00f3n que tienen m\u00e1s de 2 canales d e televisi\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT TV_Channel.id FROM TV_Channel GROUP BY TV_Channel.id HAVING Count(*) > 2", "inferred_code_readable": "", "score": -0.0006344672848683786}]} {"index": 643, "beams": [{"question": "Encuentre las identificaciones de los canales de televisi\u00f3n que no reproducen ning\u00fan dibujo animado dirigido por \"Ben Jones\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalJones\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT TV_Channel.id FROM TV_Channel EXCEPT SELECT Cartoon.id FROM Cartoon WHERE Cartoon.Directed_by = \"WalJones\"", "inferred_code_readable": "", "score": -0.7542812441127325}]} {"index": 644, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones de los canales de televisi\u00f3n que no tienen dibujos animados dirigidos por\"Ben Jones\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TVJones\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT TV_Channel.id FROM TV_Channel EXCEPT SELECT Cartoon.id FROM Cartoon WHERE Cartoon.Directed_by = \"TVJones\"", "inferred_code_readable": "", "score": -0.5560042053375724}]} {"index": 645, "beams": [{"question": "Encuentre la opci\u00f3n de paquete del canal de televisi\u00f3n que no tenga ning\u00fan dibujo animado dirigido por \"Ben Jones\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"WalJonesJones\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT TV_Channel.Package_Option FROM TV_Channel EXCEPT SELECT TV_Channel.Package_Option FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"WalJonesJones\"", "inferred_code_readable": "", "score": -0.7522320434873464}]} {"index": 646, "beams": [{"question": "\u00bfCu\u00e1les son las opciones de paquete de todos los canales de televisi\u00f3n que no reproducen dibujos animados dirigidos por\"Ben Jones\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))) (val-val1 (String (string-s \"TVJones\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT TV_Channel.Package_Option FROM TV_Channel EXCEPT SELECT TV_Channel.Package_Option FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Directed_by = \"TVJones\"", "inferred_code_readable": "", "score": -1.235806026264484}]} {"index": 647, "beams": [{"question": "\u00bfCu\u00e1ntos jugadores de p\u00f3quer hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM poker_player", "inferred_code_readable": "", "score": -5.6028287147569245e-06}]} {"index": 648, "beams": [{"question": "Cuente el n\u00famero de jugadores de p\u00f3quer.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM poker_player", "inferred_code_readable": "", "score": -8.34462818488646e-06}]} {"index": 649, "beams": [{"question": "Enumere las ganancias de los jugadores de p\u00f3quer en orden descendente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Earnings FROM poker_player ORDER BY poker_player.Earnings Desc", "inferred_code_readable": "", "score": -5.245204270920567e-06}]} {"index": 650, "beams": [{"question": "\u00bfCu\u00e1les son las ganancias de los jugadores de p\u00f3quer, ordenadas de forma descendente por valor?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Earnings FROM poker_player ORDER BY poker_player.Earnings Desc", "inferred_code_readable": "", "score": -8.940685546576788e-06}]} {"index": 651, "beams": [{"question": "Enumera las rondas finales realizadas y los mejores acabados de los jugadores de p\u00f3quer.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Final_Table_Made, poker_player.Best_Finish FROM poker_player", "inferred_code_readable": "", "score": -2.5033847023792077e-05}]} {"index": 652, "beams": [{"question": "\u00bfCu\u00e1les son las rondas finales hechas y los mejores acabados para todos los jugadores de p\u00f3quer?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Final_Table_Made, poker_player.Best_Finish FROM poker_player", "inferred_code_readable": "", "score": -0.02262521289053865}]} {"index": 653, "beams": [{"question": "\u00bfCu\u00e1les son las ganancias medias de los jugadores de p\u00f3quer?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(poker_player.Earnings) FROM poker_player", "inferred_code_readable": "", "score": -5.602834335149964e-06}]} {"index": 654, "beams": [{"question": "Dame las ganancias medias de todos los jugadores de p\u00f3quer.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(poker_player.Earnings) FROM poker_player", "inferred_code_readable": "", "score": -4.410742342031426e-06}]} {"index": 655, "beams": [{"question": "\u00bfCu\u00e1l es el rango de dinero del jugador de p\u00f3quer con mayores ganancias?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Money_Rank FROM poker_player ORDER BY poker_player.Earnings Desc LIMIT 1", "inferred_code_readable": "", "score": -1.5139559074839326e-05}]} {"index": 656, "beams": [{"question": "Dame el rango de dinero del jugador con mayores ganancias.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Money_Rank FROM poker_player ORDER BY poker_player.Earnings Desc LIMIT 1", "inferred_code_readable": "", "score": -1.8715826620052667e-05}]} {"index": 657, "beams": [{"question": "\u00bfCu\u00e1l es el m\u00e1ximo de rondas finales realizadas entre los jugadores de p\u00f3quer con ganancias inferiores a 200000?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(poker_player.Final_Table_Made) FROM poker_player WHERE poker_player.Earnings < 200000", "inferred_code_readable": "", "score": -0.00017451691514480672}]} {"index": 658, "beams": [{"question": "Dame las rondas finales realizadas entre todos los jugadores de p\u00f3quer que tienen ganancias por debajo de 200000.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Final_Table_Made FROM poker_player WHERE poker_player.Earnings < 200000", "inferred_code_readable": "", "score": -0.00021992017178007472}]} {"index": 659, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los jugadores de p\u00f3quer?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID", "inferred_code_readable": "", "score": -2.0861583927000993e-05}]} {"index": 660, "beams": [{"question": "\u00bfC\u00f3mo se llaman todos los jugadores de p\u00f3quer?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID", "inferred_code_readable": "", "score": -3.2305619654948714e-05}]} {"index": 661, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los jugadores de p\u00f3quer cuyas ganancias son superiores a 300000?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 300000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE poker_player.Earnings > 300000", "inferred_code_readable": "", "score": -0.05403144360485612}]} {"index": 662, "beams": [{"question": "Indique los nombres de los jugadores de p\u00f3quer que tengan ganancias superiores a 300000.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 300000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE poker_player.Earnings > 300000", "inferred_code_readable": "", "score": -0.010554739955352943}]} {"index": 663, "beams": [{"question": "Enumere los nombres de los jugadores de p\u00f3quer ordenados por sus rondas finales realizadas en orden ascendente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Final_Table_Made Asc", "inferred_code_readable": "", "score": -2.479532579258148e-05}]} {"index": 664, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los jugadores de p\u00f3quer, ordenados de forma ascendente por rondas finales que han realizado?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Final_Table_Made Asc", "inferred_code_readable": "", "score": -1.2636160299450694e-05}]} {"index": 665, "beams": [{"question": "\u00bfCu\u00e1l es la fecha de nacimiento del jugador de p\u00f3quer con las ganancias m\u00e1s bajas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Birth_Date FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Earnings Asc LIMIT 1", "inferred_code_readable": "", "score": -1.2516966975795185e-05}]} {"index": 666, "beams": [{"question": "La fecha de nacimiento del jugador de p\u00f3quer con las ganancias m\u00e1s bajas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Birth_Date FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Earnings Asc LIMIT 1", "inferred_code_readable": "", "score": -1.3947475665077036e-05}]} {"index": 667, "beams": [{"question": "\u00bfCu\u00e1l es el rango de dinero del jugador de p\u00f3quer m\u00e1s alto?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Money_Rank FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY people.Height Desc LIMIT 1", "inferred_code_readable": "", "score": -6.008103930099651e-05}]} {"index": 668, "beams": [{"question": "Dame el rango de dinero del jugador de p\u00f3quer m\u00e1s alto.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT poker_player.Money_Rank FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY people.Height Desc LIMIT 1", "inferred_code_readable": "", "score": -0.3548690661507905}]} {"index": 669, "beams": [{"question": "\u00bfCu\u00e1les son las ganancias medias de los jugadores de p\u00f3quer con una altura superior a 200?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(poker_player.Earnings) FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE people.Height > 200", "inferred_code_readable": "", "score": -2.801407350006002e-05}]} {"index": 670, "beams": [{"question": "Indique las ganancias medias de los jugadores de p\u00f3quer m\u00e1s altos que 200.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(poker_player.Earnings) FROM poker_player WHERE poker_player.Earnings > 200", "inferred_code_readable": "", "score": -0.009872396462789368}]} {"index": 671, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los jugadores de p\u00f3quer en orden descendente de ganancias?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Earnings Desc", "inferred_code_readable": "", "score": -4.5299518518504556e-06}]} {"index": 672, "beams": [{"question": "Dame los nombres de los jugadores de p\u00f3quer ordenados por sus ganancias de forma descendente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Earnings Desc", "inferred_code_readable": "", "score": -4.410742640459375e-06}]} {"index": 673, "beams": [{"question": "\u00bfCu\u00e1les son las nacionalidades de personas y el n\u00famero correspondiente de personas bajo cada una?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Nationality, Count(*) FROM people GROUP BY people.Nationality", "inferred_code_readable": "", "score": -3.4570685869539375e-06}]} {"index": 674, "beams": [{"question": "\u00bfCu\u00e1ntas personas hay de cada nacionalidad?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Nationality, Count(*) FROM people GROUP BY people.Nationality", "inferred_code_readable": "", "score": -2.622603886948127e-06}]} {"index": 675, "beams": [{"question": "\u00bfCu\u00e1l es la nacionalidad m\u00e1s com\u00fan de las personas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Nationality FROM people GROUP BY people.Nationality ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -4.935172049158609e-05}]} {"index": 676, "beams": [{"question": "Indique la nacionalidad que sea m\u00e1s com\u00fan entre todas las personas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Nationality FROM people GROUP BY people.Nationality ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -5.066286855281987e-05}]} {"index": 677, "beams": [{"question": "\u00bfCu\u00e1les son las nacionalidades que al menos dos personas pertenencen?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Nationality FROM people GROUP BY people.Nationality HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -1.3470633703605017e-05}]} {"index": 678, "beams": [{"question": "Dame las nacionalidades a la que dos o m\u00e1s personas pertenecen .", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Nationality FROM people GROUP BY people.Nationality HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -1.4662724090896972e-05}]} {"index": 679, "beams": [{"question": "Enumere los nombres y las fechas de nacimiento de las personas en orden alfab\u00e9tico ascendente de nombres.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name, people.Birth_Date FROM people ORDER BY people.Name Asc", "inferred_code_readable": "", "score": -7.510175088043525e-06}]} {"index": 680, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y las fechas de nacimiento de las personas, ordenados por sus nombres en orden alfab\u00e9tico?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name, people.Birth_Date FROM people ORDER BY people.Name Asc", "inferred_code_readable": "", "score": -7.62938568499294e-06}]} {"index": 681, "beams": [{"question": "Muestre los nombres de todas las personas excepto los de\"Russia\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedin\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM people WHERE people.Nationality != \"Unitedin\"", "inferred_code_readable": "", "score": -2.5833688378155983}]} {"index": 682, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de las personas que no son de \"Russia\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Ice\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT people.Name FROM people WHERE people.Nationality != \"Ice\"", "inferred_code_readable": "", "score": -1.9554464816982104}]} {"index": 683, "beams": [{"question": "Enumere los nombres de personas que no son jugadores de p\u00f3quer.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT people.Name FROM people EXCEPT SELECT people.Name FROM poker_player JOIN poker_player", "inferred_code_readable": "", "score": -0.8600457606664733}]} {"index": 684, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de las personas que no juegan al p\u00f3quer?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT people.Name FROM people EXCEPT SELECT people.Name FROM poker_player", "inferred_code_readable": "", "score": -0.4552071422394235}]} {"index": 685, "beams": [{"question": "\u00bfCu\u00e1ntas nacionalidades distintas hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT people.Nationality) FROM people", "inferred_code_readable": "", "score": -4.768369890939539e-06}]} {"index": 686, "beams": [{"question": "Cuente el n\u00famero de diferentes nacionalidades.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT people.Nationality) FROM people", "inferred_code_readable": "", "score": -5.006788455830247e-06}]} {"index": 687, "beams": [{"question": "\u00bfCu\u00e1ntos estados hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(AREA_CODE_STATE.state) FROM AREA_CODE_STATE", "inferred_code_readable": "", "score": -0.7184441889738906}]} {"index": 688, "beams": [{"question": "Enumere los n\u00fameros y nombres de los concursantes, ordenados alfab\u00e9ticamente por sus nombres de forma descendente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT CONTESTANTS.contestant_number, CONTESTANTS.contestant_name FROM CONTESTANTS ORDER BY CONTESTANTS.contestant_name Desc", "inferred_code_readable": "", "score": -4.100773065829344e-05}]} {"index": 689, "beams": [{"question": "Enumere ids de voto, los n\u00fameros de tel\u00e9fono y los estados de todos los votos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT VOTES.vote_id, VOTES.phone_number, VOTES.state FROM VOTES", "inferred_code_readable": "", "score": -1.382826162910078e-05}]} {"index": 690, "beams": [{"question": "\u00bfCu\u00e1les son los valores m\u00e1ximos y m\u00ednimos corresponden a cada c\u00f3digo de \u00e1rea?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT AREA_CODE_STATE.area_code, Max(AREA_CODE_STATE.area_code), Min(AREA_CODE_STATE.area_code) FROM AREA_CODE_STATE GROUP BY AREA_CODE_STATE.area_code", "inferred_code_readable": "", "score": -0.06498482242484727}]} {"index": 691, "beams": [{"question": "\u00bfCu\u00e1l es la \u00faltima fecha de creaci\u00f3n de votos del estado \"CA\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CA\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(VOTES.created) FROM AREA_CODE_STATE JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state WHERE AREA_CODE_STATE.state = \"CA\"", "inferred_code_readable": "", "score": -0.07793766148741099}]} {"index": 692, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los concursantes excepto \"Jessie Alloway\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Michaelgoalie\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT CONTESTANTS.contestant_name FROM CONTESTANTS WHERE CONTESTANTS.contestant_name != \"Michaelgoalie\"", "inferred_code_readable": "", "score": -1.9153153864327948}]} {"index": 693, "beams": [{"question": "\u00bfCu\u00e1les son los distintos estados y fecha de creaci\u00f3n de todos los votos?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT VOTES.state, VOTES.created FROM VOTES", "inferred_code_readable": "", "score": -0.028291102497796317}]} {"index": 694, "beams": [{"question": "\u00bfCu\u00e1les son los n\u00fameros de los concursantes y sus nombres que tuvieron al menos dos votos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT CONTESTANTS.contestant_number, CONTESTANTS.contestant_name FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number GROUP BY CONTESTANTS.contestant_number HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -3.790841932982403e-05}]} {"index": 695, "beams": [{"question": "De todos los concursantes que fueron votados, \u00bfcu\u00e1l es el n\u00famero y el nombre del concursante que obtuvo menos votos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT CONTESTANTS.contestant_number, CONTESTANTS.contestant_name FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number ORDER BY VOTES.contestant_number Asc LIMIT 1", "inferred_code_readable": "", "score": -0.9936723526303055}]} {"index": 696, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de votos de\"NY\"o\"CA\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NY\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"BAL\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT VOTES.state FROM AREA_CODE_STATE JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state WHERE AREA_CODE_STATE.state = \"NY\" OR AREA_CODE_STATE.state = \"BAL\"", "inferred_code_readable": "", "score": -1.26158836238762}]} {"index": 697, "beams": [{"question": "\u00bfCu\u00e1ntos concursantes no fueron votados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM CONTESTANTS WHERE CONTESTANTS.contestant_number NOT IN (SELECT VOTES.contestant_number FROM VOTES)", "inferred_code_readable": "", "score": -1.0371201582870526e-05}]} {"index": 698, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo de \u00e1rea en el que votaron m\u00e1s los votantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT AREA_CODE_STATE.area_code FROM AREA_CODE_STATE JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state GROUP BY AREA_CODE_STATE.area_code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -1.163506044844766}]} {"index": 699, "beams": [{"question": "\u00bfCu\u00e1les son las fechas de creaci\u00f3n, estados y n\u00fameros de tel\u00e9fono del concursante llamado \"Tabatha Gehling\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Bsetha\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT VOTES.created, VOTES.state, VOTES.phone_number FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number WHERE CONTESTANTS.contestant_name = \"Bsetha\"", "inferred_code_readable": "", "score": -2.330818299979498}]} {"index": 700, "beams": [{"question": "Enumere los c\u00f3digos de \u00e1rea en los que los votantes votaron tanto por \"Tabatha Gehling\" como \"Kelly Clauss\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ApthaGehling\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2)) (Table (table-table_id 1))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Gity\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT AREA_CODE_STATE.area_code FROM AREA_CODE_STATE JOIN CONTESTANTS JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state AND VOTES.contestant_number = CONTESTANTS.contestant_number WHERE CONTESTANTS.contestant_name = \"ApthaGehling\" INTERSECT SELECT AREA_CODE_STATE.area_code FROM AREA_CODE_STATE JOIN VOTES ON VOTES.contestant_number = VOTES.contestant_number JOIN CONTESTANTS ON VOTES.contestant_number = CONTESTANTS.contestant_number WHERE CONTESTANTS.contestant_name = \"Gity\"", "inferred_code_readable": "", "score": -2.163189141913975}]} {"index": 701, "beams": [{"question": "Dame los concursantes cuyos nombres contienen la subcadena \"Al\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%a%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT CONTESTANTS.contestant_name FROM CONTESTANTS WHERE CONTESTANTS.contestant_name LIKE \"%a%\"", "inferred_code_readable": "", "score": -0.036200039065974465}]} {"index": 702, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses que fueron independientes despu\u00e9s de 1950?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1850))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.IndepYear > 1850", "inferred_code_readable": "", "score": -0.012026835229839605}]} {"index": 703, "beams": [{"question": "Dame los pa\u00edses que se fundaron despu\u00e9s de 1950.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1850))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.IndepYear > 1850", "inferred_code_readable": "", "score": -0.005079151118387415}]} {"index": 704, "beams": [{"question": "\u00bfCu\u00e1ntos pa\u00edses tienen \"republic\" como formulario de gobierno?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Epublic\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country WHERE country.GovernmentForm = \"Epublic\"", "inferred_code_readable": "", "score": -0.09112789551618761}]} {"index": 705, "beams": [{"question": "\u00bfCu\u00e1ntos pa\u00edses tienen gobiernos \"republic\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Epublic\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country WHERE country.GovernmentForm = \"Epublic\"", "inferred_code_readable": "", "score": -0.07718846071957586}]} {"index": 706, "beams": [{"question": "\u00bfCu\u00e1l es el \u00e1rea de superficie total de los pa\u00edses del \"Caribbean\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Research\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"Research\"", "inferred_code_readable": "", "score": -0.15480491143929953}]} {"index": 707, "beams": [{"question": "\u00bfCu\u00e1nta \u00e1rea de superficie cubren juntos los pa\u00edses del \"Caribbean\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Research\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"Research\"", "inferred_code_readable": "", "score": -0.14953095654857407}]} {"index": 708, "beams": [{"question": "\u00bfEn qu\u00e9 continente se encuentra \"Anguilla\"a?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Eilla\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Continent FROM country WHERE country.Name = \"Eilla\"", "inferred_code_readable": "", "score": -1.7185691352494956}]} {"index": 709, "beams": [{"question": "\u00bfCu\u00e1l es el continente al que pertenece \"Anguilla\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"inailla\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Continent FROM country WHERE country.Name = \"inailla\"", "inferred_code_readable": "", "score": -3.7622383378305884}]} {"index": 710, "beams": [{"question": "\u00bfEn qu\u00e9 regi\u00f3n se encuentra la ciudad de \"Kabul\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Texas\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Region FROM city JOIN country ON city.CountryCode = country.Code WHERE city.Name = \"Texas\"", "inferred_code_readable": "", "score": -2.6369021869952576}]} {"index": 711, "beams": [{"question": "\u00bfEn qu\u00e9 regi\u00f3n se encuentra \"Kabul\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"FCo\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Region FROM city JOIN country ON city.CountryCode = country.Code WHERE city.Name = \"FCo\"", "inferred_code_readable": "", "score": -3.2577728318457133}]} {"index": 712, "beams": [{"question": "\u00bfQu\u00e9 idioma es el m\u00e1s popular en \"Aruba\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"aruba\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"aruba\" GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.862924580916939}]} {"index": 713, "beams": [{"question": "\u00bfQu\u00e9 idioma se habla predominantemente en \"Aruba\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Aruba\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Aruba\" GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.23388781665337177}]} {"index": 714, "beams": [{"question": "\u00bfCu\u00e1les son la poblaci\u00f3n y la esperanza de vida en \"Brazil\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"B\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Population, country.LifeExpectancy FROM country WHERE country.Name = \"B\"", "inferred_code_readable": "", "score": -1.13738119601242}]} {"index": 715, "beams": [{"question": "Dame la poblaci\u00f3n y la esperanza de vida de \"Brazil\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"B\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Population, country.LifeExpectancy FROM country WHERE country.Name = \"B\"", "inferred_code_readable": "", "score": -1.4057140946037094}]} {"index": 716, "beams": [{"question": "\u00bfCu\u00e1les son la regi\u00f3n y la poblaci\u00f3n de \"Angola\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"East\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Region, country.Population FROM country WHERE country.Name = \"East\"", "inferred_code_readable": "", "score": -0.9747086611184699}]} {"index": 717, "beams": [{"question": "\u00bfA qu\u00e9 regi\u00f3n pertenece \"Angola\" y cu\u00e1nto es su poblaci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"E\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Region, country.Population FROM country WHERE country.Name = \"E\"", "inferred_code_readable": "", "score": -1.0474323946612571}]} {"index": 718, "beams": [{"question": "\u00bfCu\u00e1l es la esperanza de vida en promedio esperada para los pa\u00edses de \u00c1frica Central?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Canada\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Region = \"Canada\"", "inferred_code_readable": "", "score": -0.8759637772648432}]} {"index": 719, "beams": [{"question": "\u00bfCu\u00e1l es la esperanza de vida de media de las personas en\"Central Africa\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Canada\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Region = \"Canada\"", "inferred_code_readable": "", "score": -0.3705513394341011}]} {"index": 720, "beams": [{"question": "\u00bfCu\u00e1l es el pa\u00eds en \"Asia\"que tiene la esperanza de vida peor?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"East\"))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.Region = \"East\" ORDER BY country.LifeExpectancy Asc LIMIT 1", "inferred_code_readable": "", "score": -0.8269772427480007}]} {"index": 721, "beams": [{"question": "Indique el pa\u00eds de \"Asia\" con la esperanza de vida m\u00e1s baja.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"East\"))))) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.Continent = \"East\" ORDER BY country.LifeExpectancy Asc LIMIT 1", "inferred_code_readable": "", "score": -0.45275347382622755}]} {"index": 722, "beams": [{"question": "\u00bfCu\u00e1l es la poblaci\u00f3n total y el PNB m\u00e1ximo en \"Asia\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.Population), Max(country.GNP) FROM country WHERE country.Region = \"United\"", "inferred_code_readable": "", "score": -1.3832471917671398}]} {"index": 723, "beams": [{"question": "\u00bfCu\u00e1ntas personas viven en \"Asia\" y cu\u00e1l es el mayor PNB entre ellas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Uniteden\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(country.Population), Max(country.GNP) FROM country WHERE country.Continent = \"Uniteden\"", "inferred_code_readable": "", "score": -2.1834424815297098}]} {"index": 724, "beams": [{"question": "\u00bfCu\u00e1l es la esperanza de vida de promedio en los pa\u00edses \"Africa\" que son \"republic\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Canada\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Honopublic\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Continent = \"Canada\" AND country.Name = \"Honopublic\"", "inferred_code_readable": "", "score": -2.73247191627965}]} {"index": 725, "beams": [{"question": "Indique la esperanza de vida media de los pa\u00edses\"republic\" en \"Africa\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"East\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Tourna\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Region = \"East\" OR country.Name = \"Tourna\"", "inferred_code_readable": "", "score": -3.0429549356481687}]} {"index": 726, "beams": [{"question": "\u00bfCu\u00e1l es el \u00e1rea de superficie total de \"Asia\" y\"Europe\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USA\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Tai\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"USA\" OR country.Region = \"Tai\"", "inferred_code_readable": "", "score": -1.3918478677741035}]} {"index": 727, "beams": [{"question": "Indique el \u00e1rea de superficie total cubierta por pa\u00edses de \"Asia\" o \"Europe\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Tokyo\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Tai\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"Tokyo\" OR country.Region = \"Tai\"", "inferred_code_readable": "", "score": -1.9112200933338528}]} {"index": 728, "beams": [{"question": "\u00bfCu\u00e1ntas personas viven en el distrito de \"Gelderland\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Gierland\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT city.Population FROM city WHERE city.District = \"Gierland\"", "inferred_code_readable": "", "score": -2.4371013037800466}]} {"index": 729, "beams": [{"question": "\u00bfCu\u00e1l es la poblaci\u00f3n total del distrito de \"Gelderland\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Gierland\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(city.Population) FROM city WHERE city.District = \"Gierland\"", "inferred_code_readable": "", "score": -1.0867092162314549}]} {"index": 730, "beams": [{"question": "\u00bfCu\u00e1l es el PNB en promedio y la poblaci\u00f3n total de todos los pa\u00edses que son de \"US territory\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.GNP), Sum(country.Population) FROM country WHERE country.Region = \"United\"", "inferred_code_readable": "", "score": -0.012875797686653812}]} {"index": 731, "beams": [{"question": "Indique el PNB en promedio y la poblaci\u00f3n total de los pa\u00edses que se consideran \"US territory\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.GNP), Sum(country.Population) FROM country WHERE country.Region = \"United\"", "inferred_code_readable": "", "score": -0.6066302747254966}]} {"index": 732, "beams": [{"question": "\u00bfCu\u00e1ntos idiomas distintos se hablan en el mundo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT countrylanguage.Language) FROM countrylanguage", "inferred_code_readable": "", "score": -8.344640434643225e-06}]} {"index": 733, "beams": [{"question": "\u00bfCu\u00e1l es la cantidad de idiomas distintos que se utilizan en todo el mundo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT countrylanguage.Language) FROM countrylanguage", "inferred_code_readable": "", "score": -9.894350995409695e-06}]} {"index": 734, "beams": [{"question": "\u00bfCu\u00e1ntos tipos de gobiernos hay en \"Africa\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"E\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT country.GovernmentForm) FROM country WHERE country.Continent = \"E\"", "inferred_code_readable": "", "score": -0.5249222730799019}]} {"index": 735, "beams": [{"question": "\u00bfCu\u00e1ntas formas diferentes de gobierno hay en \"Africa\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"E\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT country.GovernmentForm) FROM country WHERE country.Continent = \"E\"", "inferred_code_readable": "", "score": -0.8535759581121596}]} {"index": 736, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero total de idiomas que se utilizan en \"Aruba\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Aruba\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Aruba\"", "inferred_code_readable": "", "score": -0.3743094219309313}]} {"index": 737, "beams": [{"question": "\u00bfCu\u00e1ntos idiomas se hablan en \"Aruba\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Aruba\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Aruba\"", "inferred_code_readable": "", "score": -0.7844874320533393}]} {"index": 738, "beams": [{"question": "\u00bfCu\u00e1ntos idiomas oficiales tiene \"Afghanistan\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Afghanistan\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Afghanistan\"", "inferred_code_readable": "", "score": -0.066990273579151}]} {"index": 739, "beams": [{"question": "\u00bfCu\u00e1ntos idiomas oficiales se hablan en\"Afghanistan\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Afghanistan\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Afghanistan\"", "inferred_code_readable": "", "score": -0.030187819459897014}]} {"index": 740, "beams": [{"question": "\u00bfCu\u00e1l es el pa\u00eds en que se habla una mayor cantidad de idiomas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY countrylanguage.CountryCode ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.3685238361234511}]} {"index": 741, "beams": [{"question": "Indique el nombre de el pa\u00eds que usa m\u00e1s idiomas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Name ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0013947624871448738}]} {"index": 742, "beams": [{"question": "\u00bfQu\u00e9 continente tiene los idiomas m\u00e1s diversos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Continent ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.008587443265277273}]} {"index": 743, "beams": [{"question": "\u00bfQu\u00e9 continente habla m\u00e1s idiomas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Continent ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -8.141906096170715e-05}]} {"index": 744, "beams": [{"question": "\u00bfCu\u00e1ntos pa\u00edses hablan \"English\" y \"Dutch\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USA\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"USA\" INTERSECT SELECT * FROM countrylanguage WHERE countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -1.405127870232306}]} {"index": 745, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de pa\u00edses que usan \"English\" y \"Dutch\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\" INTERSECT SELECT * FROM countrylanguage WHERE countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -0.9694991431947955}]} {"index": 746, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los pa\u00edses que hablan tanto \"English\"como\"French\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"F\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"F\" INTERSECT SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -0.7235499877919267}]} {"index": 747, "beams": [{"question": "Dame los pa\u00edses que hablan \"English\" y \"French\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"F\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"F\" INTERSECT SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -0.35069544233650873}]} {"index": 748, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses de los que \"English\"y \"French\" son idiomas oficiales?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UK\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -0.056304514313289644}]} {"index": 749, "beams": [{"question": "Indique los pa\u00edses con \"English\" y \"French\" como idiomas oficiales.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UK\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -0.1727833312647391}]} {"index": 750, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero de continentes en los que se habla \"Chinese\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"China\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT country.Continent) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"China\"", "inferred_code_readable": "", "score": -0.05765507715501883}]} {"index": 751, "beams": [{"question": "\u00bfCu\u00e1ntos continentes hablan \"Chinese\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"China\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT country.Continent) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"China\"", "inferred_code_readable": "", "score": -0.07539036076983052}]} {"index": 752, "beams": [{"question": "\u00bfCu\u00e1les son las regiones en que usan \"English\" u\"Dutch\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UK\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -0.7649252638176733}]} {"index": 753, "beams": [{"question": "\u00bfEn qu\u00e9 regiones hablan \"Dutch\" o \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UK\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Man\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "inferred_code_readable": "", "score": -0.9357692301257714}]} {"index": 754, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses en los que el \"English\" u \"Dutch\" es el idioma oficial?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UK\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Man\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "inferred_code_readable": "", "score": -0.17959174718928494}]} {"index": 755, "beams": [{"question": "\u00bfQu\u00e9 pa\u00edses tienen \"English\" u \"Dutch\" como idioma oficial?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UK\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Man\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "inferred_code_readable": "", "score": -0.0631406758823374}]} {"index": 756, "beams": [{"question": "\u00bfQu\u00e9 idioma es el m\u00e1s popular en el continente \"Asia\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"United\" GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -1.6248046870388535}]} {"index": 757, "beams": [{"question": "\u00bfCu\u00e1l es el idioma que hablan m\u00e1s en los pa\u00edses de\"Asia\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"United\" GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.4298029611620464}]} {"index": 758, "beams": [{"question": "\u00bfQu\u00e9 idiomas habla solo un pa\u00eds con el gobierno\"republic\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedpublic\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.GovernmentForm = \"Unitedpublic\" GROUP BY countrylanguage.Language HAVING Count(*) = 1", "inferred_code_readable": "", "score": -0.745030693500162}]} {"index": 759, "beams": [{"question": "\u00bfQu\u00e9 idiomas solo usa un pa\u00eds con un gobierno \"republic\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedpublic\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.GovernmentForm = \"Unitedpublic\"", "inferred_code_readable": "", "score": -2.163117995234714}]} {"index": 760, "beams": [{"question": "Encuentra la ciudad con la mayor poblaci\u00f3n que habla \"English\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT city.Name FROM city WHERE city.Population = (SELECT Max(city.Population) FROM countrylanguage JOIN countrylanguage WHERE countrylanguage.Language = \"english\") AND city.Population = \"english\"", "inferred_code_readable": "", "score": -1.9521822248825274}]} {"index": 761, "beams": [{"question": "\u00bfCu\u00e1l es la ciudad m\u00e1s poblada que habla \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT city.Name FROM city WHERE city.Population = (SELECT Max(city.Population) FROM countrylanguage JOIN countrylanguage WHERE countrylanguage.Language = \"english\") AND city.Population = \"english\"", "inferred_code_readable": "", "score": -0.7166436839748158}]} {"index": 762, "beams": [{"question": "Encuentra el nombre, la poblaci\u00f3n y la esperanza de vida del pa\u00eds de \"Asia\" con el \u00e1rea de superficie m\u00e1s grande.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alice\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alice\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, country.Population, country.LifeExpectancy FROM country WHERE country.Region = \"Alice\" AND country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country WHERE country.Region = \"Alice\")", "inferred_code_readable": "", "score": -1.1725187459139477}]} {"index": 763, "beams": [{"question": "\u00bfCu\u00e1l es el nombre, la poblaci\u00f3n y la esperanza de vida del pa\u00eds de \"Asia\" m\u00e1s grande por el \u00e1rea de superficie?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alice\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Alice\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, country.Population, country.LifeExpectancy FROM country WHERE country.Region = \"Alice\" AND country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country WHERE country.Region = \"Alice\")", "inferred_code_readable": "", "score": -2.583971486896587}]} {"index": 764, "beams": [{"question": "\u00bfCu\u00e1l es la esperanza media de vida en los pa\u00edses en los que el \"English\" no es el idioma oficial?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "inferred_code_readable": "", "score": -0.34929389851681236}]} {"index": 765, "beams": [{"question": "Indique la esperanza media de vida de los pa\u00edses en los que el \"English\"no \"es\" el idioma oficial.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "inferred_code_readable": "", "score": -0.0659816006011198}]} {"index": 766, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero total de personas que viven en los pa\u00edses que no usan \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.Population) FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "inferred_code_readable": "", "score": -0.38352150951052977}]} {"index": 767, "beams": [{"question": "\u00bfCu\u00e1ntas personas viven en pa\u00edses que no hablan \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.Population) FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "inferred_code_readable": "", "score": -0.4351082546779921}]} {"index": 768, "beams": [{"question": "\u00bfCu\u00e1l es el idioma oficial que se habla en el pa\u00eds cuyo jefe de estado es \"Beatrix\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (String (string-s \"RodP\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.HeadOfState = \"RodP\"", "inferred_code_readable": "", "score": -2.805307686119505}]} {"index": 769, "beams": [{"question": "\u00bfCu\u00e1l es el idioma oficial que se utiliza en el pa\u00eds cuyo jefe de estado es \"Beatrix\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Robinne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.HeadOfState = \"Robinne\"", "inferred_code_readable": "", "score": -3.3668939831053777}]} {"index": 770, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero total de idiomas oficiales distintos que se hablan en los pa\u00edses que se fundaron antes de 1930?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.IndepYear < 30", "inferred_code_readable": "", "score": -0.6528800659761487}]} {"index": 771, "beams": [{"question": "Para los pa\u00edses fundados antes de 1930, \u00bfcu\u00e1l es el n\u00famero total de idiomas oficiales?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.IndepYear < 30", "inferred_code_readable": "", "score": -0.510208087834144}]} {"index": 772, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses que tienen mayor \u00e1rea de superficie que cualquier pa\u00eds de Europa?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedy\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.SurfaceArea > (SELECT Max(country.SurfaceArea) FROM country WHERE country.Continent = \"Unitedy\")", "inferred_code_readable": "", "score": -0.7948282309116408}]} {"index": 773, "beams": [{"question": "\u00bfQu\u00e9 pa\u00edses tienen un \u00e1rea de superficie mayor que la de cualquier pa\u00eds de Europa?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United0\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.SurfaceArea > (SELECT country.SurfaceArea FROM country WHERE country.Continent = \"United0\")", "inferred_code_readable": "", "score": -2.1243178495777855}]} {"index": 774, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses de \"Africa\" que tienen una poblaci\u00f3n menor que cualquier pa\u00eds de \"Asia\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Australia\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.Population < (SELECT Min(country.Population) FROM country WHERE country.Continent = \"Australia\")", "inferred_code_readable": "", "score": -1.1134343426447941}]} {"index": 775, "beams": [{"question": "\u00bfQu\u00e9 pa\u00edses de \"Africa\" tienen una poblaci\u00f3n menor que la de cualquier pa\u00eds de \"Asia\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Australia\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.Population < (SELECT Min(country.Population) FROM country WHERE country.Continent = \"Australia\")", "inferred_code_readable": "", "score": -0.9848567913665676}]} {"index": 776, "beams": [{"question": "\u00bfQu\u00e9 pa\u00edses de \"Asia\"tienen una poblaci\u00f3n mayor que la de cualquier pa\u00eds de \"Africa\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Australia\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.Population > (SELECT Max(country.Population) FROM country WHERE country.Continent = \"Australia\")", "inferred_code_readable": "", "score": -1.0779032760694278}]} {"index": 777, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses de \"Asia\" que tienen una poblaci\u00f3n mayor que la de cualquier pa\u00eds de \"Africa\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Australia\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.Population > (SELECT Max(country.Population) FROM country WHERE country.Continent = \"Australia\")", "inferred_code_readable": "", "score": -0.5702110031632088}]} {"index": 778, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de pa\u00eds para los que no hablan \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT country.Code FROM country EXCEPT SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -0.5874044705993455}]} {"index": 779, "beams": [{"question": "Dame los c\u00f3digos de pa\u00eds de los que no hablan\"English\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "inferred_code_readable": "", "score": -0.7298803336876531}]} {"index": 780, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de pa\u00eds en los que la gente usa idiomas distintos al \"English\"?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT countrylanguage.CountryCode FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Code > (SELECT Min(country.Code) FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "inferred_code_readable": "", "score": -2.0052032744694017}]} {"index": 781, "beams": [{"question": "Proporcione los c\u00f3digos de pa\u00edses en los que las personas no hablan \"English\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "inferred_code_readable": "", "score": -0.47896403017302447}]} {"index": 782, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de los pa\u00edses que no hablan \"English\" y no son \"republic\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "inferred_code_readable": "", "score": -0.062147576069953914}]} {"index": 783, "beams": [{"question": "Dame los c\u00f3digos de los pa\u00edses que no hablan \"English\" y no cuentan con goberinos \"republic\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"USA\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"USA\")", "inferred_code_readable": "", "score": -1.1202887391218965}]} {"index": 784, "beams": [{"question": "\u00bfQu\u00e9 ciudades hay en pa\u00edses de \"Europe\" en los que el \"English\" no es el idioma oficial?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedistan\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code WHERE city.CountryCode NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE country.Continent = \"Unitedistan\")", "inferred_code_readable": "", "score": -2.685612447024596}]} {"index": 785, "beams": [{"question": "\u00bfCu\u00e1les son las ciudades de \"Europe\" en las que el \"\u82f1\u6587\" no es el idioma oficial?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedistan\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent != \"Unitedistan\"", "inferred_code_readable": "", "score": -3.630665575745361}]} {"index": 786, "beams": [{"question": "\u00bfQu\u00e9 ciudades distintas se encuentran en los pa\u00edses de \"Asia\" en los que el \"Chinese\" es el idioma oficial?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"China\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"China\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"China\" AND countrylanguage.Language = \"China\"", "inferred_code_readable": "", "score": -1.563192600262802}]} {"index": 787, "beams": [{"question": "Dame las ciudades que est\u00e1n en \"Asia\" en las que el \"Chinese\" es el idioma oficial.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"China\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"China\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"China\" AND countrylanguage.Language = \"China\"", "inferred_code_readable": "", "score": -1.2520564905871083}]} {"index": 788, "beams": [{"question": "\u00bfCu\u00e1l es el nombre, el a\u00f1o de la independencia y el \u00e1rea de superficie del pa\u00eds con menor poblaci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, country.IndepYear, country.SurfaceArea FROM country ORDER BY country.Population Asc LIMIT 1", "inferred_code_readable": "", "score": -2.086158995950882e-05}]} {"index": 789, "beams": [{"question": "Indique el nombre, el a\u00f1o de la independencia y el \u00e1rea de superficie del pa\u00eds menos poblado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, country.IndepYear, country.SurfaceArea FROM country ORDER BY country.Population Asc LIMIT 1", "inferred_code_readable": "", "score": -0.00010025251704348648}]} {"index": 790, "beams": [{"question": "\u00bfCu\u00e1l es la poblaci\u00f3n, nombre y jefe de estado con mayor \u00e1rea?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Population, country.Name, country.HeadOfState FROM country WHERE country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country)", "inferred_code_readable": "", "score": -0.21620422115618254}]} {"index": 791, "beams": [{"question": "Indique el nombre, la poblaci\u00f3n y el jefe de estado del pa\u00eds que tiene el \u00e1rea de superficie m\u00e1s grande.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, country.Population, country.HeadOfState FROM country ORDER BY country.SurfaceArea Desc LIMIT 1", "inferred_code_readable": "", "score": -0.019524235585606675}]} {"index": 792, "beams": [{"question": "Dame el nombre del pa\u00eds y la cantidad de idiomas que se hablan para cada pa\u00eds que habla al menos 3 idiomas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Name HAVING Count(*) >= 3", "inferred_code_readable": "", "score": -0.23091581415499007}]} {"index": 793, "beams": [{"question": "\u00bfCu\u00e1les son los pa\u00edses que hablan m\u00e1s de 2 idiomas, y cu\u00e1ntos idiomas hablan?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Name HAVING Count(*) > 2", "inferred_code_readable": "", "score": -0.7406153579389994}]} {"index": 794, "beams": [{"question": "Encuentre el n\u00famero de ciudades en cada distrito cuya poblaci\u00f3n es mayor que la poblaci\u00f3n en promedio.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), city.District FROM city WHERE city.Population > (SELECT Avg(city.Population) FROM city) GROUP BY city.District", "inferred_code_readable": "", "score": -6.389579418453195e-05}]} {"index": 795, "beams": [{"question": "\u00bfCu\u00e1ntas ciudades en cada distrito tienen una poblaci\u00f3n que est\u00e1 por encima de la poblaci\u00f3n en promedio entre todas las ciudades?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), city.District FROM city WHERE city.Population > (SELECT Avg(city.Population) FROM city) GROUP BY city.District", "inferred_code_readable": "", "score": -0.00019537737644270692}]} {"index": 796, "beams": [{"question": "Encuentre los nombres de los fomularios de gobierno y la poblaci\u00f3n total para cada formulario cuya esperanza de vida en promedio sea superior a 72.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Avg)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (Number (object-f 70))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.GovernmentForm, Sum(country.Population) FROM country GROUP BY country.GovernmentForm HAVING Avg(country.LifeExpectancy) >= 70", "inferred_code_readable": "", "score": -1.1923992416106373}]} {"index": 797, "beams": [{"question": "\u00bfCu\u00e1les son las diferentes fomularios de gobierno y cu\u00e1l es la poblaci\u00f3n total de cada una que tienen una esperanza de vida en promedio superior a 72?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (Number (object-f 180))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 19) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.GovernmentForm, Sum(country.Population) FROM country WHERE country.LifeExpectancy > 180 GROUP BY country.GovernmentForm", "inferred_code_readable": "", "score": -0.40316888566422904}]} {"index": 798, "beams": [{"question": "Encuentre la esperanza de vida en promedio y la poblaci\u00f3n total para cada continente en el que la esperanza de vida en promedio es menor a 72?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (Number (object-f 70))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(country.Continent), Avg(country.Population) FROM country WHERE country.LifeExpectancy < 70 GROUP BY country.Continent", "inferred_code_readable": "", "score": -0.6947199491165321}]} {"index": 799, "beams": [{"question": "\u00bfCu\u00e1les son los diferentes continentes, la poblaci\u00f3n total y la esperanza de vida de promedio correspondiente a cada uno, para los continentes que tienen una esperanza de vida de promedio inferior a 72?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 6000))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Continent, country.Population, Sum(country.LifeExpectancy) FROM country WHERE country.Continent < 6000 GROUP BY country.Continent", "inferred_code_readable": "", "score": -0.6805016566795175}]} {"index": 800, "beams": [{"question": "\u00bfCu\u00e1les son los nombres y las \u00e1reas de superficie de los cinco pa\u00edses m\u00e1s grandes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 5) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, country.SurfaceArea FROM country ORDER BY country.SurfaceArea Desc LIMIT 5", "inferred_code_readable": "", "score": -0.013199245495982836}]} {"index": 801, "beams": [{"question": "Dame los nombres y las \u00e1reas de superficies de los 5 pa\u00edses m\u00e1s grandes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 5) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name, country.SurfaceArea FROM country ORDER BY country.SurfaceArea Desc LIMIT 5", "inferred_code_readable": "", "score": -0.008406230268690251}]} {"index": 802, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los pa\u00edses con las 3 poblaciones m\u00e1s grandes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 3) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country ORDER BY country.Population Desc LIMIT 3", "inferred_code_readable": "", "score": -1.5139502778538372e-05}]} {"index": 803, "beams": [{"question": "Dame los nombres de los 3 pa\u00edses m\u00e1s poblados.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 3) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country ORDER BY country.Population Desc LIMIT 3", "inferred_code_readable": "", "score": -9.059886316720167e-06}]} {"index": 804, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los pa\u00edses con las 3 poblaciones m\u00e1s bajas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 3) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country ORDER BY country.Population Asc LIMIT 3", "inferred_code_readable": "", "score": -2.503385930197055e-05}]} {"index": 805, "beams": [{"question": "Dame los nombres de los 3 pa\u00edses con menos personas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 3) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country ORDER BY country.Population Asc LIMIT 3", "inferred_code_readable": "", "score": -1.88350319234587e-05}]} {"index": 806, "beams": [{"question": "\u00bfCu\u00e1ntos pa\u00edses hay en \"Asia\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"East\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country WHERE country.Continent = \"East\"", "inferred_code_readable": "", "score": -0.48847210359872406}]} {"index": 807, "beams": [{"question": "Cuente el n\u00famero de pa\u00edses de \"Asia\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"East\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country WHERE country.Continent = \"East\"", "inferred_code_readable": "", "score": -0.6388770290808878}]} {"index": 808, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los pa\u00edses que est\u00e1n en el continente de \"Europe\"y tienen una poblaci\u00f3n de \"80000\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"UnitedI\"))))) (cond-right (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (Number (object-f 80000))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.Continent = \"UnitedI\" AND country.Population > 80000", "inferred_code_readable": "", "score": -1.6945520234878018}]} {"index": 809, "beams": [{"question": "D\u00e9 los nombres de pa\u00edses de \"Europe\" con una poblaci\u00f3n igual a \"80000\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (Number (object-f 100000))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United0000\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Name FROM country WHERE country.Region > 100000 AND country.Population = \"United0000\"", "inferred_code_readable": "", "score": -1.485584529301903}]} {"index": 810, "beams": [{"question": "\u00bfCu\u00e1l es la poblaci\u00f3n total y el \u00e1rea de superficie en promedio de los pa\u00edses del continente de \"North America\"cuya \u00e1rea de superficie es mayor a 3000?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NorthAmerica\"))))) (cond-right (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.Population), Avg(country.SurfaceArea) FROM country WHERE country.Continent = \"NorthAmerica\" AND country.SurfaceArea > 3000", "inferred_code_readable": "", "score": -0.5818409636162585}]} {"index": 811, "beams": [{"question": "Indique la poblaci\u00f3n total y el \u00e1rea de superficie en promedio correspondiente a los pa\u00edses de\"North America\" que cubren un \u00e1rea superior a 3000.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"NorthAmericaAmerica\"))))) (cond-right (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3000))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(country.Population), Avg(country.SurfaceArea) FROM country WHERE country.Region = \"NorthAmericaAmerica\" AND country.Continent > 3000", "inferred_code_readable": "", "score": -0.6474375285638061}]} {"index": 812, "beams": [{"question": "\u00bfCu\u00e1les son las ciudades cuya poblaci\u00f3n est\u00e1 entre 160000 y 900000?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Between (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200000))) (val-val2 (Number (object-f 70000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT city.Name FROM city WHERE city.Population BETWEEN 200000 AND 70000", "inferred_code_readable": "", "score": -0.5661589110201106}]} {"index": 813, "beams": [{"question": "Dame los nombres de las ciudades que tienen una poblaci\u00f3n entre 160000 y 900000.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Between (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200000))) (val-val2 (Number (object-f 70000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT city.Name FROM city WHERE city.Population BETWEEN 200000 AND 70000", "inferred_code_readable": "", "score": -0.9306352891635683}]} {"index": 814, "beams": [{"question": "\u00bfQu\u00e9 idioma habla los m\u00e1s pa\u00edses?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -4.041124625331349e-05}]} {"index": 815, "beams": [{"question": "Indique el idioma que se habla en los m\u00e1s pa\u00edses.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -5.8649524255827146e-05}]} {"index": 816, "beams": [{"question": "\u00bfCu\u00e1l es el idioma que habla el mayor porcentaje de gente en cada pa\u00eds?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.4362419494187506}]} {"index": 817, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de los diferentes pa\u00edses y cu\u00e1les son los idiomas que habla m\u00e1s gente en cada uno?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.CountryCode, countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.CountryCode ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.002771417345691418}]} {"index": 818, "beams": [{"question": "\u00bfCu\u00e1l es el n\u00famero total de pa\u00edses en el que la gente habla m\u00e1s \"Spanish\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "inferred_code_readable": "", "score": -0.7852313972873048}]} {"index": 819, "beams": [{"question": "Cuente el n\u00famero de pa\u00edses en los que el \"Spanish\" es el idioma predominantemente hablado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"bangla\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"bangla\" GROUP BY country.Name ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.3193662574414873}]} {"index": 820, "beams": [{"question": "\u00bfCu\u00e1les son los c\u00f3digos de pa\u00edses donde el\"Spanish\"habla el mayor porcentaje de personas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"english\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 23) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\" GROUP BY countrylanguage.CountryCode ORDER BY Count(countrylanguage.CountryCode) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.6557543083281274}]} {"index": 821, "beams": [{"question": "Dame los c\u00f3digos de los pa\u00edses en los que el \"Spanish\" es el idioma predominantemente hablado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))) (val-val1 (String (string-s \"bangla\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT country.Code FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"bangla\" GROUP BY countrylanguage.CountryCode ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.2845565556776606}]} {"index": 822, "beams": [{"question": "\u00bfCu\u00e1ntos conductores hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM conductor", "inferred_code_readable": "", "score": -2.3841846257255384e-06}]} {"index": 823, "beams": [{"question": "Cuente el n\u00famero de conductores.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM conductor", "inferred_code_readable": "", "score": -2.741812174633651e-06}]} {"index": 824, "beams": [{"question": "Enumere los nombres de los conductores en orden ascendente de edad.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor ORDER BY conductor.Age Asc", "inferred_code_readable": "", "score": -3.457068103784877e-06}]} {"index": 825, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los conductores, ordenados por edad?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor ORDER BY conductor.Age Asc", "inferred_code_readable": "", "score": -0.0009847816541679322}]} {"index": 826, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los conductores que no son de\"USA\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor WHERE conductor.Nationality != \"United\"", "inferred_code_readable": "", "score": -0.024333334396672512}]} {"index": 827, "beams": [{"question": "Dame los nombres de los conductores excepto los de \"USA\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))) (val-val1 (String (string-s \"United\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor WHERE conductor.Nationality != \"United\"", "inferred_code_readable": "", "score": -0.03575696244808313}]} {"index": 828, "beams": [{"question": "\u00bfCu\u00e1les son las compa\u00f1\u00edas discogr\u00e1ficas de las orquestas en orden descendente de a\u00f1os de fundaci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Record_Company FROM orchestra ORDER BY orchestra.Year_of_Founded Desc", "inferred_code_readable": "", "score": -2.4676073159923817e-05}]} {"index": 829, "beams": [{"question": "Dame los nombres de las compa\u00f1\u00edas discogr\u00e1ficas de las orquestas, ordenadas descendentemente en funci\u00f3n de los a\u00f1os de fundaci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Record_Company FROM orchestra ORDER BY orchestra.Year_of_Founded Desc", "inferred_code_readable": "", "score": -2.2768766342551316e-05}]} {"index": 830, "beams": [{"question": "\u00bfCu\u00e1l es la asistencia media a los espect\u00e1culos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(show.Attendance) FROM show", "inferred_code_readable": "", "score": -1.4305113253954005e-06}]} {"index": 831, "beams": [{"question": "Dame la asistencia en promedio entre todos los espect\u00e1culos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(show.Attendance) FROM show", "inferred_code_readable": "", "score": -7.152556662504139e-07}]} {"index": 832, "beams": [{"question": "\u00bfCu\u00e1l es el tipo de espect\u00e1culo de la cuota m\u00e1xima y m\u00ednima excepto el de \"Live final\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (String (string-s \"ner\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(performance.Type), Min(performance.Share) FROM performance WHERE performance.Type != \"ner\"", "inferred_code_readable": "", "score": -1.3926019121582769}]} {"index": 833, "beams": [{"question": "Dame las cuotas m\u00e1ximas y m\u00ednimas para espect\u00e1culos excepto \"Live final\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 18) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 14) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Aer\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Max(performance.Share), Min(performance.Share) FROM performance WHERE performance.Type != \"Aer\"", "inferred_code_readable": "", "score": -1.8176954835311037}]} {"index": 834, "beams": [{"question": "\u00bfCu\u00e1ntas nacionalidades diferentes tienen los conductores?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT conductor.Nationality) FROM conductor", "inferred_code_readable": "", "score": -1.1086439641871948e-05}]} {"index": 835, "beams": [{"question": "Cuente el n\u00famero de conductores de diferentes nacionalidades.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT conductor.Nationality) FROM conductor", "inferred_code_readable": "", "score": -0.0001060921723663455}]} {"index": 836, "beams": [{"question": "Enumere los nombres de los conductores en orden descendente de a\u00f1os de trabajo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor ORDER BY conductor.Year_of_Work Desc", "inferred_code_readable": "", "score": -1.907347659368952e-06}]} {"index": 837, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los conductores, ordenados descendentemente en funci\u00f3n del a\u00f1o de trabajo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor ORDER BY conductor.Year_of_Work Desc", "inferred_code_readable": "", "score": -2.503393211839011e-06}]} {"index": 838, "beams": [{"question": "Enumere el nombre del director con m\u00e1s a\u00f1os de trabajo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor ORDER BY conductor.Year_of_Work Desc LIMIT 1", "inferred_code_readable": "", "score": -4.887577276235788e-06}]} {"index": 839, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del director que tiene a\u00f1o de trabajo m\u00e1s largo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor ORDER BY conductor.Year_of_Work Desc LIMIT 1", "inferred_code_readable": "", "score": -6.556505532273604e-06}]} {"index": 840, "beams": [{"question": "Muestre los nombres de los conductores y las orquestas que han dirigido.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name, orchestra.Orchestra FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID", "inferred_code_readable": "", "score": -0.752332750662184}]} {"index": 841, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los conductores y las orquestas correspondientes que han dirigido?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name, orchestra.Orchestra FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID", "inferred_code_readable": "", "score": -0.7973858676706342}]} {"index": 842, "beams": [{"question": "Muestre los nombres de los conductores que han dirigido m\u00e1s de una orquesta.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID GROUP BY orchestra.Conductor_ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.00038584738647529093}]} {"index": 843, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los conductores que han dirigido en m\u00e1s de una orquesta?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID GROUP BY orchestra.Conductor_ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.0006245004645748509}]} {"index": 844, "beams": [{"question": "Muestre el nombre del conductores que ha dirigido la mayor cantidad de orquestas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID GROUP BY orchestra.Conductor_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -7.676916467147521e-05}]} {"index": 845, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del conductor que ha dirigido m\u00e1s orquestas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID GROUP BY orchestra.Conductor_ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.00012003817961669938}]} {"index": 846, "beams": [{"question": "Por favor muestre el nombre del conductor que ha dirigido orquestas fundadas despu\u00e9s de 2008.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2008))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID WHERE orchestra.Year_of_Founded > 2008", "inferred_code_readable": "", "score": -0.09750974046262684}]} {"index": 847, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los conductor que han dirigido orquestas creadas despu\u00e9s del a\u00f1o 2008?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2008))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID WHERE orchestra.Year_of_Founded > 2008", "inferred_code_readable": "", "score": -0.08577044513222631}]} {"index": 848, "beams": [{"question": "Indique las diferentes compa\u00f1\u00edas discogr\u00e1ficas y el n\u00famero de orquestas correspondientes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Record_Company, Count(*) FROM orchestra GROUP BY orchestra.Record_Company", "inferred_code_readable": "", "score": -4.053113855206902e-06}]} {"index": 849, "beams": [{"question": "\u00bfCu\u00e1ntas orquestas gestiona cada compa\u00f1\u00eda discogr\u00e1fica?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Record_Company, Count(*) FROM orchestra GROUP BY orchestra.Record_Company", "inferred_code_readable": "", "score": -5.841247158855367e-06}]} {"index": 850, "beams": [{"question": "Muestre los formatos de de registro principal de las orquestas en orden ascendente de recuento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Major_Record_Format FROM orchestra GROUP BY orchestra.Major_Record_Format ORDER BY Count(*) Asc", "inferred_code_readable": "", "score": -0.0448429696234669}]} {"index": 851, "beams": [{"question": "\u00bfCu\u00e1les son los formatos deregistro principal de las orquestas, ordenados por frecuencia?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Major_Record_Format FROM orchestra GROUP BY orchestra.Major_Record_Format ORDER BY Count(*) Asc", "inferred_code_readable": "", "score": -0.1567475497528008}]} {"index": 852, "beams": [{"question": "Enumere la compa\u00f1\u00eda discogr\u00e1fica compartida por el mayor n\u00famero de orquestas.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Record_Company FROM orchestra GROUP BY orchestra.Record_Company ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -2.0384688589558664e-05}]} {"index": 853, "beams": [{"question": "\u00bfCu\u00e1l es la compa\u00f1\u00eda discogr\u00e1fica seleccionada por m\u00e1s orquestas?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Record_Company FROM orchestra GROUP BY orchestra.Record_Company ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -1.7166096107246176e-05}]} {"index": 854, "beams": [{"question": "Enumere los nombres de las orquestas que no tienen espect\u00e1culos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Orchestra FROM orchestra WHERE orchestra.Orchestra_ID NOT IN (SELECT performance.Orchestra_ID FROM performance)", "inferred_code_readable": "", "score": -1.883501735022719e-05}]} {"index": 855, "beams": [{"question": "\u00bfCu\u00e1les son las orquestas que no tienen espect\u00e1culos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Orchestra FROM orchestra WHERE orchestra.Orchestra_ID NOT IN (SELECT performance.Orchestra_ID FROM performance)", "inferred_code_readable": "", "score": -1.955028679390125e-05}]} {"index": 856, "beams": [{"question": "Muestra las compa\u00f1\u00edas discogr\u00e1ficas que colaboran con orquestas fundadas antes de 2003 y despu\u00e9s de 2003.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2003))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2003))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Record_Company FROM orchestra WHERE orchestra.Year_of_Founded < 2003 INTERSECT SELECT orchestra.Record_Company FROM orchestra WHERE orchestra.Year_of_Founded > 2003", "inferred_code_readable": "", "score": -1.4938123225814408}]} {"index": 857, "beams": [{"question": "\u00bfCu\u00e1les son las compa\u00f1\u00edas discogr\u00e1ficas eligidos por tanto las orquestas fundadas antes de 2003 como las fundadas despu\u00e9s de 2003?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2003))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1990))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Record_Company FROM orchestra WHERE orchestra.Year_of_Founded < 2003 INTERSECT SELECT orchestra.Record_Company FROM orchestra WHERE orchestra.Year_of_Founded > 1990", "inferred_code_readable": "", "score": -0.8295105695450076}]} {"index": 858, "beams": [{"question": "Encuentre el n\u00famero de orquestas cuyo formato de registro principal es \"CD\" o \"DVD\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CV\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Jaing\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM orchestra WHERE orchestra.Major_Record_Format = \"CV\" OR orchestra.Major_Record_Format = \"Jaing\"", "inferred_code_readable": "", "score": -1.3163753231642659}]} {"index": 859, "beams": [{"question": "Cuente el n\u00famero de orquestas que tienen \"CD\" o\"DVD\"como formato de registro principal.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"CV\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Japan\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM orchestra WHERE orchestra.Major_Record_Format = \"CV\" OR orchestra.Major_Record_Format = \"Japan\"", "inferred_code_readable": "", "score": -1.0925628792512114}]} {"index": 860, "beams": [{"question": "Muestra los a\u00f1os de fundaci\u00f3n de las orquestas que han dado m\u00e1s de una espect\u00e1culo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Year_of_Founded FROM orchestra JOIN performance ON orchestra.Orchestra_ID = performance.Orchestra_ID GROUP BY performance.Orchestra_ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.0002478291029959223}]} {"index": 861, "beams": [{"question": "\u00bfCu\u00e1les son los a\u00f1os de fundaci\u00f3n de orquestas que han tenido m\u00e1s de un espect\u00e1culo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT orchestra.Year_of_Founded FROM orchestra JOIN performance ON orchestra.Orchestra_ID = performance.Orchestra_ID GROUP BY performance.Orchestra_ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.0006169198673688925}]} {"index": 862, "beams": [{"question": "\u00bfCu\u00e1ntos estudiantes de secundaria hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Highschooler", "inferred_code_readable": "", "score": -1.0728833572670737e-06}]} {"index": 863, "beams": [{"question": "Cuente el n\u00famero de estudiantes de secundaria.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Highschooler", "inferred_code_readable": "", "score": -1.1920926397124276e-06}]} {"index": 864, "beams": [{"question": "Muestre los nombres y grados de cada estudiante de secundaria.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name, Highschooler.grade FROM Highschooler", "inferred_code_readable": "", "score": -0.00018010935998802324}]} {"index": 865, "beams": [{"question": "\u00bfCu\u00e1l es el nombres y grado de cada estudiante de secundaria?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name, Highschooler.grade FROM Highschooler", "inferred_code_readable": "", "score": -0.11479085683808421}]} {"index": 866, "beams": [{"question": "Muestre todas los grados de los estudiantes de secundaria.", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Highschooler.grade FROM Highschooler", "inferred_code_readable": "", "score": -2.408004120724172e-05}]} {"index": 867, "beams": [{"question": "\u00bfCu\u00e1l es el grado de cada estudiante de secundaria?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Highschooler.grade FROM Highschooler", "inferred_code_readable": "", "score": -0.00036328451793110617}]} {"index": 868, "beams": [{"question": "\u00bfDe qu\u00e9 grado est\u00e1 \"Kyle\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.name = \"Kne\"", "inferred_code_readable": "", "score": -0.5654094368212839}]} {"index": 869, "beams": [{"question": "Dame el grado del estudiante de secundaria llamado \"Kyle\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.name = \"Kne\"", "inferred_code_readable": "", "score": -0.753386165943823}]} {"index": 870, "beams": [{"question": "Muestre los nombres de todos los estudiantes de secundaria del grado 10.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.grade = 10", "inferred_code_readable": "", "score": -7.557743258956862e-05}]} {"index": 871, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de todos los estudiantes de secundaria del grado 10?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.grade = 10", "inferred_code_readable": "", "score": -7.617354717837088e-05}]} {"index": 872, "beams": [{"question": "Muestre la identificaci\u00f3n del estudiante de secundaria llamado \"Kyle\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.ID FROM Highschooler WHERE Highschooler.name = \"Kne\"", "inferred_code_readable": "", "score": -0.719194393604873}]} {"index": 873, "beams": [{"question": "\u00bfCu\u00e1l es la identificaci\u00f3n de \"Kyle\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.ID FROM Highschooler WHERE Highschooler.name = \"Kne\"", "inferred_code_readable": "", "score": -0.73850497137704}]} {"index": 874, "beams": [{"question": "\u00bfCu\u00e1ntos estudiantes de secundaria hay del grado 9 o 10?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2009))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Highschooler WHERE Highschooler.grade = 2009 OR Highschooler.grade = 10", "inferred_code_readable": "", "score": -0.4123506344404575}]} {"index": 875, "beams": [{"question": "Cuente el n\u00famero de estudiantes de secundaria del grado 9 o 10.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2009))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 10))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Highschooler WHERE Highschooler.grade = 2009 OR Highschooler.grade = 10", "inferred_code_readable": "", "score": -0.25458189857103264}]} {"index": 876, "beams": [{"question": "Muestre el n\u00famero de estudiantes de secundaria de cada grado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade, Count(*) FROM Highschooler GROUP BY Highschooler.grade", "inferred_code_readable": "", "score": -4.529949201526051e-06}]} {"index": 877, "beams": [{"question": "\u00bfCu\u00e1ntos estudiantes de secundaria hay en cada grado?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade, Count(*) FROM Highschooler GROUP BY Highschooler.grade", "inferred_code_readable": "", "score": -0.539412677279806}]} {"index": 878, "beams": [{"question": "\u00bfEn qu\u00e9 grado estudia la mayor cantidad de estudiantes de secundaria?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -1.4305080611620724e-05}]} {"index": 879, "beams": [{"question": "Dame el grado que tenga la mayor cantidad de estudiantes de secundaria.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -2.9086840797276636e-05}]} {"index": 880, "beams": [{"question": "Mu\u00e9strame todos los grados que tengan al menos 4 estudiantes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade HAVING Count(*) >= 4", "inferred_code_readable": "", "score": -0.00011753787141799421}]} {"index": 881, "beams": [{"question": "\u00bfQu\u00e9 grados tienen 4 o m\u00e1s estudiantes de secundaria?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 4))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade HAVING Count(*) >= 4", "inferred_code_readable": "", "score": -0.0015476124052895557}]} {"index": 882, "beams": [{"question": "Muestre las identificaciones de los estudiantes y el n\u00famero de amigos correspondientes a cada uno.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Friend.student_id, Count(*) FROM Friend GROUP BY Friend.student_id", "inferred_code_readable": "", "score": -0.0003312307352629773}]} {"index": 883, "beams": [{"question": "\u00bfCu\u00e1ntos amigos tiene cada estudiante?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), Friend.student_id FROM Friend GROUP BY Friend.student_id", "inferred_code_readable": "", "score": -0.0008614667970192613}]} {"index": 884, "beams": [{"question": "Muestre los nombres de los estudiantes de secundaria y el n\u00famero de amigos suyos correspondientes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.name", "inferred_code_readable": "", "score": -2.4437831804391408e-05}]} {"index": 885, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los estudiantes de secundaria y cu\u00e1ntos amigos tiene cada uno?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.name", "inferred_code_readable": "", "score": -0.00024721282301243264}]} {"index": 886, "beams": [{"question": "\u00bfC\u00f3mo se llama el estudiante de secundaria que tiene el mayor n\u00famero de amigos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.3730903565763555}]} {"index": 887, "beams": [{"question": "Dame el nombre del estudiante de secundaria con m\u00e1s amigos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.ID ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.6146016120658615}]} {"index": 888, "beams": [{"question": "Muestre los nombres de estudiantes de secundaria que tengan al menos 3 amigos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.ID HAVING Count(*) >= 3", "inferred_code_readable": "", "score": -0.0710057415330212}]} {"index": 889, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los estudiantes de secundaria que tienen 3 o m\u00e1s amigos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 3))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.ID HAVING Count(*) >= 3", "inferred_code_readable": "", "score": -0.02127414173757103}]} {"index": 890, "beams": [{"question": "Muestre los nombres de todos los amigos del estudiante de secundaria \"Kyle\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kim\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kim\"", "inferred_code_readable": "", "score": -3.543662269980288}]} {"index": 891, "beams": [{"question": "Dame los nombres de los amigos del estudiante de secundaria \"Kyle\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kim\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kim\"", "inferred_code_readable": "", "score": -0.943095948181778}]} {"index": 892, "beams": [{"question": "\u00bfCu\u00e1ntos amigos tiene el estudiante de secundaria \"Kyle\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kne\"", "inferred_code_readable": "", "score": -0.8863246488498788}]} {"index": 893, "beams": [{"question": "Cuenta el n\u00famero de amigos que tiene \"Kyle\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kne\"", "inferred_code_readable": "", "score": -0.5056113056903868}]} {"index": 894, "beams": [{"question": "Muestre las ids de todos los estudiantes que no tengan amigos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Highschooler.ID FROM Highschooler EXCEPT SELECT Friend.student_id FROM Friend", "inferred_code_readable": "", "score": -1.88349929644005e-05}]} {"index": 895, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones de los estudiantes de secundaria que no tienen amigos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Highschooler.ID FROM Highschooler EXCEPT SELECT Friend.student_id FROM Friend", "inferred_code_readable": "", "score": -9.65593920199126e-06}]} {"index": 896, "beams": [{"question": "Muestre los nombres de todos los estudiantes de secundaria que no tengan amigos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.ID NOT IN (SELECT Friend.student_id FROM Friend)", "inferred_code_readable": "", "score": -9.023833739973952e-05}]} {"index": 897, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los estudiantes que no tienen amigos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.ID NOT IN (SELECT Friend.student_id FROM Friend)", "inferred_code_readable": "", "score": -0.017625261091843925}]} {"index": 898, "beams": [{"question": "Muestre las identificaciones de estudiantes de secundaria que tienen amigos y que tambi\u00e9n les gustan a otra persona.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Friend.student_id FROM Friend INTERSECT SELECT Likes.student_id FROM Likes", "inferred_code_readable": "", "score": -0.10980686331977552}]} {"index": 899, "beams": [{"question": "\u00bfCu\u00e1les son las identificaciones de los estudiantes que tienen amigos y les agradan?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Friend.student_id FROM Friend INTERSECT SELECT Likes.student_id FROM Likes", "inferred_code_readable": "", "score": -0.0008456846283522168}]} {"index": 900, "beams": [{"question": "Muestre nombres de todos los estudiantes que tienen algunos amigos y que tambi\u00e9n les agradan a otra persona.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id INTERSECT SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.student_id", "inferred_code_readable": "", "score": -0.10294475416372251}]} {"index": 901, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los estudiantes de secundaria que tienen amigos y les agradan?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id INTERSECT SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.student_id", "inferred_code_readable": "", "score": -2.563619281840758}]} {"index": 902, "beams": [{"question": "Cuente el n\u00famero de\"Me gusta\" bajo cada identificaci\u00f3n de estudiante.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*), Likes.student_id FROM Likes GROUP BY Likes.student_id", "inferred_code_readable": "", "score": -0.00024114079967318958}]} {"index": 903, "beams": [{"question": "\u00bfCu\u00e1ntos\"Me gusta\" corresponden a cada id de estudiante?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Likes.student_id, Count(*) FROM Likes GROUP BY Likes.student_id", "inferred_code_readable": "", "score": -0.0011211702587488048}]} {"index": 904, "beams": [{"question": "Muestre los nombres de los estudiantes de secundaria que tienen \"me gusta\" y la cantidad de \"me gusta\" para cada uno.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Mar\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Likes.liked_id = \"Mar\" GROUP BY Highschooler.name", "inferred_code_readable": "", "score": -1.5626169759451614}]} {"index": 905, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los estudiantes de secundaria que tienen Me gusta y cu\u00e1ntos me gusta tiene cada uno?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"mith\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Likes.liked_id = \"mith\" GROUP BY Highschooler.name", "inferred_code_readable": "", "score": -3.0446671930747584}]} {"index": 906, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del estudiante de secundaria que tiene la mayor cantidad de\"Me gusta\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Likes.student_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.00015627893896663636}]} {"index": 907, "beams": [{"question": "Dame el nombre del alumno con m\u00e1s \"me gusta\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Likes.student_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.001240348164365912}]} {"index": 908, "beams": [{"question": "Muestre los nombres de los estudiantes que tengan al menos 2\"me gusta\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Highschooler.name HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.2440174817513423}]} {"index": 909, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los estudiantes que tienen 2 o m\u00e1s Me gusta?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 2))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Likes.student_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.027050154245031877}]} {"index": 910, "beams": [{"question": "Muestre los nombres de los estudiantes superiores a grado 5 y tengan al menos 2 amigos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 5))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.grade > 5 GROUP BY Highschooler.name HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.7842349454886204}]} {"index": 911, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los estudiantes de secundaria m\u00e1s de grado 5 y tienen 2 o m\u00e1s amigos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 5))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.grade >= 5 GROUP BY Highschooler.ID HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -1.4508328660586756}]} {"index": 912, "beams": [{"question": "\u00bfCu\u00e1ntos me gusta tiene\"Kyle\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kne\"", "inferred_code_readable": "", "score": -1.8232167269881359}]} {"index": 913, "beams": [{"question": "Dame la cantidad de Me gusta que tiene el estudiante de secundaria llamado \"Kyle\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Kne\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kne\"", "inferred_code_readable": "", "score": -0.8495886055689397}]} {"index": 914, "beams": [{"question": "Encuentre el grado en promedio de todos los estudiantes que tienen algunos amigos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Highschooler.grade) FROM Highschooler WHERE Highschooler.ID IN (SELECT Friend.friend_id FROM Friend)", "inferred_code_readable": "", "score": -0.0011925226375453235}]} {"index": 915, "beams": [{"question": "\u00bfCu\u00e1l es el grado en promedio de los estudiantes que tienen amigos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (cond?-where (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Highschooler.grade) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Friend.friend_id IN (SELECT Friend.friend_id FROM Friend)", "inferred_code_readable": "", "score": -0.0953231910345238}]} {"index": 916, "beams": [{"question": "Encuentra el grado m\u00e1s bajo de los estudiantes que no tienen amigos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.ID NOT IN (SELECT Friend.student_id FROM Friend)", "inferred_code_readable": "", "score": -6.461083355446817e-05}]} {"index": 917, "beams": [{"question": "\u00bfCu\u00e1l es el grado m\u00e1s bajo de los estudiantes que no tienen amigos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.ID NOT IN (SELECT Friend.student_id FROM Friend)", "inferred_code_readable": "", "score": -3.492803542570755e-05}]} {"index": 918, "beams": [{"question": "\u00bfQu\u00e9 estados tienen amos y profesionales viviendo all\u00ed?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.state FROM Owners INTERSECT SELECT Professionals.state FROM Professionals", "inferred_code_readable": "", "score": -0.0010222390360183908}]} {"index": 919, "beams": [{"question": "Encuentre los estados donde viven tanto amos como profesionales.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.state FROM Owners INTERSECT SELECT Professionals.state FROM Professionals", "inferred_code_readable": "", "score": -0.5686924170801859}]} {"index": 920, "beams": [{"question": "\u00bfCu\u00e1l es la edad media de los perros que han pasado por alg\u00fan tratamiento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Dogs.age) FROM Dogs", "inferred_code_readable": "", "score": -0.00014089719736887218}]} {"index": 921, "beams": [{"question": "Encuentre la edad en promedio de los perros que se sometieron a tratamientos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Dogs.age) FROM Dogs", "inferred_code_readable": "", "score": -0.3157235364848816}]} {"index": 922, "beams": [{"question": "\u00bfQu\u00e9 profesionales viven en el estado de \"Indiana\" o han realizado m\u00e1s de 2 tratamientos? Indique su identificaci\u00f3n, apellido y n\u00famero de m\u00f3vil.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 40) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"S\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))", "inferred_code": "SELECT Professionals.professional_id, Professionals.last_name, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Professionals.state = \"S\" UNION SELECT Professionals.professional_id, Professionals.cell_number, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) > 2", "inferred_code_readable": "", "score": -2.59980176222048}]} {"index": 923, "beams": [{"question": "Encuentra id, apellido y n\u00famero de m\u00f3vide los profesionales que viven en \"Indiana\" y han realizado m\u00e1s de dos tratamientos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 40) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"S\"))))) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.professional_id, Professionals.last_name, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Professionals.state = \"S\" GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -1.2494570182088225}]} {"index": 924, "beams": [{"question": "\u00bfQu\u00e9 perros no le han costado a su amo m\u00e1s de 1000 por tratamiento? Enumere sus nombres.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Dogs.name FROM Dogs EXCEPT SELECT Dogs.name FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id WHERE Treatments.cost_of_treatment > 1000", "inferred_code_readable": "", "score": -0.0009247015829885186}]} {"index": 925, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los perros por los que el amo no ha gastado m\u00e1s de 1000 en el costo de tratamiento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Dogs.name FROM Dogs EXCEPT SELECT Dogs.name FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id WHERE Treatments.cost_of_treatment > 1000", "inferred_code_readable": "", "score": -0.0016218546375696974}]} {"index": 926, "beams": [{"question": "\u00bfQu\u00e9 nombres tienen los profesionales o amos excepto los perros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Professionals.first_name FROM Professionals EXCEPT SELECT Professionals.first_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "inferred_code_readable": "", "score": -0.4325144378737207}]} {"index": 927, "beams": [{"question": "Encuentre los nombres que se utilizan para profesionales o amos , pero que no se utilizan como nombres de perros.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 6))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Professionals.first_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Professionals JOIN Treatments ON Dogs.dog_id = Treatments.dog_id AND Treatments.professional_id = Professionals.professional_id EXCEPT SELECT Professionals.first_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "inferred_code_readable": "", "score": -0.28567651080111744}]} {"index": 928, "beams": [{"question": "\u00bfQu\u00e9 profesional no oper\u00f3 ning\u00fan tratamiento en perros? Enumere la identificaci\u00f3n, su cargo y el correo electr\u00f3nico.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals EXCEPT SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "inferred_code_readable": "", "score": -0.04971115736417886}]} {"index": 929, "beams": [{"question": "Dame id, cargo y email de los profesionales que no realizaron ning\u00fan tratamiento en perros.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-union))", "inferred_code": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals EXCEPT SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "inferred_code_readable": "", "score": -0.36938315798134624}]} {"index": 930, "beams": [{"question": "\u00bfQu\u00e9 amo tiene m\u00e1s perros? Indique la identificaci\u00f3n del amo, el nombre y el apellido.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.owner_id, Owners.first_name, Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id GROUP BY Owners.owner_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0012569370162367477}]} {"index": 931, "beams": [{"question": "Dame la identificaci\u00f3n, el nombre y el apellido del amo que tiene m\u00e1s perros.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.owner_id, Owners.first_name, Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id GROUP BY Owners.owner_id ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0013541541979762428}]} {"index": 932, "beams": [{"question": "\u00bfQu\u00e9 profesionales han realizado al menos dos tratamientos? Enumere la identificaci\u00f3n, el cargo y el nombre del profesional.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.first_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.34437443850951865}]} {"index": 933, "beams": [{"question": "\u00bfCu\u00e1les son ids, cargos y nombres de los profesionales que han realizado dos o m\u00e1s tratamientos?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 40) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.last_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.5829049496480678}]} {"index": 934, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de la raza con m\u00e1s perros adoptados?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Breeds.breed_name FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code GROUP BY Breeds.breed_code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.14374431962647805}]} {"index": 935, "beams": [{"question": "\u00bfQu\u00e9 raza tiene la mayor\u00eda de los perros? Dame el nombre de la raza.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Breeds.breed_name FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code GROUP BY Dogs.breed_code ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.05159742753476593}]} {"index": 936, "beams": [{"question": "\u00bfQu\u00e9 amo ha pagado m\u00e1s costo de tratamientos para sus perros? Indique su identificaci\u00f3n y apellido.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5)) (Table (table-table_id 7))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 49) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.owner_id, Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.21569751138795112}]} {"index": 937, "beams": [{"question": "Dime la identificaci\u00f3n y el apellido del amo que gast\u00f3 m\u00e1s costo de tratamiento de sus perros.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5)) (Table (table-table_id 7))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 49) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.owner_id, Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0166480788776866}]} {"index": 938, "beams": [{"question": "\u00bfCu\u00e1l es la descripci\u00f3n del tipo de tratamiento que cuesta menos dinero en total?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 49) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code GROUP BY Treatments.treatment_type_code ORDER BY Sum(Treatments.cost_of_treatment) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0007362391670469037}]} {"index": 939, "beams": [{"question": "Dame la descripci\u00f3n del tipo de tratamiento cuyo costo total es el m\u00e1s bajo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 49) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code GROUP BY Treatments.treatment_type_code ORDER BY Sum(Treatments.cost_of_treatment) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.0043443692508375875}]} {"index": 940, "beams": [{"question": "\u00bfQu\u00e9 amo ha pagado m\u00e1s costo de tratamiento en total por sus perros? Muestre la identificaci\u00f3n suya y el c\u00f3digo postal.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5)) (Table (table-table_id 7))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 49) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.owner_id, Owners.zip_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0036045850369035293}]} {"index": 941, "beams": [{"question": "Encuentre la identificaci\u00f3n y el c\u00f3digo postal del amo que gast\u00f3 m\u00e1s costo de tratamoiento en total para sus perros.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 16) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5)) (Table (table-table_id 7))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Sum)) (column-col_id 49) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.owner_id, Owners.zip_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "inferred_code_readable": "", "score": -0.012706403640805775}]} {"index": 942, "beams": [{"question": "\u00bfQu\u00e9 profesionales han realizado al menos dos tipos de tratamientos? Enumere la identificaci\u00f3n profesional y su n\u00famero de m\u00f3vil.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.professional_id, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.00046530979885517354}]} {"index": 943, "beams": [{"question": "Encuentre la id y el n\u00famero de m\u00f3vil de los profesionales que operan dos o m\u00e1s tipos de tratamientos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Ge (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 2))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.professional_id, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "inferred_code_readable": "", "score": -0.0015559012488495227}]} {"index": 944, "beams": [{"question": "\u00bfCu\u00e1les son nombres y apellidos de los profesionales que han realizado tratamientos con coste por debajo de la media?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 40) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.first_name, Professionals.last_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Treatments.cost_of_treatment < (SELECT Avg(Treatments.cost_of_treatment) FROM Treatments)", "inferred_code_readable": "", "score": -0.000448427602819379}]} {"index": 945, "beams": [{"question": "\u00bfQu\u00e9 profesionales han operado un tratamiento que cuesta menos que la media? Dame los nombres y apellidos de suyos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 40) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6)) (Table (table-table_id 7))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.first_name, Professionals.last_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Treatments.cost_of_treatment < (SELECT Avg(Treatments.cost_of_treatment) FROM Treatments)", "inferred_code_readable": "", "score": -0.28035857045644974}]} {"index": 946, "beams": [{"question": "Indique la fecha de cada tratamiento, junto con el nombre del profesional que lo oper\u00f3.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 48) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 6))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Treatments.date_of_treatment, Professionals.first_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "inferred_code_readable": "", "score": -0.0015247206895381282}]} {"index": 947, "beams": [{"question": "\u00bfCu\u00e1l es la fecha de tratamiento y el nombre del profesional correspondiente a cada uno?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 48) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 6))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Treatments.date_of_treatment, Professionals.first_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "inferred_code_readable": "", "score": -3.790831275551909e-05}]} {"index": 948, "beams": [{"question": "Enumere el costo de cada tratamiento y la descripci\u00f3n del tipo de tratamiento correspondiente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Treatments.cost_of_treatment, Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code", "inferred_code_readable": "", "score": -1.0251989486675939e-05}]} {"index": 949, "beams": [{"question": "\u00bfCu\u00e1les son el costo y la descripci\u00f3n del tipo de tratamiento para cada tratamiento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 3))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Treatments.cost_of_treatment, Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code", "inferred_code_readable": "", "score": -5.245206530446467e-06}]} {"index": 950, "beams": [{"question": "Enumere el nombre, el apellido de cada amo y el tama\u00f1o de su perro.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.first_name, Owners.last_name, Dogs.size_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "inferred_code_readable": "", "score": -1.1444078225508747e-05}]} {"index": 951, "beams": [{"question": "\u00bfCu\u00e1les son los nombres, apellidos y tama\u00f1os de los perros de cada amo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.first_name, Owners.last_name, Dogs.size_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "inferred_code_readable": "", "score": -1.454349926177656e-05}]} {"index": 952, "beams": [{"question": "Enumere los nombres de amos y nombres de sus perros en pares.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "inferred_code_readable": "", "score": -0.0020217872192702657}]} {"index": 953, "beams": [{"question": "\u00bfCu\u00e1les son el nombre de cada amo y el nombre de sus perros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "inferred_code_readable": "", "score": -3.6954874147454575e-06}]} {"index": 954, "beams": [{"question": "Enumere los nombres de los perros de la raza m\u00e1s rara y las fechas de tratamiento de los mismos.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 48) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5)) (Table (table-table_id 0))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.name, Treatments.date_of_treatment FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Breeds.breed_name ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -0.4198449192906466}]} {"index": 955, "beams": [{"question": "\u00bfQu\u00e9 perros son de las razas m\u00e1s raras? Muestre sus nombres y fechas de tratamiento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 48) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.name, Treatments.date_of_treatment FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Breeds.breed_name ORDER BY Count(*) Asc LIMIT 1", "inferred_code_readable": "", "score": -1.4129265416148158}]} {"index": 956, "beams": [{"question": "\u00bfQu\u00e9 perros son de alguien que vive en \"Virginia\"? Escriba el nombre del amo y el nombre del perro.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"s\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id WHERE Owners.state = \"s\"", "inferred_code_readable": "", "score": -1.0645939260706783}]} {"index": 957, "beams": [{"question": "Encuentre los nombres de los amos que viven en \"Virginia\" y los nombres de los perros que poseen.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"s\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id WHERE Owners.state = \"s\"", "inferred_code_readable": "", "score": -1.2300223782640174}]} {"index": 958, "beams": [{"question": "\u00bfCu\u00e1l es la fecha de llegada y la fecha de salida de los perros que han pasado por un tratamiento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 30) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.date_arrived, Dogs.date_departed FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id", "inferred_code_readable": "", "score": -0.0005761292893922132}]} {"index": 959, "beams": [{"question": "Encuentre la fecha de llegada y la fecha de salida de los perros que recibieron tratamiento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 30) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.date_arrived, Dogs.date_departed FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id", "inferred_code_readable": "", "score": -0.0003090780985317565}]} {"index": 960, "beams": [{"question": "Indique el apellido del amo que tiene el perro menor de edad.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Min)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id WHERE Dogs.age = (SELECT Min(Dogs.age) FROM Dogs)", "inferred_code_readable": "", "score": -0.0662157962873664}]} {"index": 961, "beams": [{"question": "\u00bfQui\u00e9n es el amo del perro menor? Dame su apellido.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4)) (Table (table-table_id 5))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id ORDER BY Dogs.age Asc LIMIT 1", "inferred_code_readable": "", "score": -6.902048645685e-05}]} {"index": 962, "beams": [{"question": "Enumere los correos electr\u00f3nicos de los profesionales que viven en\"Hawaii\" Haw\u00e1i o \"Wisconsin\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Mary\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Texas\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Gs\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"L\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))", "inferred_code": "SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Mary\" OR Professionals.state = \"Texas\" UNION SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Gs\" AND Professionals.state = \"L\"", "inferred_code_readable": "", "score": -3.353055881913896}]} {"index": 963, "beams": [{"question": "\u00bfCu\u00e1les son los correos electr\u00f3nicos de los profesionales que viven en el estado de \"Hawaii\" o en el estado de \"Wisconsin\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Fri\"))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Texas\"))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Fri\" OR Professionals.state = \"Texas\"", "inferred_code_readable": "", "score": -3.7036253086977453}]} {"index": 964, "beams": [{"question": "\u00bfCu\u00e1l es la fecha de llegada y la fecha de salida de todos los perros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 30) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.date_arrived, Dogs.date_departed FROM Dogs", "inferred_code_readable": "", "score": -8.34464891852349e-07}]} {"index": 965, "beams": [{"question": "Indique la fecha de llegada y la fecha de salida de todos los perros.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 30) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 32) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.date_arrived, Dogs.date_departed FROM Dogs", "inferred_code_readable": "", "score": -1.0728834567430567e-06}]} {"index": 966, "beams": [{"question": "\u00bfCu\u00e1ntos perros se sometieron a alg\u00fan tratamiento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Treatments.dog_id) FROM Treatments", "inferred_code_readable": "", "score": -9.22653085169145e-05}]} {"index": 967, "beams": [{"question": "Cuente la cantidad de perros que pasaron por un tratamiento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Treatments.dog_id) FROM Treatments", "inferred_code_readable": "", "score": -2.491465308196439e-05}]} {"index": 968, "beams": [{"question": "\u00bfCu\u00e1ntos profesionales han realizado alg\u00fan tratamiento a los perros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Treatments.professional_id) FROM Treatments", "inferred_code_readable": "", "score": -8.642366898214959e-05}]} {"index": 969, "beams": [{"question": "Encuentre el n\u00famero de profesionales que alguna vez han tratado a los perros.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct True))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(DISTINCT Treatments.professional_id) FROM Treatments", "inferred_code_readable": "", "score": -4.2318958541898155e-05}]} {"index": 970, "beams": [{"question": "\u00bfQu\u00e9 profesionales viven en una ciudad que contiene la subcadena\"West\"? Enumere su c\u00f3digo de funci\u00f3n, calle, ciudad y estado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%0\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.role_code, Professionals.street, Professionals.state FROM Professionals WHERE Professionals.city LIKE \"%0\"", "inferred_code_readable": "", "score": -1.1151277036898364}]} {"index": 971, "beams": [{"question": "Encuentre el c\u00f3digo de funci\u00f3n, la calle, la ciudad y el estado de los profesionales que viven en una ciudad que contiene la subcadena \"West\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 34) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 36) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 38) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 37) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%London%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.role_code, Professionals.street, Professionals.state, Professionals.state FROM Professionals WHERE Professionals.city LIKE \"%London%\"", "inferred_code_readable": "", "score": -1.8227379166488902}]} {"index": 972, "beams": [{"question": "\u00bfQu\u00e9 amos viven en el estado cuyo nombre contiene la subcadena \"North\"? Escriba su nombre, apellido y correo electr\u00f3nico.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%Universal%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.first_name, Owners.last_name, Owners.email_address FROM Owners WHERE Owners.state LIKE \"%Universal%\"", "inferred_code_readable": "", "score": -1.885204064401222}]} {"index": 973, "beams": [{"question": "Dame nombres, apellidos y correos electr\u00f3nicos de los amos que viven en un estado cuyo nombre contiene la subcadena \"North\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 11) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 12) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 17) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where (Like (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"%Diana%\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Owners.first_name, Owners.last_name, Owners.email_address FROM Owners WHERE Owners.state LIKE \"%Diana%\"", "inferred_code_readable": "", "score": -1.111269008992636}]} {"index": 974, "beams": [{"question": "\u00bfCu\u00e1ntos perros tienen una edad inferior a la media?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Dogs WHERE Dogs.age < (SELECT Avg(Dogs.age) FROM Dogs)", "inferred_code_readable": "", "score": -8.225419371399312e-06}]} {"index": 975, "beams": [{"question": "Cuente el n\u00famero de perros de la edad por debajo del promedio.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Dogs WHERE Dogs.age < (SELECT Avg(Dogs.age) FROM Dogs)", "inferred_code_readable": "", "score": -2.5272129171582947e-05}]} {"index": 976, "beams": [{"question": "\u00bfCu\u00e1nto es el costo de tratamiento m\u00e1s reciente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 48) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Treatments.cost_of_treatment FROM Treatments ORDER BY Treatments.date_of_treatment Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0008179268579624477}]} {"index": 977, "beams": [{"question": "Mu\u00e9streme el costo del tratamiento realizado m\u00e1s recientemente.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 49) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 48) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Treatments.cost_of_treatment FROM Treatments ORDER BY Treatments.date_of_treatment Desc LIMIT 1", "inferred_code_readable": "", "score": -9.667439624649887e-05}]} {"index": 978, "beams": [{"question": "\u00bfCu\u00e1ntos perros no han pasado por ning\u00fan tratamiento?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Dogs WHERE Dogs.dog_id NOT IN (SELECT Treatments.dog_id FROM Treatments)", "inferred_code_readable": "", "score": -1.0848035699950742e-05}]} {"index": 979, "beams": [{"question": "Dime el n\u00famero de perros que no han recibido ning\u00fan tratamiento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 20) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 45) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Dogs WHERE Dogs.dog_id NOT IN (SELECT Treatments.dog_id FROM Treatments)", "inferred_code_readable": "", "score": -1.0967245842152806e-05}]} {"index": 980, "beams": [{"question": "\u00bfCu\u00e1ntos amos no tienen perros temporalmente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Owners WHERE Owners.owner_id NOT IN (SELECT Dogs.owner_id FROM Dogs)", "inferred_code_readable": "", "score": -1.4901143430279262e-05}]} {"index": 981, "beams": [{"question": "Encuentre el n\u00famero de amos que no tienen perros en este momento.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 4))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 21) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Owners WHERE Owners.owner_id NOT IN (SELECT Dogs.owner_id FROM Dogs)", "inferred_code_readable": "", "score": -9.775155099589483e-06}]} {"index": 982, "beams": [{"question": "\u00bfCu\u00e1ntos profesionales no operaron ning\u00fan tratamiento en perros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Professionals WHERE Professionals.professional_id NOT IN (SELECT Treatments.professional_id FROM Treatments)", "inferred_code_readable": "", "score": -1.6212439781781995e-05}]} {"index": 983, "beams": [{"question": "Encuentra el n\u00famero de profesionales que no han tratado a ning\u00fan perro.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Professionals WHERE Professionals.professional_id NOT IN (SELECT Treatments.professional_id FROM Treatments)", "inferred_code_readable": "", "score": -1.3232203542656862e-05}]} {"index": 984, "beams": [{"question": "Indique nombres, edades y pesos de los perros que han sido abandonados, con 1 representando s\u00ed y 0 no.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 29) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.name, Dogs.age, Dogs.weight FROM Dogs WHERE Dogs.abandoned_yn = 1", "inferred_code_readable": "", "score": -0.06054747847236541}]} {"index": 985, "beams": [{"question": "\u00bfCu\u00e1les son los nombres, edades y pesos de los perros que fueron abandonados, con 1 representando s\u00ed y 0 no.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 25) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 29) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 22) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.name, Dogs.age, Dogs.weight FROM Dogs WHERE Dogs.abandoned_yn = 1", "inferred_code_readable": "", "score": -0.05975079901911329}]} {"index": 986, "beams": [{"question": "\u00bfCu\u00e1l es la edad media de todos los perros?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Dogs.age) FROM Dogs", "inferred_code_readable": "", "score": -1.788139108782616e-06}]} {"index": 987, "beams": [{"question": "Calcule la edad en promedio de todos los perros.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Avg)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Avg(Dogs.age) FROM Dogs", "inferred_code_readable": "", "score": -1.5497205936298997e-06}]} {"index": 988, "beams": [{"question": "\u00bfCu\u00e1l es la edad del perro m\u00e1s viejo?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.age FROM Dogs ORDER BY Dogs.age Desc LIMIT 1", "inferred_code_readable": "", "score": -8.928631670812592e-05}]} {"index": 989, "beams": [{"question": "Dime la edad del perro m\u00e1s viejo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 26) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Dogs.age FROM Dogs ORDER BY Dogs.age Desc LIMIT 1", "inferred_code_readable": "", "score": -0.0002653473685967356}]} {"index": 990, "beams": [{"question": "\u00bfCu\u00e1nto cuesta cada tipo de carga? Enumere tanto el tipo de carga como el precio a cobrar.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Charges.charge_type, Charges.charge_amount FROM Charges", "inferred_code_readable": "", "score": -2.8013942319660146e-05}]} {"index": 991, "beams": [{"question": "Enumere cada tipo de carga y su precio a cobrar.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Charges.charge_type, Charges.charge_amount FROM Charges", "inferred_code_readable": "", "score": -5.602831024020816e-06}]} {"index": 992, "beams": [{"question": "\u00bfCu\u00e1nto cuesta el tipo de carga m\u00e1s cara?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Charges.charge_type FROM Charges ORDER BY Charges.charge_amount Desc LIMIT 1", "inferred_code_readable": "", "score": -0.3731332346693961}]} {"index": 993, "beams": [{"question": "\u00bfCu\u00e1l es el precio a cobrar del tipo de carga m\u00e1s cara?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Charges.charge_amount FROM Charges ORDER BY Charges.charge_amount Desc LIMIT 1", "inferred_code_readable": "", "score": -0.060226345450161034}]} {"index": 994, "beams": [{"question": "Enumere correos electr\u00f3nicos, n\u00famero de m\u00f3vil y tel\u00e9fonos de casa de todos los profesionales.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.email_address, Professionals.cell_number, Professionals.home_phone FROM Professionals", "inferred_code_readable": "", "score": -0.00012611881608393105}]} {"index": 995, "beams": [{"question": "\u00bfCu\u00e1les son el correo electr\u00f3nico, n\u00famero de m\u00f3vil y tel\u00e9fono de casa de cada profesional?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 41) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 43) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 42) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 6))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.email_address, Professionals.cell_number, Professionals.home_phone FROM Professionals", "inferred_code_readable": "", "score": -0.0012281640072941968}]} {"index": 996, "beams": [{"question": "\u00bfCu\u00e1les son todas las posibles combinaciones de tipo de raza y tipo de tama\u00f1o?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Breeds.breed_name, Dogs.size_code FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code", "inferred_code_readable": "", "score": -0.6773023019926399}]} {"index": 997, "beams": [{"question": "Encuentre las distintas combinaciones de tipo de raza y tipo de tama\u00f1o para perros.", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 23) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 24) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 5))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT Dogs.breed_code, Dogs.size_code FROM Dogs", "inferred_code_readable": "", "score": -6.651828367409962e-05}]} {"index": 998, "beams": [{"question": "Enumere los nombres de todos los profesionales junto con las descripciones del tratamiento que han realizado.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 6)) (Table (table-table_id 3))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.first_name, Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Professionals JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code AND Treatments.professional_id = Professionals.professional_id", "inferred_code_readable": "", "score": -0.10356262295791652}]} {"index": 999, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de cada profesional y la descripci\u00f3n del tratamiento que ha realizado?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 35) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 7)) (Table (table-table_id 6)) (Table (table-table_id 3))) (cond?-conds (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 46) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 33) (singleton-is_distinct False))))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 47) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Professionals.first_name, Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Professionals JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code AND Treatments.professional_id = Professionals.professional_id", "inferred_code_readable": "", "score": -0.017607231488597108}]} {"index": 1000, "beams": [{"question": "\u00bfCu\u00e1ntos cantantes hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM singer", "inferred_code_readable": "", "score": -4.291529521083248e-06}]} {"index": 1001, "beams": [{"question": "\u00bfCu\u00e1l es el recuento de cantantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM singer", "inferred_code_readable": "", "score": -3.0994392403727034e-06}]} {"index": 1002, "beams": [{"question": "Enumere nombres de los cantantes en orden ascendente por millones de patrimonio neto.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer ORDER BY singer.Net_Worth_Millions Asc", "inferred_code_readable": "", "score": -1.2993786853598976e-05}]} {"index": 1003, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los cantantes ordenados por millones de patrimonio neto en orden ascendente?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Asc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer ORDER BY singer.Net_Worth_Millions Asc", "inferred_code_readable": "", "score": -1.1920906118234598e-05}]} {"index": 1004, "beams": [{"question": "\u00bfCu\u00e1les son el a\u00f1o de nacimiento y la ciudadan\u00eda de los cantantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Birth_Year, singer.Citizenship FROM singer", "inferred_code_readable": "", "score": -3.6954857307591737e-06}]} {"index": 1005, "beams": [{"question": "\u00bfCu\u00e1les son los a\u00f1os de nacimiento y ciudadan\u00edad de los cantantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Birth_Year, singer.Citizenship FROM singer", "inferred_code_readable": "", "score": -4.5299494857431455e-06}]} {"index": 1006, "beams": [{"question": "Indique nombres de los cantantes cuya ciudadan\u00eda no sea \"France\".", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedland\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer WHERE singer.Citizenship != \"Unitedland\"", "inferred_code_readable": "", "score": -2.2054702639225283}]} {"index": 1007, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los cantantes que no son ciudadanos de \"France\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Ne (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Unitedland\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer WHERE singer.Citizenship != \"Unitedland\"", "inferred_code_readable": "", "score": -1.1613823175059608}]} {"index": 1008, "beams": [{"question": "\u00bfMostrar el nombre de los cantantes cuyo a\u00f1o de nacimiento es 1948 o 1949?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 180))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer WHERE singer.Birth_Year = 180 OR singer.Birth_Year = 200", "inferred_code_readable": "", "score": -1.515002906095738}]} {"index": 1009, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los cantantes que nacieron en 1948 o 1949?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Or (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 150))))) (cond-right (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 200))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer WHERE singer.Birth_Year = 150 OR singer.Birth_Year = 200", "inferred_code_readable": "", "score": -2.4276835909157626}]} {"index": 1010, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del cantante con mayores millones de patrimonio neto?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer ORDER BY singer.Net_Worth_Millions Desc LIMIT 1", "inferred_code_readable": "", "score": -1.6450851134663935e-05}]} {"index": 1011, "beams": [{"question": "\u00bfCu\u00e1l es el nombre del cantante que tiene mayores millones de patrimonio neto?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer ORDER BY singer.Net_Worth_Millions Desc LIMIT 1", "inferred_code_readable": "", "score": -2.634516427235667e-05}]} {"index": 1012, "beams": [{"question": "Muestre diferentes ciudadan\u00edas de cantantes y el n\u00famero de cantantes bajo cada ciudadan\u00eda.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Citizenship, Count(*) FROM singer GROUP BY singer.Citizenship", "inferred_code_readable": "", "score": -2.9802315921756417e-06}]} {"index": 1013, "beams": [{"question": "Por cada ciudadan\u00eda, \u00bfcu\u00e1ntos cantantes hay?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Citizenship, Count(*) FROM singer GROUP BY singer.Citizenship", "inferred_code_readable": "", "score": -0.3123323321313052}]} {"index": 1014, "beams": [{"question": "Por favor, muestre la ciudadan\u00eda m\u00e1s com\u00fan de los cantantes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Citizenship FROM singer GROUP BY singer.Citizenship ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -7.295479213098588e-05}]} {"index": 1015, "beams": [{"question": "\u00bfCu\u00e1l es la ciudadan\u00eda de los cantantes m\u00e1s com\u00fan?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by (order_by (order-order (Desc)) (val_unit*-val_units (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))))) (cond?-having) (int?-limit 1) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Citizenship FROM singer GROUP BY singer.Citizenship ORDER BY Count(*) Desc LIMIT 1", "inferred_code_readable": "", "score": -3.182869942719435e-05}]} {"index": 1016, "beams": [{"question": "Muestra diferentes ciudadan\u00edas y los mayores millones de patrimonio neto de los cantantes de cada ciudadan\u00eda.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Citizenship, Max(singer.Net_Worth_Millions) FROM singer GROUP BY singer.Citizenship", "inferred_code_readable": "", "score": -0.005978092035547888}]} {"index": 1017, "beams": [{"question": "Para cada ciudadan\u00eda, \u00bfcu\u00e1les son los mayores millones de patrimonio neto?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Max)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Citizenship, Max(singer.Net_Worth_Millions) FROM singer GROUP BY singer.Citizenship", "inferred_code_readable": "", "score": -0.0067612349296624075}]} {"index": 1018, "beams": [{"question": "Muestra t\u00edtulos de canciones y nombres de cantantes.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT song.Title, singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID", "inferred_code_readable": "", "score": -1.5854817718263803e-05}]} {"index": 1019, "beams": [{"question": "\u00bfCu\u00e1les son los t\u00edtulos de las canciones y los nombres de sus cantantes?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT song.Title, singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID", "inferred_code_readable": "", "score": -1.7285323657745266e-05}]} {"index": 1020, "beams": [{"question": "Muestre nombres de cantantes que tengan canciones con ventas superiores a 300000.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (Number (object-f 300000))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID WHERE song.Sales > 300000", "inferred_code_readable": "", "score": -0.3006074951030513}]} {"index": 1021, "beams": [{"question": "\u00bfCu\u00e1les son los nombres distintos de los cantantes que tienen ventas superiores a 300000?", "model_output": "(sql (select-select (select (singleton-is_distinct True) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))) (val-val1 (Number (object-f 30))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT DISTINCT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID WHERE song.Sales > 30", "inferred_code_readable": "", "score": -0.525121621301146}]} {"index": 1022, "beams": [{"question": "Muestre los nombres de los cantantes que tienen m\u00e1s de una canci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY song.Singer_ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.00035021204948293416}]} {"index": 1023, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de los cantantes que tienen m\u00e1s de una canci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (Count)) (column-col_id 0) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY song.Singer_ID HAVING Count(*) > 1", "inferred_code_readable": "", "score": -0.0002676093342657282}]} {"index": 1024, "beams": [{"question": "Muestre los nombres de los cantantes y las ventas totales de sus canciones.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name, Sum(song.Sales) FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY singer.Name", "inferred_code_readable": "", "score": -0.18888799705322157}]} {"index": 1025, "beams": [{"question": "Para el nombre de cada cantante, \u00bfcu\u00e1l es el total de ventas de sus canciones?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Sum)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 9) (singleton-is_distinct False)))))) (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0)) (Table (table-table_id 1))) (cond?-conds (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ColUnit (col_unit-c (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (cond?-where) (col_unit*-group_by (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Sum(song.Sales), singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY singer.Name", "inferred_code_readable": "", "score": -7.402817917068205e-05}]} {"index": 1026, "beams": [{"question": "Enumere nombres de los cantantes que no tienen canci\u00f3n.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer WHERE singer.Singer_ID NOT IN (SELECT song.Singer_ID FROM song)", "inferred_code_readable": "", "score": -2.6821967331613905e-05}]} {"index": 1027, "beams": [{"question": "\u00bfCu\u00e1l es el nombre de cada cantante que no publica ninguna canci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 2) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Not (cond-c (In (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 1) (singleton-is_distinct False))))) (val-val1 (ValSql (sql-s (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 8) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Name FROM singer WHERE singer.Singer_ID NOT IN (SELECT song.Singer_ID FROM song)", "inferred_code_readable": "", "score": -2.0265532810981313e-05}]} {"index": 1028, "beams": [{"question": "Muestre la ciudadan\u00eda compartida por cantantes nacidos antes de 1945 y despu\u00e9s de 1955.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1850))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 85))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year < 1850 INTERSECT SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year > 85", "inferred_code_readable": "", "score": -2.1554384827275967}]} {"index": 1029, "beams": [{"question": "\u00bfCu\u00e1les son las ciudadan\u00edas que comparten los cantantes nacidos antes de 1945 y despu\u00e9s de 1955?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Lt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 32))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect (sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 5) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 0))) (cond?-conds))) (cond?-where (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 3) (singleton-is_distinct False))))) (val-val1 (Number (object-f 85))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))) (sql?-except) (sql?-union))", "inferred_code": "SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year < 32 INTERSECT SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year > 85", "inferred_code_readable": "", "score": -2.228734016359148}]} {"index": 1030, "beams": [{"question": "\u00bfCu\u00e1ntas caracter\u00edsticas disponibles hay en total?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (Count)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 0) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Count(*) FROM Other_Available_Features", "inferred_code_readable": "", "score": -3.2186494465236137e-06}]} {"index": 1031, "beams": [{"question": "\u00bfCu\u00e1l es el c\u00f3digo de tipo de funci\u00f3n de la caracter\u00edstica \"AirCon\"?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 6) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 2))) (cond?-conds))) (cond?-where (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 7) (singleton-is_distinct False))))) (val-val1 (String (string-s \"Paper\"))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Other_Available_Features.feature_type_code FROM Other_Available_Features WHERE Other_Available_Features.feature_name = \"Paper\"", "inferred_code_readable": "", "score": -0.3300538286428605}]} {"index": 1032, "beams": [{"question": "Muestre las descripciones del tipo de propiedad de las que pertenecen a ese c\u00f3digo.", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 4) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 1))) (cond?-conds))) (cond?-where) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Ref_Property_Types.property_type_description FROM Ref_Property_Types", "inferred_code_readable": "", "score": -0.0009222643993282986}]} {"index": 1033, "beams": [{"question": "\u00bfCu\u00e1les son los nombres de las propiedades que son \"house\" o \"apartment\" con m\u00e1s de una habitaci\u00f3n?", "model_output": "(sql (select-select (select (singleton-is_distinct False) (agg*-aggs (agg (agg_type-agg_id (NoneAggOp)) (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 13) (singleton-is_distinct False))))))))) (from-from (from (table_unit*-table_units (Table (table-table_id 3))) (cond?-conds))) (cond?-where (And (cond-left (Eq (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 15) (singleton-is_distinct False))))) (val-val1 (String (string-s \"King\"))))) (cond-right (Gt (val_unit-val_unit (Column (col_unit-col_unit1 (col_unit (agg_type-agg_id (NoneAggOp)) (column-col_id 10) (singleton-is_distinct False))))) (val-val1 (Number (object-f 1))))))) (col_unit*-group_by) (order_by?-order_by) (cond?-having) (int?-limit) (sql?-intersect) (sql?-except) (sql?-union))", "inferred_code": "SELECT Properties.property_name FROM Properties WHERE Properties.room_count = \"King\" AND Properties.property_type_code > 1", "inferred_code_readable": "", "score": -1.8437422293924612}]}