Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
int64
4.9k
5.43k
db_id
stringclasses
9 values
prompt
stringlengths
593
6.38k
solution
stringlengths
13
1.69k
top_k_progression
stringlengths
913
64.2k
4,896
school_player
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "school" ( "School_ID" int, "School" text, "Location" text, "Enrollment" real, "Founded" real, "Denomination" text, "Boys_or_Girls" text, "Day_or_Boarding" text, "Year_Entered_Competition" real, "School_Colors" text, PRIMARY KEY ("School_Id") ); CREATE T...
SELECT DISTINCT sdt.Nickname FROM school_details sdt WHERE NOT EXISTS ( SELECT 1 FROM school_performance sp WHERE sp.School_ID = sdt.School_ID AND sp.Division = '1' );
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.92833}, {"token": "\u0120s", "prob": 0.04223}, {"token": "\u0120...
4,897
school_player
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "school" ( "School_ID" int, "School" text, "Location" text, "Enrollment" real, "Founded" real, "Denomination" text, "Boys_or_Girls" text, "Day_or_Boarding" text, "Year_Entered_Competition" real, "School_Colors" text, PRIMARY KEY ("School_Id") ); CREATE T...
SELECT DISTINCT sd.Nickname FROM school_details sd WHERE sd.Division != '1';
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.91178}, {"token": "\u0120s", "prob": 0.05289}, {"token": "\u0120...
4,898
school_player
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "school" ( "School_ID" int, "School" text, "Location" text, "Enrollment" real, "Founded" real, "Denomination" text, "Boys_or_Girls" text, "Day_or_Boarding" text, "Year_Entered_Competition" real, "School_Colors" text, PRIMARY KEY ("School_Id") ); CREATE T...
SELECT DISTINCT S1.Denomination FROM school S1 JOIN school S2 ON S1.Denomination = S2.Denomination AND S1.School_ID <> S2.School_ID;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.8864}, {"token": "\u0120denomination", "prob": 0.07799}, {"token...
4,899
school_player
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "school" ( "School_ID" int, "School" text, "Location" text, "Enrollment" real, "Founded" real, "Denomination" text, "Boys_or_Girls" text, "Day_or_Boarding" text, "Year_Entered_Competition" real, "School_Colors" text, PRIMARY KEY ("School_Id") ); CREATE T...
SELECT DISTINCT Denomination FROM school GROUP BY Denomination HAVING COUNT(*) > 1;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.9547}, {"token": "\u0120denomination", "prob": 0.0258}, {"token"...
4,900
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT District_name FROM district ORDER BY City_Area DESC;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"...
4,901
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT District_name FROM district ORDER BY City_Area DESC;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.99375}, {"token": "\u0120District", "prob": 0.00625}, {"token": ...
4,902
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT Max_Page_Size FROM product WHERE Max_Page_Size IS NOT NULL GROUP BY Max_Page_Size HAVING COUNT(*) > 3;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.97925}, {"token": "\u0120max", "prob": 0.01111}, {"token": "\u01...
4,903
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT product.product_id, product.max_page_size FROM product, store_product WHERE product.product_id = store_product.product_id GROUP BY product.product_id HAVING COUNT(product_id) > 3; SELECT DISTINCT product.product_id, product.max_page_size FROM product, store_product WHERE product.product_id = store_produ...
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.80387}, {"token": "\u0120MAX", "prob": 0.03411}, {"token": "\u01...
4,904
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT District_name, City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120District", "prob": 0.36436}, {"token": "\u0120DISTINCT", "prob": 0.25748}, {"token": ...
4,905
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT District_name, City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.62775}, {"token": "\u0120District", "prob": 0.12709}, {"token": ...
4,906
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT District_name FROM district WHERE City_Area > 10 OR City_Population > 100000;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.76136}, {"token": "\u0120District", "prob": 0.13889}, {"token": ...
4,907
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT d.District_name FROM district d WHERE d.City_Area > 10 OR d.City_Population > 100000;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.85718}, {"token": "\u0120District", "prob": 0.08666}, {"token": ...
4,908
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT District_name FROM district ORDER BY City_Population DESC LIMIT 1;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120District", "prob": 0.37665}, {"token": "\u0120DISTINCT", "prob": 0.31662}, {"token": ...
4,909
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT District_name FROM district WHERE City_Population = (SELECT MAX(City_Population) FROM district);
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.44181}, {"token": "\u0120District", "prob": 0.25349}, {"token": ...
4,910
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT District_name FROM district WHERE City_Area = (SELECT MIN(City_Area) FROM district);
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.36417}, {"token": "\u0120District", "prob": 0.35174}, {"token": ...
4,911
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT District_name FROM district ORDER BY City_Area ASC LIMIT 1;
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.39069}, {"token": "\u0120District", "prob": 0.23208}, {"token": ...
4,912
store_product
Given the SQL schema: PRAGMA foreign_keys = ON; CREATE TABLE "product" ( "product_id" int, "product" text, "dimensions" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text, PRIMARY KEY ("product_id") ); CREATE TABLE "store" ( "Store_ID" int, "Store_Name" text, "Type" text, "Area_si...
SELECT DISTINCT D.District_ID, D.District_name, D.Headquartered_City, D.City_Population FROM District D JOIN Store_District SD ON D.District_ID = SD.District_ID JOIN Store S ON SD.Store_ID = S.Store_ID WHERE D.District_ID IN (SELECT DISTINCT District_ID FROM District ORDER BY District_Area DESC LIMIT 3); SELECT SUM(D.C...
{"step_0": {"top_k": [{"token": "SELECT", "prob": 1.0}, {"token": "#", "prob": 0.0}, {"token": "!", "prob": 0.0}, {"token": "$", "prob": 0.0}, {"token": "\"", "prob": 0.0}], "pred_entropy": -0.0}, "step_1": {"top_k": [{"token": "\u0120DISTINCT", "prob": 0.46599}, {"token": "\u0120\u010a", "prob": 0.13823}, {"token": "\...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
27