output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT COUNT("pa") FROM "standings" WHERE "blank_ends"=1; |
## Task
Generate a SQL query to answer the following question:
`When the blank ends at 1, what is the PA?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "standings" (
"province" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
... |
SELECT COUNT("record") FROM "game_log" WHERE "team"='Charlotte'; |
## Task
Generate a SQL query to answer the following question:
`How many times did the team play charlotte?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
... |
SELECT "date" FROM "game_log" WHERE "team"='Charlotte'; |
## Task
Generate a SQL query to answer the following question:
`What day did the team play charlotte?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high... |
SELECT "date" FROM "game_log" WHERE "score"='L 99–107 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`When was the game with score l 99–107 (ot)`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
... |
SELECT "location_attendance" FROM "game_log" WHERE "record"='20–23'; |
## Task
Generate a SQL query to answer the following question:
`Where was the game with record 20–23 and how many people attended it`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text... |
SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Charlie Villanueva (32)'; |
## Task
Generate a SQL query to answer the following question:
`Who scored highest rebounds high points is charlie villanueva (32)`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
... |
SELECT "score" FROM "game_log" WHERE "game"=46; |
## Task
Generate a SQL query to answer the following question:
`What is the score of game 46`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds... |
SELECT "high_points" FROM "game_log" WHERE "date"='November 2'; |
## Task
Generate a SQL query to answer the following question:
`Who scored the high points on the date November 2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" ... |
SELECT COUNT("location_attendance") FROM "game_log" WHERE "game"=13; |
## Task
Generate a SQL query to answer the following question:
`In how many locations did Game 13 take place?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,... |
SELECT "location_attendance" FROM "game_log" WHERE "date"='November 21'; |
## Task
Generate a SQL query to answer the following question:
`Where was the game that took place in November 21 located and how many attended?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
... |
SELECT "high_rebounds" FROM "game_log" WHERE "date"='April 7'; |
## Task
Generate a SQL query to answer the following question:
`Name the high reobounds for april 7`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_r... |
SELECT COUNT("record") FROM "game_log" WHERE "game"=43; |
## Task
Generate a SQL query to answer the following question:
`How many games was game 43?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds"... |
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='February 10'; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of high rebounds for february 10`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_poin... |
SELECT "record" FROM "game_log" WHERE "date"='December 6'; |
## Task
Generate a SQL query to answer the following question:
`Name the record for december 6`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_reboun... |
SELECT "score" FROM "game_log" WHERE "game"=38; |
## Task
Generate a SQL query to answer the following question:
`What was the final score in game 38?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_... |
SELECT "team" FROM "game_log" WHERE "date"='January 2'; |
## Task
Generate a SQL query to answer the following question:
`Who did the Trail Blazers play on January 2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
... |
SELECT COUNT("date") FROM "table1_17058226_10" WHERE "team"='Phoenix'; |
## Task
Generate a SQL query to answer the following question:
`On how many dates did the Timberwolves play Phoenix? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17058226_10" (
"game" real,
"date" text,
"team" text,
"score" text,
"... |
SELECT "record" FROM "table1_17058226_10" WHERE "date"='April 3'; |
## Task
Generate a SQL query to answer the following question:
`What was the Timberwolves' record on April 3? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17058226_10" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_po... |
SELECT "location_attendance" FROM "game_log" WHERE "team"='Utah'; |
## Task
Generate a SQL query to answer the following question:
`Where are all of Utah's games held and how many have attended?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"h... |
SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='Craig Smith (4)'; |
## Task
Generate a SQL query to answer the following question:
`Who performed all the high rebounds when craig smith (4) was the lead for high assists?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" t... |
SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Kevin Love (20)'; |
## Task
Generate a SQL query to answer the following question:
`Who had all the high rebounds when kevin love (20) scored the highest points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"sc... |
SELECT "team" FROM "game_log" WHERE "high_assists"='Sebastian Telfair (7)'; |
## Task
Generate a SQL query to answer the following question:
`What opposing team was playing when sebastian telfair (7) had the highest assists?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
... |
SELECT "score" FROM "game_log" WHERE "date"='January 26'; |
## Task
Generate a SQL query to answer the following question:
`Name the score for january 26`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebound... |
SELECT "high_points" FROM "game_log" WHERE "date"='April 12'; |
## Task
Generate a SQL query to answer the following question:
`Who did the high points in the game played on April 12?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_poi... |
SELECT "constructor" FROM "qualifying" WHERE "q1_order"=4; |
## Task
Generate a SQL query to answer the following question:
`What is the constructor when the Q1 order is 4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "qualifying" (
"pos" text,
"no" real,
"driver" text,
"constructor" text,
"q1_order"... |
SELECT MAX("q1_order") FROM "qualifying" WHERE "driver"='Felipe Massa'; |
## Task
Generate a SQL query to answer the following question:
`What is the Q1 order for Felipe Massa?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "qualifying" (
"pos" text,
"no" real,
"driver" text,
"constructor" text,
"q1_order" real,
... |
SELECT "q1_time" FROM "qualifying" WHERE "q1_order"=6; |
## Task
Generate a SQL query to answer the following question:
`What is the Q1 time for the driver with Q1 order of 6?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "qualifying" (
"pos" text,
"no" real,
"driver" text,
"constructor" text,
"q1... |
SELECT COUNT("q1_order") FROM "qualifying" WHERE "driver"='Alexander Wurz'; |
## Task
Generate a SQL query to answer the following question:
`How many Q1 figures are given for Alexander Wurz?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "qualifying" (
"pos" text,
"no" real,
"driver" text,
"constructor" text,
"q1_orde... |
SELECT "high_assists" FROM "game_log" WHERE "game"=12; |
## Task
Generate a SQL query to answer the following question:
`Who all had the most assists in game 12?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"h... |
SELECT "position" FROM "nascar_sprint_cup_series" WHERE "winnings"='$4,228,889'; |
## Task
Generate a SQL query to answer the following question:
`Which position offers winnings of $4,228,889?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"... |
SELECT "poles" FROM "nascar_sprint_cup_series" WHERE "team_s"='#14 Ginn Racing'; |
## Task
Generate a SQL query to answer the following question:
`How many poles did team #14 ginn racing have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"... |
SELECT "winnings" FROM "nascar_sprint_cup_series" WHERE "poles"=0 AND "position"='14th'; |
## Task
Generate a SQL query to answer the following question:
`When the poles are 0 and the position is 14th, how much are the winnings?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"win... |
SELECT "starts" FROM "nascar_sprint_cup_series" WHERE "winnings"='$1,301,370'; |
## Task
Generate a SQL query to answer the following question:
`Which start won $1,301,370?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"p... |
SELECT MAX("top_5") FROM "nascar_sprint_cup_series" WHERE "top_10"=5 AND "team_s"='#40 Chip Ganassi Racing'; |
## Task
Generate a SQL query to answer the following question:
`For team #40 chip ganassi racing which top 5 is the highest where top 10 is 5?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
... |
SELECT "position" FROM "nascar_nationwide_series" WHERE "starts"=3; |
## Task
Generate a SQL query to answer the following question:
`what is the posisiotn where the start is 3?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"to... |
SELECT "team_s" FROM "nascar_nationwide_series" WHERE "winnings"='$81,690'; |
## Task
Generate a SQL query to answer the following question:
`what is the team where winnings is $81,690?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"to... |
SELECT "location_attendance" FROM "game_log" WHERE "team"='Indiana'; |
## Task
Generate a SQL query to answer the following question:
`What was the attendance of the Indiana game?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
... |
SELECT "trans_2" FROM "triathlon" WHERE "bike_40km"='58:20'; |
## Task
Generate a SQL query to answer the following question:
`What is the trans 2 duration if the biking stage is covered within 58:20?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triathlon" (
"athlete" text,
"event" text,
"swim_1_5km" text... |
SELECT "trans_2" FROM "triathlon" WHERE "total_time"='1:51:19.45'; |
## Task
Generate a SQL query to answer the following question:
`What is the trans 2 duration if the total time is 1:51:19.45?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triathlon" (
"athlete" text,
"event" text,
"swim_1_5km" text,
"trans_1... |
SELECT "swim_1_5km" FROM "triathlon" WHERE "athlete"='Daniela Ryf'; |
## Task
Generate a SQL query to answer the following question:
`What was the duration of Daniela Ryf's swimming stage?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triathlon" (
"athlete" text,
"event" text,
"swim_1_5km" text,
"trans_1" text,... |
SELECT COUNT("athlete") FROM "triathlon" WHERE "trans_1"='0:26'; |
## Task
Generate a SQL query to answer the following question:
`How many athletes completed a trans 1 within 0:26?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triathlon" (
"athlete" text,
"event" text,
"swim_1_5km" text,
"trans_1" text,
"... |
SELECT "athlete" FROM "triathlon" WHERE "bike_40km"='58:52'; |
## Task
Generate a SQL query to answer the following question:
`Who was the athlete that covered biking within 58:52?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triathlon" (
"athlete" text,
"event" text,
"swim_1_5km" text,
"trans_1" text,
... |
SELECT "high_points" FROM "game_log" WHERE "team"='New York'; |
## Task
Generate a SQL query to answer the following question:
`All high points are team new york.`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_re... |
SELECT "location_attendance" FROM "game_log" WHERE "date"='February 12'; |
## Task
Generate a SQL query to answer the following question:
`February 12 is the date for all location attendance.`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points... |
SELECT "location_attendance" FROM "game_log" WHERE "game"=54; |
## Task
Generate a SQL query to answer the following question:
`54 is the game where location attendance are.`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,... |
SELECT "record" FROM "game_log" WHERE "high_points"='Corey Maggette (25)'; |
## Task
Generate a SQL query to answer the following question:
`All high points were record by corey maggette (25).`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points"... |
SELECT COUNT("location_attendance") FROM "game_log" WHERE "date"='December 29'; |
## Task
Generate a SQL query to answer the following question:
`what is the total number of attendance where the date is december 29?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" tex... |
SELECT "manner_of_departure" FROM "managerial_changes" WHERE "outgoing_manager"='Petrik Sander'; |
## Task
Generate a SQL query to answer the following question:
`What was the manner in which Petrik Sander departed?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure"... |
SELECT "manner_of_departure" FROM "managerial_changes" WHERE "team"='Stuttgarter Kickers' AND "outgoing_manager"='Edgar Schmitt'; |
## Task
Generate a SQL query to answer the following question:
`What was the manner of departure for Edgar Schmitt of the Stuttgarter Kickers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" tex... |
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='Jürgen Kohler'; |
## Task
Generate a SQL query to answer the following question:
`What was the date of appointment when Jürgen Kohler was the outgoing manager?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text... |
SELECT COUNT("date_of_appointment") FROM "managerial_changes" WHERE "replaced_by"='Jürgen Kohler'; |
## Task
Generate a SQL query to answer the following question:
`How many appointment dates were recorded when Jürgen Kohler was the replaced by?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" t... |
SELECT "swimsuit" FROM "final_competition_score" WHERE "interview"='9.366'; |
## Task
Generate a SQL query to answer the following question:
`What are the swimsuit scores of participants with score 9.366 in interview`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_competition_score" (
"country" text,
"preliminary" text... |
SELECT "average" FROM "final_competition_score" WHERE "country"='Arizona'; |
## Task
Generate a SQL query to answer the following question:
`State average scores of participants from arizona`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_competition_score" (
"country" text,
"preliminary" text,
"interview" text,
"... |
SELECT COUNT("interview") FROM "final_competition_score" WHERE "preliminary"='8.895'; |
## Task
Generate a SQL query to answer the following question:
`Number of participants with a score 8.895 in preliminary`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_competition_score" (
"country" text,
"preliminary" text,
"interview" te... |
SELECT "evening_gown" FROM "final_competition_score" WHERE "swimsuit"='8.988'; |
## Task
Generate a SQL query to answer the following question:
`Evening gown scores of participants with 8.988 swimsuit score`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_competition_score" (
"country" text,
"preliminary" text,
"intervie... |
SELECT "average" FROM "final_competition_score" WHERE "evening_gown"='9.226'; |
## Task
Generate a SQL query to answer the following question:
`What are the average scores of participants with 9.226 in evening gown `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_competition_score" (
"country" text,
"preliminary" text,
... |
SELECT "swimsuit" FROM "final_competition_score" WHERE "preliminary"='8.847'; |
## Task
Generate a SQL query to answer the following question:
`Give swimsuit scores of participants 8.847 in preliminary`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_competition_score" (
"country" text,
"preliminary" text,
"interview" t... |
SELECT "official_name" FROM "albert_county_new_brunswick" WHERE "area_km_2"='276.84'; |
## Task
Generate a SQL query to answer the following question:
`What is the official name of the land with an area of 276.84 km2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "albert_county_new_brunswick" (
"official_name" text,
"status" text,
... |
SELECT COUNT("population") FROM "albert_county_new_brunswick" WHERE "area_km_2"='149.32'; |
## Task
Generate a SQL query to answer the following question:
`What is the total number of population in the land with an area of 149.32 km2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "albert_county_new_brunswick" (
"official_name" text,
"sta... |
SELECT MAX("population") FROM "albert_county_new_brunswick" WHERE "area_km_2"='276.84'; |
## Task
Generate a SQL query to answer the following question:
`What is the maximum population of the land with an area of 276.84 km2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "albert_county_new_brunswick" (
"official_name" text,
"status" tex... |
SELECT "area_km_2" FROM "albert_county_new_brunswick" WHERE "official_name"='Hopewell'; |
## Task
Generate a SQL query to answer the following question:
`What is the land area of Hopewell parish in km2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "albert_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,... |
SELECT "march_27_29" FROM "table1_1708610_3" WHERE "november_3"='133'; |
## Task
Generate a SQL query to answer the following question:
`Name the march 27-29 for november 3 being 133`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1708610_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"nove... |
SELECT "march_27_29" FROM "table1_1708610_3" WHERE "january_15_16"='January 15, 1991'; |
## Task
Generate a SQL query to answer the following question:
`Name march 27-29 where january 15-16 is january 15, 1991`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1708610_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" te... |
SELECT "january_15_16" FROM "table1_1708610_3" WHERE "march_27_29"='March 29, 2006'; |
## Task
Generate a SQL query to answer the following question:
`Name the january 15-16 where march 27-29 where march 29, 2006`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1708610_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_1... |
SELECT COUNT("location_attendance") FROM "table1_17102076_10" WHERE "score"='L 141–143 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of location attendance for l 141–143 (ot)`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17102076_10" (
"game" real,
"date" text,
"team" text,
"score" text... |
SELECT "record" FROM "table1_17102076_10" WHERE "date"='April 1'; |
## Task
Generate a SQL query to answer the following question:
`Name the record for april 1`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17102076_10" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high... |
SELECT "high_assists" FROM "table1_17102076_10" WHERE "score"='L 98–118 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`Name the high assists for score being l 98–118 (ot)`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17102076_10" (
"game" real,
"date" text,
"team" text,
"score" text,
"h... |
SELECT MIN("game") FROM "table1_17102076_10" WHERE "location_attendance"='ARCO Arena 13,330'; |
## Task
Generate a SQL query to answer the following question:
`Name the least game for arco arena 13,330`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17102076_10" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points"... |
SELECT "high_rebounds" FROM "game_log" WHERE "game"=11; |
## Task
Generate a SQL query to answer the following question:
`Name the high rebounds for game 11`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_re... |
SELECT "high_points" FROM "game_log" WHERE "score"='L 92–100 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`Name the high points for score being l 92–100 (ot)`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points"... |
SELECT "team" FROM "game_log" WHERE "location_attendance"='ARCO Arena 13,685'; |
## Task
Generate a SQL query to answer the following question:
`Name the team for arco arena 13,685`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_r... |
SELECT "score" FROM "game_log" WHERE "game"=35; |
## Task
Generate a SQL query to answer the following question:
`What was the score of game 35?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_reboun... |
SELECT "location_attendance" FROM "regular_season" WHERE "score"='65-72'; |
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for score of 65-72`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_p... |
SELECT "record" FROM "regular_season" WHERE "date"='July 18'; |
## Task
Generate a SQL query to answer the following question:
`Name the record for july 18`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high... |
SELECT COUNT("high_assists") FROM "regular_season" WHERE "date"='July 1'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of high assists for july 1`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points... |
SELECT "score" FROM "regular_season" WHERE "game"=19; |
## Task
Generate a SQL query to answer the following question:
`Name the score when game is 19`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"h... |
SELECT "result" FROM "table1_17103566_1" WHERE "team_1"='ICL Pakistan'; |
## Task
Generate a SQL query to answer the following question:
`What is the result when team 1 is ICL Pakistan?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17103566_1" (
"match_number" real,
"date" text,
"venue" text,
"team_1" text,
... |
SELECT "match_number" FROM "table1_17103566_1" WHERE "result"='ICL World by 8 wickets'; |
## Task
Generate a SQL query to answer the following question:
`What is the match number where the result is ICL World by 8 wickets?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17103566_1" (
"match_number" real,
"date" text,
"venue" te... |
SELECT "team_2" FROM "table1_17103566_1" WHERE "result"='ICL World by 8 wickets'; |
## Task
Generate a SQL query to answer the following question:
`What is team 2 where the result is ICL world by 8 wickets?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17103566_1" (
"match_number" real,
"date" text,
"venue" text,
"tea... |
SELECT "man_of_the_match" FROM "table1_17103566_1" WHERE "team_1"='ICL Pakistan'; |
## Task
Generate a SQL query to answer the following question:
`Who is man of the match when Team 1 is ICL Pakistan?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17103566_1" (
"match_number" real,
"date" text,
"venue" text,
"team_1" t... |
SELECT COUNT("date") FROM "table1_17103566_1" WHERE "match_number"=5; |
## Task
Generate a SQL query to answer the following question:
`How many dates have a Match number of 5?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17103566_1" (
"match_number" real,
"date" text,
"venue" text,
"team_1" text,
"team... |
SELECT "man_of_the_match" FROM "table1_17103566_1" WHERE "match_number"=5; |
## Task
Generate a SQL query to answer the following question:
`Who is man of the match for match number 5?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17103566_1" (
"match_number" real,
"date" text,
"venue" text,
"team_1" text,
"t... |
SELECT "location_attendance" FROM "regular_season" WHERE "score"='68-85'; |
## Task
Generate a SQL query to answer the following question:
`With a score of 68-85, what is the location and attendance?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" tex... |
SELECT "location_attendance" FROM "regular_season" WHERE "score"='64-74'; |
## Task
Generate a SQL query to answer the following question:
`Name the location of 64-74`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_... |
SELECT "score" FROM "regular_season" WHERE "game"=25; |
## Task
Generate a SQL query to answer the following question:
`Name the score for game for 25`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"h... |
SELECT "record" FROM "regular_season" WHERE "location_attendance"='Palace of Auburn Hills 15,210'; |
## Task
Generate a SQL query to answer the following question:
`Name the record for attendance location of palace of auburn hills 15,210`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
... |
SELECT COUNT("high_rebounds") FROM "regular_season" WHERE "score"='64-74'; |
## Task
Generate a SQL query to answer the following question:
`Name the high rebounds for score of 64-74`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points"... |
SELECT "score" FROM "regular_season" WHERE "date"='July 16'; |
## Task
Generate a SQL query to answer the following question:
`Namethe score for july 16`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_r... |
SELECT "best_10_year_period" FROM "moves_played_compared_with_computer_choi" WHERE "best_15_year_period"='Fischer'; |
## Task
Generate a SQL query to answer the following question:
`Which people had the best 10-year period when Fischer had best 15-year period?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "moves_played_compared_with_computer_choi" (
"position" real... |
SELECT "best_10_year_period" FROM "moves_played_compared_with_computer_choi" WHERE "best_15_year_period"='Capablanca'; |
## Task
Generate a SQL query to answer the following question:
`Which people had the best 10-year period when Capablanca had the best 15-year period?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "moves_played_compared_with_computer_choi" (
"positio... |
SELECT "record" FROM "regular_season" WHERE "date"='June 7'; |
## Task
Generate a SQL query to answer the following question:
`Name the record for june 7`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_... |
SELECT "date" FROM "regular_season" WHERE "score"='W 83-69'; |
## Task
Generate a SQL query to answer the following question:
`Name the date for the score of w 83-69`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" te... |
SELECT "record" FROM "regular_season" WHERE "score"='W 76-67'; |
## Task
Generate a SQL query to answer the following question:
`Name the record for score of w 76-67`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text... |
SELECT "score" FROM "regular_season" WHERE "date"='September 9'; |
## Task
Generate a SQL query to answer the following question:
`What are the scores for games played on september 9?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"h... |
SELECT "score" FROM "regular_season" WHERE "record"='16-17'; |
## Task
Generate a SQL query to answer the following question:
`What was the score of the game played when the team was 16-17?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" ... |
SELECT "location_attendance" FROM "regular_season" WHERE "game"=32; |
## Task
Generate a SQL query to answer the following question:
`What was the location and where did the team play game number 32?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"scor... |
SELECT "5_year_peak" FROM "chessmetrics" WHERE "15_year_peak"='Anatoly Karpov, 2820'; |
## Task
Generate a SQL query to answer the following question:
`What is every 5-year peek with a when Anatoly Karpov, 2820 is 15-year peak?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "chessmetrics" (
"rank" real,
"1_year_peak" text,
"5_year_p... |
SELECT MAX("rank") FROM "chessmetrics" WHERE "1_year_peak"='Garry Kasparov, 2879'; |
## Task
Generate a SQL query to answer the following question:
`What is the highest rank when Garry Kasparov, 2879 is the 1-year peak?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "chessmetrics" (
"rank" real,
"1_year_peak" text,
"5_year_peak" ... |
SELECT "5_year_peak" FROM "chessmetrics" WHERE "10_year_peak"='Emanuel Lasker, 2847'; |
## Task
Generate a SQL query to answer the following question:
`What is every 5-year peak when Emanuel Lasker, 2847 is the 10-year peak?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "chessmetrics" (
"rank" real,
"1_year_peak" text,
"5_year_peak... |
SELECT MAX("rank") FROM "chessmetrics" WHERE "15_year_peak"='Anatoly Karpov, 2820'; |
## Task
Generate a SQL query to answer the following question:
`What is the highest rank when Anatoly Karpov, 2820 is the 15-year peak?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "chessmetrics" (
"rank" real,
"1_year_peak" text,
"5_year_peak"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.