diff --git "a/data/train.jsonl" "b/data/train.jsonl" new file mode 100644--- /dev/null +++ "b/data/train.jsonl" @@ -0,0 +1,3473 @@ +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_815 (\n id number,\n \"pick #\" number,\n \"nfl team\" text,\n \"player\" text,\n \"position\" text,\n \"college\" text\n)\n\nQUESTION: who was the only player from kansas state ?\nSQL QUERY:", "completion": "SELECT \"player\" FROM table_203_815 WHERE \"college\" LIKE '%kansas state%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4053 (\n \"Executed person\" text,\n \"Date of execution\" text,\n \"Place of execution\" text,\n \"Crime\" text,\n \"Method\" text,\n \"Under President\" text\n)\n\nQUESTION: under which president was gunther volz executed?\nSQL QUERY:", "completion": "SELECT \"Under President\" FROM table_4053 WHERE \"Executed person\" LIKE '%gunther volz%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72445 (\n \"County\" text,\n \"Population\" real,\n \"Per capita income\" text,\n \"Median household income\" text,\n \"Median family income\" text\n)\n\nQUESTION: Name the median family income for riverside\nSQL QUERY:", "completion": "SELECT \"Median family income\" FROM table_72445 WHERE \"County\" LIKE '%riverside%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Name the home team for carlton away team\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_77 WHERE away_team LIKE \"%carlton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22767 (\n \"Year\" real,\n \"World\" real,\n \"Asia\" text,\n \"Africa\" text,\n \"Europe\" text,\n \"Latin America/Caribbean\" text,\n \"Northern America\" text,\n \"Oceania\" text\n)\n\nQUESTION: what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)?\nSQL QUERY:", "completion": "SELECT \"Asia\" FROM table_22767 WHERE \"Latin America/Caribbean\" LIKE '%783 (7.5%)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14656147_2 (\n week VARCHAR,\n record VARCHAR\n)\n\nQUESTION: List the record of 0-1 from the table?\nSQL QUERY:", "completion": "SELECT week FROM table_14656147_2 WHERE record LIKE \"%0-1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47482 (\n \"Company name\" text,\n \"Hardware Model\" text,\n \"Accreditation type\" text,\n \"Accreditation level\" text,\n \"Date\" text\n)\n\nQUESTION: When did Samsung Electronics Co LTD make the GT-i9100?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_47482 WHERE \"Company name\" LIKE '%samsung electronics co ltd%' AND \"Hardware Model\" LIKE '%gt-i9100%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43208 (\n \"8:00\" text,\n \"8:30\" text,\n \"9:00\" text,\n \"9:30\" text,\n \"10:00\" text\n)\n\nQUESTION: What aired at 10:00 when Flashpoint aired at 9:30?\nSQL QUERY:", "completion": "SELECT \"10:00\" FROM table_43208 WHERE \"9:30\" LIKE '%flashpoint%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18904831_5 (\n record VARCHAR,\n high_rebounds VARCHAR\n)\n\nQUESTION: What was the record of the game in which Dydek (10) did the most high rebounds?\nSQL QUERY:", "completion": "SELECT record FROM table_18904831_5 WHERE high_rebounds LIKE \"%dydek (10)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10130 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: When was the game played at glenferrie oval?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_10130 WHERE \"Venue\" LIKE '%glenferrie oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7207 (\n \"Objects\" text,\n \"Date\" text,\n \"SiO 2\" real,\n \"Al 2 O 3\" real,\n \"Fe 2 O 3\" real,\n \"K 2 O\" real,\n \"Na 2 O\" real\n)\n\nQUESTION: What is the highest K 2 O, when Na 2 O is greater than 1.87, when Fe 2 O 3 is greater than 0.07, when Objects is Ritual Disk, and when Al 2 O 3 is less than 0.62?\nSQL QUERY:", "completion": "SELECT MAX(\"K 2 O\") FROM table_7207 WHERE \"Na 2 O\" > 1.87 AND \"Fe 2 O 3\" > 0.07 AND \"Objects\" LIKE '%ritual disk%' AND \"Al 2 O 3\" < 0.62"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72013 (\n \"Season\" text,\n \"Level\" text,\n \"Division\" text,\n \"Section\" text,\n \"Position\" text\n)\n\nQUESTION: Which section is in the 6th position?\nSQL QUERY:", "completion": "SELECT \"Section\" FROM table_72013 WHERE \"Position\" LIKE '%6th%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69300 (\n \"Name\" text,\n \"Years\" text,\n \"Gender\" text,\n \"Area\" text,\n \"Authority\" text,\n \"Decile\" real,\n \"Roll\" real\n)\n\nQUESTION: What is the area of the coed school with a state authority and a roll number of 122?\nSQL QUERY:", "completion": "SELECT \"Area\" FROM table_69300 WHERE \"Authority\" LIKE '%state%' AND \"Gender\" LIKE '%coed%' AND \"Roll\" = 122"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21696 (\n \"Winner\" text,\n \"Country\" text,\n \"Winter Olympics\" text,\n \"FIS Nordic World Ski Championships\" text,\n \"Holmenkollen\" text\n)\n\nQUESTION: What years did Birger Ruud win the FIS Nordic World Ski Championships?\nSQL QUERY:", "completion": "SELECT \"FIS Nordic World Ski Championships\" FROM table_21696 WHERE \"Winner\" LIKE '%birger ruud%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_116 (\n id number,\n \"no.\" number,\n \"player\" text,\n \"birth date\" text,\n \"weight\" number,\n \"height\" number,\n \"position\" text,\n \"current club\" text\n)\n\nQUESTION: how many members of estonia 's men 's national volleyball team were born in 1988 ?\nSQL QUERY:", "completion": "SELECT COUNT(\"player\") FROM table_203_116 WHERE \"birth date\" LIKE '%1988%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2818164_5 (\n no_in_season VARCHAR,\n original_air_date VARCHAR\n)\n\nQUESTION: What episoe number in the season originally aired on February 11, 1988?\nSQL QUERY:", "completion": "SELECT no_in_season FROM table_2818164_5 WHERE original_air_date LIKE '%february 11, 1988%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60686 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: What date was the match against adri n men ndez-maceiras?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_60686 WHERE \"Opponent\" LIKE '%adrián menéndez-maceiras%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_365 (\n id number,\n \"released\" text,\n \"video title\" text,\n \"company\" text,\n \"director\" text,\n \"notes\" text\n)\n\nQUESTION: did shoko goto make more films in 2004 or 2005 ?\nSQL QUERY:", "completion": "SELECT \"released\" FROM table_203_365 WHERE \"released\" IN ('2004', '2005') GROUP BY \"released\" ORDER BY COUNT(\"video title\") DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65116 (\n \"Date\" text,\n \"Venue\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: What venue listed is dated February 22, 2003?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_65116 WHERE \"Date\" LIKE '%february 22, 2003%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28772 (\n \"Portuguese name\" text,\n \"English name\" text,\n \"Subdivides in\" text,\n \"Equivalence in Varas\" text,\n \"Metrical equivalence\" text\n)\n\nQUESTION: Name the metrical equivalence for linha\nSQL QUERY:", "completion": "SELECT \"Metrical equivalence\" FROM table_28772 WHERE \"Portuguese name\" LIKE '%linha%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27132791_3 (\n position VARCHAR,\n college VARCHAR\n)\n\nQUESTION: If the college is SMU, what is the position?\nSQL QUERY:", "completion": "SELECT position FROM table_27132791_3 WHERE college LIKE \"%smu%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21876 (\n \"Season\" real,\n \"Date\" text,\n \"Winning Driver\" text,\n \"Car #\" real,\n \"Sponsor\" text,\n \"Make\" text,\n \"Team\" text,\n \"Avg Speed\" text,\n \"Margin of Victory\" text\n)\n\nQUESTION: What was the represented team on June 27?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_21876 WHERE \"Date\" LIKE '%june 27%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_910 (\n id number,\n \"rank\" number,\n \"name\" text,\n \"nationality\" text,\n \"result\" number,\n \"notes\" text\n)\n\nQUESTION: how many athletes had a better result than tatyana bocharova ?\nSQL QUERY:", "completion": "SELECT COUNT(\"name\") FROM table_204_910 WHERE \"result\" > (SELECT \"result\" FROM table_204_910 WHERE \"name\" LIKE '%tatyana bocharova%')"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8430 (\n \"Number\" text,\n \"Builder\" text,\n \"Type\" text,\n \"Date\" real,\n \"Length\" text,\n \"Capacity\" text\n)\n\nQUESTION: Which Type has a Capacity of 28 passengers, and a Number of 16?\nSQL QUERY:", "completion": "SELECT \"Type\" FROM table_8430 WHERE \"Capacity\" LIKE '%28 passengers%' AND \"Number\" LIKE '%16%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n round INTEGER,\n school VARCHAR\n)\n\nQUESTION: What was the highest round that had northwestern?\nSQL QUERY:", "completion": "SELECT MAX(round) FROM table_name_18 WHERE school LIKE \"%northwestern%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n wins INTEGER,\n position VARCHAR,\n poles VARCHAR\n)\n\nQUESTION: What is the smallest Wins with a Position of 20th, and Poles smaller than 0?\nSQL QUERY:", "completion": "SELECT MIN(wins) FROM table_name_19 WHERE position LIKE \"%20th%\" AND poles < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30306 (\n \"Year Location\" text,\n \"Mens Singles\" text,\n \"Womens Singles\" text,\n \"Mens Doubles\" text,\n \"Womens Doubles\" text\n)\n\nQUESTION: Who is listed under mens singles when womens has wang nan zhang yining?\nSQL QUERY:", "completion": "SELECT \"Mens Singles\" FROM table_30306 WHERE \"Womens Doubles\" LIKE '%wang nan zhang yining%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Behavior_Incident (\n date_incident_start VARCHAR,\n date_incident_end VARCHAR,\n incident_type_code VARCHAR\n)\n\nQUESTION: What are the start and end dates for incidents with incident type code 'NOISE'?\nSQL QUERY:", "completion": "SELECT date_incident_start, date_incident_end FROM Behavior_Incident WHERE incident_type_code LIKE '%noise%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29747178_2 (\n series__number VARCHAR,\n directed_by VARCHAR\n)\n\nQUESTION: What is the series # when the director is john showalter?\nSQL QUERY:", "completion": "SELECT series__number FROM table_29747178_2 WHERE directed_by LIKE '%john showalter%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19191 (\n \"Year\" real,\n \"League\" text,\n \"Reg. Season\" text,\n \"Playoffs\" text,\n \"US Open Cup\" text,\n \"Avg. Attendance\" real\n)\n\nQUESTION: What was the regular season standings for the year when the playoffs reached the conference semifinals and the team did not qualify for the US Open Cup?\nSQL QUERY:", "completion": "SELECT \"Reg. Season\" FROM table_19191 WHERE \"Playoffs\" LIKE '%conference semifinals%' AND \"US Open Cup\" LIKE '%did not qualify%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37490 (\n \"Name\" text,\n \"Gain\" real,\n \"Loss\" real,\n \"Long\" real,\n \"Avg/G\" real\n)\n\nQUESTION: How much Long has a Loss larger than 2, and a Gain of 157, and an Avg/G smaller than 129?\nSQL QUERY:", "completion": "SELECT SUM(\"Long\") FROM table_37490 WHERE \"Loss\" > 2 AND \"Gain\" = 157 AND \"Avg/G\" < 129"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7363 (\n \"Vol. #\" real,\n \"Title\" text,\n \"Material collected\" text,\n \"Pages\" real,\n \"ISBN\" text\n)\n\nQUESTION: How many pages does the edition with a volume # smaller than 8 and an ISBM of 1-40122-892-5 have?\nSQL QUERY:", "completion": "SELECT SUM(\"Pages\") FROM table_7363 WHERE \"Vol. #\" < 8 AND \"ISBN\" LIKE '%1-40122-892-5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n crowd INTEGER,\n away_team VARCHAR\n)\n\nQUESTION: What was the largest crowd when Collingwood was the away team?\nSQL QUERY:", "completion": "SELECT MAX(crowd) FROM table_name_67 WHERE away_team LIKE \"%collingwood%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24185 (\n \"Station\" text,\n \"Line\" text,\n \"Planned\" real,\n \"Cancelled\" real,\n \"Proposal\" text,\n \"Details\" text\n)\n\nQUESTION: Name the number of cancelled for turnham green\nSQL QUERY:", "completion": "SELECT COUNT(\"Cancelled\") FROM table_24185 WHERE \"Station\" LIKE '%turnham green%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n attendance INTEGER,\n record VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What is the Attendance of the game with a Record of 37 21 12 and less than 86 Points?\nSQL QUERY:", "completion": "SELECT AVG(attendance) FROM table_name_44 WHERE record LIKE \"%37–21–12%\" AND points < \"86\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23575917_2 (\n scores VARCHAR,\n davids_team VARCHAR\n)\n\nQUESTION: Name the scores for david baddiel and maureen lipman\nSQL QUERY:", "completion": "SELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team LIKE \"%david baddiel and maureen lipman%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n role VARCHAR,\n studio VARCHAR,\n title VARCHAR\n)\n\nQUESTION: Name the role for mono studio and title of paradise canyon\nSQL QUERY:", "completion": "SELECT role FROM table_name_62 WHERE studio LIKE \"%mono%\" AND title LIKE \"%paradise canyon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n total VARCHAR,\n finish VARCHAR\n)\n\nQUESTION: Name the total with finish of t22\nSQL QUERY:", "completion": "SELECT total FROM table_name_24 WHERE finish LIKE \"%t22%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3782 (\n \"Game\" real,\n \"January\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Decision\" text,\n \"Location/Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: If the opponent was @ Boston Bruins, what was the Location/Attendance?\nSQL QUERY:", "completion": "SELECT \"Location/Attendance\" FROM table_3782 WHERE \"Opponent\" LIKE '%@ boston bruins%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17060277_7 (\n high_rebounds VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Name the high rebounds for memphis\nSQL QUERY:", "completion": "SELECT high_rebounds FROM table_17060277_7 WHERE team LIKE \"%memphis%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77878 (\n \"Team\" text,\n \"Outgoing manager\" text,\n \"Manner of departure\" text,\n \"Date of vacancy\" text,\n \"Replaced by\" text,\n \"Date of appointment\" text\n)\n\nQUESTION: Tell me the outgoing manager for 22 november date of vacancy\nSQL QUERY:", "completion": "SELECT \"Outgoing manager\" FROM table_77878 WHERE \"Date of vacancy\" LIKE '%22 november%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50927 (\n \"Winner\" text,\n \"Country\" text,\n \"Winter Olympics\" real,\n \"FIS Nordic World Ski Championships\" text,\n \"Holmenkollen\" text\n)\n\nQUESTION: Who won the FIS Nordic World Ski Championships in 1972?\nSQL QUERY:", "completion": "SELECT \"Winner\" FROM table_50927 WHERE \"FIS Nordic World Ski Championships\" LIKE '%1972%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2187178_1 (\n listed_owner_s_ VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Name the listed owners for brevak racing\nSQL QUERY:", "completion": "SELECT listed_owner_s_ FROM table_2187178_1 WHERE team LIKE \"%brevak racing%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n points INTEGER,\n year VARCHAR,\n goals VARCHAR\n)\n\nQUESTION: What are the lowest points with 2013 as the year, and goals less than 0?\nSQL QUERY:", "completion": "SELECT MIN(points) FROM table_name_48 WHERE year LIKE \"%2013%\" AND goals < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24990183_7 (\n name VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: If the rank is 17, what are the names?\nSQL QUERY:", "completion": "SELECT name FROM table_24990183_7 WHERE rank LIKE '%17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n reservation VARCHAR\n)\n\nQUESTION: What is the 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9?\nSQL QUERY:", "completion": "SELECT SUM(1979) FROM table_name_51 WHERE reservation LIKE \"%standing rock indian reservation%\" AND 1989 < 54.9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49308 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: What is Opponent, when Attendance is 58,836?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_49308 WHERE \"Attendance\" LIKE '%58,836%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23576 (\n \"Story #\" real,\n \"Target #\" text,\n \"Title\" text,\n \"Author\" text,\n \"Reader\" text,\n \"Format\" text,\n \"Company\" text,\n \"Release Date\" text,\n \"Notes\" text\n)\n\nQUESTION: What's the title of the audio book with story number 91?\nSQL QUERY:", "completion": "SELECT \"Title\" FROM table_23576 WHERE \"Story #\" = 91"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43959 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Attendance\" text\n)\n\nQUESTION: Who was the home team against the Bolton Wanderers?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_43959 WHERE \"Away team\" LIKE '%bolton wanderers%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51600 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Tell me the away team score for away team of south melbourne\nSQL QUERY:", "completion": "SELECT \"Away team score\" FROM table_51600 WHERE \"Away team\" LIKE '%south melbourne%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55306 (\n \"Year\" real,\n \"Animal\" text,\n \"Artist\" text,\n \"Finish\" text,\n \"Mintage\" real,\n \"Issue Price\" text\n)\n\nQUESTION: What year was the downy woodpecker coin created?\nSQL QUERY:", "completion": "SELECT SUM(\"Year\") FROM table_55306 WHERE \"Animal\" LIKE '%downy woodpecker%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n opponent VARCHAR,\n save VARCHAR\n)\n\nQUESTION: Which opponent has a save of smith (22)?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_65 WHERE save LIKE '%smith (22)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n win_draw_lose VARCHAR,\n venue VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What was the result of the home game against Derby County?\nSQL QUERY:", "completion": "SELECT win_draw_lose FROM table_name_71 WHERE venue LIKE \"%home%\" AND team LIKE \"%derby county%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43812 (\n \"Club\" text,\n \"League goals\" text,\n \"FA Cup goals\" text,\n \"League Cup goals\" text,\n \"Total\" real\n)\n\nQUESTION: Which Total has a Club of darlington, and a League goals of 13, and a League Cup goals of 1?\nSQL QUERY:", "completion": "SELECT SUM(\"Total\") FROM table_43812 WHERE \"Club\" LIKE '%darlington%' AND \"League goals\" LIKE '%13%' AND \"League Cup goals\" LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_103 (\n \"id\" int,\n \"systolic_blood_pressure_sbp\" int,\n \"epilepsy\" bool,\n \"diastolic_blood_pressure_dbp\" int,\n \"heart_rate\" int,\n \"seizure_disorder\" bool,\n \"age\" float,\n \"NOUSE\" float\n)\n\nQUESTION: age 65 years and older\nSQL QUERY:", "completion": "SELECT * FROM table_train_103 WHERE age >= 65"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73846 (\n \"Season no.\" real,\n \"Series no.\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text,\n \"Production code\" text\n)\n\nQUESTION: What episode number in the season is titled 'stray'?\nSQL QUERY:", "completion": "SELECT MAX(\"Season no.\") FROM table_73846 WHERE \"Title\" LIKE '%stray%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_439 (\n \"Overall Pick #\" real,\n \"AFL Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What is the position for the pick number 17?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_439 WHERE \"Overall Pick #\" = 17"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15621965_18 (\n no INTEGER,\n position VARCHAR\n)\n\nQUESTION: WHAT WAS THE NUMBER OF THE ONLY FORWARD-CENTER TO MAKE THE ROSTER?\nSQL QUERY:", "completion": "SELECT MIN(no) FROM table_15621965_18 WHERE position LIKE \"%forward-center%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77295 (\n \"Year\" real,\n \"Team\" text,\n \"Co-Drivers\" text,\n \"Class\" text,\n \"Laps\" real,\n \"Pos.\" text,\n \"Class Pos.\" text\n)\n\nQUESTION: What was the class position of the team that was in the 4th position?\nSQL QUERY:", "completion": "SELECT \"Class Pos.\" FROM table_77295 WHERE \"Pos.\" LIKE '%4th%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2446333_2 (\n date VARCHAR,\n circuit VARCHAR\n)\n\nQUESTION: Name the date for eastern creek raceway\nSQL QUERY:", "completion": "SELECT date FROM table_2446333_2 WHERE circuit LIKE '%eastern creek raceway%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26850 (\n \"Governorate\" text,\n \"Kurdistan Democratic Party\" real,\n \"Patriotic Union of Kurdistan\" real,\n \"Total Kurdistan List\" real,\n \"Total Governorate Seats\" real\n)\n\nQUESTION: Name the least total kurdistan list\nSQL QUERY:", "completion": "SELECT MIN(\"Total Kurdistan List\") FROM table_26850"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45278 (\n \"Series Number\" real,\n \"Number of Episodes\" real,\n \"Original Air Date\" real,\n \"DVD Region 2 release date\" text,\n \"DVD Region 1 release date\" text\n)\n\nQUESTION: How many series originally aired before 1999 with more than 7 episodes and a DVD Region 1 release date of 16 april 2013?\nSQL QUERY:", "completion": "SELECT COUNT(\"Series Number\") FROM table_45278 WHERE \"Original Air Date\" < 1999 AND \"Number of Episodes\" > 7 AND \"DVD Region 1 release date\" LIKE '%16 april 2013%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n away VARCHAR,\n round VARCHAR\n)\n\nQUESTION: What away is there for the q3 round?\nSQL QUERY:", "completion": "SELECT away FROM table_name_68 WHERE round LIKE \"%q3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_652 (\n id number,\n \"goal\" number,\n \"date\" text,\n \"venue\" text,\n \"opponent\" text,\n \"score\" text,\n \"result\" text,\n \"competition\" text\n)\n\nQUESTION: how many competitions had a score of 1-0 at most ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_203_652 WHERE \"score\" LIKE '%1-0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66695 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the total number of Silver for the Nation with more than 1 Bronze and a Rank less than 5?\nSQL QUERY:", "completion": "SELECT COUNT(\"Silver\") FROM table_66695 WHERE \"Bronze\" > 1 AND \"Rank\" < 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_617 (\n id number,\n \"date\" text,\n \"opponent#\" text,\n \"rank#\" text,\n \"site\" text,\n \"tv\" text,\n \"result\" text,\n \"attendance\" number\n)\n\nQUESTION: who was the sooners opponent after usc ?\nSQL QUERY:", "completion": "SELECT \"opponent#\" FROM table_204_617 WHERE \"date\" > (SELECT \"date\" FROM table_204_617 WHERE \"opponent#\" LIKE '%usc%') ORDER BY \"date\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29902 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: How many times was the high rebounds by marcus camby (18)?\nSQL QUERY:", "completion": "SELECT COUNT(\"Date\") FROM table_29902 WHERE \"High rebounds\" LIKE '%marcus camby (18)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29469 (\n \"Team\" text,\n \"Head coach\" text,\n \"Team captain\" text,\n \"Kit maker\" text,\n \"Shirt sponsor\" text,\n \"Past Season\" text\n)\n\nQUESTION: What sponsor has the head coach Samad Marfavi?\nSQL QUERY:", "completion": "SELECT \"Shirt sponsor\" FROM table_29469 WHERE \"Head coach\" LIKE '%samad marfavi%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61636 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" real,\n \"Record\" text,\n \"Arena\" text,\n \"Points\" real\n)\n\nQUESTION: What is the Opponent at the Honda Center on March 29?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_61636 WHERE \"Arena\" LIKE '%honda center%' AND \"Date\" LIKE '%march 29%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2850912_10 (\n nhl_team VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which team drafted Ron Annear?\nSQL QUERY:", "completion": "SELECT nhl_team FROM table_2850912_10 WHERE player LIKE \"%ron annear%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n byes INTEGER,\n ballarat_fl VARCHAR,\n against VARCHAR\n)\n\nQUESTION: What is the average Byes that has Ballarat FL of Sunbury against more than 1167?\nSQL QUERY:", "completion": "SELECT AVG(byes) FROM table_name_70 WHERE ballarat_fl LIKE \"%sunbury%\" AND against > 1167"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2249029_1 (\n gdp_world_rank VARCHAR,\n asian_rank VARCHAR\n)\n\nQUESTION: Name the gdp world rank for asian rank being 20\nSQL QUERY:", "completion": "SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank LIKE '%20%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29160596_1 (\n top_mc VARCHAR,\n appearances VARCHAR,\n year_inducted VARCHAR\n)\n\nQUESTION: List all the MCs with 5 appearances who were inducted in 2007?\nSQL QUERY:", "completion": "SELECT top_mc FROM table_29160596_1 WHERE appearances LIKE '%5%' AND year_inducted LIKE '%2007%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_361 (\n id number,\n \"tie no\" number,\n \"home team\" text,\n \"score\" text,\n \"away team\" text\n)\n\nQUESTION: what comes after fiskeby if\nSQL QUERY:", "completion": "SELECT \"home team\" FROM table_204_361 WHERE id = (SELECT id FROM table_204_361 WHERE \"home team\" LIKE '%fiskeby if%') + 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n country VARCHAR,\n score VARCHAR\n)\n\nQUESTION: For what country does the golfer play who has a score of 72-65=137?\nSQL QUERY:", "completion": "SELECT country FROM table_name_47 WHERE score = '7'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n year VARCHAR,\n runner_up VARCHAR\n)\n\nQUESTION: When was the runner-up Jane Geddes?\nSQL QUERY:", "completion": "SELECT year FROM table_name_35 WHERE runner_up LIKE \"%jane geddes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45309 (\n \"Date\" text,\n \"Ship\" text,\n \"Type\" text,\n \"Nationality\" text,\n \"Tonnage GRT\" real,\n \"Fate\" text\n)\n\nQUESTION: what is the nationality when the ship is willerby?\nSQL QUERY:", "completion": "SELECT \"Nationality\" FROM table_45309 WHERE \"Ship\" LIKE '%willerby%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60037 (\n \"Letter\" text,\n \"American\" text,\n \"British\" text,\n \"Australian\" text,\n \"Examples\" text\n)\n\nQUESTION: What are the examples for the Australian ?\nSQL QUERY:", "completion": "SELECT \"Examples\" FROM table_60037 WHERE \"Australian\" LIKE '%æ%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57891 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Leading scorer\" text,\n \"Record\" text\n)\n\nQUESTION: What is the Date with a Leading scorer with maurice williams (25), and a Score with 102 105?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_57891 WHERE \"Leading scorer\" LIKE '%maurice williams (25)%' AND \"Score\" LIKE '%102–105%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n capacity INTEGER,\n position_in_2004 VARCHAR\n)\n\nQUESTION: What's the highest capacity for a position of 5 in 2004?\nSQL QUERY:", "completion": "SELECT MAX(capacity) FROM table_name_81 WHERE position_in_2004 LIKE \"%5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51428 (\n \"Player\" text,\n \"Height\" text,\n \"School\" text,\n \"Hometown\" text,\n \"College\" text,\n \"NBA Draft\" text\n)\n\nQUESTION: What is the NBA draft for ohio state?\nSQL QUERY:", "completion": "SELECT \"NBA Draft\" FROM table_51428 WHERE \"College\" LIKE '%ohio state%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_206 (\n id number,\n \"rank\" number,\n \"nation\" text,\n \"gold\" number,\n \"silver\" number,\n \"bronze\" number,\n \"total\" number\n)\n\nQUESTION: what country won the same number of bronze as great britain , yet did not win a gold medal ?\nSQL QUERY:", "completion": "SELECT \"nation\" FROM table_203_206 WHERE \"nation\" NOT LIKE '%great britain%' AND \"bronze\" = (SELECT \"bronze\" FROM table_203_206 WHERE \"nation\" LIKE '%great britain%') AND \"gold\" = 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55019 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: At what Venue was the Home team score 17.19 (121)?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_55019 WHERE \"Home team score\" LIKE '%17.19 (121)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2402864_1 (\n playoffs VARCHAR,\n open_cup VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What was the playoff result where the league did not qualify in the Open Cup in 1998?\nSQL QUERY:", "completion": "SELECT playoffs FROM table_2402864_1 WHERE open_cup LIKE '%did not qualify%' AND year = '1998'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n driver VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Who was the driver in 1964?\nSQL QUERY:", "completion": "SELECT driver FROM table_name_83 WHERE year LIKE \"%1964%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_274 (\n id number,\n \"church name\" text,\n \"address\" text,\n \"community\" text,\n \"school\" text\n)\n\nQUESTION: which is the first church located in los angeles ?\nSQL QUERY:", "completion": "SELECT \"church name\" FROM table_203_274 WHERE \"community\" LIKE '%los angeles%' ORDER BY id LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66129 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Record\" text,\n \"TV Time\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was the attendance for the game against miami dolphins?\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_66129 WHERE \"Opponent\" LIKE '%miami dolphins%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17360840_6 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the score of the game on December 11?\nSQL QUERY:", "completion": "SELECT score FROM table_17360840_6 WHERE date LIKE \"%december 11%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is the date they played against fitzroy?\nSQL QUERY:", "completion": "SELECT date FROM table_name_10 WHERE away_team LIKE \"%fitzroy%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40447 (\n \"Draw\" real,\n \"Artist\" text,\n \"Song\" text,\n \"Result\" text,\n \"Place\" real\n)\n\nQUESTION: What is the place of the song 'Never Change'?\nSQL QUERY:", "completion": "SELECT SUM(\"Place\") FROM table_40447 WHERE \"Song\" LIKE '%never change%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64035 (\n \"Draw\" real,\n \"Artist\" text,\n \"Song\" text,\n \"Percentage\" text,\n \"Place\" real\n)\n\nQUESTION: What song placed higher than#4?\nSQL QUERY:", "completion": "SELECT \"Song\" FROM table_64035 WHERE \"Place\" > 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n founded VARCHAR,\n suburb VARCHAR\n)\n\nQUESTION: What year was the Beaudesert suburb club founded\nSQL QUERY:", "completion": "SELECT founded FROM table_name_95 WHERE suburb LIKE \"%beaudesert%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41725 (\n \"Name\" text,\n \"Position\" text,\n \"Number\" real,\n \"School/Club Team\" text,\n \"Season\" text,\n \"Acquisition via\" text\n)\n\nQUESTION: How was the player in the position of Center acquired?\nSQL QUERY:", "completion": "SELECT \"Acquisition via\" FROM table_41725 WHERE \"Position\" LIKE '%center%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39879 (\n \"Region\" text,\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: Catalog Nebdj068 was released when?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_39879 WHERE \"Catalog\" LIKE '%nebdj068%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56418 (\n \"Season\" text,\n \"Cup FinalDate\" text,\n \"WinningTeam\" text,\n \"Score\" text,\n \"LosingTeam\" text,\n \"Cup Final Attendance\" text\n)\n\nQUESTION: On what date did the Brisbane Lions (1) win?\nSQL QUERY:", "completion": "SELECT \"Cup FinalDate\" FROM table_56418 WHERE \"WinningTeam\" LIKE '%brisbane lions (1)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23235767_1 (\n year VARCHAR,\n opponent_in_the_final VARCHAR,\n championship VARCHAR\n)\n\nQUESTION: What is every year where opponent in the final is John Mcenroe at Wimbledon?\nSQL QUERY:", "completion": "SELECT year FROM table_23235767_1 WHERE opponent_in_the_final LIKE \"%john mcenroe%\" AND championship LIKE \"%wimbledon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33727 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What was the home team for the game with more than 25,000 crowd?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_33727 WHERE \"Crowd\" > 25000"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n performance VARCHAR,\n athlete VARCHAR\n)\n\nQUESTION: What's the performance of Dire Tune?\nSQL QUERY:", "completion": "SELECT performance FROM table_name_89 WHERE athlete LIKE \"%dire tune%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26503 (\n \"Rnd\" real,\n \"Circuit\" text,\n \"LMP Winning Team\" text,\n \"LMPC Winning Team\" text,\n \"GT Winning Team\" text,\n \"GTC Winning Team\" text,\n \"Results\" text\n)\n\nQUESTION: What circuit had rnd 3?\nSQL QUERY:", "completion": "SELECT \"Circuit\" FROM table_26503 WHERE \"Rnd\" LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68453 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: What was the score in the match against Kim Tiilikainen?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_68453 WHERE \"Opponent\" LIKE '%kim tiilikainen%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n music_director VARCHAR,\n year INTEGER\n)\n\nQUESTION: Name a music director, belonging to a year after 2003?\nSQL QUERY:", "completion": "SELECT music_director FROM table_name_86 WHERE year > 2003"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44583 (\n \"Class\" text,\n \"Part 1\" text,\n \"Part 2\" text,\n \"Part 3\" text,\n \"Part 4\" text,\n \"Verb meaning\" text\n)\n\nQUESTION: What is the verb meaning for Saugen in part 1?\nSQL QUERY:", "completion": "SELECT \"Verb meaning\" FROM table_44583 WHERE \"Part 1\" LIKE '%saugen%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What date did the away team Mansfield Town play?\nSQL QUERY:", "completion": "SELECT date FROM table_name_56 WHERE away_team LIKE \"%mansfield town%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17914 (\n \"Team\" text,\n \"Location\" text,\n \"Stadium\" text,\n \"Founded\" real,\n \"Joined\" real,\n \"Head Coach\" text,\n \"Captain\" text\n)\n\nQUESTION: When was the team, whose captain is Matt Smith, founded?\nSQL QUERY:", "completion": "SELECT \"Founded\" FROM table_17914 WHERE \"Captain\" LIKE '%matt smith%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22824324_2 (\n three_pointers INTEGER,\n rebounds VARCHAR\n)\n\nQUESTION: What is the lowest number of three pointers in games where the number of rebounds was 178?\nSQL QUERY:", "completion": "SELECT MIN(three_pointers) FROM table_22824324_2 WHERE rebounds LIKE '%178%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62130 (\n \"Year\" real,\n \"Grand Slam\" text,\n \"Round\" text,\n \"Winner\" text,\n \"Loser\" text\n)\n\nQUESTION: What is the grand slam in 1987, when round shows first round, and Ivan Lendl won?\nSQL QUERY:", "completion": "SELECT \"Grand Slam\" FROM table_62130 WHERE \"Year\" = 1987 AND \"Round\" LIKE '%first round%' AND \"Winner\" LIKE '%ivan lendl%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE faculty (\n faculty INTEGER,\n YEAR VARCHAR\n)\n\nQUESTION: How many faculty is there in total in the year of 2002?\nSQL QUERY:", "completion": "SELECT SUM(faculty) FROM faculty WHERE YEAR LIKE '%2002%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56945 (\n \"Street\" text,\n \"West\" text,\n \"East\" text,\n \"# of lanes\" text,\n \"Traffic direction\" text\n)\n\nQUESTION: What is the traffic direction of 70th street?\nSQL QUERY:", "completion": "SELECT \"Traffic direction\" FROM table_56945 WHERE \"Street\" LIKE '%70th street%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16577990_1 (\n tree_species VARCHAR,\n central_forest_reserve VARCHAR\n)\n\nQUESTION: How many tree species are in the kitechura reserve?\nSQL QUERY:", "completion": "SELECT tree_species FROM table_16577990_1 WHERE central_forest_reserve LIKE \"%kitechura%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12013 (\n \"Rider\" text,\n \"Horse\" text,\n \"Faults\" text,\n \"Round 1 + 2A Points\" text,\n \"Total\" real\n)\n\nQUESTION: Tell me the horse when the faults are 9 and the total is 46.36\nSQL QUERY:", "completion": "SELECT \"Horse\" FROM table_12013 WHERE \"Faults\" LIKE '%9%' AND \"Total\" = 46.36"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_69 (\n total INTEGER,\n gold VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What average total has 0 as the gold, with 6 as the rank?\nSQL QUERY:", "completion": "SELECT AVG(total) FROM table_name_69 WHERE gold = '0' AND rank LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_3 (\n place VARCHAR,\n score VARCHAR\n)\n\nQUESTION: what is the place when the score is 68-70-68=206?\nSQL QUERY:", "completion": "SELECT place FROM table_name_3 WHERE score = '206'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_32 (\n id number,\n \"season\" number,\n \"division\" text,\n \"w-l\" text,\n \"finish\" text,\n \"home\" text,\n \"road\" text,\n \"gf\" number,\n \"ga\" number,\n \"coach\" text,\n \"playoffs\" text,\n \"avg attendance\" number\n)\n\nQUESTION: what year did the rush allow the most goals ?\nSQL QUERY:", "completion": "SELECT \"season\" FROM table_204_32 ORDER BY \"ga\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n week INTEGER,\n attendance VARCHAR\n)\n\nQUESTION: Total weeks of 49,980 attendance?\nSQL QUERY:", "completion": "SELECT SUM(week) FROM table_name_55 WHERE attendance LIKE '%49%' LIMIT 1 OFFSET 980"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_694 (\n id number,\n \"#\" number,\n \"name\" text,\n \"took office\" text,\n \"left office\" text,\n \"party\" text\n)\n\nQUESTION: nejat konuk and dervi ş ero ğ lu are from which party ?\nSQL QUERY:", "completion": "SELECT \"party\" FROM table_203_694 WHERE \"name\" LIKE '%nejat konuk%' OR \"name\" LIKE '%dervis eroglu%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n railway_number_s_ VARCHAR,\n class VARCHAR\n)\n\nQUESTION: What's the railway number of a D(rebuild) class?\nSQL QUERY:", "completion": "SELECT railway_number_s_ FROM table_name_28 WHERE class LIKE \"%d(rebuild)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_169 (\n \"id\" int,\n \"leukocytes\" int,\n \"hemoglobin_a1c_hba1c\" float,\n \"urine_albumin_excretion\" int,\n \"estimated_glomerular_filtration_rate_egfr\" int,\n \"glucola_beverage_gct\" int,\n \"age\" float,\n \"NOUSE\" float\n)\n\nQUESTION: screening egfr < 60 ml / min / 1.73 m2\nSQL QUERY:", "completion": "SELECT * FROM table_train_169 WHERE estimated_glomerular_filtration_rate_egfr < 60"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54361 (\n \"Candidate\" text,\n \"Contributions\" real,\n \"Loans Received\" real,\n \"All Receipts\" real,\n \"Operating Expenditures\" real,\n \"All Disbursements\" real\n)\n\nQUESTION: How much is the lowest Operating Expenditures when Contributions are more than 8,245,241?\nSQL QUERY:", "completion": "SELECT MIN(\"Operating Expenditures\") FROM table_54361 WHERE \"Contributions\" > 8245241"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70723 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: How many gold medals does the country ranked higher than 2 with more than 8 bronze have?\nSQL QUERY:", "completion": "SELECT SUM(\"Gold\") FROM table_70723 WHERE \"Rank\" < 2 AND \"Bronze\" > 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_873 (\n id number,\n \"model name\" text,\n \"length\" text,\n \"width\" text,\n \"height\" text,\n \"riders\" number,\n \"capacity\" number,\n \"description\" text,\n \"portable\" text,\n \"notes\" number\n)\n\nQUESTION: total number of models created .\nSQL QUERY:", "completion": "SELECT COUNT(DISTINCT \"model name\") FROM table_203_873"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53738 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Who was the home team when the away team was Footscray?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_53738 WHERE \"Away team\" LIKE '%footscray%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n position VARCHAR,\n years_for_jazz VARCHAR\n)\n\nQUESTION: Which position was active in Jazz in 2002-03?\nSQL QUERY:", "completion": "SELECT position FROM table_name_59 WHERE years_for_jazz LIKE \"%2002-03%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n actor VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Which actor won in 1966?\nSQL QUERY:", "completion": "SELECT actor FROM table_name_43 WHERE year LIKE '%1966%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3703 (\n \"Team\" text,\n \"Outgoing manager\" text,\n \"Manner of departure\" text,\n \"Date of vacancy\" text,\n \"Replaced by\" text,\n \"Date of appointment\" text\n)\n\nQUESTION: For outgoing manager is alberto malesani mention all the applicable replaced by person\nSQL QUERY:", "completion": "SELECT \"Replaced by\" FROM table_3703 WHERE \"Outgoing manager\" LIKE '%alberto malesani%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18703133_6 (\n losses VARCHAR,\n team VARCHAR\n)\n\nQUESTION: How many losses are there for team tembetary?\nSQL QUERY:", "completion": "SELECT losses FROM table_18703133_6 WHERE team LIKE \"%tembetary%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1053802_1 (\n main_presenters VARCHAR,\n region_country VARCHAR\n)\n\nQUESTION: What is the main presenter of bulgaria?\nSQL QUERY:", "completion": "SELECT main_presenters FROM table_1053802_1 WHERE region_country LIKE '%bulgaria%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28715942_5 (\n original_artist VARCHAR,\n vocal_percussionist VARCHAR\n)\n\nQUESTION: What is the original artist when the vocal percussionist is Alexei Kalveks?\nSQL QUERY:", "completion": "SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist LIKE '%alexei kalveks%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n total INTEGER,\n gold VARCHAR,\n bronze VARCHAR,\n nation VARCHAR\n)\n\nQUESTION: What is the sum of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States?\nSQL QUERY:", "completion": "SELECT SUM(total) FROM table_name_27 WHERE bronze > 2 AND nation LIKE '%united states%' AND gold > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66466 (\n \"Sport\" text,\n \"Body\" text,\n \"Year\" text,\n \"Event type\" text,\n \"Location\" text,\n \"Nations\" text\n)\n\nQUESTION: What nations participated in 2007?\nSQL QUERY:", "completion": "SELECT \"Nations\" FROM table_66466 WHERE \"Year\" LIKE '%2007%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11219 (\n \"Stage\" text,\n \"Winner\" text,\n \"General classification\" text,\n \"Points classification\" text,\n \"Trofeo Fast Team\" text\n)\n\nQUESTION: What stage did team Carrera Jeans-Tassoni have when Mario Cipollini won and Claudio Chiappucci had the points?\nSQL QUERY:", "completion": "SELECT \"Stage\" FROM table_11219 WHERE \"Trofeo Fast Team\" LIKE '%carrera jeans-tassoni%' AND \"Winner\" LIKE '%mario cipollini%' AND \"Points classification\" LIKE '%claudio chiappucci%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27597 (\n \"Team\" text,\n \"Outgoing manager\" text,\n \"Manner of departure\" text,\n \"Date of vacancy\" text,\n \"Position in table\" text,\n \"Replaced by\" text,\n \"Date of appointment\" text\n)\n\nQUESTION: Name the replaced by for august 9\nSQL QUERY:", "completion": "SELECT \"Replaced by\" FROM table_27597 WHERE \"Date of vacancy\" LIKE '%august 9%' AND \"Date of appointment\" LIKE '%august 9%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n venue VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What venue was on 27 May 2000?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_81 WHERE date LIKE \"%27 may 2000%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n to_par VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Which To par has a Year of 1994?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_24 WHERE year LIKE '%1994%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14553 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" real\n)\n\nQUESTION: When were there less than 1 point with a cosworth v8 engine in jolly club switzerland?\nSQL QUERY:", "completion": "SELECT \"Year\" FROM table_14553 WHERE \"Points\" < 1 AND \"Engine\" LIKE '%cosworth v8%' AND \"Entrant\" LIKE '%jolly club switzerland%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20718 (\n \"Institution\" text,\n \"Location\" text,\n \"Team Nickname\" text,\n \"Joined TSCHL\" real,\n \"Home Arena\" text,\n \"Capacity\" real,\n \"Team Website\" text\n)\n\nQUESTION: For the flyers, what's the minimum capacity?\nSQL QUERY:", "completion": "SELECT MIN(\"Capacity\") FROM table_20718 WHERE \"Team Nickname\" LIKE '%flyers%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23292220_17 (\n scores VARCHAR,\n seans_team VARCHAR\n)\n\nQUESTION: Name the scores for chris ramsey and carol vorderman\nSQL QUERY:", "completion": "SELECT scores FROM table_23292220_17 WHERE seans_team LIKE \"%chris ramsey and carol vorderman%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n games VARCHAR,\n tied VARCHAR\n)\n\nQUESTION: What is the number of games for the season with 10 ties?\nSQL QUERY:", "completion": "SELECT games FROM table_name_86 WHERE tied LIKE '%10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8509 (\n \"White\" text,\n \"Black\" text,\n \"Year\" real,\n \"Result\" text,\n \"Moves\" real,\n \"Tournament\" text,\n \"Opening\" text\n)\n\nQUESTION: What year had 32 moves?\nSQL QUERY:", "completion": "SELECT SUM(\"Year\") FROM table_8509 WHERE \"Moves\" = 32"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_343 (\n id number,\n \"nation\" text,\n \"model\" text,\n \"length\" text,\n \"barrel length\" text,\n \"weight\" text\n)\n\nQUESTION: how long was the m1894 rifle 's barrel ?\nSQL QUERY:", "completion": "SELECT \"barrel length\" FROM table_204_343 WHERE \"model\" LIKE '%m1894 rifle%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n att INTEGER,\n yards VARCHAR,\n long VARCHAR\n)\n\nQUESTION: How many Atts that have Yards of 43 and a Long larger than 43?\nSQL QUERY:", "completion": "SELECT SUM(att) FROM table_name_65 WHERE yards LIKE '%43%' AND long > 43"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56316 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: Which constructor has a Time/Retired of +37.311?\nSQL QUERY:", "completion": "SELECT \"Constructor\" FROM table_56316 WHERE \"Time/Retired\" LIKE '%+37.311%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n tournament VARCHAR\n)\n\nQUESTION: What is the 2007 result when the 2010 result was 2r, at the US Open?\nSQL QUERY:", "completion": "SELECT 2007 FROM table_name_91 WHERE 2010 = \"2r\" AND tournament LIKE \"%us open%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22277 (\n \"Departure\" text,\n \"Going to\" text,\n \"Calling at\" text,\n \"Arrival\" text,\n \"Operator\" text\n)\n\nQUESTION: when does the train arriving at bourne at 11.45 departure\nSQL QUERY:", "completion": "SELECT \"Departure\" FROM table_22277 WHERE \"Going to\" LIKE '%bourne%' AND \"Arrival\" = '11.45'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n time_retired VARCHAR,\n grid VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: Which Time/Retired has a Grid smaller than 3, and a Driver of mika h kkinen?\nSQL QUERY:", "completion": "SELECT time_retired FROM table_name_58 WHERE grid < 3 AND driver LIKE \"%mika häkkinen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n attendance INTEGER,\n date VARCHAR\n)\n\nQUESTION: What was the higest attendance on November 9, 1958?\nSQL QUERY:", "completion": "SELECT MAX(attendance) FROM table_name_4 WHERE date LIKE \"%november 9, 1958%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_78521 (\n \"Team\" text,\n \"Games Played\" real,\n \"Wins\" real,\n \"Losses\" real,\n \"Ties\" real,\n \"Goals For\" real,\n \"Goals Against\" real\n)\n\nQUESTION: How many losses did the team with 22 goals for andmore than 8 games played have?\nSQL QUERY:", "completion": "SELECT COUNT(\"Losses\") FROM table_78521 WHERE \"Goals For\" = 22 AND \"Games Played\" > 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2930244_3 (\n number_of_major_hurricanes INTEGER\n)\n\nQUESTION: What is the largest overall number of major hurricanes?\nSQL QUERY:", "completion": "SELECT MAX(number_of_major_hurricanes) FROM table_2930244_3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n proto_austronesian VARCHAR,\n proto_oceanic VARCHAR\n)\n\nQUESTION: Which Proto-Austronesian has a Proto-Oceanic of *lima?\nSQL QUERY:", "completion": "SELECT proto_austronesian FROM table_name_97 WHERE proto_oceanic LIKE '%*lima%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60349 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2 0?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_60349 WHERE \"Score\" LIKE '%2–0%' AND \"Home team\" LIKE '%wolverhampton wanderers%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55779 (\n \"Entrant\" text,\n \"Constructor\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Tyres\" text,\n \"Driver\" text,\n \"Rounds\" text\n)\n\nQUESTION: What was the featured in Engine through rounds 10-13?\nSQL QUERY:", "completion": "SELECT \"Engine\" FROM table_55779 WHERE \"Rounds\" LIKE '%10-13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67113 (\n \"School\" text,\n \"Team\" text,\n \"Division Record\" text,\n \"Overall Record\" text,\n \"Season Outcome\" text\n)\n\nQUESTION: What was Laurel's division record?\nSQL QUERY:", "completion": "SELECT \"Division Record\" FROM table_67113 WHERE \"School\" LIKE '%laurel%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30030227_1 (\n written_by VARCHAR,\n directed_by VARCHAR\n)\n\nQUESTION: How many people wrote the episode directed by Arvin Brown?\nSQL QUERY:", "completion": "SELECT COUNT(written_by) FROM table_30030227_1 WHERE directed_by LIKE \"%arvin brown%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70406 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" real\n)\n\nQUESTION: How many years was ensign n180b a Chassis with 4 points?\nSQL QUERY:", "completion": "SELECT SUM(\"Year\") FROM table_70406 WHERE \"Points\" = 4 AND \"Chassis\" LIKE '%ensign n180b%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75827 (\n \"Season\" text,\n \"Competition\" text,\n \"Round\" text,\n \"Opponent\" text,\n \"Home\" text,\n \"Away\" text,\n \"Series\" text\n)\n\nQUESTION: Which Opponent has an Away of 1 1, and a Home of 3 3?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_75827 WHERE \"Away\" LIKE '%1–1%' AND \"Home\" LIKE '%3–3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n venue VARCHAR,\n competition VARCHAR\n)\n\nQUESTION: What was the venue that had a friendly match competition?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_49 WHERE competition LIKE \"%friendly match%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1691800_2 (\n population__2010_ VARCHAR,\n municipality VARCHAR\n)\n\nQUESTION: what is the population where municipality is san jacinto?\nSQL QUERY:", "completion": "SELECT population__2010_ FROM table_1691800_2 WHERE municipality LIKE '%san jacinto%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n nba_draft VARCHAR,\n school VARCHAR\n)\n\nQUESTION: What is the NBA Draft for the School Bishop O'Connell High School?\nSQL QUERY:", "completion": "SELECT nba_draft FROM table_name_10 WHERE school LIKE \"%bishop o'connell high school%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33305 (\n \"Round\" real,\n \"Overall\" real,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What is the average round in which a Safety with an overall rank higher than 89 was drafted?\nSQL QUERY:", "completion": "SELECT AVG(\"Round\") FROM table_33305 WHERE \"Position\" LIKE '%safety%' AND \"Overall\" > 89"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33270 (\n \"Dance\" text,\n \"Best dancer\" text,\n \"Best score\" real,\n \"Worst dancer\" text,\n \"Worst score\" real\n)\n\nQUESTION: What is the average Worst score for Mario Lopez as the Best dancer and Tango as the Dance?\nSQL QUERY:", "completion": "SELECT AVG(\"Worst score\") FROM table_33270 WHERE \"Best dancer\" LIKE '%mario lopez%' AND \"Dance\" LIKE '%tango%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE roller_coaster (\n Status VARCHAR\n)\n\nQUESTION: Show the different statuses and the numbers of roller coasters for each status.\nSQL QUERY:", "completion": "SELECT Status, COUNT(*) FROM roller_coaster GROUP BY Status"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n character VARCHAR,\n year VARCHAR,\n award_ceremony VARCHAR\n)\n\nQUESTION: Which character was nominated in the 2010 Indian Television Academy Awards?\nSQL QUERY:", "completion": "SELECT character FROM table_name_1 WHERE year = '2010' AND award_ceremony LIKE '%indian television academy awards%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_166 (\n id number,\n \"pos\" text,\n \"no\" number,\n \"rider\" text,\n \"manufacturer\" text,\n \"laps\" number,\n \"time\" text,\n \"grid\" number,\n \"points\" number\n)\n\nQUESTION: which rider completed all 21 laps of the 2008 malaysian motorcycle grand prixwith the longest time ?\nSQL QUERY:", "completion": "SELECT \"rider\" FROM table_203_166 WHERE \"laps\" = 21 ORDER BY \"pos\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19654 (\n \"No. in series\" real,\n \"No. in season\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text,\n \"Production code\" real\n)\n\nQUESTION: Who directed the episode with the production code 176252?\nSQL QUERY:", "completion": "SELECT \"Directed by\" FROM table_19654 WHERE \"Production code\" = 176252"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_630 (\n id number,\n \"rank\" number,\n \"nation\" text,\n \"gold\" number,\n \"silver\" number,\n \"bronze\" number,\n \"total\" number\n)\n\nQUESTION: who won more gold medals , brazil or china ?\nSQL QUERY:", "completion": "SELECT \"nation\" FROM table_203_630 WHERE \"nation\" LIKE '%brazil%' OR \"nation\" LIKE '%china%' ORDER BY \"gold\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53058 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What date was the game played at Punt Road Oval?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_53058 WHERE \"Venue\" LIKE '%punt road oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3873 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Series\" text\n)\n\nQUESTION: What is the series number when al horford (10) had the high rebounds?\nSQL QUERY:", "completion": "SELECT \"Series\" FROM table_3873 WHERE \"High rebounds\" LIKE '%al horford (10)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26914759_3 (\n manner_of_departure VARCHAR,\n team VARCHAR,\n incoming_manager VARCHAR\n)\n\nQUESTION: What was the manner of departure for notts county with an incoming manager of martin allen\nSQL QUERY:", "completion": "SELECT manner_of_departure FROM table_26914759_3 WHERE team LIKE \"%notts county%\" AND incoming_manager LIKE \"%martin allen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29572583_20 (\n player VARCHAR,\n status VARCHAR\n)\n\nQUESTION: which player had the status to the fourth round lost to tsvetana pironkova [32] Answers:\nSQL QUERY:", "completion": "SELECT player FROM table_29572583_20 WHERE status LIKE \"%fourth round lost to tsvetana pironkova [32]%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76383 (\n \"Round\" real,\n \"Pick\" real,\n \"Overall\" real,\n \"Name\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What is the lowest round for an overall pick of 349 with a pick number in the round over 11?\nSQL QUERY:", "completion": "SELECT MIN(\"Round\") FROM table_76383 WHERE \"Overall\" = 349 AND \"Pick\" > 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38485 (\n \"Name\" text,\n \"Team\" text,\n \"Qual 1\" text,\n \"Qual 2\" real,\n \"Best\" real\n)\n\nQUESTION: Which team has a qualifying 2 time under 59.612 and a best of 59.14?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_38485 WHERE \"Qual 2\" < 59.612 AND \"Best\" = 59.14"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18734298_1 (\n title VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: What is the title of the production code 1acx09?\nSQL QUERY:", "completion": "SELECT title FROM table_18734298_1 WHERE production_code LIKE '%1acx09%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56896 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: The home team has a score of 12.9 (81) what is the score of the away team?\nSQL QUERY:", "completion": "SELECT \"Away team score\" FROM table_56896 WHERE \"Home team score\" LIKE '%12.9 (81)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_69 (\n runner_up VARCHAR,\n winning_score VARCHAR\n)\n\nQUESTION: Which Runner-up has a Winning score of 20 (70-69-64-65=268)?\nSQL QUERY:", "completion": "SELECT runner_up FROM table_name_69 WHERE winning_score = '-20'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27715173_8 (\n game VARCHAR,\n high_points VARCHAR\n)\n\nQUESTION: what is the game where the high points is by manu gin bili (26)?\nSQL QUERY:", "completion": "SELECT game FROM table_27715173_8 WHERE high_points LIKE \"%manu ginóbili (26)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50944 (\n \"Rider\" text,\n \"Manufacturer\" text,\n \"Laps\" real,\n \"Time\" text,\n \"Grid\" real\n)\n\nQUESTION: What are the average Laps on Grid 15?\nSQL QUERY:", "completion": "SELECT AVG(\"Laps\") FROM table_50944 WHERE \"Grid\" = 15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66598 (\n \"Year\" real,\n \"Competition\" text,\n \"Venue\" text,\n \"Position\" text,\n \"Event\" text,\n \"Notes\" text\n)\n\nQUESTION: What event was in a year later than 2007 and in the 88th position?\nSQL QUERY:", "completion": "SELECT \"Event\" FROM table_66598 WHERE \"Year\" > 2007 AND \"Position\" LIKE '%88th%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53525 (\n \"Position\" real,\n \"Club\" text,\n \"Played\" real,\n \"Points\" text,\n \"Wins\" real,\n \"Draws\" real,\n \"Losses\" real,\n \"Goals for\" real,\n \"Goals against\" real,\n \"Goal Difference\" real\n)\n\nQUESTION: Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?\nSQL QUERY:", "completion": "SELECT MAX(\"Goals against\") FROM table_53525 WHERE \"Wins\" = 19 AND \"Goals for\" > 53"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_871 (\n id number,\n \"#\" number,\n \"player\" text,\n \"pos\" text,\n \"pts\" number,\n \"tries\" number,\n \"conv\" number,\n \"pens\" number,\n \"drop\" number,\n \"opposition\" text,\n \"venue\" text,\n \"date\" text\n)\n\nQUESTION: what is the name of the first player on this list ?\nSQL QUERY:", "completion": "SELECT \"player\" FROM table_203_871 WHERE id = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_42917 (\n \"m\\u00e5cha\" text,\n \"indicative\" text,\n \"imperative\" text,\n \"subjunctive\" text,\n \"inverse subjunctive\" text\n)\n\nQUESTION: What inverse subjunctive has as the imperative and a subjunctive of se m chadn?\nSQL QUERY:", "completion": "SELECT \"inverse subjunctive\" FROM table_42917 WHERE \"imperative\" LIKE '%—%' AND \"subjunctive\" LIKE '%se måchadn%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n term_in_office VARCHAR,\n electorate VARCHAR,\n state VARCHAR,\n party VARCHAR\n)\n\nQUESTION: Which term in office has a qld state, a Party of labor, and an Electorate of fisher?\nSQL QUERY:", "completion": "SELECT term_in_office FROM table_name_76 WHERE state LIKE \"%qld%\" AND party LIKE \"%labor%\" AND electorate LIKE \"%fisher%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n score VARCHAR,\n money___$__ VARCHAR\n)\n\nQUESTION: What is the score for the player who won $3,600?\nSQL QUERY:", "completion": "SELECT score FROM table_name_40 WHERE money___$__ LIKE '%3,600%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72533 (\n \"Player\" text,\n \"Position\" text,\n \"Starter\" text,\n \"Touchdowns\" real,\n \"Extra points\" real,\n \"Field goals\" real,\n \"Points\" real\n)\n\nQUESTION: Name the most field goals\nSQL QUERY:", "completion": "SELECT MAX(\"Field goals\") FROM table_72533"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53833 (\n \"Year\" text,\n \"Winner\" text,\n \"Jockey\" text,\n \"Trainer\" text,\n \"Owner\" text,\n \"Distance\" text,\n \"Time\" text,\n \"Purse\" text\n)\n\nQUESTION: What year did jockey Ramon Dominguez have a distance of 1-1/16?\nSQL QUERY:", "completion": "SELECT \"Year\" FROM table_53833 WHERE \"Distance\" LIKE '%1-1/16%' AND \"Jockey\" LIKE '%ramon dominguez%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73867 (\n \"Constituency\" text,\n \"Candidate\" text,\n \"Affiliation\" text,\n \"Result - votes\" real,\n \"Result - %\" text,\n \"Loss/gain\" text\n)\n\nQUESTION: What is the largest vote result if loss/gain is -0.5%?\nSQL QUERY:", "completion": "SELECT MAX(\"Result - votes\") FROM table_73867 WHERE \"Loss/gain\" LIKE '%-0.5%%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36845 (\n \"Game\" real,\n \"December\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Record\" text\n)\n\nQUESTION: What is the sum for December when the record was 22-12-5?\nSQL QUERY:", "completion": "SELECT SUM(\"December\") FROM table_36845 WHERE \"Record\" LIKE '%22-12-5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22851 (\n \"Year\" real,\n \"Worldwide\" real,\n \"Africa\" real,\n \"America\" real,\n \"Asia\" real,\n \"Australia\" real,\n \"Europe\" real\n)\n\nQUESTION: How many members did Africa have the year that Australia had 94615?\nSQL QUERY:", "completion": "SELECT \"Africa\" FROM table_22851 WHERE \"Australia\" = 94615"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2533 (\n \"Outcome\" text,\n \"Year\" real,\n \"Championship\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score in the final\" text\n)\n\nQUESTION: List the total number of years that have a score of 3 6, 4 6, 2 6.\nSQL QUERY:", "completion": "SELECT COUNT(\"Year\") FROM table_2533 WHERE \"Score in the final\" LIKE '%3–6, 4–6, 2–6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55184 (\n \"Week\" text,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Kickoff [a ]\" text,\n \"Game site\" text,\n \"Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What is the result when the Indianapolis Colts are the opponents?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_55184 WHERE \"Opponent\" LIKE '%indianapolis colts%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15857 (\n \"Player\" text,\n \"No.\" real,\n \"Nationality\" text,\n \"Position\" text,\n \"Years in Toronto\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: Who played in the Toronto Raptors from 1995-96?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_15857 WHERE \"Years in Toronto\" LIKE '%1995-96%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341472_15 (\n first_elected VARCHAR,\n district VARCHAR\n)\n\nQUESTION: what's the first elected with district illinois 18\nSQL QUERY:", "completion": "SELECT first_elected FROM table_1341472_15 WHERE district LIKE '%illinois 18%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79458 (\n \"Title\" text,\n \"Series\" text,\n \"Director\" text,\n \"Production Number\" real,\n \"Release date\" text\n)\n\nQUESTION: What is the highest production number released on 1955-04-02 with i. freleng as the director?\nSQL QUERY:", "completion": "SELECT MAX(\"Production Number\") FROM table_79458 WHERE \"Director\" LIKE '%i. freleng%' AND \"Release date\" LIKE '%1955-04-02%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n skip VARCHAR,\n third VARCHAR\n)\n\nQUESTION: What is the Skip when the Third was john morris?\nSQL QUERY:", "completion": "SELECT skip FROM table_name_61 WHERE third LIKE \"%john morris%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48113 (\n \"Province\" text,\n \"Largest city\" text,\n \"2nd Largest\" text,\n \"3rd Largest\" text,\n \"4th largest\" text\n)\n\nQUESTION: What is the 3rd largest when 2nd largest in Minab?\nSQL QUERY:", "completion": "SELECT \"3rd Largest\" FROM table_48113 WHERE \"2nd Largest\" LIKE '%minab%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6658 (\n \"Date\" text,\n \"City\" text,\n \"Opponent\" text,\n \"Results\\u00b9\" text,\n \"Type of game\" text\n)\n\nQUESTION: What type of game was held against France with the results of 3:1?\nSQL QUERY:", "completion": "SELECT \"Type of game\" FROM table_6658 WHERE \"Results¹\" LIKE '%3:1%' AND \"Opponent\" LIKE '%france%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31987 (\n \"Year\" real,\n \"Album\" text,\n \"Song\" text,\n \"Label\" text,\n \"Catalog#\" text,\n \"Format\" text,\n \"Country\" text\n)\n\nQUESTION: Which song had Central Station as a label and whose album was Various - Wild Nights 4?\nSQL QUERY:", "completion": "SELECT \"Song\" FROM table_31987 WHERE \"Label\" LIKE '%central station%' AND \"Album\" LIKE '%various - wild nights 4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10510 (\n \"Season\" text,\n \"Winner\" text,\n \"Team\" text,\n \"Position\" text,\n \"Win #\" real\n)\n\nQUESTION: Who had more than 3 wins?\nSQL QUERY:", "completion": "SELECT \"Winner\" FROM table_10510 WHERE \"Win #\" > 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66500 (\n \"Draw\" real,\n \"Artist\" text,\n \"Song\" text,\n \"Televote/SMS\" text,\n \"Place\" real\n)\n\nQUESTION: how many times was the televote/sms 2.39% and the place more than 9?\nSQL QUERY:", "completion": "SELECT COUNT(\"Draw\") FROM table_66500 WHERE \"Televote/SMS\" LIKE '%2.39%%' AND \"Place\" > 9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_119 (\n \"id\" int,\n \"systolic_blood_pressure_sbp\" int,\n \"hemoglobin_a1c_hba1c\" float,\n \"diastolic_blood_pressure_dbp\" int,\n \"hypotension\" bool,\n \"allergy_to_milk\" bool,\n \"allergy_to_soy\" bool,\n \"body_mass_index_bmi\" float,\n \"plasma_creatinine\" float,\n \"NOUSE\" float\n)\n\nQUESTION: plasma creatinine > 2 mg / dl.\nSQL QUERY:", "completion": "SELECT * FROM table_train_119 WHERE plasma_creatinine > 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_177 (\n id number,\n \"player\" text,\n \"years played\" text,\n \"total w-l\" text,\n \"singles w-l\" text,\n \"doubles w-l\" text\n)\n\nQUESTION: how many years did an jae sung play ?\nSQL QUERY:", "completion": "SELECT \"years played\" FROM table_204_177 WHERE \"player\" LIKE '%an jae-sung%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39203 (\n \"Week\" text,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Record\" text\n)\n\nQUESTION: Name the week for date of bye\nSQL QUERY:", "completion": "SELECT \"Week\" FROM table_39203 WHERE \"Date\" LIKE '%bye%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79845 (\n \"Title\" text,\n \"Album\" text,\n \"Country\" text,\n \"Peak position\" real,\n \"Weeks on chart\" real\n)\n\nQUESTION: what is the most weeks on chart when the peak position is less than 5 and from Sweden?\nSQL QUERY:", "completion": "SELECT MAX(\"Weeks on chart\") FROM table_79845 WHERE \"Peak position\" < 5 AND \"Country\" LIKE '%sweden%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n series VARCHAR,\n season VARCHAR\n)\n\nQUESTION: What was the series in season 2009?\nSQL QUERY:", "completion": "SELECT series FROM table_name_61 WHERE season LIKE '%2009%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45338 (\n \"Year\" real,\n \"Domestic freight\" real,\n \"Domestic mail\" real,\n \"International freight\" real,\n \"International mail\" real,\n \"Total freight and mail\" real,\n \"Change\" text\n)\n\nQUESTION: What is the international mail with the highest number that has a change of +0,2% and less than 0 domestic mail?\nSQL QUERY:", "completion": "SELECT MAX(\"International mail\") FROM table_45338 WHERE \"Change\" LIKE '+0,2%' AND \"Domestic mail\" < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53964 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: How is the crowd of the team Geelong?\nSQL QUERY:", "completion": "SELECT AVG(\"Crowd\") FROM table_53964 WHERE \"Away team\" LIKE '%geelong%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70568 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: September 23, 1973 landed on which week of the season?\nSQL QUERY:", "completion": "SELECT \"Week\" FROM table_70568 WHERE \"Date\" LIKE '%september 23, 1973%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n location VARCHAR,\n method VARCHAR\n)\n\nQUESTION: Where was the method of tko?\nSQL QUERY:", "completion": "SELECT location FROM table_name_34 WHERE method LIKE \"%tko%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n partner VARCHAR,\n construction_start VARCHAR\n)\n\nQUESTION: What Partner has a Construction Start of 2008 january?\nSQL QUERY:", "completion": "SELECT partner FROM table_name_2 WHERE construction_start LIKE \"%2008 january%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n death VARCHAR,\n spouse VARCHAR\n)\n\nQUESTION: When was the date of death for the person married to Charles II?\nSQL QUERY:", "completion": "SELECT death FROM table_name_86 WHERE spouse LIKE \"%charles ii%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35942 (\n \"Outcome\" text,\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Partner\" text,\n \"Opponents in the final\" text,\n \"Score in the final\" text\n)\n\nQUESTION: In the final, who are the opponents of partner Simon Aspelin?\nSQL QUERY:", "completion": "SELECT \"Opponents in the final\" FROM table_35942 WHERE \"Partner\" LIKE '%simon aspelin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69618 (\n \"Representative\" text,\n \"Years\" text,\n \"State\" text,\n \"Party\" text,\n \"Lifespan\" text\n)\n\nQUESTION: Name the representative for party of whig\nSQL QUERY:", "completion": "SELECT \"Representative\" FROM table_69618 WHERE \"Party\" LIKE '%whig%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16185956_1 (\n status VARCHAR,\n results VARCHAR\n)\n\nQUESTION: What is the status of the district where the result is 63% 37%?\nSQL QUERY:", "completion": "SELECT status FROM table_16185956_1 WHERE results LIKE \"%63% 37%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n city_of_license VARCHAR,\n call_sign VARCHAR\n)\n\nQUESTION: Which City of license has a Call sign of k241an?\nSQL QUERY:", "completion": "SELECT city_of_license FROM table_name_68 WHERE call_sign LIKE \"%k241an%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73366 (\n \"Piano\" text,\n \"Conductor\" text,\n \"Orchestra\" text,\n \"Record Company\" text,\n \"Year of Recording\" real,\n \"Format\" text\n)\n\nQUESTION: Where is the orchestra when the year of recording is 1934?\nSQL QUERY:", "completion": "SELECT \"Orchestra\" FROM table_73366 WHERE \"Year of Recording\" = 1934"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22098274_1 (\n site VARCHAR,\n date VARCHAR\n)\n\nQUESTION: How many number of site have May 1, 2004 as the date?\nSQL QUERY:", "completion": "SELECT COUNT(site) FROM table_22098274_1 WHERE date LIKE \"%may 1, 2004%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40076 (\n \"Ring name\" text,\n \"Current rank\" text,\n \"Debut\" text,\n \"Stable\" text,\n \"Birthplace\" text\n)\n\nQUESTION: What is Current Rank, when Ring Name is Kimurayama Mamoru?\nSQL QUERY:", "completion": "SELECT \"Current rank\" FROM table_40076 WHERE \"Ring name\" LIKE '%kimurayama mamoru%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45574 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" real\n)\n\nQUESTION: What is the total number of To Par, when Score is '70-75-76=221'?\nSQL QUERY:", "completion": "SELECT COUNT(\"To par\") FROM table_45574 WHERE \"Score\" LIKE '%70-75-76=221%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36998 (\n \"Rank\" real,\n \"First quarter\" text,\n \"Second quarter\" text,\n \"Third quarter\" text,\n \"Fourth quarter\" text\n)\n\nQUESTION: With a rank of 2 what is the second quarter?\nSQL QUERY:", "completion": "SELECT \"Second quarter\" FROM table_36998 WHERE \"Rank\" = 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22126 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Results\" text,\n \"Candidates\" text\n)\n\nQUESTION: What party did hilda solis represent?\nSQL QUERY:", "completion": "SELECT \"Party\" FROM table_22126 WHERE \"Incumbent\" LIKE '%hilda solis%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12721 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What is the score for Greg Norman\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_12721 WHERE \"Player\" LIKE '%greg norman%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40579 (\n \"Spoofed Title\" text,\n \"Actual Title\" text,\n \"Writer\" text,\n \"Artist\" text,\n \"Issue\" real,\n \"Date\" text\n)\n\nQUESTION: What is the Artist with a Date that is june 1979?\nSQL QUERY:", "completion": "SELECT \"Artist\" FROM table_40579 WHERE \"Date\" LIKE '%june 1979%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22590 (\n \"No. in series\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text,\n \"Production code\" text\n)\n\nQUESTION: Name the total number of series for march 19, 2000\nSQL QUERY:", "completion": "SELECT COUNT(\"No. in series\") FROM table_22590 WHERE \"Original air date\" LIKE '%march 19, 2000%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14710 (\n \"Name\" text,\n \"Line\" text,\n \"Location\" text,\n \"Closed\" text,\n \"Current Status\" text\n)\n\nQUESTION: What is the line of the station in Toolamba that is currently demolished and closed in the late 1970s?\nSQL QUERY:", "completion": "SELECT \"Line\" FROM table_14710 WHERE \"Current Status\" LIKE '%demolished%' AND \"Closed\" LIKE '%late 1970s%' AND \"Location\" LIKE '%toolamba%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30058355_3 (\n thurs_25_aug VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What is every value on Thursday August 25 for rank 3?\nSQL QUERY:", "completion": "SELECT thurs_25_aug FROM table_30058355_3 WHERE rank LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2876467_3 (\n total_top_3_placements VARCHAR,\n region_represented VARCHAR\n)\n\nQUESTION: How many values of total top 3 placements does Taiwan have?\nSQL QUERY:", "completion": "SELECT COUNT(total_top_3_placements) FROM table_2876467_3 WHERE region_represented LIKE \"%taiwan%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n date VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What is the Date for the game at michie stadium west point, ny?\nSQL QUERY:", "completion": "SELECT date FROM table_name_80 WHERE location LIKE \"%michie stadium • west point, ny%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n against INTEGER,\n draws VARCHAR,\n losses VARCHAR,\n byes VARCHAR\n)\n\nQUESTION: Can you tell me the highest Against that has the Losses larger than 9, and the Byes of 2, and the Draws larger than 0?\nSQL QUERY:", "completion": "SELECT MAX(against) FROM table_name_56 WHERE losses > '9' AND byes LIKE '%2%' AND draws > '0'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n date VARCHAR,\n type VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: When is a Type of tko, and an Opponent of jesse brinkley\nSQL QUERY:", "completion": "SELECT date FROM table_name_53 WHERE type LIKE \"%tko%\" AND opponent LIKE \"%jesse brinkley%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n commissioned VARCHAR,\n launched VARCHAR,\n pennant_number VARCHAR\n)\n\nQUESTION: Which commission was launched 28 june 1934, and has a Pennant number of h.78?\nSQL QUERY:", "completion": "SELECT commissioned FROM table_name_40 WHERE launched LIKE \"%28 june 1934%\" AND pennant_number LIKE \"%h.78%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_78639 (\n \"Team\" text,\n \"2003\\u201304 Pts\" text,\n \"2004\\u201305 Pts\" text,\n \"2001\\u201302 Pts\" real,\n \"Total Pts\" real,\n \"Total Pld\" real\n)\n\nQUESTION: Which Total Pts have a 2001 02 Pts smaller than 38?\nSQL QUERY:", "completion": "SELECT MIN(\"Total Pts\") FROM table_78639 WHERE \"2001\\u201302 Pts\" < 38"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61910 (\n \"Name in English\" text,\n \"Name in Malay\" text,\n \"Acronym\" text,\n \"Foundation\" text,\n \"Location\" text\n)\n\nQUESTION: What is the acronym for the name Malay of Kolej Komuniti Sungai Petani?\nSQL QUERY:", "completion": "SELECT \"Acronym\" FROM table_61910 WHERE \"Name in Malay\" LIKE '%kolej komuniti sungai petani%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14058433_4 (\n points_against VARCHAR,\n won VARCHAR\n)\n\nQUESTION: what's the points against with won being 11\nSQL QUERY:", "completion": "SELECT points_against FROM table_14058433_4 WHERE won LIKE \"%11%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29788 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What was the team score when Tim Duncan (12) got the high rebounds?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_29788 WHERE \"High rebounds\" LIKE '%tim duncan (12)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n constellation VARCHAR,\n apparent_magnitude VARCHAR,\n ngc_number VARCHAR\n)\n\nQUESTION: Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777\nSQL QUERY:", "completion": "SELECT constellation FROM table_name_60 WHERE apparent_magnitude > '7.7' AND ngc_number LIKE '%7777%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1805919_1 (\n standard_order INTEGER,\n transcription__based_on_pinyin_ VARCHAR\n)\n\nQUESTION: What is the place of the Pinyin transcription Xi Wangri?\nSQL QUERY:", "completion": "SELECT MAX(standard_order) FROM table_1805919_1 WHERE transcription__based_on_pinyin_ LIKE '%xi wangri%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23186738_9 (\n game INTEGER,\n score VARCHAR\n)\n\nQUESTION: Name the least game for score of l 93 109 (ot)\nSQL QUERY:", "completion": "SELECT MIN(game) FROM table_23186738_9 WHERE score LIKE '%l 93–109 (ot)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19864214_3 (\n pitcher VARCHAR,\n seasons VARCHAR\n)\n\nQUESTION: who was the pitcher in seasons 1982, 1984, 1985, 1987, 1988, 1989\nSQL QUERY:", "completion": "SELECT pitcher FROM table_19864214_3 WHERE seasons LIKE \"%1982, 1984, 1985, 1987, 1988, 1989%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28498999_5 (\n player VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What is the player listed when the score is 68-70-68-69=275\nSQL QUERY:", "completion": "SELECT player FROM table_28498999_5 WHERE score = '275'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25244412_1 (\n renewable_electricity__gw INTEGER,\n state VARCHAR\n)\n\nQUESTION: What is the maximum renewable energy (gw h) for the state of Delaware?\nSQL QUERY:", "completion": "SELECT MAX(renewable_electricity__gw) AS •h_ FROM table_25244412_1 WHERE state LIKE \"%delaware%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75338 (\n \"Game\" text,\n \"Date\" text,\n \"Home Team\" text,\n \"Result\" text,\n \"Road Team\" text\n)\n\nQUESTION: Which game had a result of 126-95?\nSQL QUERY:", "completion": "SELECT \"Game\" FROM table_75338 WHERE \"Result\" LIKE '%126-95%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20007 (\n \"Position\" real,\n \"Team\" text,\n \"Points\" real,\n \"Played\" real,\n \"Won\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"For\" real,\n \"Against\" real,\n \"Difference\" text\n)\n\nQUESTION: Which team had 21 points?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_20007 WHERE \"Points\" = 21"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n overall INTEGER,\n round VARCHAR,\n pick__number VARCHAR\n)\n\nQUESTION: With Round 3 and Pick # over 10, what is the higher Overall number?\nSQL QUERY:", "completion": "SELECT MAX(overall) FROM table_name_38 WHERE round LIKE '%3%' AND pick__number > 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22779004_1 (\n tournament_winner VARCHAR,\n conference VARCHAR\n)\n\nQUESTION: Who is the tournament winner in the Atlantic Coast Conference?\nSQL QUERY:", "completion": "SELECT tournament_winner FROM table_22779004_1 WHERE conference LIKE \"%atlantic coast conference%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3580 (\n \"Title and source\" text,\n \"Developer\" text,\n \"Publisher\" text,\n \"First released\" text,\n \"Japan\" text,\n \"Europe\" text,\n \"North America\" text,\n \"Exclusive\" text,\n \"Move-only\" text\n)\n\nQUESTION: What is the title and source for the game developed by Hydravision Entertainment?\nSQL QUERY:", "completion": "SELECT \"Title and source\" FROM table_3580 WHERE \"Developer\" LIKE '%hydravision entertainment%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35540 (\n \"Round\" real,\n \"Pick #\" real,\n \"Overall\" real,\n \"Name\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: Which college has fewer than 2 rounds?\nSQL QUERY:", "completion": "SELECT \"College\" FROM table_35540 WHERE \"Round\" < 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n score VARCHAR,\n odds VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the score for a game with the odds of p + 2 after 1847?\nSQL QUERY:", "completion": "SELECT score FROM table_name_36 WHERE odds LIKE \"%p + 2%\" AND date > '1847'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27021001_1 (\n district VARCHAR,\n result VARCHAR\n)\n\nQUESTION: What is the district with the result mac collins (r) unopposed?\nSQL QUERY:", "completion": "SELECT district FROM table_27021001_1 WHERE result LIKE \"%mac collins (r) unopposed%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2249087_1 (\n world_rank INTEGER,\n south_american_rank VARCHAR\n)\n\nQUESTION: Name the least world rank for south american rank 3\nSQL QUERY:", "completion": "SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_american_rank LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65068 (\n \"Project\" text,\n \"License\" text,\n \"Date\" text,\n \"Protocol\" text,\n \"Technology\" text,\n \"Server\" text,\n \"Client\" text,\n \"Web Client\" text,\n \"Multiple Sessions\" text,\n \"Encryption\" text,\n \"Authentication\" text,\n \"Data Compression\" text,\n \"Image Quality\" text,\n \"Color Quality\" text,\n \"File Transfer\" text,\n \"Clipboard Transfer\" text,\n \"Chat\" text,\n \"Relay\" text,\n \"HTTP Tunnel\" text,\n \"Proxy\" text\n)\n\nQUESTION: what is the color quality when the proxy is x, the encryption is x, the webclient is x and authentication is ?\nSQL QUERY:", "completion": "SELECT \"Color Quality\" FROM table_65068 WHERE \"Proxy\" LIKE '%x%' AND \"Encryption\" LIKE '%x%' AND \"Web Client\" LIKE '%x%' AND \"Authentication\" LIKE '%✓%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_600 (\n id number,\n \"rank\" text,\n \"country\" text,\n \"winners\" number,\n \"runners-up\" number,\n \"finals total\" number\n)\n\nQUESTION: what was the number of winners from spain ?\nSQL QUERY:", "completion": "SELECT \"winners\" FROM table_203_600 WHERE \"country\" LIKE '%spain%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14101 (\n \"Engine\" text,\n \"Displacement\" text,\n \"Years\" text,\n \"Usage\" text,\n \"Power\" text\n)\n\nQUESTION: What is the for the f136fb engine?\nSQL QUERY:", "completion": "SELECT \"Usage\" FROM table_14101 WHERE \"Engine\" LIKE '%f136fb%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23537091_1 (\n copper_age VARCHAR,\n ubaid_period_in_mesopotamia VARCHAR\n)\n\nQUESTION: When middle assyrian empire is the ubaid period in mesopotamia what is the copper age?\nSQL QUERY:", "completion": "SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia LIKE \"%middle assyrian empire%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40250 (\n \"Position\" real,\n \"Team\" text,\n \"Points\" real,\n \"Played\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Against\" real,\n \"Difference\" text\n)\n\nQUESTION: How many Against have a Team of hespanha, and Points smaller than 30?\nSQL QUERY:", "completion": "SELECT COUNT(\"Against\") FROM table_40250 WHERE \"Team\" LIKE '%hespanha%' AND \"Points\" < 30"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n replaced_by VARCHAR,\n team VARCHAR\n)\n\nQUESTION: who is the replacement when the team is milton keynes dons?\nSQL QUERY:", "completion": "SELECT replaced_by FROM table_name_10 WHERE team LIKE \"%milton keynes dons%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26368963_2 (\n under_17 VARCHAR,\n under_15 VARCHAR\n)\n\nQUESTION: What is every value for Under-17 if Under-15 is Maria Elena Ubina?\nSQL QUERY:", "completion": "SELECT under_17 FROM table_26368963_2 WHERE under_15 LIKE \"%maria elena ubina%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15444 (\n \"Name\" text,\n \"Years\" text,\n \"League\" text,\n \"FA Cup\" text,\n \"League Cup\" text,\n \"Europe\" text,\n \"Other [C ]\" text,\n \"Total\" text\n)\n\nQUESTION: What league has a value of 0 29 (152) for Europe?\nSQL QUERY:", "completion": "SELECT \"League\" FROM table_15444 WHERE \"Europe\" LIKE '%0 29 (152)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13261 (\n \"Rank\" real,\n \"Player\" text,\n \"County\" text,\n \"Tally\" text,\n \"Total\" real,\n \"Opposition\" text\n)\n\nQUESTION: Which Tally has a County of limerick, and a Rank larger than 1?\nSQL QUERY:", "completion": "SELECT \"Tally\" FROM table_13261 WHERE \"County\" LIKE '%limerick%' AND \"Rank\" > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n comp INTEGER,\n rating VARCHAR,\n yds_game VARCHAR,\n name VARCHAR\n)\n\nQUESTION: Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77?\nSQL QUERY:", "completion": "SELECT MAX(comp) FROM table_name_19 WHERE yds_game > '0' AND name LIKE '%bostick%' AND rating < '91.77'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79591 (\n \"Location\" text,\n \"Name of mill\" text,\n \"Type\" text,\n \"Built\" real,\n \"Notes\" text\n)\n\nQUESTION: What is year Built of the Moulin de Momalle Mill?\nSQL QUERY:", "completion": "SELECT MAX(\"Built\") FROM table_79591 WHERE \"Name of mill\" LIKE '%moulin de momalle%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25220821_3 (\n rider VARCHAR,\n thurs_3_june VARCHAR\n)\n\nQUESTION: If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders?\nSQL QUERY:", "completion": "SELECT rider FROM table_25220821_3 WHERE thurs_3_june LIKE \"%20' 27.93 110.615mph%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n capacity VARCHAR,\n opened VARCHAR\n)\n\nQUESTION: What is the total capacity of venues that opened in 1999?\nSQL QUERY:", "completion": "SELECT COUNT(capacity) FROM table_name_15 WHERE opened LIKE \"%1999%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2367847_2 (\n middle_schools INTEGER,\n year VARCHAR\n)\n\nQUESTION: Name the most middle schools for 2005-2006\nSQL QUERY:", "completion": "SELECT MAX(middle_schools) FROM table_2367847_2 WHERE year LIKE \"%2005-2006%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13258851_2 (\n record VARCHAR,\n game_site VARCHAR\n)\n\nQUESTION: What was the record set during the game played at Hubert H. Humphrey Metrodome?\nSQL QUERY:", "completion": "SELECT record FROM table_13258851_2 WHERE game_site LIKE '%hubert h. humphrey metrodome%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n tournament VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the tournament for march 25, 2012\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_24 WHERE date LIKE \"%march 25, 2012%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_154 (\n id number,\n \"player\" text,\n \"matches\" number,\n \"innings\" number,\n \"runs\" number,\n \"average\" number,\n \"100s\" number,\n \"50s\" number\n)\n\nQUESTION: what were the number of innings albert clapp had ?\nSQL QUERY:", "completion": "SELECT \"innings\" FROM table_204_154 WHERE \"player\" LIKE '%albert clapp%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22025 (\n \"Club\" text,\n \"Played\" text,\n \"Won\" text,\n \"Drawn\" text,\n \"Lost\" text,\n \"Points for\" text,\n \"Points against\" text,\n \"Tries for\" text,\n \"Tries against\" text,\n \"Try bonus\" text,\n \"Losing bonus\" text,\n \"Points\" text\n)\n\nQUESTION: Name the tries against when tries for is 30\nSQL QUERY:", "completion": "SELECT \"Tries against\" FROM table_22025 WHERE \"Tries for\" LIKE '%30%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n attendance INTEGER,\n week VARCHAR\n)\n\nQUESTION: How many people attended the game on week 3?\nSQL QUERY:", "completion": "SELECT AVG(attendance) FROM table_name_26 WHERE week LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_734 (\n id number,\n \"first name\" text,\n \"surname\" text,\n \"death year\" number,\n \"beginning of\\nservice\" text,\n \"end of\\nservice\" text,\n \"notes\" text\n)\n\nQUESTION: what is the total number of priests that have held the job in resita ?\nSQL QUERY:", "completion": "SELECT COUNT(\"first name\") FROM table_204_734"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46045 (\n \"Player\" text,\n \"Nationality\" text,\n \"Position\" text,\n \"Years for Grizzlies\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: Which school was Lawrence Roberts from ?\nSQL QUERY:", "completion": "SELECT \"School/Club Team\" FROM table_46045 WHERE \"Player\" LIKE '%lawrence roberts%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71388 (\n \"Goal\" real,\n \"Date\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: What was the date of the game that had a goal of 3?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_71388 WHERE \"Goal\" = 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n game VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the total number of games for the opponent in Washington?\nSQL QUERY:", "completion": "SELECT COUNT(game) FROM table_name_89 WHERE opponent LIKE \"%washington%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n player VARCHAR,\n position VARCHAR,\n loaned_to VARCHAR\n)\n\nQUESTION: What player that has a Position of df, and Loaned to is Stoke City?\nSQL QUERY:", "completion": "SELECT player FROM table_name_89 WHERE position LIKE \"%df%\" AND loaned_to LIKE \"%stoke city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n stadium VARCHAR,\n final_score VARCHAR\n)\n\nQUESTION: What stadium was the game held in when the final score was 17-31?\nSQL QUERY:", "completion": "SELECT stadium FROM table_name_88 WHERE final_score LIKE \"%17-31%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55144 (\n \"Title\" text,\n \"Publisher\" text,\n \"First Year\" text,\n \"Last Year\" text,\n \"Genre\" text\n)\n\nQUESTION: What is the first year for Popgun?\nSQL QUERY:", "completion": "SELECT \"First Year\" FROM table_55144 WHERE \"Title\" LIKE '%popgun%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n to_par VARCHAR,\n place VARCHAR\n)\n\nQUESTION: What is To Par, when Place is 3?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_43 WHERE place LIKE \"%3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n away_team VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: What away team has 7 as the tie no.?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_38 WHERE tie_no LIKE \"%7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n runner_up VARCHAR,\n year VARCHAR,\n champion VARCHAR\n)\n\nQUESTION: Which runner-up placed in a year prior to 2006 and whose Champion was Elon?\nSQL QUERY:", "completion": "SELECT runner_up FROM table_name_66 WHERE year < '2006' AND champion LIKE '%elon%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_655 (\n id number,\n \"year\" number,\n \"winner\" text,\n \"album\" text,\n \"other finalists\" text\n)\n\nQUESTION: what was the last winner 's album name ?\nSQL QUERY:", "completion": "SELECT \"album\" FROM table_204_655 ORDER BY \"year\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20200 (\n \"Player\" text,\n \"No.\" real,\n \"Nationality\" text,\n \"Position\" text,\n \"Years in Orlando\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: What is the number of the player who attended Delta State?\nSQL QUERY:", "completion": "SELECT MAX(\"No.\") FROM table_20200 WHERE \"School/Club Team\" LIKE '%delta state%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21530474_1 (\n region_s_ VARCHAR,\n chassis_code VARCHAR\n)\n\nQUESTION: Name the regions for usf45\nSQL QUERY:", "completion": "SELECT region_s_ FROM table_21530474_1 WHERE chassis_code LIKE '%usf45%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n laps VARCHAR,\n driver VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: How many laps for robin montgomerie-charrington, and a Grid smaller than 15?\nSQL QUERY:", "completion": "SELECT COUNT(laps) FROM table_name_18 WHERE driver LIKE \"%robin montgomerie-charrington%\" AND CAST(grid AS INTEGER) < 15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43573 (\n \"Result\" text,\n \"TUF Competitor\" text,\n \"Opponent\" text,\n \"Method\" text,\n \"Event\" text,\n \"Date\" text\n)\n\nQUESTION: who is the opponent when the method is tko (punches) at 4:26 of round 1?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_43573 WHERE \"Method\" LIKE '%tko (punches) at 4:26 of round 1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11271 (\n \"Draw\" real,\n \"Artist\" text,\n \"Song\" text,\n \"Points\" real,\n \"Place\" real\n)\n\nQUESTION: What's the sum of draw for artist hari mata hari with less than 70 points?\nSQL QUERY:", "completion": "SELECT SUM(\"Draw\") FROM table_11271 WHERE \"Artist\" LIKE '%hari mata hari%' AND \"Points\" < 70"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15226 (\n \"Pick\" real,\n \"Player\" text,\n \"Team\" text,\n \"Position\" text,\n \"School\" text\n)\n\nQUESTION: What number pick was the player for the Oakland Athletics who plays the 1B position?\nSQL QUERY:", "completion": "SELECT \"Pick\" FROM table_15226 WHERE \"Position\" LIKE '%1b%' AND \"Team\" LIKE '%oakland athletics%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27277284_28 (\n order_part_number VARCHAR,\n mult_1 VARCHAR\n)\n\nQUESTION: What is the oder part number for the model with 10x mult. 1?\nSQL QUERY:", "completion": "SELECT order_part_number FROM table_27277284_28 WHERE mult_1 LIKE '%10x%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_191105_4 (\n first_aired VARCHAR,\n performed_by VARCHAR\n)\n\nQUESTION: What is the date for the episode performed by Sue Manchester?\nSQL QUERY:", "completion": "SELECT first_aired FROM table_191105_4 WHERE performed_by LIKE \"%sue manchester%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14723382_1 (\n division INTEGER\n)\n\nQUESTION: What is the largest numbered?\nSQL QUERY:", "completion": "SELECT MAX(division) FROM table_14723382_1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n republican VARCHAR,\n green VARCHAR\n)\n\nQUESTION: Who was the Republican when the green was Harold Burbank?\nSQL QUERY:", "completion": "SELECT republican FROM table_name_27 WHERE green LIKE \"%harold burbank%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_20 (\n id number,\n \"represent\" text,\n \"contestant\" text,\n \"age\" number,\n \"height\" text,\n \"hometown\" text\n)\n\nQUESTION: what is the number of delegates younger than 20 ?\nSQL QUERY:", "completion": "SELECT COUNT(\"contestant\") FROM table_204_20 WHERE \"age\" < 20"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_111 (\n \"id\" int,\n \"mini_mental_state_examination_mmse\" int,\n \"liver_disease\" bool,\n \"geriatric_depression_scale_gds\" int,\n \"rosen_modified_hachinski_ischemic_score\" int,\n \"plasma_creatinine\" float,\n \"NOUSE\" float\n)\n\nQUESTION: current plasma creatinine >= 0.5 mg / dl\nSQL QUERY:", "completion": "SELECT * FROM table_train_111 WHERE plasma_creatinine >= 0.5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n venue VARCHAR,\n against VARCHAR\n)\n\nQUESTION: Which venue has 16 against?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_5 WHERE against = '16'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32112 (\n \"Name\" text,\n \"Martyred\" real,\n \"Place\" text,\n \"Beatified\" real,\n \"Canonised\" real\n)\n\nQUESTION: When was the first beatification in Korea that was canonised before 1984?\nSQL QUERY:", "completion": "SELECT MIN(\"Beatified\") FROM table_32112 WHERE \"Place\" LIKE '%korea%' AND \"Canonised\" < 1984"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17075 (\n \"Player\" text,\n \"Position\" text,\n \"School\" text,\n \"Hometown\" text,\n \"College\" text\n)\n\nQUESTION: How many schools did Derrick Green attend?\nSQL QUERY:", "completion": "SELECT COUNT(\"School\") FROM table_17075 WHERE \"Player\" LIKE '%derrick green%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n russian VARCHAR,\n avoirdupois_value VARCHAR\n)\n\nQUESTION: What Russian has an Avoirdupois value of 0.686 gr?\nSQL QUERY:", "completion": "SELECT russian FROM table_name_16 WHERE avoirdupois_value LIKE \"%0.686 gr%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n player VARCHAR,\n country VARCHAR,\n place VARCHAR\n)\n\nQUESTION: What player has The United States as the country, with t2 as the place?\nSQL QUERY:", "completion": "SELECT player FROM table_name_9 WHERE country LIKE \"%united states%\" AND place LIKE \"%t2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43705 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Attendance\" real,\n \"Record\" text,\n \"Points\" real\n)\n\nQUESTION: What was the highest points on October 12, when the attendance where is over 10,701?\nSQL QUERY:", "completion": "SELECT MAX(\"Points\") FROM table_43705 WHERE \"Date\" LIKE '%october 12%' AND \"Attendance\" > 10701"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40077 (\n \"Date\" text,\n \"Cover model\" text,\n \"Centerfold model\" text,\n \"Interview subject\" text,\n \"Pictorials\" text\n)\n\nQUESTION: Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley?\nSQL QUERY:", "completion": "SELECT \"Interview subject\" FROM table_40077 WHERE \"Pictorials\" LIKE '%christie brinkley%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n accreditation_level VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the accreditation level for the approved (awarded 05.12.12) date?\nSQL QUERY:", "completion": "SELECT accreditation_level FROM table_name_72 WHERE date LIKE \"%approved (awarded 05.12.12)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27753492_2 (\n mixed_doubles VARCHAR,\n tour VARCHAR\n)\n\nQUESTION: Who is the mixed doubled on the tour korea super series?\nSQL QUERY:", "completion": "SELECT mixed_doubles FROM table_27753492_2 WHERE tour LIKE '%korea super series%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25679 (\n \"Stage\" real,\n \"Winner\" text,\n \"General classification\" text,\n \"Mountains classification\" text,\n \"Points classification\" text,\n \"Youth classification\" text,\n \"Team Classification\" text\n)\n\nQUESTION: Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Points Classification?\nSQL QUERY:", "completion": "SELECT \"Mountains classification\" FROM table_25679 WHERE \"Youth classification\" LIKE '%nick frey%' AND \"Points classification\" LIKE '%tom zirbel%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n region VARCHAR,\n catalog VARCHAR\n)\n\nQUESTION: What Region has a Catalog of crgd 86136?\nSQL QUERY:", "completion": "SELECT region FROM table_name_47 WHERE catalog LIKE \"%crgd 86136%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n status VARCHAR,\n commissioned VARCHAR\n)\n\nQUESTION: What is the status of the fleet that was commissioned on July 28, 1963?\nSQL QUERY:", "completion": "SELECT status FROM table_name_9 WHERE commissioned LIKE '%july 28, 1963%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n pick INTEGER,\n player VARCHAR,\n round VARCHAR\n)\n\nQUESTION: What is the mean pick when the play is Marc Lewis (lhp) and the round is less than 20?\nSQL QUERY:", "completion": "SELECT AVG(pick) FROM table_name_76 WHERE player LIKE \"%marc lewis (lhp)%\" AND round < 20"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n label VARCHAR,\n date VARCHAR,\n catalog VARCHAR\n)\n\nQUESTION: Which label released the catalog Magik Muzik CD 07 on 28 March 2007?\nSQL QUERY:", "completion": "SELECT label FROM table_name_86 WHERE date LIKE \"%28 march 2007%\" AND catalog LIKE \"%magik muzik cd 07%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n laps VARCHAR,\n constructor VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: How many laps did BRM have with a grid of 11?\nSQL QUERY:", "completion": "SELECT COUNT(laps) FROM table_name_33 WHERE constructor LIKE \"%brm%\" AND grid = \"11\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n date VARCHAR,\n games VARCHAR,\n time VARCHAR\n)\n\nQUESTION: On what day was the record set at the 2002 Salt Lake City games with a time of 3:57.70?\nSQL QUERY:", "completion": "SELECT date FROM table_name_49 WHERE games LIKE \"%2002 salt lake city%\" AND time LIKE \"%3:57.70%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67971 (\n \"Event\" text,\n \"Time\" text,\n \"Nationality\" text,\n \"Date\" text,\n \"Meet\" text,\n \"Location\" text\n)\n\nQUESTION: What Event's Time is 4:01.00?\nSQL QUERY:", "completion": "SELECT \"Event\" FROM table_67971 WHERE \"Time\" LIKE '%4:01.00%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72369 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Status\" text,\n \"Opponent\" text\n)\n\nQUESTION: What year was incumbent jim mcdermott first elected?\nSQL QUERY:", "completion": "SELECT MIN(\"First elected\") FROM table_72369 WHERE \"Incumbent\" LIKE '%jim mcdermott%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28803803_1 (\n date VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What are the dates that Falling Angel aired?\nSQL QUERY:", "completion": "SELECT date FROM table_28803803_1 WHERE name LIKE \"%falling angel%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13089 (\n \"Municipality\" text,\n \"Inhabitants\" real,\n \"Mayor\" text,\n \"Party\" text,\n \"Election\" real\n)\n\nQUESTION: Which inhabitants have 2009 as the election, with cremona as the municipality?\nSQL QUERY:", "completion": "SELECT \"Inhabitants\" FROM table_13089 WHERE \"Election\" = 2009 AND \"Municipality\" LIKE '%cremona%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n weight VARCHAR,\n number VARCHAR\n)\n\nQUESTION: How much does number 26 weigh?\nSQL QUERY:", "completion": "SELECT weight FROM table_name_31 WHERE number LIKE \"%26%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15829930_5 (\n matches INTEGER,\n year VARCHAR\n)\n\nQUESTION: Name the least matches for year 2008\nSQL QUERY:", "completion": "SELECT MIN(matches) FROM table_15829930_5 WHERE year LIKE '%2008%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15431251_1 (\n title VARCHAR,\n no_in_season VARCHAR\n)\n\nQUESTION: What is the title for episode number 7 in the season?\nSQL QUERY:", "completion": "SELECT COUNT(title) FROM table_15431251_1 WHERE no_in_season LIKE '%7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72981 (\n \"Outcome\" text,\n \"Edition\" real,\n \"Round\" text,\n \"Opponent Team\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: What was the score when the opponent was Dominika Cibulkov ?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_72981 WHERE \"Opponent\" LIKE '%dominika cibulková%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n italian VARCHAR,\n french VARCHAR\n)\n\nQUESTION: what is the italian word for the french word 'mer\nSQL QUERY:", "completion": "SELECT italian FROM table_name_37 WHERE french LIKE \"%mer%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is the home team score that played away team carlton?\nSQL QUERY:", "completion": "SELECT home_team AS score FROM table_name_60 WHERE away_team LIKE \"%carlton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n constructor VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: Tell me the constructor for grid of 17\nSQL QUERY:", "completion": "SELECT constructor FROM table_name_9 WHERE grid LIKE '%17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75667 (\n \"Call sign\" text,\n \"Frequency MHz\" text,\n \"City of license\" text,\n \"ERP W\" text,\n \"FCC info\" text\n)\n\nQUESTION: Which FCC info has an ERP W of 100 watts?\nSQL QUERY:", "completion": "SELECT \"FCC info\" FROM table_75667 WHERE \"ERP W\" LIKE '%100 watts%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n draw INTEGER,\n competition VARCHAR,\n dynamo VARCHAR\n)\n\nQUESTION: what is the most draw when the competition is soviet league and dynamo is more than 34?\nSQL QUERY:", "completion": "SELECT MAX(draw) FROM table_name_19 WHERE competition LIKE \"%soviet league%\" AND dynamo > 34"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8187 (\n \"Club\" text,\n \"Sport\" text,\n \"Founded\" real,\n \"League\" text,\n \"Venue\" text\n)\n\nQUESTION: COunt the Founded which has a Venue of villa park?\nSQL QUERY:", "completion": "SELECT SUM(\"Founded\") FROM table_8187 WHERE \"Venue\" LIKE '%villa park%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26681728_1 (\n rank_qualifying INTEGER,\n score_qualifying VARCHAR,\n location VARCHAR,\n year VARCHAR\n)\n\nQUESTION: In Ghent in 2011, what was the rank-qualifying value when the score-qualifying value was 14.850\nSQL QUERY:", "completion": "SELECT MAX(rank_qualifying) FROM table_26681728_1 WHERE location LIKE '%ghent%' AND year LIKE '%2011%' AND score_qualifying LIKE '%14.850%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n game INTEGER,\n high_rebounds VARCHAR\n)\n\nQUESTION: Which Game is the highest one that has High rebounds of pau gasol (11)?\nSQL QUERY:", "completion": "SELECT MAX(game) FROM table_name_12 WHERE lower(high_rebounds) LIKE \"%pau gasol (11)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65989 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria?\nSQL QUERY:", "completion": "SELECT \"Rank\" FROM table_65989 WHERE \"Silver\" = 1 AND \"Gold\" = 0 AND \"Nation\" LIKE '%austria%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n highest_point VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What is the highest amount of points for rank 95?\nSQL QUERY:", "completion": "SELECT highest_point FROM table_name_49 WHERE rank LIKE '%95%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n wins INTEGER,\n points INTEGER\n)\n\nQUESTION: What is the average Wins, when Points is less than '19'?\nSQL QUERY:", "completion": "SELECT AVG(wins) FROM table_name_32 WHERE points < 19"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27614571_1 (\n song_choice VARCHAR,\n theme VARCHAR\n)\n\nQUESTION: What was Barreto's song choice when the theme was samba?\nSQL QUERY:", "completion": "SELECT song_choice FROM table_27614571_1 WHERE theme LIKE \"%samba%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n place VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What place has the score of 67-74=141?\nSQL QUERY:", "completion": "SELECT place FROM table_name_2 WHERE score = '-7'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1160660_1 (\n date_founded VARCHAR,\n acronym VARCHAR\n)\n\nQUESTION: What year was USF founded?\nSQL QUERY:", "completion": "SELECT date_founded FROM table_1160660_1 WHERE acronym LIKE '%usf%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22736523_1 (\n result VARCHAR,\n week__number VARCHAR\n)\n\nQUESTION: For week number of the top 40, what was the results?\nSQL QUERY:", "completion": "SELECT result FROM table_22736523_1 WHERE week__number LIKE \"%top 40%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n losing_bonus VARCHAR,\n drawn VARCHAR,\n try_bonus VARCHAR\n)\n\nQUESTION: What was the losing bonus that had 1 draw and a 10 try bonus?\nSQL QUERY:", "completion": "SELECT losing_bonus FROM table_name_51 WHERE drawn LIKE '%1%' AND try_bonus LIKE '%10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63272 (\n \"Name\" text,\n \"Games\" text,\n \"A-League\" text,\n \"Finals\" text,\n \"Goals\" real,\n \"Assists\" real,\n \"Years\" text\n)\n\nQUESTION: How many finals had more than 0 goals and 8 assists?\nSQL QUERY:", "completion": "SELECT \"Finals\" FROM table_63272 WHERE \"Goals\" > 0 AND \"Assists\" = 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n fatalities VARCHAR,\n aircraft VARCHAR\n)\n\nQUESTION: What was the number of fatalities for the Viscount 700?\nSQL QUERY:", "completion": "SELECT fatalities FROM table_name_71 WHERE aircraft LIKE \"%viscount 700%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28138035_26 (\n year_location VARCHAR,\n womens_singles VARCHAR\n)\n\nQUESTION: What year and where was the tournament when fan ying won the womens singles?\nSQL QUERY:", "completion": "SELECT year_location FROM table_28138035_26 WHERE womens_singles LIKE \"%fan ying%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n points INTEGER,\n losses VARCHAR,\n position VARCHAR\n)\n\nQUESTION: What is the lowest number of points of the team with 2 losses and a lower than 1 position?\nSQL QUERY:", "completion": "SELECT MIN(points) FROM table_name_73 WHERE losses LIKE '%2%' AND position > '1'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n lowest INTEGER,\n average INTEGER\n)\n\nQUESTION: What is the lowest attendance for a stadium that has an average smaller than 307?\nSQL QUERY:", "completion": "SELECT AVG(lowest) FROM table_name_24 WHERE average < 307"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15315816_1 (\n year VARCHAR,\n champion VARCHAR\n)\n\nQUESTION: When are all years that the champion is Ji Min Jeong?\nSQL QUERY:", "completion": "SELECT year FROM table_15315816_1 WHERE champion LIKE \"%ji min jeong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n date VARCHAR,\n week VARCHAR,\n result VARCHAR\n)\n\nQUESTION: What is the date where the result was L 27-10 in a week before week 9?\nSQL QUERY:", "completion": "SELECT date FROM table_name_94 WHERE week < '9' AND result LIKE '%l 27-10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_357 (\n \"L&CR No.\" real,\n \"Type\" text,\n \"Manufacturer\" text,\n \"Delivered\" text,\n \"Name\" text,\n \"Jt. Cttee No.\" real,\n \"1845 disposal\" text\n)\n\nQUESTION: What was the type of sussex?\nSQL QUERY:", "completion": "SELECT \"Type\" FROM table_357 WHERE \"Name\" LIKE '%sussex%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342198_36 (\n result VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What was the result when incumbent Tom Steed was elected?\nSQL QUERY:", "completion": "SELECT result FROM table_1342198_36 WHERE incumbent LIKE \"%tom steed%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44912 (\n \"Team\" text,\n \"Manager\" text,\n \"Home city\" text,\n \"Stadium\" text,\n \"Capacity\" real\n)\n\nQUESTION: what is the home city for the stadion src mladost?\nSQL QUERY:", "completion": "SELECT \"Home city\" FROM table_44912 WHERE \"Stadium\" LIKE '%stadion src mladost%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n cuts_made INTEGER,\n top_10 VARCHAR,\n wins VARCHAR\n)\n\nQUESTION: What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s?\nSQL QUERY:", "completion": "SELECT AVG(cuts_made) FROM table_name_93 WHERE top_10 LIKE '%11%' AND wins LIKE '%< 1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n shirt_no INTEGER,\n birth_date VARCHAR\n)\n\nQUESTION: What shirt No has a Birth Date of April 12, 1986 (age27)?\nSQL QUERY:", "completion": "SELECT MIN(shirt_no) FROM table_name_63 WHERE birth_date LIKE \"%april 12, 1986 (age27)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n country VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What country is ranked 79?\nSQL QUERY:", "completion": "SELECT country FROM table_name_19 WHERE rank LIKE '%79%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n game INTEGER,\n march VARCHAR\n)\n\nQUESTION: March of 29 involves what highest scoring game?\nSQL QUERY:", "completion": "SELECT MAX(game) FROM table_name_40 WHERE march LIKE '%29%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2221484_2 (\n directed_by VARCHAR,\n series__number VARCHAR\n)\n\nQUESTION: Who directed episode 266 in the series?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_2221484_2 WHERE series__number LIKE '%266%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n cover_model VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which Cover Model was featured on 8-03?\nSQL QUERY:", "completion": "SELECT cover_model FROM table_name_8 WHERE date LIKE \"%8-03%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n top_10 VARCHAR,\n events VARCHAR,\n top_5 VARCHAR\n)\n\nQUESTION: What's the sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5?\nSQL QUERY:", "completion": "SELECT COUNT(top_10) FROM table_name_87 WHERE events > 16 AND top_5 > 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1745843_9 (\n verb_meaning VARCHAR,\n part_2 VARCHAR\n)\n\nQUESTION: Name the verb meaning for half drosch\nSQL QUERY:", "completion": "SELECT verb_meaning FROM table_1745843_9 WHERE part_2 LIKE \"%half drosch%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28628309_6 (\n team VARCHAR,\n category VARCHAR\n)\n\nQUESTION: Who was the team when the category is field goal percentage?\nSQL QUERY:", "completion": "SELECT team FROM table_28628309_6 WHERE category LIKE \"%field goal percentage%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n opponent VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: Which Opponent has Attendances of 60,594?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_34 WHERE attendance LIKE \"%60,594%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n lead VARCHAR,\n second VARCHAR\n)\n\nQUESTION: Who is the lead for the team with Nkeiruka Ezekh as second?\nSQL QUERY:", "completion": "SELECT lead FROM table_name_59 WHERE second LIKE \"%nkeiruka ezekh%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_373 (\n id number,\n \"wager\" text,\n \"winner\" text,\n \"loser\" text,\n \"location\" text,\n \"date\" text\n)\n\nQUESTION: who is the first loser listed on this chart ?\nSQL QUERY:", "completion": "SELECT \"loser\" FROM table_204_373 WHERE id = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n date VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: On what date was the crowd size of 71,789?\nSQL QUERY:", "completion": "SELECT date FROM table_name_35 WHERE attendance LIKE \"%71,789%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n silver INTEGER,\n rank VARCHAR,\n total VARCHAR\n)\n\nQUESTION: What is the lowest number of silver medals with a rank of 4 and total medals greater than 1?\nSQL QUERY:", "completion": "SELECT MIN(silver) FROM table_name_68 WHERE rank LIKE '%4%' AND total > '1'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24864 (\n \"No. in series\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text,\n \"Production code\" text\n)\n\nQUESTION: Who wrote when the original airdate is April 5, 1987?\nSQL QUERY:", "completion": "SELECT \"Written by\" FROM table_24864 WHERE \"Original air date\" LIKE '%april 5, 1987%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n score VARCHAR,\n opponents VARCHAR\n)\n\nQUESTION: Tell me the score of misa eguchi eri hozumi\nSQL QUERY:", "completion": "SELECT score FROM table_name_62 WHERE opponents LIKE \"%misa eguchi eri hozumi%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n to_par VARCHAR,\n place VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What to par has t3 as the place and england as the country?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_96 WHERE place LIKE \"%t3%\" AND country LIKE \"%england%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n team VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What is the Team in Game 38?\nSQL QUERY:", "completion": "SELECT team FROM table_name_46 WHERE game LIKE '%38%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43536 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What date is aston villa away?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_43536 WHERE \"Away team\" LIKE '%aston villa%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n attendance VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What is the attendance that has a record of 43-28?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_86 WHERE record LIKE \"%43-28%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70779 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" real\n)\n\nQUESTION: What is the most points that the Maserati 250F chassis scored in years after 1955?\nSQL QUERY:", "completion": "SELECT MAX(\"Points\") FROM table_70779 WHERE \"Chassis\" LIKE '%maserati 250f%' AND \"Year\" > '1955'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1000181_1 (\n notes VARCHAR,\n current_slogan VARCHAR\n)\n\nQUESTION: Tell me what the notes are for South Australia\nSQL QUERY:", "completion": "SELECT notes FROM table_1000181_1 WHERE current_slogan LIKE '%south australia%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n year INTEGER,\n game VARCHAR\n)\n\nQUESTION: What is the latest year when Call of Duty 4: Modern Warfare was the game?\nSQL QUERY:", "completion": "SELECT MAX(year) FROM table_name_63 WHERE game LIKE \"%call of duty 4: modern warfare%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n year VARCHAR,\n distance VARCHAR\n)\n\nQUESTION: In what year saw a total distance of 1,870.23 km?\nSQL QUERY:", "completion": "SELECT year FROM table_name_52 WHERE distance LIKE '%1,870.23 km%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37185 (\n \"Ship\" text,\n \"Hull No.\" text,\n \"Builder\" text,\n \"Home Port\" text,\n \"Commissioned\\u2013 Decommissioned\" text,\n \"NVR page\" text\n)\n\nQUESTION: Name the ship with hull number of aor-6\nSQL QUERY:", "completion": "SELECT \"Ship\" FROM table_37185 WHERE \"Hull No.\" LIKE '%aor-6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n country VARCHAR,\n finish VARCHAR\n)\n\nQUESTION: Which country has a finish of t22?\nSQL QUERY:", "completion": "SELECT country FROM table_name_87 WHERE finish LIKE \"%t22%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15463188_7 (\n name VARCHAR,\n school_club_team VARCHAR\n)\n\nQUESTION: Name the name of the state\nSQL QUERY:", "completion": "SELECT name FROM table_15463188_7 WHERE school_club_team LIKE '%state%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8614 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Record\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was the result of the game after week 6 against the cleveland browns?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_8614 WHERE \"Week\" < 6 AND \"Opponent\" LIKE '%cleveland browns%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE phone (\n Accreditation_level VARCHAR\n)\n\nQUESTION: Find the accreditation level that more than 3 phones use.\nSQL QUERY:", "completion": "SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING COUNT(*) > 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23197088_4 (\n score_in_final VARCHAR,\n championship VARCHAR\n)\n\nQUESTION: such as are entire the rating of closing where championship is moscow\nSQL QUERY:", "completion": "SELECT score_in_final FROM table_23197088_4 WHERE championship LIKE '%moscow%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n name VARCHAR,\n town_city VARCHAR,\n type VARCHAR\n)\n\nQUESTION: What is the Name of the Multiple Type museum in Anchorage?\nSQL QUERY:", "completion": "SELECT name FROM table_name_54 WHERE town_city LIKE \"%anchorage%\" AND type LIKE \"%multiple%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4606 (\n \"Team\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Tires\" text,\n \"Drivers\" text\n)\n\nQUESTION: What chassis did Gordon Johncock use with his cosworth engine?\nSQL QUERY:", "completion": "SELECT \"Chassis\" FROM table_4606 WHERE \"Engine\" LIKE '%cosworth%' AND \"Drivers\" LIKE '%gordon johncock%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43387 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: How many Gold medals did Great Britain with a Total of more than 2 medals receive?\nSQL QUERY:", "completion": "SELECT MIN(\"Gold\") FROM table_43387 WHERE \"Nation\" LIKE '%great britain%' AND \"Total\" > 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47602 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What was the score when the home team was Stockport County?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_47602 WHERE \"Home team\" LIKE '%stockport county%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33047 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What was Carlton's score when they were the away team?\nSQL QUERY:", "completion": "SELECT \"Away team score\" FROM table_33047 WHERE \"Away team\" LIKE '%carlton%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1566852_4 (\n centerfold_model VARCHAR,\n cover_model VARCHAR\n)\n\nQUESTION: How many centerfold models were there when the cover model was Torrie Wilson?\nSQL QUERY:", "completion": "SELECT COUNT(centerfold_model) FROM table_1566852_4 WHERE cover_model LIKE \"%torrie wilson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n position VARCHAR,\n pick VARCHAR,\n college VARCHAR\n)\n\nQUESTION: What position did the player from Rice College play who was picked under 15?\nSQL QUERY:", "completion": "SELECT position FROM table_name_24 WHERE pick < 15 AND college LIKE \"%rice%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341930_5 (\n party VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Name the number of party with the incubent james william trimble\nSQL QUERY:", "completion": "SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent LIKE \"%james william trimble%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15327 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Tyres\" text,\n \"Points\" real\n)\n\nQUESTION: Which chassis had 16 points?\nSQL QUERY:", "completion": "SELECT \"Chassis\" FROM table_15327 WHERE \"Points\" = 16"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2701851_2 (\n title VARCHAR,\n no_in_series VARCHAR\n)\n\nQUESTION: What is the name of episode # 10a?\nSQL QUERY:", "completion": "SELECT title FROM table_2701851_2 WHERE no_in_series LIKE \"%10a%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n attendance VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What was the attendance at the week 2 game?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_89 WHERE week LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71205 (\n \"Outcome\" text,\n \"Date\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score in the final\" text\n)\n\nQUESTION: What is the score in the final with runner-up as the outcome and hard (i) as the surface?\nSQL QUERY:", "completion": "SELECT \"Score in the final\" FROM table_71205 WHERE \"Outcome\" LIKE '%runner-up%' AND \"Surface\" LIKE '%hard (i)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2562572_52 (\n cyrillic_name VARCHAR,\n settlement VARCHAR\n)\n\nQUESTION: What is the cyrillic name when the settlement is a anja?\nSQL QUERY:", "completion": "SELECT cyrillic_name FROM table_2562572_52 WHERE settlement LIKE '%ašanja%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15475116_1 (\n league VARCHAR,\n school VARCHAR\n)\n\nQUESTION: What league does Delaware Military Academy belong to\nSQL QUERY:", "completion": "SELECT league FROM table_15475116_1 WHERE school LIKE \"%delaware military academy%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7519 (\n \"Heat\" real,\n \"Lane\" real,\n \"Name\" text,\n \"Country\" text,\n \"Mark\" text\n)\n\nQUESTION: What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1?\nSQL QUERY:", "completion": "SELECT MAX(\"Heat\") FROM table_7519 WHERE \"Mark\" LIKE '%6.76%' AND \"Name\" LIKE '%ihor bodrov%' AND \"Lane\" < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_208 (\n id number,\n \"year\" text,\n \"title\" text,\n \"role\" text,\n \"episodes\" text\n)\n\nQUESTION: what title came directly after this morning ?\nSQL QUERY:", "completion": "SELECT \"title\" FROM table_204_208 WHERE id = (SELECT id FROM table_204_208 WHERE \"title\" LIKE '%this morning%') + 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3283 (\n \"Player\" text,\n \"Position\" text,\n \"Starter\" text,\n \"Touchdowns\" real,\n \"Extra points\" real,\n \"Field goals\" real,\n \"Points\" real\n)\n\nQUESTION: What is the smallest number of extra points?\nSQL QUERY:", "completion": "SELECT MIN(\"Extra points\") FROM table_3283"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14606 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text\n)\n\nQUESTION: Who did the Blue Jays lose to on July 16?\nSQL QUERY:", "completion": "SELECT \"Loss\" FROM table_14606 WHERE \"Date\" LIKE '%july 16%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28116528_1 (\n original_air_date VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: What date did the episode with a production code of 3x6316 originally air?\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_28116528_1 WHERE production_code LIKE '%3x6316%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_78 (\n \"id\" int,\n \"mini_mental_state_examination_mmse\" int,\n \"consent\" bool,\n \"swallow_oral_medication\" bool,\n \"rosen_modified_hachinski_ischemic_score\" int,\n \"NOUSE\" float\n)\n\nQUESTION: unable to swallow uncrushed oral medication in capsule form\nSQL QUERY:", "completion": "SELECT * FROM table_train_78 WHERE swallow_oral_medication = 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63827 (\n \"Year\" real,\n \"Competition Description\" text,\n \"Location\" text,\n \"Apparatus\" text,\n \"Rank-Final\" real,\n \"Score-Final\" real,\n \"Rank-Qualifying\" real,\n \"Score-Qualifying\" real\n)\n\nQUESTION: Count the Rank-Final which has a Year larger than 2008, and an Apparatus of balance beam, and a Rank-Qualifying larger than 4?\nSQL QUERY:", "completion": "SELECT COUNT(\"Rank-Final\") FROM table_63827 WHERE \"Year\" > 2008 AND \"Apparatus\" LIKE '%balance beam%' AND \"Rank-Qualifying\" > 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n round INTEGER,\n opponent VARCHAR\n)\n\nQUESTION: What is the average number of rounds when fighting against Clay Guida?\nSQL QUERY:", "completion": "SELECT AVG(round) FROM table_name_54 WHERE opponent LIKE \"%clay guida%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n attendance VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What was the Attendance in Week 10?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_59 WHERE week LIKE '%10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_42722 (\n \"Outcome\" text,\n \"Date\" text,\n \"Surface\" text,\n \"Partner\" text,\n \"Opponents\" text,\n \"Score\" text\n)\n\nQUESTION: What is the Opponents on a clay surface with christophe rochus as partner?\nSQL QUERY:", "completion": "SELECT \"Opponents\" FROM table_42722 WHERE \"Surface\" LIKE '%clay%' AND \"Partner\" LIKE '%christophe rochus%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51069 (\n \"Poll Source\" text,\n \"Dates administered\" text,\n \"Democrat: Jay Nixon\" text,\n \"Republican: Kenny Hulshof\" text,\n \"Lead Margin\" real\n)\n\nQUESTION: What was the lead margin when Nixon had 48% and reporting was done by Rasmussen Reports?\nSQL QUERY:", "completion": "SELECT COUNT(\"Lead Margin\") FROM table_51069 WHERE \"Democrat: Jay Nixon\" LIKE '%48%%' AND \"Poll Source\" LIKE '%rasmussen reports%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55759 (\n \"Sport\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: How many total Silver has a Bronze larger than 19 and a Total smaller than 125?\nSQL QUERY:", "completion": "SELECT SUM(\"Silver\") FROM table_55759 WHERE \"Bronze\" > 19 AND \"Total\" < 125"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62536 (\n \"Opposing Teams\" text,\n \"Against\" real,\n \"Date\" text,\n \"Venue\" text,\n \"Status\" text\n)\n\nQUESTION: Which Venue has Against smaller than 6?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_62536 WHERE \"Against\" < 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13636_1 (\n first_operational VARCHAR,\n programming VARCHAR\n)\n\nQUESTION: what's the first operational with programming being not programmable single purpose\nSQL QUERY:", "completion": "SELECT first_operational FROM table_13636_1 WHERE programming LIKE \"%not programmable—single purpose%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n name VARCHAR,\n city VARCHAR,\n years_as_tallest VARCHAR\n)\n\nQUESTION: What is the name of the building that was the tallest from 1990 1997 in Frankfurt?\nSQL QUERY:", "completion": "SELECT name FROM table_name_78 WHERE city LIKE \"%frankfurt%\" AND years_as_tallest LIKE \"%1990–1997%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35179 (\n \"Year\" real,\n \"Title\" text,\n \"Director\" text,\n \"Writer\" text,\n \"Notes\" text\n)\n\nQUESTION: What notes did the creature comforts film have?\nSQL QUERY:", "completion": "SELECT \"Notes\" FROM table_35179 WHERE \"Title\" LIKE '%creature comforts%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65988 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Which Bronze has a Nation of austria, and a Total larger than 6?\nSQL QUERY:", "completion": "SELECT MAX(\"Bronze\") FROM table_65988 WHERE \"Nation\" LIKE '%austria%' AND \"Total\" > 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n pick__number INTEGER,\n overall VARCHAR,\n name VARCHAR,\n round VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall larger than 228?\nSQL QUERY:", "completion": "SELECT AVG(pick__number) FROM table_name_67 WHERE round > 5 AND position LIKE '%wide receiver%' AND name LIKE '%gregory spann%' AND overall > 228"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17413485_1 (\n first_broadcast VARCHAR,\n episode VARCHAR\n)\n\nQUESTION: in what date was aired the first broacast of the episode 1x02\nSQL QUERY:", "completion": "SELECT first_broadcast FROM table_17413485_1 WHERE episode LIKE \"%1x02%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54596 (\n \"Player\" text,\n \"Position\" text,\n \"School\" text,\n \"Hometown\" text,\n \"College\" text\n)\n\nQUESTION: What is the hometown for the player that is defensive back and went to alabama?\nSQL QUERY:", "completion": "SELECT \"Hometown\" FROM table_54596 WHERE \"Position\" LIKE '%defensive back%' AND \"College\" LIKE '%alabama%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n outcome VARCHAR,\n date__final_ VARCHAR\n)\n\nQUESTION: What was the outcome of the match on February 17, 2003?\nSQL QUERY:", "completion": "SELECT outcome FROM table_name_13 WHERE date__final_ LIKE '%february 17, 2003%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16730 (\n \"Rnd\" real,\n \"Race\" text,\n \"Date\" text,\n \"Location\" text,\n \"Pole Position\" text,\n \"Fastest Lap\" text,\n \"Race Winner\" text,\n \"Constructor\" text,\n \"Report\" text\n)\n\nQUESTION: How many races had the pole position Alain Prost and the race winner Keke Rosberg?\nSQL QUERY:", "completion": "SELECT COUNT(\"Race\") FROM table_16730 WHERE \"Pole Position\" LIKE '%alain prost%' AND \"Race Winner\" LIKE '%keke rosberg%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n vol__number INTEGER,\n publication_date VARCHAR\n)\n\nQUESTION: What's the Lowest Volume Number that was published November 2004?\nSQL QUERY:", "completion": "SELECT MIN(vol__number) FROM table_name_5 WHERE publication_date LIKE \"%november 2004%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n player VARCHAR,\n mls_team VARCHAR\n)\n\nQUESTION: Tell me the player from dallas burn\nSQL QUERY:", "completion": "SELECT player FROM table_name_64 WHERE mls_team LIKE \"%dallas burn%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17244483_1 (\n time_retired VARCHAR,\n car_no VARCHAR\n)\n\nQUESTION: Car number 15 earned what time?\nSQL QUERY:", "completion": "SELECT time_retired FROM table_17244483_1 WHERE car_no LIKE '%15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE gas_station (\n LOCATION VARCHAR\n)\n\nQUESTION: Show all locations and the number of gas stations in each location ordered by the count.\nSQL QUERY:", "completion": "SELECT LOCATION, COUNT(*) FROM gas_station GROUP BY LOCATION ORDER BY COUNT(*)"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n game INTEGER,\n team VARCHAR\n)\n\nQUESTION: What game was played at Philadelphia?\nSQL QUERY:", "completion": "SELECT AVG(game) FROM table_name_36 WHERE team LIKE \"%philadelphia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20396710_1 (\n drawn VARCHAR\n)\n\nQUESTION: when points against is points again, which are the drawn?\nSQL QUERY:", "completion": "SELECT drawn FROM table_20396710_1 WHERE \"points_against\" LIKE \"%points_against%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n venue VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Where was the 05/09/1973 venue?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_63 WHERE date LIKE \"%05/09/1973%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n home_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Which home team's venue is junction oval?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_71 WHERE venue LIKE \"%junction oval%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n terms VARCHAR,\n left_office VARCHAR\n)\n\nQUESTION: How many terms did the governor that left office on August 4, 1825 serve?\nSQL QUERY:", "completion": "SELECT terms FROM table_name_46 WHERE lower(left_office) LIKE '%august 4, 1825%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64536 (\n \"Rank\" text,\n \"Group\" text,\n \"Name\" text,\n \"Nationality\" text,\n \"Mark\" text\n)\n\nQUESTION: What is the mark for Grenada in group A?\nSQL QUERY:", "completion": "SELECT \"Mark\" FROM table_64536 WHERE \"Group\" LIKE '%a%' AND \"Nationality\" LIKE '%grenada%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_200_35 (\n id number,\n \"party\" text,\n \"active voters\" number,\n \"inactive voters\" number,\n \"total voters\" number,\n \"percentage\" text\n)\n\nQUESTION: as of october 25 , 2005 , how many voters are either democratic or republican ?\nSQL QUERY:", "completion": "SELECT SUM(\"total voters\") FROM table_200_35 WHERE \"party\" LIKE '%democratic%' OR \"party\" LIKE '%republican%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n silver INTEGER,\n bronze VARCHAR,\n total VARCHAR\n)\n\nQUESTION: What is the lowest silver that has 2 as the bronze, with a total greater than 4?\nSQL QUERY:", "completion": "SELECT MIN(silver) FROM table_name_33 WHERE bronze LIKE '%2%' AND total > '4'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16941304_4 (\n driver___passenger VARCHAR,\n points VARCHAR\n)\n\nQUESTION: Name the driver passenger for 394 points\nSQL QUERY:", "completion": "SELECT driver___passenger FROM table_16941304_4 WHERE points = '394'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23098 (\n \"Year\" text,\n \"Marriages between men\" real,\n \"Marriages between women\" real,\n \"Same-sex marriages\" real,\n \"Total marriages\" real,\n \"% same-sex marriages\" text\n)\n\nQUESTION: How many marriages between women have % same-sex marriages of 1.06?\nSQL QUERY:", "completion": "SELECT \"Marriages between women\" FROM table_23098 WHERE \"% same-sex marriages\" LIKE '%1.06%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_300 (\n id number,\n \"year\" number,\n \"tournament\" text,\n \"venue\" text,\n \"result\" text,\n \"extra\" text\n)\n\nQUESTION: was there a result of 1st place after the year 2006 ?\nSQL QUERY:", "completion": "SELECT (SELECT COUNT(*) FROM table_203_300 WHERE \"result\" LIKE '%1%' AND \"year\" > 2006) > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n date VARCHAR,\n record VARCHAR\n)\n\nQUESTION: Which Date has a Record of 29 47?\nSQL QUERY:", "completion": "SELECT date FROM table_name_4 WHERE record LIKE \"%29–47%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE instructor (\n dept_name VARCHAR,\n salary INTEGER\n)\n\nQUESTION: Find the name of the department which has the highest average salary of professors.\nSQL QUERY:", "completion": "SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY AVG(salary) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1480455_1 (\n area__km_2__ VARCHAR,\n population_density___km_2__ VARCHAR\n)\n\nQUESTION: What is the area (km 2) where the population density (/mk2) is 84.3?\nSQL QUERY:", "completion": "SELECT area__km_2__ FROM table_1480455_1 WHERE population_density___km_2__ LIKE \"%84.3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n military_deaths VARCHAR,\n total_casualties VARCHAR\n)\n\nQUESTION: How many members of the military died in the conflict that had a total of 531 casualties?\nSQL QUERY:", "completion": "SELECT military_deaths FROM table_name_38 WHERE total_casualties LIKE \"%531%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55800 (\n \"Name\" text,\n \"Date of birth\" text,\n \"Date of death\" text,\n \"Reign\" text,\n \"Relationship with predecessor\" text\n)\n\nQUESTION: What was the Date of Death of the person whose Date of Birth was 28 May 1371?\nSQL QUERY:", "completion": "SELECT \"Date of death\" FROM table_55800 WHERE \"Date of birth\" LIKE '%28 may 1371%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23399481_3 (\n original_air_date VARCHAR,\n season__number VARCHAR\n)\n\nQUESTION: What is the original air date for episode 4?\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_23399481_3 WHERE season__number LIKE '%4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n game VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which Game has a Score of 122 125?\nSQL QUERY:", "completion": "SELECT game FROM table_name_74 WHERE score LIKE \"%122–125%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35324 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: Who was the Opponent on a Hard (i) Surface?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_35324 WHERE \"Surface\" LIKE '%hard (i)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75870 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the total number of medals when there are 18 gold medals?\nSQL QUERY:", "completion": "SELECT SUM(\"Total\") FROM table_75870 WHERE \"Gold\" = 18"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11803648_21 (\n position VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What position does Cody Ceci play?\nSQL QUERY:", "completion": "SELECT position FROM table_11803648_21 WHERE player LIKE \"%cody ceci%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5658 (\n \"Club\" text,\n \"Position in 2012\\u201313\" text,\n \"First season in top division\" text,\n \"Number of seasons in top division\" real,\n \"Number of seasons in Prva HNL\" real,\n \"First season of current spell in top division\" text,\n \"Top division titles\" text,\n \"Last top division title\" text\n)\n\nQUESTION: Name the average number of seasons for Prva HNL of 17\nSQL QUERY:", "completion": "SELECT AVG(\"Number of seasons in top division\") FROM table_5658 WHERE \"Number of seasons in Prva HNL\" = 17"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20351295_2 (\n high_checkout VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What's Trina Gulliver's high checkout?\nSQL QUERY:", "completion": "SELECT high_checkout FROM table_20351295_2 WHERE player LIKE \"%trina gulliver%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n inf_stem VARCHAR,\n subj_pres VARCHAR\n)\n\nQUESTION: What is the infinitive stem that has a subjunctive present of ou?\nSQL QUERY:", "completion": "SELECT inf_stem FROM table_name_10 WHERE subj_pres LIKE '%ou%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n high_rebounds VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which High rebounds has a Score of w 81-69?\nSQL QUERY:", "completion": "SELECT high_rebounds FROM table_name_62 WHERE score LIKE \"%w 81-69%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n venue VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: Where does Geelong play their home game?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_7 WHERE home_team LIKE \"%geelong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n result VARCHAR,\n game_site VARCHAR\n)\n\nQUESTION: What was the result of the game played at Jeppesen Stadium?\nSQL QUERY:", "completion": "SELECT result FROM table_name_95 WHERE game_site LIKE \"%jeppesen stadium%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19778010_5 (\n game INTEGER,\n date VARCHAR\n)\n\nQUESTION: What's the number of the game played on June 22?\nSQL QUERY:", "completion": "SELECT MAX(game) FROM table_19778010_5 WHERE date LIKE \"%june 22%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n tries_against VARCHAR,\n tries_for VARCHAR\n)\n\nQUESTION: What is Tries Against, when Tries For is 20?\nSQL QUERY:", "completion": "SELECT tries_against FROM table_name_22 WHERE tries_for LIKE \"%20%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23285849_10 (\n game VARCHAR,\n team VARCHAR\n)\n\nQUESTION: When the clippers are the team how many games are there?\nSQL QUERY:", "completion": "SELECT COUNT(game) FROM table_23285849_10 WHERE team LIKE \"%clippers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1637981_7 (\n detroit__dtw_ VARCHAR,\n grand_rapids__grr_ VARCHAR\n)\n\nQUESTION: When Grand Rapids's fare was $377.29, what is the fare to Detroit?\nSQL QUERY:", "completion": "SELECT detroit__dtw_ FROM table_1637981_7 WHERE grand_rapids__grr_ LIKE '%$377.29%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_238124_1 (\n bleeding_time VARCHAR,\n condition VARCHAR\n)\n\nQUESTION: What is the bleeding time for glanzmann's thrombasthenia?\nSQL QUERY:", "completion": "SELECT bleeding_time FROM table_238124_1 WHERE condition LIKE '%glanzmann''s thrombasthenia%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n week_8_oct_26 VARCHAR,\n week_12_nov_23 VARCHAR\n)\n\nQUESTION: What is the week 8 Oct 26 standing with georgia tech (8-2) on week 12 Nov 23?\nSQL QUERY:", "completion": "SELECT week_8_oct_26 FROM table_name_1 WHERE week_12_nov_23 LIKE \"%georgia tech (8-2)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n player VARCHAR,\n college VARCHAR\n)\n\nQUESTION: What Player is from Iowa State?\nSQL QUERY:", "completion": "SELECT player FROM table_name_6 WHERE college LIKE \"%iowa state%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341604_39 (\n candidates VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What are the candidates in the district whose incumbent is Gus Yatron?\nSQL QUERY:", "completion": "SELECT candidates FROM table_1341604_39 WHERE incumbent LIKE \"%gus yatron%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n game_site VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What was the game site week 15?\nSQL QUERY:", "completion": "SELECT game_site FROM table_name_79 WHERE week LIKE '%15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18483171_1 (\n institution VARCHAR,\n team_nickname VARCHAR\n)\n\nQUESTION: List all institutions with a team name of the Cardinals.\nSQL QUERY:", "completion": "SELECT institution FROM table_18483171_1 WHERE team_nickname LIKE '%cardinals%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53324 (\n \"Unit\" text,\n \"Reactor Type\" text,\n \"Net Capacity\" text,\n \"Gross Capacity\" text,\n \"Construction Start\" text,\n \"Grid Connection\" text,\n \"Commercial Operation\" text,\n \"Status\" text\n)\n\nQUESTION: What is the gross capacity of the unit that started commercial operation on August 28, 1987?\nSQL QUERY:", "completion": "SELECT \"Gross Capacity\" FROM table_53324 WHERE \"Commercial Operation\" LIKE '%august 28, 1987%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28035004_1 (\n variant VARCHAR,\n bodybuilder VARCHAR\n)\n\nQUESTION: What is the variant when Alexander was the bodybuilder?\nSQL QUERY:", "completion": "SELECT variant FROM table_28035004_1 WHERE bodybuilder LIKE \"%alexander%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n attendance INTEGER,\n date VARCHAR\n)\n\nQUESTION: What was the attendance for the game on August 16?\nSQL QUERY:", "completion": "SELECT SUM(attendance) FROM table_name_74 WHERE date LIKE '%august 16%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70593 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" real\n)\n\nQUESTION: Which entrant scored less than 8 points and used a Maserati chassis?\nSQL QUERY:", "completion": "SELECT \"Entrant\" FROM table_70593 WHERE \"Points\" < 8 AND \"Chassis\" LIKE '%maserati%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n SLM INTEGER,\n built INTEGER\n)\n\nQUESTION: What locomotive built after 1895 has the highest SLM number?\nSQL QUERY:", "completion": "SELECT MAX(SLM) AS number FROM table_name_26 WHERE built > 1895"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n against INTEGER,\n losses VARCHAR,\n byes VARCHAR\n)\n\nQUESTION: What is the total number of against when they had 14 losses and more than 0 byes?\nSQL QUERY:", "completion": "SELECT SUM(against) FROM table_name_34 WHERE losses LIKE '%14%' AND byes > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_59052 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" real,\n \"To Par\" text\n)\n\nQUESTION: Which Score has a To Par of 1?\nSQL QUERY:", "completion": "SELECT MIN(\"Score\") FROM table_59052 WHERE \"To Par\" LIKE '%–1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n goals VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Tell me the goals for score of 38-28\nSQL QUERY:", "completion": "SELECT goals FROM table_name_54 WHERE score LIKE \"%38-28%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n rank INTEGER,\n gold INTEGER\n)\n\nQUESTION: What is the rank where the gold is 0?\nSQL QUERY:", "completion": "SELECT AVG(rank) FROM table_name_70 WHERE gold < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n tournament VARCHAR,\n finalist VARCHAR\n)\n\nQUESTION: What tournament had Greg Rusedski as a finalist?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_68 WHERE finalist LIKE \"%greg rusedski%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n place VARCHAR,\n to_par VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What place has a To par of +4 and a score of 74-70-74-74=292?\nSQL QUERY:", "completion": "SELECT place FROM table_name_77 WHERE to_par LIKE '%+4%' AND score = '292'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68334 (\n \"Date\" text,\n \"Course\" text,\n \"Distance\" text,\n \"Type\" text,\n \"Winner\" text\n)\n\nQUESTION: Name the date which has type of plain stage\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_68334 WHERE \"Type\" LIKE '%plain stage%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n player VARCHAR,\n round VARCHAR\n)\n\nQUESTION: What player was drafted in Round 5?\nSQL QUERY:", "completion": "SELECT player FROM table_name_30 WHERE round LIKE '%5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24639086_3 (\n viewers__in_millions_ VARCHAR,\n series__number VARCHAR\n)\n\nQUESTION: What is the amount of viewers if the series number is 14?\nSQL QUERY:", "completion": "SELECT viewers__in_millions_ FROM table_24639086_3 WHERE series__number LIKE '%14%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n against VARCHAR,\n opposing_teams VARCHAR\n)\n\nQUESTION: What is the against when the opposing team is Italy?\nSQL QUERY:", "completion": "SELECT COUNT(against) FROM table_name_54 WHERE opposing_teams LIKE \"%italy%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23285805_8 (\n high_assists VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Who has the high assists when the team is Oklahoma City?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_23285805_8 WHERE team LIKE \"%oklahoma city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n Id VARCHAR\n)\n\nQUESTION: What 2006 has 0-0 as the 2011?\nSQL QUERY:", "completion": "SELECT 2006 FROM table_name_29 WHERE 2011 LIKE '%0-0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n tag_team VARCHAR,\n time VARCHAR\n)\n\nQUESTION: Name the Tag Team with a Time of 03:34?\nSQL QUERY:", "completion": "SELECT tag_team FROM table_name_10 WHERE time LIKE \"%03:34%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n romaji_title VARCHAR,\n japanese_title VARCHAR\n)\n\nQUESTION: Which romaji title, has Japanese title of 3?\nSQL QUERY:", "completion": "SELECT romaji_title FROM table_name_94 WHERE japanese_title LIKE \"%菊次郎とさき 3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n number VARCHAR,\n season VARCHAR\n)\n\nQUESTION: What number has 2002-2003 as the season?\nSQL QUERY:", "completion": "SELECT number FROM table_name_32 WHERE season LIKE \"%2002-2003%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n team VARCHAR,\n year VARCHAR,\n versus VARCHAR\n)\n\nQUESTION: what team played against zimbabwe in 1999?\nSQL QUERY:", "completion": "SELECT team FROM table_name_11 WHERE year LIKE '%1999%' AND versus LIKE '%zimbabwe%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21582 (\n \"County\" text,\n \"Kerry%\" text,\n \"Kerry#\" real,\n \"Bush%\" text,\n \"Bush#\" real,\n \"Others%\" text,\n \"Others#\" real\n)\n\nQUESTION: What is the percentage of others when the number of others is 2286?\nSQL QUERY:", "completion": "SELECT \"Others%\" FROM table_21582 WHERE \"Others#\" = 2286"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n fleet_numbers VARCHAR,\n diagram VARCHAR,\n built VARCHAR\n)\n\nQUESTION: What fleet numbers have a diagram less than 99 and built in 1960?\nSQL QUERY:", "completion": "SELECT fleet_numbers FROM table_name_68 WHERE CAST(diagram AS INTEGER) < 99 AND built LIKE '%1960%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13564702_4 (\n tries_against VARCHAR,\n tries_for VARCHAR\n)\n\nQUESTION: How many tries against got the club with 62 tries for?\nSQL QUERY:", "completion": "SELECT tries_against FROM table_13564702_4 WHERE tries_for LIKE \"%62%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11545282_7 (\n no VARCHAR,\n years_for_jazz VARCHAR\n)\n\nQUESTION: How many players only played for the Jazz in only 2010?\nSQL QUERY:", "completion": "SELECT COUNT(no) FROM table_11545282_7 WHERE years_for_jazz LIKE \"%2010%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16136 (\n \"Sepal length\" text,\n \"Sepal width\" text,\n \"Petal length\" text,\n \"Petal width\" text,\n \"Species\" text\n)\n\nQUESTION: Name the number of species with sepal width of 3.4 and sepal length of 5.4\nSQL QUERY:", "completion": "SELECT COUNT(\"Species\") FROM table_16136 WHERE \"Sepal width\" LIKE '%3.4%' AND \"Sepal length\" LIKE '%5.4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n code__iata_icao_ VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What is the code for rank 10?\nSQL QUERY:", "completion": "SELECT code__iata_icao_ FROM table_name_18 WHERE rank LIKE '%10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76239 (\n \"Rank\" real,\n \"Title\" text,\n \"Studio\" text,\n \"Director\" text,\n \"Worldwide Gross\" text\n)\n\nQUESTION: What is the Title of the Film with a Rank greater than 11 and Worldwide Gross of $131,002,597?\nSQL QUERY:", "completion": "SELECT \"Title\" FROM table_76239 WHERE \"Rank\" > 11 AND \"Worldwide Gross\" LIKE '%$131,002,597%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n playoffs VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What Playoffs were held during the years of 2007-08?\nSQL QUERY:", "completion": "SELECT playoffs FROM table_name_70 WHERE year LIKE \"%2007-08%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25068 (\n \"District\" text,\n \"Vacator\" text,\n \"Reason for change\" text,\n \"Successor\" text,\n \"Date successor seated\" text\n)\n\nQUESTION: The successor for the Massachusetts 20th district was seated on what date?\nSQL QUERY:", "completion": "SELECT \"Date successor seated\" FROM table_25068 WHERE \"District\" LIKE '%massachusetts 20th%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n team VARCHAR,\n podiums VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which Team has Podiums of 0, and a Position of nc ?\nSQL QUERY:", "completion": "SELECT team FROM table_name_94 WHERE podiums LIKE \"%0%\" AND position LIKE \"%nc†%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n province VARCHAR,\n region VARCHAR,\n area VARCHAR\n)\n\nQUESTION: What province has a v valpara so region and an area of 927.2?\nSQL QUERY:", "completion": "SELECT province FROM table_name_31 WHERE region LIKE \"%v valparaíso%\" AND area = 927.2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n wins VARCHAR,\n stadium VARCHAR\n)\n\nQUESTION: How many wins did they have at Richmond Cricket Ground Stadium?\nSQL QUERY:", "completion": "SELECT wins FROM table_name_20 WHERE stadium LIKE \"%richmond cricket ground%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10611 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What was the date of the game at Lake Oval?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_10611 WHERE \"Venue\" LIKE '%lake oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_103 (\n id number,\n \"medal\" text,\n \"name\" text,\n \"sport\" text,\n \"event\" text\n)\n\nQUESTION: in what sport did india win the most silver medals ?\nSQL QUERY:", "completion": "SELECT \"sport\" FROM table_204_103 GROUP BY \"sport\" ORDER BY COUNT(\"medal\") DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_100 (\n \"Pick #\" real,\n \"CFL Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What college did Calvin McCarty play at?\nSQL QUERY:", "completion": "SELECT \"College\" FROM table_100 WHERE \"Player\" LIKE '%calvin mccarty%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n attendance VARCHAR,\n week VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the attendance for the game held on September 18, 1994, with a week less than 5?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_25 WHERE CAST(week AS INTEGER) < 5 AND date LIKE '%september 18, 1994%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2223177_3 (\n season INTEGER\n)\n\nQUESTION: Name the least season\nSQL QUERY:", "completion": "SELECT MIN(season) FROM table_2223177_3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n date VARCHAR,\n label VARCHAR,\n format VARCHAR\n)\n\nQUESTION: What is the date for Hydra Head Records with a CD format?\nSQL QUERY:", "completion": "SELECT date FROM table_name_21 WHERE label LIKE \"%hydra head records%\" AND format LIKE \"%cd%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2093995_1 (\n stations VARCHAR,\n city__neighborhood VARCHAR\n)\n\nQUESTION: What are the stations in Tarzana?\nSQL QUERY:", "completion": "SELECT stations FROM table_2093995_1 WHERE city__neighborhood LIKE \"%tarzana%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27003186_3 (\n other VARCHAR,\n registered_voters VARCHAR\n)\n\nQUESTION: What is other when registered voters is 50.7%?\nSQL QUERY:", "completion": "SELECT other FROM table_27003186_3 WHERE registered_voters LIKE \"%50.7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67265 (\n \"Title\" text,\n \"Studio\" text,\n \"Role\" text,\n \"Leading lady\" text,\n \"Director\" text\n)\n\nQUESTION: Who directed the movie The Star Packer?\nSQL QUERY:", "completion": "SELECT \"Director\" FROM table_67265 WHERE \"Title\" LIKE '%the star packer%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48553 (\n \"Round\" real,\n \"Pick\" real,\n \"Player\" text,\n \"Nationality\" text,\n \"College\" text\n)\n\nQUESTION: WHAT PLAYER HAS A PICK SMALLER THAN 110, AND DUKE AS COLLEGE?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_48553 WHERE \"Pick\" < 110 AND \"College\" LIKE '%duke%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24765815_1 (\n team VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What team was ranked in 7th?\nSQL QUERY:", "completion": "SELECT team FROM table_24765815_1 WHERE rank LIKE \"%7th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n bronze INTEGER,\n silver INTEGER\n)\n\nQUESTION: Name the least bronze for silver being less than 0\nSQL QUERY:", "completion": "SELECT MIN(bronze) FROM table_name_45 WHERE silver < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4997 (\n \"Date\" text,\n \"City\" text,\n \"Opponent\" text,\n \"Results\\u00b9\" text,\n \"Type of game\" text\n)\n\nQUESTION: When was the game played in Zagreb?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_4997 WHERE \"City\" LIKE '%zagreb%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n date VARCHAR,\n surface VARCHAR\n)\n\nQUESTION: Which date has a Surface of carpet (i)?\nSQL QUERY:", "completion": "SELECT date FROM table_name_44 WHERE surface LIKE \"%carpet (i)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n weight VARCHAR,\n club VARCHAR\n)\n\nQUESTION: What is the weight of the player from the vk primorac kotor club?\nSQL QUERY:", "completion": "SELECT weight FROM table_name_42 WHERE club LIKE \"%vk primorac kotor%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n airport VARCHAR,\n icao VARCHAR\n)\n\nQUESTION: What airport has an ICAO of Birk?\nSQL QUERY:", "completion": "SELECT airport FROM table_name_16 WHERE icao LIKE \"%birk%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11621915_1 (\n winner VARCHAR,\n purse__$__ VARCHAR,\n date VARCHAR\n)\n\nQUESTION: what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28\nSQL QUERY:", "completion": "SELECT winner FROM table_11621915_1 WHERE CAST(purse__$__ AS FLOAT) > 964017.2297960471 AND date LIKE '%may 28%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_75 (\n tournament VARCHAR,\n surface VARCHAR,\n finalist VARCHAR\n)\n\nQUESTION: Where was the tournament where the match was on a hard surface and jan-michael gambill (19) was the finalist?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_75 WHERE surface LIKE \"%hard%\" AND finalist LIKE \"%jan-michael gambill (19)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68891 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: What is the second leg that Valencia was on?\nSQL QUERY:", "completion": "SELECT \"2nd leg\" FROM table_68891 WHERE \"Team 2\" LIKE '%valencia%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30062172_3 (\n gt3_winner VARCHAR,\n pole_position VARCHAR\n)\n\nQUESTION: When tim bridgman gregor fisken is the pole position who is the gt3 winner?\nSQL QUERY:", "completion": "SELECT gt3_winner FROM table_30062172_3 WHERE pole_position LIKE \"%tim bridgman gregor fisken%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15945862_1 (\n july VARCHAR,\n march VARCHAR\n)\n\nQUESTION: March 0.41 in July?\nSQL QUERY:", "completion": "SELECT july FROM table_15945862_1 WHERE march LIKE \"%0.41%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n first_season_in_first_division VARCHAR,\n first_season_after_most_recent_promotion VARCHAR,\n name VARCHAR\n)\n\nQUESTION: When was Alianza's first season in first division with a promotion after 1959?\nSQL QUERY:", "completion": "SELECT first_season_in_first_division FROM table_name_63 WHERE first_season_after_most_recent_promotion LIKE \"%1959%\" AND name LIKE \"%alianza%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27533947_1 (\n players VARCHAR,\n grand_average VARCHAR\n)\n\nQUESTION: If the grand average is 12.76-202, who is the player?\nSQL QUERY:", "completion": "SELECT players FROM table_27533947_1 WHERE grand_average LIKE '%12.76-202%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n road_numbers VARCHAR,\n class VARCHAR\n)\n\nQUESTION: what is the road numbers when the class is z-7?\nSQL QUERY:", "completion": "SELECT road_numbers FROM table_name_66 WHERE class LIKE \"%z-7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17247 (\n \"Full Name\" text,\n \"Nickname\" text,\n \"Gender\" text,\n \"Weight at birth\" text,\n \"Meaning\" text\n)\n\nQUESTION: What is the number of meaning where full name is chidinma anulika?\nSQL QUERY:", "completion": "SELECT COUNT(\"Meaning\") FROM table_17247 WHERE \"Full Name\" LIKE '%chidinma anulika%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n date VARCHAR,\n opponents_in_the_final VARCHAR\n)\n\nQUESTION: What is Date, when Opponents In The Final, is Maria-Fernanda Alves St phanie Dubois?\nSQL QUERY:", "completion": "SELECT date FROM table_name_59 WHERE opponents_in_the_final LIKE \"%maria-fernanda alves stéphanie dubois%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_75 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Which team played as the home team when north melbourne played as away?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_75 WHERE away_team LIKE \"%north melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n venue VARCHAR,\n goal INTEGER\n)\n\nQUESTION: What venue had less than 2 goals?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_80 WHERE goal < 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77228 (\n \"Call sign\" text,\n \"Frequency MHz\" real,\n \"City of license\" text,\n \"ERP W\" real,\n \"Class\" text,\n \"FCC info\" text\n)\n\nQUESTION: What is the Sum of ERP W, when Call Sign is K216GA?\nSQL QUERY:", "completion": "SELECT SUM(\"ERP W\") FROM table_77228 WHERE \"Call sign\" LIKE '%k216ga%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18143210_2 (\n first_season_of_current_spell_in_top_division VARCHAR,\n first_season_in_top_division VARCHAR\n)\n\nQUESTION: When was the 'first season of current spell in top division' if the first season in top division is in 1964-65?\nSQL QUERY:", "completion": "SELECT first_season_of_current_spell_in_top_division FROM table_18143210_2 WHERE first_season_in_top_division LIKE \"%1964-65%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5765 (\n \"Opposition\" text,\n \"Score\" text,\n \"Venue\" text,\n \"City\" text,\n \"Year\" real\n)\n\nQUESTION: Which Venue has a Year of 1911?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_5765 WHERE \"Year\" = 1911"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13557843_3 (\n score VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What was the score of the game when the team was 1-2?\nSQL QUERY:", "completion": "SELECT score FROM table_13557843_3 WHERE record LIKE \"%1-2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n director VARCHAR,\n title VARCHAR\n)\n\nQUESTION: Who directed Tequila?\nSQL QUERY:", "completion": "SELECT director FROM table_name_50 WHERE title LIKE \"%tequila%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n total INTEGER,\n to_par VARCHAR\n)\n\nQUESTION: Can you tell me the average Total that has the To par of 15?\nSQL QUERY:", "completion": "SELECT AVG(total) FROM table_name_36 WHERE to_par LIKE '%15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69744 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: Which Record has a Score of 0 2?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_69744 WHERE \"Score\" LIKE '%0–2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25594271_2 (\n loa__metres_ VARCHAR,\n yacht VARCHAR\n)\n\nQUESTION: What were the LOA metres for the yacht ichi ban?\nSQL QUERY:", "completion": "SELECT loa__metres_ FROM table_25594271_2 WHERE yacht LIKE '%ichi ban%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8742 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: What iwas the attendance of the game that took place on december 6, 1998?\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_8742 WHERE \"Date\" LIKE '%december 6, 1998%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1708050_1 (\n poles VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Name the poles for 25th position\nSQL QUERY:", "completion": "SELECT poles FROM table_1708050_1 WHERE position LIKE \"%25th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n constellation VARCHAR,\n object_type VARCHAR,\n ngc_number VARCHAR\n)\n\nQUESTION: What Constellation has a Object type of globular cluster and a NGC number of 5986?\nSQL QUERY:", "completion": "SELECT constellation FROM table_name_17 WHERE object_type LIKE \"%globular cluster%\" AND ngc_number LIKE \"%5986%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n total INTEGER,\n finish VARCHAR,\n year_won VARCHAR\n)\n\nQUESTION: Which Total has a Finish of t64, and a Year won larger than 2006?\nSQL QUERY:", "completion": "SELECT MAX(total) FROM table_name_64 WHERE finish LIKE \"%t64%\" AND year_won > \"2006\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32896 (\n \"Region\" text,\n \"Host\" text,\n \"Venue\" text,\n \"City\" text,\n \"State\" text\n)\n\nQUESTION: What city is located in Oklahoma?\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_32896 WHERE \"State\" LIKE '%oklahoma%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n pick VARCHAR,\n school VARCHAR\n)\n\nQUESTION: What is the total pick number of Virginia Tech?\nSQL QUERY:", "completion": "SELECT COUNT(pick) FROM table_name_68 WHERE school LIKE \"%virginia tech%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41629 (\n \"Name\" text,\n \"Career\" text,\n \"Goals\" real,\n \"Appearances\" real,\n \"Goals/Game Ratio\" real\n)\n\nQUESTION: Which goals/game ratio has fewer than 201 goals and fewer than 170 appearances?\nSQL QUERY:", "completion": "SELECT \"Goals/Game Ratio\" FROM table_41629 WHERE \"Goals\" < 201 AND \"Appearances\" < 170"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n cuts_made INTEGER,\n wins VARCHAR,\n top_25 VARCHAR,\n top_5 VARCHAR\n)\n\nQUESTION: Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0\nSQL QUERY:", "completion": "SELECT MAX(cuts_made) FROM table_name_61 WHERE top_25 > 4 AND top_5 LIKE '1' AND wins LIKE '%0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19417244_2 (\n directed_by VARCHAR,\n us_viewers__millions_ VARCHAR\n)\n\nQUESTION: who directed the episode that have 14.59 million viewers\nSQL QUERY:", "completion": "SELECT directed_by FROM table_19417244_2 WHERE us_viewers__millions_ LIKE \"%14.59%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n position INTEGER,\n difference VARCHAR,\n drawn VARCHAR\n)\n\nQUESTION: Which Position has a Difference of 5, and a Drawn smaller than 3?\nSQL QUERY:", "completion": "SELECT MIN(position) FROM table_name_84 WHERE difference LIKE \"%5%\" AND drawn < 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10975034_2 (\n player VARCHAR,\n college VARCHAR\n)\n\nQUESTION: Which player from the 2004 CFL draft attended Wilfrid Laurier?\nSQL QUERY:", "completion": "SELECT player FROM table_10975034_2 WHERE college LIKE \"%wilfrid laurier%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9864 (\n \"Name\" text,\n \"Position\" text,\n \"Height\" text,\n \"Weight\" real,\n \"Year\" text,\n \"Home Town\" text\n)\n\nQUESTION: What is the total combined weight of players from minnetonka, mn?\nSQL QUERY:", "completion": "SELECT SUM(\"Weight\") FROM table_9864 WHERE \"Home Town\" LIKE '%minnetonka, mn%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n attendance VARCHAR,\n week VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: Which attendance number was taken in a week less than 16 when the Washington Redskins were the opponents?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_39 WHERE week < '16' AND opponent LIKE '%washington redskins%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE editor (\n Age VARCHAR\n)\n\nQUESTION: Please show the most common age of editors.\nSQL QUERY:", "completion": "SELECT Age FROM editor GROUP BY Age ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35947 (\n \"Nation\" text,\n \"Skip\" text,\n \"Third\" text,\n \"Second\" text,\n \"Lead\" text\n)\n\nQUESTION: Who was the second when Ilian Kirilov was the lead?\nSQL QUERY:", "completion": "SELECT \"Second\" FROM table_35947 WHERE \"Lead\" LIKE '%ilian kirilov%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341568_14 (\n district VARCHAR,\n elected VARCHAR\n)\n\nQUESTION: What district had elections in 1964?\nSQL QUERY:", "completion": "SELECT district FROM table_1341568_14 WHERE elected = '1964'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n record VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the record after the January 18 game?\nSQL QUERY:", "completion": "SELECT record FROM table_name_86 WHERE date LIKE \"%january 18%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n days VARCHAR,\n year VARCHAR,\n constituency VARCHAR\n)\n\nQUESTION: What are the number of days in 1945 where the constituent was heywood and radcliffe?\nSQL QUERY:", "completion": "SELECT days FROM table_name_18 WHERE year LIKE \"%1945%\" AND constituency LIKE \"%heywood and radcliffe%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17288869_7 (\n high_points VARCHAR,\n high_rebounds VARCHAR\n)\n\nQUESTION: Who had the high points while Dirk Nowitzki (13) had the high rebounds?\nSQL QUERY:", "completion": "SELECT high_points FROM table_17288869_7 WHERE high_rebounds LIKE \"%dirk nowitzki (13)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n constructor VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: What is the name of the company that constructed the vehicle for Timo Glock?\nSQL QUERY:", "completion": "SELECT constructor FROM table_name_15 WHERE driver LIKE \"%timo glock%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_78923 (\n \"Opposing Teams\" text,\n \"Against\" real,\n \"Date\" text,\n \"Venue\" text,\n \"Status\" text\n)\n\nQUESTION: What is the status when the against is 11?\nSQL QUERY:", "completion": "SELECT \"Status\" FROM table_78923 WHERE \"Against\" = 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n week INTEGER,\n result VARCHAR\n)\n\nQUESTION: What was the last week when the team had a bye week?\nSQL QUERY:", "completion": "SELECT MAX(week) FROM table_name_58 WHERE result LIKE \"%bye%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1949994_7 (\n format VARCHAR,\n end_date VARCHAR\n)\n\nQUESTION: What's the format of the season that ended on June 25?\nSQL QUERY:", "completion": "SELECT format FROM table_1949994_7 WHERE end_date LIKE '%june 25%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23286158_10 (\n high_assists VARCHAR,\n high_rebounds VARCHAR\n)\n\nQUESTION: When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_23286158_10 WHERE high_rebounds LIKE \"%marcus camby (15)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_41 (\n attendance VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What iwas the attendance of the game that took place on december 6, 1998?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_41 WHERE date LIKE \"%december 6, 1998%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n place VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What is the Place of the Player with a Score of 70-71=141?\nSQL QUERY:", "completion": "SELECT place FROM table_name_61 WHERE score = '-1'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: Which Away team score has a Home team of richmond?\nSQL QUERY:", "completion": "SELECT away_team AS score FROM table_name_58 WHERE home_team LIKE \"%richmond%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35262 (\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Total of 3, and a Gold larger than 0, and a Nation of belarus, and a Silver larger than 2 has what sum of bronze?\nSQL QUERY:", "completion": "SELECT SUM(\"Bronze\") FROM table_35262 WHERE \"Total\" = 3 AND \"Gold\" > 0 AND \"Nation\" LIKE '%belarus%' AND \"Silver\" > 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14959246_2 (\n attendance VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the attendance at the game played on December 10, 1972?\nSQL QUERY:", "completion": "SELECT attendance FROM table_14959246_2 WHERE date LIKE \"%december 10, 1972%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27275 (\n \"Pick #\" real,\n \"CFL Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: Name the cfl team for steven turner\nSQL QUERY:", "completion": "SELECT \"CFL Team\" FROM table_27275 WHERE \"Player\" LIKE '%steven turner%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n total INTEGER,\n silver INTEGER\n)\n\nQUESTION: What is the smallest number of medals a country with more than 14 silver has?\nSQL QUERY:", "completion": "SELECT MIN(total) FROM table_name_78 WHERE silver > 14"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21571 (\n \"Fin. Pos\" real,\n \"Car No.\" real,\n \"Driver\" text,\n \"Team\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real,\n \"Laps Led\" real,\n \"Points\" text\n)\n\nQUESTION: If grid is 2, what is the minimum fin. pos number?\nSQL QUERY:", "completion": "SELECT MIN(\"Fin. Pos\") FROM table_21571 WHERE \"Grid\" = 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_910 (\n id number,\n \"rank\" number,\n \"name\" text,\n \"nationality\" text,\n \"result\" number,\n \"notes\" text\n)\n\nQUESTION: which country came in first ?\nSQL QUERY:", "completion": "SELECT \"nationality\" FROM table_204_910 WHERE id = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77366 (\n \"Movie Title\" text,\n \"Year\" real,\n \"Role\" text,\n \"Director\" text,\n \"Producer\" text\n)\n\nQUESTION: What year was Jamboree made?\nSQL QUERY:", "completion": "SELECT \"Year\" FROM table_77366 WHERE \"Movie Title\" LIKE '%jamboree%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24399615_5 (\n cable_rank VARCHAR,\n episode_no VARCHAR\n)\n\nQUESTION: How many times did episode number 8 air?\nSQL QUERY:", "completion": "SELECT COUNT(cable_rank) FROM table_24399615_5 WHERE episode_no LIKE '%8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n venue VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What venue is on the date of 8/6/03\nSQL QUERY:", "completion": "SELECT venue FROM table_name_5 WHERE date LIKE \"%8/6/03%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22011138_7 (\n pos VARCHAR\n)\n\nQUESTION: If the POS is 3, what is the 08 points?\nSQL QUERY:", "completion": "SELECT 08 AS _pts FROM table_22011138_7 WHERE pos LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37632 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score\" text\n)\n\nQUESTION: When did Adam Thompson play in the final?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_37632 WHERE \"Opponent in the final\" LIKE '%adam thompson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31167 (\n \"District\" real,\n \"Representative\" text,\n \"Party\" text,\n \"Residence\" text,\n \"First Elected\" text,\n \"Term Limited\" real\n)\n\nQUESTION: which party is the newark representative from\nSQL QUERY:", "completion": "SELECT \"Party\" FROM table_31167 WHERE \"Residence\" LIKE '%newark%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71763 (\n \"Year\" text,\n \"Start\" text,\n \"Qual\" text,\n \"Rank\" text,\n \"Finish\" text,\n \"Laps\" real\n)\n\nQUESTION: What is the qual with 200 laps and a rank of 27?\nSQL QUERY:", "completion": "SELECT \"Qual\" FROM table_71763 WHERE \"Laps\" = 200 AND \"Rank\" LIKE '%27%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21702 (\n \"Class\" text,\n \"Part 1\" text,\n \"Part 2\" text,\n \"Part 3\" text,\n \"Part 4\" text,\n \"Verb meaning\" text\n)\n\nQUESTION: In what class does the verb with part 4 gelopen belong to?\nSQL QUERY:", "completion": "SELECT \"Class\" FROM table_21702 WHERE \"Part 4\" LIKE '%gelopen%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11803648_20 (\n player VARCHAR,\n round VARCHAR\n)\n\nQUESTION: Which player is in round 5?\nSQL QUERY:", "completion": "SELECT player FROM table_11803648_20 WHERE round LIKE '%5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n solvent VARCHAR,\n boiling_point VARCHAR\n)\n\nQUESTION: What solvent has a boiling point of 100 103 c?\nSQL QUERY:", "completion": "SELECT solvent FROM table_name_55 WHERE boiling_point LIKE \"%100–103 °c%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2076608_3 (\n enrollment VARCHAR,\n location_s_ VARCHAR\n)\n\nQUESTION: Where are the Alexandria enrollment locations?\nSQL QUERY:", "completion": "SELECT enrollment FROM table_2076608_3 WHERE location_s_ LIKE '%alexandria%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n driver VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: I want the driver for grid of 9\nSQL QUERY:", "completion": "SELECT driver FROM table_name_59 WHERE grid LIKE '%9%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18967450_2 (\n club VARCHAR,\n goals VARCHAR\n)\n\nQUESTION: Which team/s have 48 goals total?\nSQL QUERY:", "completion": "SELECT club FROM table_18967450_2 WHERE goals LIKE '%48%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29619494_2 (\n apocalypstix VARCHAR,\n denim_demons VARCHAR\n)\n\nQUESTION: List all the places that the Apocalypstix occupied when the Denim Demons were 2nd.\nSQL QUERY:", "completion": "SELECT apocalypstix FROM table_29619494_2 WHERE denim_demons LIKE \"%2nd%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79418 (\n \"Time\" text,\n \"Wind\" text,\n \"Athlete\" text,\n \"Nationality\" text,\n \"Location of race\" text,\n \"Date\" text\n)\n\nQUESTION: Who was the athlete with a wind of 1.8?\nSQL QUERY:", "completion": "SELECT \"Athlete\" FROM table_79418 WHERE \"Wind\" LIKE '%1.8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_442 (\n id number,\n \"institution\" text,\n \"location\" text,\n \"enrollment\" number,\n \"nickname\" text,\n \"varsity\\nsports\" number,\n \"rugby\\nsince\" text,\n \"head coach\" text\n)\n\nQUESTION: when was the first year of rugby of the terrapins ?\nSQL QUERY:", "completion": "SELECT \"rugby\\nsince\" FROM table_204_442 WHERE \"nickname\" LIKE '%terrapins%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64940 (\n \"Player\" text,\n \"Int'l Debut\" text,\n \"Year\" text,\n \"Cross Code Debut\" text,\n \"Date\" text\n)\n\nQUESTION: In what Year is Keith Smith's Cross Code Debut RL Test v Wales?\nSQL QUERY:", "completion": "SELECT \"Year\" FROM table_64940 WHERE \"Cross Code Debut\" LIKE '%rl test v wales%' AND \"Player\" LIKE '%keith smith%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_643 (\n id number,\n \"release\" number,\n \"artist\" text,\n \"title\" text,\n \"notes\" text,\n \"album\" text\n)\n\nQUESTION: what has been the last song this artist has made an other appearance on ?\nSQL QUERY:", "completion": "SELECT \"title\" FROM table_204_643 ORDER BY id DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n weeks_on_chart INTEGER,\n position INTEGER\n)\n\nQUESTION: What is the sum of the weeks on a chart a song with a position less than 1 haas?\nSQL QUERY:", "completion": "SELECT SUM(weeks_on_chart) FROM table_name_92 WHERE position < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20887670_1 (\n affiliation VARCHAR,\n mascot VARCHAR\n)\n\nQUESTION: what is the affiliation of the hilltoppers mascot?\nSQL QUERY:", "completion": "SELECT affiliation FROM table_20887670_1 WHERE mascot LIKE \"%hilltoppers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10213 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Which Home team has a Home team score of 7.8 (50)?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_10213 WHERE \"Home team score\" LIKE '%7.8 (50)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n incumbent VARCHAR,\n party VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Which democratic incumbent is from the district of ohio 7?\nSQL QUERY:", "completion": "SELECT incumbent FROM table_name_93 WHERE party LIKE \"%democratic%\" AND district LIKE \"%ohio 7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28898948_3 (\n date VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: When ihaia tainui is the incumbent what is the date?\nSQL QUERY:", "completion": "SELECT date FROM table_28898948_3 WHERE incumbent LIKE \"%ihaia tainui%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n transfer_window VARCHAR,\n moving_to VARCHAR\n)\n\nQUESTION: Name the transfer window of realmadrid\nSQL QUERY:", "completion": "SELECT transfer_window FROM table_name_12 WHERE moving_to LIKE '%realmadrid%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n pick VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which pick number resulted in a defensive end?\nSQL QUERY:", "completion": "SELECT pick FROM table_name_34 WHERE position LIKE \"%defensive end%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50508 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location\" text,\n \"Attendance\" real,\n \"Record\" text,\n \"Points\" real\n)\n\nQUESTION: Where was the game where the senators scored 80 points?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_50508 WHERE \"Points\" = 80"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n finish VARCHAR,\n wins VARCHAR\n)\n\nQUESTION: What is the Finish of 28 Wins?\nSQL QUERY:", "completion": "SELECT finish FROM table_name_49 WHERE wins LIKE \"%28%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n population VARCHAR,\n area__km²_ VARCHAR\n)\n\nQUESTION: What is the Population of the nation that has an Area (km ) of 70,273?\nSQL QUERY:", "completion": "SELECT population FROM table_name_31 WHERE area__km²_ LIKE \"%70,273%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n press VARCHAR\n)\n\nQUESTION: Who is the 92.5 with the press of 282.5?\nSQL QUERY:", "completion": "SELECT 925 FROM table_name_26 WHERE press LIKE \"%282.5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70498 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: What was the aggregate score that had Union Douala as Team 1?\nSQL QUERY:", "completion": "SELECT \"Agg.\" FROM table_70498 WHERE \"Team 1\" LIKE '%union douala%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40046 (\n \"City\" text,\n \"Country\" text,\n \"IATA\" text,\n \"ICAO\" text,\n \"Airport\" text\n)\n\nQUESTION: What shows for ICAO when the IATA is sin?\nSQL QUERY:", "completion": "SELECT \"ICAO\" FROM table_40046 WHERE \"IATA\" LIKE '%sin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n popular_votes VARCHAR,\n office VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Name the total number of popular votes for mn attorney general in 1994\nSQL QUERY:", "completion": "SELECT COUNT(popular_votes) FROM table_name_74 WHERE office LIKE \"%mn attorney general%\" AND year = '1994'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28693349_2 (\n games INTEGER,\n player VARCHAR\n)\n\nQUESTION: How many games did Robert Peare play?\nSQL QUERY:", "completion": "SELECT MAX(games) FROM table_28693349_2 WHERE player LIKE \"%robert peare%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n tournament VARCHAR\n)\n\nQUESTION: What Tournament was the 2010 Olympic Games?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_58 WHERE \"2010\" LIKE '%olympic games%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: When the home team was geelong, who played as the away team?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_80 WHERE home_team LIKE \"%geelong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12082 (\n \"Draw\" real,\n \"Artist\" text,\n \"Song\" text,\n \"Points\" real,\n \"Place\" real\n)\n\nQUESTION: Where did the artist All Mixed Up place?\nSQL QUERY:", "completion": "SELECT MIN(\"Place\") FROM table_12082 WHERE \"Artist\" LIKE '%all mixed up%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46393 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Who had the most points in the game on November 12?\nSQL QUERY:", "completion": "SELECT \"High points\" FROM table_46393 WHERE \"Date\" LIKE '%november 12%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_228973_11 (\n no_in_series VARCHAR,\n directed_by VARCHAR\n)\n\nQUESTION: David James Elliott directed which episode number within the series?\nSQL QUERY:", "completion": "SELECT no_in_series FROM table_228973_11 WHERE directed_by LIKE \"%david james elliott%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24814477_2 (\n week VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What week did the Galaxy play the Amsterdam Admirals?\nSQL QUERY:", "completion": "SELECT week FROM table_24814477_2 WHERE opponent LIKE \"%amsterdam admirals%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n rank INTEGER,\n assists VARCHAR\n)\n\nQUESTION: What is the sum of Rank, when Assists is '82'?\nSQL QUERY:", "completion": "SELECT SUM(rank) FROM table_name_21 WHERE assists LIKE '%82%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28846752_13 (\n player VARCHAR,\n average VARCHAR\n)\n\nQUESTION: Who is the player with an average of 35.42?\nSQL QUERY:", "completion": "SELECT player FROM table_28846752_13 WHERE average LIKE \"%35.42%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1061075_1 (\n competition VARCHAR,\n aggregate VARCHAR\n)\n\nQUESTION: what's the competition where aggregate is 4 7\nSQL QUERY:", "completion": "SELECT competition FROM table_1061075_1 WHERE aggregate LIKE \"%4–7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n total VARCHAR,\n silver INTEGER\n)\n\nQUESTION: How much Total has a Silver smaller than 0?\nSQL QUERY:", "completion": "SELECT COUNT(total) FROM table_name_38 WHERE silver < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67650 (\n \"Res.\" text,\n \"Record\" text,\n \"Opponent\" text,\n \"Type\" text,\n \"Rd., Time\" text,\n \"Date\" text\n)\n\nQUESTION: What is the record of the match on 2009-07-18?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_67650 WHERE \"Date\" LIKE '%2009-07-18%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_376 (\n id number,\n \"date\" text,\n \"venue\" text,\n \"opponents\" text,\n \"score\" text,\n \"competition\" text\n)\n\nQUESTION: who was the last opponent on the list , chronologically ?\nSQL QUERY:", "completion": "SELECT \"opponents\" FROM table_204_376 ORDER BY \"date\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57157 (\n \"Rank\" real,\n \"Name\" text,\n \"Nation\" text,\n \"Points\" real,\n \"Placings\" real\n)\n\nQUESTION: Tell me the sum of rank for placings of 58\nSQL QUERY:", "completion": "SELECT SUM(\"Rank\") FROM table_57157 WHERE \"Placings\" = 58"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18718 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: How many candidates won the election of john n. sandlin?\nSQL QUERY:", "completion": "SELECT COUNT(\"Candidates\") FROM table_18718 WHERE \"Incumbent\" LIKE '%john n. sandlin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_59131 (\n \"Name\" text,\n \"Pos.\" text,\n \"Height\" text,\n \"Weight\" text,\n \"Date of Birth\" text,\n \"Club\" text\n)\n\nQUESTION: What is the name when weight shows head coach: Aleksandr Kabanov?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_59131 WHERE \"Weight\" LIKE '%head coach: aleksandr kabanov%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n role VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What role was played in 2007?\nSQL QUERY:", "completion": "SELECT role FROM table_name_37 WHERE year LIKE '%2007%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n apps INTEGER,\n player VARCHAR,\n goals VARCHAR\n)\n\nQUESTION: How many Apps did Player Gilberto with more than 1 Goals have?\nSQL QUERY:", "completion": "SELECT AVG(apps) FROM table_name_64 WHERE player LIKE \"%gilberto%\" AND goals > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n game VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the playoffs Game number on April 26?\nSQL QUERY:", "completion": "SELECT game FROM table_name_94 WHERE date LIKE \"%april 26%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5788 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Partnering\" text,\n \"Opponents in the final\" text,\n \"Score\" text\n)\n\nQUESTION: When has a Score of 6 3, 6 4?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_5788 WHERE \"Score\" LIKE '%6–3, 6–4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_78269 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: What was the retired time on someone who had 43 laps on a grip of 18?\nSQL QUERY:", "completion": "SELECT \"Time/Retired\" FROM table_78269 WHERE \"Laps\" = 43 AND \"Grid\" = 18"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20467 (\n \"Cartridge\" text,\n \"Bullet weight\" text,\n \"Muzzle velocity\" text,\n \"Muzzle energy\" text,\n \"Source\" text\n)\n\nQUESTION: What type of cartridge is used by a Weatherby?\nSQL QUERY:", "completion": "SELECT \"Cartridge\" FROM table_20467 WHERE \"Source\" LIKE '%weatherby%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is the date when the away team is essendon?\nSQL QUERY:", "completion": "SELECT date FROM table_name_93 WHERE away_team LIKE \"%essendon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1805191_6 (\n results VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What were the result(s) of the election featuring grace napolitano as the incumbent?\nSQL QUERY:", "completion": "SELECT results FROM table_1805191_6 WHERE incumbent LIKE \"%grace napolitano%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_293 (\n id number,\n \"district\" number,\n \"name\" text,\n \"party\" text,\n \"district office\" text,\n \"first elected\" number\n)\n\nQUESTION: who was elected earlier , amedee or cortez ?\nSQL QUERY:", "completion": "SELECT \"name\" FROM table_204_293 WHERE \"name\" LIKE '%jody amedee%' OR \"name\" LIKE '%page cortez%' ORDER BY \"first elected\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n high_assists VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What was the number of high assists for game 1?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_name_94 WHERE game LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_103 (\n id number,\n \"medal\" text,\n \"name\" text,\n \"sport\" text,\n \"event\" text\n)\n\nQUESTION: how many silver medals did satheesha rai win according to the table ?\nSQL QUERY:", "completion": "SELECT COUNT(\"medal\") FROM table_204_103 WHERE \"name\" LIKE '%satheesha rai%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n date_of_appointment VARCHAR,\n outgoing_manager VARCHAR\n)\n\nQUESTION: When is the appointment date for outgoing manager Petrik Sander?\nSQL QUERY:", "completion": "SELECT date_of_appointment FROM table_name_60 WHERE outgoing_manager LIKE \"%petrik sander%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n original_title VARCHAR,\n director VARCHAR\n)\n\nQUESTION: What is the Original Title of the movie directed by Aigars Grauba?\nSQL QUERY:", "completion": "SELECT original_title FROM table_name_36 WHERE director LIKE \"%aigars grauba%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n appearances VARCHAR,\n goals VARCHAR\n)\n\nQUESTION: What is the amount of apperances of the person who had 36 goals?\nSQL QUERY:", "completion": "SELECT appearances FROM table_name_5 WHERE goals LIKE '%36%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n year INTEGER,\n role VARCHAR,\n director VARCHAR\n)\n\nQUESTION: What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley?\nSQL QUERY:", "completion": "SELECT SUM(year) FROM table_name_56 WHERE role LIKE \"%nan taylor, alias of nan ellis, aka mrs. andrews%\" AND director LIKE \"%william keighley%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n date VARCHAR,\n result VARCHAR\n)\n\nQUESTION: When was the result l 14 24?\nSQL QUERY:", "completion": "SELECT date FROM table_name_71 WHERE result LIKE '%l 14–24%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52069 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70\nSQL QUERY:", "completion": "SELECT MIN(\"Grid\") FROM table_52069 WHERE \"Time/Retired\" LIKE '%engine%' AND \"Driver\" LIKE '%emerson fittipaldi%' AND \"Laps\" > '70'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26996293_7 (\n pick__number VARCHAR,\n cfl_team VARCHAR\n)\n\nQUESTION: What is the pick # of cfl team bc lions (7)\nSQL QUERY:", "completion": "SELECT pick__number FROM table_26996293_7 WHERE cfl_team LIKE \"%bc lions (7)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n villages INTEGER,\n hanzi VARCHAR,\n population VARCHAR\n)\n\nQUESTION: Which town has the most villages with the hanzi and a population larger than 24,802?\nSQL QUERY:", "completion": "SELECT MAX(villages) FROM table_name_92 WHERE hanzi LIKE \"%南流乡%\" AND population > 24 LIMIT 1 OFFSET 802"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: What is Away Team, when Home Team is 'Boston United'?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_30 WHERE home_team LIKE \"%boston united%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27462209_1 (\n written_by VARCHAR,\n prod_code VARCHAR\n)\n\nQUESTION: Name who wrote the production code 322\nSQL QUERY:", "completion": "SELECT written_by FROM table_27462209_1 WHERE prod_code = '322'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n team__number1 VARCHAR\n)\n\nQUESTION: What is the 1st leg when team number 1 is CSU SIBIU?\nSQL QUERY:", "completion": "SELECT 1 AS st_leg FROM table_name_53 WHERE team__number1 LIKE '%csu sibiu%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55813 (\n \"Locomotive\" text,\n \"Serial No\" text,\n \"Entered service\" text,\n \"Gauge\" text,\n \"Livery\" text\n)\n\nQUESTION: What is the livery on the locomotive with a serial number 83-1011?\nSQL QUERY:", "completion": "SELECT \"Livery\" FROM table_55813 WHERE \"Serial No\" LIKE '%83-1011%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13762472_3 (\n game INTEGER,\n record VARCHAR\n)\n\nQUESTION: What was the last game where the record was 6-3?\nSQL QUERY:", "completion": "SELECT MAX(game) FROM table_13762472_3 WHERE record LIKE \"%6-3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33800 (\n \"Medal\" text,\n \"Name\" text,\n \"Games\" text,\n \"Sport\" text,\n \"Event\" text\n)\n\nQUESTION: Which event in the 2008 Beijing Games had a bronze medal?\nSQL QUERY:", "completion": "SELECT \"Event\" FROM table_33800 WHERE \"Games\" LIKE '%2008 beijing%' AND \"Medal\" LIKE '%bronze%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41307 (\n \"Ballarat FL\" text,\n \"Wins\" real,\n \"Byes\" real,\n \"Losses\" real,\n \"Draws\" real,\n \"Against\" real\n)\n\nQUESTION: What is the least amount of draws with an against of 1261?\nSQL QUERY:", "completion": "SELECT MIN(\"Draws\") FROM table_41307 WHERE \"Against\" LIKE '%1261%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n ihsaa_class VARCHAR,\n year_joined VARCHAR,\n mascot VARCHAR\n)\n\nQUESTION: Which ISHAA school joined in 2012 and has a mascot of the panthers?\nSQL QUERY:", "completion": "SELECT ihsaa_class FROM table_name_64 WHERE year_joined < '2012' AND mascot LIKE '%panthers%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n location VARCHAR,\n date VARCHAR\n)\n\nQUESTION: what is the location on november 23?\nSQL QUERY:", "completion": "SELECT location FROM table_name_58 WHERE date LIKE \"%november 23%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46169 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Result\" text,\n \"Record\" text\n)\n\nQUESTION: Which Score has an Opponent of @ seattle?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_46169 WHERE \"Opponent\" LIKE '%@ seattle%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13547 (\n \"Team\" text,\n \"Outgoing manager\" text,\n \"Manner of departure\" text,\n \"Date of vacancy\" text,\n \"Replaced by\" text,\n \"Date of appointment\" text,\n \"Position in table\" text\n)\n\nQUESTION: what is the manner of departure when the date of vacancy is 15 september 2008?\nSQL QUERY:", "completion": "SELECT \"Manner of departure\" FROM table_13547 WHERE \"Date of vacancy\" LIKE '%15 september 2008%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1893276_2 (\n finish VARCHAR,\n eliminated VARCHAR\n)\n\nQUESTION: When jim is eliminated what is the finish?\nSQL QUERY:", "completion": "SELECT finish FROM table_1893276_2 WHERE eliminated LIKE \"%jim%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28688313_1 (\n written_by VARCHAR,\n us_viewers__in_millions_ VARCHAR\n)\n\nQUESTION: Who wrote the episode with 7.52 million US viewers?\nSQL QUERY:", "completion": "SELECT written_by FROM table_28688313_1 WHERE us_viewers__in_millions_ LIKE \"%7.52%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10645 (\n \"Tournament\" text,\n \"Winner\" text,\n \"Runner-up\" text,\n \"Score\" text,\n \"Third Place\" text\n)\n\nQUESTION: Name the third place for anders j rryd\nSQL QUERY:", "completion": "SELECT \"Third Place\" FROM table_10645 WHERE \"Runner-up\" LIKE '%anders järryd%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n gold INTEGER,\n rank VARCHAR\n)\n\nQUESTION: What is the sum of gold medals for a rank of 14?\nSQL QUERY:", "completion": "SELECT SUM(gold) FROM table_name_95 WHERE rank LIKE \"%14%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n number_of_sequences_number_of_sequences VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the number of sequences for the name Alifoldz?\nSQL QUERY:", "completion": "SELECT number_of_sequences_number_of_sequences AS \":_\" FROM table_name_72 WHERE name LIKE \"%alifoldz%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n opponent VARCHAR,\n score VARCHAR,\n surface VARCHAR\n)\n\nQUESTION: Who is the opponent when the score was 6 4, 6 2 and the surface was clay?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_94 WHERE score LIKE \"%6–4, 6–2%\" AND surface LIKE \"%clay%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61339 (\n \"Women\" text,\n \"Country\" text,\n \"Season\" text,\n \"Victories\" real,\n \"Downhill\" text,\n \"Super G\" text,\n \"Giant Slalom\" text,\n \"Slalom\" text,\n \"Combined\" text\n)\n\nQUESTION: Can you tell me the Giant Slalom that has the Combined of 1, and the Country of united states, and the Victories larger than 11?\nSQL QUERY:", "completion": "SELECT \"Giant Slalom\" FROM table_61339 WHERE \"Combined\" LIKE '%1%' AND \"Country\" LIKE '%united states%' AND \"Victories\" > 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60693 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What was the score of the game that home team birmingham city played?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_60693 WHERE \"Home team\" LIKE '%birmingham city%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n date VARCHAR,\n game VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What date has a game smaller than 4, and a score of 116-114?\nSQL QUERY:", "completion": "SELECT date FROM table_name_73 WHERE game LIKE '%4%' AND score LIKE '%116-114%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n total VARCHAR,\n set_1 VARCHAR\n)\n\nQUESTION: What is the total when the set 1 is 21 25?\nSQL QUERY:", "completion": "SELECT total FROM table_name_95 WHERE set_1 LIKE \"%21–25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11359 (\n \"Year\" real,\n \"Organization\" text,\n \"Award\" text,\n \"Work\" text,\n \"Result\" text\n)\n\nQUESTION: Where Award is best actress and Work is first kiss, what is the average Year?\nSQL QUERY:", "completion": "SELECT AVG(\"Year\") FROM table_11359 WHERE \"Award\" LIKE '%best actress%' AND \"Work\" LIKE '%first kiss%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n internet_explorer VARCHAR,\n firefox VARCHAR\n)\n\nQUESTION: What was the internet explorer % when firefox was 24.98%?\nSQL QUERY:", "completion": "SELECT internet_explorer FROM table_name_47 WHERE firefox LIKE \"%24.98%%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_178399_1 (\n parish__prestegjeld_ VARCHAR,\n year_built VARCHAR\n)\n\nQUESTION: Name the parish for 1908\nSQL QUERY:", "completion": "SELECT parish__prestegjeld_ FROM table_178399_1 WHERE year_built LIKE '%1908%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n round INTEGER,\n method VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which Round has a Method of ko, and a Date of 1958?\nSQL QUERY:", "completion": "SELECT MIN(round) FROM table_name_46 WHERE method LIKE \"%ko%\" AND date LIKE \"%1958%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_235 (\n id number,\n \"season\" text,\n \"team\" text,\n \"country\" text,\n \"competition\" text,\n \"matches\" number,\n \"goals\" number\n)\n\nQUESTION: what was the number of goals he scored in 2005 ?\nSQL QUERY:", "completion": "SELECT \"goals\" FROM table_204_235 WHERE \"season\" LIKE '%2005%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n date VARCHAR,\n goal VARCHAR\n)\n\nQUESTION: What was the date of the game with a goal of 7?\nSQL QUERY:", "completion": "SELECT date FROM table_name_27 WHERE CAST(goal AS INTEGER) = 7"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28846752_4 (\n player VARCHAR,\n highest_score VARCHAR\n)\n\nQUESTION: Who is the player when the highest score is 84?\nSQL QUERY:", "completion": "SELECT player FROM table_28846752_4 WHERE highest_score LIKE \"%84%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64605 (\n \"Rank\" real,\n \"Athletes\" text,\n \"Country\" text,\n \"Time\" text,\n \"Notes\" text\n)\n\nQUESTION: What country has a time of 3:19.167?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_64605 WHERE \"Time\" LIKE '%3:19.167%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_41 (\n deputy VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What is the name of the deputy in 1992 93?\nSQL QUERY:", "completion": "SELECT deputy FROM table_name_41 WHERE year LIKE \"%1992–93%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11134 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: What week was September 24, 2000 on?\nSQL QUERY:", "completion": "SELECT SUM(\"Week\") FROM table_11134 WHERE \"Date\" LIKE '%september 24, 2000%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40384 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score\" text\n)\n\nQUESTION: On what surface was the match played with a score of 4 6, 6 3, 6 1?\nSQL QUERY:", "completion": "SELECT \"Surface\" FROM table_40384 WHERE \"Score\" LIKE '%4–6, 6–3, 6–1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_81 (\n id number,\n \"rank\" number,\n \"bib\" number,\n \"name\" text,\n \"country\" text,\n \"time\" text,\n \"deficit\" text\n)\n\nQUESTION: what country had the most top 10 finishers in the men 's 15 kilometre classical ?\nSQL QUERY:", "completion": "SELECT \"country\" FROM table_204_81 WHERE id <= 10 GROUP BY \"country\" ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2508633_9 (\n nfl_team VARCHAR,\n college VARCHAR\n)\n\nQUESTION: What NFL team picked a player from Jackson State?\nSQL QUERY:", "completion": "SELECT nfl_team FROM table_2508633_9 WHERE college LIKE \"%jackson state%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62013 (\n \"Outcome\" text,\n \"Edition\" real,\n \"Round\" text,\n \"Opponent Team\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: What is Opponent, when Round is World Group?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_62013 WHERE \"Round\" LIKE '%world group%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66668 (\n \"Rank\" real,\n \"Rowers\" text,\n \"Country\" text,\n \"Time\" text,\n \"Notes\" text\n)\n\nQUESTION: What is the Time of the Rowers from Belgium?\nSQL QUERY:", "completion": "SELECT \"Time\" FROM table_66668 WHERE \"Country\" LIKE '%belgium%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14058433_3 (\n losing_bonus VARCHAR,\n club VARCHAR\n)\n\nQUESTION: How many losing points does Llandudno RFC have?\nSQL QUERY:", "completion": "SELECT losing_bonus FROM table_14058433_3 WHERE club LIKE '%llandudno rfc%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26454128_7 (\n country VARCHAR,\n athlete VARCHAR\n)\n\nQUESTION: Name the country that has ken doherty\nSQL QUERY:", "completion": "SELECT country FROM table_26454128_7 WHERE athlete LIKE \"%ken doherty%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53028 (\n \"Name\" text,\n \"Real Name\" text,\n \"Birthdate\" text,\n \"Costume Role\" text,\n \"Defining characteristics\" text\n)\n\nQUESTION: What is the name of the member with a costume Role of monster?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_53028 WHERE \"Costume Role\" LIKE '%monster%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66517 (\n \"Name\" text,\n \"GP-GS\" text,\n \"Receptions\" real,\n \"Long\" real,\n \"Avg/G\" real\n)\n\nQUESTION: How many times is avg/g 2?\nSQL QUERY:", "completion": "SELECT COUNT(\"Receptions\") FROM table_66517 WHERE \"Avg/G\" = 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n opponent VARCHAR,\n week VARCHAR\n)\n\nQUESTION: Who was the opponent in week 6?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_89 WHERE week LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_61 (\n id number,\n \"rank\" number,\n \"nation\" text,\n \"gold\" number,\n \"silver\" number,\n \"bronze\" number,\n \"total\" number\n)\n\nQUESTION: what was the total number of medals won by madagascar ?\nSQL QUERY:", "completion": "SELECT \"total\" FROM table_203_61 WHERE \"nation\" LIKE '%madagascar%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n played VARCHAR,\n goal_difference VARCHAR\n)\n\nQUESTION: What is Played, when Goal Difference is '+51'?\nSQL QUERY:", "completion": "SELECT played FROM table_name_91 WHERE goal_difference LIKE '%+51%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13869651_3 (\n release_date VARCHAR,\n part_number_s_ VARCHAR\n)\n\nQUESTION: When's the release date of the model with part number adh485biaa5do?\nSQL QUERY:", "completion": "SELECT release_date FROM table_13869651_3 WHERE part_number_s_ LIKE '%adh485biaa5do%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60492 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: Which country had a t4 place and scored 66-73=139?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_60492 WHERE \"Place\" LIKE '%t4%' AND \"Score\" LIKE '%66-73=139%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65778 (\n \"Rank\" real,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Which Bronze has a Rank of 4, and a Gold smaller than 0?\nSQL QUERY:", "completion": "SELECT MAX(\"Bronze\") FROM table_65778 WHERE \"Rank\" = 4 AND \"Gold\" < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26769_1 (\n capital VARCHAR,\n population_density_per_km² VARCHAR\n)\n\nQUESTION: What is the capital of the country with a population density per km of 15.6/km (/sqmi)?\nSQL QUERY:", "completion": "SELECT capital FROM table_26769_1 WHERE population_density_per_km² LIKE \"%15.6/km² (/sqmi)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26485957_1 (\n artist VARCHAR,\n result VARCHAR\n)\n\nQUESTION: Which artist had a result of 4?\nSQL QUERY:", "completion": "SELECT artist FROM table_26485957_1 WHERE result LIKE \"%4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16441561_5 (\n cfl_team VARCHAR,\n college VARCHAR\n)\n\nQUESTION: Which CFL team did the player from British Columbia get drafted to\nSQL QUERY:", "completion": "SELECT cfl_team FROM table_16441561_5 WHERE college LIKE \"%british columbia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n rank VARCHAR,\n s_wicket VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which rank is 40 for s Wicket with a player of Daniel Marsh?\nSQL QUERY:", "completion": "SELECT rank FROM table_name_63 WHERE s_wicket = \"40\" AND player LIKE \"%daniel marsh%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27782699_3 (\n outgoing_manager VARCHAR,\n replaced_by VARCHAR\n)\n\nQUESTION: Which manager was replaced by Thomas Thomasberg?\nSQL QUERY:", "completion": "SELECT outgoing_manager FROM table_27782699_3 WHERE replaced_by LIKE \"%thomas thomasberg%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17941032_2 (\n tries_against VARCHAR,\n points_for VARCHAR\n)\n\nQUESTION: How many tries against were there with points of 150?\nSQL QUERY:", "completion": "SELECT tries_against FROM table_17941032_2 WHERE points_for LIKE \"%150%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26460435_8 (\n monarch VARCHAR,\n heir VARCHAR\n)\n\nQUESTION: Who is the monarch with the heir thado minsaw?\nSQL QUERY:", "completion": "SELECT monarch FROM table_26460435_8 WHERE heir LIKE \"%thado minsaw%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n class VARCHAR,\n frequency_mhz INTEGER\n)\n\nQUESTION: What class is assigned to frequencies lower than 90.5?\nSQL QUERY:", "completion": "SELECT class FROM table_name_49 WHERE frequency_mhz < 90.5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n margin_of_victory VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What was the margin of victory at the LPGA Championship?\nSQL QUERY:", "completion": "SELECT margin_of_victory FROM table_name_65 WHERE tournament LIKE \"%lpga championship%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8634 (\n \"Place\" real,\n \"Star\" text,\n \"Average\" real,\n \"Best score\" real,\n \"Worst score\" real\n)\n\nQUESTION: WHAT IS THE HIGHEST PLACE AND BEST SCORE BIGGER THAN 10?\nSQL QUERY:", "completion": "SELECT MAX(\"Place\") FROM table_8634 WHERE \"Best score\" > 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n bronze INTEGER,\n total VARCHAR,\n silver VARCHAR\n)\n\nQUESTION: How many bronze medals did the country with 7 medals and over 5 silver medals receive?\nSQL QUERY:", "completion": "SELECT SUM(bronze) FROM table_name_88 WHERE total LIKE '%7%' AND silver > '5'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23921 (\n \"Number\" text,\n \"Previous BR No.\" real,\n \"Taken into deptal stock\" real,\n \"Withdrawn\" real,\n \"Disposal\" text\n)\n\nQUESTION: Name the total number of previous br number for number 21\nSQL QUERY:", "completion": "SELECT COUNT(\"Previous BR No.\") FROM table_23921 WHERE \"Number\" LIKE '%21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13836704_4 (\n airport VARCHAR,\n total_passengers_2009 VARCHAR\n)\n\nQUESTION: what's the airport with total passengers 2009 being 157933\nSQL QUERY:", "completion": "SELECT airport FROM table_13836704_4 WHERE total_passengers_2009 = '157933'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41053 (\n \"Year\" real,\n \"Actor\" text,\n \"Award\" text,\n \"Motion Picture\" text,\n \"Result\" text\n)\n\nQUESTION: What is the latest year that Cicely Tyson is the Golden Globe Award actor?\nSQL QUERY:", "completion": "SELECT MAX(\"Year\") FROM table_41053 WHERE \"Actor\" LIKE '%cicely tyson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_134 (\n id number,\n \"place\" text,\n \"player\" text,\n \"country\" text,\n \"score\" text,\n \"to par\" number\n)\n\nQUESTION: how many players tied for fourth place ?\nSQL QUERY:", "completion": "SELECT COUNT(\"player\") FROM table_203_134 WHERE \"place\" LIKE '%4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20816 (\n \"Pick #\" real,\n \"CFL Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What position did Gene Stahl play\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_20816 WHERE \"Player\" LIKE '%gene stahl%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n player VARCHAR,\n draft VARCHAR,\n round VARCHAR\n)\n\nQUESTION: Which player had a draft before 1975 and before round 6?\nSQL QUERY:", "completion": "SELECT player FROM table_name_79 WHERE CAST(draft AS INTEGER) < 1975 AND CAST(round AS INTEGER) < 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19905183_1 (\n province VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What province does the Ruhuna Royals team come from?\nSQL QUERY:", "completion": "SELECT province FROM table_19905183_1 WHERE team LIKE \"%ruhuna royals%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n rank INTEGER,\n player VARCHAR,\n matches VARCHAR\n)\n\nQUESTION: what is the rank when the player is henry shefflin and the matches is higher than 4?\nSQL QUERY:", "completion": "SELECT SUM(rank) FROM table_name_9 WHERE player LIKE \"%henry shefflin%\" AND CAST(matches AS INTEGER) > 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19766 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Record\" text,\n \"Game Site\" text,\n \"Attendance\" real\n)\n\nQUESTION: what is the result for October 14, 1956?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_19766 WHERE \"Date\" LIKE '%october 14, 1956%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_80058 (\n \"Year\" text,\n \"English title\" text,\n \"Original title\" text,\n \"Country\" text,\n \"Director\" text\n)\n\nQUESTION: What's the English title listed that has an Original title of The Crying Game?\nSQL QUERY:", "completion": "SELECT \"English title\" FROM table_80058 WHERE \"Original title\" LIKE '%the crying game%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_532 (\n id number,\n \"season\" text,\n \"tier\" number,\n \"division\" text,\n \"place\" text\n)\n\nQUESTION: how many times did they place at least 12th ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_204_532 WHERE \"place\" <= '12'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n rank VARCHAR,\n total VARCHAR,\n bronze VARCHAR\n)\n\nQUESTION: What is the total rank where the total is less than 5, and bronze is less than 0?\nSQL QUERY:", "completion": "SELECT COUNT(rank) FROM table_name_18 WHERE CAST(total AS INTEGER) < 5 AND CAST(bronze AS INTEGER) < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_197638_6 (\n age INTEGER,\n player VARCHAR\n)\n\nQUESTION: At what age did Roy Emerson complete the Grand Slam?\nSQL QUERY:", "completion": "SELECT MAX(age) FROM table_197638_6 WHERE player LIKE \"%roy emerson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1457 (\n \"Institution\" text,\n \"Location\" text,\n \"Nickname\" text,\n \"Enrollment\" real,\n \"Established\" real\n)\n\nQUESTION: What school location had an enrollment of 12400?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_1457 WHERE \"Enrollment\" = 12400"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33035 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Game site\" text,\n \"Attendance\" text\n)\n\nQUESTION: What game did Jets have an attendance of 78,722?\nSQL QUERY:", "completion": "SELECT \"Game site\" FROM table_33035 WHERE \"Attendance\" LIKE '%78,722%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_128 (\n id number,\n \"region\" text,\n \"date\" text,\n \"label\" text,\n \"format\" text,\n \"catalog\" text\n)\n\nQUESTION: which region was the last to release ?\nSQL QUERY:", "completion": "SELECT \"region\" FROM table_204_128 ORDER BY \"date\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20726262_2 (\n title VARCHAR,\n directedby VARCHAR\n)\n\nQUESTION: What title episode did Paris Barclay direct?\nSQL QUERY:", "completion": "SELECT title FROM table_20726262_2 WHERE directedby LIKE \"%paris barclay%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23382 (\n \"Rank\" real,\n \"Dismissals\" real,\n \"Player\" text,\n \"Caught\" real,\n \"Stumped\" real,\n \"Matches\" real,\n \"Innings\" real\n)\n\nQUESTION: what is the rank of adam gilchrist\nSQL QUERY:", "completion": "SELECT COUNT(\"Rank\") FROM table_23382 WHERE \"Player\" LIKE '%adam gilchrist%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n score VARCHAR,\n february VARCHAR\n)\n\nQUESTION: what score was on february 21\nSQL QUERY:", "completion": "SELECT score FROM table_name_18 WHERE february LIKE '%21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25604014_9 (\n directed_by VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: Name who directed the production code 1l10\nSQL QUERY:", "completion": "SELECT directed_by FROM table_25604014_9 WHERE production_code LIKE \"%1l10%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n city VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which City has a Date on october 26, 2007\nSQL QUERY:", "completion": "SELECT city FROM table_name_70 WHERE date LIKE \"%october 26, 2007%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n round INTEGER,\n school VARCHAR\n)\n\nQUESTION: What's the average round number for East Carolina?\nSQL QUERY:", "completion": "SELECT AVG(round) FROM table_name_2 WHERE school LIKE \"%east carolina%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18950570_2 (\n live_births_per_year VARCHAR,\n deaths_per_year VARCHAR\n)\n\nQUESTION: How many births per year are there for the period with 998 000 deaths per year?\nSQL QUERY:", "completion": "SELECT live_births_per_year FROM table_18950570_2 WHERE deaths_per_year LIKE \"%998 000%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n district VARCHAR,\n reserved_for___sc___st__none_ VARCHAR\n)\n\nQUESTION: Name the District which has a Reserved for ( SC / ST /None) of sc?\nSQL QUERY:", "completion": "SELECT district FROM table_name_94 WHERE reserved_for___sc___st__none_ LIKE '%sc%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23050383_1 (\n ict VARCHAR,\n education VARCHAR,\n ki VARCHAR\n)\n\nQUESTION: What is the ICT when education is 1.73 and KI is ag 1.99?\nSQL QUERY:", "completion": "SELECT ict FROM table_23050383_1 WHERE education LIKE \"%1.73%\" AND ki LIKE \"%1.99%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75901 (\n \"Date\" text,\n \"Time\" text,\n \"Home\" text,\n \"Away\" text,\n \"Score\" text,\n \"Ground\" text\n)\n\nQUESTION: Who was the home team of the game at the time of 15:00?\nSQL QUERY:", "completion": "SELECT \"Home\" FROM table_75901 WHERE \"Time\" LIKE '%15:00%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38379 (\n \"Team\" text,\n \"Manufacturer\" text,\n \"Car model\" text,\n \"Engine\" text,\n \"Driver\" text\n)\n\nQUESTION: What Car Model has the Engine of Ford 6.0 V8?\nSQL QUERY:", "completion": "SELECT \"Car model\" FROM table_38379 WHERE \"Engine\" LIKE '%ford 6.0 v8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n site_stadium VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which site/stadium was the score 1-2?\nSQL QUERY:", "completion": "SELECT site_stadium FROM table_name_78 WHERE score LIKE \"%1-2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57216 (\n \"Year\" text,\n \"Champion\" text,\n \"Score\" text,\n \"Runner-Up\" text,\n \"Location\" text,\n \"Semi-Finalist #1\" text,\n \"Semi-Finalist #2\" text\n)\n\nQUESTION: Who was the Semi-Finalist #2 in 2001?\nSQL QUERY:", "completion": "SELECT \"Semi-Finalist #2\" FROM table_57216 WHERE \"Year\" LIKE '%2001%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1354805_6 (\n competition_finish INTEGER,\n average VARCHAR\n)\n\nQUESTION: what is the highest number where people got done at 31.1\nSQL QUERY:", "completion": "SELECT MAX(competition_finish) FROM table_1354805_6 WHERE average LIKE '%31.1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19530 (\n \"No. in series\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text,\n \"Production code\" text\n)\n\nQUESTION: When did the show directed by Michael Dimartino first air?\nSQL QUERY:", "completion": "SELECT \"Original air date\" FROM table_19530 WHERE \"Directed by\" LIKE '%michael dimartino%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_344 (\n id number,\n \"#\" number,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"win\" text,\n \"loss\" text,\n \"save\" text,\n \"attendance\" number,\n \"record\" text,\n \"other info\" text\n)\n\nQUESTION: which game had the most attendance ?\nSQL QUERY:", "completion": "SELECT \"#\" FROM table_203_344 ORDER BY \"attendance\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n b_score INTEGER,\n total VARCHAR,\n position VARCHAR\n)\n\nQUESTION: What is the B Score when the total is more than 16.125, and position is 3rd?\nSQL QUERY:", "completion": "SELECT SUM(b_score) FROM table_name_70 WHERE total > '16.125' AND position LIKE '%3rd%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n league_goals INTEGER,\n player VARCHAR\n)\n\nQUESTION: How many total League goals does Player John O'Flynn have?\nSQL QUERY:", "completion": "SELECT SUM(league_goals) FROM table_name_45 WHERE player LIKE \"%john o'flynn%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37850 (\n \"Position\" real,\n \"Team\" text,\n \"Points\" real,\n \"Played\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Against\" real,\n \"Difference\" text\n)\n\nQUESTION: Difference of - 20, and a Position smaller than 17 is the highest against?\nSQL QUERY:", "completion": "SELECT MAX(\"Against\") FROM table_37850 WHERE \"Difference\" LIKE '%- 20%' AND \"Position\" < 17"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n year INTEGER,\n points INTEGER\n)\n\nQUESTION: Name the highest year with points more than 0\nSQL QUERY:", "completion": "SELECT MAX(year) FROM table_name_90 WHERE points > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n athlete VARCHAR,\n react VARCHAR\n)\n\nQUESTION: Who was the athlete with react of 0.185?\nSQL QUERY:", "completion": "SELECT athlete FROM table_name_79 WHERE react = '0.185'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n team_from VARCHAR,\n pick__number VARCHAR\n)\n\nQUESTION: Which Team has a Pick # of 148?\nSQL QUERY:", "completion": "SELECT team_from FROM table_name_59 WHERE pick__number LIKE '%148%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n player VARCHAR,\n country VARCHAR,\n place VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Who is the player from the United States with a t6 place and a 71-70-76-72=289 score?\nSQL QUERY:", "completion": "SELECT player FROM table_name_67 WHERE country LIKE '%united states%' AND place LIKE '%t6%' AND score = '289'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE manufacturers (\n revenue INTEGER\n)\n\nQUESTION: What are the average, maximum and total revenues of all companies?\nSQL QUERY:", "completion": "SELECT AVG(revenue), MAX(revenue), SUM(revenue) FROM manufacturers"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_620 (\n id number,\n \"title\" text,\n \"year\" number,\n \"language\" text,\n \"role\" text,\n \"notes\" text\n)\n\nQUESTION: what is the total years on the chart\nSQL QUERY:", "completion": "SELECT COUNT(DISTINCT \"year\") FROM table_204_620"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n score VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What was the score of the match played against away team Arsenal?\nSQL QUERY:", "completion": "SELECT score FROM table_name_96 WHERE away_team LIKE \"%arsenal%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27733258_6 (\n location_attendance VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Name the location attendance for l 105 123 (ot)\nSQL QUERY:", "completion": "SELECT location_attendance FROM table_27733258_6 WHERE score LIKE '%l 105–123 (ot)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1206583_2 (\n builder VARCHAR,\n launched VARCHAR\n)\n\nQUESTION: What is the builder launched 30 october 1944?\nSQL QUERY:", "completion": "SELECT builder FROM table_1206583_2 WHERE launched LIKE '%30 october 1944%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37128 (\n \"Episode No.\" text,\n \"Episode Title\" text,\n \"UK Broadcast Date\" text,\n \"Presenter\" text,\n \"Details of Journey\" text,\n \"Countries Visited\" text\n)\n\nQUESTION: Which episode title featured a visit to the country of Cuba?\nSQL QUERY:", "completion": "SELECT \"Episode Title\" FROM table_37128 WHERE \"Countries Visited\" LIKE '%cuba%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32610 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What is the attendance of week 1\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_32610 WHERE \"Week\" = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51575 (\n \"Nat.\" text,\n \"Name\" text,\n \"Since\" text,\n \"Goals\" real,\n \"Transfer fee\" text\n)\n\nQUESTION: Which name had 6 goals?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_51575 WHERE \"Goals\" = 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE payment (\n payment_date VARCHAR\n)\n\nQUESTION: When did the first payment happen?\nSQL QUERY:", "completion": "SELECT payment_date FROM payment ORDER BY payment_date LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2374338_2 (\n croats VARCHAR,\n roma VARCHAR\n)\n\nQUESTION: What is every value for Croats if the value of Roma is 3.1%?\nSQL QUERY:", "completion": "SELECT croats FROM table_2374338_2 WHERE roma LIKE \"%3.1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_75 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What home team played the away team of Richmond?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_75 WHERE away_team LIKE \"%richmond%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n latitude VARCHAR,\n year_named VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the Latitude of the Alajen Vallis named after 1997?\nSQL QUERY:", "completion": "SELECT latitude FROM table_name_86 WHERE year_named > '1997' AND name LIKE '%alajen vallis%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n title VARCHAR,\n production_number VARCHAR\n)\n\nQUESTION: What is the title of the production with a number of 1039?\nSQL QUERY:", "completion": "SELECT title FROM table_name_83 WHERE production_number LIKE \"%1039%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n away_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Who was the away team at Junction Oval?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_63 WHERE venue LIKE '%junction oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10896 (\n \"Electorate\" text,\n \"Incumbent\" text,\n \"Winner\" text,\n \"Majority\" real,\n \"Runner up\" text\n)\n\nQUESTION: Who won with a majority more than 6,181 and J W Andrews as runner up?\nSQL QUERY:", "completion": "SELECT \"Winner\" FROM table_10896 WHERE \"Majority\" > 6181 AND \"Runner up\" LIKE '%j w andrews%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15204 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text\n)\n\nQUESTION: What was the record at the game that had a loss of Brandon (4 8)?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_15204 WHERE \"Loss\" LIKE '%brandon (4–8)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n round INTEGER,\n position VARCHAR\n)\n\nQUESTION: What round on average was a defensive tackle selected?\nSQL QUERY:", "completion": "SELECT AVG(round) FROM table_name_87 WHERE position LIKE \"%defensive tackle%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38836 (\n \"Distance\" text,\n \"Time\" text,\n \"Date\" text,\n \"Location\" text,\n \"Notes\" text\n)\n\nQUESTION: What's the location when the notes area is notes?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_38836 WHERE \"Notes\" LIKE '%notes%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n pick VARCHAR,\n school VARCHAR,\n round VARCHAR\n)\n\nQUESTION: How many picks did Central State have before round 2?\nSQL QUERY:", "completion": "SELECT COUNT(pick) FROM table_name_29 WHERE school LIKE \"%central state%\" AND round < 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11727969_1 (\n species_in_the_peruvian_amazon INTEGER,\n taxonomy VARCHAR\n)\n\nQUESTION: what's the minimum species in the peruvian amazon with taxonomy s fern ( pteridophyta )\nSQL QUERY:", "completion": "SELECT MIN(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE taxonomy LIKE '%s fern ( pteridophyta )%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n year INTEGER,\n actor VARCHAR\n)\n\nQUESTION: What is the latest Year with Marianne Jean-Baptiste as the Golden Globe Actor?\nSQL QUERY:", "completion": "SELECT MAX(year) FROM table_name_50 WHERE actor LIKE \"%marianne jean-baptiste%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n date VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which Date has a Score of 102 113?\nSQL QUERY:", "completion": "SELECT date FROM table_name_63 WHERE score LIKE \"%102–113%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n lost VARCHAR\n)\n\nQUESTION: what team lost the most points\nSQL QUERY:", "completion": "SELECT lost FROM table_name_56 WHERE \"points\" LIKE '%points%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n current_affiliation VARCHAR,\n years_owned VARCHAR\n)\n\nQUESTION: What is the current affiliation when the years owned is between 1955 1995?\nSQL QUERY:", "completion": "SELECT current_affiliation FROM table_name_62 WHERE years_owned LIKE \"%1955–1995%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n grid INTEGER,\n driver VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: what is the grid when the driver is mario andretti and the laps is less than 54?\nSQL QUERY:", "completion": "SELECT MAX(grid) FROM table_name_39 WHERE driver LIKE \"%mario andretti%\" AND laps < \"54\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4717 (\n \"Round\" real,\n \"Overall\" real,\n \"Player\" text,\n \"Position\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: What position and school/club team of Oklahoma state has an overall less than 410 and a round smaller than 5?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_4717 WHERE \"Overall\" < 410 AND \"Round\" < 5 AND \"School/Club Team\" LIKE '%oklahoma state%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15313204_1 (\n records VARCHAR,\n pct VARCHAR\n)\n\nQUESTION: What are the record(s) for the team with a winning percentage of .464?\nSQL QUERY:", "completion": "SELECT records FROM table_15313204_1 WHERE pct LIKE \"%.464%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24285393_1 (\n country_or_region VARCHAR,\n highest_point VARCHAR\n)\n\nQUESTION: What country has the most height in the northwestern peak of rysy?\nSQL QUERY:", "completion": "SELECT country_or_region FROM table_24285393_1 WHERE highest_point LIKE '%northwestern peak of rysy%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n date VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: On what date was the venue of Glenferrie Oval?\nSQL QUERY:", "completion": "SELECT date FROM table_name_12 WHERE venue LIKE \"%glenferrie oval%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n l2_cache VARCHAR,\n frequency VARCHAR\n)\n\nQUESTION: What's amount of L2 Cache on a device that has a Frequency of 1500mhz?\nSQL QUERY:", "completion": "SELECT l2_cache FROM table_name_78 WHERE frequency LIKE \"%1500mhz%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n angle_from_center_ VARCHAR,\n taper VARCHAR,\n ft VARCHAR\n)\n\nQUESTION: Which Angle from center/ has a Taper/ft smaller than 0.6000000000000001?\nSQL QUERY:", "completion": "SELECT COUNT(angle_from_center_) AS ° FROM table_name_97 WHERE CAST(taper AS FLOAT) / CAST(ft AS FLOAT) < 0.6000000000000001"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n to_par VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What is the To par of the Player with a Score of 73-67-68=208?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_89 WHERE score = '-137'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_59717 (\n \"Country\" text,\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: What is the date for catalog RCD 10160?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_59717 WHERE \"Catalog\" LIKE '%rcd 10160%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n record VARCHAR,\n round INTEGER\n)\n\nQUESTION: What was his record when he went over 1 round?\nSQL QUERY:", "completion": "SELECT record FROM table_name_81 WHERE round > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n frequency VARCHAR,\n facility_id VARCHAR\n)\n\nQUESTION: Which Frequency has a Facility ID of 13598?\nSQL QUERY:", "completion": "SELECT frequency FROM table_name_71 WHERE facility_id LIKE '%13598%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_75 (\n location VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the location of the match against Martinis Knyzelis?\nSQL QUERY:", "completion": "SELECT location FROM table_name_75 WHERE opponent LIKE \"%martinis knyzelis%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_4 (\n id number,\n \"date\" text,\n \"race\" text,\n \"competition\" text,\n \"rider\" text,\n \"country\" text,\n \"location\" text\n)\n\nQUESTION: what are the total number of wins for tom boonen overall ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_204_4 WHERE \"rider\" LIKE '%tom boonen%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_134987_3 (\n frequency VARCHAR,\n format VARCHAR\n)\n\nQUESTION: What is the frequency of the Classic Country Krki-fm booster station?\nSQL QUERY:", "completion": "SELECT frequency FROM table_134987_3 WHERE format LIKE \"%classic country krki-fm booster%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n winner VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: Who was the winner in the Indian Wells?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_67 WHERE tournament LIKE \"%indian wells%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18607260_6 (\n wins INTEGER,\n losses VARCHAR\n)\n\nQUESTION: Name the least wins for 5 losses\nSQL QUERY:", "completion": "SELECT MIN(wins) FROM table_18607260_6 WHERE losses LIKE '%5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72772 (\n \"School\" text,\n \"Record\" text,\n \"Conference\" text,\n \"Conf. record\" text,\n \"Regular season finish\" text,\n \"Regular season second place\" text\n)\n\nQUESTION: Which conference is Belmont in?\nSQL QUERY:", "completion": "SELECT \"Conference\" FROM table_72772 WHERE \"School\" LIKE '%belmont%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n location VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What is the Location when the team was seve ballesteros & manuel pi ero?\nSQL QUERY:", "completion": "SELECT location FROM table_name_61 WHERE team LIKE \"%seve ballesteros & manuel piñero%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49571 (\n \"Location\" text,\n \"Year\" real,\n \"Champion\" text,\n \"Runner-up\" text,\n \"Score\" text\n)\n\nQUESTION: Who is the runner-up in 1990?\nSQL QUERY:", "completion": "SELECT \"Runner-up\" FROM table_49571 WHERE \"Year\" = 1990"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n pitcher VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Tell me the pitcher on september 6, 2006\nSQL QUERY:", "completion": "SELECT pitcher FROM table_name_8 WHERE date LIKE \"%september 6, 2006%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25800134_1 (\n series__number INTEGER,\n airdate VARCHAR\n)\n\nQUESTION: What is largest series number for the episode that aired February 16, 1957?\nSQL QUERY:", "completion": "SELECT MAX(series__number) FROM table_25800134_1 WHERE airdate LIKE \"%february 16, 1957%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n category VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What category was in 1964?\nSQL QUERY:", "completion": "SELECT category FROM table_name_14 WHERE year LIKE '%1964%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_201 (\n id number,\n \"class\" text,\n \"type\" text,\n \"ships\" text,\n \"displacement\" text,\n \"note\" text\n)\n\nQUESTION: which weights more a ut507 salvage tug or a ut515 salvage tug ?\nSQL QUERY:", "completion": "SELECT \"class\" FROM table_203_201 WHERE \"class\" LIKE '%ut507 class%' OR \"class\" LIKE '%ut515 class%' ORDER BY \"displacement\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n Id VARCHAR\n)\n\nQUESTION: What is the 2012 value with a 1.3 in 2010 and a 3.6 in 2008?\nSQL QUERY:", "completion": "SELECT 2012 FROM table_name_67 WHERE 2010 LIKE '%1.3%' AND 2008 LIKE '%3.6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14903627_1 (\n mixed_doubles VARCHAR,\n womens_singles VARCHAR\n)\n\nQUESTION: WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP?\nSQL QUERY:", "completion": "SELECT mixed_doubles FROM table_14903627_1 WHERE womens_singles LIKE \"%kairi viilup%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18095719_2 (\n winning_team VARCHAR,\n circuit VARCHAR\n)\n\nQUESTION: Who was the winning team on the circuit Zolder?\nSQL QUERY:", "completion": "SELECT winning_team FROM table_18095719_2 WHERE circuit LIKE \"%zolder%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_256286_61 (\n type VARCHAR,\n yes_votes VARCHAR\n)\n\nQUESTION: What is the type when yes votes are 546255?\nSQL QUERY:", "completion": "SELECT type FROM table_256286_61 WHERE yes_votes = '546255'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1289860_2 (\n background VARCHAR,\n hometown VARCHAR\n)\n\nQUESTION: How many backgrounds are there represented from Memphis, Tennessee?\nSQL QUERY:", "completion": "SELECT COUNT(background) FROM table_1289860_2 WHERE hometown LIKE \"%memphis, tennessee%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21500850_1 (\n song_title VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What is every song title for 2007?\nSQL QUERY:", "completion": "SELECT song_title FROM table_21500850_1 WHERE year LIKE '%2007%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39880 (\n \"Region\" text,\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: In what format was the release from the Nebt068 catalog on April 11, 2005 in?\nSQL QUERY:", "completion": "SELECT \"Format\" FROM table_39880 WHERE \"Date\" LIKE '%april 11, 2005%' AND \"Catalog\" LIKE '%nebt068%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1204998_2 (\n pinyin VARCHAR,\n population VARCHAR\n)\n\nQUESTION: Which pinyin have a population of 374047?\nSQL QUERY:", "completion": "SELECT pinyin FROM table_1204998_2 WHERE population LIKE '%374047%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17861179_1 (\n week INTEGER,\n game_site VARCHAR\n)\n\nQUESTION: What is the week where the game site is Shea Stadium?\nSQL QUERY:", "completion": "SELECT MIN(week) FROM table_17861179_1 WHERE game_site LIKE '%shea stadium%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66581 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Score\" text,\n \"Record\" text\n)\n\nQUESTION: What was the record at the game with a score of 21-16?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_66581 WHERE \"Score\" LIKE '%21-16%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18703133_6 (\n wins VARCHAR,\n points VARCHAR\n)\n\nQUESTION: How many wins have 24 points?\nSQL QUERY:", "completion": "SELECT wins FROM table_18703133_6 WHERE points LIKE '%24%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n title VARCHAR,\n translation VARCHAR\n)\n\nQUESTION: Which title has the Translation of vesoul?\nSQL QUERY:", "completion": "SELECT title FROM table_name_28 WHERE translation LIKE \"%vesoul%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n position VARCHAR,\n hometown VARCHAR\n)\n\nQUESTION: Which position does the player from Muscle Shoals, Alabama play?\nSQL QUERY:", "completion": "SELECT position FROM table_name_68 WHERE hometown LIKE \"%muscle shoals, alabama%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28980706_4 (\n share__18_49_ VARCHAR,\n viewers__millions_ VARCHAR\n)\n\nQUESTION: When there are 9.28 million viewers what is the share (18-49)?\nSQL QUERY:", "completion": "SELECT share__18_49_ FROM table_28980706_4 WHERE viewers__millions_ LIKE \"%9.28%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16175217_1 (\n children_per_donor VARCHAR,\n allowed_recipients VARCHAR\n)\n\nQUESTION: What are the children per donor in the country where the allowed recipients are married or in cohabitation?\nSQL QUERY:", "completion": "SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients LIKE \"%married or in cohabitation%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n driver VARCHAR,\n zan_1 VARCHAR\n)\n\nQUESTION: What driver has 19 as the zan 1?\nSQL QUERY:", "completion": "SELECT driver FROM table_name_13 WHERE zan_1 LIKE \"%19%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n water__sqmi_ INTEGER,\n county VARCHAR,\n ansi_code VARCHAR\n)\n\nQUESTION: Which Water (sqmi) has a County of benson, and an ANSI code smaller than 1759243?\nSQL QUERY:", "completion": "SELECT MIN(water__sqmi_) FROM table_name_13 WHERE county LIKE \"%benson%\" AND ansi_code < '1759243'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68892 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text\n)\n\nQUESTION: Name the loss with record of 14-19\nSQL QUERY:", "completion": "SELECT \"Loss\" FROM table_68892 WHERE \"Record\" LIKE '%14-19%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12454156_1 (\n losing_hand VARCHAR,\n winning_hand VARCHAR\n)\n\nQUESTION: What was the losing hand where the winning hand was 7h 7s?\nSQL QUERY:", "completion": "SELECT losing_hand FROM table_12454156_1 WHERE winning_hand LIKE \"%7h 7s%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23186738_9 (\n game INTEGER,\n date VARCHAR\n)\n\nQUESTION: Name the least game for march 20\nSQL QUERY:", "completion": "SELECT MIN(game) FROM table_23186738_9 WHERE date LIKE \"%march 20%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n winner VARCHAR,\n fis_nordic_world_ski_championships VARCHAR\n)\n\nQUESTION: Who won the men's ski jump when the FIS Nordic World Ski Championships was 1980?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_34 WHERE fis_nordic_world_ski_championships LIKE \"%1980%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24565004_22 (\n appearances¹ INTEGER,\n name VARCHAR\n)\n\nQUESTION: at least how many times was Pierre Vermeulen at a game?\nSQL QUERY:", "completion": "SELECT MIN(appearances¹) FROM table_24565004_22 WHERE name LIKE '%pierre vermeulen%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n tournament VARCHAR\n)\n\nQUESTION: What is the 1994 finish for the Miami tournament?\nSQL QUERY:", "completion": "SELECT 1994 FROM table_name_14 WHERE tournament LIKE '%miami%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n win_percentage VARCHAR,\n wins VARCHAR\n)\n\nQUESTION: Where the wins are 46, what is the win%?\nSQL QUERY:", "completion": "SELECT win_percentage FROM table_name_9 WHERE wins LIKE \"%46%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341672_14 (\n district VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Name the district for tim lee hall\nSQL QUERY:", "completion": "SELECT district FROM table_1341672_14 WHERE incumbent LIKE \"%tim lee hall%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22837363_1 (\n episodes INTEGER,\n viewers__in_millions_ VARCHAR\n)\n\nQUESTION: What was the highest amount of episodes for the season with 5.74 million viewers?\nSQL QUERY:", "completion": "SELECT MAX(episodes) FROM table_22837363_1 WHERE viewers__in_millions_ LIKE '%5.74%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14971788_1 (\n date VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What date was week 2?\nSQL QUERY:", "completion": "SELECT date FROM table_14971788_1 WHERE week LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2950964_5 (\n read_by VARCHAR,\n isbn VARCHAR\n)\n\nQUESTION: THe audio book with ISBN 978-1-4084-6879-1 is read by whom?\nSQL QUERY:", "completion": "SELECT read_by FROM table_2950964_5 WHERE isbn LIKE \"%isbn 978-1-4084-6879-1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n coach VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Who was the coach in 1953?\nSQL QUERY:", "completion": "SELECT coach FROM table_name_19 WHERE year LIKE \"%1953%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n laps INTEGER,\n time_retired VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: I want the lowest Laps for time/retired of engine and driver of charles de tornaco\nSQL QUERY:", "completion": "SELECT MIN(laps) FROM table_name_22 WHERE time_retired LIKE '%engine%' AND driver LIKE '%charles de tornaco%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1825751_4 (\n second_runner_up VARCHAR,\n binibining_pilipinas_world VARCHAR\n)\n\nQUESTION: Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?\nSQL QUERY:", "completion": "SELECT second_runner_up FROM table_1825751_4 WHERE binibining_pilipinas_world LIKE \"%janina san miguel%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n source VARCHAR,\n internet_explorer VARCHAR\n)\n\nQUESTION: Which source date has an Internet Explorer usage of 60.2%?\nSQL QUERY:", "completion": "SELECT source FROM table_name_52 WHERE internet_explorer LIKE \"%60.2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55013 (\n \"Date\" text,\n \"Score\" text,\n \"Set 1\" text,\n \"Set 2\" text,\n \"Set 3\" text,\n \"Total\" text\n)\n\nQUESTION: What is the score for set 2 when set 3 was 15 6?\nSQL QUERY:", "completion": "SELECT \"Set 2\" FROM table_55013 WHERE \"Set 3\" LIKE '%15–6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n score VARCHAR,\n tie_no INTEGER\n)\n\nQUESTION: What was the score when the Tie no less than 2?\nSQL QUERY:", "completion": "SELECT score FROM table_name_11 WHERE tie_no < 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n power VARCHAR,\n years VARCHAR\n)\n\nQUESTION: What is the power for the years 1975-84?\nSQL QUERY:", "completion": "SELECT power FROM table_name_40 WHERE years LIKE \"%1975-84%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43493 (\n \"Round\" real,\n \"Pick #\" real,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: Which player went to Vanderbilt?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_43493 WHERE \"College\" LIKE '%vanderbilt%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57556 (\n \"Runs\" text,\n \"Against\" text,\n \"City/Country\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Year\" text\n)\n\nQUESTION: Name the place where adelaide oval is\nSQL QUERY:", "completion": "SELECT \"City/Country\" FROM table_57556 WHERE \"Venue\" LIKE '%adelaide oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n college VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What college did delray brooks go to?\nSQL QUERY:", "completion": "SELECT college FROM table_name_23 WHERE player LIKE \"%delray brooks%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n date VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: What is the date of the game with Detroit as the visitor team?\nSQL QUERY:", "completion": "SELECT date FROM table_name_23 WHERE visitor LIKE \"%detroit%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2160215_1 (\n english___manga_uk__ VARCHAR,\n original_japanese VARCHAR\n)\n\nQUESTION: Who was the cast on the English (Manga UK) version if K Nishimura acted on the original Japanese?\nSQL QUERY:", "completion": "SELECT english___manga_uk__ FROM table_2160215_1 WHERE original_japanese LIKE \"%kō nishimura%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n leading_scorer VARCHAR,\n home VARCHAR\n)\n\nQUESTION: What is the name of the Leading scorer when the Home was the Trail blazers?\nSQL QUERY:", "completion": "SELECT leading_scorer FROM table_name_61 WHERE home LIKE \"%trail blazers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n score VARCHAR,\n opponent VARCHAR,\n time VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers?\nSQL QUERY:", "completion": "SELECT score FROM table_name_12 WHERE time LIKE \"%7:00pm%\" AND location LIKE \"%scotiabank place%\" AND opponent LIKE \"%philadelphia flyers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n races VARCHAR,\n poles VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What is the number of races associated with Team ASM and 0 poles?\nSQL QUERY:", "completion": "SELECT races FROM table_name_19 WHERE poles LIKE \"%0%\" AND team LIKE \"%asm%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n score VARCHAR,\n set_1 VARCHAR\n)\n\nQUESTION: What was the overall score when set 1 was 23 25?\nSQL QUERY:", "completion": "SELECT score FROM table_name_33 WHERE set_1 LIKE \"%23–25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n series VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What series was Dick Johnson Racing the team?\nSQL QUERY:", "completion": "SELECT series FROM table_name_8 WHERE team LIKE \"%dick johnson racing%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n qual VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Name the qual for year of 1960\nSQL QUERY:", "completion": "SELECT qual FROM table_name_25 WHERE year LIKE \"%1960%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n grid INTEGER,\n laps VARCHAR\n)\n\nQUESTION: What is the highest grid that has 55 laps?\nSQL QUERY:", "completion": "SELECT MAX(grid) FROM table_name_1 WHERE laps LIKE '%55%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n grid VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: Tell me the total number of grid for laps of 52\nSQL QUERY:", "completion": "SELECT COUNT(grid) FROM table_name_60 WHERE laps LIKE '%52%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n score VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: What is Score, when Tie No is '109'?\nSQL QUERY:", "completion": "SELECT score FROM table_name_67 WHERE tie_no LIKE \"%109%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18308 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: What year was Jerry Huckaby first elected?\nSQL QUERY:", "completion": "SELECT \"First elected\" FROM table_18308 WHERE \"Incumbent\" LIKE '%jerry huckaby%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46861 (\n \"Country\" text,\n \"Backstroke leg\" text,\n \"Breaststroke leg\" text,\n \"Butterfly leg\" text,\n \"Freestyle leg\" text\n)\n\nQUESTION: What is the freestyle leg for the Netherlands?\nSQL QUERY:", "completion": "SELECT \"Freestyle leg\" FROM table_46861 WHERE \"Country\" LIKE '%netherlands%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2079664_3 (\n previous_br_no INTEGER\n)\n\nQUESTION: Name the most previous br number\nSQL QUERY:", "completion": "SELECT MAX(previous_br_no) FROM table_2079664_3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8461 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What is the Player that has a To standard of 4, and a Score of 74-70-68=212?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_8461 WHERE \"To par\" LIKE '%–4%' AND \"Score\" LIKE '%74-70-68=212%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50559 (\n \"Name\" text,\n \"Year Began\" text,\n \"Registration\" text,\n \"Userpics Free\" text,\n \"Userpics Paid\" text,\n \"Monthly Cost for Paid Account\" text,\n \"Yearly Cost for Paid Account\" text,\n \"Permanent Account\" text\n)\n\nQUESTION: Which permanent account has registration of invite-only and userpics free of unknown?\nSQL QUERY:", "completion": "SELECT \"Permanent Account\" FROM table_50559 WHERE \"Userpics Free\" LIKE '%unknown%' AND \"Registration\" LIKE '%invite-only%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n district VARCHAR,\n result VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Which district has a retired republican hold and an incumbent of rufus p. spalding?\nSQL QUERY:", "completion": "SELECT district FROM table_name_67 WHERE result LIKE \"%retired republican hold%\" AND incumbent LIKE \"%rufus p. spalding%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n winning_score VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What was the winning score for oldsmobile lpga classic?\nSQL QUERY:", "completion": "SELECT winning_score FROM table_name_64 WHERE tournament LIKE \"%oldsmobile lpga classic%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41487 (\n \"Position\" real,\n \"Team\" text,\n \"Points\" real,\n \"Played\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Against\" real,\n \"Difference\" text\n)\n\nQUESTION: What is the average Lost when the difference is - 3, and a Played is less than 10?\nSQL QUERY:", "completion": "SELECT AVG(\"Lost\") FROM table_41487 WHERE \"Difference\" LIKE '%- 3%' AND \"Played\" < 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n date VARCHAR,\n set_4 VARCHAR\n)\n\nQUESTION: What date has a set 4 of 25-19?\nSQL QUERY:", "completion": "SELECT date FROM table_name_33 WHERE set_4 LIKE \"%25-19%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n against INTEGER,\n favour VARCHAR,\n lost VARCHAR,\n draw VARCHAR\n)\n\nQUESTION: What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11?\nSQL QUERY:", "completion": "SELECT MAX(against) FROM table_name_85 WHERE lost < '20' AND draw > '2' AND favour < '11'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n Id VARCHAR\n)\n\nQUESTION: What is the 2012 value with A in 2007 and qf in 2011?\nSQL QUERY:", "completion": "SELECT 2012 FROM table_name_11 WHERE 2007 LIKE \"%a%\" AND 2011 LIKE \"%qf%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n race_2 VARCHAR,\n track VARCHAR,\n race_1 VARCHAR,\n race_3 VARCHAR\n)\n\nQUESTION: What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton?\nSQL QUERY:", "completion": "SELECT race_2 FROM table_name_26 WHERE race_1 LIKE \"%dnf%\" AND race_3 LIKE \"%dnf%\" AND track LIKE \"%winton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_791 (\n id number,\n \"represented\" text,\n \"contestant\" text,\n \"age\" number,\n \"height\" text,\n \"hometown\" text\n)\n\nQUESTION: who was the only 17 year old delegate ?\nSQL QUERY:", "completion": "SELECT \"contestant\" FROM table_203_791 WHERE \"age\" = 17"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n week INTEGER,\n opponent VARCHAR\n)\n\nQUESTION: Name the least week for opponent of washington redskins\nSQL QUERY:", "completion": "SELECT MIN(week) FROM table_name_87 WHERE opponent LIKE \"%washington redskins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n name VARCHAR,\n marriage VARCHAR\n)\n\nQUESTION: Who had a disputed marriage?\nSQL QUERY:", "completion": "SELECT name FROM table_name_57 WHERE marriage LIKE \"%disputed%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n week INTEGER,\n date VARCHAR\n)\n\nQUESTION: What was the attendance on October 27, 1968?\nSQL QUERY:", "completion": "SELECT MAX(week) FROM table_name_9 WHERE date LIKE \"%october 27, 1968%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n total INTEGER,\n bronze VARCHAR,\n gold VARCHAR\n)\n\nQUESTION: How many totals have a Bronze of 0, and a Gold smaller than 0?\nSQL QUERY:", "completion": "SELECT SUM(total) FROM table_name_22 WHERE bronze LIKE '0' AND gold < '0'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53953 (\n \"Title\" text,\n \"Urdu\" text,\n \"Translation\" text,\n \"Date\" real,\n \"Content\" text\n)\n\nQUESTION: Which translation was published in 1986?\nSQL QUERY:", "completion": "SELECT \"Translation\" FROM table_53953 WHERE \"Date\" = 1986"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47582 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Decision\" text,\n \"Attendance\" real,\n \"Series\" text\n)\n\nQUESTION: Who was the Home team that had a decider of Conklin?\nSQL QUERY:", "completion": "SELECT \"Home\" FROM table_47582 WHERE \"Decision\" LIKE '%conklin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n game_site VARCHAR,\n week VARCHAR\n)\n\nQUESTION: I want the game site for week of 11\nSQL QUERY:", "completion": "SELECT game_site FROM table_name_17 WHERE week LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n opponent VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What team was the opponent when the score was 8-2?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_24 WHERE score LIKE \"%8-2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n year INTEGER,\n event VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What is the lowest year that had foil team as the event at Melbourne?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_name_7 WHERE event LIKE \"%foil team%\" AND venue LIKE \"%melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n att_cmp_int VARCHAR,\n effic VARCHAR\n)\n\nQUESTION: What is the Att-Cmp-Int for the player with a efficiency of 117.4?\nSQL QUERY:", "completion": "SELECT att_cmp_int FROM table_name_72 WHERE effic LIKE '%117.4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12828723_3 (\n won VARCHAR,\n points_for VARCHAR\n)\n\nQUESTION: what's the win with points for being 376\nSQL QUERY:", "completion": "SELECT won FROM table_12828723_3 WHERE points_for LIKE '%376%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29968 (\n \"Team\" text,\n \"Outgoing manager\" text,\n \"Manner of departure\" text,\n \"Date of vacancy\" text,\n \"Replaced by\" text,\n \"Date of appointment\" text,\n \"Position in table\" text\n)\n\nQUESTION: Which manager was replaced by Thomas Thomasberg?\nSQL QUERY:", "completion": "SELECT \"Outgoing manager\" FROM table_29968 WHERE \"Replaced by\" LIKE '%thomas thomasberg%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n week INTEGER,\n opponent VARCHAR\n)\n\nQUESTION: In what week(s) did the Broncos go up against the Cleveland Browns?\nSQL QUERY:", "completion": "SELECT SUM(week) FROM table_name_99 WHERE opponent LIKE \"%cleveland browns%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44023 (\n \"Date\" text,\n \"Home\" text,\n \"Score\" text,\n \"Away\" text,\n \"Attendance\" real\n)\n\nQUESTION: Who played hte home team when the score was 2:1?\nSQL QUERY:", "completion": "SELECT \"Home\" FROM table_44023 WHERE \"Score\" LIKE '%2:1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33724 (\n \"Year\" real,\n \"Kit Supplier\" text,\n \"Sponsor\" text,\n \"Shirt Printing\" text,\n \"Notes\" text\n)\n\nQUESTION: What is the average of all the years when the notes are electronics brand?\nSQL QUERY:", "completion": "SELECT AVG(\"Year\") FROM table_33724 WHERE \"Notes\" LIKE '%electronics brand%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n nationality VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is tom cassidy's nationality?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_25 WHERE player LIKE \"%tom cassidy%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21443 (\n \"1st throw\" real,\n \"2nd throw\" real,\n \"3rd throw\" real,\n \"Equation\" text,\n \"Result\" real\n)\n\nQUESTION: If the equation is 6 9 + 6 9 + 6, what is the 2nd throw?\nSQL QUERY:", "completion": "SELECT MAX(\"2nd throw\") FROM table_21443 WHERE \"Equation\" LIKE '%6 × 9² + 6 × 9 + 6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n result VARCHAR,\n order__number VARCHAR,\n week__number VARCHAR\n)\n\nQUESTION: What is the Result when the order is # 4, and the week # is top 12?\nSQL QUERY:", "completion": "SELECT result FROM table_name_58 WHERE order__number LIKE \"%4%\" AND week__number LIKE \"%top 12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n date VARCHAR,\n home VARCHAR\n)\n\nQUESTION: When was the game at the home of the Los Angeles Kings?\nSQL QUERY:", "completion": "SELECT date FROM table_name_72 WHERE home LIKE \"%los angeles kings%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n outcome VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the outcome on June 9, 1997?\nSQL QUERY:", "completion": "SELECT outcome FROM table_name_57 WHERE date LIKE \"%june 9, 1997%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14058433_5 (\n won VARCHAR,\n tries_for VARCHAR\n)\n\nQUESTION: what's the won with tries for being 84\nSQL QUERY:", "completion": "SELECT won FROM table_14058433_5 WHERE tries_for LIKE \"%84%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33841 (\n \"Game\" real,\n \"December\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Record\" text\n)\n\nQUESTION: December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_33841 WHERE \"December\" < 14 AND \"Game\" < 28 AND \"Score\" LIKE '%6 - 6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_237757_3 (\n winner__number_of_titles_ VARCHAR,\n runners_up VARCHAR\n)\n\nQUESTION: If the runner-up is the Fort Lauderdale Strikers, what is the winner (number of titles)?\nSQL QUERY:", "completion": "SELECT winner__number_of_titles_ FROM table_237757_3 WHERE runners_up LIKE \"%fort lauderdale strikers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17309500_1 (\n steals VARCHAR,\n season VARCHAR\n)\n\nQUESTION: Name the steals for season 2007/2008\nSQL QUERY:", "completion": "SELECT steals FROM table_17309500_1 WHERE season LIKE \"%2007/2008%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n goals INTEGER,\n player VARCHAR,\n games VARCHAR\n)\n\nQUESTION: Which Goals have a Player of david mcllwain, and Games larger than 52?\nSQL QUERY:", "completion": "SELECT MAX(goals) FROM table_name_7 WHERE player LIKE \"%david mcllwain%\" AND games > 52"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n award VARCHAR,\n outcome VARCHAR,\n name VARCHAR\n)\n\nQUESTION: Anuya Bhagvath was nominated for what award?\nSQL QUERY:", "completion": "SELECT award FROM table_name_60 WHERE outcome LIKE \"%nominated%\" AND name LIKE \"%anuya bhagvath%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n deorbit_date VARCHAR,\n launch_date VARCHAR\n)\n\nQUESTION: When did the ATV that launched on 9 March 2008, deorbit?\nSQL QUERY:", "completion": "SELECT deorbit_date FROM table_name_9 WHERE launch_date LIKE \"%9 march 2008%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_317 (\n \"Player\" text,\n \"Position\" text,\n \"School\" text,\n \"Hometown\" text,\n \"College\" text\n)\n\nQUESTION: Where is longview high school\nSQL QUERY:", "completion": "SELECT \"Hometown\" FROM table_317 WHERE \"School\" LIKE '%longview high school%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n losses VARCHAR,\n place VARCHAR,\n ties VARCHAR\n)\n\nQUESTION: Name the total losses for 4 place and ties less than 0\nSQL QUERY:", "completion": "SELECT COUNT(losses) FROM table_name_35 WHERE place LIKE '%4%' AND ties < '0'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26389588_1 (\n primary_user VARCHAR,\n country_of_origin VARCHAR\n)\n\nQUESTION: If the country of Origin is South Africa, who is the primary user?\nSQL QUERY:", "completion": "SELECT primary_user FROM table_26389588_1 WHERE country_of_origin LIKE '%south africa%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n year_s__won VARCHAR,\n total VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is the year that Hale Irwin won with 285 points?\nSQL QUERY:", "completion": "SELECT year_s__won FROM table_name_80 WHERE total = '285' AND player LIKE '%hale irwin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n roll INTEGER,\n decile VARCHAR,\n area VARCHAR\n)\n\nQUESTION: What is the highest roll number of the school in Te puna with a decile larger than 2?\nSQL QUERY:", "completion": "SELECT MAX(roll) FROM table_name_85 WHERE decile > 2 AND area LIKE \"%te puna%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14219514_1 (\n home__1st_leg_ VARCHAR\n)\n\nQUESTION: How many 2nd legs are there where home (1st leg) is Independiente?\nSQL QUERY:", "completion": "SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ LIKE '%independiente%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24850630_4 (\n winner_2nd VARCHAR,\n race VARCHAR\n)\n\nQUESTION: who was the winner /2nd for the British Champion Stakes race?\nSQL QUERY:", "completion": "SELECT winner_2nd FROM table_24850630_4 WHERE race LIKE \"%british champion stakes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50148 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: For Tie #2, who was the home team?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_50148 WHERE \"Tie no\" LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1506950_4 (\n player VARCHAR,\n finish VARCHAR\n)\n\nQUESTION: What players finished 2nd?\nSQL QUERY:", "completion": "SELECT player FROM table_1506950_4 WHERE finish LIKE \"%2nd%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342233_6 (\n result VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: what's the result with incumbent being jack z. anderson\nSQL QUERY:", "completion": "SELECT result FROM table_1342233_6 WHERE incumbent LIKE \"%jack z. anderson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11677100_16 (\n school VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What school did the player Ethan Bennett attend?\nSQL QUERY:", "completion": "SELECT school FROM table_11677100_16 WHERE player LIKE \"%ethan bennett%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29273390_1 (\n directed_by VARCHAR,\n us_viewers__million_ VARCHAR\n)\n\nQUESTION: Who directed an episode with 1.19 million?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ LIKE \"%1.19%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_78610 (\n \"Pos.\" real,\n \"Team\" text,\n \"G.P.\" real,\n \"Wins\" real,\n \"Ties\" real,\n \"Losses\" real,\n \"Goals\" text,\n \"Goal diff\" text,\n \"Pts..\" text\n)\n\nQUESTION: What was the largest tie when the G.P was more than 5?\nSQL QUERY:", "completion": "SELECT MAX(\"Ties\") FROM table_78610 WHERE \"G.P.\" > 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9380 (\n \"Date\" text,\n \"Opponent\" text,\n \"Site\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: What is Site, when Date is 'November 13'?\nSQL QUERY:", "completion": "SELECT \"Site\" FROM table_9380 WHERE \"Date\" LIKE '%november 13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10026 (\n \"Date\" text,\n \"H/A/N\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Record\" text\n)\n\nQUESTION: What is Record, when H/A/N is 'A', and when Date is 'February 1'?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_10026 WHERE \"H/A/N\" LIKE '%a%' AND \"Date\" LIKE '%february 1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n date VARCHAR,\n label VARCHAR,\n catalog VARCHAR\n)\n\nQUESTION: On what date was a record from Village Records with catalog VRCL-2205 released?\nSQL QUERY:", "completion": "SELECT date FROM table_name_5 WHERE label LIKE \"%village records%\" AND catalog LIKE \"%vrcl-2205%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_101336_1 (\n no_of_cu_o_planes_in_unit_cell VARCHAR,\n formula VARCHAR\n)\n\nQUESTION: How many times is the formula tl 2 ba 2 cuo 6?\nSQL QUERY:", "completion": "SELECT no_of_cu_o_planes_in_unit_cell FROM table_101336_1 WHERE formula LIKE \"%tl 2 ba 2 cuo 6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1876262_10 (\n other_mozilla VARCHAR,\n firefox VARCHAR\n)\n\nQUESTION: If Firefox is 30.45%, what is the other Mozilla amount?\nSQL QUERY:", "completion": "SELECT other_mozilla FROM table_1876262_10 WHERE firefox LIKE \"%30.45%%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n opponent VARCHAR,\n results¹ VARCHAR\n)\n\nQUESTION: Who did Yugoslavia play against that led to a result of 2:3?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_90 WHERE results¹ LIKE \"%2:3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n minister VARCHAR,\n party VARCHAR,\n end_date VARCHAR\n)\n\nQUESTION: Who was the minister for the CSV party with a present day end date?\nSQL QUERY:", "completion": "SELECT minister FROM table_name_43 WHERE party LIKE \"%csv%\" AND end_date LIKE \"%present day%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27666856_3 (\n outgoing_manager VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Name the total number of outgoing manager for villarreal b\nSQL QUERY:", "completion": "SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE team LIKE \"%villarreal b%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n location_attendance VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What was the location and attendance with a score of w 89 86 (ot)?\nSQL QUERY:", "completion": "SELECT location_attendance FROM table_name_62 WHERE score LIKE \"%w 89–86 (ot)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47097 (\n \"Asomtavruli\" text,\n \"Nuskhuri\" text,\n \"Mkhedruli\" text,\n \"Letter name\" text,\n \"Phoneme\" text\n)\n\nQUESTION: What is the Phoneme symbol for the letter name z n?\nSQL QUERY:", "completion": "SELECT \"Phoneme\" FROM table_47097 WHERE \"Letter name\" LIKE '%zɛn%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n date VARCHAR,\n game VARCHAR\n)\n\nQUESTION: On what date was game 3 played?\nSQL QUERY:", "completion": "SELECT date FROM table_name_44 WHERE game LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n score VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What was the score for the game against San Antonio?\nSQL QUERY:", "completion": "SELECT score FROM table_name_97 WHERE team LIKE \"%san antonio%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n opponent VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: Who was the opponent when 48,121 people attended?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_49 WHERE attendance LIKE \"%48,121%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6359 (\n \"Games\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Points difference\" text,\n \"Points\" real\n)\n\nQUESTION: How many of lost have 11 as the points, and a drawn greater than 1?\nSQL QUERY:", "completion": "SELECT COUNT(\"Lost\") FROM table_6359 WHERE \"Points\" = 11 AND \"Drawn\" > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n points INTEGER,\n opponent VARCHAR,\n game VARCHAR\n)\n\nQUESTION: How many Points have an Opponent of @ los angeles kings and a Game larger than 4?\nSQL QUERY:", "completion": "SELECT AVG(points) FROM table_name_89 WHERE opponent LIKE '%@ los angeles kings%' AND game > 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40629 (\n \"City\" text,\n \"Jan.\" text,\n \"Feb.\" text,\n \"Mar.\" text,\n \"Apr.\" text,\n \"May.\" text,\n \"Jun.\" text,\n \"Jul.\" text,\n \"Aug.\" text,\n \"Sep.\" text,\n \"Oct.\" text,\n \"Nov.\" text,\n \"Dec.\" text\n)\n\nQUESTION: What were the Oct. temperatures for the city that had Nov. temperatures of 51/30?\nSQL QUERY:", "completion": "SELECT \"Oct.\" FROM table_40629 WHERE \"Nov.\" LIKE '%51/30%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20453681_1 (\n obama_number VARCHAR,\n county VARCHAR\n)\n\nQUESTION: How many votes did Obama get in Geauga?\nSQL QUERY:", "completion": "SELECT obama_number FROM table_20453681_1 WHERE county LIKE \"%geauga%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341453_40 (\n first_elected VARCHAR,\n district VARCHAR\n)\n\nQUESTION: When was Chaka Fattah first elected in the Pennsylvania 2 district?\nSQL QUERY:", "completion": "SELECT first_elected FROM table_1341453_40 WHERE district LIKE '%pennsylvania 2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27882867_9 (\n date VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What date was the game score w 104-98?\nSQL QUERY:", "completion": "SELECT date FROM table_27882867_9 WHERE score LIKE '%w 104-98%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26920192_5 (\n round VARCHAR,\n series VARCHAR,\n circuit VARCHAR\n)\n\nQUESTION: How many times is the series italian and the circuit is valencia?\nSQL QUERY:", "completion": "SELECT COUNT(round) FROM table_26920192_5 WHERE series LIKE \"%italian%\" AND circuit LIKE \"%valencia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n round VARCHAR,\n overall VARCHAR\n)\n\nQUESTION: What number round has an overall of 123?\nSQL QUERY:", "completion": "SELECT round FROM table_name_48 WHERE overall LIKE '%123%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n outcome VARCHAR,\n opponent_in_the_final VARCHAR\n)\n\nQUESTION: Which Outcome has an Opponent in the final of simone colombo?\nSQL QUERY:", "completion": "SELECT outcome FROM table_name_43 WHERE opponent_in_the_final LIKE \"%simone colombo%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n release_date INTEGER,\n sampling_rate VARCHAR\n)\n\nQUESTION: Around what time frame release a Sampling Rate of 12-bit 40khz?\nSQL QUERY:", "completion": "SELECT SUM(release_date) FROM table_name_63 WHERE sampling_rate LIKE '%12-bit 40khz%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25375093_1 (\n f_laps INTEGER\n)\n\nQUESTION: Name the least f/laps\nSQL QUERY:", "completion": "SELECT MIN(f_laps) FROM table_25375093_1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n opposing_teams VARCHAR,\n status VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is Opposing Teams, when Status is 'Test Match', and when Date is '25/11/2000'?\nSQL QUERY:", "completion": "SELECT opposing_teams FROM table_name_96 WHERE status LIKE \"%test match%\" AND date LIKE \"%25/11/2000%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n to_par VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What is South Africa's to par?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_35 WHERE country LIKE \"%south africa%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66941 (\n \"Game\" real,\n \"Date\" text,\n \"Location\" text,\n \"Time\" text,\n \"Attendance\" real\n)\n\nQUESTION: what is the location of game 4?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_66941 WHERE \"Game\" = 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72520 (\n \"School\" text,\n \"Winners\" real,\n \"Finalists\" real,\n \"Total Finals\" real,\n \"Year of last win\" text\n)\n\nQUESTION: What is the name of the school where the year of last win is 1985-86?\nSQL QUERY:", "completion": "SELECT \"School\" FROM table_72520 WHERE \"Year of last win\" LIKE '%1985-86%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n player VARCHAR,\n to_club VARCHAR\n)\n\nQUESTION: Which player was transferred to Reggina?\nSQL QUERY:", "completion": "SELECT player FROM table_name_99 WHERE to_club LIKE \"%reggina%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n winning_team VARCHAR,\n winning_driver VARCHAR,\n fastest_lap VARCHAR\n)\n\nQUESTION: What winning team did Jonathan bomarito drive for when jonathan summerton had the fastest lap?\nSQL QUERY:", "completion": "SELECT winning_team FROM table_name_84 WHERE winning_driver LIKE \"%jonathan bomarito%\" AND fastest_lap LIKE \"%jonathan summerton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_82 (\n solo VARCHAR,\n total_tackles VARCHAR\n)\n\nQUESTION: what is solo when total tackles is 6?\nSQL QUERY:", "completion": "SELECT solo FROM table_name_82 WHERE total_tackles LIKE \"%6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76512 (\n \"Finished\" text,\n \"Horse\" text,\n \"Jockey\" text,\n \"Trainer\" text,\n \"Odds\" text\n)\n\nQUESTION: Who is the Jockey for guadalcanal?\nSQL QUERY:", "completion": "SELECT \"Jockey\" FROM table_76512 WHERE \"Horse\" LIKE '%guadalcanal%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n team VARCHAR,\n year VARCHAR\n)\n\nQUESTION: what is the team that played in 2006?\nSQL QUERY:", "completion": "SELECT team FROM table_name_70 WHERE year LIKE '%2006%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43177 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What country was the player, rod pampling, from who placed t10?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_43177 WHERE \"Place\" LIKE '%t10%' AND \"Player\" LIKE '%rod pampling%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n winner VARCHAR,\n season VARCHAR\n)\n\nQUESTION: Who was the winner in the 2008 season?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_53 WHERE season LIKE '%2008%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25353861_5 (\n player VARCHAR,\n assists VARCHAR\n)\n\nQUESTION: Which player had 6 assists?\nSQL QUERY:", "completion": "SELECT player FROM table_25353861_5 WHERE assists LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n position INTEGER,\n against INTEGER\n)\n\nQUESTION: What is the average position with an against value less than 11?\nSQL QUERY:", "completion": "SELECT AVG(position) FROM table_name_76 WHERE against < 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n venue VARCHAR,\n result VARCHAR\n)\n\nQUESTION: Where was the competition that took place that had a 5-1 result?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_7 WHERE result LIKE \"%5-1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1012730_1 (\n starts INTEGER,\n team_s_ VARCHAR\n)\n\nQUESTION: How many starts did Hendrick motorsports have?\nSQL QUERY:", "completion": "SELECT MIN(starts) FROM table_1012730_1 WHERE team_s_ LIKE '%hendrick motorsports%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14404 (\n \"City\" text,\n \"Province/Region\" text,\n \"Country\" text,\n \"IATA\" text,\n \"ICAO\" text,\n \"Airport\" text\n)\n\nQUESTION: Which city's IATA is KUL?\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_14404 WHERE \"IATA\" LIKE '%kul%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n popular_votes INTEGER,\n percentage VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Name the average popular votes in years after 1990 with percentage of 4.94%\nSQL QUERY:", "completion": "SELECT AVG(popular_votes) FROM table_name_35 WHERE percentage LIKE \"%4.94%\" AND year > \"1990\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18901 (\n \"Rnd\" real,\n \"Circuit\" text,\n \"GTO Winning Team\" text,\n \"GTU Winning Team\" text,\n \"TO Winning Team\" text,\n \"TU Winning Team\" text,\n \"Results\" text\n)\n\nQUESTION: What round was the gto winning team #48 greenwood racing?\nSQL QUERY:", "completion": "SELECT \"Rnd\" FROM table_18901 WHERE \"GTO Winning Team\" LIKE '%#48 greenwood racing%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52792 (\n \"Analog Channel\" text,\n \"Digital Channel\" text,\n \"Call sign\" text,\n \"Name\" text,\n \"Network\" text\n)\n\nQUESTION: Which analog channel has a digital channel of 4.1?\nSQL QUERY:", "completion": "SELECT \"Analog Channel\" FROM table_52792 WHERE \"Digital Channel\" LIKE '%4.1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1554 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location\" text,\n \"Attendance\" real,\n \"Record\" text,\n \"Points\" real\n)\n\nQUESTION: How many records were made on March 27, 2009?\nSQL QUERY:", "completion": "SELECT COUNT(\"Record\") FROM table_1554 WHERE \"Date\" LIKE '%march 27, 2009%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_75 (\n chassis VARCHAR,\n entrant VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What was the chassis when the entrant was Lavazza March, and the points were 0.5?\nSQL QUERY:", "completion": "SELECT chassis FROM table_name_75 WHERE entrant LIKE \"%lavazza march%\" AND points = '0.5'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n team_1 VARCHAR\n)\n\nQUESTION: What is 1st Leg, when Team 1 is 'Portol Palma Mallorca'?\nSQL QUERY:", "completion": "SELECT 1 AS st_leg FROM table_name_45 WHERE team_1 LIKE \"%portol palma mallorca%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n score VARCHAR,\n outcome VARCHAR,\n surface VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What was the final score for Aguilar when he played Hans Podlipnik on clay and was runner-up?\nSQL QUERY:", "completion": "SELECT score FROM table_name_47 WHERE surface LIKE \"%clay%\" AND opponent LIKE \"%hans podlipnik%\" AND outcome LIKE \"%runner-up%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n Id VARCHAR\n)\n\nQUESTION: What is the 2011 value of the 2012 grand slam tournaments?\nSQL QUERY:", "completion": "SELECT 2011 FROM table_name_10 WHERE 2012 LIKE \"%grand slam tournaments%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n rank VARCHAR\n)\n\nQUESTION: What is the 2006 sum with a rank 1 and more than 6758845 in 1996?\nSQL QUERY:", "completion": "SELECT SUM(2006) FROM table_name_38 WHERE rank LIKE '%1%' AND 1996 > 6758845"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n day VARCHAR,\n _date VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What is the day and date of game 2?\nSQL QUERY:", "completion": "SELECT day, _date FROM table_name_20 WHERE game LIKE \"%2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13492 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: what is the highest attendance for week 6?\nSQL QUERY:", "completion": "SELECT MAX(\"Attendance\") FROM table_13492 WHERE \"Week\" = 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2679061_2 (\n nationality VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is the nationality when the player is randy heath?\nSQL QUERY:", "completion": "SELECT nationality FROM table_2679061_2 WHERE player LIKE \"%randy heath%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20614109_1 (\n net_profit__€m_ VARCHAR,\n earnings_per_share__€_ VARCHAR\n)\n\nQUESTION: Name the net profit for eps beign 1.19\nSQL QUERY:", "completion": "SELECT net_profit__€m_ FROM table_20614109_1 WHERE earnings_per_share__€_ LIKE \"%1.19%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14280 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location\" text,\n \"Record\" text\n)\n\nQUESTION: Who is the opponent at america west arena?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_14280 WHERE \"Location\" LIKE '%america west arena%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n density VARCHAR,\n simplified VARCHAR\n)\n\nQUESTION: What is the density when simplified shows ?\nSQL QUERY:", "completion": "SELECT density FROM table_name_33 WHERE simplified LIKE '%南山区%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n to_par VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is the to par for Gene Littler?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_42 WHERE player LIKE \"%gene littler%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_99 (\n id number,\n \"#\" number,\n \"club\" text,\n \"winner\" number,\n \"last win\" number,\n \"runner-up\" number,\n \"last losing final\" number\n)\n\nQUESTION: how many different clubs have won ?\nSQL QUERY:", "completion": "SELECT COUNT(DISTINCT \"club\") FROM table_204_99 WHERE \"winner\" > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n takuu VARCHAR,\n north_marquesan VARCHAR\n)\n\nQUESTION: What kind of Takuu has a North Marquesan of /vehine/?\nSQL QUERY:", "completion": "SELECT takuu FROM table_name_83 WHERE north_marquesan LIKE '%/vehine/%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66838 (\n \"Year\" text,\n \"Start\" text,\n \"Qual\" text,\n \"Rank\" text,\n \"Finish\" text,\n \"Laps\" real\n)\n\nQUESTION: In what year was the rank 24?\nSQL QUERY:", "completion": "SELECT \"Year\" FROM table_66838 WHERE \"Rank\" LIKE '%24%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73881 (\n \"Round\" real,\n \"Circuit\" text,\n \"Date\" text,\n \"Pole Position\" text,\n \"Fastest Lap\" text,\n \"Winning driver\" text,\n \"Winning team\" text\n)\n\nQUESTION: What is every date of Mark Taylor as winning driver?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_73881 WHERE \"Winning driver\" LIKE '%mark taylor%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8724 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What is the Country with the T3 Place Player with a Score of 71-76-71=218?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_8724 WHERE \"Place\" LIKE '%t3%' AND \"Score\" LIKE '%71-76-71=218%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63750 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What's the total with silver being less than 0, less than 1 gold, and 3 bronze?\nSQL QUERY:", "completion": "SELECT SUM(\"Total\") FROM table_63750 WHERE \"Bronze\" = 3 AND \"Gold\" < 1 AND \"Silver\" < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n wins VARCHAR,\n matches VARCHAR,\n success_rate VARCHAR\n)\n\nQUESTION: What was the win for 4 matches with a success rate of 25%?\nSQL QUERY:", "completion": "SELECT wins FROM table_name_70 WHERE matches LIKE \"%4%\" AND success_rate LIKE \"%25%%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7609 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: Which Score has a Away team of walthamstow avenue?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_7609 WHERE \"Away team\" LIKE '%walthamstow avenue%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2771237_1 (\n overall_attendance VARCHAR,\n average_attendance VARCHAR\n)\n\nQUESTION: How many times was the overall attendance 17807?\nSQL QUERY:", "completion": "SELECT COUNT(overall_attendance) FROM table_2771237_1 WHERE average_attendance = '17807'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_176521_2 (\n status VARCHAR,\n area_km_2 VARCHAR\n)\n\nQUESTION: What is the status(es) of the place with an area of 304.06 km2?\nSQL QUERY:", "completion": "SELECT status FROM table_176521_2 WHERE area_km_2 LIKE \"%304.06%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n economic_class VARCHAR,\n barangay VARCHAR\n)\n\nQUESTION: Which Economic Class has a Barangay of imelda bliss village?\nSQL QUERY:", "completion": "SELECT economic_class FROM table_name_77 WHERE barangay LIKE \"%imelda bliss village%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40303 (\n \"Tournament\" text,\n \"1996\" text,\n \"1997\" text,\n \"1998\" text,\n \"1999\" text,\n \"2000\" text,\n \"2001\" text,\n \"2002\" text,\n \"2003\" text,\n \"2004\" text,\n \"2005\" text,\n \"2006\" text,\n \"2007\" text,\n \"2008\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text\n)\n\nQUESTION: What was in 2007 that is from 2004 0f 2r and 2010 of A?\nSQL QUERY:", "completion": "SELECT \"2007\" FROM table_40303 WHERE \"2004\" LIKE '%2r%' AND \"2010\" LIKE '%a%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_257 (\n id number,\n \"week\" number,\n \"date\" text,\n \"opponent\" text,\n \"result\" text,\n \"attendance\" number\n)\n\nQUESTION: how many games did the 1981 atlanta falcons win ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_203_257 WHERE \"result\" LIKE '%w%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1123802_1 (\n compression_ratio VARCHAR,\n engine VARCHAR\n)\n\nQUESTION: What was the compression ration when the engine was Wasp Jr. T1B2?\nSQL QUERY:", "completion": "SELECT compression_ratio FROM table_1123802_1 WHERE engine LIKE '%wasp jr. t1b2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n college VARCHAR,\n pick__number VARCHAR\n)\n\nQUESTION: Which college has a pick number of 155?\nSQL QUERY:", "completion": "SELECT college FROM table_name_19 WHERE pick__number LIKE '%155%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n _number___county VARCHAR,\n school VARCHAR\n)\n\nQUESTION: Name the # country for new palestine\nSQL QUERY:", "completion": "SELECT _number___county FROM table_name_54 WHERE school LIKE \"%new palestine%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n years_as_tallest VARCHAR,\n floors VARCHAR\n)\n\nQUESTION: How many years was the building with 24 floors the tallest?\nSQL QUERY:", "completion": "SELECT years_as_tallest FROM table_name_14 WHERE floors LIKE '%24%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n december VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Score of 8 - 1 happened on what day in December?\nSQL QUERY:", "completion": "SELECT december FROM table_name_27 WHERE score LIKE \"%8 - 1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5252 (\n \"Name\" text,\n \"Nationality\" text,\n \"Position\" text,\n \"Tenure Began\" real,\n \"Term Ending\" real\n)\n\nQUESTION: Position of member, and a Nationality of india is what sum of term ending?\nSQL QUERY:", "completion": "SELECT SUM(\"Term Ending\") FROM table_5252 WHERE \"Position\" LIKE '%member%' AND \"Nationality\" LIKE '%india%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14918 (\n \"Season\" text,\n \"Series\" text,\n \"Races\" text,\n \"Wins\" text,\n \"Podiums\" text,\n \"Points\" text,\n \"Final Placing\" text\n)\n\nQUESTION: Which Race has the Toyota Racing Series New Zealand and 0 wins?\nSQL QUERY:", "completion": "SELECT \"Races\" FROM table_14918 WHERE \"Series\" LIKE '%toyota racing series new zealand%' AND \"Wins\" = '0'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73142 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: Name the incumbent for alabama 6\nSQL QUERY:", "completion": "SELECT \"Incumbent\" FROM table_73142 WHERE \"District\" LIKE '%alabama 6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n height VARCHAR,\n school VARCHAR\n)\n\nQUESTION: Which height is associated with Franklin High School?\nSQL QUERY:", "completion": "SELECT height FROM table_name_40 WHERE school LIKE \"%franklin high school%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22308881_2 (\n in_county_tuition_per_credit_hour__fall_2009_ VARCHAR,\n college VARCHAR\n)\n\nQUESTION: How much was the in-county tuition per credit hour at the Mercer College by the fall of 2009?\nSQL QUERY:", "completion": "SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college LIKE \"%mercer%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2127933_3 (\n outcome VARCHAR,\n opponents VARCHAR\n)\n\nQUESTION: What were the outcomes of matches with bill tilden florence ballin as opponents?\nSQL QUERY:", "completion": "SELECT outcome FROM table_2127933_3 WHERE opponents LIKE \"%bill tilden florence ballin%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30588 (\n \"Stage\" real,\n \"Winner\" text,\n \"General classification\" text,\n \"Points classification\" text,\n \"Mountains classification\" text,\n \"Young rider classification\" text\n)\n\nQUESTION: What is the name of the young rider classification when Paolo Tiralongo won?\nSQL QUERY:", "completion": "SELECT \"Young rider classification\" FROM table_30588 WHERE \"Winner\" LIKE '%paolo tiralongo%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n date VARCHAR,\n race_name VARCHAR\n)\n\nQUESTION: What date was the xiv international gold cup?\nSQL QUERY:", "completion": "SELECT date FROM table_name_80 WHERE race_name LIKE \"%xiv international gold cup%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30111 (\n \"Player\" text,\n \"Matches\" real,\n \"Overs\" text,\n \"Wickets\" real,\n \"Average\" text,\n \"Economy\" text,\n \"BBI\" text,\n \"4wi\" real\n)\n\nQUESTION: What was the BBI for the bowler whose average is 24.50?\nSQL QUERY:", "completion": "SELECT \"BBI\" FROM table_30111 WHERE \"Average\" LIKE '%24.50%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n leading_scorer VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: What is the leading scorer of the game with the Celtics as the visiting team?\nSQL QUERY:", "completion": "SELECT leading_scorer FROM table_name_59 WHERE visitor LIKE \"%celtics%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n place VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What place did the player from England come in?\nSQL QUERY:", "completion": "SELECT place FROM table_name_50 WHERE country LIKE \"%england%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: When north melbourne played as the home team, what was the away team score?\nSQL QUERY:", "completion": "SELECT away_team AS score FROM table_name_7 WHERE home_team LIKE \"%north melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23638 (\n \"County\" text,\n \"Obama %\" text,\n \"Obama #\" real,\n \"McCain %\" text,\n \"McCain #\" real,\n \"Others %\" text,\n \"Others #\" real\n)\n\nQUESTION: What percentage of voters choise McCain in Burlington?\nSQL QUERY:", "completion": "SELECT \"McCain %\" FROM table_23638 WHERE \"County\" LIKE '%burlington%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n grand_finaldate VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What is the grand final date for the game with a score or 30-24?\nSQL QUERY:", "completion": "SELECT grand_finaldate FROM table_name_44 WHERE score LIKE \"%30-24%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n rank INTEGER,\n heat VARCHAR,\n nationality VARCHAR\n)\n\nQUESTION: What is the highest rank of an athlete from Switzerland in a heat larger than 3?\nSQL QUERY:", "completion": "SELECT MAX(rank) FROM table_name_54 WHERE heat > 3 AND nationality LIKE \"%switzerland%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_655 (\n id number,\n \"year\" number,\n \"winner\" text,\n \"album\" text,\n \"other finalists\" text\n)\n\nQUESTION: which artists won in 2008 and 2009 respectively ?\nSQL QUERY:", "completion": "SELECT \"winner\" FROM table_204_655 WHERE \"year\" IN (2008, 2009)"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25703_1 (\n birth_2013 INTEGER,\n death_2012 VARCHAR\n)\n\nQUESTION: What is the highest birth/2013 when the death/2012 is 14,1?\nSQL QUERY:", "completion": "SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 LIKE \"%14,1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n location VARCHAR,\n event VARCHAR\n)\n\nQUESTION: In which location did the Meca World Vale Tudo 6 event happen?\nSQL QUERY:", "completion": "SELECT location FROM table_name_84 WHERE event LIKE \"%meca world vale tudo 6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12645 (\n \"South West DFL\" text,\n \"Wins\" real,\n \"Byes\" real,\n \"Losses\" real,\n \"Draws\" real,\n \"Against\" real\n)\n\nQUESTION: What is the total number of Wins, when Losses is less than 10, when Against is less than 1253, and when Byes is less than 0?\nSQL QUERY:", "completion": "SELECT COUNT(\"Wins\") FROM table_12645 WHERE \"Losses\" < 10 AND \"Against\" < 1253 AND \"Byes\" < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17634290_7 (\n p VARCHAR,\n type VARCHAR\n)\n\nQUESTION: What is listed in p when the type is listed as free agent 1?\nSQL QUERY:", "completion": "SELECT p FROM table_17634290_7 WHERE type LIKE \"%free agent 1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22982552_9 (\n class_year INTEGER,\n player VARCHAR\n)\n\nQUESTION: What class year was Vencie Glenn from?\nSQL QUERY:", "completion": "SELECT MIN(class_year) FROM table_22982552_9 WHERE player LIKE \"%vencie glenn%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n circumstances VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What was the circumstance that happened on the road to Jalalabad?\nSQL QUERY:", "completion": "SELECT circumstances FROM table_name_89 WHERE location LIKE \"%road to jalalabad%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41046 (\n \"Place\" real,\n \"Rider\" text,\n \"Country\" text,\n \"Machine\" text,\n \"Speed\" text,\n \"Time\" text,\n \"Points\" real\n)\n\nQUESTION: What is Speed, when Time is 1:24.23.0?\nSQL QUERY:", "completion": "SELECT \"Speed\" FROM table_41046 WHERE \"Time\" LIKE '%1:24.23.0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62270 (\n \"Date\" text,\n \"Tournament\" text,\n \"Round\" text,\n \"Ground\" text,\n \"Opponent\" text,\n \"Score 1\" text\n)\n\nQUESTION: Which round was played on 10 May?\nSQL QUERY:", "completion": "SELECT \"Round\" FROM table_62270 WHERE \"Date\" LIKE '%10 may%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8421 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: what is the score that has tie number 27\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_8421 WHERE \"Tie no\" LIKE '%27%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18710512_3 (\n date VARCHAR,\n single VARCHAR\n)\n\nQUESTION: What year was 'moped girls' released?\nSQL QUERY:", "completion": "SELECT date FROM table_18710512_3 WHERE single LIKE \"%moped girls%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n result VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What was the result in 2008?\nSQL QUERY:", "completion": "SELECT result FROM table_name_99 WHERE year LIKE \"%2008%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n country VARCHAR,\n year_s__won VARCHAR\n)\n\nQUESTION: From which country is the player that won in 1998?\nSQL QUERY:", "completion": "SELECT country FROM table_name_78 WHERE year_s__won LIKE \"%1998%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38437 (\n \"Round\" real,\n \"Pick\" real,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What is average round of Auburn College?\nSQL QUERY:", "completion": "SELECT AVG(\"Round\") FROM table_38437 WHERE \"College\" LIKE '%auburn%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n date VARCHAR,\n series VARCHAR\n)\n\nQUESTION: What was the date of the game when the record of the series was 0 1?\nSQL QUERY:", "completion": "SELECT date FROM table_name_10 WHERE series LIKE \"%0–1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24123547_2 (\n final_score VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What was the result of the games VS the Lions?\nSQL QUERY:", "completion": "SELECT final_score FROM table_24123547_2 WHERE opponent LIKE \"%lions%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n incumbent VARCHAR,\n first_elected VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Who is the incumbent for the Oregon 5 District that was elected in 1996?\nSQL QUERY:", "completion": "SELECT incumbent FROM table_name_34 WHERE first_elected = '1996' AND district LIKE '%oregon 5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4465 (\n \"Round\" real,\n \"Track\" text,\n \"Date\" text,\n \"Pole Position\" text,\n \"Fastest Lap\" text,\n \"Winner\" text,\n \"Team\" text\n)\n\nQUESTION: Who was the winner when Katsuyuki Hiranaka had the fastest lap?\nSQL QUERY:", "completion": "SELECT \"Winner\" FROM table_4465 WHERE \"Fastest Lap\" LIKE '%katsuyuki hiranaka%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16201038_4 (\n missouri_vs VARCHAR,\n at_neutral_site VARCHAR\n)\n\nQUESTION: Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?\nSQL QUERY:", "completion": "SELECT missouri_vs FROM table_16201038_4 WHERE at_neutral_site LIKE '%mu, 2-1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23252 (\n \"School\" text,\n \"Baseball stadium\" text,\n \"Softball stadium\" text,\n \"Basketball arena\" text,\n \"Capacity\" text\n)\n\nQUESTION: What is the capacity for the school that has the Owl Athletic Complex baseball stadium?\nSQL QUERY:", "completion": "SELECT \"Capacity\" FROM table_23252 WHERE \"Baseball stadium\" LIKE '%owl athletic complex%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n tournament VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which tournament had a score of 7 5, 2 6, 7 6?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_7 WHERE score LIKE \"%7–5, 2–6, 7–6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668387_18 (\n district VARCHAR,\n candidates VARCHAR\n)\n\nQUESTION: Name the district for john randolph (dr)\nSQL QUERY:", "completion": "SELECT district FROM table_2668387_18 WHERE candidates LIKE \"%john randolph (dr)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62103 (\n \"Club\" text,\n \"Season's Last Head Coach\" text,\n \"City\" text,\n \"Stadium\" text,\n \"2004-2005 season\" text\n)\n\nQUESTION: What is the stadium for the city of Braga?\nSQL QUERY:", "completion": "SELECT \"Stadium\" FROM table_62103 WHERE \"City\" LIKE '%braga%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54697 (\n \"Sail\" text,\n \"Yacht\" text,\n \"Syndicate\" text,\n \"Yacht Club\" text,\n \"Nation\" text\n)\n\nQUESTION: Which syndicate is associated with the stars & stripes yacht?\nSQL QUERY:", "completion": "SELECT \"Syndicate\" FROM table_54697 WHERE \"Yacht\" LIKE '%stars & stripes%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_644 (\n id number,\n \"week\" number,\n \"date\" text,\n \"opponent\" text,\n \"result\" text,\n \"record\" text,\n \"game site\" text,\n \"bye\" text\n)\n\nQUESTION: who was the opponent in the last game played ?\nSQL QUERY:", "completion": "SELECT \"opponent\" FROM table_204_644 ORDER BY \"week\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1515346_2 (\n country VARCHAR,\n player VARCHAR\n)\n\nQUESTION: For which country does Keith Fergus play?\nSQL QUERY:", "completion": "SELECT country FROM table_1515346_2 WHERE player LIKE \"%keith fergus%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2618061_1 (\n written_by VARCHAR,\n directed_by VARCHAR\n)\n\nQUESTION: How many episodes were directed by james quinn?\nSQL QUERY:", "completion": "SELECT COUNT(written_by) FROM table_2618061_1 WHERE directed_by LIKE '%james quinn%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67411 (\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Game Site\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was the attendance of the Cup Quarterfinals game?\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_67411 WHERE \"Game Site\" LIKE '%cup quarterfinals%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25647137_2 (\n touchdowns INTEGER\n)\n\nQUESTION: What was the highest number of touchdowns by a player?\nSQL QUERY:", "completion": "SELECT MAX(touchdowns) FROM table_25647137_2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57315 (\n \"Year\" real,\n \"Competition\" text,\n \"Date\" text,\n \"Location\" text,\n \"Score\" text,\n \"Result\" text\n)\n\nQUESTION: What day did they record a score of 1-2 in 1994?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_57315 WHERE \"Score\" LIKE '%1-2%' AND \"Year\" = 1994"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_221315_3 (\n max_mach VARCHAR,\n max_speed__mph_ VARCHAR\n)\n\nQUESTION: What was the max mach when the maximum speed was 3887?\nSQL QUERY:", "completion": "SELECT max_mach FROM table_221315_3 WHERE max_speed__mph_ LIKE '%3887%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n visitor VARCHAR,\n decision VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who is the visiting team when Dipietro received a decision on October 27?\nSQL QUERY:", "completion": "SELECT visitor FROM table_name_50 WHERE decision LIKE \"%dipietro%\" AND date LIKE \"%october 27%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Who was the Away team at Hawthorn?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_24 WHERE away_team LIKE \"%hawthorn%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n home VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: Name the home with toronto visiting\nSQL QUERY:", "completion": "SELECT home FROM table_name_29 WHERE visitor LIKE \"%toronto%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n record VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the record for May 31?\nSQL QUERY:", "completion": "SELECT record FROM table_name_83 WHERE date LIKE \"%may 31%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n winner VARCHAR,\n stage VARCHAR\n)\n\nQUESTION: Who was the winner of stage 12?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_76 WHERE stage LIKE \"%12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1972 (\n \"Year\" real,\n \"Formula\" text,\n \"Driver\" text,\n \"Constructor\" text,\n \"Location\" text,\n \"Report\" text\n)\n\nQUESTION: Who is the driver of the entry constructed by Mercedes-Benz?\nSQL QUERY:", "completion": "SELECT \"Driver\" FROM table_1972 WHERE \"Constructor\" LIKE '%mercedes-benz%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n rank VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What rank was the team from Australia?\nSQL QUERY:", "completion": "SELECT COUNT(rank) FROM table_name_77 WHERE country LIKE \"%australia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54795 (\n \"Track\" real,\n \"Title\" text,\n \"Translation\" text,\n \"Composer\" text,\n \"Recorded\" text\n)\n\nQUESTION: Which title has the Translation of vesoul?\nSQL QUERY:", "completion": "SELECT \"Title\" FROM table_54795 WHERE \"Translation\" LIKE '%vesoul%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13032 (\n \"Rank\" real,\n \"Name\" text,\n \"Country\" text,\n \"Birth\" real,\n \"Death\" text\n)\n\nQUESTION: What year is the death for a birth of 1873 and higher than rank 28?\nSQL QUERY:", "completion": "SELECT \"Death\" FROM table_13032 WHERE \"Birth\" = 1873 AND \"Rank\" > 28"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_763 (\n id number,\n \"year\" number,\n \"competition\" text,\n \"venue\" text,\n \"position\" text,\n \"notes\" text\n)\n\nQUESTION: how many of the competitions that took place were based in a venue in the united states ?\nSQL QUERY:", "completion": "SELECT COUNT(\"competition\") FROM table_203_763 WHERE \"venue\" LIKE '%united states%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE ship (\n Name VARCHAR,\n Nationality VARCHAR\n)\n\nQUESTION: List the name of ships whose nationality is not 'United States'.\nSQL QUERY:", "completion": "SELECT Name FROM ship WHERE Nationality NOT LIKE \"%united states%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n the_biggest_loser VARCHAR,\n at_home_winner VARCHAR\n)\n\nQUESTION: Who won the season when Pete Thomas was the At-Home winner?\nSQL QUERY:", "completion": "SELECT the_biggest_loser FROM table_name_21 WHERE at_home_winner LIKE \"%pete thomas%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2461720_1 (\n language_of_films VARCHAR,\n theatre_name VARCHAR\n)\n\nQUESTION: Name the total number of language of films for m ga-plex taschereau imax\nSQL QUERY:", "completion": "SELECT COUNT(language_of_films) FROM table_2461720_1 WHERE theatre_name LIKE '%méga-plex taschereau imax%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n original_airing VARCHAR,\n audience_share__average_ VARCHAR\n)\n\nQUESTION: Where the audience share is 8%, what is the original airing?\nSQL QUERY:", "completion": "SELECT original_airing FROM table_name_60 WHERE audience_share__average_ LIKE '%8%%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2508633_11 (\n nfl_team VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What NFL Teams have the player Aaron Williams?\nSQL QUERY:", "completion": "SELECT nfl_team FROM table_2508633_11 WHERE player LIKE \"%aaron williams%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12220 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: What is Visitor, when Date is 'April 24'?\nSQL QUERY:", "completion": "SELECT \"Visitor\" FROM table_12220 WHERE \"Date\" LIKE '%april 24%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n home_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What was the home team score when the VFL played at Western Oval?\nSQL QUERY:", "completion": "SELECT home_team AS score FROM table_name_65 WHERE venue LIKE \"%western oval%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27112708_2 (\n mountains_classification VARCHAR,\n stage VARCHAR\n)\n\nQUESTION: Which mountains classification is listed under stage 3?\nSQL QUERY:", "completion": "SELECT mountains_classification FROM table_27112708_2 WHERE stage LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45779 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: Which Tie number had Middlesbrough as the away team?\nSQL QUERY:", "completion": "SELECT \"Tie no\" FROM table_45779 WHERE \"Away team\" LIKE '%middlesbrough%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n segment_c VARCHAR,\n episode INTEGER\n)\n\nQUESTION: Episode smaller than 210 had what segment c?\nSQL QUERY:", "completion": "SELECT segment_c FROM table_name_67 WHERE episode < 210"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1909647_2 (\n year VARCHAR,\n team_s_ VARCHAR\n)\n\nQUESTION: In what year did the #14 FitzBradshaw Racing compete?\nSQL QUERY:", "completion": "SELECT year FROM table_1909647_2 WHERE team_s_ LIKE '%#14 fitzbradshaw racing%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n city VARCHAR,\n sport VARCHAR,\n _number_of_titles VARCHAR,\n last VARCHAR\n)\n\nQUESTION: What city is the school that had less than 17 titles in boys basketball with the last title being after 2005?\nSQL QUERY:", "completion": "SELECT city FROM table_name_86 WHERE CAST(_number_of_titles AS INTEGER) < 17 AND CAST(last AS INTEGER) > 2005 AND sport LIKE '%boys basketball%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n home_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: When the Venue is mcg what is the Home team?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_47 WHERE venue LIKE \"%mcg%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n date VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What is the date of the match with a 28-15 record?\nSQL QUERY:", "completion": "SELECT date FROM table_name_24 WHERE record LIKE \"%28-15%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n total INTEGER,\n rank VARCHAR,\n gold VARCHAR,\n silver VARCHAR\n)\n\nQUESTION: What is the sum of Total for 0 gold and less than 2, silver with a rank of 6?\nSQL QUERY:", "completion": "SELECT SUM(total) FROM table_name_11 WHERE gold = '0' AND silver < '2' AND rank LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n away_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Who was the away team at MCG?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_12 WHERE venue LIKE \"%mcg%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69245 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What was the score on April 18?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_69245 WHERE \"Date\" LIKE '%april 18%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n result VARCHAR,\n round VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: what is the result when the round is less than 7 and the opponent is melbourne storm?\nSQL QUERY:", "completion": "SELECT result FROM table_name_76 WHERE CAST(round AS INTEGER) < 7 AND opponent LIKE '%melbourne storm%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57896 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Leading scorer\" text,\n \"Record\" text\n)\n\nQUESTION: What is the Record with a Score with 80 87, and a Visitor with bucks?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_57896 WHERE \"Score\" LIKE '%80–87%' AND \"Visitor\" LIKE '%bucks%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n location VARCHAR,\n county VARCHAR\n)\n\nQUESTION: What is the Location with a county of 30 Hancock?\nSQL QUERY:", "completion": "SELECT location FROM table_name_28 WHERE county LIKE \"%30 hancock%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n nationality VARCHAR,\n school_club_team VARCHAR\n)\n\nQUESTION: What is the nationality of Duke?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_95 WHERE school_club_team LIKE \"%duke%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n year INTEGER,\n genre VARCHAR\n)\n\nQUESTION: What is the earliest year when action was the genre?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_name_35 WHERE genre LIKE '%action%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n grid VARCHAR,\n laps INTEGER\n)\n\nQUESTION: How many grid numbers had a lap number bigger than 54?\nSQL QUERY:", "completion": "SELECT COUNT(grid) FROM table_name_89 WHERE laps > 54"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2453243_5 (\n title VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: What is the title of the episode with production code 406?\nSQL QUERY:", "completion": "SELECT title FROM table_2453243_5 WHERE production_code LIKE '%406%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2508633_5 (\n player VARCHAR,\n nfl_team VARCHAR\n)\n\nQUESTION: Which player did the green bay packers pick?\nSQL QUERY:", "completion": "SELECT player FROM table_2508633_5 WHERE nfl_team LIKE \"%green bay packers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n date VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: What is the Date of Tie no 21?\nSQL QUERY:", "completion": "SELECT date FROM table_name_13 WHERE tie_no LIKE \"%21%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52626 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Who was the home team when the venue was Junction Oval?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_52626 WHERE \"Venue\" LIKE '%junction oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61388 (\n \"Season\" text,\n \"Premier\" real,\n \"First\" real,\n \"Second\" real,\n \"Total\" real\n)\n\nQUESTION: What is the total number of Premier, when Second is '55'?\nSQL QUERY:", "completion": "SELECT COUNT(\"Premier\") FROM table_61388 WHERE \"Second\" = 55"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341663_10 (\n result VARCHAR,\n candidates VARCHAR\n)\n\nQUESTION: what was the result where the candidates are sam m. gibbons (d) unopposed?\nSQL QUERY:", "completion": "SELECT result FROM table_1341663_10 WHERE candidates LIKE \"%sam m. gibbons (d) unopposed%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n date VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: On which date was Essendon the home team?\nSQL QUERY:", "completion": "SELECT date FROM table_name_13 WHERE home_team LIKE \"%essendon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n nbr_number INTEGER,\n class VARCHAR,\n road_number VARCHAR\n)\n\nQUESTION: What is the highest NBR number that corresponds to the J class and the road number of 1211?\nSQL QUERY:", "completion": "SELECT MAX(nbr_number) FROM table_name_29 WHERE class LIKE \"%j%\" AND road_number LIKE \"%1211%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28164986_4 (\n date_of_appointment VARCHAR,\n manner_of_departure VARCHAR,\n team VARCHAR\n)\n\nQUESTION: when was the next coach appointed after niger tornadoes fired their coach?\nSQL QUERY:", "completion": "SELECT date_of_appointment FROM table_28164986_4 WHERE manner_of_departure LIKE \"%fired%\" AND team LIKE \"%niger tornadoes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16774 (\n \"Race Name\" text,\n \"Circuit\" text,\n \"Date\" text,\n \"Winning driver\" text,\n \"Constructor\" text,\n \"Report\" text\n)\n\nQUESTION: What was the name of the race in Bordeaux?\nSQL QUERY:", "completion": "SELECT \"Race Name\" FROM table_16774 WHERE \"Circuit\" LIKE '%bordeaux%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28881 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" text,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: What party did candidate george mcduffie (j) represent?\nSQL QUERY:", "completion": "SELECT \"Party\" FROM table_28881 WHERE \"Candidates\" LIKE '%george mcduffie (j)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19897294_5 (\n original_air_date VARCHAR,\n no_overall VARCHAR\n)\n\nQUESTION: Name the air date for uk17\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_19897294_5 WHERE no_overall LIKE '%uk17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n result_f_a VARCHAR,\n league_position VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the Result F A on 21 February 2009, when the league position was 1st?\nSQL QUERY:", "completion": "SELECT result_f_a FROM table_name_55 WHERE league_position LIKE \"%1st%\" AND date LIKE \"%21 february 2009%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29434211_1 (\n season INTEGER,\n podiums VARCHAR\n)\n\nQUESTION: What is the maximum season that has exactly 2 podiums?\nSQL QUERY:", "completion": "SELECT MAX(season) FROM table_29434211_1 WHERE podiums LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_3 (\n total INTEGER,\n fa_cup INTEGER\n)\n\nQUESTION: What is the sum of totals for FA Cup values of 0?\nSQL QUERY:", "completion": "SELECT SUM(total) FROM table_name_3 WHERE fa_cup < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27435931_1 (\n continent VARCHAR,\n country VARCHAR\n)\n\nQUESTION: what is the continent in which the country russia is listed?\nSQL QUERY:", "completion": "SELECT continent FROM table_27435931_1 WHERE country LIKE \"%russia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40493 (\n \"Rank\" real,\n \"City\" text,\n \"Airport\" text,\n \"Passengers\" real,\n \"Carriers\" text\n)\n\nQUESTION: What city had a rank before 3 and primary carrier JetBlue Airways?\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_40493 WHERE \"Rank\" < 3 AND \"Carriers\" LIKE '%jetblue airways%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28498999_4 (\n country VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What country is charley hoffman from?\nSQL QUERY:", "completion": "SELECT country FROM table_28498999_4 WHERE player LIKE \"%charley hoffman%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10391 (\n \"Round\" text,\n \"Pick\" text,\n \"Player\" text,\n \"Position\" text,\n \"Nationality\" text,\n \"Team\" text,\n \"College\" text\n)\n\nQUESTION: Which team has Pick 13 in Round 2?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_10391 WHERE \"Round\" LIKE '%2%' AND \"Pick\" LIKE '%13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n member_state VARCHAR\n)\n\nQUESTION: What is the 2011 value with a 2008 value of 0.3 and is a member state of the European Union?\nSQL QUERY:", "completion": "SELECT 2011 FROM table_name_64 WHERE 2008 = \"0.3\" AND member_state LIKE '%european union%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n loss INTEGER,\n avg_g VARCHAR\n)\n\nQUESTION: WHAT IS THE LOSS WITH AN AVERAGE OF 89.9?\nSQL QUERY:", "completion": "SELECT SUM(loss) FROM table_name_18 WHERE avg_g LIKE '%89.9%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23286112_7 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the score for the date of December 7?\nSQL QUERY:", "completion": "SELECT score FROM table_23286112_7 WHERE date LIKE \"%december 7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17467447_1 (\n directed_by VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: If the product code is 2t6267, who was the director?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_17467447_1 WHERE production_code LIKE \"%2t6267%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n date VARCHAR,\n road_team VARCHAR,\n result VARCHAR\n)\n\nQUESTION: Which Date has a Road Team of chicago, and a Result of 88-85 (ot)?\nSQL QUERY:", "completion": "SELECT date FROM table_name_33 WHERE road_team LIKE '%chicago%' AND result LIKE '%88-85 (ot)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_664 (\n id number,\n \"club\" text,\n \"town\" text,\n \"founded\" number,\n \"nickname\" text,\n \"colours\" text,\n \"home ground\" text,\n \"titles\" number,\n \"website\" text\n)\n\nQUESTION: how many teams were founded in morwell ?\nSQL QUERY:", "completion": "SELECT COUNT(\"club\") FROM table_203_664 WHERE \"town\" LIKE '%morwell%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33911 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Decision\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: Which Date has a Home of minnesota?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_33911 WHERE \"Home\" LIKE '%minnesota%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341690_20 (\n result VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What are all the results where Robert Bauman is the incumbent politician?\nSQL QUERY:", "completion": "SELECT result FROM table_1341690_20 WHERE incumbent LIKE \"%robert bauman%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5946 (\n \"Week\" text,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Kickoff\" text,\n \"Game site\" text,\n \"Record\" text,\n \"Match Report\" text\n)\n\nQUESTION: Which Record has a Match Report of recap, and a Result of l 30 20?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_5946 WHERE \"Match Report\" LIKE '%recap%' AND \"Result\" LIKE '%l 30–20%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n laps INTEGER,\n finish VARCHAR,\n start VARCHAR\n)\n\nQUESTION: What's the smallest amount of Laps that had a finish of 7 with a start of 6?\nSQL QUERY:", "completion": "SELECT MIN(laps) FROM table_name_49 WHERE finish LIKE \"%7%\" AND start LIKE \"%6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26565936_2 (\n written_by VARCHAR,\n no_in_series VARCHAR\n)\n\nQUESTION: Who wrote episode number 109 in the series?\nSQL QUERY:", "completion": "SELECT written_by FROM table_26565936_2 WHERE no_in_series LIKE '%109%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74434 (\n \"Pick #\" real,\n \"MLS team\" text,\n \"Player\" text,\n \"Position\" text,\n \"Affiliation\" text\n)\n\nQUESTION: Who was pick number 34?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_74434 WHERE \"Pick #\" = 34"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n party VARCHAR,\n result VARCHAR\n)\n\nQUESTION: Which party had a Retired Democratic hold?\nSQL QUERY:", "completion": "SELECT party FROM table_name_97 WHERE result LIKE \"%retired democratic hold%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n coach VARCHAR,\n losses VARCHAR\n)\n\nQUESTION: Who was the coach who had 215 losses?\nSQL QUERY:", "completion": "SELECT coach FROM table_name_33 WHERE losses LIKE '%215%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n method VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the method of opponent georges st-pierre?\nSQL QUERY:", "completion": "SELECT method FROM table_name_22 WHERE opponent LIKE \"%georges st-pierre%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n top_25 VARCHAR,\n top_10 VARCHAR\n)\n\nQUESTION: What is the total number of top-25s for the major that has 11 top-10s?\nSQL QUERY:", "completion": "SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61380 (\n \"Date\" text,\n \"Venue\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: What is the result of the game at kyiv, ukraine?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_61380 WHERE \"Venue\" LIKE '%kyiv, ukraine%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25042332_33 (\n hdi VARCHAR,\n life_expectancy_at_birth__2001_2002_ VARCHAR\n)\n\nQUESTION: How many regions had a life expectancy at birth in 2001-2002 of 75.9?\nSQL QUERY:", "completion": "SELECT COUNT(hdi) FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ LIKE \"%75.9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_75 (\n call_sign VARCHAR,\n erp_w VARCHAR\n)\n\nQUESTION: What is the Call sign for the ERP W 19?\nSQL QUERY:", "completion": "SELECT call_sign FROM table_name_75 WHERE erp_w LIKE '%19%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_783 (\n id number,\n \"season\" text,\n \"tier\" number,\n \"division\" text,\n \"place\" text\n)\n\nQUESTION: how many times did internacional de madrid cf end the season at the top of their division ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_203_783 WHERE \"place\" LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15625 (\n \"Date\" text,\n \"Venue\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: When was there a score of 7-1?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_15625 WHERE \"Score\" LIKE '%7-1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20217811_1 (\n green VARCHAR,\n electorate VARCHAR\n)\n\nQUESTION: Name the green for otaki\nSQL QUERY:", "completion": "SELECT green FROM table_20217811_1 WHERE electorate LIKE \"%otaki%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12043148_2 (\n bristol_ VARCHAR,\n _n_som VARCHAR,\n somerset VARCHAR\n)\n\nQUESTION: what is the bristol & n. som where the somerset is ashcott and shapwick?\nSQL QUERY:", "completion": "SELECT bristol_ || _n_som FROM table_12043148_2 WHERE somerset LIKE '%ashcott and shapwick%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38002 (\n \"Date\" text,\n \"Round\" text,\n \"Opponent\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Attendance\" real,\n \"Scorers\" text\n)\n\nQUESTION: What is the lowest attendance of a game that has the result of 2-0?\nSQL QUERY:", "completion": "SELECT MIN(\"Attendance\") FROM table_38002 WHERE \"Result\" LIKE '%2-0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n date VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: On what date was a game played at Windy Hill?\nSQL QUERY:", "completion": "SELECT date FROM table_name_6 WHERE venue LIKE \"%windy hill%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who was the opponent on December 18, 2005?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_80 WHERE date LIKE \"%december 18, 2005%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n Id VARCHAR\n)\n\nQUESTION: What 2010 has an A 2006 & 2011?\nSQL QUERY:", "completion": "SELECT 2010 FROM table_name_30 WHERE 2006 LIKE '%a%' AND 2011 LIKE '%a%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE song (\n f_id VARCHAR,\n resolution INTEGER,\n genre_is VARCHAR\n)\n\nQUESTION: What is ids of the songs whose resolution is higher than the average resolution of songs in modern genre?\nSQL QUERY:", "completion": "SELECT f_id FROM song WHERE resolution > (SELECT AVG(resolution) FROM song WHERE genre_is LIKE '%modern%')"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n date VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: On what date was a match played at Lake Oval?\nSQL QUERY:", "completion": "SELECT date FROM table_name_4 WHERE venue LIKE '%lake oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n outcome VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What Outcome happened on a Date that was 20 november 2011?\nSQL QUERY:", "completion": "SELECT outcome FROM table_name_61 WHERE date LIKE \"%20 november 2011%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_763 (\n id number,\n \"year\" number,\n \"competition\" text,\n \"venue\" text,\n \"position\" text,\n \"notes\" text\n)\n\nQUESTION: what was the lowest position ramon gonzalez came in ?\nSQL QUERY:", "completion": "SELECT \"position\" FROM table_203_763 ORDER BY \"position\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n region VARCHAR,\n state VARCHAR\n)\n\nQUESTION: Tell me the region for georgia\nSQL QUERY:", "completion": "SELECT region FROM table_name_8 WHERE state LIKE \"%georgia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n score VARCHAR,\n place VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which Score has a Place of t6, and a Player of raymond floyd?\nSQL QUERY:", "completion": "SELECT score FROM table_name_43 WHERE place LIKE \"%t6%\" AND player LIKE \"%raymond floyd%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33756 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Record\" text,\n \"Attendance\" real\n)\n\nQUESTION: What is the attendance for week 11?\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_33756 WHERE \"Week\" = 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33866 (\n \"Rank\" text,\n \"Player\" text,\n \"Goals\" text,\n \"Assists\" text,\n \"Points\" text,\n \"Years\" text\n)\n\nQUESTION: What years did the player play when he scored 78 points and 22 goals?\nSQL QUERY:", "completion": "SELECT \"Years\" FROM table_33866 WHERE \"Points\" LIKE '%78%' AND \"Goals\" LIKE '%22%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n opponent VARCHAR,\n week VARCHAR\n)\n\nQUESTION: In Week 13, who was the opponent?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_98 WHERE week LIKE '%13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n to_par VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What is the To Par score for the player from France?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_99 WHERE country LIKE \"%france%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56730 (\n \"Edition\" real,\n \"Zone\" text,\n \"Round\" text,\n \"Date\" text,\n \"Against\" text,\n \"Surface\" text,\n \"Partner\" text,\n \"Opponents\" text,\n \"Result\" text\n)\n\nQUESTION: Which zone had m d lina gojnea monica niculescu as the opponent?\nSQL QUERY:", "completion": "SELECT \"Zone\" FROM table_56730 WHERE \"Opponents\" LIKE '%mădălina gojnea monica niculescu%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27462 (\n \"Rank\" real,\n \"Rider\" text,\n \"Sat 29 May\" text,\n \"Mon 31 May\" text,\n \"Tues 1 June\" text,\n \"Wed 2 June\" text,\n \"Thurs 3 June\" text,\n \"Fri 4 June\" text\n)\n\nQUESTION: How many times are listed for 31 May for the rider ranked 5?\nSQL QUERY:", "completion": "SELECT COUNT(\"Mon 31 May\") FROM table_27462 WHERE \"Rank\" = 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6703 (\n \"Outcome\" text,\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Partner\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: Which Opponent had a Surface of hard, and a Partner of maria elena camerin?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_6703 WHERE \"Surface\" LIKE '%hard%' AND \"Partner\" LIKE '%maria elena camerin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n date VARCHAR,\n attendance VARCHAR,\n man_of_the_match VARCHAR\n)\n\nQUESTION: What was the date when the attendance was n/a and the Man of the Match was unknown?\nSQL QUERY:", "completion": "SELECT date FROM table_name_32 WHERE attendance LIKE \"%n/a%\" AND man_of_the_match LIKE \"%unknown%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66647 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location/Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What is the Game with a Record of 19-15?\nSQL QUERY:", "completion": "SELECT \"Game\" FROM table_66647 WHERE \"Record\" LIKE '%19-15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n country VARCHAR,\n lane VARCHAR\n)\n\nQUESTION: Tell me the country for lane of 6\nSQL QUERY:", "completion": "SELECT country FROM table_name_66 WHERE lane LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n position VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which Position has a Player of patrick macdonald?\nSQL QUERY:", "completion": "SELECT position FROM table_name_35 WHERE player LIKE \"%patrick macdonald%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75862 (\n \"Round #\" real,\n \"Pick #\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What is the College with a Round # that is 290?\nSQL QUERY:", "completion": "SELECT \"College\" FROM table_75862 WHERE \"Round #\" = 290"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_178408_1 (\n location_of_the_church VARCHAR,\n church_name VARCHAR\n)\n\nQUESTION: Name the location of the church for berle kyrkje\nSQL QUERY:", "completion": "SELECT location_of_the_church FROM table_178408_1 WHERE church_name LIKE \"%berle kyrkje%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE HOTELS (\n price_range VARCHAR,\n star_rating_code VARCHAR\n)\n\nQUESTION: Show the price ranges of hotels with 5 star ratings.\nSQL QUERY:", "completion": "SELECT price_range FROM HOTELS WHERE star_rating_code LIKE \"%5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n record VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: What was the record when Minnesota was the visiting team?\nSQL QUERY:", "completion": "SELECT record FROM table_name_68 WHERE visitor LIKE \"%minnesota%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_201_39 (\n id number,\n \"no\" number,\n \"title\" text,\n \"directed by\" text,\n \"released\" number\n)\n\nQUESTION: which year is the year with the most titles ?\nSQL QUERY:", "completion": "SELECT \"released\" FROM table_201_39 GROUP BY \"released\" ORDER BY COUNT(\"title\") DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69653 (\n \"Track\" real,\n \"Recorded\" text,\n \"Catalogue\" text,\n \"Release Date\" text,\n \"Song Title\" text,\n \"Time\" text\n)\n\nQUESTION: Name the catalogue with song title of love me tonight\nSQL QUERY:", "completion": "SELECT \"Catalogue\" FROM table_69653 WHERE \"Song Title\" LIKE '%love me tonight%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11727969_1 (\n species_in_the_peruvian_amazon INTEGER,\n peru_vs_world__percent_ VARCHAR\n)\n\nQUESTION: what's the minimum species in the peruvian amazon with peru vs. world (percent) value of 7\nSQL QUERY:", "completion": "SELECT MIN(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE peru_vs_world__percent_ LIKE '%7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n result VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What is the result of the match with an attendance of 73,855?\nSQL QUERY:", "completion": "SELECT result FROM table_name_9 WHERE attendance LIKE \"%73,855%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE head (\n born_state VARCHAR\n)\n\nQUESTION: What are the names of the states where at least 3 heads were born?\nSQL QUERY:", "completion": "SELECT born_state FROM head GROUP BY born_state HAVING COUNT(*) >= 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77513 (\n \"Name\" text,\n \"Position\" text,\n \"Height\" text,\n \"Weight\" real,\n \"Year\" text,\n \"Home Town\" text,\n \"High School\" text\n)\n\nQUESTION: What is the Position with a Year with freshman, and a Weight larger than 210?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_77513 WHERE \"Year\" LIKE '%freshman%' AND \"Weight\" > 210"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_886 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Who had the high points dated march 13?\nSQL QUERY:", "completion": "SELECT \"High points\" FROM table_886 WHERE \"Date\" LIKE '%march 13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27050336_7 (\n party VARCHAR,\n delegate VARCHAR\n)\n\nQUESTION: Where delegate is feldman, brian j. brian j. feldman, please specify all the party\nSQL QUERY:", "completion": "SELECT party FROM table_27050336_7 WHERE delegate LIKE \"%feldman, brian j. brian j. feldman%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n final_score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: what is the final score when the date is 2009-02-26?\nSQL QUERY:", "completion": "SELECT final_score FROM table_name_62 WHERE date LIKE \"%2009-02-26%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n champion VARCHAR,\n location VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Who was the Champion in Snellville, GA in 2006?\nSQL QUERY:", "completion": "SELECT champion FROM table_name_46 WHERE location LIKE \"%snellville, ga%\" AND year = \"2006\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2528382_2 (\n year VARCHAR,\n co_stars VARCHAR\n)\n\nQUESTION: In which years are co-stars mala sinha and amitabh bachchan?\nSQL QUERY:", "completion": "SELECT year FROM table_2528382_2 WHERE co_stars LIKE '%mala sinha and amitabh bachchan%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14015965_1 (\n foreign_players__max_2_ VARCHAR,\n town VARCHAR\n)\n\nQUESTION: Who are the foreign players representing Ekaterinburg?\nSQL QUERY:", "completion": "SELECT foreign_players__max_2_ FROM table_14015965_1 WHERE town LIKE \"%ekaterinburg%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37732 (\n \"Name\" text,\n \"Birth date\" text,\n \"Age as of 1 February 2014\" text,\n \"Province or Country of birth\" text,\n \"Province of residence\" text\n)\n\nQUESTION: Which supercentenarians were born in Manitoba?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_37732 WHERE \"Province or Country of birth\" LIKE '%manitoba%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2840500_6 (\n pick VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which pick did Michel Larocque receive?\nSQL QUERY:", "completion": "SELECT pick FROM table_2840500_6 WHERE player LIKE \"%michel larocque%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n date VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: What is the date of the game that had a visitor of Chicago?\nSQL QUERY:", "completion": "SELECT date FROM table_name_22 WHERE visitor LIKE '%chicago%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43659 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: What is the 2nd leg for Barcelona Team 2?\nSQL QUERY:", "completion": "SELECT \"2nd leg\" FROM table_43659 WHERE \"Team 2\" LIKE '%barcelona%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14884844_2 (\n location VARCHAR,\n athletes VARCHAR\n)\n\nQUESTION: What are all the places where Birgit Fischer competed?\nSQL QUERY:", "completion": "SELECT location FROM table_14884844_2 WHERE athletes LIKE \"%birgit fischer%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n opponent VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Who did the Rockies play at the game that had a score of 6 5 (10)?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_22 WHERE score LIKE \"%6–5 (10)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n total INTEGER,\n gold INTEGER\n)\n\nQUESTION: What is the largest total that has a gold less than 0?\nSQL QUERY:", "completion": "SELECT MAX(total) FROM table_name_57 WHERE gold < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE tryout (\n cName VARCHAR,\n pPos VARCHAR\n)\n\nQUESTION: Find the names of schools that have some students playing in goalie and mid positions.\nSQL QUERY:", "completion": "SELECT cName FROM tryout WHERE pPos LIKE '%goalie%' INTERSECT SELECT cName FROM tryout WHERE pPos LIKE '%mid%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24673888_1 (\n callsign VARCHAR,\n station_type VARCHAR,\n ch__number VARCHAR\n)\n\nQUESTION: What is the callsign that has a station type of relay and a channel number of TV-2?\nSQL QUERY:", "completion": "SELECT callsign FROM table_24673888_1 WHERE station_type LIKE \"%relay%\" AND ch__number LIKE \"%tv-2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28281704_1 (\n country VARCHAR,\n city VARCHAR\n)\n\nQUESTION: Name the country for athens\nSQL QUERY:", "completion": "SELECT COUNT(country) FROM table_28281704_1 WHERE city LIKE \"%athens%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE products_booked (\n product_id VARCHAR\n)\n\nQUESTION: What is the id of the product that is booked for 3 times?\nSQL QUERY:", "completion": "SELECT product_id FROM products_booked GROUP BY product_id HAVING COUNT(*) = 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n constructor VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: Which constructor had Shinji Nakano as a driver?\nSQL QUERY:", "completion": "SELECT constructor FROM table_name_71 WHERE driver LIKE \"%shinji nakano%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47667 (\n \"Res.\" text,\n \"Record\" text,\n \"Opponent\" text,\n \"Method\" text,\n \"Round\" text\n)\n\nQUESTION: What record has magomedkhan gamzatkhanov as the opponent, and submission as the method?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_47667 WHERE \"Opponent\" LIKE '%magomedkhan gamzatkhanov%' AND \"Method\" LIKE '%submission%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29916 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What was the high points when the team was Washington?\nSQL QUERY:", "completion": "SELECT \"High points\" FROM table_29916 WHERE \"Team\" LIKE '%washington%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8510 (\n \"White\" text,\n \"Black\" text,\n \"Year\" real,\n \"Result\" text,\n \"Moves\" real,\n \"Tournament\" text,\n \"Opening\" text\n)\n\nQUESTION: What year has 14 moves and an opening of C54 Italian Game?\nSQL QUERY:", "completion": "SELECT \"Year\" FROM table_8510 WHERE \"Moves\" = 14 AND \"Opening\" LIKE '%c54 italian game%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n to_par VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What is the To par of the Player with a Score of 71-69-68=208?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_25 WHERE score = '-208'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_78306 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: Which Attendance has an Opponent of green bay packers, and a Week larger than 10?\nSQL QUERY:", "completion": "SELECT MIN(\"Attendance\") FROM table_78306 WHERE \"Opponent\" LIKE '%green bay packers%' AND \"Week\" > 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63253 (\n \"Game\" text,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location/Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Who was the opponent on April 21?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_63253 WHERE \"Date\" LIKE '%april 21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n country VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What country has the SBA Towers Tower Hayneville?\nSQL QUERY:", "completion": "SELECT country FROM table_name_71 WHERE name LIKE \"%sba towers tower hayneville%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14003108_1 (\n capacity VARCHAR,\n team VARCHAR\n)\n\nQUESTION: what's the capacity with team being berwick rangers\nSQL QUERY:", "completion": "SELECT capacity FROM table_14003108_1 WHERE team LIKE \"%berwick rangers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33565 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Where was the game played when the home team scored 17.7 (109)?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_33565 WHERE \"Home team score\" LIKE '%17.7 (109)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26178824_1 (\n wins VARCHAR,\n series VARCHAR,\n position VARCHAR\n)\n\nQUESTION: how many wins had series formula renault 2.0 nec and the position is 18th?\nSQL QUERY:", "completion": "SELECT wins FROM table_26178824_1 WHERE series LIKE \"%formula renault 2.0 nec%\" AND position LIKE \"%18th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66433 (\n \"Rank\" real,\n \"Lane\" real,\n \"Name\" text,\n \"Nationality\" text,\n \"Time\" text\n)\n\nQUESTION: What is the average rank of Elise Matthysen in lanes under 8?\nSQL QUERY:", "completion": "SELECT AVG(\"Rank\") FROM table_66433 WHERE \"Name\" LIKE '%elise matthysen%' AND \"Lane\" < 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n interview INTEGER,\n swimsuit VARCHAR,\n country VARCHAR,\n preliminaries VARCHAR,\n evening_gown VARCHAR\n)\n\nQUESTION: What is the least score for interview with a preliminaries score less than 9.4, evening gown score less than 9.55, and swimsuit score more than 9.18 in New York?\nSQL QUERY:", "completion": "SELECT MIN(interview) FROM table_name_79 WHERE preliminaries < 9.4 AND evening_gown < 9.55 AND country LIKE \"%new york%\" AND swimsuit > 9.18"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38112 (\n \"Outcome\" text,\n \"Date\" text,\n \"Surface\" text,\n \"Partner\" text,\n \"Opponent in the Final\" text,\n \"Score\" text\n)\n\nQUESTION: What was the Score on February 18, 2008?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_38112 WHERE \"Date\" LIKE '%february 18, 2008%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n representative VARCHAR,\n presentation_of_credentials VARCHAR\n)\n\nQUESTION: Which Representative has a Presentation of Credentials on september 8, 2005?\nSQL QUERY:", "completion": "SELECT representative FROM table_name_93 WHERE presentation_of_credentials LIKE \"%september 8, 2005%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63795 (\n \"Position\" real,\n \"Name\" text,\n \"Played\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Points\" real\n)\n\nQUESTION: Which Drawn has a Position smaller than 8, and a Played smaller than 14?\nSQL QUERY:", "completion": "SELECT MAX(\"Drawn\") FROM table_63795 WHERE \"Position\" < 8 AND \"Played\" < 14"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n athlete VARCHAR,\n country VARCHAR\n)\n\nQUESTION: Which athlete represented the country of egypt?\nSQL QUERY:", "completion": "SELECT athlete FROM table_name_35 WHERE country LIKE \"%egypt%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14821 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: Who was team 1 when team 2 was Young Africans?\nSQL QUERY:", "completion": "SELECT \"Team 1\" FROM table_14821 WHERE \"Team 2\" LIKE '%young africans%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14523485_9 (\n channel VARCHAR,\n top_prize VARCHAR\n)\n\nQUESTION: What channel had the prize of 100,000?\nSQL QUERY:", "completion": "SELECT channel FROM table_14523485_9 WHERE top_prize LIKE '%€100,000%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24747844_2 (\n money_list_rank INTEGER,\n player VARCHAR\n)\n\nQUESTION: What is the maximum money list rank for Matt Hansen?\nSQL QUERY:", "completion": "SELECT MAX(money_list_rank) FROM table_24747844_2 WHERE player LIKE \"%matt hansen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66818 (\n \"Year\" text,\n \"Start\" text,\n \"Qual\" text,\n \"Rank\" text,\n \"Finish\" text,\n \"Laps\" real\n)\n\nQUESTION: How many laps were there when the start was 12?\nSQL QUERY:", "completion": "SELECT COUNT(\"Laps\") FROM table_66818 WHERE \"Start\" LIKE '%12%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n record VARCHAR,\n home VARCHAR\n)\n\nQUESTION: What was the record when the team played at Oakland Seals?\nSQL QUERY:", "completion": "SELECT record FROM table_name_36 WHERE home LIKE \"%oakland seals%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n teams VARCHAR,\n away VARCHAR\n)\n\nQUESTION: What teams has 1-5 as the away?\nSQL QUERY:", "completion": "SELECT teams FROM table_name_96 WHERE away LIKE \"%1-5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n game_site VARCHAR,\n week VARCHAR\n)\n\nQUESTION: Where did the Oakland Raiders play in week 12 of their 1976 season?\nSQL QUERY:", "completion": "SELECT game_site FROM table_name_90 WHERE week LIKE '%12%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n class VARCHAR,\n frequency_mhz VARCHAR\n)\n\nQUESTION: The frequency 89.3 belongs to what class?\nSQL QUERY:", "completion": "SELECT class FROM table_name_79 WHERE frequency_mhz LIKE '%89.3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38842 (\n \"Name\" text,\n \"Type\" text,\n \"Entered service\" text,\n \"Water depth\" text,\n \"Location\" text\n)\n\nQUESTION: Which type entered service in 1976/1997 and is located in Brazil?\nSQL QUERY:", "completion": "SELECT \"Type\" FROM table_38842 WHERE \"Location\" LIKE '%brazil%' AND \"Entered service\" LIKE '%1976/1997%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n founded INTEGER,\n institution VARCHAR\n)\n\nQUESTION: What is independence community college's newest campus?\nSQL QUERY:", "completion": "SELECT MIN(founded) FROM table_name_37 WHERE institution LIKE \"%independence community college%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n position VARCHAR,\n class VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: The driver in class A with 125 laps is in what position?\nSQL QUERY:", "completion": "SELECT position FROM table_name_92 WHERE class LIKE \"%a%\" AND laps = 125"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69244 (\n \"Date\" text,\n \"Time\" text,\n \"Round\" text,\n \"Opponent\" text,\n \"Ground\" text,\n \"Score\" text\n)\n\nQUESTION: Where was the game played that had a score of 3-2 and a time of 15:00 cet?\nSQL QUERY:", "completion": "SELECT \"Ground\" FROM table_69244 WHERE \"Score\" LIKE '%3-2%' AND \"Time\" LIKE '%15:00 cet%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28212888_2 (\n directed_by VARCHAR,\n no_in_series VARCHAR\n)\n\nQUESTION: Who was the director of the episode with series number 116?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_28212888_2 WHERE no_in_series LIKE '%116%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n top_25 INTEGER,\n events VARCHAR,\n wins VARCHAR\n)\n\nQUESTION: What is the lowest Top-25 that has 3 Events and Wins greater than 0?\nSQL QUERY:", "completion": "SELECT MIN(top_25) FROM table_name_94 WHERE events LIKE '%3%' AND wins > '0'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n investing_dragon_s_ VARCHAR,\n money_requested__£_ VARCHAR,\n entrepreneur_s_ VARCHAR\n)\n\nQUESTION: Which Investing Dragon has requested 100,000 and is supported by Entrepreneur Kay Russell?\nSQL QUERY:", "completion": "SELECT investing_dragon_s_ FROM table_name_43 WHERE money_requested__£_ LIKE \"%100,000%\" AND entrepreneur_s_ LIKE \"%kay russell%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15001681_1 (\n mens_singles VARCHAR,\n year VARCHAR\n)\n\nQUESTION: In 1987 who was the mens singles\nSQL QUERY:", "completion": "SELECT mens_singles FROM table_15001681_1 WHERE year LIKE '%1987%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n fleet_size VARCHAR,\n easa__eu_ VARCHAR\n)\n\nQUESTION: What is the Fleet Size when the EASA (EU) is no?\nSQL QUERY:", "completion": "SELECT fleet_size FROM table_name_27 WHERE easa__eu_ LIKE '%no%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_226619_12 (\n pos INTEGER,\n club VARCHAR\n)\n\nQUESTION: Name the most pos for west bromwich albion club\nSQL QUERY:", "completion": "SELECT MAX(pos) FROM table_226619_12 WHERE club LIKE \"%west bromwich albion%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n title VARCHAR,\n peak_position VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What is the title of the single with the peak position of 10 and from France?\nSQL QUERY:", "completion": "SELECT title FROM table_name_21 WHERE peak_position = '10' AND country LIKE '%france%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_69 (\n top_speed VARCHAR,\n model_name VARCHAR\n)\n\nQUESTION: Which Top Speed has a Model Name of d14/4 supreme d14/4 sports & bushman?\nSQL QUERY:", "completion": "SELECT top_speed FROM table_name_69 WHERE model_name LIKE \"%d14/4 supreme d14/4 sports & bushman%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15069 (\n \"Tournament\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text,\n \"2012\" text\n)\n\nQUESTION: what is the tournament when the performance in 2012 is 3r and 2011 is qf?\nSQL QUERY:", "completion": "SELECT \"Tournament\" FROM table_15069 WHERE \"2012\" LIKE '%3r%' AND \"2011\" LIKE '%qf%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n round VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Name the Round which has a Player of zack walz?\nSQL QUERY:", "completion": "SELECT round FROM table_name_68 WHERE player LIKE \"%zack walz%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54352 (\n \"Round\" real,\n \"Pick\" real,\n \"Player\" text,\n \"Position\" text,\n \"Nationality\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: What position has round less than 2?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_54352 WHERE \"Round\" < 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n xii_season VARCHAR,\n episode VARCHAR\n)\n\nQUESTION: What is XII Season, when Episode is 6?\nSQL QUERY:", "completion": "SELECT xii_season FROM table_name_57 WHERE episode LIKE \"%6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n elector VARCHAR,\n elevated VARCHAR\n)\n\nQUESTION: What Elector was Elevated on December 18, 1182?\nSQL QUERY:", "completion": "SELECT elector FROM table_name_31 WHERE elevated LIKE '%december 18, 1182%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n location_attendance VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Where is the location of attendance for the Date of december 14?\nSQL QUERY:", "completion": "SELECT location_attendance FROM table_name_1 WHERE date LIKE \"%december 14%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18365784_3 (\n operator VARCHAR,\n departure VARCHAR\n)\n\nQUESTION: Who was the train operator when the train departed at 11.02 in 1922?\nSQL QUERY:", "completion": "SELECT operator FROM table_18365784_3 WHERE departure LIKE \"%11.02%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n round INTEGER,\n nationality VARCHAR,\n pick VARCHAR\n)\n\nQUESTION: What is the sum of Round, when Nationality is 'United States', and when Pick is '125'?\nSQL QUERY:", "completion": "SELECT SUM(round) FROM table_name_91 WHERE nationality LIKE \"%united states%\" AND pick LIKE \"%125%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n attendance INTEGER,\n date VARCHAR\n)\n\nQUESTION: What was the attendance on september 8?\nSQL QUERY:", "completion": "SELECT AVG(attendance) FROM table_name_71 WHERE date LIKE \"%september 8%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1701371_2 (\n pixels VARCHAR,\n hardware_colours VARCHAR\n)\n\nQUESTION: How many pixels would be found in a hardware colour of 8?\nSQL QUERY:", "completion": "SELECT pixels FROM table_1701371_2 WHERE hardware_colours LIKE '%8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n high_assists VARCHAR,\n location_attendance VARCHAR\n)\n\nQUESTION: Who has the high assists when location attendance is 20,562?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_name_20 WHERE location_attendance LIKE \"%20,562%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23285805_4 (\n team VARCHAR,\n record VARCHAR\n)\n\nQUESTION: If the record is 5-8, what is the team name?\nSQL QUERY:", "completion": "SELECT team FROM table_23285805_4 WHERE record LIKE \"%5-8%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668352_11 (\n first_elected INTEGER\n)\n\nQUESTION: Name the least first elected\nSQL QUERY:", "completion": "SELECT MIN(first_elected) FROM table_2668352_11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_535 (\n id number,\n \"pos\" text,\n \"rider\" text,\n \"manufacturer\" text,\n \"laps\" number,\n \"time/retired\" text,\n \"grid\" number,\n \"points\" number\n)\n\nQUESTION: of those in the top 15 positions , who earned the least number of points ?\nSQL QUERY:", "completion": "SELECT \"rider\" FROM table_204_535 WHERE \"pos\" <= 15 ORDER BY \"points\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64574 (\n \"County\" text,\n \"Location\" text,\n \"Distance\" real,\n \"Total\" real,\n \"Notes\" text\n)\n\nQUESTION: How much Distance has a County of faulkner, and a Total smaller than 1.5?\nSQL QUERY:", "completion": "SELECT SUM(\"Distance\") FROM table_64574 WHERE \"County\" LIKE '%faulkner%' AND \"Total\" < 1.5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25232 (\n \"Rnd\" real,\n \"Date\" text,\n \"Race Name\" text,\n \"Length\" text,\n \"Track\" text,\n \"Location\" text,\n \"Pole Position\" text,\n \"Winning Driver\" text\n)\n\nQUESTION: How many races are in College Station, Texas and won by Johnny Rutherford?\nSQL QUERY:", "completion": "SELECT COUNT(\"Race Name\") FROM table_25232 WHERE \"Location\" LIKE '%college station, texas%' AND \"Winning Driver\" LIKE '%johnny rutherford%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31701 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: Tell me the total number of attendance for week of 16\nSQL QUERY:", "completion": "SELECT COUNT(\"Attendance\") FROM table_31701 WHERE \"Week\" = 16"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n home_team VARCHAR\n)\n\nQUESTION: In the match where footscray was the home team, how much did they score?\nSQL QUERY:", "completion": "SELECT home_team AS score FROM table_name_55 WHERE home_team LIKE \"%footscray%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64902 (\n \"Name\" text,\n \"Position\" text,\n \"League Apps\" text,\n \"League Goals\" real,\n \"FA Cup Apps\" real,\n \"FA Cup Goals\" real,\n \"League Cup Apps\" text,\n \"League Cup Goals\" real,\n \"Total Apps\" text,\n \"Total Goals\" real\n)\n\nQUESTION: What is the highest league goals that have barry endean as the name, wirh FA cup apps greater than 0?\nSQL QUERY:", "completion": "SELECT MAX(\"League Goals\") FROM table_64902 WHERE \"Name\" LIKE '%barry endean%' AND \"FA Cup Apps\" > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n season VARCHAR,\n third VARCHAR\n)\n\nQUESTION: what is the season when the third is shawn rojeski?\nSQL QUERY:", "completion": "SELECT season FROM table_name_96 WHERE third LIKE \"%shawn rojeski%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2019 (\n \"Fiscal year\" real,\n \"2-car sets\" real,\n \"4-car sets\" real,\n \"6-car sets\" real,\n \"8-car sets\" real,\n \"Total vehicles\" real\n)\n\nQUESTION: What is the smallest 8-car sets if 4-car sets is 47?\nSQL QUERY:", "completion": "SELECT MIN(\"8-car sets\") FROM table_2019 WHERE \"4-car sets\" = 47"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n series VARCHAR,\n game VARCHAR\n)\n\nQUESTION: Name the series for game 5\nSQL QUERY:", "completion": "SELECT series FROM table_name_12 WHERE game LIKE \"%game 5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79299 (\n \"Period\" text,\n \"Internet Explorer\" text,\n \"Firefox\" text,\n \"Chrome\" text,\n \"Safari\" text,\n \"Opera\" text,\n \"Other\" text\n)\n\nQUESTION: What safari has 2012 q4 as the period?\nSQL QUERY:", "completion": "SELECT \"Safari\" FROM table_79299 WHERE \"Period\" LIKE '%2012 q4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2511876_1 (\n league VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Name the league for 2003\nSQL QUERY:", "completion": "SELECT league FROM table_2511876_1 WHERE year LIKE '%2003%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n Id VARCHAR\n)\n\nQUESTION: What is the highest 2003 value with a 2011 less than 107 and a 1995 value less than 17?\nSQL QUERY:", "completion": "SELECT MAX(2003) FROM table_name_19 WHERE 2011 < 107 AND 1995 < 17"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_568 (\n id number,\n \"town/village\" text,\n \"population\" number,\n \"postal code\" text,\n \"municipality\" text,\n \"island\" text,\n \"location\" text\n)\n\nQUESTION: which town would come first in alphabetical order , of all the towns in the faroe islands ?\nSQL QUERY:", "completion": "SELECT \"town/village\" FROM table_203_568 ORDER BY \"town/village\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n viewers__m_ INTEGER,\n rating INTEGER\n)\n\nQUESTION: What is the highest number of viewers for a rating greater than 9.4?\nSQL QUERY:", "completion": "SELECT MAX(viewers__m_) FROM table_name_47 WHERE rating > 9.4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57300 (\n \"Model\" text,\n \"Build year\" text,\n \"Total produced\" real,\n \"Wheel arrangement\" text,\n \"Prime mover\" text,\n \"Power output\" text\n)\n\nQUESTION: What is Prime Mover of Model FM CFA-16-4?\nSQL QUERY:", "completion": "SELECT \"Prime mover\" FROM table_57300 WHERE \"Model\" LIKE '%fm cfa-16-4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15749 (\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text,\n \"Prod. code\" real\n)\n\nQUESTION: Who wrote the episode that was directed by dan lerner?\nSQL QUERY:", "completion": "SELECT \"Written by\" FROM table_15749 WHERE \"Directed by\" LIKE '%dan lerner%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n rank INTEGER,\n nation VARCHAR,\n gold VARCHAR\n)\n\nQUESTION: Name the average rank for west germany when gold is more than 1\nSQL QUERY:", "completion": "SELECT AVG(rank) FROM table_name_15 WHERE nation LIKE \"%west germany%\" AND CAST(gold AS INTEGER) > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n opponent VARCHAR,\n time VARCHAR\n)\n\nQUESTION: Who is the opponent with a time of 1:16?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_58 WHERE time LIKE \"%1:16%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the score on March 5 at Vancouver?\nSQL QUERY:", "completion": "SELECT score FROM table_name_42 WHERE date LIKE \"%march 5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27057070_3 (\n outgoing_manager VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Who is the outgoing manager when the team is simurq pfc?\nSQL QUERY:", "completion": "SELECT outgoing_manager FROM table_27057070_3 WHERE team LIKE \"%simurq pfc%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n outcome VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which Outcome has a Score of 6 2, 6 2?\nSQL QUERY:", "completion": "SELECT outcome FROM table_name_20 WHERE score LIKE \"%6–2, 6–2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n games INTEGER,\n lost VARCHAR,\n points VARCHAR,\n drawn VARCHAR\n)\n\nQUESTION: What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6?\nSQL QUERY:", "completion": "SELECT MAX(games) FROM table_name_58 WHERE points LIKE '%3%' AND drawn LIKE '%1%' AND lost LIKE '%5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n score VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: in riyadh, saudi arabia, what is the score?\nSQL QUERY:", "completion": "SELECT score FROM table_name_12 WHERE venue LIKE \"%riyadh, saudi arabia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n lost INTEGER,\n position VARCHAR,\n drawn VARCHAR\n)\n\nQUESTION: Which Lost has a Position of 4, and a Drawn smaller than 3?\nSQL QUERY:", "completion": "SELECT AVG(lost) FROM table_name_4 WHERE position LIKE '%4%' AND drawn < '3'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n date VARCHAR,\n home VARCHAR\n)\n\nQUESTION: What date did the team play home in Toronto?\nSQL QUERY:", "completion": "SELECT date FROM table_name_64 WHERE home LIKE \"%toronto%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n hanyu_pinyin VARCHAR,\n area__km²_ VARCHAR\n)\n\nQUESTION: What is the Hanyu Pinyin with an area of 400?\nSQL QUERY:", "completion": "SELECT hanyu_pinyin FROM table_name_94 WHERE area__km²_ LIKE \"%400%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n length VARCHAR,\n country VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Which Length has a Country of soviet union, and a Year larger than 1975?\nSQL QUERY:", "completion": "SELECT length FROM table_name_52 WHERE country LIKE \"%soviet union%\" AND year > '1975'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18012738_1 (\n directed_by VARCHAR,\n uk_viewers__million_ VARCHAR\n)\n\nQUESTION: Name the total number directed by for uk viewers being 6.86\nSQL QUERY:", "completion": "SELECT COUNT(directed_by) FROM table_18012738_1 WHERE uk_viewers__million_ LIKE \"%6.86%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n result VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What was the result of week 2?\nSQL QUERY:", "completion": "SELECT result FROM table_name_93 WHERE week LIKE \"%week 2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n structure_type VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What type of structure is there at the American Tower Christmas?\nSQL QUERY:", "completion": "SELECT structure_type FROM table_name_17 WHERE name LIKE \"%american tower christmas%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2084 (\n \"Pick #\" real,\n \"Player\" text,\n \"Position\" text,\n \"Nationality\" text,\n \"NHL team\" text,\n \"College/junior/club team\" text\n)\n\nQUESTION: What player is from the California Golden Seals?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_2084 WHERE \"NHL team\" LIKE '%california golden seals%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n nationality VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is the Nationality for alexandre jacques?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_2 WHERE player LIKE \"%alexandre jacques%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25539502_1 (\n season INTEGER,\n podiums VARCHAR\n)\n\nQUESTION: What is the latest season where he had 1 podium?\nSQL QUERY:", "completion": "SELECT MAX(season) FROM table_25539502_1 WHERE podiums LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15621965_17 (\n years_in_orlando VARCHAR,\n player VARCHAR\n)\n\nQUESTION: List all years in Orlando where Jeryl Sasser was a player.\nSQL QUERY:", "completion": "SELECT years_in_orlando FROM table_15621965_17 WHERE player LIKE \"%jeryl sasser%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n points INTEGER,\n place VARCHAR,\n draw VARCHAR\n)\n\nQUESTION: What is the average number of points for places over 7 and having a draw order of 4?\nSQL QUERY:", "completion": "SELECT AVG(points) FROM table_name_49 WHERE CAST(place AS INTEGER) > 7 AND CAST(draw AS INTEGER) = 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37430 (\n \"Medal\" text,\n \"Name\" text,\n \"Games\" text,\n \"Sport\" text,\n \"Event\" text\n)\n\nQUESTION: What event was in the 2008 Beijing games?\nSQL QUERY:", "completion": "SELECT \"Event\" FROM table_37430 WHERE \"Games\" LIKE '%2008 beijing%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19418 (\n \"School Year\" text,\n \"Class A\" text,\n \"Class AA\" text,\n \"Class AAA\" text,\n \"Class AAAA\" text,\n \"Class AAAAA\" text\n)\n\nQUESTION: Name the number of class aa for bridgeport and 1999-2000\nSQL QUERY:", "completion": "SELECT COUNT(\"Class AA\") FROM table_19418 WHERE \"Class AAA\" LIKE '%bridgeport%' AND \"School Year\" LIKE '%1999-2000%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28639 (\n \"Rank\" real,\n \"Couple\" text,\n \"Judges\" real,\n \"Public\" real,\n \"Total\" real,\n \"Vote percentage\" text,\n \"Result\" text\n)\n\nQUESTION: How many judges were there when the result is safe with a vote percentage of 10.7%?\nSQL QUERY:", "completion": "SELECT MIN(\"Judges\") FROM table_28639 WHERE \"Result\" LIKE '%safe%' AND \"Vote percentage\" LIKE '%10.7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49362 (\n \"Type\" text,\n \"Name\" text,\n \"Title\" text,\n \"Royal house\" text,\n \"From\" text\n)\n\nQUESTION: What is the type of the king title?\nSQL QUERY:", "completion": "SELECT \"Type\" FROM table_49362 WHERE \"Title\" LIKE '%king%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n college VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What college does Dennis Scott attend?\nSQL QUERY:", "completion": "SELECT college FROM table_name_26 WHERE player LIKE \"%dennis scott%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n total INTEGER,\n country VARCHAR\n)\n\nQUESTION: What's spain's highest total?\nSQL QUERY:", "completion": "SELECT MAX(total) FROM table_name_34 WHERE country LIKE \"%spain%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2076533_1 (\n type VARCHAR,\n main_location VARCHAR\n)\n\nQUESTION: Name the type for mcminnville\nSQL QUERY:", "completion": "SELECT type FROM table_2076533_1 WHERE main_location LIKE '%mcminnville%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_59268 (\n \"Res.\" text,\n \"Record\" text,\n \"Opponent\" text,\n \"Method\" text,\n \"Event\" text,\n \"Round\" real,\n \"Time\" text,\n \"Location\" text\n)\n\nQUESTION: Where was the UFC 154 match held?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_59268 WHERE \"Event\" LIKE '%ufc 154%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n week VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: Which week's game was attended by 65,272 people?\nSQL QUERY:", "completion": "SELECT week FROM table_name_18 WHERE attendance LIKE \"%65,272%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n date VARCHAR,\n circuit VARCHAR\n)\n\nQUESTION: What Date has a Circuit of cremona?\nSQL QUERY:", "completion": "SELECT date FROM table_name_36 WHERE circuit LIKE \"%cremona%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n october INTEGER,\n game INTEGER\n)\n\nQUESTION: Name the most october for game less than 1\nSQL QUERY:", "completion": "SELECT MAX(october) FROM table_name_19 WHERE game < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6786 (\n \"Date\" text,\n \"Time\" text,\n \"Score\" text,\n \"Set 1\" text,\n \"Set 2\" text,\n \"Set 3\" text,\n \"Set 4\" text,\n \"Total\" text,\n \"Report\" text\n)\n\nQUESTION: What is the Set 1 when the date is 08 jul, and a Set 2 of 25 21?\nSQL QUERY:", "completion": "SELECT \"Set 1\" FROM table_6786 WHERE \"Date\" LIKE '%08 jul%' AND \"Set 2\" LIKE '%25–21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n date VARCHAR,\n loss VARCHAR\n)\n\nQUESTION: What was the date of the game that had a loss of Burns (0-1)?\nSQL QUERY:", "completion": "SELECT date FROM table_name_85 WHERE loss LIKE \"%burns (0-1)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n rank__2012_ VARCHAR\n)\n\nQUESTION: What is the 2012 Employees (Total) when the rank (2012) is 7?\nSQL QUERY:", "completion": "SELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ LIKE '%7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55063 (\n \"Block A\" text,\n \"Ryuji Hijikata\" text,\n \"Shuji Kondo\" text,\n \"El NOSAWA Mendoza\" text,\n \"PEPE Michinoku\" text,\n \"Katsuhiko Nakajima\" text\n)\n\nQUESTION: What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?\nSQL QUERY:", "completion": "SELECT \"PEPE Michinoku\" FROM table_55063 WHERE \"Ryuji Hijikata\" LIKE '%sabin (12:33)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n call_sign VARCHAR,\n frequency_mhz VARCHAR,\n erp_w VARCHAR\n)\n\nQUESTION: What is the call sign when the frequency is less than 95.5 MHz, and a ERP W is higher than 10?\nSQL QUERY:", "completion": "SELECT call_sign FROM table_name_16 WHERE frequency_mhz < '95.5' AND erp_w > '10'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40198 (\n \"Round\" text,\n \"Date\" text,\n \"Matches\" real,\n \"Clubs\" text,\n \"Prize money\" text\n)\n\nQUESTION: What is the total number of Matches, when Clubs is 588 406?\nSQL QUERY:", "completion": "SELECT COUNT(\"Matches\") FROM table_40198 WHERE \"Clubs\" LIKE '%588 → 406%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45764 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"Record\" text,\n \"Streak\" text\n)\n\nQUESTION: What was the record on January 4?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_45764 WHERE \"Date\" LIKE '%january 4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n opponent VARCHAR,\n result VARCHAR\n)\n\nQUESTION: Who was the opponent at the game with a result of w 14 6?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_60 WHERE result LIKE \"%w 14–6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43725 (\n \"Draw\" real,\n \"Song\" text,\n \"Performer\" text,\n \"Points\" real,\n \"Rank\" text\n)\n\nQUESTION: Which Draw has a Performer of jenny newman, and Points smaller than 77?\nSQL QUERY:", "completion": "SELECT AVG(\"Draw\") FROM table_43725 WHERE \"Performer\" LIKE '%jenny newman%' AND \"Points\" < 77"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56560 (\n \"Year\" text,\n \"League\" text,\n \"Record\" text,\n \"Reg. Season\" text,\n \"Playoffs\" text\n)\n\nQUESTION: What is the regular season info that had a record of 20-10?\nSQL QUERY:", "completion": "SELECT \"Reg. Season\" FROM table_56560 WHERE \"Record\" LIKE '%20-10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n diameter__km_ INTEGER,\n latitude VARCHAR\n)\n\nQUESTION: COunt the sum of Diameter (km) which has a Latitude of 62.7n?\nSQL QUERY:", "completion": "SELECT SUM(diameter__km_) FROM table_name_25 WHERE latitude LIKE \"%62.7n%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n height_m___ft VARCHAR,\n street_address VARCHAR\n)\n\nQUESTION: What is the height m/ft where 207 w. hastings st. is the address?\nSQL QUERY:", "completion": "SELECT height_m___ft FROM table_name_64 WHERE lower(street_address) LIKE '%207 w. hastings st.%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5724 (\n \"Year\" real,\n \"Class\" text,\n \"Team\" text,\n \"Machine\" text,\n \"Points\" real,\n \"Wins\" real\n)\n\nQUESTION: What were the least Wins in 1988?\nSQL QUERY:", "completion": "SELECT MIN(\"Wins\") FROM table_5724 WHERE \"Year\" = 1988"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n race_name VARCHAR,\n winning_driver VARCHAR,\n circuit VARCHAR\n)\n\nQUESTION: What is the name of race that has a winning driver of Stirling moss and a Circuit of oulton park?\nSQL QUERY:", "completion": "SELECT race_name FROM table_name_23 WHERE winning_driver LIKE \"%stirling moss%\" AND circuit LIKE \"%oulton park%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n opponent VARCHAR,\n time VARCHAR\n)\n\nQUESTION: Who was the opponent with the time 3:59?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_52 WHERE time LIKE \"%3:59%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11959669_3 (\n high_assists VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who had the highest assists on November 4\nSQL QUERY:", "completion": "SELECT high_assists FROM table_11959669_3 WHERE date LIKE '%november 4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n time_retired VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: what is the time/retired when the grid is 9?\nSQL QUERY:", "completion": "SELECT time_retired FROM table_name_77 WHERE grid LIKE '%9%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21258_1 (\n crude_death_rate VARCHAR,\n deaths VARCHAR\n)\n\nQUESTION: Among deaths 106 000 how many is crude rate.\nSQL QUERY:", "completion": "SELECT crude_death_rate FROM table_21258_1 WHERE deaths LIKE \"%106 000%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6660 (\n \"Tournament\" text,\n \"2008\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text,\n \"2012\" text\n)\n\nQUESTION: Name the 2012 for 2009 of a and 2010 of a and 2011 of a\nSQL QUERY:", "completion": "SELECT \"2012\" FROM table_6660 WHERE \"2009\" LIKE '%a%' AND \"2010\" LIKE '%a%' AND \"2011\" LIKE '%a%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n location VARCHAR,\n stadium VARCHAR\n)\n\nQUESTION: Where is the Stadium of Gortakeegan located?\nSQL QUERY:", "completion": "SELECT location FROM table_name_91 WHERE stadium LIKE \"%gortakeegan%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668378_18 (\n party VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What party represents the district with john g. jackson?\nSQL QUERY:", "completion": "SELECT party FROM table_2668378_18 WHERE incumbent LIKE \"%john g. jackson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9922 (\n \"Date\" text,\n \"Favorable\" real,\n \"No Opinion\" real,\n \"Unfavorable\" real,\n \"Net Favorable\" text\n)\n\nQUESTION: What is the average no opinion score during 1954 November that is more favorable than 35?\nSQL QUERY:", "completion": "SELECT AVG(\"No Opinion\") FROM table_9922 WHERE \"Date\" LIKE '%1954 november%' AND \"Favorable\" > 35"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n score VARCHAR,\n high_assists VARCHAR\n)\n\nQUESTION: What was the score of the game when Maurice Williams (7) had the high assists?\nSQL QUERY:", "completion": "SELECT score FROM table_name_8 WHERE high_assists LIKE '%maurice williams (7)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22297140_3 (\n team VARCHAR,\n replaced_by VARCHAR\n)\n\nQUESTION: Which team had a manager replaced by Ebrahim Talebi?\nSQL QUERY:", "completion": "SELECT team FROM table_22297140_3 WHERE replaced_by LIKE \"%ebrahim talebi%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the opponent for 10-04-2007\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_46 WHERE date LIKE \"%10-04-2007%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n away_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What was the away team that played at Corio Oval?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_9 WHERE venue LIKE \"%corio oval%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18847736_2 (\n date VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the date when the opponent is the New England Patriots?\nSQL QUERY:", "completion": "SELECT date FROM table_18847736_2 WHERE opponent LIKE \"%new england patriots%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12576536_1 (\n year INTEGER,\n population__woocoo_ VARCHAR\n)\n\nQUESTION: Name the most year when population of woocoo is 2700\nSQL QUERY:", "completion": "SELECT MAX(year) FROM table_12576536_1 WHERE population__woocoo_ LIKE '%2700%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75365 (\n \"Athlete\" text,\n \"Sport\" text,\n \"Type\" text,\n \"Olympics\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the average gold of the winter athlete with 1 bronze, less than 3 silver, and less than 4 total medals?\nSQL QUERY:", "completion": "SELECT AVG(\"Gold\") FROM table_75365 WHERE \"Bronze\" = 1 AND \"Type\" LIKE '%winter%' AND \"Silver\" < 3 AND \"Total\" < 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n laps INTEGER,\n year VARCHAR,\n co_drivers VARCHAR\n)\n\nQUESTION: What is the lowest Laps that has a Year after 2002 with Alexander Frei Bruno Besson?\nSQL QUERY:", "completion": "SELECT MIN(laps) FROM table_name_4 WHERE year > '2002' AND co_drivers LIKE '%alexander frei bruno besson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23274514_4 (\n team VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What team did the Wizards play against when their record was 2-5?\nSQL QUERY:", "completion": "SELECT team FROM table_23274514_4 WHERE record LIKE \"%2-5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9383 (\n \"Date\" text,\n \"Opponent\" text,\n \"Site\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: What is Site, when Opponent is 'All times are in eastern.'?\nSQL QUERY:", "completion": "SELECT \"Site\" FROM table_9383 WHERE \"Opponent\" LIKE '%all times are in eastern.%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27578 (\n \"Player\" text,\n \"Games Played\" real,\n \"Rebounds\" real,\n \"Assists\" real,\n \"Steals\" real,\n \"Blocks\" real,\n \"Points\" real\n)\n\nQUESTION: How many values for points have Sophia Witherspoon as the player?\nSQL QUERY:", "completion": "SELECT COUNT(\"Points\") FROM table_27578 WHERE \"Player\" LIKE '%sophia witherspoon%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Player (\n pName VARCHAR,\n yCard VARCHAR,\n HS VARCHAR\n)\n\nQUESTION: Find the name of players whose card is yes in the descending order of training hours.\nSQL QUERY:", "completion": "SELECT pName FROM Player WHERE yCard LIKE '%yes%' ORDER BY HS DESC"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_69 (\n viewers__in_millions_ VARCHAR,\n season VARCHAR\n)\n\nQUESTION: How many people watched season 1?\nSQL QUERY:", "completion": "SELECT viewers__in_millions_ FROM table_name_69 WHERE season LIKE \"%1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_262560_2 (\n type VARCHAR,\n nickname VARCHAR\n)\n\nQUESTION: What type of school has the nickname the Oilers?\nSQL QUERY:", "completion": "SELECT type FROM table_262560_2 WHERE nickname LIKE \"%oilers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64391 (\n \"Position\" real,\n \"Name\" text,\n \"Played\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Points\" real\n)\n\nQUESTION: What is the sum of matches played for teams with more than 10 losses and under 5 points?\nSQL QUERY:", "completion": "SELECT SUM(\"Played\") FROM table_64391 WHERE \"Lost\" > 10 AND \"Points\" < 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22713796_14 (\n stage VARCHAR,\n mountains_classification VARCHAR\n)\n\nQUESTION: Name the total number of stage for lloyd mondory\nSQL QUERY:", "completion": "SELECT COUNT(stage) FROM table_22713796_14 WHERE mountains_classification LIKE \"%lloyd mondory%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37949 (\n \"Tournament\" text,\n \"1998\" text,\n \"1999\" text,\n \"2000\" text,\n \"2001\" text,\n \"2002\" text,\n \"2003\" text,\n \"2004\" text,\n \"2005\" text,\n \"2006\" text,\n \"2007\" text,\n \"2008\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text\n)\n\nQUESTION: Which 2008 had a 1998 and 2006 that were a when 2009 was sf?\nSQL QUERY:", "completion": "SELECT \"2008\" FROM table_37949 WHERE \"1998\" LIKE '%a%' AND \"2009\" LIKE '%sf%' AND \"2006\" LIKE '%a%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n opponent VARCHAR,\n record VARCHAR\n)\n\nQUESTION: Who is the opponent the Seattle Seahawks played when their record was 1-3?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_57 WHERE record LIKE \"%1-3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_858 (\n id number,\n \"date\" text,\n \"time\" text,\n \"opponent#\" text,\n \"rank#\" text,\n \"site\" text,\n \"tv\" text,\n \"result\" text,\n \"attendance\" number\n)\n\nQUESTION: what was the total attendance at the august 30 game against alabama ?\nSQL QUERY:", "completion": "SELECT \"attendance\" FROM table_204_858 WHERE \"date\" LIKE '%august 30%' AND \"opponent#\" LIKE '%alabama%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74453 (\n \"Tournament\" text,\n \"Player\" text,\n \"Nationality\" text,\n \"Team\" text,\n \"Games played\" real,\n \"Goals conceded\" real,\n \"Coefficient\" text\n)\n\nQUESTION: Which team was in the 2012 clausura tournament?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_74453 WHERE \"Tournament\" LIKE '%2012 clausura%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n total INTEGER,\n gold VARCHAR,\n nation VARCHAR\n)\n\nQUESTION: Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia?\nSQL QUERY:", "completion": "SELECT MAX(total) FROM table_name_29 WHERE gold LIKE '%1%' AND nation LIKE '%czechoslovakia%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n team__number1 VARCHAR\n)\n\nQUESTION: What was the 2nd leg score for Chemie Halle?\nSQL QUERY:", "completion": "SELECT 2 AS nd_leg FROM table_name_73 WHERE team__number1 LIKE \"%chemie halle%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n english_name VARCHAR,\n abbr VARCHAR\n)\n\nQUESTION: What is the English word that is abbreviated . .?\nSQL QUERY:", "completion": "SELECT english_name FROM table_name_23 WHERE abbr LIKE \"%พ.ย.%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n tournament VARCHAR\n)\n\nQUESTION: What is the 2013 of the grand slam tournaments?\nSQL QUERY:", "completion": "SELECT 2013 FROM table_name_71 WHERE tournament LIKE \"%grand slam tournaments%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n wins VARCHAR,\n club VARCHAR,\n draws VARCHAR\n)\n\nQUESTION: How many wins did Cobden have when draws were more than 0?\nSQL QUERY:", "completion": "SELECT COUNT(wins) FROM table_name_90 WHERE club LIKE \"%cobden%\" AND draws > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n discipline VARCHAR,\n session VARCHAR\n)\n\nQUESTION: What type of motorsport has a session of pre-race test?\nSQL QUERY:", "completion": "SELECT discipline FROM table_name_93 WHERE session LIKE \"%pre-race test%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n attendance VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: On what day was the attendance that had a Tie value of 40?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_84 WHERE tie_no LIKE \"%40%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21625 (\n \"Series #\" real,\n \"Season #\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text\n)\n\nQUESTION: What season episode is directed by Skipp Sudduth?\nSQL QUERY:", "completion": "SELECT \"Season #\" FROM table_21625 WHERE \"Directed by\" LIKE '%skipp sudduth%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51531 (\n \"Feb 2010\" text,\n \"Mar 2010\" text,\n \"May 2010\" real,\n \"Jun 2010\" real,\n \"Jul 2010\" real,\n \"Aug 2010\" real,\n \"Sep 2010\" real,\n \"Oct 2010\" real,\n \"Nov 2010\" real,\n \"Dec 2010\" real,\n \"Jan 2011\" real,\n \"Feb 2011\" real,\n \"Mar 2011\" real,\n \"Apr 2011\" real,\n \"May 2011\" real,\n \"Jun 2011\" real,\n \"Jul 2011\" real,\n \"Aug 2011\" real,\n \"Sep 2011\" real,\n \"Oct 2011\" real,\n \"Nov 2011\" real,\n \"Dec 2011\" real,\n \"Jan 2012\" real,\n \"Feb 2012\" real,\n \"Mar 2012\" real,\n \"Apr 2012\" real,\n \"May 2012\" real,\n \"Jun 2012\" real,\n \"Jul 2012\" real,\n \"Aug 2012\" real,\n \"Sep 2012\" real,\n \"Oct 2012\" real,\n \"Nov 2012\" real,\n \"Dec 2012\" real,\n \"Jan 2013\" real,\n \"Feb 2013\" real,\n \"Mar 2013\" real,\n \"Apr 2013\" real,\n \"May 2013\" real,\n \"Jun 2013\" real,\n \"Jul 2013\" real,\n \"Aug 2013\" real,\n \"Sep 2013\" real,\n \"Oct 2013\" real\n)\n\nQUESTION: What is the total number with Nov 2012 with a Jun 2013 larger than 542, and a Aug 2011 more than 935?\nSQL QUERY:", "completion": "SELECT COUNT(\"Nov 2012\") FROM table_51531 WHERE \"Jun 2013\" > 542 AND \"Aug 2011\" > 935"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39440 (\n \"School Name\" text,\n \"City\" text,\n \"Students\" real,\n \"FTE Teachers\" real,\n \"Pupil/Teacher Ratio\" real\n)\n\nQUESTION: What is the average number of students for schools with a pupil to teacher ratio of 25.1?\nSQL QUERY:", "completion": "SELECT AVG(\"Students\") FROM table_39440 WHERE \"Pupil/Teacher Ratio\" LIKE '%25.1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30120566_1 (\n barony VARCHAR,\n townland VARCHAR\n)\n\nQUESTION: What barony is Ballycunningham in?\nSQL QUERY:", "completion": "SELECT barony FROM table_30120566_1 WHERE townland LIKE \"%ballycunningham%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38576 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: Which Opponent has a Score of 3 6, 5 7?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_38576 WHERE \"Score\" LIKE '%3–6, 5–7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26309085_1 (\n surface VARCHAR,\n partner VARCHAR\n)\n\nQUESTION: What was the surface when he played with John Alexander?\nSQL QUERY:", "completion": "SELECT surface FROM table_26309085_1 WHERE partner LIKE '%john alexander%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48411 (\n \"Name\" text,\n \"Gain\" real,\n \"Loss\" real,\n \"Long\" real,\n \"Avg/g\" real\n)\n\nQUESTION: Can you tell me the sum of Loss that has the Gain of 2646?\nSQL QUERY:", "completion": "SELECT SUM(\"Loss\") FROM table_48411 WHERE \"Gain\" = 2646"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33516 (\n \"Date\" text,\n \"Result\" text,\n \"Score\" text,\n \"Stadium\" text,\n \"City\" text,\n \"Crowd\" real\n)\n\nQUESTION: In what city is the Don Valley Stadium located?\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_33516 WHERE \"Stadium\" LIKE '%don valley stadium%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n year_s__won VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What year did Tom Watson win?\nSQL QUERY:", "completion": "SELECT year_s__won FROM table_name_78 WHERE player LIKE \"%tom watson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n country VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is Country, when Player is 'Billy Maxwell'?\nSQL QUERY:", "completion": "SELECT country FROM table_name_77 WHERE player LIKE \"%billy maxwell%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n date VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: WHEN has a Opponent of miami dolphins?\nSQL QUERY:", "completion": "SELECT date FROM table_name_94 WHERE opponent LIKE \"%miami dolphins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31939 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: Who is the opponent for week 10?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_31939 WHERE \"Week\" = 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36332 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" text\n)\n\nQUESTION: Which driver had an accident and laps smaller than 53?\nSQL QUERY:", "completion": "SELECT \"Driver\" FROM table_36332 WHERE \"Laps\" < 53 AND \"Time/Retired\" LIKE '%accident%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64368 (\n \"Rank\" real,\n \"Athletes\" text,\n \"Country\" text,\n \"Time\" text,\n \"Notes\" text\n)\n\nQUESTION: What is the notes entry for the row with a Time of 1:42.309?\nSQL QUERY:", "completion": "SELECT \"Notes\" FROM table_64368 WHERE \"Time\" LIKE '%1:42.309%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16527640_3 (\n location VARCHAR,\n vfl_games VARCHAR\n)\n\nQUESTION: What location had a VFL Game number of 9?\nSQL QUERY:", "completion": "SELECT location FROM table_16527640_3 WHERE vfl_games LIKE '%9%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53053 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Decision\" text,\n \"Attendance\" real,\n \"Series\" text\n)\n\nQUESTION: What was the series score on april 17 with minnesota at home?\nSQL QUERY:", "completion": "SELECT \"Series\" FROM table_53053 WHERE \"Home\" LIKE '%minnesota%' AND \"Date\" LIKE '%april 17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n year_born VARCHAR,\n position VARCHAR,\n current_club VARCHAR\n)\n\nQUESTION: What year was the Guard who currently plays for the Memphis Grizzlies born?\nSQL QUERY:", "completion": "SELECT year_born FROM table_name_25 WHERE position LIKE \"%guard%\" AND current_club LIKE \"%memphis grizzlies%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27734577_13 (\n team VARCHAR,\n high_assists VARCHAR\n)\n\nQUESTION: What team was the opponent when josh smith (8) had the high assists?\nSQL QUERY:", "completion": "SELECT team FROM table_27734577_13 WHERE high_assists LIKE \"%josh smith (8)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE artwork (\n Name VARCHAR\n)\n\nQUESTION: List the name of artworks in ascending alphabetical order.\nSQL QUERY:", "completion": "SELECT Name FROM artwork ORDER BY Name"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5758 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What Week had an Attendance smaller than 22,333?\nSQL QUERY:", "completion": "SELECT COUNT(\"Week\") FROM table_5758 WHERE \"Attendance\" < 22333"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36624 (\n \"Fraction\" text,\n \"Ellipsis\" text,\n \"Vinculum\" text,\n \"Dots\" text,\n \"Parentheses\" text\n)\n\nQUESTION: What is the value for parentheses with a dots value of 0.\\dot{6}?\nSQL QUERY:", "completion": "SELECT \"Parentheses\" FROM table_36624 WHERE \"Dots\" LIKE '%0.\\dot{6}%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16922657_2 (\n Ends INTEGER,\n country VARCHAR,\n Norway VARCHAR\n)\n\nQUESTION: What is Norway's least ends lost?\nSQL QUERY:", "completion": "SELECT MIN(Ends) AS lost FROM table_16922657_2 WHERE country LIKE '%norway%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n laps VARCHAR,\n time_retired VARCHAR\n)\n\nQUESTION: How many laps associated with a Time/Retired of + 1:25.475?\nSQL QUERY:", "completion": "SELECT COUNT(laps) FROM table_name_62 WHERE time_retired LIKE '%+ 1:25.475%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n result VARCHAR,\n time VARCHAR\n)\n\nQUESTION: What was the final score for the game played at 7:00 pm?\nSQL QUERY:", "completion": "SELECT result FROM table_name_16 WHERE time LIKE \"%7:00 pm%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n frequency VARCHAR,\n call_sign VARCHAR\n)\n\nQUESTION: What is the frequency of KFNW?\nSQL QUERY:", "completion": "SELECT frequency FROM table_name_36 WHERE call_sign LIKE \"%kfnw%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51543 (\n \"Year\" real,\n \"Tournament\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Event\" text\n)\n\nQUESTION: When was the first year he placed 2nd in Izmir, Turkey?\nSQL QUERY:", "completion": "SELECT MIN(\"Year\") FROM table_51543 WHERE \"Result\" LIKE '%2nd%' AND \"Venue\" LIKE '%izmir, turkey%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38830 (\n \"States\" text,\n \"Fall 05\" real,\n \"Fall 06\" real,\n \"Fall 07\" real,\n \"Fall 08\" real,\n \"Fall 09\" real\n)\n\nQUESTION: What is the mean Fall 09 number where fall 05 is less than 3?\nSQL QUERY:", "completion": "SELECT AVG(\"Fall 09\") FROM table_38830 WHERE \"Fall 05\" < 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n player VARCHAR,\n original_team VARCHAR\n)\n\nQUESTION: What player originally played for the Los Angeles Kings?\nSQL QUERY:", "completion": "SELECT player FROM table_name_26 WHERE original_team LIKE \"%los angeles kings%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_59800 (\n \"Season\" text,\n \"League\" text,\n \"Teams\" text,\n \"Home\" text,\n \"Away\" text\n)\n\nQUESTION: What team has a home of 2-3?\nSQL QUERY:", "completion": "SELECT \"Teams\" FROM table_59800 WHERE \"Home\" LIKE '%2-3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n year INTEGER,\n score_qualifying VARCHAR,\n rank_final VARCHAR,\n apparatus VARCHAR\n)\n\nQUESTION: Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275?\nSQL QUERY:", "completion": "SELECT AVG(year) FROM table_name_8 WHERE rank_final < '2' AND apparatus LIKE '%team%' AND score_qualifying < '248.275'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9494 (\n \"Pick #\" real,\n \"CFL Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What college did Keith Shologan play for?\nSQL QUERY:", "completion": "SELECT \"College\" FROM table_9494 WHERE \"Player\" LIKE '%keith shologan%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23014476_1 (\n county VARCHAR,\n others__percentage VARCHAR\n)\n\nQUESTION: Name the couty for others% 5.8\nSQL QUERY:", "completion": "SELECT county FROM table_23014476_1 WHERE others__percentage LIKE \"%5.8%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13689 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: What is the date when the result was l 37-3?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_13689 WHERE \"Result\" LIKE '%l 37-3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n team_2 VARCHAR,\n team_1 VARCHAR\n)\n\nQUESTION: What is the Team 2 with a Team 1 that is milli piyango sk?\nSQL QUERY:", "completion": "SELECT team_2 FROM table_name_34 WHERE team_1 LIKE \"%milli piyango sk%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30011_2 (\n equivalent VARCHAR,\n example VARCHAR\n)\n\nQUESTION: What is every equivalent for the example of asy28?\nSQL QUERY:", "completion": "SELECT equivalent FROM table_30011_2 WHERE example LIKE \"%asy28%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23248420_1 (\n county VARCHAR,\n population VARCHAR\n)\n\nQUESTION: When 31901 is the population what is the county?\nSQL QUERY:", "completion": "SELECT county FROM table_23248420_1 WHERE population LIKE '%31901%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n date VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: On what date was the venue VFL Park?\nSQL QUERY:", "completion": "SELECT date FROM table_name_50 WHERE venue LIKE \"%vfl park%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n developer VARCHAR,\n platform VARCHAR\n)\n\nQUESTION: Which developer has xbox 360 as the platform?\nSQL QUERY:", "completion": "SELECT developer FROM table_name_59 WHERE platform LIKE \"%xbox 360%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n nba_draft VARCHAR,\n school VARCHAR\n)\n\nQUESTION: What was the NBA draft status for Northeast High School?\nSQL QUERY:", "completion": "SELECT nba_draft FROM table_name_7 WHERE school LIKE \"%northeast high school%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22993636_2 (\n home_record VARCHAR,\n percentage VARCHAR\n)\n\nQUESTION: What's the home record of the team with percentage of .168?\nSQL QUERY:", "completion": "SELECT home_record FROM table_22993636_2 WHERE percentage LIKE \"%.168%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73148 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location\" text,\n \"Record\" text\n)\n\nQUESTION: Name the opponent for june 12\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_73148 WHERE \"Date\" LIKE '%june 12%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n name_and_flag VARCHAR,\n water_area__km_2__ VARCHAR\n)\n\nQUESTION: Which province and flag has a water area (km 2) of 0?\nSQL QUERY:", "completion": "SELECT name_and_flag FROM table_name_40 WHERE water_area__km_2__ LIKE '%0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2562572_33 (\n type VARCHAR,\n cyrillic_name_other_names VARCHAR\n)\n\nQUESTION: What type of settlement is (hungarian: orom)?\nSQL QUERY:", "completion": "SELECT type FROM table_2562572_33 WHERE cyrillic_name_other_names LIKE '%ором (hungarian: orom)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n viewers__m_ VARCHAR,\n share VARCHAR\n)\n\nQUESTION: What is the average rating of viewers 18 to 49 where the total viewer count is 3.93 million and share less than 4?\nSQL QUERY:", "completion": "SELECT AVG(CAST('18' AS INTEGER)) AS _49 FROM table_name_96 WHERE viewers__m_ LIKE '%3.93%' AND CAST(share AS INTEGER) < 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66645 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was the score for the game with a tie no of 1?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_66645 WHERE \"Tie no\" LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n college VARCHAR,\n round__number VARCHAR\n)\n\nQUESTION: What is the College with a Round # that is 290?\nSQL QUERY:", "completion": "SELECT college FROM table_name_20 WHERE round__number LIKE '%290%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n Id VARCHAR\n)\n\nQUESTION: What is the 2004 when 2013 is 3rd?\nSQL QUERY:", "completion": "SELECT 2004 FROM table_name_17 WHERE 2013 LIKE \"%3rd%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1886270_1 (\n cr_no INTEGER\n)\n\nQUESTION: What is the highest cr number?\nSQL QUERY:", "completion": "SELECT MAX(cr_no) FROM table_1886270_1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n score VARCHAR,\n place VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What was sweden's score in T9 place?\nSQL QUERY:", "completion": "SELECT score FROM table_name_27 WHERE place LIKE \"%t9%\" AND country LIKE \"%sweden%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n gold INTEGER,\n nation VARCHAR\n)\n\nQUESTION: How many gold medals did Denmark win?\nSQL QUERY:", "completion": "SELECT MIN(gold) FROM table_name_65 WHERE nation LIKE \"%denmark%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_4 (\n id number,\n \"date\" text,\n \"race\" text,\n \"competition\" text,\n \"rider\" text,\n \"country\" text,\n \"location\" text\n)\n\nQUESTION: how many wins did tom boonen made ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_204_4 WHERE \"rider\" LIKE '%tom boonen%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15353123_1 (\n pick__number VARCHAR,\n player VARCHAR\n)\n\nQUESTION: How many players named Dean Kirkland were picked\nSQL QUERY:", "completion": "SELECT COUNT(pick__number) FROM table_15353123_1 WHERE player LIKE \"%dean kirkland%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n venue VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Where was the game held where Hawthorn was the away team?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_46 WHERE away_team LIKE \"%hawthorn%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12162 (\n \"Rank\" real,\n \"Result\" real,\n \"Athlete\" text,\n \"Date\" text,\n \"Location\" text\n)\n\nQUESTION: What is the smallest Result with a Location of birmingham, and Rank larger than 5?\nSQL QUERY:", "completion": "SELECT MIN(\"Result\") FROM table_12162 WHERE \"Location\" LIKE '%birmingham%' AND \"Rank\" > 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57759 (\n \"Tournament\" text,\n \"2006\" text,\n \"2007\" text,\n \"2008\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text,\n \"2012\" text\n)\n\nQUESTION: What is the 2006 value of the 2009 A value, 2011 A value, and A as the 2007 value?\nSQL QUERY:", "completion": "SELECT \"2006\" FROM table_57759 WHERE \"2009\" LIKE '%a%' AND \"2011\" LIKE '%a%' AND \"2007\" LIKE '%a%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14520977_1 (\n week VARCHAR,\n location VARCHAR\n)\n\nQUESTION: Name the week for kingdome\nSQL QUERY:", "completion": "SELECT week FROM table_14520977_1 WHERE location LIKE '%kingdome%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49448 (\n \"Round\" real,\n \"Pick\" real,\n \"Player\" text,\n \"Nationality\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: What is the total pick with Bill Duffy?\nSQL QUERY:", "completion": "SELECT SUM(\"Pick\") FROM table_49448 WHERE \"Player\" LIKE '%bill duffy%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63008 (\n \"Rank\" real,\n \"Heat\" real,\n \"Athlete\" text,\n \"Country\" text,\n \"Time\" real\n)\n\nQUESTION: What is the average time in a rank of 61?\nSQL QUERY:", "completion": "SELECT AVG(\"Time\") FROM table_63008 WHERE \"Rank\" = 61"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1929755_1 (\n top_5 VARCHAR,\n avg_start VARCHAR\n)\n\nQUESTION: HOw many top 5 starts did the team with an average start of 17.7 have?\nSQL QUERY:", "completion": "SELECT COUNT(top_5) FROM table_1929755_1 WHERE avg_start LIKE \"%17.7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67047 (\n \"Ship\" text,\n \"Pennant number\" text,\n \"Laid down\" text,\n \"Launched\" text,\n \"Commissioned\" text\n)\n\nQUESTION: What launch has a Ship of fearless?\nSQL QUERY:", "completion": "SELECT \"Launched\" FROM table_67047 WHERE \"Ship\" LIKE '%fearless%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n competition VARCHAR,\n result VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which competition did he win on August 15, 2012?\nSQL QUERY:", "completion": "SELECT competition FROM table_name_54 WHERE result LIKE \"%win%\" AND date LIKE \"%august 15, 2012%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n points INTEGER,\n year VARCHAR\n)\n\nQUESTION: What was the highest number of points in 1966?\nSQL QUERY:", "completion": "SELECT MAX(points) FROM table_name_99 WHERE year LIKE '%1966%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n date VARCHAR,\n time VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What was date when the time was 2:26 and the location was Riverfront Stadium?\nSQL QUERY:", "completion": "SELECT date FROM table_name_62 WHERE time LIKE \"%2:26%\" AND location LIKE \"%riverfront stadium%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71563 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text\n)\n\nQUESTION: What is the record for the game with a score of 7 5?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_71563 WHERE \"Score\" LIKE '%7–5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28880 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" text,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: Who was the incumbent when the candidate was william drayton (j)?\nSQL QUERY:", "completion": "SELECT \"Incumbent\" FROM table_28880 WHERE \"Candidates\" LIKE '%william drayton (j)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n date VARCHAR,\n catalog VARCHAR\n)\n\nQUESTION: What date has 0-6700-30838-2-9 for a catalog?\nSQL QUERY:", "completion": "SELECT date FROM table_name_88 WHERE catalog LIKE \"%0-6700-30838-2-9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n year VARCHAR,\n finish_position VARCHAR\n)\n\nQUESTION: What year has 59th as a finish position?\nSQL QUERY:", "completion": "SELECT year FROM table_name_58 WHERE finish_position LIKE \"%59th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n acquired INTEGER,\n design VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the average year for Wallenstein with 1a1 design?\nSQL QUERY:", "completion": "SELECT AVG(acquired) FROM table_name_49 WHERE design LIKE \"%1a1%\" AND name LIKE \"%wallenstein%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28498999_6 (\n reset_points INTEGER,\n player VARCHAR\n)\n\nQUESTION: what is the most number where the person is luke donald\nSQL QUERY:", "completion": "SELECT MAX(reset_points) FROM table_28498999_6 WHERE player LIKE \"%luke donald%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE perpetrator (\n Date VARCHAR,\n Killed VARCHAR\n)\n\nQUESTION: List the date of perpetrators in descending order of the number of people killed.\nSQL QUERY:", "completion": "SELECT Date FROM perpetrator ORDER BY Killed DESC"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n athlete VARCHAR,\n country VARCHAR\n)\n\nQUESTION: Who was the athlete from Lithuania?\nSQL QUERY:", "completion": "SELECT athlete FROM table_name_87 WHERE country LIKE \"%lithuania%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n years VARCHAR,\n playoffs VARCHAR\n)\n\nQUESTION: what is the years when playoffs is 115?\nSQL QUERY:", "completion": "SELECT years FROM table_name_51 WHERE playoffs LIKE '%115%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n monounsaturated_fat VARCHAR,\n saturated_fat VARCHAR\n)\n\nQUESTION: What is the monounsaturated fat with 15g of saturated fat?\nSQL QUERY:", "completion": "SELECT monounsaturated_fat FROM table_name_22 WHERE saturated_fat LIKE \"%15g%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n year INTEGER,\n gold VARCHAR,\n bronze VARCHAR\n)\n\nQUESTION: What was the first year that South Korea won gold and Malaysia won bronze?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_name_74 WHERE gold LIKE \"%south korea%\" AND bronze LIKE \"%malaysia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50511 (\n \"Rider\" text,\n \"Manufacturer\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER?\nSQL QUERY:", "completion": "SELECT MAX(\"Grid\") FROM table_50511 WHERE \"Time/Retired\" LIKE '%accident%' AND \"Manufacturer\" LIKE '%honda%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6804 (\n \"Round\" text,\n \"Year\" real,\n \"Team\" text,\n \"Opponent\" text,\n \"Goals\" real,\n \"Behinds\" real\n)\n\nQUESTION: What is the goals for Round 15?\nSQL QUERY:", "completion": "SELECT \"Goals\" FROM table_6804 WHERE \"Round\" LIKE '%round 15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68682 (\n \"Title\" text,\n \"Year\" text,\n \"Developer\" text,\n \"Publisher\" text,\n \"Platform\" text\n)\n\nQUESTION: Which title was developed by Battlecry Studios?\nSQL QUERY:", "completion": "SELECT \"Title\" FROM table_68682 WHERE \"Developer\" LIKE '%battlecry studios%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44140 (\n \"Season\" real,\n \"Wins\" real,\n \"Poles\" real,\n \"Podiums\" real,\n \"Position\" text\n)\n\nQUESTION: What is the sum of Poles, when Season is greater than 2004, and when Podiums is less than 1?\nSQL QUERY:", "completion": "SELECT SUM(\"Poles\") FROM table_44140 WHERE \"Season\" < 2004 AND \"Podiums\" < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n Assistant VARCHAR,\n principal__2013_2014_ VARCHAR\n)\n\nQUESTION: Who were the assistant and main principals of Kat Hughes?\nSQL QUERY:", "completion": "SELECT Assistant AS principal__2013_2014_ FROM table_name_97 WHERE principal__2013_2014_ LIKE \"%kat hughes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n home_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Who is the home team at brunswick street oval?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_17 WHERE venue LIKE '%brunswick street oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What team was the home team when Tottenham Hotspur is the away team?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_86 WHERE away_team LIKE \"%tottenham hotspur%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1404414_2 (\n code VARCHAR,\n area__km_2__ VARCHAR\n)\n\nQUESTION: How many counties have an area of 1,205.4 km2?\nSQL QUERY:", "completion": "SELECT COUNT(code) FROM table_1404414_2 WHERE area__km_2__ LIKE \"%1,205.4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27755603_7 (\n high_assists VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Who had the most assists agains New Orleans?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_27755603_7 WHERE team LIKE \"%new orleans%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63699 (\n \"Draw\" real,\n \"Language\" text,\n \"Artist\" text,\n \"Song\" text,\n \"English translation\" text,\n \"Place\" real,\n \"Points\" real\n)\n\nQUESTION: What is the highest draw number when 23 points are scored?\nSQL QUERY:", "completion": "SELECT MAX(\"Draw\") FROM table_63699 WHERE \"Points\" LIKE '%23%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26842217_18 (\n time VARCHAR,\n visiting_team VARCHAR\n)\n\nQUESTION: Name the number of time for uab\nSQL QUERY:", "completion": "SELECT COUNT(time) FROM table_26842217_18 WHERE visiting_team LIKE \"%uab%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79719 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What's the total number of bronze medals for Sweden (SWE) having less than 1 gold and silver?\nSQL QUERY:", "completion": "SELECT COUNT(\"Bronze\") FROM table_79719 WHERE \"Gold\" < 1 AND \"Nation\" LIKE '%sweden (swe)%' AND \"Silver\" < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23248869_10 (\n record VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What is every record for the team Boston?\nSQL QUERY:", "completion": "SELECT record FROM table_23248869_10 WHERE team LIKE \"%boston%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n date_of_birth VARCHAR,\n bowling_style VARCHAR\n)\n\nQUESTION: When is the birth date of player with right arm fast style?\nSQL QUERY:", "completion": "SELECT date_of_birth FROM table_name_74 WHERE bowling_style LIKE \"%right arm fast%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72055 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal?\nSQL QUERY:", "completion": "SELECT MIN(\"Total\") FROM table_72055 WHERE \"Gold\" = 0 AND \"Bronze\" > 2 AND \"Silver\" > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n week INTEGER,\n date VARCHAR\n)\n\nQUESTION: What is the Week number on September 6, 1946?\nSQL QUERY:", "completion": "SELECT SUM(week) FROM table_name_48 WHERE date LIKE \"%september 6, 1946%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6480 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: Which record has a date of January 29?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_6480 WHERE \"Date\" LIKE '%january 29%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45069 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: what is the date when the away team is crystal palace?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_45069 WHERE \"Away team\" LIKE '%crystal palace%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1745843_6 (\n class VARCHAR,\n part_3 VARCHAR\n)\n\nQUESTION: How many different classes of verbs are there whose part 3 is lucon?\nSQL QUERY:", "completion": "SELECT COUNT(class) FROM table_1745843_6 WHERE part_3 LIKE \"%lucon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n entrant VARCHAR,\n engine VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: What is the Entrant with a Engine of talbot l6, and Eug ne Chaboud was the driver?\nSQL QUERY:", "completion": "SELECT entrant FROM table_name_80 WHERE engine LIKE \"%talbot l6%\" AND driver LIKE \"%eugène chaboud%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73138 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4%\nSQL QUERY:", "completion": "SELECT \"Party\" FROM table_73138 WHERE \"Candidates\" LIKE '%yvette clarke (d) 90.6% hugh carr (r) 9.4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19508635_1 (\n result VARCHAR,\n original_artist VARCHAR\n)\n\nQUESTION: Name the result for dolly parton\nSQL QUERY:", "completion": "SELECT result FROM table_19508635_1 WHERE original_artist LIKE \"%dolly parton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n country VARCHAR,\n to_par VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which country has a to par less than 19 and a score of 75-79-77-73=304?\nSQL QUERY:", "completion": "SELECT country FROM table_name_92 WHERE to_par < '19' AND score = '304'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n head_linesman VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who is the head linesman of the game on 1 February 2009?\nSQL QUERY:", "completion": "SELECT head_linesman FROM table_name_46 WHERE date LIKE \"%1 february 2009%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17369 (\n \"Year\" real,\n \"Division\" text,\n \"League\" text,\n \"Reg. Season\" text,\n \"Playoffs\" text,\n \"Open Cup\" text\n)\n\nQUESTION: How many teams placed 4th in the regular season?\nSQL QUERY:", "completion": "SELECT COUNT(\"Division\") FROM table_17369 WHERE \"Reg. Season\" LIKE '%4th%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32719 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score\" text\n)\n\nQUESTION: What was the score of the game played on a clay surface on June 6, 2005?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_32719 WHERE \"Surface\" LIKE '%clay%' AND \"Date\" LIKE '%june 6, 2005%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25820584_7 (\n player VARCHAR,\n year_s_ VARCHAR\n)\n\nQUESTION: What player(s) appeared in 1969?\nSQL QUERY:", "completion": "SELECT player FROM table_25820584_7 WHERE year_s_ LIKE \"%1969%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n venue VARCHAR,\n opposing_team VARCHAR,\n status VARCHAR,\n against VARCHAR\n)\n\nQUESTION: What venue was the tour match against eastern province played at with more than 0 against?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_31 WHERE status LIKE \"%tour match%\" AND against > 0 AND opposing_team LIKE \"%eastern province%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n opponent VARCHAR,\n time VARCHAR\n)\n\nQUESTION: Who was the opponent when the fight had a time of 0:10?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_97 WHERE time LIKE \"%0:10%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n county VARCHAR,\n cerclis_id VARCHAR\n)\n\nQUESTION: What county has a CERCLIS ID of scd037405362?\nSQL QUERY:", "completion": "SELECT county FROM table_name_64 WHERE cerclis_id LIKE \"%scd037405362%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n score VARCHAR,\n country VARCHAR\n)\n\nQUESTION: Name the score for fiji\nSQL QUERY:", "completion": "SELECT score FROM table_name_99 WHERE country LIKE \"%fiji%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n season VARCHAR,\n rating VARCHAR\n)\n\nQUESTION: Which season was one of the players rated +98?\nSQL QUERY:", "completion": "SELECT season FROM table_name_6 WHERE rating LIKE '%+98%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65290 (\n \"Lok Sabha\" text,\n \"Duration\" text,\n \"Name of M.P.\" text,\n \"Party Affiliation\" text,\n \"Election Year\" real\n)\n\nQUESTION: What is the duration when Lok Sabha shows fifth?\nSQL QUERY:", "completion": "SELECT \"Duration\" FROM table_65290 WHERE \"Lok Sabha\" LIKE '%fifth%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10701133_1 (\n title VARCHAR,\n original_air_date VARCHAR\n)\n\nQUESTION: What is the title when original air date is may15,2008?\nSQL QUERY:", "completion": "SELECT title FROM table_10701133_1 WHERE original_air_date LIKE \"%may15,2008%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_103 (\n id number,\n \"medal\" text,\n \"name\" text,\n \"sport\" text,\n \"event\" text\n)\n\nQUESTION: what was the number of silver metals given for weightlifting ?\nSQL QUERY:", "completion": "SELECT COUNT(\"medal\") FROM table_204_103 WHERE \"sport\" LIKE '%weightlifting%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n points_against VARCHAR\n)\n\nQUESTION: Which Points against has a Lost of lost?\nSQL QUERY:", "completion": "SELECT points_against FROM table_name_97 WHERE \"lost\" LIKE '%lost%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7402 (\n \"Model number\" text,\n \"Frequency\" text,\n \"L2 cache\" text,\n \"Multi 1\" text,\n \"Voltage\" text,\n \"Socket\" text,\n \"Release date\" text,\n \"Order part number\" text\n)\n\nQUESTION: WHat kind of L2 cache has a Model number of turion x2 ultra zm-85?\nSQL QUERY:", "completion": "SELECT \"L2 cache\" FROM table_7402 WHERE \"Model number\" LIKE '%turion x2 ultra zm-85%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73169 (\n \"Season\" real,\n \"Class\" text,\n \"Team\" text,\n \"Motorcycle\" text,\n \"Type\" text,\n \"Races\" real,\n \"Wins\" real,\n \"Podiums\" real,\n \"Poles\" real,\n \"Fastest Laps\" real,\n \"Pts\" real,\n \"Position\" text\n)\n\nQUESTION: What's the number of poles in the season where the team had a Kalex motorcycle?\nSQL QUERY:", "completion": "SELECT \"Poles\" FROM table_73169 WHERE \"Motorcycle\" LIKE '%kalex%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2442 (\n \"Position\" real,\n \"Driver\" text,\n \"Points\" real,\n \"Winnings\" text,\n \"Series\" text\n)\n\nQUESTION: How much did Dale Jarrett win?\nSQL QUERY:", "completion": "SELECT \"Winnings\" FROM table_2442 WHERE \"Driver\" LIKE '%dale jarrett%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13282157_1 (\n country VARCHAR,\n player VARCHAR\n)\n\nQUESTION: what is the country where the player is phil mickelson?\nSQL QUERY:", "completion": "SELECT country FROM table_13282157_1 WHERE player LIKE \"%phil mickelson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n points VARCHAR,\n year INTEGER\n)\n\nQUESTION: Name the points for year more than 1987\nSQL QUERY:", "completion": "SELECT points FROM table_name_56 WHERE year > 1987"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27988540_1 (\n title VARCHAR,\n no_in_series VARCHAR\n)\n\nQUESTION: What is the title of episode 155 in the series?\nSQL QUERY:", "completion": "SELECT title FROM table_27988540_1 WHERE no_in_series LIKE '%155%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5667 (\n \"Draw\" real,\n \"Artist\" text,\n \"Song\" text,\n \"Jury\" real,\n \"Televoting\" real,\n \"Points\" real,\n \"Place\" real\n)\n\nQUESTION: Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had what sum of points?\nSQL QUERY:", "completion": "SELECT SUM(\"Points\") FROM table_5667 WHERE \"Jury\" > 6 AND \"Artist\" LIKE '%zhenya rasskazova%' AND \"Draw\" > 9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n away_team VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: What is the away team at the game with a Tie no of 2?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_18 WHERE tie_no LIKE \"%2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55955 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: Where Date is september 13, 1998 what is result?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_55955 WHERE \"Date\" LIKE '%september 13, 1998%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53430 (\n \"Name\" text,\n \"League\" real,\n \"FA Cup\" real,\n \"League Cup\" real,\n \"Total\" real\n)\n\nQUESTION: What is the lowest number of goals scored in regular league games by Ehiogu where he scored 0 goals in the FA Cup and at least 1 goal in the League Cup?\nSQL QUERY:", "completion": "SELECT MIN(\"League\") FROM table_53430 WHERE \"FA Cup\" = 0 AND \"Total\" = 1 AND \"Name\" LIKE '%ehiogu%' AND \"League Cup\" > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33529 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Which Away team had a score of 18.8 (116)?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_33529 WHERE \"Away team score\" LIKE '%18.8 (116)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71087 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text,\n \"Stadium\" text\n)\n\nQUESTION: What was the loss of the game when the record was 3 2?\nSQL QUERY:", "completion": "SELECT \"Loss\" FROM table_71087 WHERE \"Record\" LIKE '%3–2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n year VARCHAR,\n region VARCHAR\n)\n\nQUESTION: What year did Japan form a label?\nSQL QUERY:", "completion": "SELECT year FROM table_name_79 WHERE region LIKE \"%japan%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n score VARCHAR,\n series VARCHAR\n)\n\nQUESTION: Which Score has a Series of flyers lead 3 2?\nSQL QUERY:", "completion": "SELECT score FROM table_name_17 WHERE series LIKE \"%flyers lead 3–2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n since VARCHAR,\n transfer_fee VARCHAR\n)\n\nQUESTION: What is Since, when Transfer Fee is ' 12m'?\nSQL QUERY:", "completion": "SELECT since FROM table_name_48 WHERE transfer_fee LIKE '%£ 12m%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63150 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Score\" text,\n \"Record\" text\n)\n\nQUESTION: What is the Result of the game on November 24, 1946?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_63150 WHERE \"Date\" LIKE '%november 24, 1946%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23207 (\n \"Further Cities\" text,\n \"County, Oblast or State\" text,\n \"Country\" text,\n \"Distance\" text,\n \"Direction\" text\n)\n\nQUESTION: Name the further cities for slovakia and west direction\nSQL QUERY:", "completion": "SELECT \"Further Cities\" FROM table_23207 WHERE \"Country\" LIKE '%slovakia%' AND \"Direction\" LIKE '%west%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17859 (\n \"Club\" text,\n \"Played\" text,\n \"Won\" text,\n \"Drawn\" text,\n \"Lost\" text,\n \"Points for\" text,\n \"Points against\" text,\n \"Tries for\" text,\n \"Tries against\" text,\n \"Try bonus\" text,\n \"Losing bonus\" text,\n \"Points\" text\n)\n\nQUESTION: How many clubs have tries for count of 50?\nSQL QUERY:", "completion": "SELECT COUNT(\"Played\") FROM table_17859 WHERE \"Tries for\" LIKE '%50%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: Which Away team score has a Home team of melbourne?\nSQL QUERY:", "completion": "SELECT away_team AS score FROM table_name_17 WHERE home_team LIKE \"%melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19772 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Record\" text,\n \"Game Site\" text,\n \"Attendance\" real\n)\n\nQUESTION: how many result with date being october 25, 1964\nSQL QUERY:", "completion": "SELECT COUNT(\"Result\") FROM table_19772 WHERE \"Date\" LIKE '%october 25, 1964%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64102 (\n \"Rank\" real,\n \"Artist\" text,\n \"Album\" text,\n \"Peak position\" real,\n \"Sales\" real,\n \"Certification\" text\n)\n\nQUESTION: What artist had a peak position under 2, and more than 200,000 in sales?\nSQL QUERY:", "completion": "SELECT \"Artist\" FROM table_64102 WHERE \"Peak position\" < 2 AND \"Sales\" > 200000"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_302 (\n id number,\n \"rank\" number,\n \"nation\" text,\n \"gold\" number,\n \"silver\" number,\n \"bronze\" number,\n \"total\" number\n)\n\nQUESTION: how many total medals were there all together ?\nSQL QUERY:", "completion": "SELECT SUM(\"total\") FROM table_204_302"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47538 (\n \"Rider\" text,\n \"Bike\" text,\n \"Laps\" real,\n \"Time\" text,\n \"Grid\" real\n)\n\nQUESTION: What is the total time that it took for the driver to finish 14 laps?\nSQL QUERY:", "completion": "SELECT \"Time\" FROM table_47538 WHERE \"Laps\" = 14"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n date VARCHAR,\n game INTEGER\n)\n\nQUESTION: What date was there a game larger than 17?\nSQL QUERY:", "completion": "SELECT date FROM table_name_20 WHERE game > 17"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE member (\n Membership_card VARCHAR\n)\n\nQUESTION: Which membership card has more than 5 members?\nSQL QUERY:", "completion": "SELECT Membership_card FROM member GROUP BY Membership_card HAVING COUNT(*) > 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n week_5_sept_28 VARCHAR,\n week_10_nov_2 VARCHAR\n)\n\nQUESTION: What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)?\nSQL QUERY:", "completion": "SELECT week_5_sept_28 FROM table_name_81 WHERE week_10_nov_2 LIKE \"%maryland (6-2)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n nationality VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is Michael Del Zotto's nationality?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_54 WHERE player LIKE \"%michael del zotto%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n location VARCHAR,\n runner_s__up VARCHAR\n)\n\nQUESTION: Where is runner-up Betsy Rawls from?\nSQL QUERY:", "completion": "SELECT location FROM table_name_76 WHERE runner_s__up LIKE \"%betsy rawls%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_382 (\n id number,\n \"date\" text,\n \"opponent\" text,\n \"site\" text,\n \"result\" text\n)\n\nQUESTION: what are the total number of games played in october ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_203_382 WHERE \"date\" LIKE '%10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77905 (\n \"Res.\" text,\n \"Record\" text,\n \"Opponent\" text,\n \"Method\" text,\n \"Round\" real,\n \"Time\" text,\n \"Location\" text\n)\n\nQUESTION: What is the highest number of rounds for a 3:16 fight?\nSQL QUERY:", "completion": "SELECT MAX(\"Round\") FROM table_77905 WHERE \"Time\" LIKE '%3:16%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26139405_1 (\n writer VARCHAR,\n episode__number VARCHAR\n)\n\nQUESTION: Who wrote episode 26 in the series?\nSQL QUERY:", "completion": "SELECT writer FROM table_26139405_1 WHERE episode__number LIKE '%26%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20190834_1 (\n enrollment INTEGER,\n team_name VARCHAR\n)\n\nQUESTION: What is the maximum enrollment of the Sooners?\nSQL QUERY:", "completion": "SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name LIKE \"%sooners%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n home_ground VARCHAR,\n nickname VARCHAR\n)\n\nQUESTION: What's the home ground of the Lions?\nSQL QUERY:", "completion": "SELECT home_ground FROM table_name_15 WHERE nickname LIKE \"%lions%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n losses INTEGER,\n goals_against INTEGER\n)\n\nQUESTION: for a Goals Against greater than 42 what is the number of losses?\nSQL QUERY:", "completion": "SELECT AVG(losses) FROM table_name_9 WHERE goals_against > 42"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n country VARCHAR,\n date VARCHAR,\n sign VARCHAR\n)\n\nQUESTION: Name the country for the 9th and sign of g e\nSQL QUERY:", "completion": "SELECT country FROM table_name_51 WHERE date LIKE \"%9th%\" AND sign LIKE \"%g e%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n episode VARCHAR,\n run_time VARCHAR\n)\n\nQUESTION: What episode has a run time of 25:12?\nSQL QUERY:", "completion": "SELECT episode FROM table_name_51 WHERE run_time LIKE \"%25:12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n score VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: For the game against the Washington Bullets, what was the final score?\nSQL QUERY:", "completion": "SELECT score FROM table_name_97 WHERE opponent LIKE \"%washington bullets%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n match INTEGER,\n opponent_team VARCHAR,\n home_away VARCHAR\n)\n\nQUESTION: What was the highest match when the away opponent was Dalian Shide Siwu?\nSQL QUERY:", "completion": "SELECT MAX(match) FROM table_name_53 WHERE opponent_team LIKE \"%dalian shide siwu%\" AND home_away LIKE \"%away%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55802 (\n \"Year\" real,\n \"Record\" text,\n \"Finish\" text,\n \"Manager\" text,\n \"Playoffs\" text\n)\n\nQUESTION: Tell me the average year with a record of 33-33\nSQL QUERY:", "completion": "SELECT AVG(\"Year\") FROM table_55802 WHERE \"Record\" LIKE '%33-33%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n round INTEGER,\n pick__number VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which is the lowest round to have a pick of 12 and position of linebacker?\nSQL QUERY:", "completion": "SELECT MIN(round) FROM table_name_86 WHERE pick__number = '12' AND position LIKE '%linebacker%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n date VARCHAR,\n loss VARCHAR\n)\n\nQUESTION: When did tav rez lose?\nSQL QUERY:", "completion": "SELECT date FROM table_name_64 WHERE loss LIKE \"%tavárez%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668243_22 (\n party VARCHAR,\n result VARCHAR,\n district VARCHAR\n)\n\nQUESTION: What 'party' was re-elected in district South Carolina 7?\nSQL QUERY:", "completion": "SELECT party FROM table_2668243_22 WHERE result LIKE \"%re-elected%\" AND district LIKE \"%south carolina 7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n status VARCHAR,\n against VARCHAR,\n opposing_teams VARCHAR\n)\n\nQUESTION: What's the status for an against below 22 with an opposing team of Australia?\nSQL QUERY:", "completion": "SELECT status FROM table_name_86 WHERE CAST(against AS INTEGER) < 22 AND opposing_teams LIKE '%australia%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n first_elected INTEGER,\n party VARCHAR,\n district VARCHAR\n)\n\nQUESTION: In what year was the republican incumbent from Kentucky 2 district first elected?\nSQL QUERY:", "completion": "SELECT SUM(first_elected) FROM table_name_37 WHERE party LIKE \"%republican%\" AND district LIKE \"%kentucky 2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30797 (\n \"Player\" text,\n \"Matches\" real,\n \"Overs\" text,\n \"Wickets\" real,\n \"Average\" text,\n \"Economy\" text,\n \"BBI\" text,\n \"4wi\" real\n)\n\nQUESTION: Who is the player when the economy is 6.14?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_30797 WHERE \"Economy\" LIKE '%6.14%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24074130_5 (\n surface VARCHAR,\n against VARCHAR\n)\n\nQUESTION: What is every surface against Sweden?\nSQL QUERY:", "completion": "SELECT surface FROM table_24074130_5 WHERE against LIKE '%sweden%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17282875_3 (\n team__number1 VARCHAR\n)\n\nQUESTION: When they played San Lorenzo, what was the score of the second leg?\nSQL QUERY:", "completion": "SELECT 2 AS nd_leg FROM table_17282875_3 WHERE team__number1 LIKE \"%san lorenzo%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63408 (\n \"Year\" text,\n \"Matches\" real,\n \"Tries\" real,\n \"Goals\" real,\n \"Points\" real\n)\n\nQUESTION: What are the highest points with 2012 as the year?\nSQL QUERY:", "completion": "SELECT MAX(\"Points\") FROM table_63408 WHERE \"Year\" LIKE '%2012%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21676617_1 (\n year VARCHAR,\n odds_of_winner VARCHAR\n)\n\nQUESTION: When were the odds of winner 16.66?\nSQL QUERY:", "completion": "SELECT year FROM table_21676617_1 WHERE odds_of_winner LIKE \"%16.66%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1139835_9 (\n runner_up VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Who are all the runner ups when the score is 9.12 (66) 5.6 (36)?\nSQL QUERY:", "completion": "SELECT runner_up FROM table_1139835_9 WHERE score LIKE \"%9.12 (66) – 5.6 (36)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24361 (\n \"Type of Record\" text,\n \"Attendance\" real,\n \"Date/Year\" text,\n \"Stadium\" text,\n \"Result/Games\" text\n)\n\nQUESTION: What record was set when the result/game was equal to 9 games (28,595 avg.)\nSQL QUERY:", "completion": "SELECT \"Type of Record\" FROM table_24361 WHERE \"Result/Games\" LIKE '%9 games (28,595 avg.)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n played INTEGER,\n position INTEGER\n)\n\nQUESTION: what is the lowest played when the position is more than 9?\nSQL QUERY:", "completion": "SELECT MIN(played) FROM table_name_76 WHERE position > 9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_132 (\n \"id\" int,\n \"loss_of_consciousness\" bool,\n \"deep_venous_thrombosis\" bool,\n \"unstable_angina\" bool,\n \"thromboembolic_vascular_disease\" bool,\n \"head_injury\" bool,\n \"stroke\" bool,\n \"cerebrovascular_disease\" bool,\n \"mental_retardation\" bool,\n \"psychiatric_disease\" bool,\n \"modified_hachinski_ischemia_scale\" int,\n \"systemic_illness\" bool,\n \"mental_illness\" bool,\n \"hydrocephalus\" bool,\n \"mri\" bool,\n \"psychotic_disorder\" bool,\n \"pulmonary_embolus\" bool,\n \"arrythmias\" bool,\n \"lacunar_infarcts\" bool,\n \"bipolar_disorder\" bool,\n \"cva\" bool,\n \"cardiac_disease\" bool,\n \"brain_damage\" bool,\n \"neurological_disease\" bool,\n \"seizure_disorder\" bool,\n \"vascular_dementia\" bool,\n \"organ_failure\" bool,\n \"parkinson_disease\" bool,\n \"lewy_body_disease\" bool,\n \"hypertension\" bool,\n \"NOUSE\" float\n)\n\nQUESTION: significant systemic illness ( including uncontrolled hypertension ) or organ failure.\nSQL QUERY:", "completion": "SELECT * FROM table_train_132 WHERE systemic_illness = 1 OR hypertension = 1 OR organ_failure = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n region VARCHAR,\n date VARCHAR\n)\n\nQUESTION: From which region is the album with release date of 19 June 2007?\nSQL QUERY:", "completion": "SELECT region FROM table_name_7 WHERE date LIKE \"%19 june 2007%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n package_option VARCHAR,\n television_service VARCHAR\n)\n\nQUESTION: What package/option has sky arte hd as the television service?\nSQL QUERY:", "completion": "SELECT package_option FROM table_name_51 WHERE television_service LIKE \"%sky arte hd%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22496374_1 (\n height VARCHAR,\n high_school VARCHAR\n)\n\nQUESTION: How many height entries are there for players from bayside high school?\nSQL QUERY:", "completion": "SELECT COUNT(height) FROM table_22496374_1 WHERE high_school LIKE \"%bayside%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n base_fares VARCHAR,\n fare_categories VARCHAR\n)\n\nQUESTION: What is the Base Fare in the senior/disabled category?\nSQL QUERY:", "completion": "SELECT base_fares FROM table_name_18 WHERE fare_categories LIKE \"%senior/disabled%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_693 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Status\" text,\n \"Opponent\" text\n)\n\nQUESTION: what's the first elected with opponent being ralph regula (r) 75.0% j. michael finn (d) 25.0%\nSQL QUERY:", "completion": "SELECT \"First elected\" FROM table_693 WHERE \"Opponent\" LIKE '%ralph regula (r) 75.0% j. michael finn (d) 25.0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n order_year VARCHAR,\n model VARCHAR,\n builder VARCHAR,\n length__ft_ VARCHAR\n)\n\nQUESTION: What is the order year of obi builder and 05.505 model that is 30 feet long?\nSQL QUERY:", "completion": "SELECT order_year FROM table_name_89 WHERE builder LIKE \"%obi%\" AND length__ft_ = \"30\" AND model LIKE \"%05.505%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77489 (\n \"Institution\" text,\n \"Location\" text,\n \"Founded\" real,\n \"Affiliation\" text,\n \"Enrollment\" real,\n \"Nickname\" text\n)\n\nQUESTION: What is Southern Illinois University Edwardsville's affiliation?\nSQL QUERY:", "completion": "SELECT \"Affiliation\" FROM table_77489 WHERE \"Institution\" LIKE '%southern illinois university edwardsville%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35510 (\n \"Dish\" text,\n \"Callsign\" text,\n \"Network\" text,\n \"Resolution\" text,\n \"City of License\" text,\n \"Official Website\" text\n)\n\nQUESTION: In which city is the network latv licensed?\nSQL QUERY:", "completion": "SELECT \"City of License\" FROM table_35510 WHERE \"Network\" LIKE '%latv%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19864214_3 (\n wins INTEGER,\n seasons VARCHAR\n)\n\nQUESTION: stae the least number of wins in 1986\nSQL QUERY:", "completion": "SELECT MIN(wins) FROM table_19864214_3 WHERE seasons LIKE \"%1986%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51089 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What is Away Team, when Home Team is 'Sheffield Wednesday'?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_51089 WHERE \"Home team\" LIKE '%sheffield wednesday%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n tie_no VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: When the Altrincham was the home team what was the tie no?\nSQL QUERY:", "completion": "SELECT tie_no FROM table_name_52 WHERE home_team LIKE \"%altrincham%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n years_exp VARCHAR,\n height VARCHAR\n)\n\nQUESTION: What is Years Exp, when Height is '7-2'?\nSQL QUERY:", "completion": "SELECT years_exp FROM table_name_94 WHERE height LIKE \"%7-2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n jockey VARCHAR,\n horse VARCHAR\n)\n\nQUESTION: What is Jockey, when Horse is 'Eight Belles'?\nSQL QUERY:", "completion": "SELECT jockey FROM table_name_74 WHERE horse LIKE \"%eight belles%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26362472_1 (\n left_office VARCHAR,\n province VARCHAR\n)\n\nQUESTION: What are the dates of leaving office for politician from the province of Seville?\nSQL QUERY:", "completion": "SELECT left_office FROM table_26362472_1 WHERE province LIKE \"%seville%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27294107_11 (\n round_of_32 VARCHAR,\n round_of_16 VARCHAR\n)\n\nQUESTION: What is the round of 32 if the round of 16 is drenovak ( srb ) w 20 11?\nSQL QUERY:", "completion": "SELECT round_of_32 FROM table_27294107_11 WHERE round_of_16 LIKE \"%drenovak ( srb ) w 20–11%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n venue VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: Where does St Kilda play?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_48 WHERE home_team LIKE \"%st kilda%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24039597_26 (\n innings VARCHAR,\n caught VARCHAR\n)\n\nQUESTION: What was the innings when caught was 20?\nSQL QUERY:", "completion": "SELECT innings FROM table_24039597_26 WHERE CAST(caught AS INTEGER) = 20"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n white VARCHAR,\n amerindian VARCHAR\n)\n\nQUESTION: WHich Category in White has a Amerindian of 4,87%?\nSQL QUERY:", "completion": "SELECT white FROM table_name_96 WHERE amerindian LIKE \"%4,87%%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10054296_1 (\n member VARCHAR,\n classification VARCHAR\n)\n\nQUESTION: What are the members listed with the sorority classification\nSQL QUERY:", "completion": "SELECT member FROM table_10054296_1 WHERE classification LIKE \"%sorority%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n tie_no VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: WHAT'S THE TIE NUMBER WITH AN AWAY TEAM OF WREXHAM?\nSQL QUERY:", "completion": "SELECT tie_no FROM table_name_52 WHERE away_team LIKE \"%wrexham%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41035 (\n \"Year\" real,\n \"Song\" text,\n \"Canada Singles\" text,\n \"US Hot 100\" text,\n \"US A.C.\" text\n)\n\nQUESTION: What is the US A.C. in 1974?\nSQL QUERY:", "completion": "SELECT \"US A.C.\" FROM table_41035 WHERE \"Year\" = 1974"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68924 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" real\n)\n\nQUESTION: What are the average points after 1992?\nSQL QUERY:", "completion": "SELECT AVG(\"Points\") FROM table_68924 WHERE \"Year\" > 1992"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n rank INTEGER,\n total INTEGER\n)\n\nQUESTION: What is the rank for the total less than 1?\nSQL QUERY:", "completion": "SELECT AVG(rank) FROM table_name_34 WHERE total < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_461 (\n \"Season\" real,\n \"Mens singles\" text,\n \"Womens singles\" text,\n \"Mens doubles\" text,\n \"Womens doubles\" text,\n \"Mixed doubles\" text\n)\n\nQUESTION: How many titles did Trupti Murgunde claim?\nSQL QUERY:", "completion": "SELECT \"Womens doubles\" FROM table_461 WHERE \"Womens singles\" LIKE '%trupti murgunde%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n home VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What is the Home team when the Attendance was 1920?\nSQL QUERY:", "completion": "SELECT home FROM table_name_20 WHERE attendance = '1920'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n method VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: The match that was held at Club Med Sandpiper has what method?\nSQL QUERY:", "completion": "SELECT method FROM table_name_54 WHERE venue LIKE \"%club med sandpiper%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n main_colour_s_ VARCHAR,\n main_sponsor_s_ VARCHAR\n)\n\nQUESTION: What is the main color(s) for marlboro?\nSQL QUERY:", "completion": "SELECT main_colour_s_ FROM table_name_36 WHERE main_sponsor_s_ LIKE '%marlboro%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75233 (\n \"Season\" text,\n \"Oberliga Bayern\" text,\n \"Oberliga Hessen\" text,\n \"Oberliga Baden-W\\u00fcrttemberg\" text,\n \"Oberliga S\\u00fcdwest\" text\n)\n\nQUESTION: which Oberliga Baden-W rttemberg has a Season of 1991-92?\nSQL QUERY:", "completion": "SELECT \"Oberliga Baden-W\\u00fcrttemberg\" FROM table_75233 WHERE \"Season\" LIKE '%1991-92%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25553 (\n \"Date\" text,\n \"Location\" text,\n \"Opponent\" text,\n \"Sooners Points\" real,\n \"Opp. Points\" real,\n \"Record\" text\n)\n\nQUESTION: How many points did the opponents score on the game where Sooners' record was 16-5?\nSQL QUERY:", "completion": "SELECT MAX(\"Opp. Points\") FROM table_25553 WHERE \"Record\" LIKE '%16-5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n date VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: What date had the home team as brentford?\nSQL QUERY:", "completion": "SELECT date FROM table_name_30 WHERE home_team LIKE \"%brentford%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15187735_13 (\n segment_c VARCHAR,\n segment_a VARCHAR\n)\n\nQUESTION: Name the total number of segment c for pressure cookers\nSQL QUERY:", "completion": "SELECT COUNT(segment_c) FROM table_15187735_13 WHERE segment_a LIKE \"%pressure cookers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_655 (\n id number,\n \"year\" number,\n \"winner\" text,\n \"album\" text,\n \"other finalists\" text\n)\n\nQUESTION: what was the earliest winner ?\nSQL QUERY:", "completion": "SELECT \"winner\" FROM table_204_655 ORDER BY \"year\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28793672_1 (\n audition_city VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Where is the audition city when the venue is upi convention center?\nSQL QUERY:", "completion": "SELECT audition_city FROM table_28793672_1 WHERE venue LIKE '%upi convention center%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62757 (\n \"Team\" text,\n \"Country\" text,\n \"Home\" text,\n \"Skip\" text,\n \"Third\" text,\n \"Second\" text,\n \"Lead\" text\n)\n\nQUESTION: Who is the lead for the team from Saskatoon, Saskatchewan?\nSQL QUERY:", "completion": "SELECT \"Lead\" FROM table_62757 WHERE \"Home\" LIKE '%saskatoon, saskatchewan%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58264 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: Which Time/Retired has a Grid of 2?\nSQL QUERY:", "completion": "SELECT \"Time/Retired\" FROM table_58264 WHERE \"Grid\" = 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n year VARCHAR,\n percentage VARCHAR\n)\n\nQUESTION: Name the year with percentage of 9.66%\nSQL QUERY:", "completion": "SELECT year FROM table_name_55 WHERE percentage LIKE \"%9.66%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41426 (\n \"Tournament\" text,\n \"2003\" text,\n \"2004\" text,\n \"2012\" text,\n \"2013\" text\n)\n\nQUESTION: What is the results from 2003 that has a 2012 result of 1r and a 2004 result of 2r and from the Australian Open?\nSQL QUERY:", "completion": "SELECT \"2003\" FROM table_41426 WHERE \"2012\" LIKE '%1r%' AND \"2004\" LIKE '%2r%' AND \"Tournament\" LIKE '%australian open%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_160510_1 (\n modern_equivalent VARCHAR,\n former_kingdom VARCHAR,\n hanja VARCHAR\n)\n\nQUESTION: What is the modern equivalent of the former kingdom 'silla' with the hanja ?\nSQL QUERY:", "completion": "SELECT COUNT(modern_equivalent) FROM table_160510_1 WHERE former_kingdom LIKE \"%silla%\" AND hanja LIKE \"%尙州%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n frequency VARCHAR,\n facility_id VARCHAR\n)\n\nQUESTION: Which Frequency has a Facility ID of 13598?\nSQL QUERY:", "completion": "SELECT frequency FROM table_name_33 WHERE facility_id LIKE '%13598%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n played INTEGER,\n goals_for VARCHAR,\n wins VARCHAR\n)\n\nQUESTION: What is the lowest played number when goals for is 47, and wins is smaller than 14?\nSQL QUERY:", "completion": "SELECT MIN(played) FROM table_name_48 WHERE goals_for LIKE '%47%' AND wins < '14'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n date VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What date was the record 20 16?\nSQL QUERY:", "completion": "SELECT date FROM table_name_38 WHERE record LIKE \"%20–16%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n elimination VARCHAR,\n wrestler VARCHAR\n)\n\nQUESTION: What's Jorge Santana's elimination?\nSQL QUERY:", "completion": "SELECT elimination FROM table_name_71 WHERE wrestler LIKE \"%jorge santana%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15040 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" real\n)\n\nQUESTION: What was the latest year that a Bardahl entrant had a Kurtis Kraft 500c chassis with no more than 0 points?\nSQL QUERY:", "completion": "SELECT MAX(\"Year\") FROM table_15040 WHERE \"Chassis\" LIKE '%kurtis kraft 500c%' AND \"Entrant\" LIKE '%bardahl%' AND \"Points\" < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12720275_1 (\n rank__csa_ VARCHAR,\n percent_change__1990_2000_ VARCHAR\n)\n\nQUESTION: What is the rank (csa) for the percentage change (1990-2000) was a034 +8.71%?\nSQL QUERY:", "completion": "SELECT rank__csa_ FROM table_12720275_1 WHERE percent_change__1990_2000_ LIKE '%a034 +8.71%%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18340 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: who are the candidates where the district is florida 8?\nSQL QUERY:", "completion": "SELECT \"Candidates\" FROM table_18340 WHERE \"District\" LIKE '%florida 8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15353123_1 (\n college VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which college did Dean Kirkland go to\nSQL QUERY:", "completion": "SELECT college FROM table_15353123_1 WHERE player LIKE \"%dean kirkland%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20938922_2 (\n touchdowns VARCHAR,\n yards VARCHAR\n)\n\nQUESTION: The player who had 145 yards had how many touchdowns?\nSQL QUERY:", "completion": "SELECT COUNT(touchdowns) FROM table_20938922_2 WHERE yards LIKE '%145%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18720 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: What was the result when incumbent John R. Tyson was elected?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_18720 WHERE \"Incumbent\" LIKE '%john r. tyson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n mission VARCHAR,\n location VARCHAR\n)\n\nQUESTION: what is the mission when the location is rome?\nSQL QUERY:", "completion": "SELECT mission FROM table_name_13 WHERE location LIKE \"%rome%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25563779_4 (\n season VARCHAR,\n national_trophy_rookie VARCHAR\n)\n\nQUESTION: If the national trophy/rookie is Simone Iaquinta, what is the season total number?\nSQL QUERY:", "completion": "SELECT COUNT(season) FROM table_25563779_4 WHERE national_trophy_rookie LIKE \"%simone iaquinta%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14345690_5 (\n famous_for VARCHAR,\n finished VARCHAR\n)\n\nQUESTION: What is the famous for where the finished is 5th?\nSQL QUERY:", "completion": "SELECT famous_for FROM table_14345690_5 WHERE finished LIKE \"%5th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4312 (\n \"Portfolio\" text,\n \"Minister\" text,\n \"Took office\" text,\n \"Left office\" text,\n \"Party\" text\n)\n\nQUESTION: Tell me the portfolio of minister of carlo giovanardi\nSQL QUERY:", "completion": "SELECT \"Portfolio\" FROM table_4312 WHERE \"Minister\" LIKE '%carlo giovanardi%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n category VARCHAR,\n title VARCHAR,\n result VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint?\nSQL QUERY:", "completion": "SELECT category FROM table_name_64 WHERE result LIKE \"%nominated%\" AND year LIKE \"%2006%\" AND title LIKE \"%pierrepoint%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n play VARCHAR,\n company VARCHAR\n)\n\nQUESTION: Which play was done by the Radu Stanca National Theatre company?\nSQL QUERY:", "completion": "SELECT play FROM table_name_47 WHERE company LIKE \"%radu stanca national theatre%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n nationality VARCHAR,\n ranking VARCHAR\n)\n\nQUESTION: What is the Nationality that shows 4 as the ranking?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_57 WHERE ranking LIKE '%4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44794 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: What day did they play in week 6?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_44794 WHERE \"Week\" = 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n label VARCHAR,\n format VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which label had a CD format and a date of June 25, 2002?\nSQL QUERY:", "completion": "SELECT label FROM table_name_38 WHERE format LIKE \"%cd%\" AND date LIKE \"%june 25, 2002%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33383 (\n \"Name\" text,\n \"Pos.\" text,\n \"Height\" text,\n \"Weight\" text,\n \"2012 club\" text\n)\n\nQUESTION: What is the Weight for the Name Billy Miller Category:Articles with hcards?\nSQL QUERY:", "completion": "SELECT \"Weight\" FROM table_33383 WHERE \"Name\" LIKE '%billy miller category:articles with hcards%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41180 (\n \"Team\" text,\n \"Match\" text,\n \"Points\" text,\n \"Draw\" text,\n \"Lost\" text\n)\n\nQUESTION: What is the Draw for the team of tramwajarz d ?\nSQL QUERY:", "completion": "SELECT \"Draw\" FROM table_41180 WHERE \"Team\" LIKE '%tramwajarz łódź%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n team_2 VARCHAR\n)\n\nQUESTION: What is the 2nd leg of team 2 Far rabat?\nSQL QUERY:", "completion": "SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 LIKE \"%far rabat%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_4 (\n id number,\n \"date\" text,\n \"race\" text,\n \"competition\" text,\n \"rider\" text,\n \"country\" text,\n \"location\" text\n)\n\nQUESTION: how many times was tom boonen listed as the rider ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_204_4 WHERE \"rider\" LIKE '%tom boonen%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2818164_5 (\n title VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: What is the name of the episode with 418 as the production code?\nSQL QUERY:", "completion": "SELECT title FROM table_2818164_5 WHERE production_code LIKE '%418%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n assists INTEGER,\n pims VARCHAR,\n goals VARCHAR\n)\n\nQUESTION: What is the smallest number of assists with 70 Pims and less than 19 goals?\nSQL QUERY:", "completion": "SELECT MIN(assists) FROM table_name_71 WHERE pims LIKE '%70%' AND goals < '19'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341738_11 (\n first_elected INTEGER\n)\n\nQUESTION: What is the highest year that a candidate was first elected?\nSQL QUERY:", "completion": "SELECT MAX(first_elected) FROM table_1341738_11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n country VARCHAR,\n winter_olympics VARCHAR\n)\n\nQUESTION: With the Winter Olympics was 1960, what was the country?\nSQL QUERY:", "completion": "SELECT country FROM table_name_53 WHERE winter_olympics LIKE \"%1960%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1571238_2 (\n fourth_place VARCHAR,\n team VARCHAR\n)\n\nQUESTION: When colgate is the team how many times did they place fourth?\nSQL QUERY:", "completion": "SELECT COUNT(fourth_place) FROM table_1571238_2 WHERE team LIKE \"%colgate%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56681 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Decision\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: Which score has a Decision of johnson?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_56681 WHERE \"Decision\" LIKE '%johnson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70187 (\n \"School\" text,\n \"Team\" text,\n \"Division Record\" text,\n \"Overall Record\" text,\n \"Season Outcome\" text\n)\n\nQUESTION: What is the division record for Woodbridge?\nSQL QUERY:", "completion": "SELECT \"Division Record\" FROM table_70187 WHERE \"School\" LIKE '%woodbridge%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1606824_1 (\n area_km_2 VARCHAR,\n pop_density_people_km_2 VARCHAR\n)\n\nQUESTION: Name the number of area km 2 for population density is 87\nSQL QUERY:", "completion": "SELECT COUNT(area_km_2) FROM table_1606824_1 WHERE pop_density_people_km_2 LIKE \"%87%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65407 (\n \"Date\" text,\n \"Internet Explorer\" text,\n \"Chrome\" text,\n \"Firefox\" text,\n \"Safari\" text\n)\n\nQUESTION: What was the percentage of firefox was chrome was 23.90%\nSQL QUERY:", "completion": "SELECT \"Firefox\" FROM table_65407 WHERE \"Chrome\" LIKE '%23.90%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48623 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: What is the 2nd leg score for the match with a team 2 of Werder Bremen?\nSQL QUERY:", "completion": "SELECT \"2nd leg\" FROM table_48623 WHERE \"Team 2\" LIKE '%werder bremen%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57657 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: What is the time/retired for grid 5?\nSQL QUERY:", "completion": "SELECT \"Time/Retired\" FROM table_57657 WHERE \"Grid\" = 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n crystal_structure VARCHAR,\n no_of_cu_o_planes_in_unit_cell VARCHAR,\n t_c__k_ VARCHAR\n)\n\nQUESTION: Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?\nSQL QUERY:", "completion": "SELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell LIKE '%3%' AND t_c__k_ LIKE '%110%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n week VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the total number of weeks that the Giants played against the Dallas Cowboys?\nSQL QUERY:", "completion": "SELECT COUNT(week) FROM table_name_25 WHERE opponent LIKE \"%dallas cowboys%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n artist VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What artist was released in 2005?\nSQL QUERY:", "completion": "SELECT artist FROM table_name_71 WHERE year LIKE '%2005%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n tries INTEGER,\n played INTEGER\n)\n\nQUESTION: What is the number of tries for the player who is larger than 16?\nSQL QUERY:", "completion": "SELECT SUM(tries) FROM table_name_81 WHERE played > 16"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1214035_1 (\n open_cup VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What open cups where played in 2002\nSQL QUERY:", "completion": "SELECT open_cup FROM table_1214035_1 WHERE year LIKE '%2002%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33544 (\n \"Place\" real,\n \"Rider\" text,\n \"Country\" text,\n \"Machine\" text,\n \"Speed\" text,\n \"Time\" text,\n \"Points\" real\n)\n\nQUESTION: Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph?\nSQL QUERY:", "completion": "SELECT \"Rider\" FROM table_33544 WHERE \"Speed\" LIKE '%86.15mph%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n loss VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What was the loss of the game when the record was 27-17?\nSQL QUERY:", "completion": "SELECT loss FROM table_name_61 WHERE record LIKE \"%27-17%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20985 (\n \"Season\" real,\n \"Class\" text,\n \"Team\" text,\n \"Motorcycle\" text,\n \"Type\" text,\n \"Races\" real,\n \"Wins\" real,\n \"Podiums\" real,\n \"Poles\" real,\n \"Fastest Laps\" real,\n \"Pts\" text,\n \"Position\" text\n)\n\nQUESTION: What is the lowest number of poles?\nSQL QUERY:", "completion": "SELECT MIN(\"Poles\") FROM table_20985"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16083989_1 (\n citrate VARCHAR,\n species VARCHAR\n)\n\nQUESTION: What is the result for salmonella spp. if you use citrate?\nSQL QUERY:", "completion": "SELECT COUNT(citrate) FROM table_16083989_1 WHERE species LIKE \"%salmonella spp.%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68617 (\n \"Date\" text,\n \"Location\" text,\n \"Nature of incident\" text,\n \"Circumstances\" text,\n \"Casualties\" text\n)\n\nQUESTION: What happened on 2009-09-05?\nSQL QUERY:", "completion": "SELECT \"Circumstances\" FROM table_68617 WHERE \"Date\" LIKE '%2009-09-05%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n shape VARCHAR,\n metal VARCHAR,\n denomination VARCHAR\n)\n\nQUESTION: What shape has nickel as the metal, and one rupee as the denomination?\nSQL QUERY:", "completion": "SELECT shape FROM table_name_78 WHERE metal LIKE \"%nickel%\" AND denomination LIKE \"%one rupee%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n date VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: What date did the Geelong team play on as a home team?\nSQL QUERY:", "completion": "SELECT date FROM table_name_12 WHERE home_team LIKE \"%geelong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n chassis VARCHAR,\n year INTEGER\n)\n\nQUESTION: which chassis were in use prior to 1988?\nSQL QUERY:", "completion": "SELECT chassis FROM table_name_31 WHERE year < 1988"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n score VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What was gary player's score?\nSQL QUERY:", "completion": "SELECT score FROM table_name_25 WHERE player LIKE \"%gary player%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2241101_1 (\n year VARCHAR,\n date VARCHAR\n)\n\nQUESTION: In how many different years did the race happen on February 27?\nSQL QUERY:", "completion": "SELECT COUNT(year) FROM table_2241101_1 WHERE date LIKE '%february 27%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n developer VARCHAR,\n publisher VARCHAR\n)\n\nQUESTION: Who does Rockstar Games use as a developer?\nSQL QUERY:", "completion": "SELECT developer FROM table_name_97 WHERE publisher LIKE \"%rockstar games%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18893428_1 (\n constructor VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: Who is the constructor for the car driven by George Heath?\nSQL QUERY:", "completion": "SELECT constructor FROM table_18893428_1 WHERE driver LIKE \"%george heath%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15887683_9 (\n dar VARCHAR,\n television_service VARCHAR,\n n° VARCHAR\n)\n\nQUESTION: Name the total number of dar for disney channel and number is 613\nSQL QUERY:", "completion": "SELECT COUNT(dar) FROM table_15887683_9 WHERE television_service LIKE \"%disney channel%\" AND n° = 613"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n competition VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What competition took place on 28/04/1906?\nSQL QUERY:", "completion": "SELECT competition FROM table_name_11 WHERE date LIKE \"%28/04/1906%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11621799_1 (\n winner VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Who was the winner when the score was 281 (-6)?\nSQL QUERY:", "completion": "SELECT winner FROM table_11621799_1 WHERE score LIKE \"%281 (-6)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14618 (\n \"Tournament\" text,\n \"2006\" text,\n \"2007\" text,\n \"2008\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text,\n \"2012\" text,\n \"2013\" text\n)\n\nQUESTION: What is the value for 2011 when `a` is the value for 2009, and 4r is the value for 2013?\nSQL QUERY:", "completion": "SELECT \"2011\" FROM table_14618 WHERE \"2009\" LIKE '%a%' AND \"2013\" LIKE '%4r%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16751596_13 (\n dates_administered VARCHAR,\n poll_source VARCHAR\n)\n\nQUESTION: When the poll source is research 2000/daily kos, what is the total number of dates administered?\nSQL QUERY:", "completion": "SELECT COUNT(dates_administered) FROM table_16751596_13 WHERE poll_source LIKE \"%research 2000/daily kos%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n total_goals INTEGER,\n position VARCHAR,\n fa_cup_goals VARCHAR,\n fa_cup_apps VARCHAR\n)\n\nQUESTION: Which Total Goals have an FA Cup Goals of 0, and an FA Cup Apps of 3, and a Position of fw?\nSQL QUERY:", "completion": "SELECT AVG(total_goals) FROM table_name_92 WHERE fa_cup_goals = '0' AND fa_cup_apps LIKE '%3%' AND position LIKE '%fw%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_765 (\n id number,\n \"year\" number,\n \"location\" text,\n \"gold\" text,\n \"silver\" text,\n \"bronze\" text\n)\n\nQUESTION: what was the first year where tamarine tanasugarn won a silver medal in singles ?\nSQL QUERY:", "completion": "SELECT MIN(\"year\") FROM table_204_765 WHERE \"silver\" LIKE '%tamarine tanasugarn%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n founded INTEGER,\n nickname VARCHAR\n)\n\nQUESTION: What is the most recent year founded that has a nickname of bruins?\nSQL QUERY:", "completion": "SELECT MAX(founded) FROM table_name_7 WHERE nickname LIKE \"%bruins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668352_11 (\n first_elected VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Name the first elected for jacob markell\nSQL QUERY:", "completion": "SELECT first_elected FROM table_2668352_11 WHERE incumbent LIKE \"%jacob markell%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18424435_4 (\n no INTEGER\n)\n\nQUESTION: What is the maximum number of episodes in the series listed?\nSQL QUERY:", "completion": "SELECT MAX(no) FROM table_18424435_4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5406 (\n \"Number\" real,\n \"Name\" text,\n \"Position\" text,\n \"Date of birth\" text,\n \"Height\" text\n)\n\nQUESTION: What is Alexander Wronski's Position?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_5406 WHERE \"Name\" LIKE '%alexander wronski%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23186738_6 (\n record VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Name the record for houston\nSQL QUERY:", "completion": "SELECT record FROM table_23186738_6 WHERE team LIKE \"%houston%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49198 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location\" text,\n \"Attendance\" real,\n \"Record\" text,\n \"Points\" real\n)\n\nQUESTION: What is the record of the game with a game number greater than 36 on January 20 at scotiabank place with an attendance greater than 19,029?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_49198 WHERE \"Game\" > 36 AND \"Location\" LIKE '%scotiabank place%' AND \"Attendance\" > 19029 AND \"Date\" LIKE '%january 20%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64462 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location/Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What was the date of the game when the record was 46-31?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_64462 WHERE \"Record\" LIKE '%46-31%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19449 (\n \"Position\" text,\n \"Number\" real,\n \"Name\" text,\n \"Height\" text,\n \"Weight\" text,\n \"Class\" text,\n \"Hometown\" text,\n \"Games\\u2191\" real\n)\n\nQUESTION: What are all names for the position FS?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_19449 WHERE \"Position\" LIKE '%fs%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10321124_1 (\n salmonella VARCHAR,\n shigella VARCHAR\n)\n\nQUESTION: what's the salmonella with shigella being ipgc\nSQL QUERY:", "completion": "SELECT salmonella FROM table_10321124_1 WHERE shigella LIKE \"%ipgc%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: Who is the away side when collingwood is at home?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_34 WHERE home_team LIKE \"%collingwood%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n record VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: what game had an attendance of 21,629\nSQL QUERY:", "completion": "SELECT record FROM table_name_70 WHERE attendance LIKE \"%21,629%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13805432_2 (\n highest_position VARCHAR,\n artist VARCHAR\n)\n\nQUESTION: what's the highest position with artbeingt being frankie avalon\nSQL QUERY:", "completion": "SELECT highest_position FROM table_13805432_2 WHERE artist LIKE \"%frankie avalon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n third VARCHAR,\n nation VARCHAR\n)\n\nQUESTION: Which Third has a Nation of hungary?\nSQL QUERY:", "completion": "SELECT third FROM table_name_6 WHERE nation LIKE \"%hungary%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n player VARCHAR,\n college VARCHAR,\n pick VARCHAR,\n position VARCHAR\n)\n\nQUESTION: What is the Offensive Guard Player from Mississippi State College with a Pick number larter than 44?\nSQL QUERY:", "completion": "SELECT player FROM table_name_68 WHERE pick > 44 AND position LIKE \"%offensive guard%\" AND college LIKE \"%mississippi state%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6751 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the average number of bronze medals with 1 silver, 5 gold, and over 6 total medals?\nSQL QUERY:", "completion": "SELECT AVG(\"Bronze\") FROM table_6751 WHERE \"Silver\" = 1 AND \"Gold\" = 5 AND \"Total\" < 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4996 (\n \"Date\" text,\n \"City\" text,\n \"Opponent\" text,\n \"Results\\u00b9\" text,\n \"Type of game\" text\n)\n\nQUESTION: Which opponent had a result of 0:1?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_4996 WHERE \"Results¹\" LIKE '%0:1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n points_for VARCHAR,\n losing_bonus VARCHAR,\n club VARCHAR\n)\n\nQUESTION: Which Points for has a Losing bonus of 2, and a Club of bridgend sports rfc?\nSQL QUERY:", "completion": "SELECT points_for FROM table_name_33 WHERE losing_bonus LIKE \"%2%\" AND club LIKE \"%bridgend sports rfc%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_228439_4 (\n reason_for_change VARCHAR,\n successor VARCHAR\n)\n\nQUESTION: what was the reason Richard K. Meade ( d ) became a successor?\nSQL QUERY:", "completion": "SELECT reason_for_change FROM table_228439_4 WHERE successor LIKE \"%richard k. meade ( d )%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26677836_1 (\n nation VARCHAR,\n place VARCHAR\n)\n\nQUESTION: What is the nation when the place is 2?\nSQL QUERY:", "completion": "SELECT nation FROM table_26677836_1 WHERE CAST(place AS INTEGER) = 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1051 (\n \"Quarterback\" text,\n \"Jersey No.\" text,\n \"Games Started\" real,\n \"Wins\" real,\n \"Losses\" real,\n \"Ties\" real,\n \"Winning Pct.\" text\n)\n\nQUESTION: How many ties were there for game 36 started?\nSQL QUERY:", "completion": "SELECT COUNT(\"Ties\") FROM table_1051 WHERE \"Games Started\" = 36"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n country_of_release VARCHAR,\n year_of_release VARCHAR\n)\n\nQUESTION: Where was the title released in 1977?\nSQL QUERY:", "completion": "SELECT country_of_release FROM table_name_98 WHERE year_of_release LIKE '%1977%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54366 (\n \"Season\" text,\n \"Winner\" text,\n \"Team\" text,\n \"Position\" text,\n \"Win #\" real\n)\n\nQUESTION: How many times did jim vivona win?\nSQL QUERY:", "completion": "SELECT COUNT(\"Win #\") FROM table_54366 WHERE \"Winner\" LIKE '%jim vivona%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11044765_1 (\n league VARCHAR,\n school VARCHAR\n)\n\nQUESTION: Which leagues is the Galena school in?\nSQL QUERY:", "completion": "SELECT league FROM table_11044765_1 WHERE school LIKE \"%galena%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23248869_6 (\n high_assists VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Who did the high assists in the game against Portland?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_23248869_6 WHERE team LIKE '%portland%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56947 (\n \"Street\" text,\n \"West\" text,\n \"East\" text,\n \"# of lanes\" text,\n \"Traffic direction\" text\n)\n\nQUESTION: What is the traffic direction of 97th street?\nSQL QUERY:", "completion": "SELECT \"Traffic direction\" FROM table_56947 WHERE \"Street\" LIKE '%97th street%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n date VARCHAR,\n location VARCHAR,\n record VARCHAR\n)\n\nQUESTION: On what date did they play in Boston Garden with a record of 22-4?\nSQL QUERY:", "completion": "SELECT date FROM table_name_24 WHERE location LIKE \"%boston garden%\" AND record LIKE \"%22-4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10491 (\n \"Date\" text,\n \"Competition\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Score\" text,\n \"Goals\" text\n)\n\nQUESTION: What was the score of the match on 11/2/01?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_10491 WHERE \"Date\" LIKE '%11/2/01%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n date_s__conducted VARCHAR,\n lead VARCHAR\n)\n\nQUESTION: On what date was the lead 8.6%?\nSQL QUERY:", "completion": "SELECT date_s__conducted FROM table_name_25 WHERE lead LIKE \"%8.6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n reb_avg INTEGER,\n games VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What is the total of rebound averages with more than 98 games and a rank of 7?\nSQL QUERY:", "completion": "SELECT SUM(reb_avg) FROM table_name_16 WHERE games > '98' AND rank LIKE '%7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n distance VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What was the distance in 1997?\nSQL QUERY:", "completion": "SELECT distance FROM table_name_71 WHERE year LIKE '%1997%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23900 (\n \"Central-Southern Calabrian\" text,\n \"Phonetic Greek\" text,\n \"Italian\" text,\n \"French\" text,\n \"English\" text\n)\n\nQUESTION: What is the French translation for the English word 'orange'?\nSQL QUERY:", "completion": "SELECT \"French\" FROM table_23900 WHERE \"English\" LIKE '%orange%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14476 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" text\n)\n\nQUESTION: What engine did the mclaren mp4-20 use?\nSQL QUERY:", "completion": "SELECT \"Engine\" FROM table_14476 WHERE \"Chassis\" LIKE '%mclaren mp4-20%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57812 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score\" text\n)\n\nQUESTION: On what date was the surface clay with Cyril Saulnier as the opponent in the final?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_57812 WHERE \"Surface\" LIKE '%clay%' AND \"Opponent in the final\" LIKE '%cyril saulnier%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n whenbuilt VARCHAR,\n name VARCHAR\n)\n\nQUESTION: When was the locomotive named fighter command built?\nSQL QUERY:", "completion": "SELECT whenbuilt FROM table_name_28 WHERE name LIKE \"%fighter command%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29728787_1 (\n olivier VARCHAR,\n la_roche VARCHAR\n)\n\nQUESTION: When karl ridderbusch is the la roche who is the olivier?\nSQL QUERY:", "completion": "SELECT olivier FROM table_29728787_1 WHERE la_roche LIKE \"%karl ridderbusch%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17043 (\n \"Player\" text,\n \"Position\" text,\n \"School\" text,\n \"Hometown\" text,\n \"MLB Draft\" text\n)\n\nQUESTION: What is the hometown of Bubba Starling?\nSQL QUERY:", "completion": "SELECT \"Hometown\" FROM table_17043 WHERE \"Player\" LIKE '%bubba starling%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n winner VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which winner won by a score of 6 7(4), 7 6(3), [11 9]?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_60 WHERE score LIKE \"%6–7(4), 7–6(3), [11–9]%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50473 (\n \"Rank\" real,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the total for the team with 0 bronze and 3 silver?\nSQL QUERY:", "completion": "SELECT SUM(\"Total\") FROM table_50473 WHERE \"Bronze\" = 0 AND \"Silver\" = 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21058836_1 (\n opponents VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: Santa Clara was played how many times?\nSQL QUERY:", "completion": "SELECT opponents FROM table_21058836_1 WHERE opponent LIKE '%santa clara%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n defenses INTEGER,\n days_held VARCHAR,\n reign VARCHAR\n)\n\nQUESTION: What is the average defenses a champion with 404 days held and a reign larger than 1 has?\nSQL QUERY:", "completion": "SELECT AVG(defenses) FROM table_name_57 WHERE days_held LIKE \"%404%\" AND reign > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75374 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What is the lowest week that has an attendance greater than 23,058, with october 24, 1943 as the date?\nSQL QUERY:", "completion": "SELECT MIN(\"Week\") FROM table_75374 WHERE \"Attendance\" > 23058 AND \"Date\" LIKE '%october 24, 1943%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n result VARCHAR,\n venue VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What is the result of the game with a game number greater than 6 and an away venue?\nSQL QUERY:", "completion": "SELECT result FROM table_name_7 WHERE venue LIKE '%away%' AND game > 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n result VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What is the result week 1?\nSQL QUERY:", "completion": "SELECT result FROM table_name_2 WHERE week LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32052 (\n \"Outcome\" text,\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Partner\" text,\n \"Opponents in the final\" text,\n \"Score in the final\" text\n)\n\nQUESTION: Tell me the surface for 16 april 2007\nSQL QUERY:", "completion": "SELECT \"Surface\" FROM table_32052 WHERE \"Date\" LIKE '%16 april 2007%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8553 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: what is the date that the away team is aldershot?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_8553 WHERE \"Away team\" LIKE '%aldershot%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1389 (\n \"Frequency\" text,\n \"Station\" text,\n \"Operator\" text,\n \"Language\" text,\n \"Genre\" text,\n \"Coverage Area\" text\n)\n\nQUESTION: Who operates the xfm station?\nSQL QUERY:", "completion": "SELECT \"Operator\" FROM table_1389 WHERE \"Station\" LIKE '%xfm%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40768 (\n \"Club\" text,\n \"Wins\" real,\n \"Losses\" real,\n \"Points For\" real,\n \"Points Against\" real,\n \"Percentage\" real,\n \"Points\" real\n)\n\nQUESTION: What is the average Points For when there are Points Against more than 780, and Points smaller than 0?\nSQL QUERY:", "completion": "SELECT AVG(\"Points For\") FROM table_40768 WHERE \"Points Against\" > 780 AND \"Points\" < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38100 (\n \"Hindi\" text,\n \"Romani\" text,\n \"Domari\" text,\n \"Lomavren\" text,\n \"Persian\" text\n)\n\nQUESTION: What is the Lomavren associated with a Hindi of s t?\nSQL QUERY:", "completion": "SELECT \"Lomavren\" FROM table_38100 WHERE \"Hindi\" LIKE '%sāt%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67012 (\n \"Round\" real,\n \"Pick\" real,\n \"Name\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What was the average pick of northwestern state college under round 3?\nSQL QUERY:", "completion": "SELECT AVG(\"Pick\") FROM table_67012 WHERE \"Round\" < 3 AND \"College\" LIKE '%northwestern state%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12702 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Attendance\" text\n)\n\nQUESTION: What is the score for the game with 213 attending?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_12702 WHERE \"Attendance\" LIKE '%213%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341472_15 (\n result VARCHAR,\n district VARCHAR\n)\n\nQUESTION: what's the result with district illinois 15\nSQL QUERY:", "completion": "SELECT result FROM table_1341472_15 WHERE district LIKE '%illinois 15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n week VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: Which week's game had an attendance of 90,138?\nSQL QUERY:", "completion": "SELECT week FROM table_name_37 WHERE attendance LIKE \"%90,138%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n opponent VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: Who was the Opponent when the Attendance was 38,150?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_25 WHERE attendance LIKE \"%38,150%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n title VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the title of Amenemhat II?\nSQL QUERY:", "completion": "SELECT title FROM table_name_78 WHERE name LIKE \"%amenemhat ii%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1745843_9 (\n part_3 VARCHAR,\n part_1 VARCHAR\n)\n\nQUESTION: Name the part 3 for treffen\nSQL QUERY:", "completion": "SELECT part_3 FROM table_1745843_9 WHERE part_1 LIKE \"%treffen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n Id VARCHAR\n)\n\nQUESTION: Which 2010 has a 2006 of w?\nSQL QUERY:", "completion": "SELECT 2010 FROM table_name_51 WHERE 2006 LIKE \"%w%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n country VARCHAR,\n label VARCHAR,\n catalog VARCHAR\n)\n\nQUESTION: Which Country has a Label of Toshiba-emi and a Catalog of vjcp-68403?\nSQL QUERY:", "completion": "SELECT country FROM table_name_95 WHERE label LIKE \"%toshiba-emi%\" AND catalog LIKE \"%vjcp-68403%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57892 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Leading scorer\" text,\n \"Record\" text\n)\n\nQUESTION: What is the Score with a Home with hornets?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_57892 WHERE \"Home\" LIKE '%hornets%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17178 (\n \"Name of ground\" text,\n \"Location\" text,\n \"Year\" text,\n \"FC matches\" real,\n \"LA matches\" real,\n \"T20 matches\" real,\n \"Total\" real\n)\n\nQUESTION: What is the maximum fc matches?\nSQL QUERY:", "completion": "SELECT MAX(\"FC matches\") FROM table_17178"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14154 (\n \"Year\" real,\n \"September\" text,\n \"October\" text,\n \"November\" text,\n \"December\" text\n)\n\nQUESTION: Who is in November after 1988 when Prinzzess is in October?\nSQL QUERY:", "completion": "SELECT \"November\" FROM table_14154 WHERE \"Year\" > 1988 AND \"October\" LIKE '%prinzzess%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29572583_19 (\n new_points INTEGER,\n status VARCHAR\n)\n\nQUESTION: What is listed in new points when status is second round lost to xavier malisse?\nSQL QUERY:", "completion": "SELECT MIN(new_points) FROM table_29572583_19 WHERE status LIKE '%second round lost to xavier malisse%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7449 (\n \"Player\" text,\n \"Nationality\" text,\n \"Position\" text,\n \"Years in Orlando\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: Which Nationality has a School/Club Team of louisiana state?\nSQL QUERY:", "completion": "SELECT \"Nationality\" FROM table_7449 WHERE \"School/Club Team\" LIKE '%louisiana state%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28846752_13 (\n economy VARCHAR,\n bbi VARCHAR\n)\n\nQUESTION: What is the economy of the player with BBI of 3/33?\nSQL QUERY:", "completion": "SELECT economy FROM table_28846752_13 WHERE bbi LIKE '%3/33%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n attendance INTEGER,\n venue VARCHAR,\n round VARCHAR\n)\n\nQUESTION: I want to know the average attendance for n venue and f round\nSQL QUERY:", "completion": "SELECT AVG(attendance) FROM table_name_49 WHERE venue LIKE \"%n%\" AND round LIKE \"%f%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69668 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the total gold from New zealand and a rank less than 14?\nSQL QUERY:", "completion": "SELECT SUM(\"Gold\") FROM table_69668 WHERE \"Nation\" LIKE '%new zealand%' AND \"Rank\" < 14"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1404486_1 (\n area__km_2__ VARCHAR,\n county VARCHAR\n)\n\nQUESTION: what is the number of area where the county is marsabit?\nSQL QUERY:", "completion": "SELECT COUNT(area__km_2__) FROM table_1404486_1 WHERE county LIKE \"%marsabit%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n gold VARCHAR,\n place VARCHAR\n)\n\nQUESTION: Who won gold when the world championships were held in Phoenix?\nSQL QUERY:", "completion": "SELECT gold FROM table_name_21 WHERE place LIKE \"%phoenix%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68160 (\n \"Year\" real,\n \"Competition\" text,\n \"Venue\" text,\n \"Position\" text,\n \"Event\" text\n)\n\nQUESTION: What Venue has a Position of 12th (sf)?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_68160 WHERE \"Position\" LIKE '%12th (sf)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10020 (\n \"Rank\" text,\n \"Team\" text,\n \"Athletes\" text,\n \"Run 1\" text,\n \"Run 2\" text,\n \"Run 3\" text,\n \"Run 4\" text,\n \"Final\" text\n)\n\nQUESTION: What is Run 4, when Run 2 is 1:25.84?\nSQL QUERY:", "completion": "SELECT \"Run 4\" FROM table_10020 WHERE \"Run 2\" LIKE '%1:25.84%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n cuts_made INTEGER,\n events VARCHAR,\n wins VARCHAR,\n top_25 VARCHAR\n)\n\nQUESTION: How man cuts were there of players who had 0 wins but had 1 player in the top 25 with more than 4 events?\nSQL QUERY:", "completion": "SELECT SUM(cuts_made) FROM table_name_76 WHERE wins LIKE '0' AND top_25 LIKE '1' AND events > 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62777 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: How many people attended the September 14, 1968 game?\nSQL QUERY:", "completion": "SELECT COUNT(\"Attendance\") FROM table_62777 WHERE \"Date\" LIKE '%september 14, 1968%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n year INTEGER,\n moves VARCHAR\n)\n\nQUESTION: What year had 32 moves?\nSQL QUERY:", "completion": "SELECT SUM(year) FROM table_name_23 WHERE moves LIKE '%32%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n score VARCHAR,\n january VARCHAR,\n points VARCHAR\n)\n\nQUESTION: Which Score has a January larger than 21, and Points of 63?\nSQL QUERY:", "completion": "SELECT score FROM table_name_18 WHERE CAST(january AS INTEGER) > 21 AND points LIKE '%63%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28606933_7 (\n period VARCHAR,\n position VARCHAR\n)\n\nQUESTION: What period(s) featured a left inside linebacker?\nSQL QUERY:", "completion": "SELECT period FROM table_28606933_7 WHERE position LIKE '%left inside linebacker%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62955 (\n \"Draw\" real,\n \"Artist\" text,\n \"Song\" text,\n \"Percentage\" text,\n \"Place\" real\n)\n\nQUESTION: What Song has a Draw of less than 4 with a Percentage of 32.22%?\nSQL QUERY:", "completion": "SELECT \"Song\" FROM table_62955 WHERE \"Draw\" < 4 AND \"Percentage\" LIKE '%32.22%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79622 (\n \"Model\" text,\n \"Years\" text,\n \"Type/code\" text,\n \"Power@rpm\" text,\n \"Torque@rpm\" text\n)\n\nQUESTION: What year was the SL 350 Model?\nSQL QUERY:", "completion": "SELECT \"Years\" FROM table_79622 WHERE \"Model\" LIKE '%sl 350%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n avg INTEGER,\n long VARCHAR\n)\n\nQUESTION: What is the sum of averages with a long value of 32?\nSQL QUERY:", "completion": "SELECT SUM(avg) FROM table_name_70 WHERE long LIKE '%32%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n time VARCHAR,\n method VARCHAR\n)\n\nQUESTION: What was the time when the method was TKO?\nSQL QUERY:", "completion": "SELECT time FROM table_name_61 WHERE method LIKE \"%tko%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40484 (\n \"Name\" text,\n \"Rank\" real,\n \"Out of\" text,\n \"Source\" text,\n \"Year\" real\n)\n\nQUESTION: Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003?\nSQL QUERY:", "completion": "SELECT \"Out of\" FROM table_40484 WHERE \"Source\" LIKE '%united nations%' AND \"Rank\" > 47 AND \"Year\" < 2003"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n no_10 VARCHAR,\n no_8 VARCHAR,\n no_9 VARCHAR\n)\n\nQUESTION: Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden?\nSQL QUERY:", "completion": "SELECT no_10 FROM table_name_94 WHERE no_8 LIKE \"%jackson%\" AND no_9 LIKE \"%jayden%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36378 (\n \"Pick #\" real,\n \"MLS Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"Affiliation\" text\n)\n\nQUESTION: Name the player with pick number of 7\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_36378 WHERE \"Pick #\" = 7"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27501030_7 (\n game VARCHAR,\n points VARCHAR\n)\n\nQUESTION: How many game entries are there when the points are 57?\nSQL QUERY:", "completion": "SELECT COUNT(game) FROM table_27501030_7 WHERE points LIKE '%57%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n date VARCHAR,\n record VARCHAR\n)\n\nQUESTION: On what date was the record 21-25?\nSQL QUERY:", "completion": "SELECT date FROM table_name_79 WHERE record LIKE \"%21-25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12164707_1 (\n mixed_doubles VARCHAR,\n mens_singles VARCHAR\n)\n\nQUESTION: How many Mixed Doubles won when Oliver Pongratz won the Men's Singles?\nSQL QUERY:", "completion": "SELECT COUNT(mixed_doubles) FROM table_12164707_1 WHERE mens_singles LIKE \"%oliver pongratz%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_163 (\n \"id\" int,\n \"pulse_oximetry\" int,\n \"hemoglobin_a1c_hba1c\" float,\n \"body_weight\" float,\n \"allergy_to_adhesive\" bool,\n \"creatinine_clearance_cl\" float,\n \"NOUSE\" float\n)\n\nQUESTION: allergy to adhesives\nSQL QUERY:", "completion": "SELECT * FROM table_train_163 WHERE allergy_to_adhesive = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64689 (\n \"Team #1\" text,\n \"Agg.\" text,\n \"Team #2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: What is team 1 when the 1st leg is 92-82?\nSQL QUERY:", "completion": "SELECT \"Team #1\" FROM table_64689 WHERE \"1st leg\" LIKE '%92-82%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n audience VARCHAR,\n episode VARCHAR\n)\n\nQUESTION: What was the audience for Episode 21?\nSQL QUERY:", "completion": "SELECT audience FROM table_name_36 WHERE episode LIKE \"%21%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n moving_from VARCHAR,\n nat VARCHAR\n)\n\nQUESTION: Which Moving from has a Nat of ned?\nSQL QUERY:", "completion": "SELECT moving_from FROM table_name_26 WHERE nat LIKE \"%ned%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n score VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What was the score against fabrice martin?\nSQL QUERY:", "completion": "SELECT score FROM table_name_66 WHERE opponent LIKE \"%fabrice martin%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63259 (\n \"Draw\" real,\n \"Artist\" text,\n \"Song\" text,\n \"Percentage\" text,\n \"Place\" real\n)\n\nQUESTION: What Artist had a Percentage of 17.14%?\nSQL QUERY:", "completion": "SELECT \"Artist\" FROM table_63259 WHERE \"Percentage\" LIKE '%17.14%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37334 (\n \"Track\" text,\n \"City\" text,\n \"State\" text,\n \"Opened\" text,\n \"Major Series\" text,\n \"Turns\" text\n)\n\nQUESTION: What is the number of turns for the City of san antonio?\nSQL QUERY:", "completion": "SELECT \"Turns\" FROM table_37334 WHERE \"City\" LIKE '%san antonio%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the final score for the game on May 1?\nSQL QUERY:", "completion": "SELECT score FROM table_name_72 WHERE date LIKE \"%may 1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28211674_3 (\n date_location VARCHAR,\n mixed_veteran VARCHAR\n)\n\nQUESTION: When and where did Eddie Smith win the mixed veteran?\nSQL QUERY:", "completion": "SELECT COUNT(date_location) FROM table_28211674_3 WHERE mixed_veteran LIKE \"%eddie smith%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n kind VARCHAR,\n year VARCHAR,\n manuals VARCHAR\n)\n\nQUESTION: What kind is in the year 1978 and a manual of ii/p?\nSQL QUERY:", "completion": "SELECT kind FROM table_name_79 WHERE year LIKE \"%1978%\" AND manuals LIKE \"%ii/p%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n points INTEGER,\n place VARCHAR,\n draw VARCHAR\n)\n\nQUESTION: What is the highest point total that placed 3rd and has a draw larger than 5?\nSQL QUERY:", "completion": "SELECT MAX(points) FROM table_name_84 WHERE place LIKE \"%3rd%\" AND draw > 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n medal VARCHAR,\n event VARCHAR\n)\n\nQUESTION: What is the Medal for the Player in the Light Heavyweight event?\nSQL QUERY:", "completion": "SELECT medal FROM table_name_25 WHERE event LIKE \"%light heavyweight%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2151643_3 (\n surface VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What was the surface for events held in 1983?\nSQL QUERY:", "completion": "SELECT surface FROM table_2151643_3 WHERE year LIKE '%1983%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8132 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: What is the Record of the game on November 24 with a Score of 6 2?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_8132 WHERE \"Score\" LIKE '%6–2%' AND \"Date\" LIKE '%november 24%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25380472_2 (\n opponent VARCHAR,\n game_site VARCHAR\n)\n\nQUESTION: In game site AOL Arena, who are all the opponents?\nSQL QUERY:", "completion": "SELECT opponent FROM table_25380472_2 WHERE game_site LIKE '%aol arena%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1840495_2 (\n per_capita_income VARCHAR,\n place VARCHAR\n)\n\nQUESTION: For Pigeon Creek what is the per capita income?\nSQL QUERY:", "completion": "SELECT per_capita_income FROM table_1840495_2 WHERE place LIKE \"%pigeon creek%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63033 (\n \"Pick\" real,\n \"Player\" text,\n \"Team\" text,\n \"Position\" text,\n \"School\" text\n)\n\nQUESTION: What position Jason Fitzgerald played?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_63033 WHERE \"Player\" LIKE '%jason fitzgerald%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8408 (\n \"Player\" text,\n \"Round\" text,\n \"Overall\" text,\n \"NHL Team\" text,\n \"MWEHL Team\" text\n)\n\nQUESTION: What is the NHL team for Round 5 and an overall ranking of #154?\nSQL QUERY:", "completion": "SELECT \"NHL Team\" FROM table_8408 WHERE \"Round\" LIKE '%5%' AND \"Overall\" LIKE '%#154%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n floor_exercise INTEGER,\n pommel_horse VARCHAR,\n parallel_bars VARCHAR\n)\n\nQUESTION: Name the least floor exercise for parallel bars more than 9.687 and pommel horse less than 8.45\nSQL QUERY:", "completion": "SELECT MIN(floor_exercise) FROM table_name_58 WHERE CAST(pommel_horse AS DECIMAL) < 8.45 AND CAST(parallel_bars AS DECIMAL) > 9.687"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53224 (\n \"Year\" real,\n \"Division\" text,\n \"League\" text,\n \"Reg. Season\" text,\n \"Playoffs\" text,\n \"Open Cup\" text\n)\n\nQUESTION: Which year had playoffs of champion?\nSQL QUERY:", "completion": "SELECT AVG(\"Year\") FROM table_53224 WHERE \"Playoffs\" LIKE '%champion%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14902507_2 (\n studio_analysts VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Who are the studio analysts for the year 2008-09?\nSQL QUERY:", "completion": "SELECT studio_analysts FROM table_14902507_2 WHERE year LIKE \"%2008-09%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6937 (\n \"Name\" text,\n \"Stories\" real,\n \"Height\" text,\n \"Built\" text,\n \"Purpose\" text,\n \"Status\" text\n)\n\nQUESTION: What is the highest number of stories in homes with a height of 42 m.?\nSQL QUERY:", "completion": "SELECT MAX(\"Stories\") FROM table_6937 WHERE \"Height\" LIKE '%42 m.%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n no_s_ VARCHAR,\n height_in_ft VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Name the numbers for the player with a height in ft of 6-7 for the guard\nSQL QUERY:", "completion": "SELECT no_s_ FROM table_name_4 WHERE height_in_ft LIKE \"%6-7%\" AND position LIKE \"%guard%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341930_11 (\n first_elected INTEGER,\n incumbent VARCHAR\n)\n\nQUESTION: What is the most first elected for james c. davis?\nSQL QUERY:", "completion": "SELECT MAX(first_elected) FROM table_1341930_11 WHERE incumbent LIKE '%james c. davis%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n player VARCHAR,\n pos VARCHAR,\n previous_team VARCHAR\n)\n\nQUESTION: What F Player was previously with the New York Knicks?\nSQL QUERY:", "completion": "SELECT player FROM table_name_73 WHERE pos LIKE \"%f%\" AND previous_team LIKE \"%new york knicks%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27539535_4 (\n game INTEGER,\n score VARCHAR\n)\n\nQUESTION: What is the least entry for game if the score is 1-0?\nSQL QUERY:", "completion": "SELECT MIN(game) FROM table_27539535_4 WHERE score LIKE \"%1-0%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What day did St Kilda play as the away team?\nSQL QUERY:", "completion": "SELECT date FROM table_name_53 WHERE away_team LIKE \"%st kilda%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n date VARCHAR,\n scorers VARCHAR\n)\n\nQUESTION: what is the date when scorers is parkinson?\nSQL QUERY:", "completion": "SELECT date FROM table_name_23 WHERE scorers LIKE \"%parkinson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n margin_of_victory VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: Which margin of victory has cyber agent ladies as the tournament?\nSQL QUERY:", "completion": "SELECT margin_of_victory FROM table_name_78 WHERE tournament LIKE \"%cyber agent ladies%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20204 (\n \"Ecosystem\" text,\n \"Date of issue\" text,\n \"Place of issue\" text,\n \"No. stamps in sheet\" real,\n \"Face Value\" text,\n \"Printer\" text\n)\n\nQUESTION: Which location has the ecosystem of kelp forest?\nSQL QUERY:", "completion": "SELECT \"Place of issue\" FROM table_20204 WHERE \"Ecosystem\" LIKE '%kelp forest%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10321805_1 (\n year__ceremony_ VARCHAR,\n original_title VARCHAR\n)\n\nQUESTION: What year was a movie with the original title La Leggenda del Santo Bevitore submitted?\nSQL QUERY:", "completion": "SELECT year__ceremony_ FROM table_10321805_1 WHERE original_title LIKE '%la leggenda del santo bevitore%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n website VARCHAR,\n ofsted VARCHAR,\n locality VARCHAR\n)\n\nQUESTION: What website has an Ofsted less than 106478 in Atherton?\nSQL QUERY:", "completion": "SELECT website FROM table_name_33 WHERE CAST(ofsted AS INTEGER) < 106478 AND locality LIKE '%atherton%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n lineup VARCHAR,\n result VARCHAR\n)\n\nQUESTION: What was the lineup that resulted in 1-0 AET W?\nSQL QUERY:", "completion": "SELECT lineup FROM table_name_29 WHERE result LIKE \"%1-0 aet w%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n Id VARCHAR\n)\n\nQUESTION: What is 2001, when 1996 is '0 / 2'?\nSQL QUERY:", "completion": "SELECT 2001 FROM table_name_1 WHERE 1996 LIKE \"%0 / 2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n react VARCHAR,\n lane VARCHAR,\n heat VARCHAR\n)\n\nQUESTION: what is the react when the lane is 3 and heat is 2?\nSQL QUERY:", "completion": "SELECT react FROM table_name_98 WHERE lane LIKE '%3%' AND heat LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n time VARCHAR,\n athlete VARCHAR\n)\n\nQUESTION: What is the race time for emma twigg?\nSQL QUERY:", "completion": "SELECT time FROM table_name_29 WHERE athlete LIKE \"%emma twigg%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25567 (\n \"R\" real,\n \"Player\" text,\n \"Position\" text,\n \"League\" real,\n \"Champions League\" real,\n \"Copa del Rey\" real,\n \"Total\" real\n)\n\nQUESTION: If the player is Marcelo, what is the minimum R?\nSQL QUERY:", "completion": "SELECT MIN(\"R\") FROM table_25567 WHERE \"Player\" LIKE '%marcelo%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n height VARCHAR,\n name VARCHAR\n)\n\nQUESTION: How tall is player James Stanton?\nSQL QUERY:", "completion": "SELECT height FROM table_name_19 WHERE name LIKE \"%james stanton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n listed VARCHAR,\n built VARCHAR\n)\n\nQUESTION: What is the list date of the historic place that was built 1896, 1914?\nSQL QUERY:", "completion": "SELECT listed FROM table_name_88 WHERE built LIKE \"%1896, 1914%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64700 (\n \"Player\" text,\n \"Matches\" text,\n \"Runs\" text,\n \"Balls\" text,\n \"Strike Rate\" text,\n \"Average\" text,\n \"100s\" text\n)\n\nQUESTION: Which player has 79.62 as the strike rate?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_64700 WHERE \"Strike Rate\" LIKE '%79.62%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n race VARCHAR,\n length VARCHAR\n)\n\nQUESTION: What race is 12 hours in length?\nSQL QUERY:", "completion": "SELECT race FROM table_name_52 WHERE length LIKE \"%12 hours%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n to_par VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What is the To par of the Player with a Score of 69-70=139?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_59 WHERE score = '-1'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17941032_2 (\n losing_bonus VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What was the losing bonus that had 53 points?\nSQL QUERY:", "completion": "SELECT losing_bonus FROM table_17941032_2 WHERE points LIKE \"%53%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341577_14 (\n party VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: To what party does Cardiss Collins belong?\nSQL QUERY:", "completion": "SELECT party FROM table_1341577_14 WHERE incumbent LIKE \"%cardiss collins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_224840_3 (\n state__class_ VARCHAR,\n vacator VARCHAR\n)\n\nQUESTION: in which state where John Laurance (f) as a vacator?\nSQL QUERY:", "completion": "SELECT state__class_ FROM table_224840_3 WHERE vacator LIKE \"%john laurance (f)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12135 (\n \"Tournament\" text,\n \"2006\" text,\n \"2007\" text,\n \"2008\" text,\n \"2009\" text,\n \"2011\" text,\n \"2012\" text\n)\n\nQUESTION: What was the result in the 2012 for the US Open tournament?\nSQL QUERY:", "completion": "SELECT \"2012\" FROM table_12135 WHERE \"Tournament\" LIKE '%us open%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12256 (\n \"Pick\" real,\n \"Player\" text,\n \"Team\" text,\n \"Position\" text,\n \"Year\" real\n)\n\nQUESTION: What is the average pick in 1983?\nSQL QUERY:", "completion": "SELECT AVG(\"Pick\") FROM table_12256 WHERE \"Year\" LIKE '%1983%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54829 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: When the home team scored 11.13 (79), what away team were they playing?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_54829 WHERE \"Home team score\" LIKE '%11.13 (79)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19534874_2 (\n written INTEGER,\n standard VARCHAR\n)\n\nQUESTION: What was the maximum number in written when the standard was 2?\nSQL QUERY:", "completion": "SELECT MAX(written) FROM table_19534874_2 WHERE standard LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n time_retired VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: What is the time/retired for the driver emerson fittipaldi?\nSQL QUERY:", "completion": "SELECT time_retired FROM table_name_55 WHERE driver LIKE \"%emerson fittipaldi%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30245 (\n \"Entrant\" text,\n \"Constructor\" text,\n \"Car\" text,\n \"Driver\" text,\n \"Co-driver\" text,\n \"Rounds\" text\n)\n\nQUESTION: what are all the people where the entries is peugeot sport polska\nSQL QUERY:", "completion": "SELECT \"Driver\" FROM table_30245 WHERE \"Entrant\" LIKE '%peugeot sport polska%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n name_of_kingdom VARCHAR,\n capital VARCHAR\n)\n\nQUESTION: Which kingdom has Suin as its capital?\nSQL QUERY:", "completion": "SELECT name_of_kingdom FROM table_name_65 WHERE capital LIKE \"%suin%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20195922_3 (\n odds_of_winning__1in_ VARCHAR,\n divisions VARCHAR\n)\n\nQUESTION: How many odd of winning have 6th as the division?\nSQL QUERY:", "completion": "SELECT odds_of_winning__1in_ FROM table_20195922_3 WHERE divisions LIKE \"%6th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1672976_6 (\n television VARCHAR,\n time VARCHAR\n)\n\nQUESTION: What station aired a game at 9:00pm?\nSQL QUERY:", "completion": "SELECT television FROM table_1672976_6 WHERE time LIKE \"%9:00pm%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23670057_7 (\n year_born VARCHAR,\n height__m_ VARCHAR\n)\n\nQUESTION: What is every year born for height of 1.88?\nSQL QUERY:", "completion": "SELECT year_born FROM table_23670057_7 WHERE height__m_ LIKE \"%1.88%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27712702_11 (\n high_assists VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Who had the high assists against detroit?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_27712702_11 WHERE team LIKE \"%detroit%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2076595_1 (\n type VARCHAR,\n enrollment__2009_ VARCHAR\n)\n\nQUESTION: What type of school had an enrollment in 2009 of 224?\nSQL QUERY:", "completion": "SELECT type FROM table_2076595_1 WHERE enrollment__2009_ = '224'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28884858_2 (\n average_attendance VARCHAR,\n total_attendance VARCHAR\n)\n\nQUESTION: What was average attendance when total attendance was 541380?\nSQL QUERY:", "completion": "SELECT average_attendance FROM table_28884858_2 WHERE total_attendance LIKE '%541380%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14623167_1 (\n branding VARCHAR,\n owner VARCHAR\n)\n\nQUESTION: Name the branding for forum communications\nSQL QUERY:", "completion": "SELECT branding FROM table_14623167_1 WHERE owner LIKE \"%forum communications%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n date VARCHAR,\n home VARCHAR\n)\n\nQUESTION: What was the date when the home team was Dallas?\nSQL QUERY:", "completion": "SELECT date FROM table_name_28 WHERE home LIKE \"%dallas%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25931938_1 (\n aggregate VARCHAR,\n dances VARCHAR,\n known_for VARCHAR\n)\n\nQUESTION: What was the aggregate for the celebrity who was known for being a singer and had 7 dances?\nSQL QUERY:", "completion": "SELECT aggregate FROM table_25931938_1 WHERE dances = '7' AND known_for LIKE '%singer%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n date VARCHAR,\n week VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers?\nSQL QUERY:", "completion": "SELECT date FROM table_name_16 WHERE week < '13' AND opponent LIKE '%green bay packers%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21310575_2 (\n households INTEGER\n)\n\nQUESTION: Name the most households\nSQL QUERY:", "completion": "SELECT MAX(households) FROM table_21310575_2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n title VARCHAR,\n category VARCHAR\n)\n\nQUESTION: WHAT IS THE TITLE WITH CATEGORY OF best r&b song?\nSQL QUERY:", "completion": "SELECT title FROM table_name_95 WHERE category LIKE \"%best r&b song%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n gold_coast VARCHAR,\n adelaide VARCHAR,\n melbourne VARCHAR,\n perth VARCHAR\n)\n\nQUESTION: What is the result for Gold Coast when Melbourne and Adelaide are yes, but Perth is no?\nSQL QUERY:", "completion": "SELECT gold_coast FROM table_name_73 WHERE melbourne LIKE \"%yes%\" AND perth LIKE \"%no%\" AND adelaide LIKE \"%yes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_526 (\n id number,\n \"team 1\" text,\n \"agg.\" text,\n \"team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: what is the number of countries in each team ?\nSQL QUERY:", "completion": "SELECT COUNT(\"team 1\") FROM table_203_526"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n laps VARCHAR,\n car_no VARCHAR\n)\n\nQUESTION: How many laps did car 23 do?\nSQL QUERY:", "completion": "SELECT laps FROM table_name_17 WHERE car_no LIKE \"%23%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n result VARCHAR,\n week VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What's the result for the game held on December 27, 2004 with a week greater than 2?\nSQL QUERY:", "completion": "SELECT result FROM table_name_4 WHERE week > '2' AND date LIKE '%december 27, 2004%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18602462_21 (\n round_of_32 VARCHAR,\n round_of_16 VARCHAR\n)\n\nQUESTION: When in round of 16 it was did not advance what was it in round of 32?\nSQL QUERY:", "completion": "SELECT round_of_32 FROM table_18602462_21 WHERE round_of_16 LIKE \"%did not advance%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n listed VARCHAR,\n construction_completed VARCHAR\n)\n\nQUESTION: What construction completed on 08/10/2007?\nSQL QUERY:", "completion": "SELECT listed FROM table_name_46 WHERE construction_completed LIKE \"%08/10/2007%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n points INTEGER,\n position VARCHAR,\n lost VARCHAR\n)\n\nQUESTION: What is the highest number of points for a position less than 3 and less than 1 loss?\nSQL QUERY:", "completion": "SELECT MAX(points) FROM table_name_19 WHERE position LIKE '%3%' AND lost LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76587 (\n \"2006/ 07\" text,\n \"2008/ 09\" text,\n \"2010/ 11\" text,\n \"2011/ 12\" text,\n \"2012/ 13\" text\n)\n\nQUESTION: What is 2010-11, when 2006/07 is UR?\nSQL QUERY:", "completion": "SELECT \"2010/ 11\" FROM table_76587 WHERE \"2006/ 07\" LIKE '%ur%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341640_11 (\n party VARCHAR,\n candidates VARCHAR\n)\n\nQUESTION: How many parties were for candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%?\nSQL QUERY:", "completion": "SELECT COUNT(party) FROM table_1341640_11 WHERE candidates LIKE \"%newt gingrich (r) 59.1% dock h. davis (d) 40.9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17384764_1 (\n department VARCHAR,\n qualification VARCHAR\n)\n\nQUESTION: Which departments have M.Phil(Maths)?\nSQL QUERY:", "completion": "SELECT department FROM table_17384764_1 WHERE qualification LIKE \"%m.phil(maths)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44621 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What is the lowest attendance for week 11?\nSQL QUERY:", "completion": "SELECT MIN(\"Attendance\") FROM table_44621 WHERE \"Week\" = 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8756 (\n \"Round\" real,\n \"Pick\" text,\n \"Player\" text,\n \"Position\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: HOW MANY ROUNDS HAD A PICK OF 7?\nSQL QUERY:", "completion": "SELECT COUNT(\"Round\") FROM table_8756 WHERE \"Pick\" LIKE '%7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n attendance INTEGER,\n result VARCHAR,\n week VARCHAR\n)\n\nQUESTION: Result of w 24 21, and a Week smaller than 6 had what sum of attendance?\nSQL QUERY:", "completion": "SELECT SUM(attendance) FROM table_name_9 WHERE result LIKE \"%w 24–21%\" AND week < 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n prom__m_ VARCHAR,\n height__m_ INTEGER\n)\n\nQUESTION: Tell me the total number of prom for height less than 615\nSQL QUERY:", "completion": "SELECT COUNT(prom__m_) FROM table_name_59 WHERE height__m_ < 615"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47979 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location\" text,\n \"Record\" text\n)\n\nQUESTION: What is the location for the 23-17 record?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_47979 WHERE \"Record\" LIKE '%23-17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45688 (\n \"Game\" real,\n \"December\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Record\" text\n)\n\nQUESTION: What is the average December, when Game is '36'?\nSQL QUERY:", "completion": "SELECT AVG(\"December\") FROM table_45688 WHERE \"Game\" LIKE '%36%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4599 (\n \"Round\" real,\n \"Overall\" real,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: In what round was a defensive tackle drafted with an overall pick smaller than 149?\nSQL QUERY:", "completion": "SELECT COUNT(\"Round\") FROM table_4599 WHERE \"Position\" LIKE '%defensive tackle%' AND \"Overall\" < 149"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14745 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text\n)\n\nQUESTION: Who did the team lose to on September 8?\nSQL QUERY:", "completion": "SELECT \"Loss\" FROM table_14745 WHERE \"Date\" LIKE '%september 8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26041144_10 (\n innings INTEGER,\n average VARCHAR\n)\n\nQUESTION: How many innings are there when the average is 32.3?\nSQL QUERY:", "completion": "SELECT MIN(innings) FROM table_26041144_10 WHERE average LIKE '%32.3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n finalist VARCHAR,\n week VARCHAR\n)\n\nQUESTION: For the week of August 6, who is the finalist?\nSQL QUERY:", "completion": "SELECT finalist FROM table_name_26 WHERE week LIKE \"%august 6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n aggregate VARCHAR\n)\n\nQUESTION: What was the 1st leg that had a 4-2 aggregate?\nSQL QUERY:", "completion": "SELECT 1 AS st_leg FROM table_name_33 WHERE aggregate LIKE \"%4-2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38850 (\n \"Game\" real,\n \"March\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Record\" text,\n \"Points\" real\n)\n\nQUESTION: Which opponent was present on March 28?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_38850 WHERE \"March\" = 28"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19901_1 (\n muzzle_device VARCHAR,\n colt_model_no VARCHAR\n)\n\nQUESTION: Which muzzle devices are on the Colt 603?\nSQL QUERY:", "completion": "SELECT muzzle_device FROM table_19901_1 WHERE colt_model_no LIKE \"%603%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15621965_14 (\n school_club_team VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Name the school/club team for jawann oldham\nSQL QUERY:", "completion": "SELECT school_club_team FROM table_15621965_14 WHERE player LIKE \"%jawann oldham%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n award VARCHAR,\n result VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Name the award for nominated result and year after 2011\nSQL QUERY:", "completion": "SELECT award FROM table_name_38 WHERE result LIKE \"%nominated%\" AND year > \"2011\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33251 (\n \"City\" text,\n \"Country\" text,\n \"IATA\" text,\n \"ICAO\" text,\n \"Airport\" text\n)\n\nQUESTION: Where is the City of Douala?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_33251 WHERE \"City\" LIKE '%douala%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n opponent VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: Who did the argonauts play against during the game that had 19,423 fans in attendance?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_45 WHERE attendance LIKE \"%19,423%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n stadium VARCHAR,\n club VARCHAR\n)\n\nQUESTION: Which stadium has FC Seoul?\nSQL QUERY:", "completion": "SELECT stadium FROM table_name_65 WHERE club LIKE \"%fc seoul%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n number_stayed_in_southeast VARCHAR,\n total_number_emigrated_or_forcibly_removed VARCHAR\n)\n\nQUESTION: How many of those who stayed in the southeast had 19,600 emigrated or forcibly removed?\nSQL QUERY:", "completion": "SELECT number_stayed_in_southeast FROM table_name_58 WHERE total_number_emigrated_or_forcibly_removed LIKE \"%19,600%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12646 (\n \"Year\" real,\n \"Champion\" text,\n \"Runner-Up\" text,\n \"Score\" text,\n \"Venue\" text\n)\n\nQUESTION: What score has a year later than 1974, with hawthorn as the champion?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_12646 WHERE \"Year\" > 1974 AND \"Champion\" LIKE '%hawthorn%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70837 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" real\n)\n\nQUESTION: Which line after 1959 had the highest amount of points?\nSQL QUERY:", "completion": "SELECT MAX(\"Points\") FROM table_70837 WHERE \"Year\" > 1959"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24426072_1 (\n team__number1 VARCHAR\n)\n\nQUESTION: What was the 2nd leg for team #1 River Plate?\nSQL QUERY:", "completion": "SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number1 LIKE \"%river plate%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64569 (\n \"Name\" text,\n \"Years\" text,\n \"A-League\" text,\n \"Finals\" text,\n \"Total\" text\n)\n\nQUESTION: What years have 9 (3) as the finals?\nSQL QUERY:", "completion": "SELECT \"Years\" FROM table_64569 WHERE \"Finals\" LIKE '%9 (3)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n opponent VARCHAR,\n surface VARCHAR,\n partner VARCHAR\n)\n\nQUESTION: Which Opponent had a Surface of hard, and a Partner of maria elena camerin?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_26 WHERE surface LIKE \"%hard%\" AND partner LIKE \"%maria elena camerin%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77169 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: Who was the home team in the match against Luton Town?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_77169 WHERE \"Away team\" LIKE '%luton town%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n Id VARCHAR\n)\n\nQUESTION: What in 2007 has a 2008 of sf, and a 2010 of f?\nSQL QUERY:", "completion": "SELECT 2007 FROM table_name_95 WHERE 2008 LIKE \"%sf%\" AND 2010 LIKE \"%f%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26160007_1 (\n imports VARCHAR,\n country VARCHAR\n)\n\nQUESTION: In the country United Arab Emirates, what is the number of imports?\nSQL QUERY:", "completion": "SELECT imports FROM table_26160007_1 WHERE country LIKE \"%united arab emirates%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n years VARCHAR,\n finals VARCHAR\n)\n\nQUESTION: What years have 10 (0) in the finals?\nSQL QUERY:", "completion": "SELECT years FROM table_name_33 WHERE finals LIKE \"%10 (0)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n artist VARCHAR,\n issue_price VARCHAR\n)\n\nQUESTION: Which Artist has an Issue Price of $1,541.95?\nSQL QUERY:", "completion": "SELECT artist FROM table_name_20 WHERE issue_price LIKE \"%$1,541.95%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24807406_1 (\n name VARCHAR,\n position VARCHAR,\n appearances VARCHAR\n)\n\nQUESTION: What is the name if the appearance is 2 and the position is FW?\nSQL QUERY:", "completion": "SELECT name FROM table_24807406_1 WHERE position LIKE \"%fw%\" AND appearances = 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n country VARCHAR,\n lead VARCHAR\n)\n\nQUESTION: Which country has a Lead of sarah wazney?\nSQL QUERY:", "completion": "SELECT country FROM table_name_50 WHERE lead LIKE \"%sarah wazney%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29565120_2 (\n l INTEGER,\n w VARCHAR\n)\n\nQUESTION: What is the L when the W is 4?\nSQL QUERY:", "completion": "SELECT MIN(l) FROM table_29565120_2 WHERE w LIKE '%4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n team VARCHAR,\n replaced_by VARCHAR\n)\n\nQUESTION: what is the team geraint williams is the replacement?\nSQL QUERY:", "completion": "SELECT team FROM table_name_20 WHERE replaced_by LIKE \"%geraint williams%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44703 (\n \"Name\" text,\n \"Location\" text,\n \"Format\" text,\n \"Record Label\" text,\n \"Release Date\" text\n)\n\nQUESTION: What is the name in the UK, with a release date of December 1966?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_44703 WHERE \"Location\" LIKE '%uk%' AND \"Release Date\" LIKE '%december 1966%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n tournament VARCHAR\n)\n\nQUESTION: For what tournament is the 1990 0 / 4?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_83 WHERE \"1990\" LIKE '%0 / 4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24099916_1 (\n model__list_ VARCHAR,\n socket VARCHAR,\n tdp VARCHAR\n)\n\nQUESTION: What's the model of the processor with BGA479 socket and a 5.5 w TDP?\nSQL QUERY:", "completion": "SELECT model__list_ FROM table_24099916_1 WHERE socket LIKE \"%bga479%\" AND tdp LIKE \"%5.5 w%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n team_1 VARCHAR,\n team_2 VARCHAR\n)\n\nQUESTION: What team 1 has a team 2 of universidad nacional?\nSQL QUERY:", "completion": "SELECT team_1 FROM table_name_4 WHERE team_2 LIKE \"%universidad nacional%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n origin VARCHAR,\n launch VARCHAR\n)\n\nQUESTION: What is the origin for the launch taking place in 2010?\nSQL QUERY:", "completion": "SELECT origin FROM table_name_71 WHERE launch LIKE '%2010%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58104 (\n \"Year\" real,\n \"Driver\" text,\n \"Constructor\" text,\n \"Location\" text,\n \"Report\" text\n)\n\nQUESTION: What was the constructor of the car that Hermann Lang drove after 1935?\nSQL QUERY:", "completion": "SELECT \"Constructor\" FROM table_58104 WHERE \"Year\" > 1935 AND \"Driver\" LIKE '%hermann lang%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n rank INTEGER,\n time VARCHAR\n)\n\nQUESTION: What is the rank for the team with a Time of 1:12.40.28?\nSQL QUERY:", "completion": "SELECT SUM(rank) FROM table_name_94 WHERE time LIKE \"%1:12.40.28%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6226 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Game site\" text,\n \"Attendance\" real\n)\n\nQUESTION: Opponent of denver broncos happened on what date?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_6226 WHERE \"Opponent\" LIKE '%denver broncos%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n _percentage_won INTEGER,\n lost INTEGER\n)\n\nQUESTION: What is the largest % Won with a Lost smaller than 0?\nSQL QUERY:", "completion": "SELECT MAX(_percentage_won) FROM table_name_89 WHERE lost < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE happy_hour (\n MONTH VARCHAR\n)\n\nQUESTION: Which month has the most happy hours?\nSQL QUERY:", "completion": "SELECT MONTH FROM happy_hour GROUP BY MONTH ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25947046_1 (\n jews_and_others_1 INTEGER,\n localities VARCHAR\n)\n\nQUESTION: What is the lowest jews and others 1 for the localities 11?\nSQL QUERY:", "completion": "SELECT MIN(jews_and_others_1) FROM table_25947046_1 WHERE localities LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64288 (\n \"Title\" text,\n \"Series\" text,\n \"Director\" text,\n \"Release date\" text,\n \"reissue?\" text\n)\n\nQUESTION: From what series was Tokio Jokio, directed by Norm McCabe?\nSQL QUERY:", "completion": "SELECT \"Series\" FROM table_64288 WHERE \"Director\" LIKE '%norm mccabe%' AND \"Title\" LIKE '%tokio jokio%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n score VARCHAR,\n loss VARCHAR\n)\n\nQUESTION: What is the score when a loss was listed with Lannan (4-8)?\nSQL QUERY:", "completion": "SELECT score FROM table_name_48 WHERE loss LIKE \"%lannan (4-8)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n score VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: What is the score in the Liverpool home game?\nSQL QUERY:", "completion": "SELECT score FROM table_name_67 WHERE home_team LIKE \"%liverpool%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n year VARCHAR,\n finish VARCHAR\n)\n\nQUESTION: In what Year was the Finish Champions?\nSQL QUERY:", "completion": "SELECT year FROM table_name_99 WHERE finish LIKE \"%champions%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which Score has a Date of 26 september 2004?\nSQL QUERY:", "completion": "SELECT score FROM table_name_71 WHERE date LIKE \"%26 september 2004%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n college VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is Reuben Foster's college?\nSQL QUERY:", "completion": "SELECT college FROM table_name_59 WHERE player LIKE \"%reuben foster%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70602 (\n \"Rider\" text,\n \"Manufacturer\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: Name the manufacturer with grid of 11\nSQL QUERY:", "completion": "SELECT \"Manufacturer\" FROM table_70602 WHERE \"Grid\" = 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57016 (\n \"Date\" text,\n \"Course\" text,\n \"Distance\" text,\n \"Type\" text,\n \"Winner\" text\n)\n\nQUESTION: What is the distance for the team time trial?\nSQL QUERY:", "completion": "SELECT \"Distance\" FROM table_57016 WHERE \"Type\" LIKE '%team time trial%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n year_s__won VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which year al geiberger is in?\nSQL QUERY:", "completion": "SELECT year_s__won FROM table_name_50 WHERE player LIKE \"%al geiberger%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n height_m___ft VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the height for the Shanghai World Plaza?\nSQL QUERY:", "completion": "SELECT height_m___ft FROM table_name_26 WHERE name LIKE \"%shanghai world plaza%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n outcome VARCHAR,\n date VARCHAR\n)\n\nQUESTION: WHICH Outcome IS ON 18 july 1993?\nSQL QUERY:", "completion": "SELECT outcome FROM table_name_70 WHERE date LIKE \"%18 july 1993%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n letter VARCHAR,\n operator VARCHAR\n)\n\nQUESTION: Which letter has an operator of the Defense Information Systems Agency?\nSQL QUERY:", "completion": "SELECT letter FROM table_name_32 WHERE operator LIKE \"%defense information systems agency%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38069 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What is the largest attendance that has December 16, 1962 as the date?\nSQL QUERY:", "completion": "SELECT MAX(\"Attendance\") FROM table_38069 WHERE \"Date\" LIKE '%december 16, 1962%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_82 (\n pick INTEGER,\n team VARCHAR\n)\n\nQUESTION: What was the average pick made by the Texas Rangers?\nSQL QUERY:", "completion": "SELECT AVG(pick) FROM table_name_82 WHERE team LIKE \"%texas rangers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27871460_2 (\n channel_number INTEGER\n)\n\nQUESTION: What is the highest channel number?\nSQL QUERY:", "completion": "SELECT MAX(channel_number) FROM table_27871460_2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_546 (\n id number,\n \"year\" number,\n \"film\" text,\n \"song\" text,\n \"language\" text\n)\n\nQUESTION: which was the first film in kannada ?\nSQL QUERY:", "completion": "SELECT \"film\" FROM table_204_546 WHERE \"language\" LIKE '%kannada%' ORDER BY \"year\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n moving_from VARCHAR,\n transfer_window VARCHAR,\n country VARCHAR\n)\n\nQUESTION: Who is moving during winter from wal?\nSQL QUERY:", "completion": "SELECT moving_from FROM table_name_28 WHERE transfer_window LIKE \"%winter%\" AND country LIKE \"%wal%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19897294_11 (\n family_families VARCHAR,\n no_in_series VARCHAR\n)\n\nQUESTION: What family was featured in episode us14 of the series?\nSQL QUERY:", "completion": "SELECT family_families FROM table_19897294_11 WHERE no_in_series LIKE '%us14%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n points INTEGER,\n year INTEGER\n)\n\nQUESTION: What is the highest number of points before 1954?\nSQL QUERY:", "completion": "SELECT MAX(points) FROM table_name_5 WHERE year < 1954"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n school_club_team VARCHAR,\n round VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which school(s) had a wide receiver drafted in round 4?\nSQL QUERY:", "completion": "SELECT school_club_team FROM table_name_16 WHERE round > '4' AND position LIKE '%wide receiver%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69994 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: Which Visitor is listed as having a Date of December 17?\nSQL QUERY:", "completion": "SELECT \"Visitor\" FROM table_69994 WHERE \"Date\" LIKE '%december 17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58469 (\n \"Region\" text,\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: What is the catalog number with the date November 16, 2004?\nSQL QUERY:", "completion": "SELECT \"Catalog\" FROM table_58469 WHERE \"Date\" LIKE '%november 16, 2004%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n identifier VARCHAR,\n city_of_license VARCHAR\n)\n\nQUESTION: What is Identifier, when City of License is Terrace Bay?\nSQL QUERY:", "completion": "SELECT identifier FROM table_name_26 WHERE city_of_license LIKE \"%terrace bay%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n time VARCHAR,\n song_title VARCHAR\n)\n\nQUESTION: How long is the song titled burning love?\nSQL QUERY:", "completion": "SELECT time FROM table_name_54 WHERE song_title LIKE \"%burning love%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71775 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text\n)\n\nQUESTION: What was the score of the game when the record was 59-65?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_71775 WHERE \"Record\" LIKE '%59-65%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_279 (\n id number,\n \"name of place\" text,\n \"number\\nof\\ncounties\" number,\n \"principal\\ncounty\" text,\n \"zip code\\nlower\" number,\n \"zip code\\nupper\" number\n)\n\nQUESTION: are there above or below 30 places ?\nSQL QUERY:", "completion": "SELECT (SELECT COUNT(\"name of place\") FROM table_204_279) > 30"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n pos INTEGER,\n driver VARCHAR\n)\n\nQUESTION: What is the lowest position for driver Kyle Busch?\nSQL QUERY:", "completion": "SELECT MIN(pos) FROM table_name_94 WHERE driver LIKE \"%kyle busch%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n season VARCHAR,\n downhill VARCHAR,\n overall VARCHAR\n)\n\nQUESTION: What season had a downhill of 35 and overall greater than 21?\nSQL QUERY:", "completion": "SELECT COUNT(season) FROM table_name_53 WHERE downhill LIKE \"%35%\" AND overall > 21"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n location_attendance VARCHAR,\n series VARCHAR\n)\n\nQUESTION: what is the location attendance when the series is 4-3?\nSQL QUERY:", "completion": "SELECT location_attendance FROM table_name_38 WHERE series LIKE \"%4-3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27526 (\n \"June 10-11\" text,\n \"March 27-29\" text,\n \"January 15-16\" text,\n \"November 3\" text,\n \"August 21-22\" text\n)\n\nQUESTION: When 139 is on March 27th to 29th what is August 21st to 22nd?\nSQL QUERY:", "completion": "SELECT \"August 21-22\" FROM table_27526 WHERE \"March 27-29\" LIKE '%139%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_420 (\n id number,\n \"#\" number,\n \"stadium\" text,\n \"capacity\" number,\n \"city\" text,\n \"home team\" text\n)\n\nQUESTION: what is the total number of people holm park can hold ?\nSQL QUERY:", "completion": "SELECT \"capacity\" FROM table_203_420 WHERE \"stadium\" LIKE '%holm park%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n pole_winner VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Tell me the pole winner of may 12\nSQL QUERY:", "completion": "SELECT pole_winner FROM table_name_91 WHERE date LIKE \"%may 12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2159537_3 (\n successor VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Who was the successor in New York 11th district?\nSQL QUERY:", "completion": "SELECT successor FROM table_2159537_3 WHERE district LIKE '%new york 11th%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n format VARCHAR,\n catalog VARCHAR\n)\n\nQUESTION: What was the format for catalog 660-51-015?\nSQL QUERY:", "completion": "SELECT format FROM table_name_51 WHERE catalog LIKE '%660-51-015%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n result VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What is the Result of the game with an Attendance of 55,353?\nSQL QUERY:", "completion": "SELECT result FROM table_name_53 WHERE attendance LIKE \"%55,353%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4138 (\n \"Country\" text,\n \"MotoGP/500cc\" real,\n \"350cc\" real,\n \"Moto2/250cc\" real,\n \"Moto3/125cc\" real,\n \"80cc/50cc\" real,\n \"Total\" real\n)\n\nQUESTION: how many total number of moto2/250cc when country is united states\nSQL QUERY:", "completion": "SELECT COUNT(\"Moto2/250cc\") FROM table_4138 WHERE \"Country\" LIKE '%united states%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n opponent VARCHAR,\n record VARCHAR\n)\n\nQUESTION: Who was the opponent when the record was 61-57?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_89 WHERE record LIKE \"%61-57%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41240 (\n \"Name\" text,\n \"Novelty\" text,\n \"Status\" text,\n \"Authors\" text,\n \"Unit\" text,\n \"Location\" text\n)\n\nQUESTION: What novelty has USA as the location, and coryloides as the name?\nSQL QUERY:", "completion": "SELECT \"Novelty\" FROM table_41240 WHERE \"Location\" LIKE '%usa%' AND \"Name\" LIKE '%coryloides%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n site VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What site has november 30, 2006 as the date?\nSQL QUERY:", "completion": "SELECT site FROM table_name_25 WHERE date LIKE \"%november 30, 2006%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n Id VARCHAR\n)\n\nQUESTION: What's the name of the 2005 tournament that has a 1R in both 2006 and 2002?\nSQL QUERY:", "completion": "SELECT 2005 FROM table_name_14 WHERE 2006 LIKE \"%1r%\" AND 2002 LIKE \"%1r%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n country VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What country was the game played when it was played from April 11-April 21?\nSQL QUERY:", "completion": "SELECT country FROM table_name_73 WHERE date LIKE \"%april 11-april 21%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_80362 (\n \"Tournament\" text,\n \"2008\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text,\n \"2012\" text\n)\n\nQUESTION: Name the tournament when it has 2011 of 2r\nSQL QUERY:", "completion": "SELECT \"Tournament\" FROM table_80362 WHERE \"2011\" LIKE '%2r%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49029 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What is the highest Week, when Result is W 34-21?\nSQL QUERY:", "completion": "SELECT MAX(\"Week\") FROM table_49029 WHERE \"Result\" LIKE '%w 34-21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n surface VARCHAR,\n opponents VARCHAR\n)\n\nQUESTION: what is the surface when the opponents are louise field nathalie herreman?\nSQL QUERY:", "completion": "SELECT surface FROM table_name_13 WHERE opponents LIKE \"%louise field nathalie herreman%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n award VARCHAR,\n producer_s_ VARCHAR\n)\n\nQUESTION: What award did Andrew Ryder win as producer?\nSQL QUERY:", "completion": "SELECT award FROM table_name_40 WHERE producer_s_ LIKE \"%andrew ryder%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE product (\n product_name VARCHAR\n)\n\nQUESTION: List the names of all the distinct product names in alphabetical order?\nSQL QUERY:", "completion": "SELECT DISTINCT product_name FROM product ORDER BY product_name"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63822 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: what is the lowest week when the attendance is 54,714?\nSQL QUERY:", "completion": "SELECT MIN(\"Week\") FROM table_63822 WHERE \"Attendance\" LIKE '%54,714%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68728 (\n \"Event\" text,\n \"Time\" text,\n \"Venue\" text,\n \"Date\" text,\n \"Notes\" text\n)\n\nQUESTION: What is the time associated with August 16, 2008?\nSQL QUERY:", "completion": "SELECT \"Time\" FROM table_68728 WHERE \"Date\" LIKE '%august 16, 2008%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40645 (\n \"Competition\" text,\n \"Place\" text,\n \"Year\" real,\n \"Horse\" text,\n \"Rank\" text\n)\n\nQUESTION: What is the rank for Burghley?\nSQL QUERY:", "completion": "SELECT \"Rank\" FROM table_40645 WHERE \"Place\" LIKE '%burghley%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n extra_points INTEGER,\n points INTEGER\n)\n\nQUESTION: Whicih Extra points are the average ones that have Points smaller than 6?\nSQL QUERY:", "completion": "SELECT AVG(extra_points) FROM table_name_35 WHERE points < 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n tournament VARCHAR,\n location VARCHAR,\n winner VARCHAR\n)\n\nQUESTION: Which Tournament has a Location of texas, and a Winner of tom watson (39)?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_15 WHERE location LIKE \"%texas%\" AND winner LIKE \"%tom watson (39)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9974 (\n \"Game\" text,\n \"Date\" text,\n \"Home Team\" text,\n \"Result\" text,\n \"Road Team\" text\n)\n\nQUESTION: On what day was Game 7 of this season played?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_9974 WHERE \"Game\" LIKE '%game 7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n result_s_ VARCHAR,\n format_s_ VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Give me the result for a format saying album with 1994 as the year.\nSQL QUERY:", "completion": "SELECT result_s_ FROM table_name_91 WHERE format_s_ LIKE '%album%' AND year = '1994'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n player VARCHAR,\n versus VARCHAR\n)\n\nQUESTION: Who had a versus of sri lanka?\nSQL QUERY:", "completion": "SELECT player FROM table_name_18 WHERE versus LIKE \"%sri lanka%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n status VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the status for 24/11/1979?\nSQL QUERY:", "completion": "SELECT status FROM table_name_86 WHERE date LIKE \"%24/11/1979%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n builder VARCHAR,\n ship VARCHAR\n)\n\nQUESTION: Who was the builder of Nor?\nSQL QUERY:", "completion": "SELECT builder FROM table_name_12 WHERE ship LIKE \"%nor%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29633639_1 (\n average INTEGER,\n chinese_title VARCHAR\n)\n\nQUESTION: what is the number of the average of the drama titled\nSQL QUERY:", "completion": "SELECT MAX(average) FROM table_29633639_1 WHERE chinese_title LIKE \"%魚躍在花見%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n catches VARCHAR,\n player VARCHAR\n)\n\nQUESTION: How many catches does hh dippenaar have?\nSQL QUERY:", "completion": "SELECT catches FROM table_name_59 WHERE player LIKE \"%hh dippenaar%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63807 (\n \"Rank\" real,\n \"Rowers\" text,\n \"Country\" text,\n \"Time\" text,\n \"Notes\" text\n)\n\nQUESTION: What shows for notes when rank is more than 4, and country is South Korea?\nSQL QUERY:", "completion": "SELECT \"Notes\" FROM table_63807 WHERE \"Rank\" > 4 AND \"Country\" LIKE '%south korea%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69314 (\n \"Year\" real,\n \"Competition\" text,\n \"Venue\" text,\n \"Position\" text,\n \"Notes\" text\n)\n\nQUESTION: What was the competition in 2003?\nSQL QUERY:", "completion": "SELECT \"Competition\" FROM table_69314 WHERE \"Year\" = 2003"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22170495_6 (\n title VARCHAR,\n original_airing_on_e4 VARCHAR\n)\n\nQUESTION: What is the title of the original airing on e4 May 2, 2010?\nSQL QUERY:", "completion": "SELECT title FROM table_22170495_6 WHERE original_airing_on_e4 LIKE '%may 2, 2010%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74197 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Who had the high points when the team was charlotte?\nSQL QUERY:", "completion": "SELECT \"High points\" FROM table_74197 WHERE \"Team\" LIKE '%charlotte%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n year VARCHAR,\n champion VARCHAR,\n runner_up VARCHAR\n)\n\nQUESTION: What year was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up?\nSQL QUERY:", "completion": "SELECT year FROM table_name_56 WHERE champion LIKE \"%akron goodyear wingfoots%\" AND runner_up LIKE \"%real madrid%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n korean_dialect VARCHAR,\n capital VARCHAR\n)\n\nQUESTION: What is the Korean dialect in the daegu capital?\nSQL QUERY:", "completion": "SELECT korean_dialect FROM table_name_71 WHERE capital LIKE \"%daegu%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_171361_2 (\n status VARCHAR,\n official_name VARCHAR\n)\n\nQUESTION: Name the total number of status for eldon\nSQL QUERY:", "completion": "SELECT COUNT(status) FROM table_171361_2 WHERE official_name LIKE \"%eldon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n to_par VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What is the player from England's To Par?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_68 WHERE country LIKE \"%england%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2624098_1 (\n old_english_day_name VARCHAR,\n modern_english_day_name VARCHAR\n)\n\nQUESTION: what is the old English name of Saturday?\nSQL QUERY:", "completion": "SELECT old_english_day_name FROM table_2624098_1 WHERE modern_english_day_name LIKE \"%saturday%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n league VARCHAR,\n season VARCHAR\n)\n\nQUESTION: Season of 2012 13 is what league?\nSQL QUERY:", "completion": "SELECT league FROM table_name_68 WHERE season LIKE \"%2012–13%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_143554_1 (\n timeslot VARCHAR,\n season VARCHAR\n)\n\nQUESTION: Name the timeslot for season 5\nSQL QUERY:", "completion": "SELECT timeslot FROM table_143554_1 WHERE season LIKE '%5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22384475_1 (\n winner VARCHAR,\n margin VARCHAR\n)\n\nQUESTION: Who won the match when the margin was 131 runs?\nSQL QUERY:", "completion": "SELECT winner FROM table_22384475_1 WHERE margin LIKE \"%131 runs%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44166 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: What was the 1st leg when team 2 was nov milenium?\nSQL QUERY:", "completion": "SELECT \"1st leg\" FROM table_44166 WHERE \"Team 2\" LIKE '%nov milenium%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n loss VARCHAR,\n opponent VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What was the loss of the game against the Indians when the record was 15-15?\nSQL QUERY:", "completion": "SELECT loss FROM table_name_68 WHERE opponent LIKE \"%indians%\" AND record LIKE \"%15-15%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n date VARCHAR,\n home VARCHAR\n)\n\nQUESTION: What is the date when the Lakers were the home team?\nSQL QUERY:", "completion": "SELECT date FROM table_name_1 WHERE home LIKE \"%lakers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n date VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: What day is south melbourne at home?\nSQL QUERY:", "completion": "SELECT date FROM table_name_71 WHERE home_team LIKE \"%south melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n tournament VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What is Tournament, when Week is November 23?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_64 WHERE week LIKE \"%november 23%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the opponent for july 21?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_35 WHERE date LIKE \"%july 21%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n result VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What was the result of week 11?\nSQL QUERY:", "completion": "SELECT result FROM table_name_1 WHERE week LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16225 (\n \"Week\" real,\n \"Opponent\" text,\n \"Result\" text,\n \"Stadium\" text,\n \"Record\" text,\n \"Attendance\" real\n)\n\nQUESTION: In which stadium is the week 5 game played?\nSQL QUERY:", "completion": "SELECT \"Stadium\" FROM table_16225 WHERE \"Week\" = 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51132 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What is To Par, when Place is 3?\nSQL QUERY:", "completion": "SELECT \"To par\" FROM table_51132 WHERE \"Place\" LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51738 (\n \"Rank\" real,\n \"Constituency\" text,\n \"Winning party 2003\" text,\n \"Swing to gain\" real,\n \"Labour's place 2003\" text,\n \"Result\" text\n)\n\nQUESTION: Can you tell me Labour's place 2003 that has the Result of con hold, and the Constituency of ayr?\nSQL QUERY:", "completion": "SELECT \"Labour's place 2003\" FROM table_51738 WHERE \"Result\" LIKE '%con hold%' AND \"Constituency\" LIKE '%ayr%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n runner_s__up VARCHAR,\n margin_of_victory VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?\nSQL QUERY:", "completion": "SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory LIKE \"%1 stroke%\" AND tournament LIKE \"%world seniors invitational%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n score_in_the_final VARCHAR,\n surface VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the score in the final of the tournament with a clay surface on 18 April 2011?\nSQL QUERY:", "completion": "SELECT score_in_the_final FROM table_name_88 WHERE surface LIKE '%clay%' AND date LIKE '%18 april 2011%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the final score for the match held on April 11, 2007?\nSQL QUERY:", "completion": "SELECT score FROM table_name_68 WHERE date LIKE \"%april 11, 2007%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n lane INTEGER,\n country VARCHAR,\n time VARCHAR,\n react VARCHAR\n)\n\nQUESTION: What is the average lane of the athlete from cuba who has a time greater than 22.57 and react less than 0.245?\nSQL QUERY:", "completion": "SELECT AVG(lane) FROM table_name_8 WHERE time > '22.57' AND react < '0.245' AND country LIKE '%cuba%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n part_4 VARCHAR,\n verb_meaning VARCHAR\n)\n\nQUESTION: what is the part 4 when the verb meaning is to steal?\nSQL QUERY:", "completion": "SELECT part_4 FROM table_name_95 WHERE verb_meaning LIKE \"%to steal%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n drawn VARCHAR,\n goals_against VARCHAR,\n lost VARCHAR\n)\n\nQUESTION: How much Drawn has Goals Against of 81, and a Lost larger than 23?\nSQL QUERY:", "completion": "SELECT COUNT(drawn) FROM table_name_95 WHERE goals_against LIKE '%81%' AND lost > '23'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the opponent for may 12\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_73 WHERE date LIKE \"%may 12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n points_against VARCHAR,\n losing_bonus VARCHAR,\n club VARCHAR\n)\n\nQUESTION: How many points were scored against with a losing bonus of 1 for Blaenavon RFC?\nSQL QUERY:", "completion": "SELECT points_against FROM table_name_67 WHERE losing_bonus LIKE \"%1%\" AND club LIKE \"%blaenavon rfc%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1008653_9 (\n capital___endonym__ VARCHAR,\n capital___exonym__ VARCHAR\n)\n\nQUESTION: What is the capital (endonym) where Douglas is the Capital (exonym)?\nSQL QUERY:", "completion": "SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ LIKE \"%douglas%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27882867_4 (\n location_attendance VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Name the location attendance for l 93-105\nSQL QUERY:", "completion": "SELECT location_attendance FROM table_27882867_4 WHERE score LIKE '%l 93-105%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3088 (\n \"Name\" text,\n \"Position\" text,\n \"Period\" text,\n \"Appearances\\u00b9\" real,\n \"Goals\\u00b9\" real,\n \"Nationality\\u00b2\" text\n)\n\nQUESTION: If the name is Patrick Grappin, what is the nationality?\nSQL QUERY:", "completion": "SELECT \"Nationality²\" FROM table_3088 WHERE \"Name\" LIKE '%patrick grappin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n regular_season VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What was the regular season for 2012?\nSQL QUERY:", "completion": "SELECT regular_season FROM table_name_38 WHERE year LIKE \"%2012%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60583 (\n \"Shooter\" text,\n \"Event\" text,\n \"Rank points\" text,\n \"Score points\" text,\n \"Total\" text\n)\n\nQUESTION: What is the score points when the total is 20?\nSQL QUERY:", "completion": "SELECT \"Score points\" FROM table_60583 WHERE \"Total\" LIKE '%20%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13018091_1 (\n drawn VARCHAR,\n club VARCHAR\n)\n\nQUESTION: How many teams drew the widnes vikings?\nSQL QUERY:", "completion": "SELECT COUNT(drawn) FROM table_13018091_1 WHERE club LIKE \"%widnes vikings%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n games VARCHAR,\n match_points VARCHAR\n)\n\nQUESTION: What is the number of games for a club that has 34 match points?\nSQL QUERY:", "completion": "SELECT games FROM table_name_39 WHERE match_points LIKE \"%34%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n weekday VARCHAR,\n against VARCHAR\n)\n\nQUESTION: What weekday has an against of kashima antlers?\nSQL QUERY:", "completion": "SELECT weekday FROM table_name_68 WHERE against LIKE \"%kashima antlers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n played INTEGER,\n points_1 VARCHAR,\n position VARCHAR\n)\n\nQUESTION: WHAT IS THE SUM PLAYED WITH POINTS 1 OF 53, AND POSITION LARGER THAN 3?\nSQL QUERY:", "completion": "SELECT SUM(played) FROM table_name_81 WHERE points_1 LIKE \"%53%\" AND position > \"3\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_360 (\n id number,\n \"year\" number,\n \"host\" text,\n \"gold\" text,\n \"silver\" text,\n \"bronze\" text\n)\n\nQUESTION: what country has won at least eight silvers ?\nSQL QUERY:", "completion": "SELECT \"silver\" FROM table_204_360 GROUP BY \"silver\" HAVING COUNT(*) >= 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45024 (\n \"Player\" text,\n \"Position\" text,\n \"Round\" real,\n \"Overall\" real,\n \"MLB Team\" text\n)\n\nQUESTION: What is Position, when Overall is less than 590, and when Round is 3?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_45024 WHERE \"Overall\" < 590 AND \"Round\" = 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12494 (\n \"Lexton Plains\" text,\n \"Wins\" real,\n \"Byes\" real,\n \"Losses\" real,\n \"Draws\" real,\n \"Against\" real\n)\n\nQUESTION: Which Losses have an Against smaller than 1464, and Draws smaller than 1, and Wins larger than 7?\nSQL QUERY:", "completion": "SELECT MIN(\"Losses\") FROM table_12494 WHERE \"Against\" < 1464 AND \"Draws\" < 1 AND \"Wins\" > 7"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n team VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the team on february 12\nSQL QUERY:", "completion": "SELECT team FROM table_name_68 WHERE date LIKE \"%february 12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n agg VARCHAR,\n team_2 VARCHAR\n)\n\nQUESTION: What is the agg of team 2 Dynamo Moscow?\nSQL QUERY:", "completion": "SELECT agg FROM table_name_2 WHERE team_2 LIKE \"%dynamo moscow%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71606 (\n \"Outcome\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: Name the score which has opponent of stefano galvani\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_71606 WHERE \"Opponent\" LIKE '%stefano galvani%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20785990_2 (\n home_town VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the home town of David Noel?\nSQL QUERY:", "completion": "SELECT home_town FROM table_20785990_2 WHERE name LIKE \"%david noel%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27902171_7 (\n location_attendance VARCHAR,\n high_rebounds VARCHAR\n)\n\nQUESTION: What is the location and attendance for the game where b. benjamin (10) had the high rebounds?\nSQL QUERY:", "completion": "SELECT location_attendance FROM table_27902171_7 WHERE high_rebounds LIKE \"%b. benjamin (10)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11111116_7 (\n title VARCHAR,\n us_viewers__million_ VARCHAR\n)\n\nQUESTION: What were the names of the episodes that had 3.02 million U.S. viewers?\nSQL QUERY:", "completion": "SELECT title FROM table_11111116_7 WHERE us_viewers__million_ LIKE \"%3.02%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342451_38 (\n first_elected VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What year was incumbent william f. stevenson first elected?\nSQL QUERY:", "completion": "SELECT first_elected FROM table_1342451_38 WHERE incumbent LIKE \"%william f. stevenson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n score VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What is the score for the team that has a record of 80-64?\nSQL QUERY:", "completion": "SELECT score FROM table_name_43 WHERE record LIKE \"%80-64%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Residents (\n date_moved_in INTEGER\n)\n\nQUESTION: When is the last day any resident moved in?\nSQL QUERY:", "completion": "SELECT MAX(date_moved_in) FROM Residents"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n season VARCHAR,\n original_airdate VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What is the total number of Season(s), when Original Airdate is January 24, 1999, and when Year is less than 1999?\nSQL QUERY:", "completion": "SELECT COUNT(season) FROM table_name_67 WHERE original_airdate LIKE \"%january 24, 1999%\" AND year < \"1999\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71748 (\n \"Year\" real,\n \"Opponent\" text,\n \"Competition\" text,\n \"Score\" text,\n \"Venue\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was the score with the opponent being New Zealand Warriors?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_71748 WHERE \"Opponent\" LIKE '%new zealand warriors%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32726 (\n \"Rank\" real,\n \"Rider\" text,\n \"Team\" text,\n \"Speed\" text,\n \"Time\" text\n)\n\nQUESTION: Which Rider finished with a speed of 81.91mph?\nSQL QUERY:", "completion": "SELECT \"Rider\" FROM table_32726 WHERE \"Speed\" LIKE '%81.91mph%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n birthplace VARCHAR,\n birthdate VARCHAR,\n jersey__number VARCHAR,\n height__cm_ VARCHAR\n)\n\nQUESTION: What is the Birthplace, when the Jersey # is less than 18, when the Height (cm) is higher than 185, and when the Birthdate is March 3, 1980?\nSQL QUERY:", "completion": "SELECT birthplace FROM table_name_24 WHERE jersey__number < '18' AND height__cm_ > '185' AND birthdate LIKE '%march 3, 1980%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n Id VARCHAR\n)\n\nQUESTION: What is the 2012 result of a tournament that is 2R in 2007, 1R in 2008 and 1R in 2009?\nSQL QUERY:", "completion": "SELECT 2012 FROM table_name_29 WHERE 2009 LIKE '%1r%' AND 2008 LIKE '%1r%' AND 2007 LIKE '%2r%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n year INTEGER,\n runners_up VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What is the average Year when Australia was the runner-up at victoria golf club?\nSQL QUERY:", "completion": "SELECT AVG(year) FROM table_name_8 WHERE runners_up LIKE \"%australia%\" AND venue LIKE \"%victoria golf club%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1166259_1 (\n points VARCHAR,\n lost VARCHAR\n)\n\nQUESTION: How many points are there when the lost is 26?\nSQL QUERY:", "completion": "SELECT points FROM table_1166259_1 WHERE lost LIKE '%26%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n city VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which City has a Date of june 9, 1976?\nSQL QUERY:", "completion": "SELECT city FROM table_name_39 WHERE date LIKE \"%june 9, 1976%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n date VARCHAR,\n ownership VARCHAR\n)\n\nQUESTION: What is the Date of the castle with a Historic Scotland Ownership?\nSQL QUERY:", "completion": "SELECT date FROM table_name_38 WHERE ownership LIKE \"%historic scotland%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n series VARCHAR,\n launch_date VARCHAR\n)\n\nQUESTION: What is Series, when Launch Date is 23 February 2013?\nSQL QUERY:", "completion": "SELECT series FROM table_name_16 WHERE launch_date LIKE \"%23 february 2013%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n extra_points INTEGER,\n touchdowns VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What is the highest number of extra points for players with less than 2 touchdowns and less than 1 point?\nSQL QUERY:", "completion": "SELECT MAX(extra_points) FROM table_name_47 WHERE touchdowns LIKE '%2%' AND points LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What was the score of the home team when Richmond was the away team?\nSQL QUERY:", "completion": "SELECT home_team AS score FROM table_name_42 WHERE away_team LIKE \"%richmond%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n class_a VARCHAR,\n school_year VARCHAR\n)\n\nQUESTION: For what Class A is the school year 1987-88?\nSQL QUERY:", "completion": "SELECT class_a FROM table_name_24 WHERE school_year LIKE \"%1987-88%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n apps INTEGER,\n season VARCHAR,\n division VARCHAR\n)\n\nQUESTION: What is the lowest value for apps in 2009 season in a division less than 1?\nSQL QUERY:", "completion": "SELECT MIN(apps) FROM table_name_86 WHERE season LIKE \"%2009%\" AND division < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n Id VARCHAR\n)\n\nQUESTION: What is the 2003 statistic for the product that had 514,000 tonnes in 2001?\nSQL QUERY:", "completion": "SELECT 2003 FROM table_name_34 WHERE 2001 LIKE \"%514,000 tonnes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46416 (\n \"Name\" text,\n \"Height\" text,\n \"Year\" text,\n \"Hometown\" text,\n \"Club\" text\n)\n\nQUESTION: What hometown was FR Year, and ha Brown's Gymnastics club?\nSQL QUERY:", "completion": "SELECT \"Hometown\" FROM table_46416 WHERE \"Year\" LIKE '%fr%' AND \"Club\" LIKE '%brown''s gymnastics%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n tickets_sold___available VARCHAR,\n city VARCHAR\n)\n\nQUESTION: How many tickets were there sold/available in Barcelona?\nSQL QUERY:", "completion": "SELECT tickets_sold___available FROM table_name_54 WHERE city LIKE '%barcelona%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n result VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What is the result at match reports?\nSQL QUERY:", "completion": "SELECT result FROM table_name_98 WHERE location LIKE \"%match reports%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n first_issue VARCHAR,\n last_issue VARCHAR\n)\n\nQUESTION: What is the First issue date of the title with a Last Issue of July 2010?\nSQL QUERY:", "completion": "SELECT first_issue FROM table_name_1 WHERE last_issue LIKE \"%july 2010%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22181917_2 (\n directed_by VARCHAR,\n us_viewers__millions_ VARCHAR\n)\n\nQUESTION: Who directed the episode that was watched by 6.62 million U.S. viewers?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_22181917_2 WHERE us_viewers__millions_ LIKE \"%6.62%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3561 (\n \"Season\" real,\n \"Series\" text,\n \"Team\" text,\n \"Races\" real,\n \"Wins\" real,\n \"Poles\" real,\n \"F/Laps\" real,\n \"Podiums\" real,\n \"Points\" real,\n \"Position\" text\n)\n\nQUESTION: How many times did he hold 12 poles?\nSQL QUERY:", "completion": "SELECT COUNT(\"F/Laps\") FROM table_3561 WHERE \"Poles\" = 12"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38837 (\n \"Distance\" text,\n \"Time\" text,\n \"Date\" text,\n \"Location\" text,\n \"Notes\" text\n)\n\nQUESTION: What is the notes left for Berlin?\nSQL QUERY:", "completion": "SELECT \"Notes\" FROM table_38837 WHERE \"Location\" LIKE '%berlin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4371 (\n \"Year\" real,\n \"Association\" text,\n \"Category\" text,\n \"Nominated work\" text,\n \"Result\" text\n)\n\nQUESTION: Tell me the result for primetime emmy awards\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_4371 WHERE \"Association\" LIKE '%primetime emmy awards%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n year INTEGER,\n points VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What earliest year with points larger than 68 and a rank of 7th?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_name_71 WHERE points > 68 AND rank LIKE \"%7th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n date VARCHAR,\n week INTEGER\n)\n\nQUESTION: What was the date of the game played after week 15?\nSQL QUERY:", "completion": "SELECT date FROM table_name_86 WHERE week > 15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n high_rebounds VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Who had the most rebounds in the game against Chicago?\nSQL QUERY:", "completion": "SELECT high_rebounds FROM table_name_52 WHERE team LIKE \"%chicago%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n streak VARCHAR,\n game VARCHAR\n)\n\nQUESTION: Which Streak has a Game of 3?\nSQL QUERY:", "completion": "SELECT streak FROM table_name_35 WHERE game LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n Id VARCHAR\n)\n\nQUESTION: What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A?\nSQL QUERY:", "completion": "SELECT 2008 FROM table_name_1 WHERE 2012 LIKE '%1r%' AND 2010 LIKE '%a%' AND 2005 LIKE '%a%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11258 (\n \"Margin\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Venue\" text,\n \"Date\" text\n)\n\nQUESTION: What was the margin of the score 52-12?\nSQL QUERY:", "completion": "SELECT SUM(\"Margin\") FROM table_11258 WHERE \"Score\" LIKE '%52-12%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18590048_1 (\n release_date VARCHAR,\n units_sold__in_millions_ VARCHAR\n)\n\nQUESTION: What day did the platform sell 9.87 million units?\nSQL QUERY:", "completion": "SELECT release_date FROM table_18590048_1 WHERE units_sold__in_millions_ LIKE \"%9.87%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20928661_1 (\n opponent VARCHAR,\n result VARCHAR\n)\n\nQUESTION: Name the number opponent for loss result\nSQL QUERY:", "completion": "SELECT COUNT(opponent) FROM table_20928661_1 WHERE result LIKE '%loss%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21520 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Who was the High Assist in game 1?\nSQL QUERY:", "completion": "SELECT \"High assists\" FROM table_21520 WHERE \"Game\" = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75119 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: What is the attendance for the game on May 25?\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_75119 WHERE \"Date\" LIKE '%may 25%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What day was geelong the away side?\nSQL QUERY:", "completion": "SELECT date FROM table_name_96 WHERE away_team LIKE \"%geelong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n player VARCHAR,\n gender VARCHAR,\n original_season VARCHAR\n)\n\nQUESTION: Who's the player that's male and on the original season of RW: Key West?\nSQL QUERY:", "completion": "SELECT player FROM table_name_36 WHERE gender LIKE \"%male%\" AND original_season LIKE \"%rw: key west%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n year VARCHAR,\n box_office VARCHAR\n)\n\nQUESTION: The box office was $961,147 in what year?\nSQL QUERY:", "completion": "SELECT year FROM table_name_18 WHERE box_office LIKE '%$961,147%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32191 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What is the away side score when footscray is the home side?\nSQL QUERY:", "completion": "SELECT \"Away team score\" FROM table_32191 WHERE \"Home team\" LIKE '%footscray%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17359181_1 (\n points_2 VARCHAR,\n won VARCHAR\n)\n\nQUESTION: What is every value for Points 2 when the value of won is 30?\nSQL QUERY:", "completion": "SELECT points_2 FROM table_17359181_1 WHERE won LIKE '%30%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n record VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What record has January 27 for the date?\nSQL QUERY:", "completion": "SELECT record FROM table_name_49 WHERE date LIKE \"%january 27%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2588674_1 (\n pop_density INTEGER,\n village VARCHAR\n)\n\nQUESTION: What is the population density of mongmong-toto-maite?\nSQL QUERY:", "completion": "SELECT MIN(pop_density) FROM table_2588674_1 WHERE village LIKE \"%mongmong-toto-maite%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n silver VARCHAR,\n total VARCHAR\n)\n\nQUESTION: Who has a total number of 76 silver medals?\nSQL QUERY:", "completion": "SELECT COUNT(silver) FROM table_name_66 WHERE total LIKE '%76%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n game INTEGER,\n date VARCHAR\n)\n\nQUESTION: What is the sum of Game on february 28?\nSQL QUERY:", "completion": "SELECT SUM(game) FROM table_name_52 WHERE date LIKE \"%february 28%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23287683_1 (\n title VARCHAR,\n series__number VARCHAR\n)\n\nQUESTION: How many episodes had a series number of 95?\nSQL QUERY:", "completion": "SELECT COUNT(title) FROM table_23287683_1 WHERE series__number LIKE '%95%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45658 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location\" text,\n \"Record\" text\n)\n\nQUESTION: what is the location on november 23?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_45658 WHERE \"Date\" LIKE '%november 23%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n election VARCHAR\n)\n\nQUESTION: Which 1st Party has an election in 1847?\nSQL QUERY:", "completion": "SELECT 1 AS st_party FROM table_name_28 WHERE election LIKE \"%1847%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_3 (\n id number,\n \"rank\" number,\n \"name\" text,\n \"nationality\" text,\n \"time\" number\n)\n\nQUESTION: how many competitors were from the united states ?\nSQL QUERY:", "completion": "SELECT COUNT(\"name\") FROM table_204_3 WHERE \"nationality\" LIKE '%united states%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n place VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What place did bobby wadkins come in?\nSQL QUERY:", "completion": "SELECT place FROM table_name_13 WHERE player LIKE \"%bobby wadkins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2667438_5 (\n original_air_date VARCHAR,\n no_in_series VARCHAR\n)\n\nQUESTION: What date did series number 32 premiere?\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_2667438_5 WHERE no_in_series LIKE '%32%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_75 (\n team VARCHAR,\n position_in_table VARCHAR\n)\n\nQUESTION: Which Team has a Position in table of 15th (c)?\nSQL QUERY:", "completion": "SELECT team FROM table_name_75 WHERE position_in_table LIKE \"%15th (c)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12962773_10 (\n no VARCHAR,\n height VARCHAR\n)\n\nQUESTION: Which player number is 2.10 meters tall?\nSQL QUERY:", "completion": "SELECT no FROM table_12962773_10 WHERE height LIKE \"%2.10%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41600 (\n \"Round\" text,\n \"Circuit\" text,\n \"Location / State\" text,\n \"Date\" text,\n \"Winner\" text\n)\n\nQUESTION: What is the location/state that has adelaide international raceway as the circuit?\nSQL QUERY:", "completion": "SELECT \"Location / State\" FROM table_41600 WHERE \"Circuit\" LIKE '%adelaide international raceway%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17322817_6 (\n location_attendance VARCHAR,\n game VARCHAR\n)\n\nQUESTION: Name the location attendance for 20\nSQL QUERY:", "completion": "SELECT location_attendance FROM table_17322817_6 WHERE game LIKE '%20%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n original_airdate VARCHAR,\n episode VARCHAR\n)\n\nQUESTION: What date did Episode 2-01 (42) air?\nSQL QUERY:", "completion": "SELECT original_airdate FROM table_name_56 WHERE episode LIKE \"%2-01 (42)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n city VARCHAR,\n iata VARCHAR\n)\n\nQUESTION: Name the city for IATA of llw\nSQL QUERY:", "completion": "SELECT city FROM table_name_32 WHERE iata LIKE \"%llw%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n attendance INTEGER,\n visitor VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the lowest number of people attending the game on May 30 with Colorado as the visitors?\nSQL QUERY:", "completion": "SELECT MIN(attendance) FROM table_name_27 WHERE visitor LIKE '%colorado%' AND date LIKE '%may 30%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342359_15 (\n result VARCHAR,\n first_elected VARCHAR\n)\n\nQUESTION: what's the result with first elected being 1922\nSQL QUERY:", "completion": "SELECT result FROM table_1342359_15 WHERE first_elected LIKE '%1922%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_82 (\n grid INTEGER,\n laps INTEGER\n)\n\nQUESTION: Name the sum of grid with laps more than 97\nSQL QUERY:", "completion": "SELECT SUM(grid) FROM table_name_82 WHERE laps > 97"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29778616_1 (\n price__usd_ INTEGER,\n model VARCHAR\n)\n\nQUESTION: What is the price (usd) for the model pq32mu?\nSQL QUERY:", "completion": "SELECT MIN(price__usd_) FROM table_29778616_1 WHERE model LIKE \"%pq32mu%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n record VARCHAR,\n loss VARCHAR\n)\n\nQUESTION: For the Loss of Plesac (1-5), what is the Record?\nSQL QUERY:", "completion": "SELECT record FROM table_name_18 WHERE loss LIKE \"%plesac (1-5)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76897 (\n \"Rank\" real,\n \"Name\" text,\n \"Nation\" text,\n \"Points\" real,\n \"Placings\" real\n)\n\nQUESTION: How many Placings have Points smaller than 330.84, and a Name of silvo svajger?\nSQL QUERY:", "completion": "SELECT COUNT(\"Placings\") FROM table_76897 WHERE \"Points\" < 330.84 AND \"Name\" LIKE '%silvo svajger%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30775 (\n \"No.\" real,\n \"Name\" text,\n \"Country\" text,\n \"Original channel\" text,\n \"No. of episodes\" real,\n \"Running time\" text,\n \"Launched\" text,\n \"Date\" text,\n \"IRST\" text\n)\n\nQUESTION: How many shows were launched on CBS (2002)?\nSQL QUERY:", "completion": "SELECT COUNT(\"Launched\") FROM table_30775 WHERE \"Original channel\" LIKE '%cbs (2002)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n college_junior_club_team VARCHAR,\n round VARCHAR\n)\n\nQUESTION: Which College/Junior/Club team has a Round of 6?\nSQL QUERY:", "completion": "SELECT college_junior_club_team FROM table_name_13 WHERE round LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n opponent VARCHAR,\n week VARCHAR,\n game_site VARCHAR\n)\n\nQUESTION: Who did the Jets play in their pre-week 9 game at the Robert F. Kennedy memorial stadium?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_32 WHERE CAST(week AS INTEGER) < 9 AND game_site LIKE '%robert f. kennedy memorial stadium%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20967430_4 (\n prod_code VARCHAR,\n written_by VARCHAR\n)\n\nQUESTION: What is the production code of the episode written by Jack Carrerrow?\nSQL QUERY:", "completion": "SELECT prod_code FROM table_20967430_4 WHERE written_by LIKE \"%jack carrerrow%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_414 (\n id number,\n \"name\" text,\n \"armenian\" text,\n \"location\" text,\n \"# of prisoners designed for\" number,\n \"notes\" text\n)\n\nQUESTION: how many correctional facilities are listed in yerevan ?\nSQL QUERY:", "completion": "SELECT COUNT(\"name\") FROM table_204_414 WHERE \"location\" LIKE '%yerevan%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n wins INTEGER,\n draws VARCHAR,\n byes VARCHAR\n)\n\nQUESTION: What is the highest number of wins when draws are larger than 1, and byes are larger than 0?\nSQL QUERY:", "completion": "SELECT MAX(wins) FROM table_name_59 WHERE draws LIKE '%1%' AND byes LIKE '%0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9784 (\n \"Season\" text,\n \"Round\" text,\n \"Country\" text,\n \"Club\" text,\n \"Home\" text,\n \"Away\" text,\n \"Aggregate\" text\n)\n\nQUESTION: Which country had a round of Q3?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_9784 WHERE \"Round\" LIKE '%q3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66491 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1?\nSQL QUERY:", "completion": "SELECT \"Gold\" FROM table_66491 WHERE \"Total\" > 2 AND \"Bronze\" < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26358 (\n \"Team\" text,\n \"Location\" text,\n \"Home Ground\" text,\n \"First year in Qld Cup\" real,\n \"Last year in Qld Cup\" real,\n \"Qld Cup Premierships\" text\n)\n\nQUESTION: What is every team in the location of Port Moresby?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_26358 WHERE \"Location\" LIKE '%port moresby%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE match_season (\n POSITION VARCHAR\n)\n\nQUESTION: Show the position of players and the corresponding number of players.\nSQL QUERY:", "completion": "SELECT POSITION, COUNT(*) FROM match_season GROUP BY POSITION"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE publication (\n Price VARCHAR,\n Publisher VARCHAR\n)\n\nQUESTION: Show the prices of publications whose publisher is either 'Person' or 'Wiley\nSQL QUERY:", "completion": "SELECT Price FROM publication WHERE Publisher LIKE \"%person%\" OR Publisher LIKE \"%wiley%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_216776_2 (\n pop_density__per_km²_ VARCHAR,\n municipal_mayor VARCHAR\n)\n\nQUESTION: How many people per km2 are there in the municipality whose mayor is Boy Quiat?\nSQL QUERY:", "completion": "SELECT pop_density__per_km²_ FROM table_216776_2 WHERE municipal_mayor LIKE \"%boy quiat%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40405 (\n \"Eliminated\" text,\n \"Wrestler\" text,\n \"Entered\" real,\n \"Eliminated by\" text,\n \"Time\" text\n)\n\nQUESTION: What is the total number of Entered when the eliminated number is 3?\nSQL QUERY:", "completion": "SELECT COUNT(\"Entered\") FROM table_40405 WHERE \"Eliminated\" LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_82 (\n colony_name VARCHAR,\n state VARCHAR\n)\n\nQUESTION: Which Colony Name is in west virginia?\nSQL QUERY:", "completion": "SELECT colony_name FROM table_name_82 WHERE state LIKE \"%west virginia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33898 (\n \"Position\" real,\n \"Name\" text,\n \"Country\" text,\n \"Win-Loss\" text,\n \"Spread\" real\n)\n\nQUESTION: What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_33898 WHERE \"Spread\" > -319 AND \"Country\" LIKE '%united states%' AND \"Win-Loss\" LIKE '%11-13%' AND \"Name\" LIKE '%gabriel, marty%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n surface VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What is Surface, when Tournament is 'Sunderland , United Kingdom'?\nSQL QUERY:", "completion": "SELECT surface FROM table_name_4 WHERE tournament LIKE \"%sunderland , united kingdom%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n result VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the Result of the game on 10/11/1930?\nSQL QUERY:", "completion": "SELECT result FROM table_name_63 WHERE date LIKE \"%10/11/1930%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n time_retired VARCHAR,\n points VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: What Time/Retired has a Points that's smaller than 11 and has a Laps of 74?\nSQL QUERY:", "completion": "SELECT time_retired FROM table_name_48 WHERE CAST(points AS INTEGER) < 11 AND laps LIKE '%74%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29914 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What were the high points on March 25?\nSQL QUERY:", "completion": "SELECT \"High points\" FROM table_29914 WHERE \"Date\" LIKE '%march 25%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23453931_8 (\n score VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What was the score when they had 62 points?\nSQL QUERY:", "completion": "SELECT score FROM table_23453931_8 WHERE points LIKE '%62%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n notes VARCHAR,\n athlete VARCHAR\n)\n\nQUESTION: what is the notes for andre vonarburg?\nSQL QUERY:", "completion": "SELECT notes FROM table_name_24 WHERE athlete LIKE \"%andre vonarburg%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n level VARCHAR,\n season INTEGER\n)\n\nQUESTION: What Level has a Season larger than 2010?\nSQL QUERY:", "completion": "SELECT level FROM table_name_54 WHERE season > 2010"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n torque VARCHAR,\n model VARCHAR,\n years VARCHAR\n)\n\nQUESTION: What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010 ?\nSQL QUERY:", "completion": "SELECT torque FROM table_name_37 WHERE model LIKE \"%2.0 bitdi (cr) dpf%\" AND years LIKE \"%2010–%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22583466_5 (\n reporters VARCHAR,\n year VARCHAR\n)\n\nQUESTION: In 1976, who was the reporter for the Belmont Stakes?\nSQL QUERY:", "completion": "SELECT reporters FROM table_22583466_5 WHERE year LIKE '%1976%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n tonnage__grt_ INTEGER,\n fate VARCHAR\n)\n\nQUESTION: How much tonnage was damaged?\nSQL QUERY:", "completion": "SELECT SUM(tonnage__grt_) FROM table_name_35 WHERE fate LIKE \"%damaged%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_59511 (\n \"Shooter\" text,\n \"Event\" text,\n \"Rank points\" text,\n \"Score points\" text,\n \"Total\" text\n)\n\nQUESTION: What Score points has a Rank points of defending champion?\nSQL QUERY:", "completion": "SELECT \"Score points\" FROM table_59511 WHERE \"Rank points\" LIKE '%defending champion%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35260 (\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze smaller than 0 had what sum of gold?\nSQL QUERY:", "completion": "SELECT SUM(\"Gold\") FROM table_35260 WHERE \"Silver\" > 0 AND \"Total\" < 3 AND \"Nation\" LIKE '%bulgaria%' AND \"Bronze\" < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36588 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Decision\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: What is the team's record when vancouver was at home?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_36588 WHERE \"Home\" LIKE '%vancouver%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n visitor VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Who was the visiting team when the score was 1 3?\nSQL QUERY:", "completion": "SELECT visitor FROM table_name_16 WHERE score LIKE \"%1–3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75680 (\n \"Name\" text,\n \"State\" text,\n \"Status\" text,\n \"Title\" text,\n \"Appointment\" text,\n \"Credentials Presented\" text\n)\n\nQUESTION: What is the title for david campbell mulford?\nSQL QUERY:", "completion": "SELECT \"Title\" FROM table_75680 WHERE \"Name\" LIKE '%david campbell mulford%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52986 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: Which Grid did Alain Prost drive on?\nSQL QUERY:", "completion": "SELECT SUM(\"Grid\") FROM table_52986 WHERE \"Driver\" LIKE '%alain prost%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE STUDENT (\n Age INTEGER,\n Major VARCHAR\n)\n\nQUESTION: What are the maximum and minimum age of students with major 600?\nSQL QUERY:", "completion": "SELECT MAX(Age), MIN(Age) FROM STUDENT WHERE Major LIKE '%600%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32017 (\n \"Ship\" text,\n \"Guns\" text,\n \"Class\" text,\n \"Captain\" text,\n \"Rank\" text,\n \"Year\" text\n)\n\nQUESTION: Tell me the class for admiral and hms frobisher\nSQL QUERY:", "completion": "SELECT \"Class\" FROM table_32017 WHERE \"Rank\" LIKE '%admiral%' AND \"Ship\" LIKE '%hms frobisher%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_test_10 (\n \"id\" int,\n \"left_ventricular_ejection_fraction_lvef\" int,\n \"systolic_blood_pressure_sbp\" int,\n \"immunosuppressive_disease\" bool,\n \"systolic_arterial_pressure_sap\" int,\n \"lymphomas\" bool,\n \"left_ventricular_dysfunction\" bool,\n \"tissue_hypoperfusion\" bool,\n \"heart_disease\" bool,\n \"renal_disease\" bool,\n \"positive_hiv\" bool,\n \"estimated_glomerular_filtration_rate_egfr\" int,\n \"cardiogenic_shock\" bool,\n \"pci\" int,\n \"heart_rate\" int,\n \"cancer\" bool,\n \"serum_creatinine\" float,\n \"hepatitis\" bool,\n \"cardiomyopathy\" bool,\n \"systemic_hypotension\" bool,\n \"hypertension\" bool,\n \"NOUSE\" float\n)\n\nQUESTION: systolic blood pressure < 100 mm hg\nSQL QUERY:", "completion": "SELECT * FROM table_test_10 WHERE systolic_blood_pressure_sbp < 100"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23036 (\n \"Application\" text,\n \"Latest release date and version\" text,\n \"Developed by\" text,\n \"Platforms\" text,\n \"Mainly Used For\" text,\n \"License\" text\n)\n\nQUESTION: Name the license for 2009-05-25 v 7.61\nSQL QUERY:", "completion": "SELECT \"License\" FROM table_23036 WHERE \"Latest release date and version\" LIKE '%2009-05-25 v 7.61%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46294 (\n \"1st throw\" real,\n \"2nd throw\" real,\n \"3rd throw\" real,\n \"Equation\" text,\n \"Result\" real\n)\n\nQUESTION: What is the sum of 3rd Throw, when Result is greater than 546, and when 1st Throw is less than 9?\nSQL QUERY:", "completion": "SELECT SUM(\"3rd throw\") FROM table_46294 WHERE \"Result\" > 546 AND \"1st throw\" < 9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Employee (\n name VARCHAR,\n salary INTEGER\n)\n\nQUESTION: Show names for all employees with salary more than the average.\nSQL QUERY:", "completion": "SELECT name FROM Employee WHERE salary > (SELECT AVG(salary) FROM Employee)"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_42023 (\n \"Rank\" real,\n \"Name\" text,\n \"Team\" text,\n \"Games\" real,\n \"Points\" real\n)\n\nQUESTION: What are the Highest Games, when Team is Ciudad De La Laguna, and when Points are greater than 357?\nSQL QUERY:", "completion": "SELECT MAX(\"Games\") FROM table_42023 WHERE \"Team\" LIKE '%ciudad de la laguna%' AND \"Points\" > 357"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28336 (\n \"Country\" text,\n \"Exports\" text,\n \"Imports\" text,\n \"Total Trade\" text,\n \"Trade Balance\" text\n)\n\nQUESTION: In which country are there 1,278.13 exports?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_28336 WHERE \"Exports\" LIKE '%1,278.13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n date VARCHAR,\n region VARCHAR,\n format VARCHAR\n)\n\nQUESTION: What is the date for a CD format with a Region of Europe?\nSQL QUERY:", "completion": "SELECT date FROM table_name_54 WHERE region LIKE '%europe%' AND format LIKE '%cd%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n Id VARCHAR\n)\n\nQUESTION: What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?\nSQL QUERY:", "completion": "SELECT 1995 FROM table_name_81 WHERE 1997 LIKE \"%lq%\" AND 1989 LIKE \"%1r%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48497 (\n \"Date\" text,\n \"Round\" text,\n \"Opponent\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What was the result in round qf?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_48497 WHERE \"Round\" LIKE '%qf%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n season VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which Season has a Score of 3 3 aet , 4 3 pen\nSQL QUERY:", "completion": "SELECT season FROM table_name_31 WHERE score LIKE \"%3 – 3 aet , 4–3 pen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44562 (\n \"Coach\" text,\n \"Years\" text,\n \"Win-Loss\" text,\n \"Win %\" text,\n \"Conference Titles\" text\n)\n\nQUESTION: What is Win %, when Conference Titles is 0, and when Win-Loss is 20-10?\nSQL QUERY:", "completion": "SELECT \"Win %\" FROM table_44562 WHERE \"Conference Titles\" LIKE '%0%' AND \"Win-Loss\" LIKE '%20-10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76448 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Which Bronze has a Rank of 3, and a Silver larger than 0?\nSQL QUERY:", "completion": "SELECT MIN(\"Bronze\") FROM table_76448 WHERE \"Rank\" = 3 AND \"Silver\" > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n venue VARCHAR,\n goals VARCHAR\n)\n\nQUESTION: Which venue has h.paul 8/9 goals?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_35 WHERE goals LIKE \"%h.paul 8/9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50293 (\n \"Parameter\" text,\n \"1st stage\" text,\n \"2nd stage\" text,\n \"3rd stage\" text,\n \"4th stage\" text\n)\n\nQUESTION: What is the second stage that has the third phase of 20kn?\nSQL QUERY:", "completion": "SELECT \"2nd stage\" FROM table_50293 WHERE \"3rd stage\" LIKE '%20kn%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6714 (\n \"Season\" text,\n \"Competition\" text,\n \"Round\" text,\n \"Opponent\" text,\n \"Home\" text,\n \"Away\" text,\n \"Agg.\" text\n)\n\nQUESTION: Which Away has a Competition of uefa cup, and an Opponent of anderlecht?\nSQL QUERY:", "completion": "SELECT \"Away\" FROM table_6714 WHERE \"Competition\" LIKE '%uefa cup%' AND \"Opponent\" LIKE '%anderlecht%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25679312_2 (\n directed_by VARCHAR,\n prod_code VARCHAR\n)\n\nQUESTION: Who directed the episode with the production code 10?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_25679312_2 WHERE prod_code LIKE '%10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16577990_1 (\n size_in_km² INTEGER,\n central_forest_reserve VARCHAR\n)\n\nQUESTION: What is the size of Itwara central forest reserve?\nSQL QUERY:", "completion": "SELECT MIN(size_in_km²) FROM table_16577990_1 WHERE central_forest_reserve LIKE '%itwara%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58914 (\n \"Season\" text,\n \"League\" text,\n \"Teams\" text,\n \"Home\" text,\n \"Away\" text\n)\n\nQUESTION: What teams has 1-5 as the away?\nSQL QUERY:", "completion": "SELECT \"Teams\" FROM table_58914 WHERE \"Away\" LIKE '%1-5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16799784_14 (\n name VARCHAR,\n longitude VARCHAR\n)\n\nQUESTION: What is the name of feature with a longitude 246.0e?\nSQL QUERY:", "completion": "SELECT name FROM table_16799784_14 WHERE longitude LIKE \"%246.0e%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_469 (\n id number,\n \"year\" text,\n \"round\" text,\n \"position\" number,\n \"matches\" number,\n \"wins\" number,\n \"draws\" number,\n \"losses\" number,\n \"gf\" number,\n \"ga\" number\n)\n\nQUESTION: which year had the most matches , 1998 or 2002 ?\nSQL QUERY:", "completion": "SELECT \"year\" FROM table_203_469 WHERE \"year\" IN ('1998', '2002') ORDER BY \"matches\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52711 (\n \"Rank\" real,\n \"Mountain Peak\" text,\n \"State\" text,\n \"Mountain Range\" text,\n \"Location\" text\n)\n\nQUESTION: Which state is West Spanish Peak in?\nSQL QUERY:", "completion": "SELECT \"State\" FROM table_52711 WHERE \"Mountain Peak\" LIKE '%west spanish peak%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4742 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Where did Melbourne play as the away team?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_4742 WHERE \"Away team\" LIKE '%melbourne%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE catalogs (\n catalog_publisher VARCHAR\n)\n\nQUESTION: Find all the catalog publishers whose name contains 'Murray\nSQL QUERY:", "completion": "SELECT DISTINCT (catalog_publisher) FROM catalogs WHERE catalog_publisher LIKE \"%murray%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64971 (\n \"Governor\" text,\n \"Took office\" text,\n \"Left office\" text,\n \"Party\" text,\n \"Lieutenant Governor\" text,\n \"Terms\" text\n)\n\nQUESTION: Which governor took office on January 8, 1877?\nSQL QUERY:", "completion": "SELECT \"Governor\" FROM table_64971 WHERE \"Took office\" LIKE '%january 8, 1877%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25610 (\n \"Season\" text,\n \"Name\" text,\n \"Teams\" real,\n \"Relegated to League\" text,\n \"Promoted to League\" text,\n \"Promoted from League\" text,\n \"Relegated from League\" text\n)\n\nQUESTION: Name the name for henley manchester\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_25610 WHERE \"Promoted to League\" LIKE '%henley manchester%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38014 (\n \"Name\" text,\n \"Life\" text,\n \"Age at death\" text,\n \"First contact with Hitler\" text,\n \"Relationship\" text\n)\n\nQUESTION: What is the lifespan of Stefanie Rabatsch?\nSQL QUERY:", "completion": "SELECT \"Life\" FROM table_38014 WHERE \"Name\" LIKE '%stefanie rabatsch%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n field_goals INTEGER,\n touchdowns VARCHAR,\n points VARCHAR\n)\n\nQUESTION: How many field goals were there, where the points where less than 45 and there were less than 15 touchdowns?\nSQL QUERY:", "completion": "SELECT AVG(field_goals) FROM table_name_79 WHERE touchdowns < '15' AND points < '45'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58267 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Series\" text\n)\n\nQUESTION: What is the home team of the game on April 20?\nSQL QUERY:", "completion": "SELECT \"Home\" FROM table_58267 WHERE \"Date\" LIKE '%april 20%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38167 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Record\" text,\n \"Game Site\" text,\n \"Attendance\" real\n)\n\nQUESTION: Who was the Opponent with a Result of l 17 24?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_38167 WHERE \"Result\" LIKE '%l 17–24%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n draws INTEGER,\n wins INTEGER\n)\n\nQUESTION: Which Draws have Wins larger than 14?\nSQL QUERY:", "completion": "SELECT SUM(draws) FROM table_name_23 WHERE wins > 14"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53564 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What day did the VFL play at Junction Oval?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_53564 WHERE \"Venue\" LIKE '%junction oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n score VARCHAR,\n game VARCHAR\n)\n\nQUESTION: When the game is listed as 2, what is the score?\nSQL QUERY:", "completion": "SELECT score FROM table_name_81 WHERE game LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_101196_1 (\n population VARCHAR,\n irish_name VARCHAR\n)\n\nQUESTION: What is the population for the Irish Name Leitir meall in?\nSQL QUERY:", "completion": "SELECT population FROM table_101196_1 WHERE irish_name LIKE \"%leitir mealláin%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n assists INTEGER,\n rank VARCHAR,\n games VARCHAR\n)\n\nQUESTION: What is the largest number of assists for the second rank when there were less than 2 games?\nSQL QUERY:", "completion": "SELECT MAX(assists) FROM table_name_71 WHERE rank LIKE '%2%' AND games < '2'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342233_11 (\n candidates VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Which candidates are associated with the Georgia 7 district?\nSQL QUERY:", "completion": "SELECT candidates FROM table_1342233_11 WHERE district LIKE \"%georgia 7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n tournament VARCHAR\n)\n\nQUESTION: Name the 2012 for us open\nSQL QUERY:", "completion": "SELECT 2012 FROM table_name_55 WHERE tournament LIKE \"%us open%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61494 (\n \"Rank\" real,\n \"Airport\" text,\n \"Passengers\" real,\n \"Aircraft Movements\" real,\n \"Carriers\" text\n)\n\nQUESTION: What is the smallest rank for passengers more than 73,754?\nSQL QUERY:", "completion": "SELECT MIN(\"Rank\") FROM table_61494 WHERE \"Passengers\" > 73754"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5981 (\n \"Stage\" real,\n \"Date\" text,\n \"Course\" text,\n \"Distance\" text,\n \"Winner\" text\n)\n\nQUESTION: what is the winner of stage 3\nSQL QUERY:", "completion": "SELECT \"Winner\" FROM table_5981 WHERE \"Stage\" = 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1876825_5 (\n written_by VARCHAR,\n no_in_series VARCHAR\n)\n\nQUESTION: Who wrote episode 74?\nSQL QUERY:", "completion": "SELECT written_by FROM table_1876825_5 WHERE no_in_series LIKE '%74%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n driver VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: Who drove the grid 11 car?\nSQL QUERY:", "completion": "SELECT driver FROM table_name_43 WHERE grid LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n division VARCHAR,\n wins VARCHAR\n)\n\nQUESTION: Which MLB division has a win record of 76?\nSQL QUERY:", "completion": "SELECT division FROM table_name_26 WHERE wins LIKE \"%76%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3002894_4 (\n apple VARCHAR,\n sonnet VARCHAR\n)\n\nQUESTION: When 4 mb is the sonnet what is the apple?\nSQL QUERY:", "completion": "SELECT apple FROM table_3002894_4 WHERE sonnet LIKE \"%4 mb%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14236 (\n \"School\" text,\n \"Mascot\" text,\n \"Location\" text,\n \"Size\" real,\n \"IHSAA Class\" text,\n \"County\" text\n)\n\nQUESTION: What is the lowest size of the school with titans as the mascot?\nSQL QUERY:", "completion": "SELECT MIN(\"Size\") FROM table_14236 WHERE \"Mascot\" LIKE '%titans%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n winner VARCHAR,\n fourth VARCHAR\n)\n\nQUESTION: Who was the Winner when Selby Riddle came in Fourth?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_26 WHERE fourth LIKE \"%selby riddle%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72682 (\n \"Player\" text,\n \"No.\" real,\n \"Nationality\" text,\n \"Position\" text,\n \"Years in Orlando\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: What jersey number did Al Harrington wear\nSQL QUERY:", "completion": "SELECT MAX(\"No.\") FROM table_72682 WHERE \"Player\" LIKE '%al harrington%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1404984_1 (\n digital_channel VARCHAR,\n network VARCHAR\n)\n\nQUESTION: What is JCTV's digital channel?\nSQL QUERY:", "completion": "SELECT digital_channel FROM table_1404984_1 WHERE network LIKE '%jctv%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23680576_2 (\n nov_2008 VARCHAR,\n aug_2008 VARCHAR\n)\n\nQUESTION: What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008?\nSQL QUERY:", "completion": "SELECT nov_2008 FROM table_23680576_2 WHERE aug_2008 LIKE \"%1.7%%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n grid VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What was the grid number of the team and driver with 14 points?\nSQL QUERY:", "completion": "SELECT grid FROM table_name_9 WHERE points LIKE \"%14%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17355408_7 (\n record VARCHAR,\n high_assists VARCHAR\n)\n\nQUESTION: High assists belonging to Carmelo Anthony (11) have a record of what?\nSQL QUERY:", "completion": "SELECT record FROM table_17355408_7 WHERE high_assists LIKE \"%carmelo anthony (11)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61813 (\n \"Opposing Teams\" text,\n \"Against\" real,\n \"Date\" text,\n \"Venue\" text,\n \"Status\" text\n)\n\nQUESTION: What Status has a Date of 18/03/1989?\nSQL QUERY:", "completion": "SELECT \"Status\" FROM table_61813 WHERE \"Date\" LIKE '%18/03/1989%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n govt_salary VARCHAR,\n romanised_name VARCHAR\n)\n\nQUESTION: What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth?\nSQL QUERY:", "completion": "SELECT govt_salary FROM table_name_19 WHERE romanised_name LIKE '%chen wei-on, kenneth%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_910 (\n id number,\n \"rank\" number,\n \"name\" text,\n \"nationality\" text,\n \"result\" number,\n \"notes\" text\n)\n\nQUESTION: what nationality was the woman who won first place ?\nSQL QUERY:", "completion": "SELECT \"nationality\" FROM table_204_910 WHERE id = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n competition VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What was the competition held in 2003?\nSQL QUERY:", "completion": "SELECT competition FROM table_name_17 WHERE year LIKE '%2003%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n total INTEGER,\n nation VARCHAR,\n gold VARCHAR\n)\n\nQUESTION: What is the full amount of Total for Austria when the number of gold is less than 0?\nSQL QUERY:", "completion": "SELECT SUM(total) FROM table_name_45 WHERE nation LIKE '%austria%' AND gold < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n school VARCHAR,\n city VARCHAR\n)\n\nQUESTION: What school is in hillsboro city?\nSQL QUERY:", "completion": "SELECT school FROM table_name_53 WHERE city LIKE \"%hillsboro%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n year_made VARCHAR,\n fleet_number_s_ VARCHAR\n)\n\nQUESTION: What is the Year for fleet number 5000?\nSQL QUERY:", "completion": "SELECT year_made FROM table_name_98 WHERE fleet_number_s_ LIKE '%5000%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19495707_1 (\n developed_by VARCHAR,\n application VARCHAR\n)\n\nQUESTION: Name the number of developed by for solid edge\nSQL QUERY:", "completion": "SELECT COUNT(developed_by) FROM table_19495707_1 WHERE application LIKE \"%solid edge%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n winner VARCHAR,\n season VARCHAR\n)\n\nQUESTION: Which Winner has a Season of 2005 06?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_15 WHERE season LIKE \"%2005–06%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7610 (\n \"Name\" text,\n \"GP-GS\" real,\n \"Effic\" text,\n \"Att-Cmp-Int\" text,\n \"Avg/G\" real\n)\n\nQUESTION: How many gp-gs have 121.70 as an effic and an avg/g less than 218.7?\nSQL QUERY:", "completion": "SELECT COUNT(\"GP-GS\") FROM table_7610 WHERE \"Effic\" LIKE '%121.70%' AND \"Avg/G\" < 218.7"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37802 (\n \"Tournament\" text,\n \"Wins\" real,\n \"Top-5\" real,\n \"Top-10\" real,\n \"Top-25\" real,\n \"Events\" real,\n \"Cuts made\" real\n)\n\nQUESTION: What is the total of wins where the top 25 is 6, top 10 is more than 2, and the event number is less than 19?\nSQL QUERY:", "completion": "SELECT SUM(\"Wins\") FROM table_37802 WHERE \"Top-25\" = 6 AND \"Top-10\" > 2 AND \"Events\" < 19"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n score VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: what is the score when the home team is sunderland?\nSQL QUERY:", "completion": "SELECT score FROM table_name_91 WHERE home_team LIKE \"%sunderland%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n place VARCHAR,\n country VARCHAR\n)\n\nQUESTION: what is the place for ireland?\nSQL QUERY:", "completion": "SELECT place FROM table_name_64 WHERE country LIKE \"%ireland%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n film_title_used_in_nomination VARCHAR,\n original_title VARCHAR\n)\n\nQUESTION: What is Dependencia Sexual's film title that was used in its nomination?\nSQL QUERY:", "completion": "SELECT film_title_used_in_nomination FROM table_name_2 WHERE original_title LIKE \"%dependencia sexual%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24099 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Bruins points\" real,\n \"Opponents\" real,\n \"Record\" text\n)\n\nQUESTION: Santa Clara was played how many times?\nSQL QUERY:", "completion": "SELECT \"Opponents\" FROM table_24099 WHERE \"Opponent\" LIKE '%santa clara%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27987767_3 (\n eliminated_from_competition VARCHAR,\n proceed_to_quarter_final VARCHAR\n)\n\nQUESTION: When brive is the proceed to quarter final how many were eliminated from competition?\nSQL QUERY:", "completion": "SELECT COUNT(eliminated_from_competition) FROM table_27987767_3 WHERE proceed_to_quarter_final LIKE \"%brive%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n date VARCHAR,\n week VARCHAR\n)\n\nQUESTION: Tell me the date with week of 13\nSQL QUERY:", "completion": "SELECT date FROM table_name_21 WHERE week LIKE '%13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14342367_15 (\n field_goals__5_points_ INTEGER\n)\n\nQUESTION: How many 5 points field goals is minimum\nSQL QUERY:", "completion": "SELECT MIN(field_goals__5_points_) FROM table_14342367_15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27902171_5 (\n date VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What is every date with game 23?\nSQL QUERY:", "completion": "SELECT date FROM table_27902171_5 WHERE game LIKE '%23%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47964 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was week 17's date?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_47964 WHERE \"Week\" = 17"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE stadium (\n city VARCHAR,\n opening_year INTEGER\n)\n\nQUESTION: How many cities have a stadium that was opened before the year of 2006?\nSQL QUERY:", "completion": "SELECT COUNT(DISTINCT city) FROM stadium WHERE opening_year < 2006"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n Id VARCHAR\n)\n\nQUESTION: Which 1989's 1991 and 1994 stats were 1r?\nSQL QUERY:", "completion": "SELECT 1989 FROM table_name_81 WHERE 1991 LIKE '%1r%' AND 1994 LIKE '%1r%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22809 (\n \"Episode title\" text,\n \"Subject\" text,\n \"Music by\" text,\n \"Performed by\" text,\n \"First aired\" real\n)\n\nQUESTION: When zachary sanders is the performer what is the lowerst first aired?\nSQL QUERY:", "completion": "SELECT MIN(\"First aired\") FROM table_22809 WHERE \"Performed by\" LIKE '%zachary sanders%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n took_office VARCHAR,\n district VARCHAR,\n party VARCHAR,\n home_town VARCHAR\n)\n\nQUESTION: Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18?\nSQL QUERY:", "completion": "SELECT COUNT(took_office) FROM table_name_81 WHERE party LIKE \"%democratic%\" AND home_town LIKE \"%victoria%\" AND district < 18"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_986 (\n id number,\n \"#\" number,\n \"event year\" number,\n \"season\" text,\n \"flag bearer\" text\n)\n\nQUESTION: how many total different people have born the glad for samoa at the olympics ?\nSQL QUERY:", "completion": "SELECT COUNT(DISTINCT \"flag bearer\") FROM table_204_986"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24765815_1 (\n score VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What was the score for the 1st ranked team?\nSQL QUERY:", "completion": "SELECT score FROM table_24765815_1 WHERE rank LIKE \"%1st%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_262481_2 (\n location VARCHAR,\n institution VARCHAR\n)\n\nQUESTION: where is Fisk University located?\nSQL QUERY:", "completion": "SELECT location FROM table_262481_2 WHERE institution LIKE '%fisk university%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n losses INTEGER,\n goal_difference INTEGER\n)\n\nQUESTION: What is the losses when the goal difference is larger than 26?\nSQL QUERY:", "completion": "SELECT MAX(losses) FROM table_name_45 WHERE goal_difference > 26"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n venue VARCHAR,\n competition VARCHAR\n)\n\nQUESTION: What is the Venue of the WCQ5 Competition?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_49 WHERE competition LIKE \"%wcq5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n run_4 INTEGER,\n run_1 VARCHAR,\n run_3 VARCHAR\n)\n\nQUESTION: Which Run 4 has a Run 1 of 57.37, and a Run 3 smaller than 57.45?\nSQL QUERY:", "completion": "SELECT SUM(run_4) FROM table_name_32 WHERE run_1 LIKE '%57.37%' AND run_3 < '57.45'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n score VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What was the score of the player from South Africa?\nSQL QUERY:", "completion": "SELECT score FROM table_name_86 WHERE country LIKE \"%south africa%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20354_5 (\n transcription VARCHAR,\n thai_name VARCHAR\n)\n\nQUESTION: What's the transcription for the Thai name ?\nSQL QUERY:", "completion": "SELECT transcription FROM table_20354_5 WHERE thai_name LIKE \"%พฤษภาคม%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67499 (\n \"Year\" real,\n \"Team\" text,\n \"Co-Drivers\" text,\n \"Class\" text,\n \"Laps\" real,\n \"Pos.\" text,\n \"Class Pos.\" text\n)\n\nQUESTION: Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps?\nSQL QUERY:", "completion": "SELECT \"Class Pos.\" FROM table_67499 WHERE \"Year\" > 1997 AND \"Team\" LIKE '%corvette racing%' AND \"Class\" LIKE '%gt1%' AND \"Laps\" = 327"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22594 (\n \"No. in series\" real,\n \"No. in season\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text,\n \"Production code\" text\n)\n\nQUESTION: What is the production code for episode 26 in the series?\nSQL QUERY:", "completion": "SELECT \"Production code\" FROM table_22594 WHERE \"No. in series\" = 26"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n points_for VARCHAR,\n drawn VARCHAR,\n tries_against VARCHAR\n)\n\nQUESTION: what is the points for when the club has 0 drawn and 60 tries against?\nSQL QUERY:", "completion": "SELECT points_for FROM table_name_71 WHERE drawn LIKE '%0%' AND tries_against LIKE '%60%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n position VARCHAR,\n high_school VARCHAR\n)\n\nQUESTION: What position does the player from malvern prep play?\nSQL QUERY:", "completion": "SELECT position FROM table_name_40 WHERE high_school LIKE \"%malvern prep%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n airport VARCHAR,\n iata VARCHAR\n)\n\nQUESTION: Which airport has an IATA of AMS?\nSQL QUERY:", "completion": "SELECT airport FROM table_name_39 WHERE iata LIKE \"%ams%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n venue VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: Where was the venue that Linfield was the opponent?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_58 WHERE opponent LIKE \"%linfield%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2508633_5 (\n pick__number INTEGER,\n nfl_team VARCHAR\n)\n\nQUESTION: What is the highest pick number the los angeles raiders got?\nSQL QUERY:", "completion": "SELECT MAX(pick__number) FROM table_2508633_5 WHERE nfl_team LIKE \"%los angeles raiders%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70408 (\n \"School\" text,\n \"Team\" text,\n \"Division Record\" text,\n \"Overall Record\" text,\n \"Season Outcome\" text\n)\n\nQUESTION: What is the overall record of Indian River?\nSQL QUERY:", "completion": "SELECT \"Overall Record\" FROM table_70408 WHERE \"School\" LIKE '%indian river%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668243_17 (\n incumbent VARCHAR,\n candidates VARCHAR\n)\n\nQUESTION: Name the incumbent for robert monell (j) 63.6% tilly lynde 36.4%\nSQL QUERY:", "completion": "SELECT incumbent FROM table_2668243_17 WHERE candidates LIKE \"%robert monell (j) 63.6% tilly lynde 36.4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n opponent VARCHAR,\n week VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which Opponent has a Week larger than 2 on november 19, 1995?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_81 WHERE week > '2' AND date LIKE '%november 19, 1995%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n home_team VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: Who is the home team with a tie no. 12?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_70 WHERE tie_no LIKE \"%12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n density__hab_km²_ VARCHAR,\n city_district VARCHAR\n)\n\nQUESTION: What is the density of San Sebasti n?\nSQL QUERY:", "completion": "SELECT density__hab_km²_ FROM table_name_11 WHERE city_district LIKE '%san sebastián%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50630 (\n \"Season\" text,\n \"Series\" text,\n \"Team\" text,\n \"Races\" text,\n \"Wins\" text,\n \"Poles\" text,\n \"F/Laps\" text,\n \"Podiums\" text,\n \"Points\" text,\n \"Position\" text\n)\n\nQUESTION: What are the Podiums that has a Poles of 3?\nSQL QUERY:", "completion": "SELECT \"Podiums\" FROM table_50630 WHERE \"Poles\" LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13262 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Which Bronze has a Silver of 15, and a Total smaller than 54?\nSQL QUERY:", "completion": "SELECT MIN(\"Bronze\") FROM table_13262 WHERE \"Silver\" = 15 AND \"Total\" < 54"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE TRANSACTIONS (\n investor_id VARCHAR,\n share_count INTEGER\n)\n\nQUESTION: Show the average share count of transactions for different investors.\nSQL QUERY:", "completion": "SELECT investor_id, AVG(share_count) FROM TRANSACTIONS GROUP BY investor_id"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37046 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: Who was the visitor on October 31?\nSQL QUERY:", "completion": "SELECT \"Visitor\" FROM table_37046 WHERE \"Date\" LIKE '%october 31%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_41 (\n game VARCHAR,\n opponents VARCHAR\n)\n\nQUESTION: In which game did the opponents score 14 points?\nSQL QUERY:", "completion": "SELECT game FROM table_name_41 WHERE opponents LIKE \"%14%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE airlines (\n country VARCHAR\n)\n\nQUESTION: Which countries has the most number of airlines?\nSQL QUERY:", "completion": "SELECT country FROM airlines GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n date VARCHAR,\n tier VARCHAR\n)\n\nQUESTION: Which date has the tier of Itf $10k?\nSQL QUERY:", "completion": "SELECT date FROM table_name_66 WHERE tier LIKE '%itf $10k%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n player VARCHAR,\n to_par VARCHAR,\n year_s__won VARCHAR\n)\n\nQUESTION: Who won in 1979 with +8 to par?\nSQL QUERY:", "completion": "SELECT player FROM table_name_46 WHERE to_par LIKE '%+8%' AND year_s__won LIKE '%1979%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n partner VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What Partner had a Score of 6 3, 2 6, 6 3?\nSQL QUERY:", "completion": "SELECT partner FROM table_name_31 WHERE score LIKE \"%6–3, 2–6, 6–3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12338595_1 (\n interview VARCHAR,\n state VARCHAR\n)\n\nQUESTION: Which interview score belongs to the state of Nevada contestant?\nSQL QUERY:", "completion": "SELECT interview FROM table_12338595_1 WHERE state LIKE \"%nevada%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n qual VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: What is the qual when there are 125 laps?\nSQL QUERY:", "completion": "SELECT qual FROM table_name_6 WHERE laps LIKE '%125%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12485020_1 (\n ds_division VARCHAR,\n main_town VARCHAR\n)\n\nQUESTION: Kaluvanchikudy is the main town in what DS division?\nSQL QUERY:", "completion": "SELECT ds_division FROM table_12485020_1 WHERE main_town LIKE \"%kaluvanchikudy%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n record VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Tell me the record for december 3\nSQL QUERY:", "completion": "SELECT record FROM table_name_47 WHERE date LIKE \"%december 3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10718631_2 (\n original_air_date VARCHAR,\n no_in_series VARCHAR\n)\n\nQUESTION: When did the 113 episode air?\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_10718631_2 WHERE no_in_series LIKE '%113%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341598_39 (\n district VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: In which district is Robert W. Edgar the incumbent?\nSQL QUERY:", "completion": "SELECT district FROM table_1341598_39 WHERE incumbent LIKE \"%robert w. edgar%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69162 (\n \"Name\" text,\n \"Years\" text,\n \"Gender\" text,\n \"Area\" text,\n \"Authority\" text,\n \"Decile\" text\n)\n\nQUESTION: What genders did Lynmore Primary School take?\nSQL QUERY:", "completion": "SELECT \"Gender\" FROM table_69162 WHERE \"Name\" LIKE '%lynmore primary school%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Which home team had an away team of Reading?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_37 WHERE away_team LIKE \"%reading%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n game VARCHAR,\n location_attendance VARCHAR\n)\n\nQUESTION: What game number was played at amway arena?\nSQL QUERY:", "completion": "SELECT game FROM table_name_86 WHERE location_attendance LIKE \"%amway arena%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n jankovic INTEGER,\n round VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What is the highest result for Jankovic at Indian Wells and round of SF?\nSQL QUERY:", "completion": "SELECT MAX(jankovic) FROM table_name_68 WHERE round LIKE \"%sf%\" AND tournament LIKE \"%indian wells%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n position VARCHAR,\n college VARCHAR\n)\n\nQUESTION: Rutgers college holds what position?\nSQL QUERY:", "completion": "SELECT position FROM table_name_32 WHERE college LIKE \"%rutgers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n golden_point_s__scorer VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What Golden point(s) has the Venue Allianz Stadium?\nSQL QUERY:", "completion": "SELECT golden_point_s__scorer FROM table_name_31 WHERE venue LIKE '%allianz stadium%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE race (\n CLASS VARCHAR\n)\n\nQUESTION: What is the race class with most number of races.\nSQL QUERY:", "completion": "SELECT CLASS FROM race GROUP BY CLASS ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1266602_1 (\n crew_chief VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What's the total number of crew chiefs of the Fas Lane Racing team?\nSQL QUERY:", "completion": "SELECT COUNT(crew_chief) FROM table_1266602_1 WHERE team LIKE \"%fas lane racing%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE airports (\n city VARCHAR,\n country VARCHAR\n)\n\nQUESTION: Return the cities with more than 3 airports in the United States.\nSQL QUERY:", "completion": "SELECT city FROM airports WHERE country LIKE '%united states%' GROUP BY city HAVING COUNT(*) > 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n date VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: Name the date when the visitor is nets\nSQL QUERY:", "completion": "SELECT date FROM table_name_29 WHERE visitor LIKE '%nets%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10875694_11 (\n system VARCHAR,\n title VARCHAR\n)\n\nQUESTION: What is the total number of James Bond 007: Everything or Nothing for each system?\nSQL QUERY:", "completion": "SELECT COUNT(system) FROM table_10875694_11 WHERE title LIKE \"%james bond 007: everything or nothing%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1566852_6 (\n cover_model VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who were the cover model(s) on the 4-05 issue?\nSQL QUERY:", "completion": "SELECT cover_model FROM table_1566852_6 WHERE date LIKE \"%4-05%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n place VARCHAR,\n country VARCHAR,\n to_par VARCHAR\n)\n\nQUESTION: What place is the player from the United States with a to par of e?\nSQL QUERY:", "completion": "SELECT place FROM table_name_1 WHERE country LIKE \"%united states%\" AND to_par LIKE \"%e%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n time VARCHAR,\n speed VARCHAR\n)\n\nQUESTION: What is the time of the rider with a speed of 102.962mph?\nSQL QUERY:", "completion": "SELECT time FROM table_name_92 WHERE speed LIKE \"%102.962mph%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n kilgore__r_ VARCHAR,\n potts__i_ VARCHAR\n)\n\nQUESTION: What was Kilgore's (R) percentage when Potts (I) polled at 1%?\nSQL QUERY:", "completion": "SELECT kilgore__r_ FROM table_name_95 WHERE potts__i_ LIKE \"%1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n year INTEGER,\n position VARCHAR,\n competition VARCHAR\n)\n\nQUESTION: What is the sum of Year(s), when Postion is 6th, and when Competition is Commonwealth Games?\nSQL QUERY:", "completion": "SELECT SUM(year) FROM table_name_68 WHERE position LIKE \"%6th%\" AND competition LIKE \"%commonwealth games%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27515452_3 (\n age INTEGER,\n hometown VARCHAR\n)\n\nQUESTION: what is the oldest and lives in veraguas\nSQL QUERY:", "completion": "SELECT MAX(age) FROM table_27515452_3 WHERE hometown LIKE \"%veraguas%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE campuses (\n campus VARCHAR,\n YEAR VARCHAR\n)\n\nQUESTION: Which campus was opened between 1935 and 1939?\nSQL QUERY:", "completion": "SELECT campus FROM campuses WHERE YEAR >= '1935' AND YEAR <= '1939'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n number INTEGER,\n name VARCHAR\n)\n\nQUESTION: What is Tim Andree's greatest number?\nSQL QUERY:", "completion": "SELECT MAX(number) FROM table_name_50 WHERE name LIKE \"%tim andree%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n tournament VARCHAR\n)\n\nQUESTION: What is 1993, when 1992 is 'SF', and when Tournament is 'Paris'?\nSQL QUERY:", "completion": "SELECT 1993 FROM table_name_7 WHERE 1992 LIKE \"%sf%\" AND tournament LIKE \"%paris%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n other INTEGER,\n albanians VARCHAR,\n roma VARCHAR\n)\n\nQUESTION: Tell me the lowest other for albanians more than 8793 and Roma less than 1030\nSQL QUERY:", "completion": "SELECT MIN(other) FROM table_name_47 WHERE albanians > 8793 AND roma < 1030"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74018 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" text,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%?\nSQL QUERY:", "completion": "SELECT \"District\" FROM table_74018 WHERE \"Party\" LIKE '%federalist%' AND \"Candidates\" LIKE '%william craik (f) 51.0% benjamin edwards 49.0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15362 (\n \"D 48\" text,\n \"D 47\" text,\n \"D 46\" text,\n \"D 45\" text,\n \"D 44\" text,\n \"D 43\" text,\n \"D 42\" text,\n \"D 41\" text\n)\n\nQUESTION: Name the D 43 when it has D 45 of d 25\nSQL QUERY:", "completion": "SELECT \"D 43\" FROM table_15362 WHERE \"D 45\" LIKE '%d 25%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62480 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What is Away Team, when Home Team is 'West Ham United'?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_62480 WHERE \"Home team\" LIKE '%west ham united%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_201_9 (\n id number,\n \"year\" number,\n \"film title\" text,\n \"duration\" text,\n \"film type\" text,\n \"shoot location\" text\n)\n\nQUESTION: list the films that had a collaboration with b. dziworski .\nSQL QUERY:", "completion": "SELECT \"film title\" FROM table_201_9 WHERE \"shoot location\" LIKE '%in collaboration with b. dziworski%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is the Home team at the Blackburn Rovers Away game?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_70 WHERE away_team LIKE \"%blackburn rovers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15187735_6 (\n netflix VARCHAR,\n segment_b VARCHAR\n)\n\nQUESTION: What is the Netflix Episode when the Segment B is s Highlighter?\nSQL QUERY:", "completion": "SELECT netflix FROM table_15187735_6 WHERE segment_b LIKE '%s highlighter%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n city VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the name of the City with December 21 as a Date?\nSQL QUERY:", "completion": "SELECT city FROM table_name_94 WHERE date LIKE \"%december 21%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39671 (\n \"Games\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Points difference\" text,\n \"Points\" real\n)\n\nQUESTION: Which average Drawn has Games larger than 7?\nSQL QUERY:", "completion": "SELECT AVG(\"Drawn\") FROM table_39671 WHERE \"Games\" > 7"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16295365_2 (\n school VARCHAR,\n conf_record VARCHAR\n)\n\nQUESTION: Name the school where conference record is 12-6\nSQL QUERY:", "completion": "SELECT school FROM table_16295365_2 WHERE conf_record LIKE \"%12-6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_171236_1 (\n population VARCHAR,\n census_ranking VARCHAR\n)\n\nQUESTION: If the census ranking is 231 of 5,008, what was the population?\nSQL QUERY:", "completion": "SELECT population FROM table_171236_1 WHERE census_ranking LIKE \"%231 of 5,008%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41378 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: What was the team 1 for the tie that had a first leg score of 2-3?\nSQL QUERY:", "completion": "SELECT \"Team 1\" FROM table_41378 WHERE \"1st leg\" LIKE '%2-3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_647 (\n id number,\n \"year\" number,\n \"film\" text,\n \"role\" text,\n \"language\" text\n)\n\nQUESTION: are there more films in 2008 or 2005 ?\nSQL QUERY:", "completion": "SELECT \"year\" FROM table_204_647 WHERE \"year\" IN (2008, 2005) GROUP BY \"year\" ORDER BY COUNT(\"film\") DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n bullet VARCHAR,\n length VARCHAR\n)\n\nQUESTION: Which bullet has a Length of 33.78 (1.33)?\nSQL QUERY:", "completion": "SELECT bullet FROM table_name_28 WHERE length LIKE \"%33.78 (1.33)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35151 (\n \"Player\" text,\n \"Position\" text,\n \"Round\" real,\n \"Pick\" real,\n \"NFL Club\" text\n)\n\nQUESTION: What club is robert gallery a part of\nSQL QUERY:", "completion": "SELECT \"NFL Club\" FROM table_35151 WHERE \"Player\" LIKE '%robert gallery%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12108 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score\" text\n)\n\nQUESTION: What date was the game played on the hard surface at the Tournament of Sweden f2?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_12108 WHERE \"Surface\" LIKE '%hard%' AND \"Tournament\" LIKE '%sweden f2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16494599_1 (\n position VARCHAR,\n years_for_grizzlies VARCHAR\n)\n\nQUESTION: What position is the player who was on the Grizzlies from 1995-1996?\nSQL QUERY:", "completion": "SELECT position FROM table_16494599_1 WHERE years_for_grizzlies LIKE \"%1995-1996%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21692771_1 (\n maturity VARCHAR,\n coupon VARCHAR\n)\n\nQUESTION: What is the maturity that has a coupon of exactly 0.726?\nSQL QUERY:", "completion": "SELECT maturity FROM table_21692771_1 WHERE coupon LIKE \"%0.726%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n traditional VARCHAR,\n population VARCHAR\n)\n\nQUESTION: What shows for traditional when the population was 44,803?\nSQL QUERY:", "completion": "SELECT traditional FROM table_name_14 WHERE population LIKE \"%44,803%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24990183_5 (\n ws_points VARCHAR\n)\n\nQUESTION: What was the 09-10 oi best of the player with 949 points?\nSQL QUERY:", "completion": "SELECT COUNT(*) AS _10_oi_best FROM table_24990183_5 WHERE ws_points LIKE '%949%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Which date did South Melbourne play as the away team?\nSQL QUERY:", "completion": "SELECT date FROM table_name_74 WHERE away_team LIKE \"%south melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_469 (\n id number,\n \"year\" text,\n \"round\" text,\n \"position\" number,\n \"matches\" number,\n \"wins\" number,\n \"draws\" number,\n \"losses\" number,\n \"gf\" number,\n \"ga\" number\n)\n\nQUESTION: how many total goals have been scored against croatia in the world cup ?\nSQL QUERY:", "completion": "SELECT SUM(\"ga\") FROM table_203_469"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n result VARCHAR,\n venue VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Who won the game at Dairy farmers stadium with a score of 28-24?\nSQL QUERY:", "completion": "SELECT result FROM table_name_66 WHERE venue LIKE \"%dairy farmers stadium%\" AND score LIKE \"%28-24%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n rank INTEGER,\n total INTEGER\n)\n\nQUESTION: What's the rank that has a total of less than 1?\nSQL QUERY:", "completion": "SELECT SUM(rank) FROM table_name_19 WHERE total < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n venue VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: When the home team is Cairns Taipans, at which venue do they play?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_51 WHERE home_team LIKE \"%cairns taipans%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n country VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is Country, when Player is 'Scott Dunlap'?\nSQL QUERY:", "completion": "SELECT country FROM table_name_70 WHERE player LIKE \"%scott dunlap%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79428 (\n \"Rank\" real,\n \"Rowers\" text,\n \"Country\" text,\n \"Time\" text,\n \"Notes\" text\n)\n\nQUESTION: Who were the rowers when notes were sa/b, with a time of 5:51.30?\nSQL QUERY:", "completion": "SELECT \"Rowers\" FROM table_79428 WHERE \"Notes\" LIKE '%sa/b%' AND \"Time\" LIKE '%5:51.30%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11800185_1 (\n no_of_sikhs VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What is the number of sikhs in Japan?\nSQL QUERY:", "completion": "SELECT no_of_sikhs FROM table_11800185_1 WHERE country LIKE \"%japan%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Documents (\n project_id VARCHAR,\n document_type_code VARCHAR\n)\n\nQUESTION: How many documents are with document type code BK for each product id?\nSQL QUERY:", "completion": "SELECT COUNT(*), project_id FROM Documents WHERE document_type_code LIKE \"%bk%\" GROUP BY project_id"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49004 (\n \"Rank\" text,\n \"Team\" text,\n \"Run 1\" text,\n \"Run 2\" text,\n \"Run 3\" text,\n \"Run 4\" text,\n \"Final\" text\n)\n\nQUESTION: What is Run 1, when Run 4 is 1:56.59?\nSQL QUERY:", "completion": "SELECT \"Run 1\" FROM table_49004 WHERE \"Run 4\" LIKE '%1:56.59%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57377 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: Who did the team play on april 19?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_57377 WHERE \"Date\" LIKE '%april 19%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14877831_2 (\n venue VARCHAR,\n opponents VARCHAR\n)\n\nQUESTION: What is the name of the venue where the opponent scored 51?\nSQL QUERY:", "completion": "SELECT venue FROM table_14877831_2 WHERE opponents LIKE '%51%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7457 (\n \"Team\" text,\n \"Match\" real,\n \"Points\" real,\n \"Draw\" real,\n \"Lost\" real\n)\n\nQUESTION: What is the smallest number of points for a match less than 12?\nSQL QUERY:", "completion": "SELECT MIN(\"Points\") FROM table_7457 WHERE \"Match\" < 12"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n semifinalists VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: Who was the semifinalist at the tournament in miami?\nSQL QUERY:", "completion": "SELECT semifinalists FROM table_name_21 WHERE tournament LIKE \"%miami%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20278716_2 (\n others__percentage VARCHAR,\n others__number VARCHAR\n)\n\nQUESTION: What percentage of voters voted for a third party in the county that had 802 third party voters?\nSQL QUERY:", "completion": "SELECT others__percentage FROM table_20278716_2 WHERE others__number LIKE '%802%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50078 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text,\n \"Points\" real\n)\n\nQUESTION: What is the date of the game with pittsburgh as the home team and boston as the visitor team?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_50078 WHERE \"Home\" LIKE '%pittsburgh%' AND \"Visitor\" LIKE '%boston%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26860595_2 (\n fab___nm__ INTEGER\n)\n\nQUESTION: What was the maximum fab (nm)?\nSQL QUERY:", "completion": "SELECT MAX(fab___nm__) FROM table_26860595_2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is the home team that played Hull City?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_40 WHERE away_team LIKE \"%hull city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n college VARCHAR,\n round INTEGER\n)\n\nQUESTION: Which college has fewer than 2 rounds?\nSQL QUERY:", "completion": "SELECT college FROM table_name_7 WHERE round < 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2076516_1 (\n control VARCHAR,\n school VARCHAR\n)\n\nQUESTION: When western carolina university is the school what is the control?\nSQL QUERY:", "completion": "SELECT control FROM table_2076516_1 WHERE school LIKE \"%western carolina university%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE ship (\n built_year VARCHAR\n)\n\nQUESTION: In which year were most of ships built?\nSQL QUERY:", "completion": "SELECT built_year FROM ship GROUP BY built_year ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56800 (\n \"Parties and voter communities\" text,\n \"% 2006\" real,\n \"Seats 2006\" real,\n \"% 2001\" real,\n \"Seats 2001\" real\n)\n\nQUESTION: When the %2001 is more than 61.4, and the %2006 fewer than 54.1, how many Seats in 2001 were there?\nSQL QUERY:", "completion": "SELECT SUM(\"Seats 2001\") FROM table_56800 WHERE \"% 2001\" > 61.4 AND \"% 2006\" < 54.1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n player VARCHAR,\n position VARCHAR\n)\n\nQUESTION: What player had the position guard/forward?\nSQL QUERY:", "completion": "SELECT player FROM table_name_83 WHERE position LIKE \"%guard/forward%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_994 (\n id number,\n \"date\" text,\n \"time\" text,\n \"opponent#\" text,\n \"rank#\" text,\n \"site\" text,\n \"tv\" text,\n \"result\" text,\n \"attendance\" number\n)\n\nQUESTION: what is the top result on the chart\nSQL QUERY:", "completion": "SELECT \"result\" FROM table_204_994 WHERE id = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n project VARCHAR,\n missile VARCHAR\n)\n\nQUESTION: Name the project which has a missle of agni-iii\nSQL QUERY:", "completion": "SELECT project FROM table_name_92 WHERE missile LIKE \"%agni-iii%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2293510_1 (\n _percentage_of_eu_average_gdp__ppp_ VARCHAR,\n €_per_capita__2005_ VARCHAR\n)\n\nQUESTION: What's the percentage of EU average GDP (PPP) in the region where per capita is 2519\nSQL QUERY:", "completion": "SELECT _percentage_of_eu_average_gdp__ppp_ FROM table_2293510_1 WHERE €_per_capita__2005_ LIKE '%2519%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_269920_17 (\n speed__ghz_ VARCHAR,\n model VARCHAR\n)\n\nQUESTION: What is the speed of model x5560?\nSQL QUERY:", "completion": "SELECT speed__ghz_ FROM table_269920_17 WHERE model LIKE \"%x5560%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n total_tackles VARCHAR,\n games VARCHAR,\n solo VARCHAR\n)\n\nQUESTION: what is the total tackles when the games is 16 and solo is 88?\nSQL QUERY:", "completion": "SELECT total_tackles FROM table_name_9 WHERE games LIKE \"%16%\" AND solo LIKE \"%88%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n season VARCHAR,\n lead VARCHAR\n)\n\nQUESTION: What is Season, when Lead is 'Michael Goodfellow'?\nSQL QUERY:", "completion": "SELECT season FROM table_name_12 WHERE lead LIKE \"%michael goodfellow%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8359 (\n \"Date\" text,\n \"Name of ship\" text,\n \"Nationality\" text,\n \"Tonnage\" real,\n \"Fate\" text\n)\n\nQUESTION: What was the average tonnage for the Siljan ship from Sweden?\nSQL QUERY:", "completion": "SELECT AVG(\"Tonnage\") FROM table_8359 WHERE \"Nationality\" LIKE '%sweden%' AND \"Name of ship\" LIKE '%siljan%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7630 (\n \"Rank\" real,\n \"Name\" text,\n \"Team\" text,\n \"Games\" real,\n \"Points\" real\n)\n\nQUESTION: What is the total rank of team roanne, which has less than 14 games?\nSQL QUERY:", "completion": "SELECT COUNT(\"Rank\") FROM table_7630 WHERE \"Team\" LIKE '%roanne%' AND \"Games\" < 14"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n source VARCHAR,\n clinton VARCHAR,\n undecided VARCHAR\n)\n\nQUESTION: Which Source has a Clinton of 39% and a Undecided of 7%?\nSQL QUERY:", "completion": "SELECT source FROM table_name_94 WHERE clinton LIKE \"%39%%\" AND undecided LIKE \"%7%%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668378_5 (\n first_elected VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Name the first elected for kentucky 3\nSQL QUERY:", "completion": "SELECT first_elected FROM table_2668378_5 WHERE district LIKE '%kentucky 3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n bronze VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Who won bronze is 2006?\nSQL QUERY:", "completion": "SELECT bronze FROM table_name_7 WHERE year LIKE '%2006%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20107762_1 (\n team VARCHAR,\n ft_percentage VARCHAR\n)\n\nQUESTION: Who is the team with the ft% of 77.6?\nSQL QUERY:", "completion": "SELECT team FROM table_20107762_1 WHERE ft_percentage LIKE \"%77.6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n stages VARCHAR,\n distance VARCHAR\n)\n\nQUESTION: How many stages are in a distance of 2,192 km?\nSQL QUERY:", "completion": "SELECT stages FROM table_name_11 WHERE distance LIKE \"%2,192 km%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n game_site VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Date of september 25, 1983 is what game site?\nSQL QUERY:", "completion": "SELECT game_site FROM table_name_68 WHERE date LIKE \"%september 25, 1983%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n opponent VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Who played against the Celtics when the final game score was 85-102?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_18 WHERE score LIKE \"%85-102%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57384 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: I want the Grid for Laps of 35\nSQL QUERY:", "completion": "SELECT \"Grid\" FROM table_57384 WHERE \"Laps\" = 35"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22733636_1 (\n tournament_winner VARCHAR,\n conference VARCHAR\n)\n\nQUESTION: When the Border Conference was held, who was the tournament winner?\nSQL QUERY:", "completion": "SELECT tournament_winner FROM table_22733636_1 WHERE conference LIKE \"%border conference%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n state VARCHAR,\n city VARCHAR\n)\n\nQUESTION: What state is the city of Ruston in?\nSQL QUERY:", "completion": "SELECT state FROM table_name_13 WHERE city LIKE \"%ruston%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n outcome VARCHAR,\n tournament VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What was the outcome for the match at the leipzig tournament with a score w/o?\nSQL QUERY:", "completion": "SELECT outcome FROM table_name_45 WHERE tournament LIKE \"%leipzig%\" AND score LIKE \"%w/o%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20726262_4 (\n no_in_season INTEGER,\n usviewers__million_ VARCHAR\n)\n\nQUESTION: what is the maximum number in the season wher the us viewers is 2.59?\nSQL QUERY:", "completion": "SELECT MAX(no_in_season) FROM table_20726262_4 WHERE usviewers__million_ LIKE \"%2.59%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8111 (\n \"Round\" real,\n \"Pick\" real,\n \"Overall\" real,\n \"Name\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: what is the pick for adam gettis?\nSQL QUERY:", "completion": "SELECT MIN(\"Pick\") FROM table_8111 WHERE \"Name\" LIKE '%adam gettis%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56611 (\n \"Goal\" real,\n \"Date\" text,\n \"Venue\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: What was the venue of the game on 27 April 1964?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_56611 WHERE \"Date\" LIKE '%27 april 1964%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26223231_1 (\n series VARCHAR,\n points VARCHAR\n)\n\nQUESTION: How many championships are there when there are 6 points\nSQL QUERY:", "completion": "SELECT series FROM table_26223231_1 WHERE points LIKE \"%6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49133 (\n \"Event\" text,\n \"Date\" text,\n \"Round\" text,\n \"Name\" text,\n \"Nationality\" text,\n \"Time\" text,\n \"Record\" text\n)\n\nQUESTION: Who had a time of 26.11?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_49133 WHERE \"Time\" LIKE '%26.11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56122 (\n \"Rank\" real,\n \"Mountain Peak\" text,\n \"Region\" text,\n \"Mountain Range\" text,\n \"Location\" text\n)\n\nQUESTION: What region has a 5 rank?\nSQL QUERY:", "completion": "SELECT \"Region\" FROM table_56122 WHERE \"Rank\" = 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16201038_5 (\n overall_record VARCHAR,\n at_opponents_venue VARCHAR\n)\n\nQUESTION: What is the record of wins/losses that were played at opponents venue (uf, 1-0)\nSQL QUERY:", "completion": "SELECT overall_record FROM table_16201038_5 WHERE at_opponents_venue LIKE '%uf, 1-0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43152 (\n \"Date\" text,\n \"Tournament\" text,\n \"Location\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text\n)\n\nQUESTION: What is the score for 17 April 2013?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_43152 WHERE \"Date\" LIKE '%17 april 2013%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1952065_4 (\n division_championships INTEGER,\n playoff_berths VARCHAR\n)\n\nQUESTION: What is the highest number of division championships where playoff berths were 11?\nSQL QUERY:", "completion": "SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1168 (\n \"Year\" real,\n \"Division\" real,\n \"League\" text,\n \"Regular Season\" text,\n \"Playoffs\" text,\n \"Open Cup\" text\n)\n\nQUESTION: What league were they in in 2009?\nSQL QUERY:", "completion": "SELECT \"League\" FROM table_1168 WHERE \"Year\" = 2009"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE albums (\n title VARCHAR\n)\n\nQUESTION: List every album's title.\nSQL QUERY:", "completion": "SELECT title FROM albums"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n location VARCHAR,\n race VARCHAR\n)\n\nQUESTION: Where was the argentine grand prix?\nSQL QUERY:", "completion": "SELECT location FROM table_name_42 WHERE race LIKE \"%argentine grand prix%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n away_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What team was the away team when they played at lake oval?\nSQL QUERY:", "completion": "SELECT away_team AS score FROM table_name_84 WHERE venue LIKE '%lake oval%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n locomotive VARCHAR,\n delivered_as VARCHAR\n)\n\nQUESTION: What Locomotive was Delivered as T414?\nSQL QUERY:", "completion": "SELECT locomotive FROM table_name_2 WHERE delivered_as LIKE \"%t414%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n total_pld VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What is the total number of PLD for Team Arsenal?\nSQL QUERY:", "completion": "SELECT COUNT(total_pld) FROM table_name_14 WHERE team LIKE \"%arsenal%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6614 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Save\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: What was the score when the loss was hideo nomo (3 5)?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_6614 WHERE \"Loss\" LIKE '%hideo nomo (3–5)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_274117_5 (\n position VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What position was Bob Lilly?\nSQL QUERY:", "completion": "SELECT position FROM table_274117_5 WHERE player LIKE \"%bob lilly%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n location VARCHAR,\n mascot VARCHAR\n)\n\nQUESTION: What's the location for the Spartans?\nSQL QUERY:", "completion": "SELECT location FROM table_name_99 WHERE mascot LIKE \"%spartans%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n prize_money VARCHAR,\n round VARCHAR\n)\n\nQUESTION: What is the prize money for the second round qualifying that is listed?\nSQL QUERY:", "completion": "SELECT prize_money FROM table_name_60 WHERE round LIKE \"%second round qualifying%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n country_of_origin VARCHAR,\n year_of_intro VARCHAR\n)\n\nQUESTION: What is Country of Origin, when Year of Intro is 1977?\nSQL QUERY:", "completion": "SELECT country_of_origin FROM table_name_10 WHERE year_of_intro LIKE '%1977%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n weight_class VARCHAR,\n time VARCHAR\n)\n\nQUESTION: Which weight class had a time of 4:59?\nSQL QUERY:", "completion": "SELECT weight_class FROM table_name_65 WHERE time LIKE \"%4:59%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21602734_1 (\n league VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What league was involved in 2008?\nSQL QUERY:", "completion": "SELECT league FROM table_21602734_1 WHERE year LIKE '%2008%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n height_in_ft VARCHAR,\n position VARCHAR,\n school_club_team_country VARCHAR\n)\n\nQUESTION: Name the height for the center position from kansas\nSQL QUERY:", "completion": "SELECT height_in_ft FROM table_name_93 WHERE position LIKE \"%center%\" AND school_club_team_country LIKE \"%kansas%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n record VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What record has 46 as the game?\nSQL QUERY:", "completion": "SELECT record FROM table_name_74 WHERE game LIKE '%46%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73078 (\n \"Round\" text,\n \"Clubs remaining\" real,\n \"Clubs involved\" real,\n \"Winners from previous round\" text,\n \"New entries this round\" text,\n \"Leagues entering this round\" text\n)\n\nQUESTION: Name the leagues entering this round for 4\nSQL QUERY:", "completion": "SELECT \"Leagues entering this round\" FROM table_73078 WHERE \"Clubs involved\" = 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17304504_1 (\n grid VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What is the grid for the driver who earned 14 points?\nSQL QUERY:", "completion": "SELECT grid FROM table_17304504_1 WHERE points LIKE \"%14%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n pba_team VARCHAR,\n college VARCHAR\n)\n\nQUESTION: Which PBA team has a College of nu?\nSQL QUERY:", "completion": "SELECT pba_team FROM table_name_61 WHERE college LIKE \"%nu%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67521 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" text,\n \"Time/Retired\" text,\n \"Grid\" text\n)\n\nQUESTION: How many laps were there when the Time/Retired was +14.403?\nSQL QUERY:", "completion": "SELECT \"Laps\" FROM table_67521 WHERE \"Time/Retired\" LIKE '%+14.403%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342233_5 (\n first_elected VARCHAR,\n district VARCHAR\n)\n\nQUESTION: How many were first elected in the Arkansas 4 district?\nSQL QUERY:", "completion": "SELECT COUNT(first_elected) FROM table_1342233_5 WHERE district LIKE '%arkansas 4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_202_29 (\n id number,\n \"year\" number,\n \"nominated work\" text,\n \"award\" text,\n \"category\" text,\n \"result\" text\n)\n\nQUESTION: which year was joan rivers nominated for a tony award and what was the nominated work ?\nSQL QUERY:", "completion": "SELECT \"year\", \"nominated work\" FROM table_202_29 WHERE \"award\" LIKE '%tony award%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_814 (\n id number,\n \"date\" text,\n \"opposition\" text,\n \"result\" text,\n \"score\" text,\n \"brazil scorers\" text,\n \"competition\" text\n)\n\nQUESTION: what date is at the top of the list ?\nSQL QUERY:", "completion": "SELECT \"date\" FROM table_204_814 WHERE id = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19244 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: Who were all candidate when incumbent was D. Wyatt Aiken?\nSQL QUERY:", "completion": "SELECT \"Candidates\" FROM table_19244 WHERE \"Incumbent\" LIKE '%d. wyatt aiken%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n record_medal_event VARCHAR,\n medal_count VARCHAR,\n sport VARCHAR,\n athlete VARCHAR\n)\n\nQUESTION: What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?\nSQL QUERY:", "completion": "SELECT record_medal_event FROM table_name_33 WHERE sport LIKE \"%athletics%\" AND athlete LIKE \"%robert garrett%\" AND CAST(medal_count AS INTEGER) < 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_871 (\n id number,\n \"ano\" text,\n \"title\" text,\n \"role\" text,\n \"channel\" text,\n \"notes\" text\n)\n\nQUESTION: what was the name of the show that natalia oriero hosted in 2008 ?\nSQL QUERY:", "completion": "SELECT \"title\" FROM table_204_871 WHERE \"ano\" = 2008 AND \"notes\" LIKE '%host%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22847880_2 (\n opponent VARCHAR,\n record VARCHAR\n)\n\nQUESTION: Name the opponent for 11-1\nSQL QUERY:", "completion": "SELECT opponent FROM table_22847880_2 WHERE record LIKE \"%11-1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8204 (\n \"Date\" text,\n \"Round\" text,\n \"Opponent\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Attendance\" text,\n \"Scorers\" text\n)\n\nQUESTION: What is the Venue when the result was 2-1?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_8204 WHERE \"Result\" LIKE '%2-1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49451 (\n \"Round\" real,\n \"Pick #\" real,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What was Tom Donchez pick number?\nSQL QUERY:", "completion": "SELECT \"Pick #\" FROM table_49451 WHERE \"Player\" LIKE '%tom donchez%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Customers (\n amount_outstanding INTEGER\n)\n\nQUESTION: What is maximum, minimum and average amount of outstanding of customer?\nSQL QUERY:", "completion": "SELECT MAX(amount_outstanding), MIN(amount_outstanding), AVG(amount_outstanding) FROM Customers"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6488 (\n \"Source\" text,\n \"Date\" text,\n \"GERB\" text,\n \"Attack\" text,\n \"Blue Coalition\" text\n)\n\nQUESTION: What Source has an Attack of 9,77%?\nSQL QUERY:", "completion": "SELECT \"Source\" FROM table_6488 WHERE \"Attack\" LIKE '%9,77%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n total INTEGER,\n position INTEGER\n)\n\nQUESTION: What's the total of the position of 1?\nSQL QUERY:", "completion": "SELECT SUM(total) FROM table_name_91 WHERE position < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32893 (\n \"Region\" text,\n \"Host\" text,\n \"Venue\" text,\n \"City\" text,\n \"State\" text\n)\n\nQUESTION: What venue is in the city of Durham?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_32893 WHERE \"City\" LIKE '%durham%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n season VARCHAR,\n races VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What season has 6 races and the team is Australia?\nSQL QUERY:", "completion": "SELECT season FROM table_name_90 WHERE races LIKE '%6%' AND team LIKE '%australia%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26736040_1 (\n no_in_series VARCHAR,\n directed_by VARCHAR\n)\n\nQUESTION: How many entries for number in series when director is Bryan Cranston?\nSQL QUERY:", "completion": "SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by LIKE \"%bryan cranston%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n place VARCHAR,\n money___$__ INTEGER\n)\n\nQUESTION: What placement gets more than $400?\nSQL QUERY:", "completion": "SELECT place FROM table_name_18 WHERE money___$__ > 400"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49265 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: For week 15, what was the total number of attendance recorded?\nSQL QUERY:", "completion": "SELECT COUNT(\"Attendance\") FROM table_49265 WHERE \"Week\" = 15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19291 (\n \"Celebrity\" text,\n \"Famous for\" text,\n \"Entered\" text,\n \"Exited\" text,\n \"Finished\" text\n)\n\nQUESTION: When did the 4th finisher enter?\nSQL QUERY:", "completion": "SELECT \"Entered\" FROM table_19291 WHERE \"Finished\" LIKE '%4th%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1481865_1 (\n title__english_ VARCHAR,\n title__original_ VARCHAR\n)\n\nQUESTION: What is the English title when the original title is Die Qual Der Wahl?\nSQL QUERY:", "completion": "SELECT title__english_ FROM table_1481865_1 WHERE title__original_ LIKE '%die qual der wahl%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26609690_1 (\n year INTEGER\n)\n\nQUESTION: What is the earliest year on the chart?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_26609690_1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n tries_for VARCHAR,\n points_against VARCHAR\n)\n\nQUESTION: What is the tries for when the points against is 214?\nSQL QUERY:", "completion": "SELECT tries_for FROM table_name_25 WHERE points_against LIKE \"%214%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72002 (\n \"Call sign\" text,\n \"Frequency MHz\" real,\n \"City of license\" text,\n \"ERP W\" real,\n \"Class\" text,\n \"FCC info\" text\n)\n\nQUESTION: What class is ERP W of 800?\nSQL QUERY:", "completion": "SELECT \"Class\" FROM table_72002 WHERE \"ERP W\" = 800"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43518 (\n \"Name\" text,\n \"Team\" text,\n \"Qual 1\" text,\n \"Qual 2\" text,\n \"Best\" text\n)\n\nQUESTION: Team Rusport has the best of 59.654 and what qual 1?\nSQL QUERY:", "completion": "SELECT \"Qual 1\" FROM table_43518 WHERE \"Team\" LIKE '%rusport%' AND \"Best\" = '59.654'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n moving_to VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is Moving To, when Name is 'Leon Andreasen'?\nSQL QUERY:", "completion": "SELECT moving_to FROM table_name_18 WHERE name LIKE \"%leon andreasen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2387790_2 (\n avg_start VARCHAR,\n avg_finish VARCHAR\n)\n\nQUESTION: How many years did he have an average finish of 11.7?\nSQL QUERY:", "completion": "SELECT COUNT(avg_start) FROM table_2387790_2 WHERE avg_finish LIKE \"%11.7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n place VARCHAR,\n score INTEGER\n)\n\nQUESTION: What is Place, when Score is less than 70?\nSQL QUERY:", "completion": "SELECT place FROM table_name_44 WHERE score < 70"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_256286_43 (\n passed VARCHAR,\n no_votes VARCHAR\n)\n\nQUESTION: What is every entry for passed when NO votes is 312187?\nSQL QUERY:", "completion": "SELECT passed FROM table_256286_43 WHERE no_votes = '312187'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n total VARCHAR,\n set_2 VARCHAR\n)\n\nQUESTION: What is the total for set 2 17-25?\nSQL QUERY:", "completion": "SELECT total FROM table_name_80 WHERE set_2 LIKE \"%17-25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41851 (\n \"City\" text,\n \"Country\" text,\n \"IATA\" text,\n \"ICAO\" text,\n \"Airport\" text\n)\n\nQUESTION: What is the ICAO when the IATA is ika?\nSQL QUERY:", "completion": "SELECT \"ICAO\" FROM table_41851 WHERE \"IATA\" LIKE '%ika%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n score VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: What is the score of the home team, bath city?\nSQL QUERY:", "completion": "SELECT score FROM table_name_16 WHERE home_team LIKE \"%bath city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n team_1 VARCHAR,\n team_2 VARCHAR\n)\n\nQUESTION: Who played as Team 1 against Lom i?\nSQL QUERY:", "completion": "SELECT team_1 FROM table_name_8 WHERE team_2 LIKE \"%lomé i%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n opponent VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What was the Opponent when the Cavaliers had a Record of 3-9?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_10 WHERE record LIKE \"%3-9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27537870_5 (\n game VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Name the number of game 2-6\nSQL QUERY:", "completion": "SELECT COUNT(game) FROM table_27537870_5 WHERE score LIKE \"%2-6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n platform_s_ VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What is the platform(s) for the year 2006 (10th)?\nSQL QUERY:", "completion": "SELECT platform_s_ FROM table_name_78 WHERE year LIKE \"%2006 (10th)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n pick INTEGER,\n school_club_team VARCHAR\n)\n\nQUESTION: What is the average pick for Florida State?\nSQL QUERY:", "completion": "SELECT AVG(pick) FROM table_name_70 WHERE school_club_team LIKE \"%florida state%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_34983 (\n \"City\" text,\n \"Country\" text,\n \"IATA\" text,\n \"ICAO\" text,\n \"Airport\" text\n)\n\nQUESTION: Which country has Weerawila Airport?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_34983 WHERE \"Airport\" LIKE '%weerawila airport%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n game INTEGER,\n record VARCHAR\n)\n\nQUESTION: What is the average game number when the record is 4-1?\nSQL QUERY:", "completion": "SELECT AVG(game) FROM table_name_18 WHERE record LIKE \"%4-1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23284271_8 (\n high_assists VARCHAR,\n record VARCHAR\n)\n\nQUESTION: Who had the most high assists with a record of 32-19?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_23284271_8 WHERE record LIKE \"%32-19%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25008327_8 (\n polish VARCHAR,\n belarusian VARCHAR\n)\n\nQUESTION: What is every value for Polish when Balarusian is ?\nSQL QUERY:", "completion": "SELECT polish FROM table_25008327_8 WHERE belarusian LIKE \"%ноч%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18254488_2 (\n p INTEGER,\n player VARCHAR\n)\n\nQUESTION: When shaun maloney is the player what is the lowest p?\nSQL QUERY:", "completion": "SELECT MIN(p) FROM table_18254488_2 WHERE player LIKE \"%shaun maloney%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55992 (\n \"Date\" text,\n \"Competition\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Score\" text,\n \"Goals\" text\n)\n\nQUESTION: What was the venue when the score was 24 28?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_55992 WHERE \"Score\" LIKE '%24–28%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69065 (\n \"Heat\" real,\n \"Lane\" real,\n \"Name\" text,\n \"Nationality\" text,\n \"Time\" text\n)\n\nQUESTION: what lane was new zealand in?\nSQL QUERY:", "completion": "SELECT \"Lane\" FROM table_69065 WHERE \"Nationality\" LIKE '%new zealand%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70292 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: Who was the home team when the record was 27 14 6?\nSQL QUERY:", "completion": "SELECT \"Home\" FROM table_70292 WHERE \"Record\" LIKE '%27–14–6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n game INTEGER,\n location VARCHAR\n)\n\nQUESTION: What was the total games played at the Staples Center?\nSQL QUERY:", "completion": "SELECT SUM(game) FROM table_name_56 WHERE location LIKE \"%staples center%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n original_week INTEGER,\n venue VARCHAR\n)\n\nQUESTION: Tell me the average original week for soldier field\nSQL QUERY:", "completion": "SELECT AVG(original_week) FROM table_name_18 WHERE venue LIKE \"%soldier field%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17625749_3 (\n try_bonus VARCHAR,\n tries_against VARCHAR\n)\n\nQUESTION: What is the try bonus when the tries against are 17?\nSQL QUERY:", "completion": "SELECT try_bonus FROM table_17625749_3 WHERE tries_against LIKE \"%17%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43008 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Which Record has a Date of may 31?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_43008 WHERE \"Date\" LIKE '%may 31%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n population INTEGER,\n town_city VARCHAR\n)\n\nQUESTION: What is Ivaipor , pr's biggest population?\nSQL QUERY:", "completion": "SELECT MAX(population) FROM table_name_13 WHERE lower(town_city) LIKE '%ivaiporã, pr%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n wins INTEGER,\n year VARCHAR\n)\n\nQUESTION: What were the least Wins in 1988?\nSQL QUERY:", "completion": "SELECT MIN(wins) FROM table_name_19 WHERE year LIKE '%1988%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n date VARCHAR,\n matches VARCHAR\n)\n\nQUESTION: What was the date for a round that only had 1 match?\nSQL QUERY:", "completion": "SELECT date FROM table_name_36 WHERE matches LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n tournament VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the tournament on 5 October 2004?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_50 WHERE date LIKE \"%5 october 2004%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_298883_5 (\n date_of_issue VARCHAR,\n obverse VARCHAR\n)\n\nQUESTION: How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?\nSQL QUERY:", "completion": "SELECT COUNT(date_of_issue) FROM table_298883_5 WHERE obverse LIKE \"%kumsusan memorial palace%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n score VARCHAR,\n result VARCHAR,\n date VARCHAR\n)\n\nQUESTION: On 9/3/97, what was the score that resulted in a w?\nSQL QUERY:", "completion": "SELECT score FROM table_name_72 WHERE result LIKE \"%w%\" AND date LIKE \"%9/3/97%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58808 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" real,\n \"To par\" text\n)\n\nQUESTION: What is Darren Clarke's total score?\nSQL QUERY:", "completion": "SELECT COUNT(\"Score\") FROM table_58808 WHERE \"Player\" LIKE '%darren clarke%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n year INTEGER,\n album___song VARCHAR\n)\n\nQUESTION: What is the most recent year with the Album/Song 'the best worst-case scenario'?\nSQL QUERY:", "completion": "SELECT MAX(year) FROM table_name_19 WHERE album___song LIKE \"%the best worst-case scenario%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39285 (\n \"Game\" real,\n \"October\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Record\" text,\n \"Points\" real\n)\n\nQUESTION: Which Record has Points larger than 0, and a Score of 7 3?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_39285 WHERE \"Points\" > 0 AND \"Score\" LIKE '%7–3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21197135_1 (\n record VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What was the team record when the team played @ Utah?\nSQL QUERY:", "completion": "SELECT record FROM table_21197135_1 WHERE opponent LIKE '%@ utah%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25773915_11 (\n fumrec INTEGER\n)\n\nQUESTION: What is the fumrec minimum?\nSQL QUERY:", "completion": "SELECT MIN(fumrec) FROM table_25773915_11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n home VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the home team of the game on February 3?\nSQL QUERY:", "completion": "SELECT home FROM table_name_72 WHERE date LIKE \"%february 3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE chip_model (\n Model_name VARCHAR,\n Launch_year INTEGER\n)\n\nQUESTION: the names of models that launched between 2002 and 2004.\nSQL QUERY:", "completion": "SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 2004"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76274 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"Record\" text,\n \"Streak\" text\n)\n\nQUESTION: What is the Team in Game 38?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_76274 WHERE \"Game\" = 38"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n draws INTEGER,\n points VARCHAR,\n position VARCHAR,\n wins VARCHAR\n)\n\nQUESTION: What was the sum of the draws for the team that had 11 wins, less than 38 points, and a position smaller than 4?\nSQL QUERY:", "completion": "SELECT SUM(draws) FROM table_name_19 WHERE position < '4' AND wins LIKE '%11%' AND points < '38'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n composer VARCHAR,\n track INTEGER\n)\n\nQUESTION: Who is the composer on the tracks less than 4?\nSQL QUERY:", "completion": "SELECT composer FROM table_name_36 WHERE track < 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10707142_2 (\n report VARCHAR,\n date VARCHAR\n)\n\nQUESTION: how many reports of races took place on october 16?\nSQL QUERY:", "completion": "SELECT COUNT(report) FROM table_10707142_2 WHERE date LIKE \"%october 16%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n away_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What away team played at Kardinia Park?\nSQL QUERY:", "completion": "SELECT away_team AS score FROM table_name_63 WHERE venue LIKE '%kardinia park%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n capacity INTEGER,\n coach VARCHAR\n)\n\nQUESTION: What is the total capacity for coach Trevor Gleeson?\nSQL QUERY:", "completion": "SELECT SUM(capacity) FROM table_name_64 WHERE coach LIKE \"%trevor gleeson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17621978_11 (\n high_rebounds VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the number of high rebounds for april 21\nSQL QUERY:", "completion": "SELECT COUNT(high_rebounds) FROM table_17621978_11 WHERE date LIKE '%april 21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13061 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" real\n)\n\nQUESTION: What is the score of player brian watts, who has a to par of 5?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_13061 WHERE \"To par\" = 5 AND \"Player\" LIKE '%brian watts%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28342423_1 (\n aircraft_type VARCHAR,\n geschwader_base VARCHAR\n)\n\nQUESTION: Name the aircraft type for furstenau/vorden\nSQL QUERY:", "completion": "SELECT aircraft_type FROM table_28342423_1 WHERE geschwader_base LIKE \"%furstenau/vorden%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39204 (\n \"136.\" real,\n \"18 February\" text,\n \"Friendly\" text,\n \"Croatia\" text,\n \"Germany\" text\n)\n\nQUESTION: What is the friendly game for Germany of France?\nSQL QUERY:", "completion": "SELECT \"Friendly\" FROM table_39204 WHERE \"Germany\" LIKE '%france%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n date VARCHAR,\n opponent_in_the_final VARCHAR\n)\n\nQUESTION: When did Adam Thompson play in the final?\nSQL QUERY:", "completion": "SELECT date FROM table_name_47 WHERE opponent_in_the_final LIKE \"%adam thompson%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n died VARCHAR,\n spouse_to VARCHAR\n)\n\nQUESTION: When did the consort who had talal i as a spouse die?\nSQL QUERY:", "completion": "SELECT died FROM table_name_98 WHERE spouse_to LIKE \"%talal i%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77912 (\n \"Round\" real,\n \"Pick\" real,\n \"Name\" text,\n \"Position\" text,\n \"School\" text\n)\n\nQUESTION: What is the largest pick in round 8?\nSQL QUERY:", "completion": "SELECT MAX(\"Pick\") FROM table_77912 WHERE \"Round\" = 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2780146_6 (\n hc__g_kwh_ VARCHAR,\n no_x__g_kwh_ VARCHAR\n)\n\nQUESTION: What's the HC for the standard with NO x of 7.0 g/kWh?\nSQL QUERY:", "completion": "SELECT hc__g_kwh_ FROM table_2780146_6 WHERE no_x__g_kwh_ LIKE \"%7.0%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n attendance VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What attendance has detroit lions as the opponent?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_14 WHERE opponent LIKE \"%detroit lions%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50026 (\n \"Season\" text,\n \"League\" text,\n \"Teams\" text,\n \"Home\" text,\n \"Away\" text\n)\n\nQUESTION: Which Season has an Away of 1 2?\nSQL QUERY:", "completion": "SELECT \"Season\" FROM table_50026 WHERE \"Away\" LIKE '%1–2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n time VARCHAR,\n rider VARCHAR\n)\n\nQUESTION: What is the time for Alan Oversby?\nSQL QUERY:", "completion": "SELECT time FROM table_name_94 WHERE rider LIKE \"%alan oversby%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_9 (\n id number,\n \"week\" number,\n \"date\" text,\n \"opponent\" text,\n \"result\" text,\n \"attendance\" number\n)\n\nQUESTION: how many points did the dolphins score against the buffalo bills total ?\nSQL QUERY:", "completion": "SELECT SUM(\"result\") FROM table_204_9 WHERE \"opponent\" LIKE '%buffalo bills%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4037 (\n \"Pick #\" real,\n \"Player\" text,\n \"Position\" text,\n \"Nationality\" text,\n \"NHL team\" text,\n \"College/junior/club team\" text\n)\n\nQUESTION: Which position was selected for by the Toronto Maple Leafs?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_4037 WHERE \"NHL team\" LIKE '%toronto maple leafs%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37389 (\n \"Surname\" text,\n \"First\" text,\n \"D.O.B.\" text,\n \"Bats\" text,\n \"Throws\" text,\n \"Position\" text\n)\n\nQUESTION: In which position did Steve play first?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_37389 WHERE \"First\" LIKE '%steve%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_72043 (\n \"Medal\" text,\n \"Name\" text,\n \"Games\" text,\n \"Sport\" text,\n \"Event\" text\n)\n\nQUESTION: Who received the bronze medal in the 2000 Sydney games?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_72043 WHERE \"Medal\" LIKE '%bronze%' AND \"Games\" LIKE '%2000 sydney%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n perpetrator VARCHAR,\n location VARCHAR\n)\n\nQUESTION: Who went on a rampage in Baghdad?\nSQL QUERY:", "completion": "SELECT perpetrator FROM table_name_85 WHERE location LIKE \"%baghdad%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n works_number VARCHAR,\n date VARCHAR,\n number VARCHAR\n)\n\nQUESTION: What is the Works Number that has a Number of 153 in 1916?\nSQL QUERY:", "completion": "SELECT works_number FROM table_name_39 WHERE date LIKE \"%1916%\" AND number LIKE \"%153%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23988726_2 (\n world_record VARCHAR\n)\n\nQUESTION: When saif saaeed shaheen (qat) is the saif saaeed shaheen ( qat ) what is the world record?\nSQL QUERY:", "completion": "SELECT world_record FROM table_23988726_2 WHERE world_record LIKE \"%saif_saaeed_shaheen___qat__%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23429629_4 (\n place_came VARCHAR,\n artist VARCHAR\n)\n\nQUESTION: What was the final place came for the performance of Erlend Bratland?\nSQL QUERY:", "completion": "SELECT place_came FROM table_23429629_4 WHERE artist LIKE \"%erlend bratland%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_225094_4 (\n reason_for_change VARCHAR,\n successor VARCHAR\n)\n\nQUESTION: Name the reason for change for jonathan jennings\nSQL QUERY:", "completion": "SELECT COUNT(reason_for_change) FROM table_225094_4 WHERE successor LIKE \"%jonathan jennings%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11964047_7 (\n record VARCHAR,\n score VARCHAR\n)\n\nQUESTION: what are all the records with a score is w 98 91\nSQL QUERY:", "completion": "SELECT record FROM table_11964047_7 WHERE score LIKE \"%w 98–91%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43139 (\n \"Date\" text,\n \"Time\" text,\n \"Home\" text,\n \"Away\" text,\n \"Score\" text,\n \"Ground\" text\n)\n\nQUESTION: What was the score of the game with the Etobicoke Kangaroos as the home team?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_43139 WHERE \"Home\" LIKE '%etobicoke kangaroos%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n start VARCHAR,\n tries VARCHAR,\n conv VARCHAR\n)\n\nQUESTION: Which Start has 8 Tries and 0 Convs?\nSQL QUERY:", "completion": "SELECT start FROM table_name_58 WHERE tries LIKE \"%8%\" AND conv LIKE \"%0%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9550 (\n \"Election\" real,\n \"Number of NDC votes\" text,\n \"Share of votes\" text,\n \"Seats\" real,\n \"Outcome of election\" text\n)\n\nQUESTION: How many seats had a 41.2% share of votes?\nSQL QUERY:", "completion": "SELECT \"Seats\" FROM table_9550 WHERE \"Share of votes\" LIKE '%41.2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70501 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: Which Team 1 has an aggregate score of 1-1 1?\nSQL QUERY:", "completion": "SELECT \"Team 1\" FROM table_70501 WHERE \"Agg.\" LIKE '%1-1 1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341522_36 (\n opponent VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Who ran unsuccessfully against Bill Hefner?\nSQL QUERY:", "completion": "SELECT opponent FROM table_1341522_36 WHERE incumbent LIKE \"%bill hefner%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37521 (\n \"Camera\" text,\n \"Sensor resolution\" text,\n \"Sensor\" text,\n \"Output\" text,\n \"CPU usage\" text,\n \"IR LEDs\" text\n)\n\nQUESTION: What was the sensor with a resolution of 355x288 for a Naturalpoint Trackir 3?\nSQL QUERY:", "completion": "SELECT \"Sensor\" FROM table_37521 WHERE \"Sensor resolution\" LIKE '%355x288%' AND \"Camera\" LIKE '%naturalpoint trackir 3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19930660_3 (\n first_broadcast VARCHAR,\n rufus_guest VARCHAR\n)\n\nQUESTION: When is the first broadcast for episodes where Rufus's guest is Jack Whitehall?\nSQL QUERY:", "completion": "SELECT first_broadcast FROM table_19930660_3 WHERE rufus_guest LIKE '%jack whitehall%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n school VARCHAR,\n colors VARCHAR\n)\n\nQUESTION: What School has Colors of navy blue orange?\nSQL QUERY:", "completion": "SELECT school FROM table_name_17 WHERE colors LIKE \"%navy blue orange%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2535 (\n \"Dateca\" text,\n \"Event #\" text,\n \"Event\" text,\n \"Winner\" text,\n \"Prize\" text,\n \"Entries\" text,\n \"Prize Pool\" text,\n \"Elapsed Time\" text\n)\n\nQUESTION: What is the winner in event number 15h?\nSQL QUERY:", "completion": "SELECT \"Winner\" FROM table_2535 WHERE \"Event #\" LIKE '%15h%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n score VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What was the score for Leo Diegel?\nSQL QUERY:", "completion": "SELECT score FROM table_name_63 WHERE player LIKE \"%leo diegel%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n loss VARCHAR,\n record VARCHAR\n)\n\nQUESTION: Who got the loss on the game that ended in a 52-36 record?\nSQL QUERY:", "completion": "SELECT loss FROM table_name_22 WHERE record LIKE \"%52-36%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_507 (\n \"Institution\" text,\n \"Main Campus Location\" text,\n \"Founded\" real,\n \"Mascot\" text,\n \"School Colors\" text\n)\n\nQUESTION: How many school colors is there for the main campus location of highland?\nSQL QUERY:", "completion": "SELECT COUNT(\"School Colors\") FROM table_507 WHERE \"Main Campus Location\" LIKE '%highland%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n pick VARCHAR,\n college VARCHAR\n)\n\nQUESTION: What is the Pick number of the Player from Syracuse?\nSQL QUERY:", "completion": "SELECT pick FROM table_name_76 WHERE college LIKE \"%syracuse%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23577 (\n \"Story #\" real,\n \"Target #\" text,\n \"Title\" text,\n \"Author\" text,\n \"Reader\" text,\n \"Format\" text,\n \"Company\" text,\n \"Release Date\" text,\n \"Notes\" text\n)\n\nQUESTION: When was the audio book with target number 069 69 released?\nSQL QUERY:", "completion": "SELECT \"Release Date\" FROM table_23577 WHERE \"Target #\" LIKE '%069 69%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18376 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" real,\n \"Result\" text,\n \"Candidates\" text\n)\n\nQUESTION: how many times was it the district illinois 18?\nSQL QUERY:", "completion": "SELECT COUNT(\"Candidates\") FROM table_18376 WHERE \"District\" LIKE '%illinois 18%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66864 (\n \"Player\" text,\n \"Years\" text,\n \"Goals\" real,\n \"Assists\" real,\n \"Points\" real\n)\n\nQUESTION: How many points does Shawn Mceachern with less than 79 goals?\nSQL QUERY:", "completion": "SELECT SUM(\"Points\") FROM table_66864 WHERE \"Player\" LIKE '%shawn mceachern%' AND \"Goals\" < 79"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54720 (\n \"Superlative\" text,\n \"Actress\" text,\n \"Record Set\" text,\n \"Year\" real,\n \"Notes\" text\n)\n\nQUESTION: After the year 2011, who was the youngest nominee?\nSQL QUERY:", "completion": "SELECT \"Record Set\" FROM table_54720 WHERE \"Year\" > 2011 AND \"Superlative\" LIKE '%youngest nominee%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27722408_6 (\n team VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What was the other team in game 11?\nSQL QUERY:", "completion": "SELECT team FROM table_27722408_6 WHERE game LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1973729_1 (\n location VARCHAR,\n enrollment VARCHAR\n)\n\nQUESTION: What location contains a school that has an enrollment of 2686?\nSQL QUERY:", "completion": "SELECT location FROM table_1973729_1 WHERE enrollment = '2686'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1206114_2 (\n netflow_version VARCHAR,\n vendor_and_type VARCHAR\n)\n\nQUESTION: How many netflow version are there when the vendor and type is enterasys switches?\nSQL QUERY:", "completion": "SELECT COUNT(netflow_version) FROM table_1206114_2 WHERE vendor_and_type LIKE \"%enterasys switches%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n driver VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: Which driver's grid was 24?\nSQL QUERY:", "completion": "SELECT driver FROM table_name_10 WHERE grid LIKE '%24%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17968274_2 (\n team VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What was the team that scored 122 points?\nSQL QUERY:", "completion": "SELECT team FROM table_17968274_2 WHERE points LIKE '%122%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17779448_1 (\n attendance VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: How many attended game(s) against the boston patriots?\nSQL QUERY:", "completion": "SELECT attendance FROM table_17779448_1 WHERE opponent LIKE \"%boston patriots%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n lost INTEGER,\n season VARCHAR,\n points VARCHAR\n)\n\nQUESTION: Which Lost is the highest one that has a Season of 2001 02, and Points larger than 47?\nSQL QUERY:", "completion": "SELECT MAX(lost) FROM table_name_58 WHERE season LIKE \"%2001–02%\" AND points > \"47\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_672 (\n id number,\n \"year\" number,\n \"title\" text,\n \"label\" text,\n \"uk singles chart\" number,\n \"u.s. billboard hot 100 chart\" number\n)\n\nQUESTION: what is the total number of years for singles by philips label ?\nSQL QUERY:", "completion": "SELECT COUNT(\"year\") FROM table_204_672 WHERE \"label\" LIKE '%philips%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n team_2 VARCHAR,\n team_1 VARCHAR\n)\n\nQUESTION: What team 2 has lokomotiva as team 1?\nSQL QUERY:", "completion": "SELECT team_2 FROM table_name_16 WHERE team_1 LIKE \"%lokomotiva%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n venue VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: Where did Hawthorn play as home team?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_29 WHERE home_team LIKE \"%hawthorn%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6101 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: What team did the home team play on September 4?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_6101 WHERE \"Date\" LIKE '%september 4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n quarterfinals VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What's the quarterfinals when the rank was bronze?\nSQL QUERY:", "completion": "SELECT quarterfinals FROM table_name_79 WHERE rank LIKE \"%bronze%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49097 (\n \"Player\" text,\n \"Games\" real,\n \"Reception\" real,\n \"Yards\" real,\n \"Long\" real\n)\n\nQUESTION: What is the average yards for Jimmie Giles in a game larger than 15 and reception larger than 2?\nSQL QUERY:", "completion": "SELECT AVG(\"Yards\") FROM table_49097 WHERE \"Games\" > 15 AND \"Reception\" > 2 AND \"Player\" LIKE '%jimmie giles%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n player VARCHAR,\n place VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What is the name of the player with t6 as his place and a country of United states?\nSQL QUERY:", "completion": "SELECT player FROM table_name_85 WHERE place LIKE \"%t6%\" AND country LIKE \"%united states%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n cause_of_death VARCHAR,\n rank VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is Detective Donald William Schneider's Cause of death?\nSQL QUERY:", "completion": "SELECT cause_of_death FROM table_name_37 WHERE rank LIKE \"%detective%\" AND name LIKE \"%donald william schneider%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77181 (\n \"Outcome\" text,\n \"Date\" text,\n \"Championship\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: What is the surface on 21 june 1993?\nSQL QUERY:", "completion": "SELECT \"Surface\" FROM table_77181 WHERE \"Date\" LIKE '%21 june 1993%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50364 (\n \"Pick #\" real,\n \"CFL Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: which player played on Team Hamilton?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_50364 WHERE \"CFL Team\" LIKE '%hamilton%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21673 (\n \"SNO\" real,\n \"College code\" text,\n \"Faculty name\" text,\n \"Designation\" text,\n \"Qualification\" text,\n \"Department\" text,\n \"Experience\" text\n)\n\nQUESTION: How many faculty members have 20 years of experience?\nSQL QUERY:", "completion": "SELECT COUNT(\"Designation\") FROM table_21673 WHERE \"Experience\" LIKE '%20 years%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n call_sign VARCHAR,\n owner VARCHAR\n)\n\nQUESTION: What is the Call Sign of the Frequency by Owner CKUA Radio Foundation?\nSQL QUERY:", "completion": "SELECT call_sign FROM table_name_33 WHERE owner LIKE \"%ckua radio foundation%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n design VARCHAR,\n acquired VARCHAR\n)\n\nQUESTION: What design was acquired in 1875?\nSQL QUERY:", "completion": "SELECT design FROM table_name_32 WHERE acquired LIKE '%1875%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n works_number VARCHAR,\n type VARCHAR,\n number VARCHAR\n)\n\nQUESTION: What is Works Number, when Type is RS-11, and when Number is 61?\nSQL QUERY:", "completion": "SELECT works_number FROM table_name_7 WHERE type LIKE \"%rs-11%\" AND number LIKE \"%61%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38122 (\n \"Year\" real,\n \"Location\" text,\n \"Gold\" text,\n \"Silver\" text,\n \"Bronze\" text\n)\n\nQUESTION: For how many years was the location at Beijing?\nSQL QUERY:", "completion": "SELECT SUM(\"Year\") FROM table_38122 WHERE \"Location\" LIKE '%beijing%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44648 (\n \"Round\" real,\n \"Pick\" real,\n \"Overall\" real,\n \"Name\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: what is the lowest overall when the pick is 20?\nSQL QUERY:", "completion": "SELECT MIN(\"Overall\") FROM table_44648 WHERE \"Pick\" = 20"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52965 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: How many people were in the crowd on the day the home team scored 7.10 (52)?\nSQL QUERY:", "completion": "SELECT \"Crowd\" FROM table_52965 WHERE \"Home team score\" LIKE '%7.10 (52)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n points INTEGER,\n year VARCHAR,\n class VARCHAR\n)\n\nQUESTION: What is the smallest point amount for years prior to 1958 when the class is 350cc?\nSQL QUERY:", "completion": "SELECT MIN(points) FROM table_name_91 WHERE year < '1958' AND class LIKE '%350cc%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n score VARCHAR,\n country VARCHAR,\n place VARCHAR\n)\n\nQUESTION: What is the score for Australia with a place of 4?\nSQL QUERY:", "completion": "SELECT score FROM table_name_87 WHERE country LIKE \"%australia%\" AND place LIKE \"%4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44955 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_44955 WHERE \"To par\" LIKE '%+1%' AND \"Player\" LIKE '%woody austin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE dorm (\n student_capacity VARCHAR,\n gender VARCHAR,\n dorm_name VARCHAR\n)\n\nQUESTION: Find the capacity and gender type of the dorm whose name has substring Donor .\nSQL QUERY:", "completion": "SELECT student_capacity, gender FROM dorm WHERE dorm_name LIKE '%donor%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45296 (\n \"Res.\" text,\n \"Record\" text,\n \"Opponent\" text,\n \"Method\" text,\n \"Event\" text,\n \"Round\" real,\n \"Time\" text,\n \"Location\" text\n)\n\nQUESTION: Which method had a time of 0:46?\nSQL QUERY:", "completion": "SELECT \"Method\" FROM table_45296 WHERE \"Time\" LIKE '%0:46%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11793221_2 (\n unit VARCHAR,\n commander VARCHAR\n)\n\nQUESTION: Which units are commanded by Lieutenant Colonel Francis Hepburn?\nSQL QUERY:", "completion": "SELECT unit FROM table_11793221_2 WHERE commander LIKE \"%lieutenant colonel francis hepburn%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55330 (\n \"Rank\" real,\n \"Rider\" text,\n \"Team\" text,\n \"Speed\" text,\n \"Time\" text\n)\n\nQUESTION: What's the name of the team that went 113.316mph?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_55330 WHERE \"Speed\" LIKE '%113.316mph%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28081876_6 (\n original_air_date VARCHAR,\n us_viewers__millions_ VARCHAR\n)\n\nQUESTION: When was originally aired the episode with an audience of 1.57 million us viewers?\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_28081876_6 WHERE us_viewers__millions_ LIKE \"%1.57%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE users (\n role_code VARCHAR\n)\n\nQUESTION: Find the number of users in each role.\nSQL QUERY:", "completion": "SELECT COUNT(*), role_code FROM users GROUP BY role_code"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_41 (\n silver INTEGER,\n gold INTEGER\n)\n\nQUESTION: Name the least silver when gold is less than 0\nSQL QUERY:", "completion": "SELECT MIN(silver) FROM table_name_41 WHERE gold < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18220102_1 (\n number_of_screening VARCHAR,\n opening_film VARCHAR\n)\n\nQUESTION: How many number of screenings have an opening film of the journey of vaan nguyen?\nSQL QUERY:", "completion": "SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film LIKE \"%the journey of vaan nguyen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26360571_2 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: List the opposing team on february 15, 2003.\nSQL QUERY:", "completion": "SELECT opponent FROM table_26360571_2 WHERE date LIKE \"%february 15, 2003%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45905 (\n \"Rank\" real,\n \"City\" text,\n \"Airport\" text,\n \"Passengers\" real,\n \"Carriers\" text\n)\n\nQUESTION: What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE)\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_45905 WHERE \"Rank\" > 6 AND \"Airport\" LIKE '%st. petersburg/clearwater (pie)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74936 (\n \"Circuit\" text,\n \"Date\" text,\n \"Pole position\" text,\n \"Fastest Lap\" text,\n \"Winning driver\" text,\n \"Winning team\" text,\n \"Winning manufacturer\" text\n)\n\nQUESTION: Who is the winning driver of the race with no race as the winning manufacturer?\nSQL QUERY:", "completion": "SELECT \"Winning driver\" FROM table_74936 WHERE \"Winning manufacturer\" LIKE '%no race%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n year INTEGER,\n playoffs VARCHAR\n)\n\nQUESTION: Which Year has Playoffs which did not qualify?\nSQL QUERY:", "completion": "SELECT AVG(year) FROM table_name_94 WHERE playoffs LIKE \"%did not qualify%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11464746_1 (\n composition VARCHAR,\n colours VARCHAR\n)\n\nQUESTION: What is the green house made of?\nSQL QUERY:", "completion": "SELECT composition FROM table_11464746_1 WHERE colours LIKE '%green%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342331_5 (\n district VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: what's the district with incumbent being john e. miller\nSQL QUERY:", "completion": "SELECT district FROM table_1342331_5 WHERE incumbent LIKE \"%john e. miller%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n rider VARCHAR,\n time VARCHAR\n)\n\nQUESTION: What Rider had a Time of 1:01.50.57?\nSQL QUERY:", "completion": "SELECT rider FROM table_name_46 WHERE time LIKE \"%1:01.50.57%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_13 (\n game VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: Which Game has an Opponent of @ washington wizards?\nSQL QUERY:", "completion": "SELECT game FROM table_name_13 WHERE opponent LIKE '%@ washington wizards%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n drawn INTEGER,\n played INTEGER\n)\n\nQUESTION: what is the highest drawn when played is more than 14?\nSQL QUERY:", "completion": "SELECT MAX(drawn) FROM table_name_79 WHERE played > 14"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62441 (\n \"Tournament\" text,\n \"2008\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text,\n \"2012\" text\n)\n\nQUESTION: What is 2011, when Tournament is 'Year-End Ranking'?\nSQL QUERY:", "completion": "SELECT \"2011\" FROM table_62441 WHERE \"Tournament\" LIKE '%year-end ranking%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n status VARCHAR\n)\n\nQUESTION: When the role is role what was the status?\nSQL QUERY:", "completion": "SELECT status FROM table_name_14 WHERE \"role\" LIKE '%role%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n opponent VARCHAR,\n week VARCHAR\n)\n\nQUESTION: Name the opponent for week of 2\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_6 WHERE week LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_82 (\n nickname VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What Nickname has a Location of Southern River?\nSQL QUERY:", "completion": "SELECT nickname FROM table_name_82 WHERE location LIKE \"%southern river%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n points INTEGER,\n played INTEGER\n)\n\nQUESTION: What is the sum of the points of the club with more than 34 played?\nSQL QUERY:", "completion": "SELECT SUM(points) FROM table_name_68 WHERE played > 34"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11545282_7 (\n position VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What position did Lamar Green play?\nSQL QUERY:", "completion": "SELECT position FROM table_11545282_7 WHERE player LIKE \"%lamar green%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43774 (\n \"Place\" real,\n \"Competitor\" text,\n \"Downhill\" real,\n \"Slalom\" real,\n \"Average\" real\n)\n\nQUESTION: What's the slalom when the average time was greater than 99.25?\nSQL QUERY:", "completion": "SELECT AVG(\"Slalom\") FROM table_43774 WHERE \"Average\" > 99.25"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n opened INTEGER,\n themed_area VARCHAR,\n manufacturer VARCHAR\n)\n\nQUESTION: Which Opened is the highest one that has a Themed Area of aerial park, and a Manufacturer of zamperla?\nSQL QUERY:", "completion": "SELECT MAX(opened) FROM table_name_76 WHERE themed_area LIKE '%aerial park%' AND manufacturer LIKE '%zamperla%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: Who played as the away team when Essendon was the home team?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_85 WHERE home_team LIKE \"%essendon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2402864_1 (\n open_cup VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What was the Open Cup results for the year 2003?\nSQL QUERY:", "completion": "SELECT open_cup FROM table_2402864_1 WHERE year LIKE '%2003%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12125069_2 (\n winning_pitcher VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who was the winning pitcher on june 25?\nSQL QUERY:", "completion": "SELECT winning_pitcher FROM table_12125069_2 WHERE date LIKE \"%june 25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n local_host_s_ VARCHAR,\n country VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Who are the local hosts for the United States in years earlier than 2007?\nSQL QUERY:", "completion": "SELECT local_host_s_ FROM table_name_86 WHERE country LIKE '%united states%' AND year < '2007'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23239946_3 (\n wins VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: How many wins did Andrew Ranger have?\nSQL QUERY:", "completion": "SELECT COUNT(wins) FROM table_23239946_3 WHERE driver LIKE \"%andrew ranger%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23486853_8 (\n location VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is every location for the date of March 20?\nSQL QUERY:", "completion": "SELECT location FROM table_23486853_8 WHERE date LIKE \"%march 20%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n started VARCHAR,\n ended VARCHAR\n)\n\nQUESTION: When did the loan that Ended on 15 January Start?\nSQL QUERY:", "completion": "SELECT started FROM table_name_60 WHERE ended LIKE \"%15 january%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE club (\n Region VARCHAR\n)\n\nQUESTION: List the distinct region of clubs in ascending alphabetical order.\nSQL QUERY:", "completion": "SELECT DISTINCT Region FROM club ORDER BY Region"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28508 (\n \"Institution\" text,\n \"Nickname\" text,\n \"Location\" text,\n \"Founded\" real,\n \"Type\" text,\n \"Enrollment\" text,\n \"Current Conference\" text\n)\n\nQUESTION: Name the total number of founded for public and 780 enrollment\nSQL QUERY:", "completion": "SELECT COUNT(\"Founded\") FROM table_28508 WHERE \"Type\" LIKE '%public%' AND \"Enrollment\" LIKE '%780%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n away_team VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: Who was the away team when the attendance was 7,891?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_64 WHERE attendance LIKE \"%7,891%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2701851_5 (\n directed_by VARCHAR,\n no_in_season VARCHAR\n)\n\nQUESTION: Who was the director for the Episode number in season 10a?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_2701851_5 WHERE no_in_season LIKE \"%10a%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68339 (\n \"Res.\" text,\n \"Record\" text,\n \"Opponent\" text,\n \"Method\" text,\n \"Event\" text,\n \"Round\" real,\n \"Time\" text,\n \"Location\" text\n)\n\nQUESTION: What is the time when the opponent is phil collins?\nSQL QUERY:", "completion": "SELECT \"Time\" FROM table_68339 WHERE \"Opponent\" LIKE '%phil collins%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24481478_1 (\n week INTEGER,\n team_record VARCHAR\n)\n\nQUESTION: In which week was the team record 7 2?\nSQL QUERY:", "completion": "SELECT MIN(week) FROM table_24481478_1 WHERE team_record LIKE \"%7–2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n silver INTEGER,\n gold INTEGER\n)\n\nQUESTION: what is the least silver when gold is 0?\nSQL QUERY:", "completion": "SELECT MIN(silver) FROM table_name_93 WHERE gold < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15929156_3 (\n mccain__percentage VARCHAR,\n county VARCHAR\n)\n\nQUESTION: Name the mccain % for dukes\nSQL QUERY:", "completion": "SELECT mccain__percentage FROM table_15929156_3 WHERE county LIKE \"%dukes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_78347 (\n \"Name\" text,\n \"Builder\" text,\n \"Wheel arrangement\" text,\n \"Works Number\" real,\n \"Built\" real\n)\n\nQUESTION: What is the average building year for Superb?\nSQL QUERY:", "completion": "SELECT AVG(\"Built\") FROM table_78347 WHERE \"Name\" LIKE '%superb%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45835 (\n \"Continent\" text,\n \"Structure\" text,\n \"Height\" text,\n \"Year\" real,\n \"Country\" text\n)\n\nQUESTION: What structure is in Chile?\nSQL QUERY:", "completion": "SELECT \"Structure\" FROM table_45835 WHERE \"Country\" LIKE '%chile%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19763199_3 (\n total_votes INTEGER\n)\n\nQUESTION: What is the least total votes?\nSQL QUERY:", "completion": "SELECT MIN(total_votes) FROM table_19763199_3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_42437 (\n \"Round\" real,\n \"Pick #\" real,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: Which college has a pick number of 155?\nSQL QUERY:", "completion": "SELECT \"College\" FROM table_42437 WHERE \"Pick #\" = 155"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30057479_1 (\n material VARCHAR,\n output_power VARCHAR\n)\n\nQUESTION: How many materials are there for output power of ~0.1 pw per cycle (calculated)?\nSQL QUERY:", "completion": "SELECT COUNT(material) FROM table_30057479_1 WHERE output_power LIKE '%~0.1 pw per cycle (calculated)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19897294_8 (\n no_in_series INTEGER,\n family_families VARCHAR\n)\n\nQUESTION: Name the number in series for in the ward family and the wren family\nSQL QUERY:", "completion": "SELECT MAX(no_in_series) FROM table_19897294_8 WHERE family_families LIKE \"%the ward family and the wren family%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38925 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Save\" text\n)\n\nQUESTION: Which Save is on June 15?\nSQL QUERY:", "completion": "SELECT \"Save\" FROM table_38925 WHERE \"Date\" LIKE '%june 15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n home_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Which home team plays at victoria park?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_40 WHERE venue LIKE \"%victoria park%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2147588_4 (\n district VARCHAR,\n successor VARCHAR\n)\n\nQUESTION: When william b. campbell (u) is the successor what is the district?\nSQL QUERY:", "completion": "SELECT district FROM table_2147588_4 WHERE successor LIKE \"%william b. campbell (u)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n total_goals INTEGER,\n fa_cup_goals VARCHAR,\n league_apps VARCHAR\n)\n\nQUESTION: What is the most total goals for a player having 0 FA Cup goals and 41 League appearances?\nSQL QUERY:", "completion": "SELECT MAX(total_goals) FROM table_name_98 WHERE fa_cup_goals LIKE '0' AND league_apps LIKE '%41%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14608759_1 (\n opponent VARCHAR,\n week VARCHAR\n)\n\nQUESTION: In week 9 who were the opponent?\nSQL QUERY:", "completion": "SELECT opponent FROM table_14608759_1 WHERE week LIKE '%9%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n years VARCHAR,\n finals VARCHAR,\n a_league VARCHAR\n)\n\nQUESTION: What years have 9 (0) as the finals and 133 (1) as the A-League?\nSQL QUERY:", "completion": "SELECT years FROM table_name_12 WHERE finals LIKE \"%9 (0)%\" AND a_league LIKE \"%133 (1)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n average INTEGER,\n tally VARCHAR,\n total VARCHAR\n)\n\nQUESTION: Which Average has a Tally of 2-12, and a Total larger than 18?\nSQL QUERY:", "completion": "SELECT AVG(average) FROM table_name_23 WHERE tally LIKE \"%2-12%\" AND total > \"18\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19210115_1 (\n location VARCHAR,\n nickname VARCHAR\n)\n\nQUESTION: Where is the University that is also called Hawks?\nSQL QUERY:", "completion": "SELECT location FROM table_19210115_1 WHERE nickname LIKE \"%hawks%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26250253_1 (\n order__number VARCHAR,\n week__number VARCHAR\n)\n\nQUESTION: The order # is what for the week # Top 10?\nSQL QUERY:", "completion": "SELECT order__number FROM table_26250253_1 WHERE week__number LIKE '%top 10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n winner VARCHAR,\n runner_up VARCHAR\n)\n\nQUESTION: Who was the winner in the match that had John Higgins as runner-up?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_63 WHERE runner_up LIKE \"%john higgins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1137704_2 (\n location VARCHAR,\n date VARCHAR\n)\n\nQUESTION: what are all the location where date is 5 april\nSQL QUERY:", "completion": "SELECT location FROM table_1137704_2 WHERE date LIKE \"%5 april%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60341 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What place is the golfer in who is from Spain?\nSQL QUERY:", "completion": "SELECT \"Place\" FROM table_60341 WHERE \"Country\" LIKE '%spain%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_42 (\n id number,\n \"model\" text,\n \"class\" text,\n \"length\" text,\n \"fuel\" text,\n \"starting price\" text\n)\n\nQUESTION: which model is a diesel , the tour or the aspect ?\nSQL QUERY:", "completion": "SELECT \"model\" FROM table_203_42 WHERE \"model\" LIKE '%tour%' OR \"model\" LIKE '%aspect%' AND \"fuel\" LIKE '%diesel%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11960196_3 (\n team VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the team of april 25?\nSQL QUERY:", "completion": "SELECT team FROM table_11960196_3 WHERE date LIKE \"%april 25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23241 (\n \"Rank\" real,\n \"Couple\" text,\n \"Judges\" real,\n \"Public\" real,\n \"Total\" real,\n \"Vote percentage\" text,\n \"Result\" text\n)\n\nQUESTION: What couple had less than 2.0 points from the public?\nSQL QUERY:", "completion": "SELECT \"Couple\" FROM table_23241 WHERE \"Public\" < 2.0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12134383_1 (\n president VARCHAR,\n date_of_inauguration VARCHAR\n)\n\nQUESTION: who is the the president with date of inauguration being 4june1979\nSQL QUERY:", "completion": "SELECT president FROM table_12134383_1 WHERE date_of_inauguration LIKE \"%4june1979%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61295 (\n \"Week 1\" text,\n \"Week 2\" text,\n \"Week 3\" text,\n \"Week 4\" text,\n \"Week 5\" text\n)\n\nQUESTION: Who is week 3 if week 1 is Amanda Batt?\nSQL QUERY:", "completion": "SELECT \"Week 3\" FROM table_61295 WHERE \"Week 1\" LIKE '%amanda batt%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n crowd INTEGER,\n home_team VARCHAR\n)\n\nQUESTION: What is the average crowd when footscray is at home?\nSQL QUERY:", "completion": "SELECT AVG(crowd) FROM table_name_99 WHERE home_team LIKE \"%footscray%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71834 (\n \"Park\" text,\n \"Tower height\" text,\n \"Drop height*\" text,\n \"Speed\" text,\n \"Model\" text,\n \"Opened\" text,\n \"Height requirement\" text\n)\n\nQUESTION: What was the speed of 200feet Giant Drop attraction?\nSQL QUERY:", "completion": "SELECT \"Speed\" FROM table_71834 WHERE \"Model\" LIKE '%giant drop%' AND \"Drop height*\" LIKE '%200feet%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n result VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What is the final score at Melbourne Cricket Ground?\nSQL QUERY:", "completion": "SELECT result FROM table_name_79 WHERE venue LIKE \"%melbourne cricket ground%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76946 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: Which Opponent has a Result of l 14 10?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_76946 WHERE \"Result\" LIKE '%l 14–10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n team VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: Name the team with Laps of 333\nSQL QUERY:", "completion": "SELECT team FROM table_name_92 WHERE laps LIKE '%333%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47298 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What is the away team with a 2 tie no.?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_47298 WHERE \"Tie no\" LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28697228_4 (\n rushing_yards VARCHAR,\n passing_yards VARCHAR\n)\n\nQUESTION: How many rushing yards are listed when the passing yards are 244?\nSQL QUERY:", "completion": "SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards LIKE '%244%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73968 (\n \"No.\" real,\n \"#\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Patient Portrayer\" text,\n \"Original air date\" text,\n \"Production code\" text\n)\n\nQUESTION: What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk?\nSQL QUERY:", "completion": "SELECT COUNT(\"Patient Portrayer\") FROM table_73968 WHERE \"Directed by\" LIKE '%craig zisk%' AND \"Written by\" LIKE '%brad falchuk%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n circuit VARCHAR,\n date VARCHAR\n)\n\nQUESTION: what is the circuit when the date is 4 june?\nSQL QUERY:", "completion": "SELECT circuit FROM table_name_94 WHERE date LIKE \"%4 june%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44323 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What's the lowest attendance recorded for week 15?\nSQL QUERY:", "completion": "SELECT MIN(\"Attendance\") FROM table_44323 WHERE \"Week\" = 15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Sportsinfo (\n gamesplayed INTEGER\n)\n\nQUESTION: How many games are played for all students?\nSQL QUERY:", "completion": "SELECT SUM(gamesplayed) FROM Sportsinfo"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n tournament VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Where was the tournament where the score was 1 6, 6 3, 3 6?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_66 WHERE score LIKE \"%1–6, 6–3, 3–6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n venue VARCHAR,\n loser VARCHAR\n)\n\nQUESTION: For which venue did Leicester City lose?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_29 WHERE loser LIKE \"%leicester city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n round INTEGER,\n college VARCHAR,\n pick VARCHAR\n)\n\nQUESTION: What was the earliest round that Purdue had a pick larger than 10?\nSQL QUERY:", "completion": "SELECT MIN(round) FROM table_name_16 WHERE college LIKE '%purdue%' AND pick > 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n date VARCHAR,\n host_team VARCHAR\n)\n\nQUESTION: On what date did the New York Giants host a game?\nSQL QUERY:", "completion": "SELECT date FROM table_name_42 WHERE host_team LIKE \"%new york giants%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22875369_3 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the opponent for 2-27-10\nSQL QUERY:", "completion": "SELECT opponent FROM table_22875369_3 WHERE date LIKE \"%2-27-10%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20319085_2 (\n result VARCHAR,\n conference_record VARCHAR\n)\n\nQUESTION: How did the season with 7-2 conference record ed?\nSQL QUERY:", "completion": "SELECT result FROM table_20319085_2 WHERE conference_record LIKE \"%7-2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_198 (\n \"id\" int,\n \"hemoglobin_a1c_hba1c\" float,\n \"fasting_plasma_glucose\" int,\n \"diabetes\" bool,\n \"body_mass_index_bmi\" float,\n \"type_1_patients\" bool,\n \"NOUSE\" float\n)\n\nQUESTION: body mass index of at least 25 kg / m2.\nSQL QUERY:", "completion": "SELECT * FROM table_train_198 WHERE body_mass_index_bmi >= 25"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40164 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Can you tell me the High points that has the High rebounds of rafer alston (9)?\nSQL QUERY:", "completion": "SELECT \"High points\" FROM table_40164 WHERE \"High rebounds\" LIKE '%rafer alston (9)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65787 (\n \"Draw\" real,\n \"Language\" text,\n \"Song\" text,\n \"English translation\" text,\n \"Place\" real,\n \"Points\" real\n)\n\nQUESTION: What are the lowest points when the language is Portuguese?\nSQL QUERY:", "completion": "SELECT MIN(\"Points\") FROM table_65787 WHERE \"Language\" LIKE '%portuguese%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60562 (\n \"Year\" real,\n \"Champion\" text,\n \"Runner-up\" text,\n \"Score\" text,\n \"City\" text,\n \"Venue\" text\n)\n\nQUESTION: In which city is the San Lorenzo Centenario venue located?\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_60562 WHERE \"Venue\" LIKE '%san lorenzo centenario%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55874 (\n \"Player\" text,\n \"Position\" text,\n \"School\" text,\n \"Hometown\" text,\n \"College\" text\n)\n\nQUESTION: Which player attended Hoover High School?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_55874 WHERE \"School\" LIKE '%hoover high school%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_225095_4 (\n vacator VARCHAR,\n successor VARCHAR\n)\n\nQUESTION: Who was the vacator when Shadrach Bond was the successor?\nSQL QUERY:", "completion": "SELECT vacator FROM table_225095_4 WHERE successor LIKE \"%shadrach bond%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55841 (\n \"Year\" real,\n \"MRHMA\" text,\n \"USCA\" text,\n \"RTHK\" text,\n \"Joint Music Award\" text,\n \"Total\" real\n)\n\nQUESTION: What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?\nSQL QUERY:", "completion": "SELECT \"Total\" FROM table_55841 WHERE \"Joint Music Award\" LIKE '%1%' AND \"RTHK\" LIKE '%4%' AND \"USCA\" LIKE '%4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13657883_2 (\n to_winning_team VARCHAR,\n tu_winning_team VARCHAR\n)\n\nQUESTION: What was the to winning team when the tu winning team was joe amato carson baird?\nSQL QUERY:", "completion": "SELECT to_winning_team FROM table_13657883_2 WHERE tu_winning_team LIKE \"%joe amato carson baird%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33412 (\n \"Vessel Name\" text,\n \"Type\" text,\n \"Built\" real,\n \"Class\" text,\n \"Flag\" text\n)\n\nQUESTION: In which class would the vessel Hyundai Tenacity be placed?\nSQL QUERY:", "completion": "SELECT \"Class\" FROM table_33412 WHERE \"Vessel Name\" LIKE '%hyundai tenacity%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n nationality VARCHAR,\n college_junior_club_team__league_ VARCHAR\n)\n\nQUESTION: Which Nationality has a College/Junior/Club Team (League) of swift current broncos (wchl)?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_84 WHERE college_junior_club_team__league_ LIKE \"%swift current broncos (wchl)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_672 (\n id number,\n \"week\" number,\n \"date\" text,\n \"opponent\" text,\n \"result\" text,\n \"venue\" text,\n \"attendance\" number\n)\n\nQUESTION: which was the only stadium where attendance was greater than 70,000 ?\nSQL QUERY:", "completion": "SELECT \"venue\" FROM table_203_672 WHERE \"attendance\" > 70000"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51604 (\n \"Entrant\" text,\n \"Constructor\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Tyre\" text,\n \"Driver\" text,\n \"Rounds\" text\n)\n\nQUESTION: What engine was used when Aguri Suzuki drove the FA13B FA14 Chassis?\nSQL QUERY:", "completion": "SELECT \"Engine\" FROM table_51604 WHERE \"Chassis\" LIKE '%fa13b fa14%' AND \"Driver\" LIKE '%aguri suzuki%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18733480_1 (\n air_date VARCHAR,\n team_1 VARCHAR\n)\n\nQUESTION: What is the original air date that had the wykeham wonderers as team 1?\nSQL QUERY:", "completion": "SELECT air_date FROM table_18733480_1 WHERE team_1 LIKE \"%wykeham wonderers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77610 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: What is the record for the game on January 19?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_77610 WHERE \"Date\" LIKE '%january 19%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n municipality VARCHAR,\n code VARCHAR\n)\n\nQUESTION: Which municipality has the code 2401?\nSQL QUERY:", "completion": "SELECT municipality FROM table_name_84 WHERE code = '2401'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342013_41 (\n incumbent VARCHAR,\n candidates VARCHAR\n)\n\nQUESTION: Who is the incumbent candidate in the election of percy priest (d) 90.8% robert m. donihi (r) 9.2%?\nSQL QUERY:", "completion": "SELECT incumbent FROM table_1342013_41 WHERE candidates LIKE \"%percy priest (d) 90.8% robert m. donihi (r) 9.2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12275654_1 (\n mens_doubles VARCHAR,\n mens_singles VARCHAR\n)\n\nQUESTION: Who won the men's double when Chou Tien-Chen won the men's single?\nSQL QUERY:", "completion": "SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles LIKE \"%chou tien-chen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1971734_1 (\n prod__number VARCHAR,\n filmed VARCHAR\n)\n\nQUESTION: What was the production number of the episode filmed in aug/sept 1968?\nSQL QUERY:", "completion": "SELECT prod__number FROM table_1971734_1 WHERE filmed LIKE '%aug/sept 1968%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n bronze VARCHAR,\n location VARCHAR\n)\n\nQUESTION: Who won bronze in Seoul?\nSQL QUERY:", "completion": "SELECT bronze FROM table_name_20 WHERE location LIKE \"%seoul%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22665117_1 (\n date_opened VARCHAR,\n dist_id VARCHAR\n)\n\nQUESTION: What is the date opened if thedistrict ID is 11901?\nSQL QUERY:", "completion": "SELECT date_opened FROM table_22665117_1 WHERE dist_id LIKE '%11901%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17360840_4 (\n attendance INTEGER,\n record VARCHAR\n)\n\nQUESTION: What is the minimum attendance on games of record 0-2-1\nSQL QUERY:", "completion": "SELECT MIN(attendance) FROM table_17360840_4 WHERE record LIKE \"%0-2-1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n award VARCHAR,\n recipient VARCHAR\n)\n\nQUESTION: What award did Charlie Productions Ltd receive?\nSQL QUERY:", "completion": "SELECT award FROM table_name_14 WHERE recipient LIKE \"%charlie productions ltd%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5982 (\n \"Year\" text,\n \"Sports\" text,\n \"Competitors\" text,\n \"Gold\" text,\n \"Silver\" text,\n \"Bronze\" text,\n \"Total\" text\n)\n\nQUESTION: What was the Total the Year Yugoslavia had 0 Silver medals and 31 Competitors?\nSQL QUERY:", "completion": "SELECT \"Total\" FROM table_5982 WHERE \"Silver\" LIKE '%0%' AND \"Competitors\" LIKE '%31%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_189 (\n id number,\n \"year\" number,\n \"competition\" text,\n \"venue\" text,\n \"position\" text,\n \"notes\" text\n)\n\nQUESTION: what was the first year in which jifar placed lower than 2nd ?\nSQL QUERY:", "completion": "SELECT MIN(\"year\") FROM table_203_189 WHERE \"position\" > '2'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1855342_5 (\n background INTEGER,\n ability_to_compromise VARCHAR\n)\n\nQUESTION: When the ability to compromise is 13, what is background?\nSQL QUERY:", "completion": "SELECT MAX(background) FROM table_1855342_5 WHERE ability_to_compromise LIKE '%13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n s_touchdown VARCHAR,\n average VARCHAR,\n rec VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: How many Touchdowns have a rec of 10, and an Opponent of oregon state, and an Average smaller than 19.7?\nSQL QUERY:", "completion": "SELECT COUNT(s_touchdown) FROM table_name_57 WHERE rec = '10' AND opponent LIKE '%oregon state%' AND average < '19.7'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22683369_8 (\n challenge_cup VARCHAR,\n p VARCHAR\n)\n\nQUESTION: How many points did player 7 score in the challenge cup?\nSQL QUERY:", "completion": "SELECT COUNT(challenge_cup) FROM table_22683369_8 WHERE p LIKE '%7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n presenter VARCHAR,\n uk_broadcast_date VARCHAR\n)\n\nQUESTION: Who is the presenter of the episode broadcast in the UK on 1996-09-25?\nSQL QUERY:", "completion": "SELECT presenter FROM table_name_45 WHERE uk_broadcast_date LIKE \"%1996-09-25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14342210_6 (\n player VARCHAR,\n touchdowns VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which player made 4 touchdowns while playing left halfback?\nSQL QUERY:", "completion": "SELECT player FROM table_14342210_6 WHERE touchdowns LIKE '%4%' AND position LIKE '%left halfback%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45116 (\n \"Player\" text,\n \"Nationality\" text,\n \"Position\" text,\n \"Years for Grizzlies\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: What player plays the position of small forward?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_45116 WHERE \"Position\" LIKE '%small forward%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n rank INTEGER,\n worldwide_gross VARCHAR\n)\n\nQUESTION: How many ranks have $1,084,439,099 as the worldwide gross?\nSQL QUERY:", "completion": "SELECT SUM(rank) FROM table_name_91 WHERE worldwide_gross LIKE '%$1,084,439,099%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n country VARCHAR\n)\n\nQUESTION: What was the value in 2011 for United States?\nSQL QUERY:", "completion": "SELECT 2011 FROM table_name_95 WHERE country LIKE '%united states%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n engine VARCHAR,\n chassis VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What engine had a JBW chassis in 1960?\nSQL QUERY:", "completion": "SELECT engine FROM table_name_49 WHERE chassis LIKE \"%jbw%\" AND year = 1960"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n pennant VARCHAR,\n builder VARCHAR\n)\n\nQUESTION: what is the pennant when the builder is yarrow, scotstoun?\nSQL QUERY:", "completion": "SELECT pennant FROM table_name_23 WHERE builder LIKE '%yarrow, scotstoun%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n to_par INTEGER,\n year_s__won VARCHAR\n)\n\nQUESTION: What is the sum of To Par, when Year(s) Won is '1978 , 1985'?\nSQL QUERY:", "completion": "SELECT SUM(to_par) FROM table_name_35 WHERE year_s__won LIKE \"%1978 , 1985%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n opponent VARCHAR,\n event VARCHAR\n)\n\nQUESTION: Who is the opponent at the IFA: Clash of the Champions?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_71 WHERE event LIKE \"%ifa: clash of the champions%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23667534_1 (\n album_s_ VARCHAR,\n song_s__title VARCHAR\n)\n\nQUESTION: What album was the song It's going so badly on?\nSQL QUERY:", "completion": "SELECT album_s_ FROM table_23667534_1 WHERE song_s__title LIKE \"%it's going so badly%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n team VARCHAR,\n rider VARCHAR\n)\n\nQUESTION: Which team is John Williams a rider for?\nSQL QUERY:", "completion": "SELECT team FROM table_name_7 WHERE rider LIKE \"%john williams%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n country VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Where is Fred Couples from?\nSQL QUERY:", "completion": "SELECT country FROM table_name_71 WHERE player LIKE \"%fred couples%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33577 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What was the home team at the match when the away team scored 6.14 (50)?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_33577 WHERE \"Away team score\" LIKE '%6.14 (50)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11347578_1 (\n wind_power__wp_ VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What is the symbol for Windpower in China?\nSQL QUERY:", "completion": "SELECT wind_power__wp_ FROM table_11347578_1 WHERE country LIKE '%china%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75568 (\n \"Stage\" text,\n \"Winner\" text,\n \"General classification\" text,\n \"Points classification\" text,\n \"Mountains classification\" text,\n \"Team classification\" text\n)\n\nQUESTION: Name the points classification for stage of 18b\nSQL QUERY:", "completion": "SELECT \"Points classification\" FROM table_75568 WHERE \"Stage\" LIKE '%18b%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12451376_2 (\n title VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: Please list the total number of title with the production code 211.\nSQL QUERY:", "completion": "SELECT COUNT(title) FROM table_12451376_2 WHERE production_code LIKE '%211%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_520 (\n id number,\n \"outcome\" text,\n \"no.\" number,\n \"date\" number,\n \"championship\" text,\n \"surface\" text,\n \"opponent\" text,\n \"score\" text\n)\n\nQUESTION: who was the first person this person played on an indoor surface ?\nSQL QUERY:", "completion": "SELECT \"opponent\" FROM table_204_520 WHERE \"surface\" LIKE '%indoor%' ORDER BY \"date\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13231 (\n \"Rank\" real,\n \"Player\" text,\n \"Wickets\" real,\n \"Average\" real,\n \"Career\" text\n)\n\nQUESTION: What are the total number of Wickets that ranger higher than 5?\nSQL QUERY:", "completion": "SELECT COUNT(\"Wickets\") FROM table_13231 WHERE \"Rank\" > 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n stage VARCHAR,\n winner VARCHAR\n)\n\nQUESTION: Which stage has a Winner of lucien van impe?\nSQL QUERY:", "completion": "SELECT stage FROM table_name_19 WHERE winner LIKE \"%lucien van impe%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n home VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: Who was the home when the opponent was slovan liberec?\nSQL QUERY:", "completion": "SELECT home FROM table_name_44 WHERE opponent LIKE \"%slovan liberec%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27756474_2 (\n high_assists VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who had the high assists on october 6?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_27756474_2 WHERE date LIKE \"%october 6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342013_20 (\n party VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Thomas J. Lane is the incumbent of how many parties?\nSQL QUERY:", "completion": "SELECT COUNT(party) FROM table_1342013_20 WHERE incumbent LIKE \"%thomas j. lane%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n socialist_labor_ticket VARCHAR,\n liberal_ticket VARCHAR\n)\n\nQUESTION: Who was on the Socialist Labor ticket that had Arthur Levitt as the Liberal Ticket?\nSQL QUERY:", "completion": "SELECT socialist_labor_ticket FROM table_name_60 WHERE liberal_ticket LIKE \"%arthur levitt%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n end_date VARCHAR,\n minister VARCHAR\n)\n\nQUESTION: What was the end date when Alex Bodry was the minister?\nSQL QUERY:", "completion": "SELECT end_date FROM table_name_11 WHERE minister LIKE \"%alex bodry%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2980024_1 (\n other_goals VARCHAR,\n league_goals VARCHAR\n)\n\nQUESTION: How many other goals did Dunne have in the season where he had 1 league goal?\nSQL QUERY:", "completion": "SELECT other_goals FROM table_2980024_1 WHERE league_goals LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n score VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: What is the score of the game that had a visiting team of Edmonton?\nSQL QUERY:", "completion": "SELECT score FROM table_name_93 WHERE visitor LIKE \"%edmonton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n date VARCHAR,\n loser VARCHAR,\n year VARCHAR\n)\n\nQUESTION: On what date was the game that the Indianapolis Colts lost in 2004?\nSQL QUERY:", "completion": "SELECT date FROM table_name_98 WHERE loser LIKE \"%indianapolis colts%\" AND year = '2004'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14421 (\n \"Date\" text,\n \"Opponent\" text,\n \"City\" text,\n \"Result\" text,\n \"Score\" text\n)\n\nQUESTION: What was the score for the game against Marquette?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_14421 WHERE \"Opponent\" LIKE '%marquette%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1681535_1 (\n release_date VARCHAR,\n notes VARCHAR\n)\n\nQUESTION: What is the release date of the bonus interview with Peter Purves?\nSQL QUERY:", "completion": "SELECT release_date FROM table_1681535_1 WHERE notes LIKE \"%bonus interview with peter purves%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11674683_2 (\n interview VARCHAR,\n delegate VARCHAR\n)\n\nQUESTION: Name the interview for peru delegate\nSQL QUERY:", "completion": "SELECT interview FROM table_11674683_2 WHERE delegate LIKE '%peru%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17051 (\n \"Player\" text,\n \"Position\" text,\n \"School\" text,\n \"Hometown\" text,\n \"MLB Draft\" text\n)\n\nQUESTION: What position does Kerry Wood play in?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_17051 WHERE \"Player\" LIKE '%kerry wood%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69324 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What was the attendance on May 26?\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_69324 WHERE \"Date\" LIKE '%may 26%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39909 (\n \"Number\" real,\n \"Builder\" text,\n \"Type\" text,\n \"Date\" text,\n \"Works number\" text\n)\n\nQUESTION: Which Builder has a Date of early 1871?\nSQL QUERY:", "completion": "SELECT \"Builder\" FROM table_39909 WHERE \"Date\" LIKE '%early 1871%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22570439_1 (\n us_viewers__millions_ VARCHAR,\n season__number VARCHAR\n)\n\nQUESTION: How many u.s. viewers (millions) have 5 as the season #?\nSQL QUERY:", "completion": "SELECT us_viewers__millions_ FROM table_22570439_1 WHERE season__number LIKE '%5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20996923_20 (\n date VARCHAR,\n bowl_game VARCHAR\n)\n\nQUESTION: What was the date for the Champs Sports Bowl?\nSQL QUERY:", "completion": "SELECT date FROM table_20996923_20 WHERE bowl_game LIKE \"%champs sports bowl%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27712180_6 (\n record VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the record for the date november 19?\nSQL QUERY:", "completion": "SELECT record FROM table_27712180_6 WHERE date LIKE \"%november 19%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n final INTEGER,\n all_around VARCHAR,\n place VARCHAR,\n nation VARCHAR\n)\n\nQUESTION: What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?\nSQL QUERY:", "completion": "SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation LIKE \"%finland%\" AND all_around > 18.9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n nationality VARCHAR,\n pick VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is the nationality of player corey fienhage, who has a pick less than 104?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_2 WHERE pick < 104 AND player LIKE \"%corey fienhage%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16439764_1 (\n m_v_ft_s INTEGER,\n max_height__ft_ VARCHAR\n)\n\nQUESTION: How many feet per second does a shell move where the height range is 23500?\nSQL QUERY:", "completion": "SELECT MIN(m_v_ft_s) FROM table_16439764_1 WHERE max_height__ft_ LIKE '%23500%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43864 (\n \"Match No.\" real,\n \"Date\" text,\n \"Time\" text,\n \"Score\" text,\n \"Venue\" text,\n \"Match Report\" text\n)\n\nQUESTION: Name the Venue which has a Score of 8 1?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_43864 WHERE \"Score\" LIKE '%8 – 1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n score VARCHAR,\n set_3 VARCHAR\n)\n\nQUESTION: What is Score, when Set 3 is 17-25?\nSQL QUERY:", "completion": "SELECT score FROM table_name_67 WHERE set_3 LIKE \"%17-25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_59683 (\n \"Date\" text,\n \"Race\" text,\n \"Track\" text,\n \"Location\" text,\n \"Distance\" text,\n \"Surface\" text,\n \"Purse\" text,\n \"Finish\" text\n)\n\nQUESTION: What is the Track in Louisville, Kentucky?\nSQL QUERY:", "completion": "SELECT \"Track\" FROM table_59683 WHERE \"Location\" LIKE '%louisville, kentucky%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24035 (\n \"Ep.\" real,\n \"Season\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text,\n \"Prod. Code\" text\n)\n\nQUESTION: When it is season 10 who are the writers?\nSQL QUERY:", "completion": "SELECT \"Written by\" FROM table_24035 WHERE \"Season\" = 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19722 (\n \"Character\" text,\n \"French voice actor\" text,\n \"Italian voice actor\" text,\n \"German voice actor\" text,\n \"Spanish voice actor\" text\n)\n\nQUESTION: Name the french actor with javier romano\nSQL QUERY:", "completion": "SELECT COUNT(\"French voice actor\") FROM table_19722 WHERE \"Spanish voice actor\" LIKE '%javier romano%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74501 (\n \"Aircraft\" text,\n \"Origin\" text,\n \"Type\" text,\n \"Versions\" text,\n \"In service\" text\n)\n\nQUESTION: Tell me the origin for mi-2\nSQL QUERY:", "completion": "SELECT \"Origin\" FROM table_74501 WHERE \"Versions\" LIKE '%mi-2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14063 (\n \"Year\" real,\n \"Tournament\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Event\" text\n)\n\nQUESTION: What is the venue of the competition with a result of 1st before 2009?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_14063 WHERE \"Year\" < 2009 AND \"Result\" LIKE '%1st%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22815568_13 (\n unemployment_rate VARCHAR,\n county VARCHAR\n)\n\nQUESTION: what is the unemployment rate for wayne county?\nSQL QUERY:", "completion": "SELECT unemployment_rate FROM table_22815568_13 WHERE county LIKE \"%wayne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n share INTEGER,\n rank__overall_ VARCHAR,\n timeslot VARCHAR,\n air_date VARCHAR\n)\n\nQUESTION: What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65?\nSQL QUERY:", "completion": "SELECT SUM(share) FROM table_name_25 WHERE timeslot LIKE \"%8:30 p.m.%\" AND air_date LIKE \"%march 27, 2008%\" AND rank__overall_ > 65"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52657 (\n \"State\" text,\n \"Interview\" real,\n \"Swimsuit\" real,\n \"Evening gown\" real,\n \"Average\" real\n)\n\nQUESTION: What is the total interview score a contestant from Indiana with an average smaller than 8.3 has?\nSQL QUERY:", "completion": "SELECT COUNT(\"Interview\") FROM table_52657 WHERE \"State\" LIKE '%indiana%' AND \"Average\" < 8.3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33112 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: When did the match take place that had an away team score of 12.12 (84)?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_33112 WHERE \"Away team score\" LIKE '%12.12 (84)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n effic INTEGER,\n avg_g VARCHAR,\n gp_gs VARCHAR\n)\n\nQUESTION: Which Effic is the highest one that has an Avg/G smaller than 305.6, and a GP-GS of 13-13?\nSQL QUERY:", "completion": "SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs LIKE \"%13-13%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14016079_1 (\n circuit VARCHAR,\n race_title VARCHAR\n)\n\nQUESTION: On what circuit was the City of Ipswich 400 race held?\nSQL QUERY:", "completion": "SELECT circuit FROM table_14016079_1 WHERE race_title LIKE \"%city of ipswich 400%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_678 (\n id number,\n \"record\" text,\n \"athlete\" text,\n \"nation\" text,\n \"venue\" text,\n \"date\" text,\n \"#\" number\n)\n\nQUESTION: who was the next record holder after emma george won held it in 1999 ?\nSQL QUERY:", "completion": "SELECT \"athlete\" FROM table_204_678 WHERE \"date\" > (SELECT \"date\" FROM table_204_678 WHERE \"athlete\" LIKE '%emma george%' AND \"date\" = '1999') ORDER BY \"date\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29273243_1 (\n title VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: How many episodes have the production code ip04004?\nSQL QUERY:", "completion": "SELECT COUNT(title) FROM table_29273243_1 WHERE production_code LIKE '%ip04004%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6231 (\n \"Date\" text,\n \"Course\" text,\n \"Distance\" text,\n \"Type\" text,\n \"Winner\" text\n)\n\nQUESTION: What was the distance on 24 May?\nSQL QUERY:", "completion": "SELECT \"Distance\" FROM table_6231 WHERE \"Date\" LIKE '%24 may%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_57 (\n id number,\n \"year\" number,\n \"film\" text,\n \"role\" text,\n \"language\" text,\n \"notes\" text\n)\n\nQUESTION: what other film is in malayalam besides koothara ?\nSQL QUERY:", "completion": "SELECT \"film\" FROM table_204_57 WHERE \"language\" LIKE '%malayalam%' AND \"film\" NOT LIKE '%koothara%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n score VARCHAR,\n player VARCHAR,\n to_par VARCHAR,\n country VARCHAR\n)\n\nQUESTION: When Rocco Mediate of the United States has a To par of +2, what was his score?\nSQL QUERY:", "completion": "SELECT score FROM table_name_43 WHERE to_par LIKE '%+2%' AND country LIKE '%united states%' AND player LIKE '%rocco mediate%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19236587_4 (\n original_air_date VARCHAR,\n series_no VARCHAR\n)\n\nQUESTION: How many different original air dates does the episode with series number 13 have?\nSQL QUERY:", "completion": "SELECT COUNT(original_air_date) FROM table_19236587_4 WHERE series_no LIKE '%13%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n category VARCHAR,\n nominated VARCHAR\n)\n\nQUESTION: In what category was Herself nominated?\nSQL QUERY:", "completion": "SELECT category FROM table_name_21 WHERE nominated LIKE \"%herself%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n home VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who was the home team on 27 march 2008?\nSQL QUERY:", "completion": "SELECT home FROM table_name_83 WHERE date LIKE \"%27 march 2008%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_3 (\n grid INTEGER,\n manufacturer VARCHAR\n)\n\nQUESTION: What is the lowest grid number for Yamaha?\nSQL QUERY:", "completion": "SELECT MIN(grid) FROM table_name_3 WHERE manufacturer LIKE '%yamaha%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1637041_6 (\n avg_start VARCHAR,\n winnings VARCHAR\n)\n\nQUESTION: What is the average start for the season with $7,220 in winnings?\nSQL QUERY:", "completion": "SELECT avg_start FROM table_1637041_6 WHERE winnings LIKE '%$7,220%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Where the away team is Bradford City, who is the home team?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_83 WHERE away_team LIKE \"%bradford city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which Opponent has a Date of november 17, 1963?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_30 WHERE date LIKE \"%november 17, 1963%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n weight VARCHAR,\n club VARCHAR,\n date_of_birth VARCHAR\n)\n\nQUESTION: What is the weight of the player from club panionios g.c. and was born on 1975-05-21?\nSQL QUERY:", "completion": "SELECT weight FROM table_name_70 WHERE club LIKE \"%panionios g.c.%\" AND date_of_birth LIKE \"%1975-05-21%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25341765_1 (\n directed_by VARCHAR,\n us_viewers__million_ VARCHAR\n)\n\nQUESTION: Who directed the episode that had 5.92 million viewers?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_25341765_1 WHERE us_viewers__million_ LIKE \"%5.92%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE station (\n city VARCHAR,\n lat INTEGER\n)\n\nQUESTION: List all the cities in a decreasing order of each city's stations' highest latitude.\nSQL QUERY:", "completion": "SELECT city FROM station GROUP BY city ORDER BY MAX(lat) DESC"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19744915_17 (\n rank INTEGER,\n total VARCHAR\n)\n\nQUESTION: If the total is 17, what was the maximum rank amount?\nSQL QUERY:", "completion": "SELECT MAX(rank) FROM table_19744915_17 WHERE total LIKE '%17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n overall VARCHAR,\n round VARCHAR,\n pick VARCHAR\n)\n\nQUESTION: WHAT IS THE TOTAL NUMBER WITH A ROUND BIGGER THAN 7 AND PICK OF 21?\nSQL QUERY:", "completion": "SELECT COUNT(overall) FROM table_name_73 WHERE round > '7' AND pick LIKE '%21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7157 (\n \"Pos.\" text,\n \"Player\" text,\n \"Team\" text,\n \"Height\" text,\n \"Weight\" real\n)\n\nQUESTION: What team does Bill Walker play for?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_7157 WHERE \"Player\" LIKE '%bill walker%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n total INTEGER,\n nation VARCHAR\n)\n\nQUESTION: What is total number of wins for England?\nSQL QUERY:", "completion": "SELECT SUM(total) FROM table_name_59 WHERE nation LIKE \"%england%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n location VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What is the location of South Adelaide?\nSQL QUERY:", "completion": "SELECT location FROM table_name_46 WHERE team LIKE \"%south adelaide%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n away_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Who was the Away team at Arden Street Oval?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_98 WHERE venue LIKE \"%arden street oval%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31981 (\n \"Rider\" text,\n \"Bike\" text,\n \"Laps\" real,\n \"Time\" text,\n \"Grid\" real\n)\n\nQUESTION: Tell me the total number of grid for rider of james toseland\nSQL QUERY:", "completion": "SELECT COUNT(\"Grid\") FROM table_31981 WHERE \"Rider\" LIKE '%james toseland%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57248 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Which away team had a home team that scored 12.19 (91)?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_57248 WHERE \"Home team score\" LIKE '%12.19 (91)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40736 (\n \"Final Rank\" real,\n \"Ranking Round Rank\" real,\n \"Nation\" text,\n \"Ranking Score\" real,\n \"Round of 16\" text\n)\n\nQUESTION: What is the Round of 16 value for the nation with a value of 5 for Ranking Round Rank?\nSQL QUERY:", "completion": "SELECT \"Round of 16\" FROM table_40736 WHERE \"Ranking Round Rank\" = 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79390 (\n \"Model\" text,\n \"Years\" text,\n \"Engine code\" text,\n \"Power\" text,\n \"Torque\" text\n)\n\nQUESTION: What is the torque of the xdrive20d model, which has a power of ps (kw; hp)@4000?\nSQL QUERY:", "completion": "SELECT \"Torque\" FROM table_79390 WHERE \"Power\" LIKE '%ps (kw; hp)@4000%' AND \"Model\" LIKE '%xdrive20d%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n tournament VARCHAR\n)\n\nQUESTION: Tell me the tournament of 2009 of atp masters series\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_26 WHERE tournament LIKE '%atp masters series%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61025 (\n \"Year\" real,\n \"Award\" text,\n \"Category\" text,\n \"Role\" text,\n \"Result\" text\n)\n\nQUESTION: How many years have a Result of nominated?\nSQL QUERY:", "completion": "SELECT COUNT(\"Year\") FROM table_61025 WHERE \"Result\" LIKE '%nominated%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26609690_1 (\n top_10 INTEGER\n)\n\nQUESTION: What is the smallest top 10 figure?\nSQL QUERY:", "completion": "SELECT MIN(top_10) FROM table_26609690_1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n lost INTEGER,\n played INTEGER\n)\n\nQUESTION: What is the greatest lost where played is less than 9?\nSQL QUERY:", "completion": "SELECT MAX(lost) FROM table_name_51 WHERE played < 9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23016 (\n \"Call sign\" text,\n \"Frequency\" text,\n \"City of License\" text,\n \"Licensee\" text,\n \"Format\" text\n)\n\nQUESTION: When portsmouth is the city of license who is the licensee?\nSQL QUERY:", "completion": "SELECT \"Licensee\" FROM table_23016 WHERE \"City of License\" LIKE '%portsmouth%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n capacity VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What is the total number for Capacity at city stadium, borisov?\nSQL QUERY:", "completion": "SELECT COUNT(capacity) FROM table_name_28 WHERE venue LIKE \"%city stadium, borisov%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n rank INTEGER,\n name VARCHAR,\n source VARCHAR,\n out_of VARCHAR\n)\n\nQUESTION: What is the highest rank that has fao as a source and an out greater than 50, with dietary calorie intake as the name?\nSQL QUERY:", "completion": "SELECT MAX(rank) FROM table_name_98 WHERE source LIKE \"%fao%\" AND out_of > 50 AND name LIKE \"%dietary calorie intake%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n event VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: Which Event has the Opponent, Bernard Ackah?\nSQL QUERY:", "completion": "SELECT event FROM table_name_15 WHERE opponent LIKE \"%bernard ackah%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55532 (\n \"Actor\" text,\n \"Character\" text,\n \"Title/Rank\" text,\n \"Series\" text,\n \"Years\" text\n)\n\nQUESTION: who is the actor of the character ariadne oliver?\nSQL QUERY:", "completion": "SELECT \"Actor\" FROM table_55532 WHERE \"Character\" LIKE '%ariadne oliver%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n draws INTEGER,\n club VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which Draws have a Club of burgos cf, and a Position larger than 8?\nSQL QUERY:", "completion": "SELECT MIN(draws) FROM table_name_98 WHERE club LIKE \"%burgos cf%\" AND position > 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n rank INTEGER,\n lane VARCHAR,\n nationality VARCHAR,\n name VARCHAR\n)\n\nQUESTION: Can you tell me the lowest Rank that has the Nationality of australia, and the Name of leisel jones, and the Lane larger than 4?\nSQL QUERY:", "completion": "SELECT MIN(rank) FROM table_name_49 WHERE nationality LIKE '%australia%' AND name LIKE '%leisel jones%' AND lane > 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6829 (\n \"Time\" text,\n \"00:00 AM\" text,\n \"01:00 AM\" text,\n \"02:00 AM\" text,\n \"05:00 AM\" text\n)\n\nQUESTION: What is the show on Tuesday when the time is 01:00 AM?\nSQL QUERY:", "completion": "SELECT \"01:00 AM\" FROM table_6829 WHERE \"Time\" LIKE '%tuesday%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n college VARCHAR,\n pick INTEGER\n)\n\nQUESTION: Which college had a pick of under 5?\nSQL QUERY:", "completion": "SELECT college FROM table_name_92 WHERE pick < 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23494 (\n \"Ostrich\" text,\n \"Hamerkop\" text,\n \"Hadeda Ibis\" text,\n \"African Spoonbill\" text,\n \"Whitefaced Duck\" text,\n \"Knobbilled Duck\" text\n)\n\nQUESTION: What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar?\nSQL QUERY:", "completion": "SELECT \"African Spoonbill\" FROM table_23494 WHERE \"Hadeda Ibis\" LIKE '%flernecked nightjar%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18079 (\n \"Complete Series\" text,\n \"Region 1\" text,\n \"Region 2\" text,\n \"Region 4\" text,\n \"DVD Extras and Bonus Features\" text,\n \"Number Of Discs\" real\n)\n\nQUESTION: What is the number of region 4 for the series of the complete seventh series?\nSQL QUERY:", "completion": "SELECT COUNT(\"Region 4\") FROM table_18079 WHERE \"Complete Series\" LIKE '%the complete seventh series%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9258 (\n \"City\" text,\n \"Round 1\" real,\n \"Round 2\" text,\n \"Round 3\" text,\n \"Round 4\" text\n)\n\nQUESTION: Round 3 with less than 54 for Round 4?\nSQL QUERY:", "completion": "SELECT \"Round 3\" FROM table_9258 WHERE \"Round 4\" LIKE '%54%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_49989 (\n \"Exit Date\" text,\n \"Pos.\" text,\n \"Player\" text,\n \"To club\" text,\n \"Transfer fee\" text\n)\n\nQUESTION: Which player was transferred to Reggina?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_49989 WHERE \"To club\" LIKE '%reggina%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n date VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: what is the date of the tournament in michalovce\nSQL QUERY:", "completion": "SELECT date FROM table_name_74 WHERE tournament LIKE '%michalovce%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n car INTEGER,\n player VARCHAR\n)\n\nQUESTION: What are the carries of the player Jeremiah Pope?\nSQL QUERY:", "completion": "SELECT SUM(car) FROM table_name_83 WHERE player LIKE \"%jeremiah pope%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n opponent VARCHAR,\n week VARCHAR,\n game_site VARCHAR\n)\n\nQUESTION: Who was the opponent before week 6 at cleveland municipal stadium?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_19 WHERE week < '6' AND game_site LIKE '%cleveland municipal stadium%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65055 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: How many silvers are there with a total of 11?\nSQL QUERY:", "completion": "SELECT SUM(\"Silver\") FROM table_65055 WHERE \"Total\" = 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31872 (\n \"Date\" text,\n \"Venue\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: I want the score for 28 march 1979\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_31872 WHERE \"Date\" LIKE '%28 march 1979%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n result VARCHAR,\n week VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What was the result of the game before week 3 with an attendance of 53,658?\nSQL QUERY:", "completion": "SELECT result FROM table_name_32 WHERE CAST(week AS INTEGER) < 3 AND attendance LIKE '%53,658%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n grid INTEGER,\n time_retired VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: When a race had less than 18 laps and time/retired of accident, what was the smallest grid?\nSQL QUERY:", "completion": "SELECT MIN(grid) FROM table_name_16 WHERE time_retired LIKE '%accident%' AND laps < '18'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n driver VARCHAR,\n rounds VARCHAR,\n chassis VARCHAR\n)\n\nQUESTION: with 6 rounds, and a 52 51/52 chassis, who is the driver?\nSQL QUERY:", "completion": "SELECT driver FROM table_name_79 WHERE rounds LIKE \"%6%\" AND chassis LIKE \"%52 51/52%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n year VARCHAR,\n runner_s__up VARCHAR\n)\n\nQUESTION: What Year had a Runner(s)-up of flory van donck?\nSQL QUERY:", "completion": "SELECT year FROM table_name_64 WHERE runner_s__up LIKE \"%flory van donck%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n years VARCHAR,\n goals VARCHAR\n)\n\nQUESTION: For the player that scored 27 goals, what years did he score them?\nSQL QUERY:", "completion": "SELECT years FROM table_name_62 WHERE goals LIKE '%27%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n games VARCHAR,\n name VARCHAR\n)\n\nQUESTION: Which Games had a Name of manuel felix diaz?\nSQL QUERY:", "completion": "SELECT games FROM table_name_64 WHERE name LIKE \"%manuel felix diaz%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n country VARCHAR,\n year_s__won VARCHAR\n)\n\nQUESTION: Which Country has a Year(s) won of 1963?\nSQL QUERY:", "completion": "SELECT country FROM table_name_62 WHERE year_s__won LIKE \"%1963%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n tyres VARCHAR,\n chassis VARCHAR\n)\n\nQUESTION: What is the tyres for the JBW type 2 chassis?\nSQL QUERY:", "completion": "SELECT tyres FROM table_name_70 WHERE chassis LIKE \"%jbw type 2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n result VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What was the results of the game at Doha?\nSQL QUERY:", "completion": "SELECT result FROM table_name_51 WHERE venue LIKE \"%doha%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n loss VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the loss for may 1\nSQL QUERY:", "completion": "SELECT loss FROM table_name_4 WHERE date LIKE '%may 1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43985 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"Record\" text,\n \"Streak\" text\n)\n\nQUESTION: On what date did a streak start on November 14?\nSQL QUERY:", "completion": "SELECT \"Streak\" FROM table_43985 WHERE \"Date\" LIKE '%november 14%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_261895_1 (\n founded INTEGER,\n nickname VARCHAR\n)\n\nQUESTION: under belles, which is the most possible created?\nSQL QUERY:", "completion": "SELECT MAX(founded) FROM table_261895_1 WHERE nickname LIKE \"%belles%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_737 (\n id number,\n \"year\" number,\n \"order\" text,\n \"quantity\" number,\n \"ger nos.\" text\n)\n\nQUESTION: when was g42 , 1898 or 1894 ?\nSQL QUERY:", "completion": "SELECT \"year\" FROM table_204_737 WHERE \"order\" LIKE '%g42%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52823 (\n \"Player\" text,\n \"Nationality\" text,\n \"Position\" text,\n \"Years for Jazz\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: What years did Troy Hudson play for the Jazz?\nSQL QUERY:", "completion": "SELECT \"Years for Jazz\" FROM table_52823 WHERE \"Player\" LIKE '%troy hudson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_82 (\n entrant VARCHAR,\n engine VARCHAR,\n year VARCHAR\n)\n\nQUESTION: In 1970, what entrant had a cosworth v8 engine?\nSQL QUERY:", "completion": "SELECT entrant FROM table_name_82 WHERE engine LIKE \"%cosworth v8%\" AND year LIKE \"%1970%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14537 (\n \"Race\" text,\n \"Position\" text,\n \"Time\" text,\n \"Speed\" text,\n \"Replica\" text\n)\n\nQUESTION: Whice race ended with a DNF?\nSQL QUERY:", "completion": "SELECT \"Race\" FROM table_14537 WHERE \"Position\" LIKE '%dnf%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28138035_26 (\n mens_singles VARCHAR,\n womens_singles VARCHAR\n)\n\nQUESTION: Who won the mens singles when lau sui fei won the womens singles?\nSQL QUERY:", "completion": "SELECT mens_singles FROM table_28138035_26 WHERE womens_singles LIKE \"%lau sui fei%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n wins INTEGER,\n byes VARCHAR,\n losses VARCHAR,\n mininera_dfl VARCHAR\n)\n\nQUESTION: How many wins for the Caramut team with fewer than 11 losses and fewer than 2 byes?\nSQL QUERY:", "completion": "SELECT MAX(wins) FROM table_name_48 WHERE losses < 11 AND mininera_dfl LIKE '%caramut%' AND byes < '2'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n goal_difference VARCHAR,\n drawn VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Which Goal Difference has Drawn larger than 10, and a Team of lancaster city?\nSQL QUERY:", "completion": "SELECT goal_difference FROM table_name_21 WHERE drawn > 10 AND team LIKE '%lancaster city%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n winner VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who is the Winner on June 2, 2007?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_44 WHERE date LIKE \"%june 2, 2007%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39679 (\n \"Year\" text,\n \"Title\" text,\n \"Role\" text,\n \"Language\" text,\n \"Notes\" text\n)\n\nQUESTION: What language was Taken in?\nSQL QUERY:", "completion": "SELECT \"Language\" FROM table_39679 WHERE \"Title\" LIKE '%taken%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n date VARCHAR,\n partner VARCHAR\n)\n\nQUESTION: What date has elke clijsters as the partner?\nSQL QUERY:", "completion": "SELECT date FROM table_name_43 WHERE partner LIKE \"%elke clijsters%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n draw INTEGER,\n language VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What is the average Draw for the artist(s), whose language is Swedish, and scored less than 10 points?\nSQL QUERY:", "completion": "SELECT AVG(draw) FROM table_name_99 WHERE language LIKE \"%swedish%\" AND points < 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52192 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: What is the high grid with 27 laps?\nSQL QUERY:", "completion": "SELECT MAX(\"Grid\") FROM table_52192 WHERE \"Laps\" = 27"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n away_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What is the away team at glenferrie oval?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_33 WHERE venue LIKE \"%glenferrie oval%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1090916_2 (\n location VARCHAR,\n status VARCHAR\n)\n\nQUESTION: What is the location when the status is in service as coaching stock?\nSQL QUERY:", "completion": "SELECT location FROM table_1090916_2 WHERE status LIKE '%in service as coaching stock%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n to_par VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is the to par for Bart Bryant?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_9 WHERE player LIKE \"%bart bryant%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_119 (\n \"Vehicle Numbers\" text,\n \"Vehicle Types\" text,\n \"Livery\" text,\n \"Location\" text,\n \"Status\" text\n)\n\nQUESTION: What is the status when livery is blue?\nSQL QUERY:", "completion": "SELECT \"Status\" FROM table_119 WHERE \"Livery\" LIKE '%blue%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19061741_3 (\n duration VARCHAR,\n name VARCHAR\n)\n\nQUESTION: WHen joaqui mendoza is the name how long is the duration?\nSQL QUERY:", "completion": "SELECT duration FROM table_19061741_3 WHERE name LIKE \"%joaqui mendoza%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27539272_5 (\n opponent VARCHAR,\n game VARCHAR\n)\n\nQUESTION: who was the opponent where the game is 14?\nSQL QUERY:", "completion": "SELECT opponent FROM table_27539272_5 WHERE CAST(game AS TEXT) LIKE '%14%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n date VARCHAR,\n visitor VARCHAR,\n score VARCHAR\n)\n\nQUESTION: When did the Visiting San Antonio Spurs score 97-113?\nSQL QUERY:", "completion": "SELECT date FROM table_name_22 WHERE visitor LIKE \"%san antonio spurs%\" AND score LIKE \"%97-113%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18828487_1 (\n prize_fund VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: How much was the prize money for rwe-sporthalle, m lheim ?\nSQL QUERY:", "completion": "SELECT prize_fund FROM table_18828487_1 WHERE venue LIKE \"%rwe-sporthalle, mülheim%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25107064_2 (\n Ends INTEGER,\n pf VARCHAR\n)\n\nQUESTION: Name the least ends won for pf being 78\nSQL QUERY:", "completion": "SELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf LIKE '%78%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n winner VARCHAR,\n rider_status VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Who was the winner in 1973 with an amateur rider status?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_74 WHERE rider_status LIKE \"%amateur%\" AND year = '1973'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n attendance INTEGER,\n season VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What is the attendance in the game in the 2010-11 season, when the score was 2 0?\nSQL QUERY:", "completion": "SELECT MIN(attendance) FROM table_name_39 WHERE season LIKE \"%2010-11%\" AND score LIKE \"%2–0%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n attendance INTEGER,\n opponent VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What is the Attendance with Opponent Dallas Cowboys in a Week greater than 5?\nSQL QUERY:", "completion": "SELECT SUM(attendance) FROM table_name_51 WHERE opponent LIKE \"%dallas cowboys%\" AND week > 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_75 (\n to_par VARCHAR,\n finish VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which To par has a Finish of t3, and a Player of julius boros?\nSQL QUERY:", "completion": "SELECT to_par FROM table_name_75 WHERE finish LIKE \"%t3%\" AND player LIKE \"%julius boros%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52217 (\n \"Year\" text,\n \"Builder\" text,\n \"Motors\" text,\n \"Trailers\" text,\n \"Control Trailers\" text\n)\n\nQUESTION: Name the year for mcwf and control trailers of 35\nSQL QUERY:", "completion": "SELECT \"Year\" FROM table_52217 WHERE \"Builder\" LIKE '%mcwf%' AND \"Control Trailers\" LIKE '%35%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n nationality VARCHAR,\n school_club_team VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What nationality is Kentucky and the player Tayshaun Prince?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_58 WHERE school_club_team LIKE '%kentucky%' AND player LIKE '%tayshaun prince%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51309 (\n \"Player\" text,\n \"Team\" text,\n \"Opponent\" text,\n \"Year\" real,\n \"Score\" text\n)\n\nQUESTION: Who was ashley sampi's opponent?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_51309 WHERE \"Player\" LIKE '%ashley sampi%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n category VARCHAR,\n nominating_festival VARCHAR\n)\n\nQUESTION: Name the category for prix uip berlin\nSQL QUERY:", "completion": "SELECT category FROM table_name_66 WHERE nominating_festival LIKE \"%prix uip berlin%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n final_points VARCHAR,\n total VARCHAR,\n draw VARCHAR\n)\n\nQUESTION: What are the final points a 0 total and 22 draws?\nSQL QUERY:", "completion": "SELECT final_points FROM table_name_60 WHERE total LIKE \"%0%\" AND draw = \"22\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23224961_1 (\n niederbayern VARCHAR,\n oberbayern_b VARCHAR\n)\n\nQUESTION: When esv ingolstadt is the oberbayern b what is the niederbayern?\nSQL QUERY:", "completion": "SELECT niederbayern FROM table_23224961_1 WHERE oberbayern_b LIKE \"%esv ingolstadt%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5102 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Series\" text\n)\n\nQUESTION: Which Series has an Opponent of @ new york rangers, and a Date of april 22?\nSQL QUERY:", "completion": "SELECT \"Series\" FROM table_5102 WHERE \"Opponent\" LIKE '%@ new york rangers%' AND \"Date\" LIKE '%april 22%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20903658_1 (\n public_office VARCHAR,\n date_painted_created VARCHAR\n)\n\nQUESTION: What was the public office of the subject whose sculpture was created in 1954?\nSQL QUERY:", "completion": "SELECT public_office FROM table_20903658_1 WHERE date_painted_created LIKE \"%1954%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n name VARCHAR,\n saturday VARCHAR,\n evening VARCHAR\n)\n\nQUESTION: Which Name has a Yes Saturday and a Yes Evening?\nSQL QUERY:", "completion": "SELECT name FROM table_name_49 WHERE saturday LIKE \"%yes%\" AND evening LIKE \"%yes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_7 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: Where Bolton Wanderers is the home team, who is the away team?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_7 WHERE home_team LIKE \"%bolton wanderers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n away_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Who was the away team at Arden Street Oval?\nSQL QUERY:", "completion": "SELECT away_team FROM table_name_20 WHERE venue LIKE \"%arden street oval%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n representing VARCHAR,\n original_title VARCHAR\n)\n\nQUESTION: Name the representation for om fjorten dage\nSQL QUERY:", "completion": "SELECT representing FROM table_name_59 WHERE original_title LIKE \"%om fjorten dage%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n player VARCHAR,\n span VARCHAR\n)\n\nQUESTION: What player has a span of 1997-2009?\nSQL QUERY:", "completion": "SELECT player FROM table_name_54 WHERE span LIKE \"%1997-2009%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1566852_5 (\n date VARCHAR,\n interview_subject VARCHAR\n)\n\nQUESTION: Name the date for oliver stone\nSQL QUERY:", "completion": "SELECT date FROM table_1566852_5 WHERE interview_subject LIKE '%oliver stone%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n surface VARCHAR,\n partner VARCHAR\n)\n\nQUESTION: What was the surface made of in the contest where Paula Ormaechea was the partner?\nSQL QUERY:", "completion": "SELECT surface FROM table_name_50 WHERE partner LIKE \"%paula ormaechea%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n bronze INTEGER,\n silver VARCHAR,\n total VARCHAR\n)\n\nQUESTION: What is the sum of bronzes for teams with more than 0 silver and a total under 1?\nSQL QUERY:", "completion": "SELECT SUM(bronze) FROM table_name_22 WHERE silver > '0' AND total < '1'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n birthplace VARCHAR\n)\n\nQUESTION: What is the 1990 1991 Team when the Birthplace shows as new york?\nSQL QUERY:", "completion": "SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace LIKE \"%new york%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_655 (\n id number,\n \"year\" number,\n \"winner\" text,\n \"album\" text,\n \"other finalists\" text\n)\n\nQUESTION: what is the last album to win ?\nSQL QUERY:", "completion": "SELECT \"album\" FROM table_204_655 ORDER BY \"year\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14460937_1 (\n play_off INTEGER,\n group_stage VARCHAR\n)\n\nQUESTION: When the group stage has been 4 what is the largest playoff?\nSQL QUERY:", "completion": "SELECT MAX(play_off) FROM table_14460937_1 WHERE group_stage LIKE '%4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18012738_1 (\n original_air_date VARCHAR,\n ai___percentage_ VARCHAR\n)\n\nQUESTION: Name the original air date for ai% for 83\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_18012738_1 WHERE ai___percentage_ LIKE '%83%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10646790_2 (\n record VARCHAR,\n stadium VARCHAR\n)\n\nQUESTION: How many records are there at the War Memorial Stadium?\nSQL QUERY:", "completion": "SELECT COUNT(record) FROM table_10646790_2 WHERE stadium LIKE \"%war memorial stadium%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n total INTEGER,\n rank VARCHAR,\n gold VARCHAR\n)\n\nQUESTION: Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?\nSQL QUERY:", "completion": "SELECT MAX(total) FROM table_name_24 WHERE rank LIKE \"%1%\" AND gold > 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9731 (\n \"Tournament\" text,\n \"Surface\" text,\n \"Week\" text,\n \"Winner\" text,\n \"Finalist\" text,\n \"Semi finalists\" text\n)\n\nQUESTION: Which Tournament has a Semi finalists of martina hingis joannette kruger?\nSQL QUERY:", "completion": "SELECT \"Tournament\" FROM table_9731 WHERE \"Semi finalists\" LIKE '%martina hingis joannette kruger%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_200_3 (\n id number,\n \"year\" number,\n \"winner\" text,\n \"jockey\" text,\n \"trainer\" text,\n \"owner\" text,\n \"breeder\" text\n)\n\nQUESTION: in which year did seattle slew win the triple crown ?\nSQL QUERY:", "completion": "SELECT \"year\" FROM table_200_3 WHERE \"winner\" LIKE '%seattle slew%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15001753_1 (\n year INTEGER\n)\n\nQUESTION: What was the first year of the Lithuanian National Badminton Championships?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_15001753_1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n winning_score VARCHAR,\n runner_s__up VARCHAR\n)\n\nQUESTION: What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up?\nSQL QUERY:", "completion": "SELECT winning_score FROM table_name_15 WHERE runner_s__up LIKE \"%jack nicklaus%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n time VARCHAR,\n notes VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What is the time for the rank after 5 with sc/d notes?\nSQL QUERY:", "completion": "SELECT time FROM table_name_55 WHERE notes LIKE \"%sc/d%\" AND rank > 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n place VARCHAR,\n score VARCHAR\n)\n\nQUESTION: what is the place when the score is 76-69-71-70=286?\nSQL QUERY:", "completion": "SELECT place FROM table_name_34 WHERE score LIKE '%-34%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17614 (\n \"Country\" text,\n \"Player name\" text,\n \"Period\" text,\n \"Position\" text,\n \"Matches\" text,\n \"Goals\" text\n)\n\nQUESTION: How many goals have been scored by Tiago Gomes?\nSQL QUERY:", "completion": "SELECT \"Goals\" FROM table_17614 WHERE \"Player name\" LIKE '%tiago gomes%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30270 (\n \"Represent\" real,\n \"Contestant\" text,\n \"Age\" real,\n \"Height\" text,\n \"Hometown\" text,\n \"Sponsor\" text\n)\n\nQUESTION: What was the height of representative #1?\nSQL QUERY:", "completion": "SELECT \"Height\" FROM table_30270 WHERE \"Represent\" = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n laps VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: How many laps does the one ranked 16 have?\nSQL QUERY:", "completion": "SELECT laps FROM table_name_1 WHERE rank LIKE \"%16%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24143253_2 (\n children_together VARCHAR,\n deceased_spouse VARCHAR\n)\n\nQUESTION: How many children did Dennis Hawley have at his time of death?\nSQL QUERY:", "completion": "SELECT children_together FROM table_24143253_2 WHERE deceased_spouse LIKE \"%dennis hawley%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71252 (\n \"Year\" real,\n \"Team\" text,\n \"Games\" real,\n \"Attempts\" real,\n \"Yards\" real\n)\n\nQUESTION: What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens?\nSQL QUERY:", "completion": "SELECT MIN(\"Year\") FROM table_71252 WHERE \"Team\" LIKE '%baltimore ravens%' AND \"Games\" < 15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n time___gmt__ VARCHAR,\n serial VARCHAR\n)\n\nQUESTION: What is the time (GMT) for the 4A Serial?\nSQL QUERY:", "completion": "SELECT time___gmt__ FROM table_name_66 WHERE serial LIKE \"%4a%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_2 (\n id number,\n \"name\" text,\n \"mineral\" text,\n \"opened\" text,\n \"closed\" text,\n \"years connected\" text,\n \"notes\" text\n)\n\nQUESTION: looking at the top of the table , what is the name of the first quarry listed , and what year did it close ?\nSQL QUERY:", "completion": "SELECT \"name\", \"closed\" FROM table_203_2 WHERE id = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n team VARCHAR,\n chassis___engine VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: What team has a porsche 956 b chassis-engine with less than 79 laps?\nSQL QUERY:", "completion": "SELECT team FROM table_name_17 WHERE chassis___engine LIKE \"%porsche 956 b%\" AND laps < 79"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22824312_1 (\n hometown VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is jim dutcher's hometown?\nSQL QUERY:", "completion": "SELECT hometown FROM table_22824312_1 WHERE player LIKE \"%jim dutcher%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20301877_2 (\n player VARCHAR\n)\n\nQUESTION: what is the 3-dart average of raymond van barneveld\nSQL QUERY:", "completion": "SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player LIKE \"%raymond van barneveld%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n tournament VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Where was the 1984 Olympics hosted?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_29 WHERE year LIKE '%1984%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n decision VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: What was the Decision when the Visitor was Carolina?\nSQL QUERY:", "completion": "SELECT decision FROM table_name_53 WHERE visitor LIKE \"%carolina%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n tournament VARCHAR\n)\n\nQUESTION: WHAT IS THE TOURNAMENT WITH A 2010 OF A, 2009 OF A, AND 001 PERFORMANCE OF Q1?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_5 WHERE \"2010\" LIKE '%a%' AND \"2009\" LIKE '%a%' AND \"2011\" LIKE '%q1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10161 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What was the home team's score when North Melbourne was the away team?\nSQL QUERY:", "completion": "SELECT \"Home team score\" FROM table_10161 WHERE \"Away team\" LIKE '%north melbourne%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_34994 (\n \"Name\" text,\n \"Years\" text,\n \"Seasons\" real,\n \"Lost\" real,\n \"Pct.\" real\n)\n\nQUESTION: What is the average percent for the coach from 1905 and more than 7 losses?\nSQL QUERY:", "completion": "SELECT AVG(\"Pct.\") FROM table_34994 WHERE \"Years\" LIKE '%1905%' AND \"Lost\" > 7"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_769 (\n id number,\n \"full name\" text,\n \"nickname\" text,\n \"gender\" text,\n \"weight at birth\" text,\n \"meaning\" text\n)\n\nQUESTION: how many boys were born ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_204_769 WHERE \"gender\" LIKE '%boy%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n date VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: When was the date of an event at Tokyo venue?\nSQL QUERY:", "completion": "SELECT date FROM table_name_86 WHERE venue LIKE \"%tokyo%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18646111_13 (\n round_3 VARCHAR,\n class VARCHAR\n)\n\nQUESTION: Name the total number of round 3 for class tt1\nSQL QUERY:", "completion": "SELECT COUNT(round_3) FROM table_18646111_13 WHERE class LIKE \"%tt1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Employee (\n eid VARCHAR,\n name VARCHAR,\n salary VARCHAR\n)\n\nQUESTION: Show the id and name of the employee with maximum salary.\nSQL QUERY:", "completion": "SELECT eid, name FROM Employee ORDER BY salary DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_82 (\n player VARCHAR,\n college VARCHAR\n)\n\nQUESTION: Which players college was Baylor?\nSQL QUERY:", "completion": "SELECT player FROM table_name_82 WHERE college LIKE \"%baylor%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25316812_1 (\n rate_limit__p_ VARCHAR,\n budget_plans__£m_ VARCHAR\n)\n\nQUESTION: What is the rate limit when budget plans ( m) is limit agreed?\nSQL QUERY:", "completion": "SELECT rate_limit__p_ FROM table_25316812_1 WHERE budget_plans__£m_ LIKE \"%limit agreed%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18847736_2 (\n date VARCHAR,\n dolphins_points VARCHAR\n)\n\nQUESTION: How many dates do the dolphins have 6 points?\nSQL QUERY:", "completion": "SELECT date FROM table_18847736_2 WHERE dolphins_points LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1992924_3 (\n spokesperson VARCHAR,\n commentator VARCHAR\n)\n\nQUESTION: state all the spokesperson for the channel where commentator is dmitriy guberniyev\nSQL QUERY:", "completion": "SELECT spokesperson FROM table_1992924_3 WHERE commentator LIKE \"%dmitriy guberniyev%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15425 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: What was the score of the second leg with an agg of 4-6?\nSQL QUERY:", "completion": "SELECT \"2nd leg\" FROM table_15425 WHERE \"Agg.\" LIKE '%4-6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56587 (\n \"Unit\" text,\n \"Complement\" text,\n \"Killed\" text,\n \"Wounded\" text,\n \"Missing\" text\n)\n\nQUESTION: How many were Wounded in the Artillery Corps unit while having 0 off 0 men Killed?\nSQL QUERY:", "completion": "SELECT \"Wounded\" FROM table_56587 WHERE \"Killed\" LIKE '%0 off 0 men%' AND \"Unit\" LIKE '%artillery corps%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64952 (\n \"Player\" text,\n \"Current Club\" text,\n \"Born\" text,\n \"Debut\" text,\n \"Manager\" text\n)\n\nQUESTION: Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_64952 WHERE \"Debut\" LIKE '%age 18 v plymouth , 14 august 2012%' AND \"Born\" LIKE '%portsmouth%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22360_3 (\n discipline VARCHAR,\n bronze VARCHAR\n)\n\nQUESTION: Name the discipline for bronze being 0\nSQL QUERY:", "completion": "SELECT discipline FROM table_22360_3 WHERE bronze = '0'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29572583_19 (\n points INTEGER,\n rank VARCHAR\n)\n\nQUESTION: How many points are listed when the rank is 17?\nSQL QUERY:", "completion": "SELECT MAX(points) FROM table_29572583_19 WHERE rank LIKE '%17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n week VARCHAR,\n theme VARCHAR\n)\n\nQUESTION: Which week had a theme of Heroes?\nSQL QUERY:", "completion": "SELECT week FROM table_name_47 WHERE theme LIKE \"%heroes%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26565936_2 (\n original_air_date VARCHAR,\n us_viewers__millions_ VARCHAR\n)\n\nQUESTION: What was the original air date for the episode with 13.92 million us viewers?\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_26565936_2 WHERE us_viewers__millions_ LIKE \"%13.92%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n season VARCHAR,\n third VARCHAR\n)\n\nQUESTION: What is Season, when Third is 'Glen Muirhead'?\nSQL QUERY:", "completion": "SELECT season FROM table_name_62 WHERE third LIKE \"%glen muirhead%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43880 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What is Player, when To Par is '+1', when Country is 'United States', and when Score is '71-70=141'?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_43880 WHERE \"To par\" LIKE '%+1%' AND \"Country\" LIKE '%united states%' AND \"Score\" LIKE '%71-70=141%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24115349_4 (\n kennedy_votes VARCHAR,\n coakley_votes VARCHAR\n)\n\nQUESTION: How many votes did kennedy win when coaklely won 2139 votes?\nSQL QUERY:", "completion": "SELECT COUNT(kennedy_votes) FROM table_24115349_4 WHERE coakley_votes LIKE '%2139%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67399 (\n \"First game\" real,\n \"Played\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Percentage\" text\n)\n\nQUESTION: What Percentage did the First game of 1998 have?\nSQL QUERY:", "completion": "SELECT \"Percentage\" FROM table_67399 WHERE \"First game\" = 1998"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_193 (\n id number,\n \"ship name\" text,\n \"in service\" number,\n \"project number\" text,\n \"type\" text,\n \"class\" text,\n \"comments\" text\n)\n\nQUESTION: what is the difference in years between the first ship put into service and the last ?\nSQL QUERY:", "completion": "SELECT MAX(\"in service\") - MIN(\"in service\") FROM table_203_193"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70583 (\n \"Year\" real,\n \"Team\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Rank\" text,\n \"Points\" real\n)\n\nQUESTION: What is the most amount of points for a team before 1983?\nSQL QUERY:", "completion": "SELECT MAX(\"Points\") FROM table_70583 WHERE \"Year\" < 1983"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n champion__seed_ VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What was the Champion of the Game with a Score of 65 56?\nSQL QUERY:", "completion": "SELECT champion__seed_ FROM table_name_78 WHERE score LIKE \"%65–56%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79993 (\n \"Player\" text,\n \"Overs\" real,\n \"Figures\" text,\n \"Opponent\" text,\n \"Ground\" text\n)\n\nQUESTION: What did Xavier Doherty (Tasmania) set as his highest Overs?\nSQL QUERY:", "completion": "SELECT MAX(\"Overs\") FROM table_79993 WHERE \"Player\" LIKE '%xavier doherty (tasmania)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n score INTEGER,\n player VARCHAR\n)\n\nQUESTION: What is the lowest score that has alastair forsyth as the player?\nSQL QUERY:", "completion": "SELECT MIN(score) FROM table_name_28 WHERE player LIKE \"%alastair forsyth%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2841865_2 (\n years VARCHAR,\n congress VARCHAR\n)\n\nQUESTION: What frame of time is listed under years during the 72nd congress?\nSQL QUERY:", "completion": "SELECT years FROM table_2841865_2 WHERE congress LIKE '%72nd%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n year INTEGER,\n host VARCHAR\n)\n\nQUESTION: In what year was Luxembourg Host?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_name_77 WHERE host LIKE \"%luxembourg%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_191 (\n id number,\n \"year\" number,\n \"group\" text,\n \"award\" text,\n \"result\" text,\n \"notes\" text\n)\n\nQUESTION: how many awards has he been nominated for and not won ?\nSQL QUERY:", "completion": "SELECT COUNT(\"award\") FROM table_203_191 WHERE \"result\" LIKE '%nominated%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n ground VARCHAR,\n date VARCHAR\n)\n\nQUESTION: On what ground was the game on 31 Jul 2007?\nSQL QUERY:", "completion": "SELECT ground FROM table_name_60 WHERE date LIKE \"%31 jul 2007%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20032301_3 (\n tom_horner__i_ VARCHAR,\n matt_entenza__dfl_ VARCHAR\n)\n\nQUESTION: What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza?\nSQL QUERY:", "completion": "SELECT tom_horner__i_ FROM table_20032301_3 WHERE matt_entenza__dfl_ LIKE \"%31%%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n rank VARCHAR,\n club_s_ VARCHAR,\n u_17_caps VARCHAR\n)\n\nQUESTION: What is the rank of Club Valencia with a U-17 Caps of 20?\nSQL QUERY:", "completion": "SELECT COUNT(rank) FROM table_name_17 WHERE club_s_ LIKE \"%valencia%\" AND u_17_caps = \"20\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48292 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What tie no has Watford as the date?\nSQL QUERY:", "completion": "SELECT \"Tie no\" FROM table_48292 WHERE \"Date\" LIKE '%watford%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n date VARCHAR,\n result VARCHAR\n)\n\nQUESTION: On what date was the result w 26 20?\nSQL QUERY:", "completion": "SELECT date FROM table_name_54 WHERE result LIKE \"%w 26–20%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n transfers_out VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What are the Transfers out for Peru?\nSQL QUERY:", "completion": "SELECT transfers_out FROM table_name_76 WHERE country LIKE \"%peru%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16278825_1 (\n population VARCHAR,\n towns__villages VARCHAR\n)\n\nQUESTION: NJame the total number of population for towns/villages for 217\nSQL QUERY:", "completion": "SELECT COUNT(population) FROM table_16278825_1 WHERE towns__villages LIKE '%217%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n home_away VARCHAR,\n opponent VARCHAR,\n field VARCHAR\n)\n\nQUESTION: Was the game against the Rattlers at the United Sports Training Center a home game or an away game?\nSQL QUERY:", "completion": "SELECT home_away FROM table_name_96 WHERE opponent LIKE \"%rattlers%\" AND field LIKE \"%united sports training center%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51732 (\n \"Name\" text,\n \"Street address\" text,\n \"Years as tallest\" text,\n \"Height ft / m\" text,\n \"Floors\" text\n)\n\nQUESTION: What is the street address of the building with 40 floors?\nSQL QUERY:", "completion": "SELECT \"Street address\" FROM table_51732 WHERE \"Floors\" LIKE '%40%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13940275_5 (\n try_bonus VARCHAR,\n club VARCHAR\n)\n\nQUESTION: what's the try bonus with club being abercwmboi rfc\nSQL QUERY:", "completion": "SELECT try_bonus FROM table_13940275_5 WHERE club LIKE '%abercwmboi rfc%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60246 (\n \"Season\" text,\n \"Premier Division\" text,\n \"Division One\" text,\n \"Division Two\" text,\n \"Division Three\" text\n)\n\nQUESTION: Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?\nSQL QUERY:", "completion": "SELECT \"Division Two\" FROM table_60246 WHERE \"Premier Division\" LIKE '%leominster town%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54368 (\n \"Season\" text,\n \"Winner\" text,\n \"Team\" text,\n \"Position\" text,\n \"Win #\" real\n)\n\nQUESTION: Which season was harrisburg lunatics in?\nSQL QUERY:", "completion": "SELECT \"Season\" FROM table_54368 WHERE \"Team\" LIKE '%harrisburg lunatics%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39331 (\n \"Call sign\" text,\n \"Frequency MHz\" real,\n \"City of license\" text,\n \"ERP W\" real,\n \"FCC info\" text\n)\n\nQUESTION: What is k275av call sign's highest erp w?\nSQL QUERY:", "completion": "SELECT MAX(\"ERP W\") FROM table_39331 WHERE \"Call sign\" LIKE '%k275av%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23285849_8 (\n record VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Name the record for l 106 116 (ot)\nSQL QUERY:", "completion": "SELECT record FROM table_23285849_8 WHERE score LIKE '%l 106–116 (ot)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76979 (\n \"Nation\" text,\n \"Gold\" text,\n \"Silver\" text,\n \"Bronze\" text,\n \"Total\" real\n)\n\nQUESTION: What is Gold, when Bronze is 11?\nSQL QUERY:", "completion": "SELECT \"Gold\" FROM table_76979 WHERE \"Bronze\" LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24565004_8 (\n period VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the period total number if the name is Gerald o?\nSQL QUERY:", "completion": "SELECT COUNT(period) FROM table_24565004_8 WHERE name LIKE \"%geraldão%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11099 (\n \"Date\" text,\n \"Visiting Team\" text,\n \"Final Score\" text,\n \"Host Team\" text,\n \"Stadium\" text\n)\n\nQUESTION: What stadium was the game held in when the final score was 17-31?\nSQL QUERY:", "completion": "SELECT \"Stadium\" FROM table_11099 WHERE \"Final Score\" LIKE '%17-31%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1479 (\n \"Player\" text,\n \"Team\" text,\n \"Matches\" real,\n \"Innings\" real,\n \"Runs\" real,\n \"Average\" text,\n \"Highest Score\" text,\n \"100s\" real,\n \"50s\" real\n)\n\nQUESTION: What is the highest number of matches?\nSQL QUERY:", "completion": "SELECT MAX(\"Matches\") FROM table_1479"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n surface VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Date of april 10, 2006 had what surface?\nSQL QUERY:", "completion": "SELECT surface FROM table_name_51 WHERE date LIKE '%april 10, 2006%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n left_office VARCHAR,\n entered_office VARCHAR\n)\n\nQUESTION: When did the king who entered office in 1012 leave office?\nSQL QUERY:", "completion": "SELECT left_office FROM table_name_34 WHERE entered_office LIKE \"%1012%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37087 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Save\" text\n)\n\nQUESTION: what team lost on april 15\nSQL QUERY:", "completion": "SELECT \"Loss\" FROM table_37087 WHERE \"Date\" LIKE '%april 15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53230 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: What is the score on the date of May 2?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_53230 WHERE \"Date\" LIKE '%may 2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7358 (\n \"University\" text,\n \"Men's\" real,\n \"Women's\" real,\n \"Junior's\" real,\n \"Total\" real\n)\n\nQUESTION: What is the lowest number of men's championships of the university with less than 1 women's and a total of 1 championship?\nSQL QUERY:", "completion": "SELECT MIN(\"Men's\") FROM table_7358 WHERE \"Women's\" < 1 AND \"Total\" = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n area__km_2__ INTEGER,\n code VARCHAR,\n region VARCHAR\n)\n\nQUESTION: What is the average area larger than Code 19025 but a smaller region than 12?\nSQL QUERY:", "completion": "SELECT AVG(area__km_2__) FROM table_name_91 WHERE code > '19025' AND region < '12'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n wins INTEGER,\n player VARCHAR,\n events VARCHAR\n)\n\nQUESTION: How many wins for bruce fleisher with over 31 events?\nSQL QUERY:", "completion": "SELECT AVG(wins) FROM table_name_16 WHERE player LIKE \"%bruce fleisher%\" AND events > 31"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n time_retired VARCHAR,\n points VARCHAR\n)\n\nQUESTION: What was the time/retired for the driver with 14 points?\nSQL QUERY:", "completion": "SELECT time_retired FROM table_name_78 WHERE points LIKE \"%14%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n extra VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What was the extra info for the Commonwealth Games?\nSQL QUERY:", "completion": "SELECT extra FROM table_name_90 WHERE tournament LIKE \"%commonwealth games%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n league VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What league has most wins as the record?\nSQL QUERY:", "completion": "SELECT league FROM table_name_77 WHERE record LIKE \"%most wins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48692 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What country was the player from who placed t3 with a score of 70-68=138?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_48692 WHERE \"Place\" LIKE '%t3%' AND \"Score\" LIKE '%70-68=138%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n home_team VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What was the home score at the Princes Park game?\nSQL QUERY:", "completion": "SELECT home_team AS score FROM table_name_95 WHERE venue LIKE \"%princes park%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668352_19 (\n party VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What party does James Pleasants belong to?\nSQL QUERY:", "completion": "SELECT party FROM table_2668352_19 WHERE incumbent LIKE \"%james pleasants%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27403436_1 (\n no VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: which number lists the production code as 2j5809\nSQL QUERY:", "completion": "SELECT no FROM table_27403436_1 WHERE production_code LIKE '%2j5809%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342359_15 (\n candidates VARCHAR,\n district VARCHAR\n)\n\nQUESTION: who is the the candidates with dbeingtrict being kansas 5\nSQL QUERY:", "completion": "SELECT candidates FROM table_1342359_15 WHERE district LIKE \"%kansas 5%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n length_duration VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the length and duration of the race on April 19?\nSQL QUERY:", "completion": "SELECT length_duration FROM table_name_85 WHERE date LIKE '%april 19%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24961421_1 (\n season__number VARCHAR,\n us_viewers__millions_ VARCHAR\n)\n\nQUESTION: What number in the season was the episode with 12.23 million viewers?\nSQL QUERY:", "completion": "SELECT season__number FROM table_24961421_1 WHERE us_viewers__millions_ LIKE \"%12.23%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46388 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Decision\" text,\n \"Series\" text\n)\n\nQUESTION: Which Decision has a Series of 3 3?\nSQL QUERY:", "completion": "SELECT \"Decision\" FROM table_46388 WHERE \"Series\" LIKE '%3 – 3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74331 (\n \"Team\" text,\n \"Stadium\" text,\n \"Home Games\" real,\n \"Average Attendance\" real,\n \"Total Attendance\" real,\n \"Capacity Percentage\" text\n)\n\nQUESTION: How many home games are listed when the average attendance is 79475?\nSQL QUERY:", "completion": "SELECT COUNT(\"Home Games\") FROM table_74331 WHERE \"Average Attendance\" LIKE '%79475%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27050981_7 (\n committee VARCHAR,\n district VARCHAR\n)\n\nQUESTION: What committees do the district 46 members serve on?\nSQL QUERY:", "completion": "SELECT committee FROM table_27050981_7 WHERE district LIKE \"%46%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10290 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: What is the highest grid when the race was retired due to the gearbox after 67 laps?\nSQL QUERY:", "completion": "SELECT MAX(\"Grid\") FROM table_10290 WHERE \"Time/Retired\" LIKE '%gearbox%' AND \"Laps\" > 67"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n tries_against VARCHAR,\n try_diff VARCHAR\n)\n\nQUESTION: What is Tries Against, when Try Diff is +15?\nSQL QUERY:", "completion": "SELECT tries_against FROM table_name_34 WHERE try_diff LIKE '%+15%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19753079_12 (\n candidates VARCHAR,\n first_elected VARCHAR\n)\n\nQUESTION: How many different pairs of candidates were there for the district first elected in 1988?\nSQL QUERY:", "completion": "SELECT COUNT(candidates) FROM table_19753079_12 WHERE first_elected LIKE '%1988%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n location VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the location of the match with chad armstrong as the opponent?\nSQL QUERY:", "completion": "SELECT location FROM table_name_47 WHERE opponent LIKE \"%chad armstrong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33637 (\n \"Player\" text,\n \"Nationality\" text,\n \"Position\" text,\n \"From\" text,\n \"School/Country\" text\n)\n\nQUESTION: Which player went to Gonzaga?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_33637 WHERE \"School/Country\" LIKE '%gonzaga%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE customers (\n state VARCHAR\n)\n\nQUESTION: How many customers in state of CA?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM customers WHERE state LIKE \"%ca%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71464 (\n \"Region\" text,\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: On what date was the Ed Remaster CD and TOCT-24365 Catalog released?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_71464 WHERE \"Format\" LIKE '%ed remaster cd%' AND \"Catalog\" LIKE '%toct-24365%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16197 (\n \"Institution\" text,\n \"Nickname\" text,\n \"Location\" text,\n \"Founded\" real,\n \"Type\" text,\n \"Enrollment\" real\n)\n\nQUESTION: What type institution is point park university\nSQL QUERY:", "completion": "SELECT \"Type\" FROM table_16197 WHERE \"Institution\" LIKE '%point park university%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14342592_3 (\n points VARCHAR,\n player VARCHAR\n)\n\nQUESTION: How many points does Clark have?\nSQL QUERY:", "completion": "SELECT points FROM table_14342592_3 WHERE player LIKE \"%clark%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341663_33 (\n district VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What district did S. William Green belong to?\nSQL QUERY:", "completion": "SELECT district FROM table_1341663_33 WHERE incumbent LIKE \"%s. william green%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14342592_4 (\n starter VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Name the starter for schulte\nSQL QUERY:", "completion": "SELECT starter FROM table_14342592_4 WHERE player LIKE \"%schulte%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n winning_score VARCHAR,\n runner_s__up VARCHAR\n)\n\nQUESTION: What was Olazabal's winning score in the event in which Phillip Price finished 2nd?\nSQL QUERY:", "completion": "SELECT winning_score FROM table_name_90 WHERE runner_s__up LIKE \"%phillip price%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n wicket VARCHAR,\n fielding_team VARCHAR\n)\n\nQUESTION: What was the wicket ranking for the match that had a fielding team of Sri Lanka?\nSQL QUERY:", "completion": "SELECT wicket FROM table_name_73 WHERE fielding_team LIKE \"%sri lanka%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31774 (\n \"City\" text,\n \"Country\" text,\n \"IATA\" text,\n \"ICAO\" text,\n \"Airport\" text\n)\n\nQUESTION: Tell me the country for ICAO tjvq\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_31774 WHERE \"ICAO\" LIKE '%tjvq%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n tankers INTEGER,\n pumpers INTEGER\n)\n\nQUESTION: what is the highest tankers when pumpers is more than 2?\nSQL QUERY:", "completion": "SELECT MAX(tankers) FROM table_name_84 WHERE pumpers > 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10276 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score 1\" text,\n \"Away team\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was the final score of the match that had an attendance of 9,205?\nSQL QUERY:", "completion": "SELECT \"Score 1\" FROM table_10276 WHERE \"Attendance\" LIKE '%9,205%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n date VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the date of the tournament with Alena Tarasova as the opponent?\nSQL QUERY:", "completion": "SELECT date FROM table_name_56 WHERE opponent LIKE \"%alena tarasova%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64022 (\n \"Opposing Team\" text,\n \"Against\" real,\n \"Date\" text,\n \"Venue\" text,\n \"Round\" text\n)\n\nQUESTION: Which round has an Opposing Team of manchester united?\nSQL QUERY:", "completion": "SELECT \"Round\" FROM table_64022 WHERE \"Opposing Team\" LIKE '%manchester united%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23670057_4 (\n height__f_ VARCHAR,\n position VARCHAR\n)\n\nQUESTION: For all players playing at the center, list the height in feet.\nSQL QUERY:", "completion": "SELECT height__f_ FROM table_23670057_4 WHERE position LIKE '%center%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11222744_2 (\n title VARCHAR,\n catalog_number VARCHAR\n)\n\nQUESTION: The Catalog number is 80809 what is the title?\nSQL QUERY:", "completion": "SELECT title FROM table_11222744_2 WHERE catalog_number LIKE \"%80809%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12839 (\n \"Name\" text,\n \"No. Specimens\" real,\n \"Abbr.\" text,\n \"Country\" text,\n \"City\" text\n)\n\nQUESTION: In which city is MUB located?\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_12839 WHERE \"Abbr.\" LIKE '%mub%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_160510_5 (\n hangul_chosongul VARCHAR,\n area VARCHAR\n)\n\nQUESTION: Name the total number of hangul chosongul for 8,352\nSQL QUERY:", "completion": "SELECT COUNT(hangul_chosongul) FROM table_160510_5 WHERE area LIKE \"%8,352%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24099628_1 (\n tdp VARCHAR,\n model__list_ VARCHAR\n)\n\nQUESTION: What is the wattage/TDP associated with model name 4x0?\nSQL QUERY:", "completion": "SELECT tdp FROM table_24099628_1 WHERE model__list_ LIKE \"%4x0%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n speed VARCHAR,\n race VARCHAR\n)\n\nQUESTION: What was the speed of the Superbike race?\nSQL QUERY:", "completion": "SELECT speed FROM table_name_10 WHERE race LIKE \"%superbike%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_3 (\n time VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is Park Tae-Hwan's final time?\nSQL QUERY:", "completion": "SELECT time FROM table_name_3 WHERE name LIKE \"%park tae-hwan%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n year INTEGER,\n notes VARCHAR,\n director VARCHAR\n)\n\nQUESTION: Notes of bbc radio 4, and a Director of peter kavanagh includes which average year?\nSQL QUERY:", "completion": "SELECT AVG(year) FROM table_name_67 WHERE notes LIKE '%bbc radio 4%' AND director LIKE '%peter kavanagh%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5529 (\n \"Venue\" text,\n \"Home\" text,\n \"Guest\" text,\n \"Score\" text,\n \"Attendance\" real\n)\n\nQUESTION: Who was at home when the score was 2:2?\nSQL QUERY:", "completion": "SELECT \"Home\" FROM table_5529 WHERE \"Score\" LIKE '%2:2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n score VARCHAR,\n home VARCHAR\n)\n\nQUESTION: what was the score in toronto\nSQL QUERY:", "completion": "SELECT score FROM table_name_2 WHERE home LIKE \"%toronto%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27893892_2 (\n team_record VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: what was the achievement for the rival at scottish claymores\nSQL QUERY:", "completion": "SELECT team_record FROM table_27893892_2 WHERE opponent LIKE '%at scottish claymores%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24587026_1 (\n f_laps VARCHAR,\n series VARCHAR\n)\n\nQUESTION: Name the f/laps for gp2 series\nSQL QUERY:", "completion": "SELECT f_laps FROM table_24587026_1 WHERE series LIKE \"%gp2 series%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n series VARCHAR,\n title VARCHAR\n)\n\nQUESTION: From what series is Peck Up Your Troubles?\nSQL QUERY:", "completion": "SELECT series FROM table_name_66 WHERE title LIKE \"%peck up your troubles%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13259009_2 (\n record VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What was the record when they played the Los Angeles Rams?\nSQL QUERY:", "completion": "SELECT record FROM table_13259009_2 WHERE opponent LIKE \"%los angeles rams%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341472_49 (\n result VARCHAR,\n district VARCHAR\n)\n\nQUESTION: what's the result with district being washington 7\nSQL QUERY:", "completion": "SELECT result FROM table_1341472_49 WHERE district LIKE \"%washington 7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n position VARCHAR,\n pick__number VARCHAR\n)\n\nQUESTION: What is the Position of Pick #77?\nSQL QUERY:", "completion": "SELECT position FROM table_name_25 WHERE pick__number LIKE '%77%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43265 (\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Country\" text,\n \"Catalog\" text\n)\n\nQUESTION: What is the Date when the Country shows uk, the Format is cd, and the Catalog of edcd 227?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_43265 WHERE \"Country\" LIKE '%uk%' AND \"Format\" LIKE '%cd%' AND \"Catalog\" LIKE '%edcd 227%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30120619_1 (\n poor_law_union VARCHAR,\n townland VARCHAR\n)\n\nQUESTION: What is the poor law union for the Barnahely towland?\nSQL QUERY:", "completion": "SELECT poor_law_union FROM table_30120619_1 WHERE townland LIKE \"%barnahely%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2866456_1 (\n us_viewers__million_ VARCHAR,\n _number VARCHAR\n)\n\nQUESTION: How many u.s. viewers (million) have 6 as the #?\nSQL QUERY:", "completion": "SELECT us_viewers__million_ FROM table_2866456_1 WHERE _number LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n team__number2 VARCHAR\n)\n\nQUESTION: What is the 2nd leg of the second team in the 2007 uefa intertoto cup?\nSQL QUERY:", "completion": "SELECT 2 AS nd_leg FROM table_name_78 WHERE team__number2 LIKE \"%2007 uefa intertoto cup%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77274 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was the name of the away team that had a tie of 2?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_77274 WHERE \"Tie no\" LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23722304_2 (\n vehicle_code VARCHAR,\n bore__mm_ VARCHAR\n)\n\nQUESTION: what is the vehicle code where the bore is 79.4?\nSQL QUERY:", "completion": "SELECT vehicle_code FROM table_23722304_2 WHERE bore__mm_ LIKE \"%79.4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48933 (\n \"Opposing Team\" text,\n \"Against\" real,\n \"Date\" text,\n \"Venue\" text,\n \"Status\" text\n)\n\nQUESTION: Which Date has a Status of second test?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_48933 WHERE \"Status\" LIKE '%second test%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57845 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: Who built the under grid 6 car with under 49 laps?\nSQL QUERY:", "completion": "SELECT \"Constructor\" FROM table_57845 WHERE \"Grid\" < 6 AND \"Laps\" < 49"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n transfer_window VARCHAR,\n country VARCHAR\n)\n\nQUESTION: WHAT IS THE TRANSFER WINDOW FOR THE COUNTRY OF BRA?\nSQL QUERY:", "completion": "SELECT transfer_window FROM table_name_12 WHERE country LIKE \"%bra%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341472_40 (\n party VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What party is thomas foglietta from?\nSQL QUERY:", "completion": "SELECT party FROM table_1341472_40 WHERE incumbent LIKE \"%thomas foglietta%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18600760_9 (\n township VARCHAR,\n longitude VARCHAR\n)\n\nQUESTION: What township is located at longitude -99.287270?\nSQL QUERY:", "completion": "SELECT township FROM table_18600760_9 WHERE longitude LIKE \"%-99.287270%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_69 (\n sport VARCHAR,\n name VARCHAR\n)\n\nQUESTION: what is the sport for wolfgang schattauer?\nSQL QUERY:", "completion": "SELECT sport FROM table_name_69 WHERE name LIKE \"%wolfgang schattauer%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69322 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What date was the record 20 16?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_69322 WHERE \"Record\" LIKE '%20–16%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n round INTEGER,\n pick VARCHAR\n)\n\nQUESTION: What is the total round with pick of 109?\nSQL QUERY:", "completion": "SELECT SUM(round) FROM table_name_37 WHERE pick LIKE '%109%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70033 (\n \"Date\" text,\n \"City\" text,\n \"Event\" text,\n \"Winner\" text,\n \"Prize\" text\n)\n\nQUESTION: In what City was the Ept Baden Classic?\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_70033 WHERE \"Event\" LIKE '%ept baden classic%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29127804_3 (\n tournament VARCHAR,\n outcome VARCHAR\n)\n\nQUESTION: what is the name of the tournament where outcome is runner-up\nSQL QUERY:", "completion": "SELECT tournament FROM table_29127804_3 WHERE outcome LIKE \"%runner-up%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n venue VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Where did Footscray play as the away team?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_76 WHERE away_team LIKE \"%footscray%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29458735_5 (\n regiment VARCHAR,\n county VARCHAR\n)\n\nQUESTION: which regiment was in the Fulton County\nSQL QUERY:", "completion": "SELECT regiment FROM table_29458735_5 WHERE county LIKE \"%fulton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n name VARCHAR,\n spouse VARCHAR\n)\n\nQUESTION: Tell me the name of the person married to frederick ix\nSQL QUERY:", "completion": "SELECT name FROM table_name_71 WHERE spouse LIKE \"%frederick ix%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15026994_2 (\n original_air_date VARCHAR,\n viewing_figure VARCHAR\n)\n\nQUESTION: What original air dates are associated with a viewing figure of 7.27 million?\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_15026994_2 WHERE viewing_figure LIKE \"%7.27 million%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n winning_score VARCHAR,\n margin_of_victory VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which Winning score has a Margin of victory of 1 stroke, and a Date of 21 jun 1981?\nSQL QUERY:", "completion": "SELECT winning_score FROM table_name_19 WHERE margin_of_victory LIKE \"%1 stroke%\" AND date LIKE \"%21 jun 1981%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n position VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is position does Dan O'Sullivan play?\nSQL QUERY:", "completion": "SELECT position FROM table_name_58 WHERE player LIKE \"%dan o'sullivan%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n winner VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What is the name of the winner of the tour championship tournament?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_73 WHERE tournament LIKE \"%the tour championship%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n goals VARCHAR,\n since VARCHAR,\n app_gs_sub_ VARCHAR\n)\n\nQUESTION: Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)\nSQL QUERY:", "completion": "SELECT goals FROM table_name_57 WHERE since < '2007' AND app_gs_sub_ LIKE '%97 (69/28)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n gold INTEGER,\n total VARCHAR,\n bronze VARCHAR\n)\n\nQUESTION: Which Gold has a Total of 2998, and a Bronze smaller than 1191?\nSQL QUERY:", "completion": "SELECT AVG(gold) FROM table_name_68 WHERE total LIKE '%2998%' AND CAST(bronze AS INTEGER) < 1191"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n start VARCHAR,\n team VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Where did the team of Rahal Letterman in 2006 start?\nSQL QUERY:", "completion": "SELECT COUNT(start) FROM table_name_53 WHERE team LIKE \"%rahal letterman%\" AND year = 2006"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n scored INTEGER,\n points VARCHAR,\n position VARCHAR\n)\n\nQUESTION: How many points are in the scored category for the team that has 8 total points and a position that is less than 10?\nSQL QUERY:", "completion": "SELECT SUM(scored) FROM table_name_38 WHERE points LIKE '%8%' AND position < '10'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_73747 (\n \"Position\" real,\n \"Driver\" text,\n \"Points\" real,\n \"Winnings\" text,\n \"Series\" text\n)\n\nQUESTION: How much did Kenny Brack win?\nSQL QUERY:", "completion": "SELECT \"Winnings\" FROM table_73747 WHERE \"Driver\" LIKE '%kenny brack%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70742 (\n \"Year\" real,\n \"Chassis\" text,\n \"Engine\" text,\n \"Tyres\" text,\n \"Points\" real\n)\n\nQUESTION: What are the lowest points that have a Mugen V8 engine and a Reynard 91D chassis?\nSQL QUERY:", "completion": "SELECT MIN(\"Points\") FROM table_70742 WHERE \"Engine\" LIKE '%mugen v8%' AND \"Chassis\" LIKE '%reynard 91d%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28005100_1 (\n composer VARCHAR,\n title VARCHAR\n)\n\nQUESTION: Who was the composer of te3rafy?\nSQL QUERY:", "completion": "SELECT composer FROM table_28005100_1 WHERE title LIKE \"%te3rafy%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66792 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: What is the record that has an attendance greater than 39,980 with july 26 as the date?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_66792 WHERE \"Attendance\" > 39980 AND \"Date\" LIKE '%july 26%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n surface VARCHAR,\n track VARCHAR\n)\n\nQUESTION: What is the surface for the riverhead raceway?\nSQL QUERY:", "completion": "SELECT surface FROM table_name_84 WHERE track LIKE \"%riverhead raceway%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65027 (\n \"Rank\" real,\n \"Athletes\" text,\n \"Country\" text,\n \"Time\" text,\n \"Notes\" text\n)\n\nQUESTION: What is the name of the athlete from Myanmar?\nSQL QUERY:", "completion": "SELECT \"Athletes\" FROM table_65027 WHERE \"Country\" LIKE '%myanmar%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n stadium VARCHAR,\n city VARCHAR\n)\n\nQUESTION: What stadium is located in Halifax?\nSQL QUERY:", "completion": "SELECT stadium FROM table_name_48 WHERE city LIKE \"%halifax%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2864 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location\" text,\n \"Attendance\" real,\n \"Record\" text,\n \"Points\" real\n)\n\nQUESTION: Where was the game played when the record was 20-6-6?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_2864 WHERE \"Record\" LIKE '%20-6-6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12321870_32 (\n player_name VARCHAR,\n period VARCHAR\n)\n\nQUESTION: What is the name of the player who played in 2009 only?\nSQL QUERY:", "completion": "SELECT player_name FROM table_12321870_32 WHERE period LIKE \"%2009%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11965481_13 (\n game VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the number of games on june 12\nSQL QUERY:", "completion": "SELECT COUNT(game) FROM table_11965481_13 WHERE date LIKE \"%june 12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n opponent VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which opponent scored 95-101?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_34 WHERE score LIKE \"%95-101%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n score1 VARCHAR,\n ground VARCHAR\n)\n\nQUESTION: What is the score 1 with a h ground?\nSQL QUERY:", "completion": "SELECT score1 FROM table_name_85 WHERE ground LIKE \"%h%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43440 (\n \"Tournament\" text,\n \"Wins\" real,\n \"Top-5\" real,\n \"Top-10\" real,\n \"Top-25\" real,\n \"Events\" real,\n \"Cuts made\" real\n)\n\nQUESTION: What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12?\nSQL QUERY:", "completion": "SELECT MAX(\"Top-10\") FROM table_43440 WHERE \"Tournament\" LIKE '%u.s. open%' AND \"Top-25\" > 12"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28723146_2 (\n total INTEGER\n)\n\nQUESTION: What is the least total?\nSQL QUERY:", "completion": "SELECT MIN(total) FROM table_28723146_2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41945 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" real,\n \"To par\" text\n)\n\nQUESTION: What is Place, when Score is less than 67, and when Country is South Africa?\nSQL QUERY:", "completion": "SELECT \"Place\" FROM table_41945 WHERE \"Score\" < 67 AND \"Country\" LIKE '%south africa%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39146 (\n \"Date\" text,\n \"Race\" text,\n \"Distance\" text,\n \"Venue\" text,\n \"Radio\" text\n)\n\nQUESTION: What is the venue of the napa auto parts 200 race with a mrn radio?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_39146 WHERE \"Radio\" LIKE '%mrn%' AND \"Race\" LIKE '%napa auto parts 200%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70521 (\n \"Date\" text,\n \"Home captain\" text,\n \"Away captain\" text,\n \"Venue\" text,\n \"Result\" text\n)\n\nQUESTION: When was there a match in Centurion Park?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_70521 WHERE \"Venue\" LIKE '%centurion park%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19850806_3 (\n winning_driver VARCHAR,\n rd VARCHAR\n)\n\nQUESTION: Who is the winning driver when rd. is 3?\nSQL QUERY:", "completion": "SELECT winning_driver FROM table_19850806_3 WHERE rd LIKE \"%3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n track INTEGER,\n writer_s_ VARCHAR,\n time VARCHAR\n)\n\nQUESTION: What's the smallest track written by dennis linde that's 2:50 minutes long\nSQL QUERY:", "completion": "SELECT MIN(track) FROM table_name_37 WHERE writer_s_ LIKE '%dennis linde%' AND time LIKE '%2:50%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n location_attendance VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What is Location/Attendance, when Score is '4-5 (OT)'?\nSQL QUERY:", "completion": "SELECT location_attendance FROM table_name_2 WHERE score LIKE \"%4-5 (ot)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n opponent VARCHAR,\n outcome VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the opponent with the outcome of runner-up with a date of 19 september 1994?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_25 WHERE outcome LIKE \"%runner-up%\" AND date LIKE \"%19 september 1994%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46579 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Attendance\" text\n)\n\nQUESTION: Who was the away team when Lincoln City was the home team?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_46579 WHERE \"Home team\" LIKE '%lincoln city%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n Id VARCHAR\n)\n\nQUESTION: What's the value for 2007 when 2011 is a and 2009 is q2?\nSQL QUERY:", "completion": "SELECT 2007 FROM table_name_12 WHERE 2011 LIKE '%a%' AND 2009 LIKE '%q2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_762 (\n id number,\n \"#\" number,\n \"date\" text,\n \"film\" text,\n \"gross\" text,\n \"notes\" text\n)\n\nQUESTION: how many films grossed more than $ 80,000,000\nSQL QUERY:", "completion": "SELECT COUNT(\"film\") FROM table_203_762 WHERE CAST(\"gross\" AS INTEGER) > 80000000"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27332038_1 (\n title VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: what is the title of the episode with production code '2arg09'?\nSQL QUERY:", "completion": "SELECT title FROM table_27332038_1 WHERE production_code LIKE '%2arg09%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n wheel_arrangement VARCHAR,\n fleet_number_s_ VARCHAR\n)\n\nQUESTION: What wheel arrangement has a fleet number(s) of 45 46?\nSQL QUERY:", "completion": "SELECT wheel_arrangement FROM table_name_46 WHERE fleet_number_s_ LIKE \"%45–46%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16729063_1 (\n pick__number VARCHAR,\n position VARCHAR\n)\n\nQUESTION: How many draft picks are there at the linebacker position?\nSQL QUERY:", "completion": "SELECT COUNT(pick__number) FROM table_16729063_1 WHERE position LIKE '%linebacker%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27723228_8 (\n high_rebounds VARCHAR,\n game VARCHAR\n)\n\nQUESTION: How many people are listed for high rebounds on game 30?\nSQL QUERY:", "completion": "SELECT COUNT(high_rebounds) FROM table_27723228_8 WHERE game LIKE '%30%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n platform VARCHAR,\n year VARCHAR,\n developer VARCHAR\n)\n\nQUESTION: Name the plaform for year more than 2006 and developer of 3g studios\nSQL QUERY:", "completion": "SELECT platform FROM table_name_33 WHERE year > '2006' AND developer LIKE '%3g studios%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE tracks (\n unit_price VARCHAR,\n name VARCHAR\n)\n\nQUESTION: How much is the track Fast As a Shark?\nSQL QUERY:", "completion": "SELECT unit_price FROM tracks WHERE name LIKE \"%fast as a shark%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n Id VARCHAR\n)\n\nQUESTION: What is the 2008 result where 2003 is 325?\nSQL QUERY:", "completion": "SELECT 2008 FROM table_name_34 WHERE 2003 LIKE \"%325%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2076533_1 (\n main_location VARCHAR,\n control VARCHAR,\n type VARCHAR\n)\n\nQUESTION: Name the main location for public and masters university\nSQL QUERY:", "completion": "SELECT main_location FROM table_2076533_1 WHERE control LIKE \"%public%\" AND type LIKE \"%masters university%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30120547_1 (\n civil_parish VARCHAR,\n townland VARCHAR\n)\n\nQUESTION: What is the civil parish of the cappanaboul townland?\nSQL QUERY:", "completion": "SELECT civil_parish FROM table_30120547_1 WHERE townland LIKE \"%cappanaboul%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n engine_company VARCHAR,\n address VARCHAR\n)\n\nQUESTION: What is the name of the engine company that is located at 89 Rope Ferry Road?\nSQL QUERY:", "completion": "SELECT engine_company FROM table_name_35 WHERE address LIKE \"%89 rope ferry road%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57541 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: Which driver had a grid number of 10?\nSQL QUERY:", "completion": "SELECT \"Driver\" FROM table_57541 WHERE \"Grid\" = 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_68297 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What is the Place when the To par was +3 and Score was 74-73=147?\nSQL QUERY:", "completion": "SELECT \"Place\" FROM table_68297 WHERE \"To par\" LIKE '%+3%' AND \"Score\" LIKE '%74-73=147%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n result VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the Result on october 15, 1995?\nSQL QUERY:", "completion": "SELECT result FROM table_name_71 WHERE date LIKE \"%october 15, 1995%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40043 (\n \"Chapter\" real,\n \"Chinese\" text,\n \"Pinyin\" text,\n \"English Translation\" text,\n \"Articles\" real\n)\n\nQUESTION: Can you tell me the average Chapter that has Articles smaller than 15?\nSQL QUERY:", "completion": "SELECT AVG(\"Chapter\") FROM table_40043 WHERE \"Articles\" < 15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE claims_processing (\n claim_outcome_code VARCHAR\n)\n\nQUESTION: How many distinct claim outcome codes are there?\nSQL QUERY:", "completion": "SELECT COUNT(DISTINCT claim_outcome_code) FROM claims_processing"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8030 (\n \"Religion\" text,\n \"Scheduled Caste\" text,\n \"Scheduled Tribe\" text,\n \"Other Backward Class\" text,\n \"Forward caste\" text\n)\n\nQUESTION: WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%?\nSQL QUERY:", "completion": "SELECT \"Forward caste\" FROM table_8030 WHERE \"Scheduled Tribe\" LIKE '%0.90%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n winning_team VARCHAR,\n fastest_lap VARCHAR\n)\n\nQUESTION: Which team had the fastest lap of 1:13.516?\nSQL QUERY:", "completion": "SELECT winning_team FROM table_name_47 WHERE fastest_lap LIKE \"%1:13.516%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668243_18 (\n result VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Name the result for willis alston\nSQL QUERY:", "completion": "SELECT result FROM table_2668243_18 WHERE incumbent LIKE '%willis alston%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24781886_3 (\n total INTEGER,\n _number VARCHAR\n)\n\nQUESTION: When 3 is the number what is the highest total?\nSQL QUERY:", "completion": "SELECT MAX(total) FROM table_24781886_3 WHERE _number LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51847 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: How many laps did innes ireland drive with a grid higher than 11?\nSQL QUERY:", "completion": "SELECT SUM(\"Laps\") FROM table_51847 WHERE \"Driver\" LIKE '%innes ireland%' AND \"Grid\" > 11"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_160510_1 (\n hanja VARCHAR,\n province VARCHAR\n)\n\nQUESTION: What is the hanja for the province of 'sangju'?\nSQL QUERY:", "completion": "SELECT hanja FROM table_160510_1 WHERE province LIKE \"%sangju%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_221315_3 (\n max_speed__mph_ VARCHAR,\n usaf_space_flights VARCHAR,\n total_flights VARCHAR\n)\n\nQUESTION: How many numbers were recorded under max speed for 1 USAF space flight and total flights 34?\nSQL QUERY:", "completion": "SELECT COUNT(max_speed__mph_) FROM table_221315_3 WHERE usaf_space_flights LIKE '%1%' AND total_flights LIKE '%34%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11032 (\n \"Position\" real,\n \"Drivers\" text,\n \"Class\" text,\n \"Class Position\" real,\n \"Laps\" real\n)\n\nQUESTION: Which drivers have the position of 27?\nSQL QUERY:", "completion": "SELECT \"Drivers\" FROM table_11032 WHERE \"Position\" = 27"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23685890_2 (\n major_town VARCHAR,\n local_government_area VARCHAR\n)\n\nQUESTION: Which major town is located within the Outback Areas Community Development Trust?\nSQL QUERY:", "completion": "SELECT major_town FROM table_23685890_2 WHERE local_government_area LIKE '%outback areas community development trust%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n lane INTEGER,\n nationality VARCHAR,\n split__50m_ VARCHAR\n)\n\nQUESTION: What is the total of lane(s) for swimmers from Sweden with a 50m split of faster than 26.25?\nSQL QUERY:", "completion": "SELECT SUM(lane) FROM table_name_24 WHERE nationality LIKE '%sweden%' AND split__50m_ < 26.25"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_922 (\n id number,\n \"rank\" number,\n \"nation\" text,\n \"gold\" number,\n \"silver\" number,\n \"bronze\" number,\n \"total\" number\n)\n\nQUESTION: how many nations won at least three silver medals ?\nSQL QUERY:", "completion": "SELECT COUNT(\"nation\") FROM table_204_922 WHERE \"silver\" >= 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n nationality VARCHAR,\n position VARCHAR,\n college VARCHAR\n)\n\nQUESTION: What is the nationality for the position of (d), and college was SC Bern ( Swiss )?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_24 WHERE position LIKE '%(d)%' AND college LIKE '%sc bern ( swiss )%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10462 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" text,\n \"Record\" text,\n \"Boxscore\" text\n)\n\nQUESTION: What is the record for june 10?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_10462 WHERE \"Date\" LIKE '%june 10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_81 (\n venue VARCHAR,\n goal VARCHAR\n)\n\nQUESTION: Which venue has a Goal of 3?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_81 WHERE goal LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11288 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: What is the total number of laps with a Driver of eddie irvine?\nSQL QUERY:", "completion": "SELECT SUM(\"Laps\") FROM table_11288 WHERE \"Driver\" LIKE '%eddie irvine%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_11 (\n environment VARCHAR,\n year_built VARCHAR\n)\n\nQUESTION: What type of environment is the venue that was built in 2003?\nSQL QUERY:", "completion": "SELECT environment FROM table_name_11 WHERE year_built LIKE \"%2003%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57863 (\n \"Years\" text,\n \"Engine\" text,\n \"Displacement\" text,\n \"Power\" text,\n \"Torque\" text,\n \"Notes\" text\n)\n\nQUESTION: What is the engine for year 2012-?\nSQL QUERY:", "completion": "SELECT \"Engine\" FROM table_57863 WHERE \"Years\" LIKE '%2012-%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_42951 (\n \"Year\" real,\n \"Actor\" text,\n \"Award\" text,\n \"Motion Picture\" text,\n \"Result\" text\n)\n\nQUESTION: What award did Forest Whitaker win in 1989?\nSQL QUERY:", "completion": "SELECT \"Award\" FROM table_42951 WHERE \"Actor\" LIKE '%forest whitaker%' AND \"Year\" = 1989"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25046766_3 (\n prod_no INTEGER,\n episode_no VARCHAR\n)\n\nQUESTION: What is the production number of 3-04?\nSQL QUERY:", "completion": "SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no LIKE \"%3-04%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n week VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What week is a bye week?\nSQL QUERY:", "completion": "SELECT week FROM table_name_64 WHERE date LIKE \"%bye%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27712180_13 (\n team VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the name of the opposing team on the May 6 game?\nSQL QUERY:", "completion": "SELECT team FROM table_27712180_13 WHERE date LIKE \"%may 6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n opponent VARCHAR,\n attendance INTEGER\n)\n\nQUESTION: Who did they play when there were only 751 in attendance?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_78 WHERE attendance < 751"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17326036_5 (\n score VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What was the score in the game against Boston?\nSQL QUERY:", "completion": "SELECT score FROM table_17326036_5 WHERE team LIKE \"%boston%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60491 (\n \"Name\" text,\n \"Pos.\" text,\n \"Height\" text,\n \"Weight\" text,\n \"Date of Birth\" text,\n \"Club\" text\n)\n\nQUESTION: What is the Date of Birth of the CB Player with a Height of m (ft 4in)?\nSQL QUERY:", "completion": "SELECT \"Date of Birth\" FROM table_60491 WHERE \"Pos.\" LIKE '%cb%' AND \"Height\" LIKE '%m (ft 4in)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25703_2 (\n death_2012 VARCHAR,\n birth_2012 VARCHAR\n)\n\nQUESTION: What were the total number of 2012 deaths when 2012 births were 127?\nSQL QUERY:", "completion": "SELECT death_2012 FROM table_25703_2 WHERE birth_2012 LIKE '%127%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n final_score VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: what is the final score when the opponent is platense?\nSQL QUERY:", "completion": "SELECT final_score FROM table_name_58 WHERE opponent LIKE \"%platense%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_53 (\n interview VARCHAR,\n preliminary_average VARCHAR\n)\n\nQUESTION: what is the interview score when the preliminary average is 8.529 (6)?\nSQL QUERY:", "completion": "SELECT interview FROM table_name_53 WHERE preliminary_average LIKE \"%8.529 (6)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25030512_24 (\n candidates VARCHAR,\n first_elected VARCHAR\n)\n\nQUESTION: Name the candidates for 1998\nSQL QUERY:", "completion": "SELECT candidates FROM table_25030512_24 WHERE first_elected LIKE \"%1998%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65338 (\n \"Rank\" real,\n \"Rider\" text,\n \"Team\" text,\n \"Speed\" text,\n \"Time\" text\n)\n\nQUESTION: What was John Hildreth's speed?\nSQL QUERY:", "completion": "SELECT \"Speed\" FROM table_65338 WHERE \"Rider\" LIKE '%john hildreth%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9448 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic?\nSQL QUERY:", "completion": "SELECT \"Tie no\" FROM table_9448 WHERE \"Date\" LIKE '%18 february 1956%' AND \"Home team\" LIKE '%charlton athletic%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26351260_1 (\n location VARCHAR,\n institution VARCHAR\n)\n\nQUESTION: How many Kent State University's are there?\nSQL QUERY:", "completion": "SELECT COUNT(location) FROM table_26351260_1 WHERE institution LIKE \"%kent state university%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_3 (\n score VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What is the score of game 34?\nSQL QUERY:", "completion": "SELECT score FROM table_name_3 WHERE game LIKE '%34%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n number_of_cars VARCHAR,\n car__number VARCHAR,\n year_started VARCHAR\n)\n\nQUESTION: HOW MANY CARS HAD A CAR # SMALLER THAN 7 AND STARTED ON 2010?\nSQL QUERY:", "completion": "SELECT number_of_cars FROM table_name_38 WHERE CAST(car__number AS INTEGER) < 7 AND year_started LIKE '%2010%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_40636 (\n \"Year\" real,\n \"Award\" text,\n \"Category\" text,\n \"Nomination\" text,\n \"Result\" text\n)\n\nQUESTION: What was the result when Jam Hsiao was nominated in 2012?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_40636 WHERE \"Nomination\" LIKE '%jam hsiao%' AND \"Year\" = 2012"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55407 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What's the sum of total where the rank is over 9 and the gold is less than 1?\nSQL QUERY:", "completion": "SELECT COUNT(\"Total\") FROM table_55407 WHERE \"Rank\" > 9 AND \"Gold\" < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12784134_24 (\n perfect_stem VARCHAR,\n imperfect_stem VARCHAR\n)\n\nQUESTION: What is the perfect stem for pozten?\nSQL QUERY:", "completion": "SELECT perfect_stem FROM table_12784134_24 WHERE imperfect_stem LIKE \"%pozten%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64175 (\n \"Year\" real,\n \"Category\" text,\n \"Recipients and nominees\" text,\n \"Role/Episode\" text,\n \"Result\" text\n)\n\nQUESTION: What recipients and nominees have outstanding achievement in drama as the category with 1994 as the year?\nSQL QUERY:", "completion": "SELECT \"Recipients and nominees\" FROM table_64175 WHERE \"Category\" LIKE '%outstanding achievement in drama%' AND \"Year\" = 1994"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n province VARCHAR,\n established VARCHAR\n)\n\nQUESTION: what province was established in 1870\nSQL QUERY:", "completion": "SELECT province FROM table_name_72 WHERE established LIKE '%1870%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n week_5 VARCHAR,\n week_3 VARCHAR\n)\n\nQUESTION: Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?\nSQL QUERY:", "completion": "SELECT week_5 FROM table_name_95 WHERE week_3 LIKE \"%felicia taylor%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n district VARCHAR,\n party VARCHAR\n)\n\nQUESTION: What district has a democratic party?\nSQL QUERY:", "completion": "SELECT district FROM table_name_45 WHERE party LIKE \"%democratic%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29273057_1 (\n directed_by VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: Who directed the episode with production code ip01003?\nSQL QUERY:", "completion": "SELECT directed_by FROM table_29273057_1 WHERE production_code LIKE '%ip01003%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n date VARCHAR,\n ground VARCHAR,\n opponent VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: Which date's opponent was Dender when the tournament was in the Jupiler League and the ground was a?\nSQL QUERY:", "completion": "SELECT date FROM table_name_52 WHERE opponent LIKE \"%dender%\" AND tournament LIKE \"%jupiler league%\" AND ground LIKE \"%a%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28092844_16 (\n points_classification_klasyfikacja_punktowa VARCHAR,\n teams_classification VARCHAR\n)\n\nQUESTION: Who won the points classification when the teams classification winner was Lampre-Farnese?\nSQL QUERY:", "completion": "SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification LIKE '%lampre-farnese%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341453_11 (\n incumbent VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Who's the incumbent in Florida 6?\nSQL QUERY:", "completion": "SELECT incumbent FROM table_1341453_11 WHERE district LIKE \"%florida 6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who was the opponent on September 26, 2009?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_28 WHERE date LIKE \"%september 26, 2009%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45048 (\n \"Year\" real,\n \"Top Fuel\" text,\n \"Funny Car\" text,\n \"Pro Stock\" text,\n \"Pro Stock Motorcycle\" text\n)\n\nQUESTION: Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car?\nSQL QUERY:", "completion": "SELECT \"Pro Stock\" FROM table_45048 WHERE \"Top Fuel\" LIKE '%tony schumacher%' AND \"Funny Car\" LIKE '%tony pedregon%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n home_team VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: What is Home Team, when Tie No is '7'?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_5 WHERE tie_no LIKE \"%7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_186468_1 (\n v_band VARCHAR,\n k_band VARCHAR\n)\n\nQUESTION: When 2 is the k-band what is the v-band?\nSQL QUERY:", "completion": "SELECT v_band FROM table_186468_1 WHERE k_band LIKE \"%2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Students (\n login_name VARCHAR,\n family_name VARCHAR\n)\n\nQUESTION: What are the login names of the students with family name 'Ward'?\nSQL QUERY:", "completion": "SELECT login_name FROM Students WHERE family_name LIKE \"%ward%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_532 (\n id number,\n \"season\" text,\n \"tier\" number,\n \"division\" text,\n \"place\" text\n)\n\nQUESTION: what is the only season the club placed 5th ?\nSQL QUERY:", "completion": "SELECT \"season\" FROM table_204_532 WHERE \"place\" LIKE '%5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43801 (\n \"Event\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: what is the highest bronze when silver is less than 1 and gold is more than 0?\nSQL QUERY:", "completion": "SELECT MAX(\"Bronze\") FROM table_43801 WHERE \"Silver\" < 1 AND \"Gold\" > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n record VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the record of the opponent that has a bye?\nSQL QUERY:", "completion": "SELECT record FROM table_name_35 WHERE opponent LIKE \"%bye%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18207285_2 (\n record VARCHAR,\n opponents VARCHAR\n)\n\nQUESTION: What's the record in the game played against 42?\nSQL QUERY:", "completion": "SELECT record FROM table_18207285_2 WHERE opponents LIKE '%42%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26912584_2 (\n skip VARCHAR,\n country VARCHAR,\n Sweden VARCHAR\n)\n\nQUESTION: When sweden is the country who is the skip?\nSQL QUERY:", "completion": "SELECT skip FROM table_26912584_2 WHERE country LIKE '%sweden%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n centerfold_model VARCHAR,\n date VARCHAR\n)\n\nQUESTION: When Centerfold model is on 3-04?\nSQL QUERY:", "completion": "SELECT centerfold_model FROM table_name_80 WHERE date LIKE \"%3-04%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n manufacturer VARCHAR,\n time_retired VARCHAR\n)\n\nQUESTION: Which Manufacturer has a Time/Retired of accident?\nSQL QUERY:", "completion": "SELECT manufacturer FROM table_name_73 WHERE time_retired LIKE \"%accident%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n nationality VARCHAR,\n years_for_jazz VARCHAR\n)\n\nQUESTION: Which nationality has Years for Jazz of 1984-85?\nSQL QUERY:", "completion": "SELECT nationality FROM table_name_92 WHERE years_for_jazz LIKE \"%1984-85%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668347_17 (\n incumbent VARCHAR,\n candidates VARCHAR\n)\n\nQUESTION: Name the incumbent for jacob spangler (dr) 67.1% jacob hay (f) 32.9%\nSQL QUERY:", "completion": "SELECT incumbent FROM table_2668347_17 WHERE candidates LIKE \"%jacob spangler (dr) 67.1% jacob hay (f) 32.9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28608 (\n \"Election number\" real,\n \"Election date\" text,\n \"District\" text,\n \"Province\" text,\n \"Took office\" text,\n \"Left office\" text\n)\n\nQUESTION: In how many district has a politician took office on 1844-10-14?\nSQL QUERY:", "completion": "SELECT \"District\" FROM table_28608 WHERE \"Took office\" LIKE '%1844-10-14%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE film (\n Gross_in_dollar INTEGER\n)\n\nQUESTION: What is the average ticket sales gross in dollars of films?\nSQL QUERY:", "completion": "SELECT AVG(Gross_in_dollar) FROM film"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28677723_11 (\n tor_fløysvik VARCHAR,\n christer_tornell VARCHAR\n)\n\nQUESTION: how many for floysvik and christer tornell is 7?\nSQL QUERY:", "completion": "SELECT COUNT(tor_fløysvik) FROM table_28677723_11 WHERE christer_tornell LIKE '%7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26267607_2 (\n circuit VARCHAR,\n round VARCHAR\n)\n\nQUESTION: Round 1 is in what circuit?\nSQL QUERY:", "completion": "SELECT circuit FROM table_26267607_2 WHERE round LIKE \"%1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51596 (\n \"City\" text,\n \"Country\" text,\n \"IATA\" text,\n \"ICAO\" text,\n \"Airport\" text\n)\n\nQUESTION: Which city is Naples Airport located in?\nSQL QUERY:", "completion": "SELECT \"City\" FROM table_51596 WHERE \"Airport\" LIKE '%naples airport%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1828368_1 (\n commune VARCHAR,\n area__km_2__ VARCHAR\n)\n\nQUESTION: What commune has an area of 12.4 sq.km.?\nSQL QUERY:", "completion": "SELECT commune FROM table_1828368_1 WHERE area__km_2__ LIKE \"%12.4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n quantity INTEGER,\n year VARCHAR,\n model VARCHAR\n)\n\nQUESTION: Name the sum of quantity for before 2011 model slf-230\nSQL QUERY:", "completion": "SELECT SUM(quantity) FROM table_name_60 WHERE year < '2011' AND model LIKE '%slf-230%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n date VARCHAR,\n results¹ VARCHAR\n)\n\nQUESTION: On what Date were the Results 4:0?\nSQL QUERY:", "completion": "SELECT date FROM table_name_47 WHERE results¹ LIKE \"%4:0%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19810459_1 (\n hometown VARCHAR,\n background VARCHAR\n)\n\nQUESTION: What is the hometown of the contestant whose background is as a financial consultant?\nSQL QUERY:", "completion": "SELECT hometown FROM table_19810459_1 WHERE background LIKE \"%financial consultant%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n name VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Which Name was in the Year 2001?\nSQL QUERY:", "completion": "SELECT name FROM table_name_32 WHERE year LIKE \"%2001%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11853 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" real,\n \"Time/Retired\" text,\n \"Grid\" real\n)\n\nQUESTION: What is the time/retired for the car with over 9 laps and a grid of 6?\nSQL QUERY:", "completion": "SELECT \"Time/Retired\" FROM table_11853 WHERE \"Laps\" > 9 AND \"Grid\" = 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20174050_1 (\n format VARCHAR,\n title VARCHAR\n)\n\nQUESTION: What's the format of the audio book titled The Mind Robber?\nSQL QUERY:", "completion": "SELECT format FROM table_20174050_1 WHERE title LIKE \"%the mind robber%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47998 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: Which week has a result L 56-3?\nSQL QUERY:", "completion": "SELECT AVG(\"Week\") FROM table_47998 WHERE \"Result\" LIKE '%l 56-3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n party VARCHAR,\n member VARCHAR\n)\n\nQUESTION: What the name of Peter White's party?\nSQL QUERY:", "completion": "SELECT party FROM table_name_31 WHERE member LIKE \"%peter white%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45591 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: On what Date is the Detroit Falcons the Home team in a game with a Score of 63 66?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_45591 WHERE \"Home\" LIKE '%detroit falcons%' AND \"Score\" LIKE '%63–66%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE flight (\n vehicle_flight_number VARCHAR,\n date VARCHAR,\n pilot VARCHAR,\n altitude VARCHAR\n)\n\nQUESTION: List the vehicle flight number, date and pilot of all the flights, ordered by altitude.\nSQL QUERY:", "completion": "SELECT vehicle_flight_number, date, pilot FROM flight ORDER BY altitude"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5511 (\n \"RBIs\" real,\n \"Player\" text,\n \"Team\" text,\n \"Date\" text,\n \"Opponent\" text\n)\n\nQUESTION: Which date is associated with the player Wilbert Robinson?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_5511 WHERE \"Player\" LIKE '%wilbert robinson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n diff INTEGER,\n drawn VARCHAR,\n played VARCHAR\n)\n\nQUESTION: What is the sum of the difference for 9 draws and over 18 played?\nSQL QUERY:", "completion": "SELECT SUM(diff) FROM table_name_48 WHERE drawn LIKE '%9%' AND played > '18'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10609 (\n \"Week\" text,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Channel\" text,\n \"Attendance\" text\n)\n\nQUESTION: What was the attendance on week 12?\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_10609 WHERE \"Week\" LIKE '%12%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33465 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What is the listed crowd when the home team's score is 9.7 (61)?\nSQL QUERY:", "completion": "SELECT \"Crowd\" FROM table_33465 WHERE \"Home team score\" LIKE '%9.7 (61)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2781227_7 (\n college_junior_club_team VARCHAR,\n nhl_team VARCHAR\n)\n\nQUESTION: What college team did the pick for Pittsburgh Penguins come from?\nSQL QUERY:", "completion": "SELECT college_junior_club_team FROM table_2781227_7 WHERE nhl_team LIKE \"%pittsburgh penguins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n updated_in_past_30_days VARCHAR,\n registration VARCHAR\n)\n\nQUESTION: What is Updated In Past 30 Days, when Registration is 'Open to people 13 and over'?\nSQL QUERY:", "completion": "SELECT updated_in_past_30_days FROM table_name_93 WHERE registration LIKE \"%open to people 13 and over%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Aircraft (\n name VARCHAR,\n distance VARCHAR\n)\n\nQUESTION: Show the name of aircrafts with top three lowest distances.\nSQL QUERY:", "completion": "SELECT name FROM Aircraft ORDER BY distance LIMIT 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25391981_3 (\n couple VARCHAR,\n average VARCHAR\n)\n\nQUESTION: What couple averaged 15.5?\nSQL QUERY:", "completion": "SELECT couple FROM table_25391981_3 WHERE average LIKE '%15.5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n line_name VARCHAR,\n terminus VARCHAR\n)\n\nQUESTION: What line has Newmarket Junction terminus?\nSQL QUERY:", "completion": "SELECT line_name FROM table_name_4 WHERE terminus LIKE \"%newmarket junction%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n overall INTEGER,\n name VARCHAR,\n pick VARCHAR\n)\n\nQUESTION: When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick found?\nSQL QUERY:", "completion": "SELECT MAX(overall) FROM table_name_15 WHERE name LIKE \"%chris horton%\" AND pick < 42"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2012187_3 (\n team_s_ VARCHAR,\n top_10 VARCHAR\n)\n\nQUESTION: What team or teams with 18 in the top 10?\nSQL QUERY:", "completion": "SELECT team_s_ FROM table_2012187_3 WHERE top_10 LIKE '%18%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n record VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What is the record of game 48?\nSQL QUERY:", "completion": "SELECT record FROM table_name_40 WHERE game LIKE '%48%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28578594_1 (\n entrant VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: Name the entrant for bruno sterzi\nSQL QUERY:", "completion": "SELECT entrant FROM table_28578594_1 WHERE driver LIKE \"%bruno sterzi%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n frequency VARCHAR,\n call_sign VARCHAR\n)\n\nQUESTION: Which Frequency has a Call sign of kcse?\nSQL QUERY:", "completion": "SELECT frequency FROM table_name_93 WHERE call_sign LIKE \"%kcse%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_45 (\n network_brand_name VARCHAR,\n company_name VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What is the network brand name of the company vodafone group in Germany?\nSQL QUERY:", "completion": "SELECT network_brand_name FROM table_name_45 WHERE company_name LIKE \"%vodafone group%\" AND country LIKE \"%germany%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n loss VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What Loss had an Attendance of 17,675?\nSQL QUERY:", "completion": "SELECT loss FROM table_name_27 WHERE attendance LIKE \"%17,675%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28019988_2 (\n written_by VARCHAR,\n us_viewers__million_ VARCHAR\n)\n\nQUESTION: Who wrote the episode that 2.93 million viewers?\nSQL QUERY:", "completion": "SELECT written_by FROM table_28019988_2 WHERE us_viewers__million_ LIKE \"%2.93%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n wins INTEGER,\n poles VARCHAR,\n season VARCHAR\n)\n\nQUESTION: What is the fewest number of wins when he has 3 poles in 2010?\nSQL QUERY:", "completion": "SELECT MIN(wins) FROM table_name_51 WHERE poles LIKE '%3%' AND season LIKE '%2010%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14598_5 (\n s_hindu VARCHAR,\n buddhist VARCHAR\n)\n\nQUESTION: How many s hindu are where buddhists are 955?\nSQL QUERY:", "completion": "SELECT s_hindu FROM table_14598_5 WHERE buddhist LIKE \"%955%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n award VARCHAR,\n year VARCHAR,\n category VARCHAR\n)\n\nQUESTION: Who was awarded after 1947 in the category of, the best actor in a leading role?\nSQL QUERY:", "completion": "SELECT award FROM table_name_90 WHERE year > '1947' AND category LIKE '%best actor in a leading role%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n league VARCHAR,\n year VARCHAR\n)\n\nQUESTION: In 2010-11, what was the League name?\nSQL QUERY:", "completion": "SELECT league FROM table_name_18 WHERE year LIKE \"%2010-11%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43330 (\n \"Rank\" real,\n \"Name\" text,\n \"Years\" text,\n \"Matches\" real,\n \"Goals\" real\n)\n\nQUESTION: What is the highest Rank for Jason Kreis, with less than 305 matches?\nSQL QUERY:", "completion": "SELECT MAX(\"Rank\") FROM table_43330 WHERE \"Name\" LIKE '%jason kreis%' AND \"Matches\" < 305"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: what is the home team when the away team is frickley colliery?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_17 WHERE away_team LIKE \"%frickley colliery%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11964047_9 (\n leading_scorer VARCHAR,\n date VARCHAR\n)\n\nQUESTION: what's the leading scorer on march 2\nSQL QUERY:", "completion": "SELECT leading_scorer FROM table_11964047_9 WHERE date LIKE \"%march 2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2886617_8 (\n player VARCHAR,\n nhl_team VARCHAR\n)\n\nQUESTION: What player was picked for Buffalo Sabres?\nSQL QUERY:", "completion": "SELECT player FROM table_2886617_8 WHERE nhl_team LIKE \"%buffalo sabres%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n channel VARCHAR\n)\n\nQUESTION: What is the channel with a 2011 rating of 8.5?\nSQL QUERY:", "completion": "SELECT channel FROM table_name_64 WHERE \"2011\" LIKE '%8.5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n position VARCHAR,\n first_election VARCHAR\n)\n\nQUESTION: What is the Position of the person with a First Election of 1988 as Vice Mayor 2009?\nSQL QUERY:", "completion": "SELECT position FROM table_name_64 WHERE first_election LIKE \"%1988 as vice mayor 2009%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30260 (\n \"Pick #\" real,\n \"CFL Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What pick number was the player that was picked by Edmonton?\nSQL QUERY:", "completion": "SELECT \"Pick #\" FROM table_30260 WHERE \"CFL Team\" LIKE '%edmonton%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_3 (\n year VARCHAR,\n runner_up VARCHAR,\n winner VARCHAR\n)\n\nQUESTION: What year has John Davies as the runner-up, with warren humphreys as the winner?\nSQL QUERY:", "completion": "SELECT year FROM table_name_3 WHERE runner_up LIKE \"%john davies%\" AND winner LIKE \"%warren humphreys%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13050822_2 (\n leg VARCHAR,\n rally_leader VARCHAR\n)\n\nQUESTION: What is the leg for c. atkinson\nSQL QUERY:", "completion": "SELECT leg FROM table_13050822_2 WHERE rally_leader LIKE '%c. atkinson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36675 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Which Bronze has a Nation of canada, and a Rank smaller than 6?\nSQL QUERY:", "completion": "SELECT AVG(\"Bronze\") FROM table_36675 WHERE \"Nation\" LIKE '%canada%' AND \"Rank\" < 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE student (\n stu_fname VARCHAR,\n stu_lname VARCHAR,\n stu_gpa INTEGER,\n stu_dob VARCHAR\n)\n\nQUESTION: What is the first, last name, gpa of the youngest one among students whose GPA is above 3?\nSQL QUERY:", "completion": "SELECT stu_fname, stu_lname, stu_gpa FROM student WHERE stu_gpa > 3 ORDER BY stu_dob DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n surface VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What is the tournament surface at Aptos?\nSQL QUERY:", "completion": "SELECT surface FROM table_name_88 WHERE tournament LIKE '%aptos%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n role VARCHAR,\n year VARCHAR\n)\n\nQUESTION: Tell me the role for 2005\nSQL QUERY:", "completion": "SELECT role FROM table_name_38 WHERE year LIKE '%2005%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n pos VARCHAR,\n asts VARCHAR,\n rebs VARCHAR\n)\n\nQUESTION: What is the position of the player with more than 11 assists and 219 rebounds?\nSQL QUERY:", "completion": "SELECT pos FROM table_name_85 WHERE asts > '11' AND rebs LIKE '%219%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32289 (\n \"Date\" text,\n \"Time\" text,\n \"Epicenter\" text,\n \"Magnitude\" text,\n \"Fatalities\" text,\n \"Name\" text\n)\n\nQUESTION: What is the Magnitude on the Date May 28, 2004?\nSQL QUERY:", "completion": "SELECT \"Magnitude\" FROM table_32289 WHERE \"Date\" LIKE '%may 28, 2004%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_664 (\n id number,\n \"club\" text,\n \"town\" text,\n \"founded\" number,\n \"nickname\" text,\n \"colours\" text,\n \"home ground\" text,\n \"titles\" number,\n \"website\" text\n)\n\nQUESTION: how many teams are from morwell ?\nSQL QUERY:", "completion": "SELECT COUNT(\"club\") FROM table_203_664 WHERE \"town\" LIKE '%morwell%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_358 (\n id number,\n \"pos.\" number,\n \"athlete\" text,\n \"run 1\" number,\n \"run 2\" number,\n \"total\" text\n)\n\nQUESTION: who completed run 1 in the least amount of time ?\nSQL QUERY:", "completion": "SELECT \"athlete\" FROM table_203_358 ORDER BY \"run 1\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60822 (\n \"Player\" text,\n \"Position\" text,\n \"Ekstraklasa\" real,\n \"Polish Cup\" real,\n \"Puchat Ligi\" real,\n \"UEFA Cup\" real,\n \"Total\" real\n)\n\nQUESTION: How much Puchat Ligi has a Total smaller than 5, and an Ekstraklasa larger than 1?\nSQL QUERY:", "completion": "SELECT SUM(\"Puchat Ligi\") FROM table_60822 WHERE \"Total\" < 5 AND \"Ekstraklasa\" > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE member (\n address VARCHAR,\n Membership_card VARCHAR\n)\n\nQUESTION: Which address do not have any member with the black membership card?\nSQL QUERY:", "completion": "SELECT address FROM member EXCEPT SELECT address FROM member WHERE Membership_card LIKE '%black%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11884814_3 (\n average VARCHAR,\n swimsuit VARCHAR\n)\n\nQUESTION: What was the average for the country with the swimsuit score of 9.57?\nSQL QUERY:", "completion": "SELECT average FROM table_11884814_3 WHERE swimsuit LIKE \"%9.57%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74740 (\n \"Municipality\" text,\n \"Inhabitants\" real,\n \"Mayor\" text,\n \"Party\" text,\n \"Election\" real\n)\n\nQUESTION: In the election earlier than 2012 how many Inhabitants had a Party of five star movement?\nSQL QUERY:", "completion": "SELECT SUM(\"Inhabitants\") FROM table_74740 WHERE \"Party\" LIKE '%five star movement%' AND \"Election\" < 2012"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n league VARCHAR,\n sport VARCHAR\n)\n\nQUESTION: What is the name of a league in the sport of baseball?\nSQL QUERY:", "completion": "SELECT league FROM table_name_96 WHERE sport LIKE \"%baseball%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1139087_2 (\n grand_prix VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What event was in detroit?\nSQL QUERY:", "completion": "SELECT grand_prix FROM table_1139087_2 WHERE location LIKE \"%detroit%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38799 (\n \"Driver\" text,\n \"Constructor\" text,\n \"Laps\" text,\n \"Time/Retired\" text,\n \"Grid\" text\n)\n\nQUESTION: Who was the contstructor of the car having a grid of 20?\nSQL QUERY:", "completion": "SELECT \"Constructor\" FROM table_38799 WHERE \"Grid\" LIKE '%20%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36462 (\n \"Country\" text,\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: What date has parlophone as the label, and lp as a format?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_36462 WHERE \"Label\" LIKE '%parlophone%' AND \"Format\" LIKE '%lp%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25628 (\n \"Season\" real,\n \"Series\" text,\n \"Team\" text,\n \"Races\" real,\n \"Wins\" real,\n \"Poles\" real,\n \"F/Laps\" real,\n \"Podiums\" real,\n \"Points\" text,\n \"Position\" text\n)\n\nQUESTION: If the series is ADAC GT Masters and poles is 1, what is the name of the team?\nSQL QUERY:", "completion": "SELECT \"Team\" FROM table_25628 WHERE \"Poles\" = 1 AND \"Series\" LIKE '%adac gt masters%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79946 (\n \"Date\" text,\n \"City\" text,\n \"Event\" text,\n \"Winner\" text,\n \"Prize\" text\n)\n\nQUESTION: When was the event in Dublin?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_79946 WHERE \"City\" LIKE '%dublin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n car__number INTEGER,\n pos VARCHAR,\n make VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3?\nSQL QUERY:", "completion": "SELECT MAX(car__number) FROM table_name_19 WHERE make LIKE \"%toyota%\" AND driver LIKE \"%mike skinner%\" AND pos > 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25920798_2 (\n eliminated VARCHAR,\n finish VARCHAR\n)\n\nQUESTION: Name the left day 9 finish for eliminated\nSQL QUERY:", "completion": "SELECT eliminated FROM table_25920798_2 WHERE finish LIKE \"%left day 9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n opponent VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What is Opponent, when Tournament is 'Phuket , Thailand'?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_8 WHERE tournament LIKE \"%phuket , thailand%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58610 (\n \"Round\" real,\n \"Overall\" real,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What is the overall total for players drafted from notre dame?\nSQL QUERY:", "completion": "SELECT SUM(\"Overall\") FROM table_58610 WHERE \"College\" LIKE '%notre dame%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24535095_2 (\n crew_chief VARCHAR,\n listed_owner_s_ VARCHAR\n)\n\nQUESTION: Name the crew chief for rhonda thorson\nSQL QUERY:", "completion": "SELECT crew_chief FROM table_24535095_2 WHERE listed_owner_s_ LIKE '%rhonda thorson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_133 (\n id number,\n \"year\" number,\n \"japanese title\" text,\n \"english title\" text,\n \"role\" text,\n \"network\" text\n)\n\nQUESTION: what is the total role in the year 2008 ?\nSQL QUERY:", "completion": "SELECT COUNT(\"role\") FROM table_203_133 WHERE \"year\" = 2008"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n Id VARCHAR\n)\n\nQUESTION: Name the 2006 when the 2010 is 27\nSQL QUERY:", "completion": "SELECT 2006 FROM table_name_26 WHERE 2010 LIKE \"%27%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46881 (\n \"Year\" real,\n \"Title\" text,\n \"Role\" text,\n \"Network\" text,\n \"Notes\" text\n)\n\nQUESTION: What is the highest Year, when Notes is 'Celebrity Guest Alongside YG Family'?\nSQL QUERY:", "completion": "SELECT MAX(\"Year\") FROM table_46881 WHERE \"Notes\" LIKE '%celebrity guest alongside yg family%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47854 (\n \"Goal\" real,\n \"Date\" text,\n \"Venue\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: WHAT IS THE SCORE WHEN THE COMPETITION WAS 1978 world cup qualification?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_47854 WHERE \"Competition\" LIKE '%1978 world cup qualification%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27451 (\n \"June 10-11\" text,\n \"March 27-29\" text,\n \"January 15-16\" text,\n \"November 3\" text,\n \"August 21-22\" text\n)\n\nQUESTION: What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?\nSQL QUERY:", "completion": "SELECT \"January 15-16\" FROM table_27451 WHERE \"June 10-11\" LIKE '%june 10, 1964%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n competition VARCHAR,\n assist_pass VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the competition for stephanie cox on 2011-07-02\nSQL QUERY:", "completion": "SELECT competition FROM table_name_64 WHERE assist_pass LIKE \"%stephanie cox%\" AND date LIKE \"%2011-07-02%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n upstream VARCHAR,\n price VARCHAR\n)\n\nQUESTION: What is Upstream, when Price is '14 EUR'?\nSQL QUERY:", "completion": "SELECT upstream FROM table_name_25 WHERE price LIKE \"%14 eur%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39181 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Series\" text\n)\n\nQUESTION: Which Series has a Date of may 2?\nSQL QUERY:", "completion": "SELECT \"Series\" FROM table_39181 WHERE \"Date\" LIKE '%may 2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57077 (\n \"Player\" text,\n \"Nationality\" text,\n \"Position\" text,\n \"Years for Jazz\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: Which player was active in Jazz in 1975-79?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_57077 WHERE \"Years for Jazz\" LIKE '%1975-79%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27409644_1 (\n location VARCHAR,\n club VARCHAR\n)\n\nQUESTION: Where is lootos p lva from?\nSQL QUERY:", "completion": "SELECT location FROM table_27409644_1 WHERE club LIKE '%lootos põlva%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341843_19 (\n first_elected VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What's the year of the first election of the district whose incumbent is Edwin E. Willis?\nSQL QUERY:", "completion": "SELECT first_elected FROM table_1341843_19 WHERE incumbent LIKE \"%edwin e. willis%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1644857_2 (\n Ends INTEGER,\n pf VARCHAR\n)\n\nQUESTION: How many ends were lost by the country whose points for (PF) was 87?\nSQL QUERY:", "completion": "SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf LIKE '%87%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n date VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: When was naomi cavaday the opponent?\nSQL QUERY:", "completion": "SELECT date FROM table_name_19 WHERE opponent LIKE \"%naomi cavaday%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21636599_1 (\n insurgents VARCHAR,\n period VARCHAR\n)\n\nQUESTION: How many insurgents have 2003 as a period?\nSQL QUERY:", "completion": "SELECT COUNT(insurgents) FROM table_21636599_1 WHERE period LIKE \"%2003%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11908801_1 (\n nickname VARCHAR,\n meaning VARCHAR\n)\n\nQUESTION: What is the nickname that means god holds my life?\nSQL QUERY:", "completion": "SELECT nickname FROM table_11908801_1 WHERE meaning LIKE '%god holds my life%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11149 (\n \"State\" text,\n \"Interview\" real,\n \"Swimsuit\" real,\n \"Evening Gown\" real,\n \"Average\" real\n)\n\nQUESTION: Which biggest interview score had an evening gown stat of 9.286?\nSQL QUERY:", "completion": "SELECT MAX(\"Interview\") FROM table_11149 WHERE \"Evening Gown\" = 9.286"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE user_profiles (\n name VARCHAR,\n followers VARCHAR\n)\n\nQUESTION: List the name and number of followers for each user, and sort the results by the number of followers in descending order.\nSQL QUERY:", "completion": "SELECT name, followers FROM user_profiles ORDER BY followers DESC"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n venue VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Name the venue for 27th position\nSQL QUERY:", "completion": "SELECT venue FROM table_name_1 WHERE position LIKE \"%27th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_80163 (\n \"Player\" text,\n \"Tries\" real,\n \"Goals\" real,\n \"Field Goals\" real,\n \"Points\" real\n)\n\nQUESTION: How many points did the player with 2 tries and more than 0 field goals have?\nSQL QUERY:", "completion": "SELECT SUM(\"Points\") FROM table_80163 WHERE \"Tries\" = 2 AND \"Field Goals\" > 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n score VARCHAR,\n home VARCHAR\n)\n\nQUESTION: What was the score when Montreal was home?\nSQL QUERY:", "completion": "SELECT score FROM table_name_94 WHERE home LIKE \"%montreal%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_59146 (\n \"Event\" text,\n \"Time\" text,\n \"Swimmer\" text,\n \"School\" text,\n \"Year\" real\n)\n\nQUESTION: What is Year, when Time is '1:47.55'?\nSQL QUERY:", "completion": "SELECT \"Year\" FROM table_59146 WHERE \"Time\" LIKE '%1:47.55%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15784 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text\n)\n\nQUESTION: Who was the opponent at the game that had a loss of Harden (9-6)?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_15784 WHERE \"Loss\" LIKE '%harden (9-6)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n american_labor_ticket VARCHAR,\n republican_ticket VARCHAR\n)\n\nQUESTION: Which American Labor candidate ran against Republican Thomas E. Dewey?\nSQL QUERY:", "completion": "SELECT american_labor_ticket FROM table_name_91 WHERE republican_ticket LIKE \"%thomas e. dewey%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n reference VARCHAR,\n romaji_title VARCHAR\n)\n\nQUESTION: What is the reference for the romani title da.i.su.ki?\nSQL QUERY:", "completion": "SELECT reference FROM table_name_4 WHERE romaji_title LIKE \"%da.i.su.ki%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n lane VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is Rhiannon Leier's lane?\nSQL QUERY:", "completion": "SELECT lane FROM table_name_22 WHERE name LIKE \"%rhiannon leier%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31611 (\n \"Rank\" text,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: Name the gold for silver of 39\nSQL QUERY:", "completion": "SELECT \"Gold\" FROM table_31611 WHERE \"Silver\" = 39"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_51264 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: When st kilda was playing at home what was the away teams score?\nSQL QUERY:", "completion": "SELECT \"Away team score\" FROM table_51264 WHERE \"Home team\" LIKE '%st kilda%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53207 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Record\" text\n)\n\nQUESTION: On what date was the record 59 59?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_53207 WHERE \"Record\" LIKE '%59–59%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n round INTEGER,\n pick VARCHAR\n)\n\nQUESTION: What is the highest round of pick 3?\nSQL QUERY:", "completion": "SELECT MAX(round) FROM table_name_42 WHERE pick LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n opponent VARCHAR,\n loss VARCHAR\n)\n\nQUESTION: Who was the opponent at the game that had a loss of Caldwell (10-11)?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_35 WHERE loss LIKE \"%caldwell (10-11)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22883210_8 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the final score of the game held on February 24?\nSQL QUERY:", "completion": "SELECT score FROM table_22883210_8 WHERE date LIKE \"%february 24%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13619053_4 (\n score VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What was the score against san antonio?\nSQL QUERY:", "completion": "SELECT score FROM table_13619053_4 WHERE team LIKE \"%san antonio%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48863 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What is Country, when Player is 'Billy Maxwell'?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_48863 WHERE \"Player\" LIKE '%billy maxwell%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n relationship VARCHAR,\n age_at_death VARCHAR\n)\n\nQUESTION: What is the relationship of the woman who died at 96?\nSQL QUERY:", "completion": "SELECT relationship FROM table_name_95 WHERE age_at_death LIKE \"%96%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_56747 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Which away team scored 23.11 (149)?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_56747 WHERE \"Away team score\" LIKE '%23.11 (149)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n displacement_cc VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What is the CC displacement for 1965?\nSQL QUERY:", "completion": "SELECT displacement_cc FROM table_name_94 WHERE year LIKE \"%1965%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2417308_3 (\n state__class_ VARCHAR,\n successor VARCHAR\n)\n\nQUESTION: What state had william bigler (d) as a successor)\nSQL QUERY:", "completion": "SELECT state__class_ FROM table_2417308_3 WHERE successor LIKE '%william bigler (d)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n opponent VARCHAR,\n record VARCHAR\n)\n\nQUESTION: Which opponent has 1-1 as the record?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_95 WHERE record LIKE \"%1-1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37497 (\n \"Date\" real,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score\" text\n)\n\nQUESTION: Which Date has a Score of 7 6(3), 4 6, 6 2?\nSQL QUERY:", "completion": "SELECT SUM(\"Date\") FROM table_37497 WHERE \"Score\" LIKE '%7–6(3), 4–6, 6–2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341423_32 (\n first_elected VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Name the first election for john mchugh\nSQL QUERY:", "completion": "SELECT COUNT(first_elected) FROM table_1341423_32 WHERE incumbent LIKE \"%john mchugh%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77723 (\n \"Pick\" text,\n \"Round\" real,\n \"Player\" text,\n \"Position\" text,\n \"School\" text\n)\n\nQUESTION: What round was the nose tackle drafted?\nSQL QUERY:", "completion": "SELECT SUM(\"Round\") FROM table_77723 WHERE \"Position\" LIKE '%nose tackle%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n week VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What week number had the New York Giants as opponent?\nSQL QUERY:", "completion": "SELECT COUNT(week) FROM table_name_21 WHERE opponent LIKE \"%new york giants%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62440 (\n \"Tournament\" text,\n \"2008\" text,\n \"2009\" text,\n \"2010\" text,\n \"2011\" text,\n \"2012\" text\n)\n\nQUESTION: What is 2009, when 2011 is 'Q2'?\nSQL QUERY:", "completion": "SELECT \"2009\" FROM table_62440 WHERE \"2011\" LIKE '%q2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44963 (\n \"Name\" text,\n \"Built\" text,\n \"Listed\" text,\n \"Location\" text,\n \"County\" text\n)\n\nQUESTION: What is the list date of the historic place that was built 1896, 1914?\nSQL QUERY:", "completion": "SELECT \"Listed\" FROM table_44963 WHERE \"Built\" LIKE '%1896, 1914%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n loss VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What was the loss of the game attended by 37,119?\nSQL QUERY:", "completion": "SELECT loss FROM table_name_24 WHERE attendance LIKE \"%37,119%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6137 (\n \"Surname\" text,\n \"First\" text,\n \"D.O.B.\" text,\n \"Uni#\" real,\n \"Bats\" text,\n \"Throws\" text,\n \"Position\" text\n)\n\nQUESTION: Which first's surname is Cook?\nSQL QUERY:", "completion": "SELECT \"First\" FROM table_6137 WHERE \"Surname\" LIKE '%cook%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28803803_1 (\n launched VARCHAR,\n original_channel VARCHAR\n)\n\nQUESTION: How many shows were launched on CBS (2002)?\nSQL QUERY:", "completion": "SELECT COUNT(launched) FROM table_28803803_1 WHERE original_channel LIKE '%cbs (2002)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n player VARCHAR,\n round VARCHAR\n)\n\nQUESTION: Who was the player in round 1?\nSQL QUERY:", "completion": "SELECT player FROM table_name_55 WHERE round LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n incumbent VARCHAR,\n republican VARCHAR\n)\n\nQUESTION: Which Incumbent has a Republican of dan mansell?\nSQL QUERY:", "completion": "SELECT incumbent FROM table_name_73 WHERE republican LIKE \"%dan mansell%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14836 (\n \"Rank\" real,\n \"Lane\" real,\n \"Name\" text,\n \"Nationality\" text,\n \"Time\" text\n)\n\nQUESTION: Who swam in a lane less than 6 and finished with a time of 2:11.02?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_14836 WHERE \"Lane\" < 6 AND \"Time\" LIKE '%2:11.02%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36471 (\n \"Game\" real,\n \"February\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Record\" text\n)\n\nQUESTION: Which February has a Game of 40?\nSQL QUERY:", "completion": "SELECT \"February\" FROM table_36471 WHERE \"Game\" = 40"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29471472_1 (\n series VARCHAR,\n races VARCHAR\n)\n\nQUESTION: What is the series for race 7\nSQL QUERY:", "completion": "SELECT series FROM table_29471472_1 WHERE races = 7"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n total INTEGER,\n season VARCHAR,\n second VARCHAR\n)\n\nQUESTION: What is the highest Total, when Season is '1996-97', and when Second is less than 33?\nSQL QUERY:", "completion": "SELECT MAX(total) FROM table_name_23 WHERE season LIKE \"%1996-97%\" AND second < 33"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48919 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What is the Tie Number when the home team was West Ham United?\nSQL QUERY:", "completion": "SELECT \"Tie no\" FROM table_48919 WHERE \"Home team\" LIKE '%west ham united%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n place VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Where was the score 67-71-70=208?\nSQL QUERY:", "completion": "SELECT place FROM table_name_26 WHERE score = '-135'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65839 (\n \"Name\" text,\n \"Pos.\" text,\n \"Height\" text,\n \"Weight\" text,\n \"2012 club\" text\n)\n\nQUESTION: What's the name of the person in the CF Pos?\nSQL QUERY:", "completion": "SELECT \"Name\" FROM table_65839 WHERE \"Pos.\" LIKE '%cf%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26336739_1 (\n elected VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: How many elected catagories are there for the district with Saxby Chambliss as the incumbent?\nSQL QUERY:", "completion": "SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent LIKE \"%saxby chambliss%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n time VARCHAR,\n event VARCHAR\n)\n\nQUESTION: Which Time has an Event of call to arms i?\nSQL QUERY:", "completion": "SELECT time FROM table_name_15 WHERE event LIKE \"%call to arms i%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25604014_4 (\n production_code VARCHAR,\n directed_by VARCHAR\n)\n\nQUESTION: What is the production code for the episode directed by Sam weisman?\nSQL QUERY:", "completion": "SELECT production_code FROM table_25604014_4 WHERE directed_by LIKE '%sam weisman%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12893 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location/Attendance\" text,\n \"Record\" text,\n \"Streak\" text\n)\n\nQUESTION: Which Streak has a Score of 98 109?\nSQL QUERY:", "completion": "SELECT \"Streak\" FROM table_12893 WHERE \"Score\" LIKE '%98–109%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17288825_10 (\n high_assists VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the high assists on April 7?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_17288825_10 WHERE date LIKE '%april 7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341423_23 (\n party VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What party does jim ramstad represent?\nSQL QUERY:", "completion": "SELECT party FROM table_1341423_23 WHERE incumbent LIKE \"%jim ramstad%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_211714_2 (\n rank VARCHAR,\n season VARCHAR\n)\n\nQUESTION: Name the number of rank for season 6\nSQL QUERY:", "completion": "SELECT COUNT(rank) FROM table_211714_2 WHERE season LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n season VARCHAR,\n league VARCHAR\n)\n\nQUESTION: Which Season has a League of bezirksliga?\nSQL QUERY:", "completion": "SELECT season FROM table_name_77 WHERE league LIKE \"%bezirksliga%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16795394_3 (\n points VARCHAR,\n team__number2 VARCHAR\n)\n\nQUESTION: For team Atl tico Nacional, what were the points?\nSQL QUERY:", "completion": "SELECT points FROM table_16795394_3 WHERE team__number2 LIKE \"%atlético nacional%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39163 (\n \"Rank\" real,\n \"Rider\" text,\n \"Team\" text,\n \"Speed\" text,\n \"Time\" text\n)\n\nQUESTION: What was the Rider of the LCR Honda 600CC Team with a Time of 59 22.80?\nSQL QUERY:", "completion": "SELECT \"Rider\" FROM table_39163 WHERE \"Team\" LIKE '%lcr honda 600cc%' AND \"Time\" LIKE '%59’ 22.80%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n tournament VARCHAR\n)\n\nQUESTION: With a 1992 result of A, and at the U.S. Open Tournament, what is the 1989 result?\nSQL QUERY:", "completion": "SELECT 1989 FROM table_name_88 WHERE 1992 = \"a\" AND tournament LIKE '%u.s. open%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28342423_1 (\n parent_unit VARCHAR,\n commanding_officer VARCHAR\n)\n\nQUESTION: Name the parent unit for josef priller\nSQL QUERY:", "completion": "SELECT parent_unit FROM table_28342423_1 WHERE commanding_officer LIKE \"%josef priller%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n venue VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is the venue when Geelong is the away team?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_27 WHERE away_team LIKE \"%geelong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41360 (\n \"Region\" text,\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: What is the date of the label Dos or Die Recordings?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_41360 WHERE \"Label\" LIKE '%dos or die recordings%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n home VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: What is the home team of the game with the Raptors as the visitor team?\nSQL QUERY:", "completion": "SELECT home FROM table_name_66 WHERE visitor LIKE \"%raptors%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27232 (\n \"Season\" text,\n \"Date\" text,\n \"Home team\" text,\n \"Result\" text,\n \"Away team\" text,\n \"Stadium\" text\n)\n\nQUESTION: What is the date for the game at the tallaght stadium and result was 0 1?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_27232 WHERE \"Stadium\" LIKE '%tallaght stadium%' AND \"Result\" LIKE '%0–1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43169 (\n \"Name\" text,\n \"Position\" text,\n \"Number\" text,\n \"School/Club Team\" text,\n \"Season\" text,\n \"Acquisition via\" text\n)\n\nQUESTION: What is the Acquisition via for Dennis Miranda?\nSQL QUERY:", "completion": "SELECT \"Acquisition via\" FROM table_43169 WHERE \"Name\" LIKE '%dennis miranda%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341423_32 (\n results VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Name the results for district new york 24\nSQL QUERY:", "completion": "SELECT results FROM table_1341423_32 WHERE district LIKE \"%new york 24%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25284864_3 (\n november_3 VARCHAR,\n june_10_11 VARCHAR\n)\n\nQUESTION: What is the November 3 result when June 10-11 is 147?\nSQL QUERY:", "completion": "SELECT november_3 FROM table_25284864_3 WHERE june_10_11 LIKE \"%147%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n player VARCHAR,\n finish VARCHAR\n)\n\nQUESTION: Which player finished t35?\nSQL QUERY:", "completion": "SELECT player FROM table_name_89 WHERE finish LIKE \"%t35%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n opponents VARCHAR,\n partner VARCHAR\n)\n\nQUESTION: Who were the Opponents in the Match with Partner Rushmi Chakravarthi?\nSQL QUERY:", "completion": "SELECT opponents FROM table_name_80 WHERE partner LIKE \"%rushmi chakravarthi%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48040 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"TV Time\" text,\n \"Attendance\" text\n)\n\nQUESTION: Which week had an attendance of 55,158?\nSQL QUERY:", "completion": "SELECT SUM(\"Week\") FROM table_48040 WHERE \"Attendance\" LIKE '%55,158%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n tournament VARCHAR\n)\n\nQUESTION: For the Australian Open, in 2007 the result was A, but what was the result in 2012?\nSQL QUERY:", "completion": "SELECT 2012 FROM table_name_4 WHERE 2007 = \"a\" AND tournament LIKE '%australian open%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37494 (\n \"Date\" real,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent in the final\" text,\n \"Score\" text\n)\n\nQUESTION: Which Tournament has a Score of 6 4, 6 2?\nSQL QUERY:", "completion": "SELECT \"Tournament\" FROM table_37494 WHERE \"Score\" LIKE '%6–4, 6–2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n year VARCHAR,\n third VARCHAR\n)\n\nQUESTION: In which year did Kati Klinzing finish 3rd?\nSQL QUERY:", "completion": "SELECT year FROM table_name_24 WHERE third LIKE \"%kati klinzing%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n titles INTEGER,\n city VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What is the number of titles for the city of gy r with a rank larger than 4?\nSQL QUERY:", "completion": "SELECT SUM(titles) FROM table_name_47 WHERE city LIKE \"%győr%\" AND rank > 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_27 (\n id number,\n \"number\" number,\n \"serial no\" number,\n \"entered service\" text,\n \"withdrawn\" text,\n \"kilometres travelled\" number\n)\n\nQUESTION: which locomotive entered service first : 4107 or 4103 ?\nSQL QUERY:", "completion": "SELECT \"number\" FROM table_203_27 WHERE \"number\" IN (4107, 4103) ORDER BY \"entered service\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_157 (\n id number,\n \"year\" number,\n \"film\" text,\n \"role\" text,\n \"language\" text,\n \"notes\" text\n)\n\nQUESTION: what film game before ter meri kahaani ?\nSQL QUERY:", "completion": "SELECT \"film\" FROM table_203_157 WHERE id = (SELECT id FROM table_203_157 WHERE \"film\" LIKE '%teri meri kahaani%') - 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1601935_1 (\n archive VARCHAR,\n viewers__in_millions_ VARCHAR\n)\n\nQUESTION: What was the archive for episode with 6.6 million viewers?\nSQL QUERY:", "completion": "SELECT archive FROM table_1601935_1 WHERE viewers__in_millions_ LIKE \"%6.6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58570 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What was the attendance of the North Melbourne's home game?\nSQL QUERY:", "completion": "SELECT COUNT(\"Crowd\") FROM table_58570 WHERE \"Home team\" LIKE '%north melbourne%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23117208_3 (\n viewers__millions_ VARCHAR,\n prod_code VARCHAR\n)\n\nQUESTION: how many millions of spectator did has the episode whose prod.code was rp#213?\nSQL QUERY:", "completion": "SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code LIKE '%rp#213%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13710464_1 (\n losing_pitcher VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: Who was the losing pitcher when 40583 attended?\nSQL QUERY:", "completion": "SELECT losing_pitcher FROM table_13710464_1 WHERE attendance = '40583'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9026 (\n \"Name\" text,\n \"GP-GS\" text,\n \"Effic\" real,\n \"Att-Cmp-Int\" text,\n \"Avg/G\" real\n)\n\nQUESTION: What was the aveg/g for the qb with the Att-Cmp-Int of 117 215 6?\nSQL QUERY:", "completion": "SELECT COUNT(\"Avg/G\") FROM table_9026 WHERE \"Att-Cmp-Int\" LIKE '%117–215–6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2583036_1 (\n camera VARCHAR,\n wavelength VARCHAR\n)\n\nQUESTION: what is the camera used when the wavelength is 814nm (i-band)?\nSQL QUERY:", "completion": "SELECT camera FROM table_2583036_1 WHERE wavelength LIKE \"%814nm (i-band)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_93 (\n home_team VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: Who is the home team with tie number 9?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_93 WHERE tie_no LIKE \"%9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n segment_d VARCHAR,\n episode VARCHAR\n)\n\nQUESTION: What was the D segment for episode 60?\nSQL QUERY:", "completion": "SELECT segment_d FROM table_name_51 WHERE episode LIKE '%60%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n country VARCHAR,\n event VARCHAR\n)\n\nQUESTION: What is the Country of the 10,000m Event?\nSQL QUERY:", "completion": "SELECT country FROM table_name_39 WHERE event LIKE \"%10,000m%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23157997_13 (\n stage VARCHAR,\n general_classification VARCHAR\n)\n\nQUESTION: What stage number had the general classification Rory Sutherland?\nSQL QUERY:", "completion": "SELECT COUNT(stage) FROM table_23157997_13 WHERE general_classification LIKE \"%rory sutherland%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1984697_53 (\n city___town VARCHAR,\n principal VARCHAR\n)\n\nQUESTION: Where's the school that Mark Fletcher is the principal of?\nSQL QUERY:", "completion": "SELECT city___town FROM table_1984697_53 WHERE principal LIKE \"%mark fletcher%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n tries VARCHAR,\n pens VARCHAR,\n conv VARCHAR,\n start VARCHAR\n)\n\nQUESTION: What is the total of tries for a player with conv smaller than 45, 19 starts and pens fewer than 22?\nSQL QUERY:", "completion": "SELECT COUNT(tries) FROM table_name_83 WHERE conv < '45' AND start LIKE '%19%' AND pens < '22'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2668264_8 (\n party VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: What party did robert p. letcher represent?\nSQL QUERY:", "completion": "SELECT party FROM table_2668264_8 WHERE incumbent LIKE \"%robert p. letcher%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2342078_4 (\n episode__number INTEGER,\n written_by VARCHAR\n)\n\nQUESTION: What is the highest episode number written by Harry Winkler?\nSQL QUERY:", "completion": "SELECT MAX(episode__number) FROM table_2342078_4 WHERE written_by LIKE \"%harry winkler%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11960610_10 (\n high_points VARCHAR,\n high_rebounds VARCHAR\n)\n\nQUESTION: Who had high points when high rebound is gray (8)?\nSQL QUERY:", "completion": "SELECT high_points FROM table_11960610_10 WHERE high_rebounds LIKE \"%gray (8)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n enrollment INTEGER,\n ihsaa_class VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What is the average enrollment of the IHSAA A class in wolcott?\nSQL QUERY:", "completion": "SELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class LIKE \"%a%\" AND location LIKE \"%wolcott%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14747043_1 (\n class_aA VARCHAR,\n class_a VARCHAR\n)\n\nQUESTION: Which is the class AA when graford was the class A\nSQL QUERY:", "completion": "SELECT class_aA FROM table_14747043_1 WHERE class_a LIKE \"%graford%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n round INTEGER,\n pick__number INTEGER\n)\n\nQUESTION: What is the highest round that had a pick lower than 8?\nSQL QUERY:", "completion": "SELECT MAX(round) FROM table_name_58 WHERE pick__number < 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27713583_8 (\n game VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What game number was on January 14?\nSQL QUERY:", "completion": "SELECT game FROM table_27713583_8 WHERE date LIKE \"%january 14%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE elimination (\n Team VARCHAR\n)\n\nQUESTION: Show different teams in eliminations and the number of eliminations from each team.\nSQL QUERY:", "completion": "SELECT Team, COUNT(*) FROM elimination GROUP BY Team"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n tournament VARCHAR,\n margin_of_victory VARCHAR\n)\n\nQUESTION: Which tournament had a playoff with a margin of victory?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_49 WHERE margin_of_victory LIKE \"%playoff%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12562214_1 (\n date__from_ VARCHAR,\n notes VARCHAR\n)\n\nQUESTION: what is the date (from) where the notes are apeldoornsche tramweg-maatschappij?\nSQL QUERY:", "completion": "SELECT date__from_ FROM table_12562214_1 WHERE notes LIKE '%apeldoornsche tramweg-maatschappij%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n home_team VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is the Home team at the Lincoln City Away game?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_80 WHERE away_team LIKE \"%lincoln city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57199 (\n \"Date\" text,\n \"Course\" text,\n \"Distance\" text,\n \"Type\" text,\n \"Winner\" text\n)\n\nQUESTION: What is the name of the winner with a type of plain stage and a Course of nola to sora?\nSQL QUERY:", "completion": "SELECT \"Winner\" FROM table_57199 WHERE \"Type\" LIKE '%plain stage%' AND \"Course\" LIKE '%nola to sora%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21063459_1 (\n opponent VARCHAR,\n record VARCHAR\n)\n\nQUESTION: Who did the team play against when a record of 3-1, #16 was achieved?\nSQL QUERY:", "completion": "SELECT opponent FROM table_21063459_1 WHERE record LIKE \"%3-1, #16%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6191 (\n \"Date\" text,\n \"Opponent\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Attendance\" text\n)\n\nQUESTION: Which Venue has Attendances of 11,045?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_6191 WHERE \"Attendance\" LIKE '%11,045%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52691 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: What was the score of the home team when there were more than 5,500 people in the crowd?\nSQL QUERY:", "completion": "SELECT \"Home team score\" FROM table_52691 WHERE \"Crowd\" > 5500"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n venue VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: In what venue does Footscray play?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_16 WHERE home_team LIKE \"%footscray%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23614702_2 (\n horse__power VARCHAR,\n warship VARCHAR\n)\n\nQUESTION: How man horse power did the ship covadonga have?\nSQL QUERY:", "completion": "SELECT horse__power FROM table_23614702_2 WHERE warship LIKE \"%covadonga%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_33 (\n grid INTEGER,\n time VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: What is the lowest grid with time of +0.499,when laps are larger than 21?\nSQL QUERY:", "completion": "SELECT MIN(grid) FROM table_name_33 WHERE time LIKE '+0.499%' AND laps > 21"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n island VARCHAR,\n country VARCHAR\n)\n\nQUESTION: Which island is in the United Kingdom?\nSQL QUERY:", "completion": "SELECT island FROM table_name_43 WHERE country LIKE \"%united kingdom%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24853015_1 (\n date VARCHAR,\n class_b_winner VARCHAR,\n round VARCHAR\n)\n\nQUESTION: When did Alan Hutcheson won Class B on round 1?\nSQL QUERY:", "completion": "SELECT date FROM table_24853015_1 WHERE class_b_winner LIKE '%alan hutcheson%' AND round = '1'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16724844_1 (\n mens_open VARCHAR,\n womens_40 VARCHAR\n)\n\nQUESTION: What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?\nSQL QUERY:", "completion": "SELECT mens_open FROM table_16724844_1 WHERE womens_40 LIKE '%sydney scorpions defeated hunter hornets%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46752 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" real,\n \"To par\" text\n)\n\nQUESTION: What is Scott Hoch with a Score of 66 Country?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_46752 WHERE \"Score\" = 66 AND \"Player\" LIKE '%scott hoch%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75727 (\n \"Name\" text,\n \"Position\" text,\n \"Number\" real,\n \"School/Club Team\" text,\n \"Season\" text,\n \"Acquisition via\" text\n)\n\nQUESTION: What season had Marcio Lassiter?\nSQL QUERY:", "completion": "SELECT \"Season\" FROM table_75727 WHERE \"Name\" LIKE '%marcio lassiter%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_47 (\n oppose VARCHAR,\n unsure VARCHAR,\n poll_source VARCHAR\n)\n\nQUESTION: What percentage of people were opposed to the candidate based on the WNBC/Marist poll that showed 8% of people were unsure?\nSQL QUERY:", "completion": "SELECT oppose FROM table_name_47 WHERE unsure LIKE \"%8%%\" AND poll_source LIKE \"%wnbc/marist poll%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n model VARCHAR,\n total_production VARCHAR\n)\n\nQUESTION: Tell me the model for total production of 1347\nSQL QUERY:", "completion": "SELECT model FROM table_name_30 WHERE total_production = '1347'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17001658_7 (\n high_rebounds VARCHAR,\n game VARCHAR\n)\n\nQUESTION: Who got the game high rebounds in game 46?\nSQL QUERY:", "completion": "SELECT high_rebounds FROM table_17001658_7 WHERE game LIKE '%46%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63250 (\n \"Date\" text,\n \"Opponent\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: Which venue ended in a 3-0 result?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_63250 WHERE \"Result\" LIKE '%3-0%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27781212_1 (\n winnings VARCHAR,\n driver VARCHAR\n)\n\nQUESTION: how many winnings does jeff gordon have?\nSQL QUERY:", "completion": "SELECT winnings FROM table_27781212_1 WHERE driver LIKE \"%jeff gordon%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n shortstop VARCHAR,\n second_baseman VARCHAR,\n catcher VARCHAR,\n third_baseman VARCHAR\n)\n\nQUESTION: What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver?\nSQL QUERY:", "completion": "SELECT shortstop FROM table_name_40 WHERE catcher LIKE \"%johnny roseboro%\" AND third_baseman LIKE \"%jim lefebvre%\" AND second_baseman LIKE \"%nate oliver%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n country VARCHAR,\n gdp__nominal_ VARCHAR\n)\n\nQUESTION: Which country has a GDP (nominal) of $29.9 billion?\nSQL QUERY:", "completion": "SELECT country FROM table_name_30 WHERE LOWER(gdp__nominal_) LIKE \"%$29.9 billion%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n points INTEGER,\n difference VARCHAR,\n position VARCHAR\n)\n\nQUESTION: What are the highest points that have a difference of 8, with a position less than 4?\nSQL QUERY:", "completion": "SELECT MAX(points) FROM table_name_36 WHERE difference LIKE \"%8%\" AND position < \"4\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_986 (\n id number,\n \"#\" number,\n \"event year\" number,\n \"season\" text,\n \"flag bearer\" text\n)\n\nQUESTION: how many athletes have been flag bearers for samoa at the olympic games ?\nSQL QUERY:", "completion": "SELECT COUNT(DISTINCT \"flag bearer\") FROM table_204_986"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11883 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Site/Stadium\" text,\n \"Loss\" text,\n \"Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: On what date was Kentucky the opponent, and Ragle lost?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_11883 WHERE \"Opponent\" LIKE '%kentucky%' AND \"Loss\" LIKE '%ragle%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_67 (\n id number,\n \"place\" number,\n \"team\" text,\n \"played\" number,\n \"won\" number,\n \"draw\" number,\n \"lost\" number,\n \"goals\\nscored\" number,\n \"goals\\nconceded\" number,\n \"+/-\" number,\n \"points\" number\n)\n\nQUESTION: which team conceded the least goals ?\nSQL QUERY:", "completion": "SELECT \"team\" FROM table_203_67 ORDER BY \"goals\\nconceded\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36002 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Attendance\" text\n)\n\nQUESTION: Which Score has an Attendance of 23 january 1999, and a Tie # of 6?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_36002 WHERE \"Attendance\" LIKE '%23 january 1999%' AND \"Tie no\" LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75874 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Leading scorer\" text,\n \"Record\" text\n)\n\nQUESTION: What day was the game that had the Cavaliers as visiting team and the Knicks as the home team?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_75874 WHERE \"Visitor\" LIKE '%cavaliers%' AND \"Home\" LIKE '%knicks%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28606933_7 (\n teams VARCHAR,\n consecutive_starts VARCHAR\n)\n\nQUESTION: What team(s) had 120 consecutive starts?\nSQL QUERY:", "completion": "SELECT teams FROM table_28606933_7 WHERE consecutive_starts = '120'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n away_team VARCHAR\n)\n\nQUESTION: When Hawthorn is the away team, what is their score?\nSQL QUERY:", "completion": "SELECT away_team AS score FROM table_name_84 WHERE away_team LIKE \"%hawthorn%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_94 (\n tournament VARCHAR\n)\n\nQUESTION: What is 2001, when 1989 is 'A', and when Tournament is 'U.S. Open'?\nSQL QUERY:", "completion": "SELECT 2001 FROM table_name_94 WHERE 1989 = \"a\" AND tournament LIKE '%u.s. open%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n year VARCHAR,\n result VARCHAR\n)\n\nQUESTION: What year did anna thompson have a 7th place result?\nSQL QUERY:", "completion": "SELECT year FROM table_name_85 WHERE result LIKE \"%7th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26592 (\n \"#\" real,\n \"Player\" text,\n \"Country\" text,\n \"Points\" real,\n \"Reset points\" real,\n \"Events\" real\n)\n\nQUESTION: Name the most number for steve stricker\nSQL QUERY:", "completion": "SELECT MAX(\"#\") FROM table_26592 WHERE \"Player\" LIKE '%steve stricker%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77074 (\n \"Season\" real,\n \"Team 1\" text,\n \"Score\" text,\n \"Team 2\" text,\n \"Venue\" text\n)\n\nQUESTION: Which venue was used for the game whose score was 2:3?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_77074 WHERE \"Score\" LIKE '%2:3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_6254 (\n \"Year\" real,\n \"Class\" text,\n \"Team\" text,\n \"Chassis\" text,\n \"Tyre\" text,\n \"Laps\" real\n)\n\nQUESTION: What is the total number of Laps that's got a Year less than 1987?\nSQL QUERY:", "completion": "SELECT SUM(\"Laps\") FROM table_6254 WHERE \"Year\" < 1987"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15938543_1 (\n title VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: Whats the title of the episode with production code 109\nSQL QUERY:", "completion": "SELECT title FROM table_15938543_1 WHERE production_code LIKE '%109%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE city (\n city VARCHAR,\n regional_population INTEGER\n)\n\nQUESTION: Please give me a list of cities whose regional population is over 10000000.\nSQL QUERY:", "completion": "SELECT city FROM city WHERE regional_population > 10000000"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n tournament VARCHAR\n)\n\nQUESTION: Which 2011's tournament was Indian Wells?\nSQL QUERY:", "completion": "SELECT 2011 FROM table_name_24 WHERE tournament LIKE '%indian wells%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24919137_2 (\n ladder_position VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What was the ladder position when the score was 15.9 (99) 14.6 (90)?\nSQL QUERY:", "completion": "SELECT ladder_position FROM table_24919137_2 WHERE score LIKE \"%15.9 (99)–14.6 (90)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2886617_8 (\n college_junior_club_team VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What college team did Milan Kostolny play for?\nSQL QUERY:", "completion": "SELECT college_junior_club_team FROM table_2886617_8 WHERE player LIKE \"%milan kostolny%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n overall INTEGER,\n college VARCHAR\n)\n\nQUESTION: What is stanford's average overall?\nSQL QUERY:", "completion": "SELECT AVG(overall) FROM table_name_66 WHERE college LIKE \"%stanford%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_206217_2 (\n period__h_ VARCHAR,\n eccentricity VARCHAR\n)\n\nQUESTION: What is every value of period when eccentricity is 0.583085?\nSQL QUERY:", "completion": "SELECT period__h_ FROM table_206217_2 WHERE eccentricity LIKE \"%0.583085%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_80388 (\n \"Team\" text,\n \"Manager\" text,\n \"Captain\" text,\n \"Kit manufacturer\" text,\n \"Shirt sponsor\" text\n)\n\nQUESTION: What is the kit manufacturer that has billy bonds as the manager?\nSQL QUERY:", "completion": "SELECT \"Kit manufacturer\" FROM table_80388 WHERE \"Manager\" LIKE '%billy bonds%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48949 (\n \"Heat\" real,\n \"Lane\" real,\n \"Name\" text,\n \"Country\" text,\n \"Mark\" text\n)\n\nQUESTION: What is the Country that has Richard Buck Lane higher than 3?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_48949 WHERE \"Lane\" > 3 AND \"Name\" LIKE '%richard buck%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n date VARCHAR,\n label VARCHAR,\n catalog VARCHAR\n)\n\nQUESTION: What is the Date of the RCA release with Catalog number SF-7635?\nSQL QUERY:", "completion": "SELECT date FROM table_name_57 WHERE label LIKE \"%rca%\" AND catalog LIKE \"%sf-7635%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_69 (\n score VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What is the score of the game that holds a record of 80-61?\nSQL QUERY:", "completion": "SELECT score FROM table_name_69 WHERE record LIKE \"%80-61%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16384648_2 (\n location VARCHAR,\n team_website VARCHAR\n)\n\nQUESTION: Which city has the cincinnati hockey website?\nSQL QUERY:", "completion": "SELECT location FROM table_16384648_2 WHERE team_website LIKE '%cincinnati hockey%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n record VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the record of the game on February 25, 2008?\nSQL QUERY:", "completion": "SELECT record FROM table_name_59 WHERE date LIKE \"%february 25, 2008%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342338_5 (\n candidates VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Who ran in the election where Claude Fuller was the incumbent?\nSQL QUERY:", "completion": "SELECT candidates FROM table_1342338_5 WHERE incumbent LIKE \"%claude fuller%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_119 (\n id number,\n \"jamo\" text,\n \"hangul compatibility\" text,\n \"hangul jamo area\" text,\n \"hanyang private use\" text,\n \"halfwidth\" text\n)\n\nQUESTION: what is the number of halfwidth are there ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_203_119 WHERE NOT \"halfwidth\" IS NULL"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n population INTEGER,\n median_household_income VARCHAR\n)\n\nQUESTION: How many people have a Median household income of $37,759?\nSQL QUERY:", "completion": "SELECT SUM(population) FROM table_name_66 WHERE median_household_income LIKE \"%$37,759%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20626467_1 (\n jockey VARCHAR,\n distance VARCHAR,\n class VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Who was the jockey in group 1 at the 1400m distance at randwick?\nSQL QUERY:", "completion": "SELECT jockey FROM table_20626467_1 WHERE class LIKE \"%group 1%\" AND venue LIKE \"%randwick%\" AND distance LIKE \"%1400m%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n grid INTEGER,\n rider VARCHAR\n)\n\nQUESTION: Which Grid has a Rider of loic napoleone?\nSQL QUERY:", "completion": "SELECT AVG(grid) FROM table_name_14 WHERE rider LIKE \"%loic napoleone%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65413 (\n \"Region\" text,\n \"Date\" text,\n \"Format\" text,\n \"Label\" text,\n \"Edition\" text\n)\n\nQUESTION: When did Hollywood Records release a digital download?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_65413 WHERE \"Label\" LIKE '%hollywood records%' AND \"Format\" LIKE '%digital download%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39187 (\n \"Goal\" real,\n \"Date\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: What was result of goal 4?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_39187 WHERE \"Goal\" = 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n total INTEGER,\n player VARCHAR\n)\n\nQUESTION: count the the average Total of ian baker-finch?\nSQL QUERY:", "completion": "SELECT AVG(total) FROM table_name_39 WHERE player LIKE \"%ian baker-finch%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23018775_3 (\n avg_speed VARCHAR,\n lap_four VARCHAR\n)\n\nQUESTION: What was the average speed where lap four's time was 22.9049?\nSQL QUERY:", "completion": "SELECT avg_speed FROM table_23018775_3 WHERE lap_four LIKE \"%22.9049%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74478 (\n \"Rank\" real,\n \"School\" text,\n \"Appearances\" real,\n \"Wins\" real,\n \"Losses\" real\n)\n\nQUESTION: Tell me the sum of losses for wins less than 2 and rank of 10 with appearances larger than 3\nSQL QUERY:", "completion": "SELECT SUM(\"Losses\") FROM table_74478 WHERE \"Wins\" < 2 AND \"Rank\" = 10 AND \"Appearances\" > 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341522_24 (\n incumbent VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Who is the incumbent in district Massachusetts7?\nSQL QUERY:", "completion": "SELECT incumbent FROM table_1341522_24 WHERE district LIKE \"%massachusetts7%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70558 (\n \"Catalog #\" text,\n \"Title\" text,\n \"Year\" text,\n \"Composer\" text,\n \"Released\" real\n)\n\nQUESTION: What CD was released in 2009?\nSQL QUERY:", "completion": "SELECT \"Title\" FROM table_70558 WHERE \"Released\" LIKE '%2009%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE artwork (\n TYPE VARCHAR\n)\n\nQUESTION: List the most common type of artworks.\nSQL QUERY:", "completion": "SELECT TYPE FROM artwork GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE WINE (\n Appelation VARCHAR,\n Price INTEGER,\n Score INTEGER\n)\n\nQUESTION: What are the average price and score of wines grouped by appelation?\nSQL QUERY:", "completion": "SELECT AVG(Price), AVG(Score), Appelation FROM WINE GROUP BY Appelation"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n wins INTEGER,\n year VARCHAR,\n team VARCHAR,\n points VARCHAR\n)\n\nQUESTION: How many wins for team mv agusta, over 10 points, and after 1957?\nSQL QUERY:", "completion": "SELECT SUM(wins) FROM table_name_59 WHERE team LIKE \"%mv agusta%\" AND points > 10 AND year > '1957'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n rank INTEGER,\n goals VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the lowest Rank when the goals are less than 124 for Jeff Cunningham?\nSQL QUERY:", "completion": "SELECT MIN(rank) FROM table_name_50 WHERE goals > 124 AND name LIKE \"%jeff cunningham%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24538587_13 (\n l3_cache VARCHAR,\n brand_name__list_ VARCHAR\n)\n\nQUESTION: Name the l3 cache for core i7-2xxxqe, i7-26xxqm, i7-27xxqm\nSQL QUERY:", "completion": "SELECT l3_cache FROM table_24538587_13 WHERE brand_name__list_ LIKE \"%core i7-2xxxqe, i7-26xxqm, i7-27xxqm%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n Id VARCHAR\n)\n\nQUESTION: avg passengers in 2012 for 2009 more than 104.5 and 2010 less than 162.6 and 2011 less than 141.8 is what?\nSQL QUERY:", "completion": "SELECT AVG(2012) FROM table_name_22 WHERE 2009 > 104.5 AND 2010 < 162.6 AND 2011 < 141.8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n high_assists VARCHAR,\n game INTEGER\n)\n\nQUESTION: What was the high amount of assists before game 60?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_name_1 WHERE game < 60"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n date VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: what is the date when the tie no is 9?\nSQL QUERY:", "completion": "SELECT date FROM table_name_46 WHERE tie_no LIKE \"%9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12175755_1 (\n order__number VARCHAR,\n original_artist VARCHAR\n)\n\nQUESTION: What is the order number for songs by the original artist Luis Fonsi?\nSQL QUERY:", "completion": "SELECT order__number FROM table_12175755_1 WHERE original_artist LIKE '%luis fonsi%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61073 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: What was the score on January 23?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_61073 WHERE \"Date\" LIKE '%january 23%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79177 (\n \"Rank\" real,\n \"Club\" text,\n \"Season\" text,\n \"Goals\" real,\n \"Apps\" real\n)\n\nQUESTION: What are the apps for less than 61 goals and before rank 6?\nSQL QUERY:", "completion": "SELECT SUM(\"Apps\") FROM table_79177 WHERE \"Rank\" < 6 AND \"Goals\" < 61"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16034882_4 (\n loses VARCHAR,\n goals_conceded VARCHAR\n)\n\nQUESTION: What are the total number of losses for the team who has conceded 22?\nSQL QUERY:", "completion": "SELECT COUNT(loses) FROM table_16034882_4 WHERE goals_conceded LIKE '%22%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77084 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: Name the Player who has a Country of united states, and a To par of 5?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_77084 WHERE \"Country\" LIKE '%united states%' AND \"To par\" LIKE '%–5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24126518_2 (\n record VARCHAR,\n week VARCHAR\n)\n\nQUESTION: Name the number of record for week 11\nSQL QUERY:", "completion": "SELECT COUNT(record) FROM table_24126518_2 WHERE week LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n draft VARCHAR,\n pick VARCHAR\n)\n\nQUESTION: In which year was the Pick #46?\nSQL QUERY:", "completion": "SELECT draft FROM table_name_9 WHERE pick LIKE \"%46%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n winning_score VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What was the winning score in the mazda senior tournament players championship?\nSQL QUERY:", "completion": "SELECT winning_score FROM table_name_5 WHERE tournament LIKE \"%mazda senior tournament players championship%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n away_captain VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: What is the Away captain with a Venue that is old trafford?\nSQL QUERY:", "completion": "SELECT away_captain FROM table_name_36 WHERE venue LIKE \"%old trafford%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n week INTEGER,\n attendance VARCHAR\n)\n\nQUESTION: What is the latest week with an attendance of 74,162?\nSQL QUERY:", "completion": "SELECT MAX(week) FROM table_name_72 WHERE attendance LIKE '%74,162%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n match INTEGER,\n opponent VARCHAR\n)\n\nQUESTION: Which match did FCR 2001 Duisburg participate as the opponent?\nSQL QUERY:", "completion": "SELECT SUM(match) FROM table_name_39 WHERE opponent LIKE \"%fcr 2001 duisburg%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n cuts_made INTEGER,\n top_25 INTEGER\n)\n\nQUESTION: Which Cuts made has a Top-25 smaller than 3?\nSQL QUERY:", "completion": "SELECT MAX(cuts_made) FROM table_name_26 WHERE top_25 < 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16522 (\n \"Team\" text,\n \"Stadium\" text,\n \"Capacity\" real,\n \"Highest\" real,\n \"Lowest\" real,\n \"Average\" real\n)\n\nQUESTION: What is the highest attendance at a game played by St. Johnstone?\nSQL QUERY:", "completion": "SELECT MAX(\"Highest\") FROM table_16522 WHERE \"Team\" LIKE '%st. johnstone%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n school_club_team VARCHAR,\n overall VARCHAR\n)\n\nQUESTION: What School or Club team has an overall score of 21?\nSQL QUERY:", "completion": "SELECT school_club_team FROM table_name_15 WHERE overall LIKE '%21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n date VARCHAR,\n record VARCHAR\n)\n\nQUESTION: When is Record of 16 16 taken?\nSQL QUERY:", "completion": "SELECT date FROM table_name_6 WHERE record LIKE '%16–16%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_52 (\n away_team VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: How faced Geelong at home?\nSQL QUERY:", "completion": "SELECT away_team AS score FROM table_name_52 WHERE home_team LIKE \"%geelong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE driver (\n home_city VARCHAR\n)\n\nQUESTION: Show the home city with the most number of drivers.\nSQL QUERY:", "completion": "SELECT home_city FROM driver GROUP BY home_city ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n version VARCHAR,\n standard_name VARCHAR\n)\n\nQUESTION: What's the version of Itu g.992.3 Annex J?\nSQL QUERY:", "completion": "SELECT version FROM table_name_97 WHERE standard_name LIKE \"%itu g.992.3 annex j%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4669 (\n \"Region\" text,\n \"Host\" text,\n \"Venue\" text,\n \"City\" text,\n \"State\" text\n)\n\nQUESTION: What region is William R. Johnson Coliseum in?\nSQL QUERY:", "completion": "SELECT \"Region\" FROM table_4669 WHERE \"Venue\" LIKE '%william r. johnson coliseum%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63341 (\n \"Title\" text,\n \"Series\" text,\n \"Director\" text,\n \"Production Number\" text,\n \"Release date\" text,\n \"reissue?\" text\n)\n\nQUESTION: Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the?\nSQL QUERY:", "completion": "SELECT \"Production Number\" FROM table_63341 WHERE \"Director\" LIKE '%friz freleng%' AND \"Title\" LIKE '%wacky worm, the%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_238 (\n \"id\" int,\n \"hemoglobin_a1c_hba1c\" float,\n \"fasting_c_peptide\" float,\n \"hba1c\" float,\n \"allergy_to_mammalian_derived_drug_preparations\" bool,\n \"body_mass_index_bmi\" float,\n \"renal_transplantation\" bool,\n \"NOUSE\" float\n)\n\nQUESTION: patients with a renal transplant that is more than 6 months old.\nSQL QUERY:", "completion": "SELECT * FROM table_train_238 WHERE renal_transplantation = 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44295 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Falcons points\" real,\n \"Opponents\" real,\n \"Record\" text,\n \"Streak\" text,\n \"Attendance\" real\n)\n\nQUESTION: On what date was the streak at lost 7?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_44295 WHERE \"Streak\" LIKE '%lost 7%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39979 (\n \"Species\" text,\n \"Indole\" text,\n \"Methyl Red\" text,\n \"Voges-Proskauer\" text,\n \"Citrate\" text\n)\n\nQUESTION: What is the methyl red reading for the species that tests positive for indole?\nSQL QUERY:", "completion": "SELECT \"Methyl Red\" FROM table_39979 WHERE \"Indole\" LIKE '%positive%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n team_f VARCHAR,\n team_a VARCHAR\n)\n\nQUESTION: Who is team f when Aida Gagaring is team A?\nSQL QUERY:", "completion": "SELECT team_f FROM table_name_16 WHERE team_a LIKE \"%aida gagaring%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341604_11 (\n district VARCHAR,\n incumbent VARCHAR\n)\n\nQUESTION: Name the districk for larry mcdonald\nSQL QUERY:", "completion": "SELECT district FROM table_1341604_11 WHERE incumbent LIKE \"%larry mcdonald%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71096 (\n \"Election\" text,\n \"1st Member\" text,\n \"1st Party\" text,\n \"2nd Member\" text,\n \"2nd Party\" text\n)\n\nQUESTION: Who is the 2nd member during 1885 election?\nSQL QUERY:", "completion": "SELECT \"2nd Member\" FROM table_71096 WHERE \"Election\" LIKE '%1885%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19526911_1 (\n arena__capacity_ VARCHAR,\n head_coach VARCHAR\n)\n\nQUESTION: What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?\nSQL QUERY:", "completion": "SELECT COUNT(arena__capacity_) FROM table_19526911_1 WHERE head_coach LIKE '%yuriy korotkevich%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26677836_1 (\n difference INTEGER\n)\n\nQUESTION: WHat is the highest difference?\nSQL QUERY:", "completion": "SELECT MAX(difference) FROM table_26677836_1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15319684_1 (\n lost INTEGER,\n team VARCHAR\n)\n\nQUESTION: Name the most losst for corinthians\nSQL QUERY:", "completion": "SELECT MIN(lost) FROM table_15319684_1 WHERE team LIKE \"%corinthians%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n history VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the history behind Speedrunner III (SSC3)?\nSQL QUERY:", "completion": "SELECT history FROM table_name_88 WHERE name LIKE \"%speedrunner iii (ssc3)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n winner VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who was the winner in 2007?\nSQL QUERY:", "completion": "SELECT winner FROM table_name_49 WHERE date LIKE '%2007%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45777 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: For the match played on 7 January 1956, with away team of Accrington Stanley, who was the home team?\nSQL QUERY:", "completion": "SELECT \"Home team\" FROM table_45777 WHERE \"Date\" LIKE '%7 january 1956%' AND \"Away team\" LIKE '%accrington stanley%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n segment_a VARCHAR,\n netflix VARCHAR\n)\n\nQUESTION: What is the segment A name, having a Netflix of s01e12?\nSQL QUERY:", "completion": "SELECT segment_a FROM table_name_18 WHERE netflix LIKE \"%s01e12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_65199 (\n \"Rank\" real,\n \"Rider\" text,\n \"Team\" text,\n \"Speed\" text,\n \"Time\" text\n)\n\nQUESTION: What is Brian Mateer's Speed?\nSQL QUERY:", "completion": "SELECT \"Speed\" FROM table_65199 WHERE \"Rider\" LIKE '%brian mateer%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n home VARCHAR,\n series VARCHAR\n)\n\nQUESTION: Which Home has a Series of series tied 3 3?\nSQL QUERY:", "completion": "SELECT home FROM table_name_92 WHERE series LIKE \"%series tied 3–3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n capacity INTEGER,\n rank VARCHAR,\n city VARCHAR\n)\n\nQUESTION: Which Capacity is the lowest one that has a Rank smaller than 15, and a City of belgrade?\nSQL QUERY:", "completion": "SELECT MIN(capacity) FROM table_name_76 WHERE rank < 15 AND city LIKE \"%belgrade%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n attendance VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was November 4, 1973 attendance?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_64 WHERE date LIKE \"%november 4, 1973%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n silver VARCHAR,\n notes VARCHAR\n)\n\nQUESTION: What is Silver, when Notes is '6.24km, 23controls'?\nSQL QUERY:", "completion": "SELECT silver FROM table_name_86 WHERE notes LIKE \"%6.24km, 23controls%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64339 (\n \"play\" text,\n \"author\" text,\n \"company\" text,\n \"base\" text,\n \"country\" text\n)\n\nQUESTION: Which play had a base of Aosta?\nSQL QUERY:", "completion": "SELECT \"play\" FROM table_64339 WHERE \"base\" LIKE '%aosta%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n date VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: What day is south melbourne at home?\nSQL QUERY:", "completion": "SELECT date FROM table_name_35 WHERE home_team LIKE \"%south melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n majority VARCHAR,\n clone_independence VARCHAR\n)\n\nQUESTION: What is the majority when the clone independence is no?\nSQL QUERY:", "completion": "SELECT majority FROM table_name_8 WHERE clone_independence LIKE '%no%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71786 (\n \"Round\" real,\n \"Pick #\" real,\n \"Overall\" real,\n \"Name\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: Name the pick number for bill atessis\nSQL QUERY:", "completion": "SELECT \"Pick #\" FROM table_71786 WHERE \"Name\" LIKE '%bill atessis%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44890 (\n \"Year\" text,\n \"Gold\" text,\n \"Silver\" text,\n \"Bronze\" text,\n \"Total\" text\n)\n\nQUESTION: How many gold medals were won in 1970?\nSQL QUERY:", "completion": "SELECT \"Gold\" FROM table_44890 WHERE \"Year\" LIKE '%1970%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n player VARCHAR,\n county VARCHAR\n)\n\nQUESTION: Which player is from County Dublin?\nSQL QUERY:", "completion": "SELECT player FROM table_name_89 WHERE county LIKE \"%dublin%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22879323_8 (\n score VARCHAR,\n high_rebounds VARCHAR\n)\n\nQUESTION: What was the score of the game in which Brook Lopez (8) did the high rebounds?\nSQL QUERY:", "completion": "SELECT score FROM table_22879323_8 WHERE high_rebounds LIKE \"%brook lopez (8)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n visitor VARCHAR,\n home VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?\nSQL QUERY:", "completion": "SELECT visitor FROM table_name_97 WHERE home LIKE \"%boston bruins%\" AND date LIKE \"%november 15%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61411 (\n \"Letter\" text,\n \"American\" text,\n \"British\" text,\n \"Australian\" text,\n \"Examples\" text\n)\n\nQUESTION: What does American have if Australia has ?\nSQL QUERY:", "completion": "SELECT \"American\" FROM table_61411 WHERE \"Australian\" LIKE '%əʉ%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_54917 (\n \"Tournament\" text,\n \"Wins\" real,\n \"Top-5\" real,\n \"Top-25\" real,\n \"Events\" real,\n \"Cuts made\" real\n)\n\nQUESTION: Tell me the sum of top 5 with events less than 12 and top 25 less than 0\nSQL QUERY:", "completion": "SELECT SUM(\"Top-5\") FROM table_54917 WHERE \"Events\" < 12 AND \"Top-25\" < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10015132_14 (\n player VARCHAR,\n years_in_toronto VARCHAR\n)\n\nQUESTION: Who played in the Toronto Raptors from 1995-96?\nSQL QUERY:", "completion": "SELECT player FROM table_10015132_14 WHERE years_in_toronto LIKE \"%1995-96%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n Id VARCHAR\n)\n\nQUESTION: What was the value in 1989 with QF in 1997 and A in 1993?\nSQL QUERY:", "completion": "SELECT 1989 FROM table_name_10 WHERE 1997 LIKE \"%qf%\" AND 1993 LIKE \"%a%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33672 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM?\nSQL QUERY:", "completion": "SELECT MAX(\"Crowd\") FROM table_33672 WHERE \"Away team\" LIKE '%essendon%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17697980_1 (\n no_of_episodes INTEGER,\n year VARCHAR\n)\n\nQUESTION: What is the largest number of episodes for a 1989 season dvd release?\nSQL QUERY:", "completion": "SELECT MAX(no_of_episodes) FROM table_17697980_1 WHERE year LIKE \"%1989%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2849652_1 (\n _number_of_divisions VARCHAR,\n sport VARCHAR\n)\n\nQUESTION: How many divisions in bowling ?\nSQL QUERY:", "completion": "SELECT _number_of_divisions FROM table_2849652_1 WHERE sport LIKE '%bowling%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n placings VARCHAR,\n total VARCHAR,\n name VARCHAR\n)\n\nQUESTION: How many placings did Jacqueline du Bief earn where her total score is greater than 131.26?\nSQL QUERY:", "completion": "SELECT placings FROM table_name_72 WHERE total > '131.26' AND name LIKE '%jacqueline du bief%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15499 (\n \"Year\" real,\n \"Competition\" text,\n \"Venue\" text,\n \"Position\" text,\n \"Notes\" text\n)\n\nQUESTION: Where was European Championships held with notes of 61.46 m?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_15499 WHERE \"Competition\" LIKE '%european championships%' AND \"Notes\" LIKE '%61.46 m%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_70609 (\n \"Year\" text,\n \"Start\" text,\n \"Qual\" text,\n \"Rank\" text,\n \"Finish\" text,\n \"Laps\" real\n)\n\nQUESTION: What was Jack McGrath's rank in 1955 when he started at 3 and finished at 26?\nSQL QUERY:", "completion": "SELECT \"Rank\" FROM table_70609 WHERE \"Start\" LIKE '%3%' AND \"Finish\" LIKE '%26%' AND \"Year\" LIKE '%1955%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n rank VARCHAR,\n notes VARCHAR,\n time VARCHAR\n)\n\nQUESTION: What's the rank if the time was 5:54.57 and FB in notes?\nSQL QUERY:", "completion": "SELECT rank FROM table_name_30 WHERE notes LIKE \"%fb%\" AND time LIKE \"%5:54.57%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n top_5 INTEGER,\n wins INTEGER\n)\n\nQUESTION: What is the fewest number of top-5s for events with more than 1 win?\nSQL QUERY:", "completion": "SELECT MIN(top_5) FROM table_name_90 WHERE wins > 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: On what date was South Melbourne the away team?\nSQL QUERY:", "completion": "SELECT date FROM table_name_61 WHERE away_team LIKE \"%south melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n year INTEGER,\n manufacturer VARCHAR,\n finish VARCHAR\n)\n\nQUESTION: Smaller than 37, the highest year for Ford?\nSQL QUERY:", "completion": "SELECT MAX(year) FROM table_name_18 WHERE manufacturer LIKE \"%ford%\" AND finish < 37"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26919_7 (\n akkadian VARCHAR,\n geez VARCHAR\n)\n\nQUESTION: if the geez is libb, what is the akkadian?\nSQL QUERY:", "completion": "SELECT akkadian FROM table_26919_7 WHERE geez LIKE \"%libb%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n score VARCHAR,\n home VARCHAR,\n visitor VARCHAR\n)\n\nQUESTION: What was the score for the game played between Cleveland and Orlando at Cleveland?\nSQL QUERY:", "completion": "SELECT score FROM table_name_26 WHERE home LIKE \"%cleveland%\" AND visitor LIKE \"%orlando%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79928 (\n \"Election\" text,\n \"Votes\" real,\n \"Vote %\" real,\n \"Seats\" real,\n \"Place\" text\n)\n\nQUESTION: Name the vote % for seats of 9\nSQL QUERY:", "completion": "SELECT \"Vote %\" FROM table_79928 WHERE \"Seats\" = 9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n time VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: What is the time when the opponent is phil collins?\nSQL QUERY:", "completion": "SELECT time FROM table_name_86 WHERE opponent LIKE \"%phil collins%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47583 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location/Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Game 71 was played against what team?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_47583 WHERE \"Game\" = 71"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47195 (\n \"Region\" text,\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: Which regio has a label of zzt and a date of 27 september 2004?\nSQL QUERY:", "completion": "SELECT \"Region\" FROM table_47195 WHERE \"Label\" LIKE '%zzt%' AND \"Date\" LIKE '%27 september 2004%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_34498 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What was the Result after the Week 4 on November 3, 1968?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_34498 WHERE \"Week\" > 4 AND \"Date\" LIKE '%november 3, 1968%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28436909_4 (\n organization VARCHAR,\n founding_date VARCHAR\n)\n\nQUESTION: When 1873-12-25 is the founding date how many organizations are there?\nSQL QUERY:", "completion": "SELECT COUNT(organization) FROM table_28436909_4 WHERE founding_date LIKE \"%1873-12-25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_198175_2 (\n swedish_name VARCHAR,\n residence_city VARCHAR\n)\n\nQUESTION: What is every Swedish name for residence city is Loviisa?\nSQL QUERY:", "completion": "SELECT swedish_name FROM table_198175_2 WHERE residence_city LIKE \"%loviisa%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_78121 (\n \"8:00\" text,\n \"8:30\" text,\n \"9:00\" text,\n \"9:30\" text,\n \"10:00\" text\n)\n\nQUESTION: what is at 8:00 when at 8:30 it is my thursday night movie?\nSQL QUERY:", "completion": "SELECT \"8:00\" FROM table_78121 WHERE \"8:30\" LIKE '%my thursday night movie%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n white VARCHAR,\n black VARCHAR\n)\n\nQUESTION: WHich Category in White has a Black of 38,05%?\nSQL QUERY:", "completion": "SELECT white FROM table_name_35 WHERE black LIKE \"%38,05%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n venue VARCHAR,\n result VARCHAR\n)\n\nQUESTION: What is the Venue when the result was 88 87?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_78 WHERE result LIKE \"%88–87%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17058151_8 (\n high_rebounds VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the total number of high rebounds for february 10\nSQL QUERY:", "completion": "SELECT COUNT(high_rebounds) FROM table_17058151_8 WHERE date LIKE \"%february 10%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n tv_season VARCHAR,\n season VARCHAR,\n households__in_millions_ VARCHAR\n)\n\nQUESTION: Which TV season has a Season smaller than 8, and a Household (in millions) of 15.92 (17.1 rating)?\nSQL QUERY:", "completion": "SELECT tv_season FROM table_name_61 WHERE CAST(season AS INTEGER) < 8 AND households__in_millions_ LIKE \"%15.92 (17.1 rating)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n name VARCHAR,\n year VARCHAR,\n high_school VARCHAR\n)\n\nQUESTION: What is the Name with a Year of junior, and a High School with wheatley?\nSQL QUERY:", "completion": "SELECT name FROM table_name_54 WHERE year LIKE \"%junior%\" AND high_school LIKE \"%wheatley%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n venue VARCHAR,\n competition VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Where was the friendly competition on 7 June 1999 played?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_9 WHERE competition LIKE \"%friendly%\" AND date LIKE \"%7 june 1999%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29273243_1 (\n written_by VARCHAR,\n no_in_season VARCHAR\n)\n\nQUESTION: Who wrote episode number 11?\nSQL QUERY:", "completion": "SELECT written_by FROM table_29273243_1 WHERE no_in_season LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_44440 (\n \"Driver\" text,\n \"Team\" text,\n \"Laps\" text,\n \"Time/Retired\" text,\n \"Grid\" text,\n \"Laps Led\" text,\n \"Points\" text\n)\n\nQUESTION: How many laps have 50 points?\nSQL QUERY:", "completion": "SELECT \"Laps\" FROM table_44440 WHERE \"Points\" LIKE '%50%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46557 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Location\" text,\n \"Record\" text\n)\n\nQUESTION: For the game against the Washington Bullets, what was the final score?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_46557 WHERE \"Opponent\" LIKE '%washington bullets%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16768245_2 (\n longitude VARCHAR,\n latitude VARCHAR\n)\n\nQUESTION: How many longitudes have a latitude of 9.9n?\nSQL QUERY:", "completion": "SELECT COUNT(longitude) FROM table_16768245_2 WHERE latitude LIKE \"%9.9n%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n chinese_title VARCHAR,\n album_number VARCHAR\n)\n\nQUESTION: Album # of 3rd is what chinese title?\nSQL QUERY:", "completion": "SELECT chinese_title FROM table_name_57 WHERE album_number LIKE \"%3rd%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n album VARCHAR,\n label_and_cat_number VARCHAR\n)\n\nQUESTION: Which album has a label and cat# full moon/warner 28628?\nSQL QUERY:", "completion": "SELECT album FROM table_name_68 WHERE label_and_cat_number LIKE \"%full moon/warner 28628%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1560673_1 (\n position_in_2013 VARCHAR,\n first_season VARCHAR\n)\n\nQUESTION: What position is the player whose first year is 2014\nSQL QUERY:", "completion": "SELECT position_in_2013 FROM table_1560673_1 WHERE first_season LIKE '%2014%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_717 (\n id number,\n \"season\" text,\n \"level\" number,\n \"division\" text,\n \"place\" text\n)\n\nQUESTION: which season came in last place ?\nSQL QUERY:", "completion": "SELECT \"season\" FROM table_204_717 ORDER BY \"place\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_82 (\n Id VARCHAR\n)\n\nQUESTION: Name the 2005 for 2003 of a and 2011 of 3r\nSQL QUERY:", "completion": "SELECT 2005 FROM table_name_82 WHERE 2003 LIKE \"%a%\" AND 2011 LIKE \"%3r%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_893 (\n id number,\n \"rank\" number,\n \"name\" text,\n \"nationality\" text,\n \"time\" text,\n \"notes\" text\n)\n\nQUESTION: how many athletes were from a country other than cyprus ?\nSQL QUERY:", "completion": "SELECT COUNT(\"name\") FROM table_204_893 WHERE \"nationality\" LIKE '%cyprus%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9351 (\n \"Team 1\" text,\n \"Agg.\" text,\n \"Team 2\" text,\n \"1st leg\" text,\n \"2nd leg\" text\n)\n\nQUESTION: WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?\nSQL QUERY:", "completion": "SELECT \"2nd leg\" FROM table_9351 WHERE \"Team 2\" LIKE '%haro%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16253 (\n \"Season\" text,\n \"Series\" text,\n \"Team Name\" text,\n \"Races\" real,\n \"Poles\" real,\n \"Wins\" real,\n \"Points\" real,\n \"Position\" text\n)\n\nQUESTION: Which series with 62 points?\nSQL QUERY:", "completion": "SELECT \"Series\" FROM table_16253 WHERE \"Points\" = 62"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_91 (\n winning_driver VARCHAR,\n winning_constructor VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the Winning driver of mercedes on 22 august?\nSQL QUERY:", "completion": "SELECT winning_driver FROM table_name_91 WHERE winning_constructor LIKE '%mercedes%' AND date LIKE '%22 august%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n opponent VARCHAR,\n week INTEGER\n)\n\nQUESTION: Who was the opponent after week 16?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_43 WHERE week > 16"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_822 (\n id number,\n \"rank\" number,\n \"nation\" text,\n \"gold\" number,\n \"silver\" number,\n \"bronze\" number,\n \"total\" number\n)\n\nQUESTION: how many bronze medals were won by the nation with the fewest gold medals ?\nSQL QUERY:", "completion": "SELECT \"bronze\" FROM table_204_822 ORDER BY \"gold\" LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_38 (\n high_assists VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What is High Assists, when Team is 'Oklahoma City'?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_name_38 WHERE team LIKE \"%oklahoma city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n builder VARCHAR,\n pennant VARCHAR\n)\n\nQUESTION: What is the building for the r90 pennant?\nSQL QUERY:", "completion": "SELECT builder FROM table_name_16 WHERE pennant LIKE \"%r90%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n round VARCHAR,\n pick VARCHAR,\n nfl_club VARCHAR\n)\n\nQUESTION: What round has a pick less than 189, with arizona cardinals as the NFL club?\nSQL QUERY:", "completion": "SELECT round FROM table_name_4 WHERE pick < 189 AND nfl_club LIKE '%arizona cardinals%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14058433_5 (\n points_for VARCHAR,\n lost VARCHAR\n)\n\nQUESTION: what's the points for with lost being 4\nSQL QUERY:", "completion": "SELECT points_for FROM table_14058433_5 WHERE lost LIKE \"%4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_47445 (\n \"Series Sorted\" text,\n \"Title\" text,\n \"Doctor\" text,\n \"Featuring\" text,\n \"Released\" text\n)\n\nQUESTION: what is the series sorted when the released is may 2012?\nSQL QUERY:", "completion": "SELECT \"Series Sorted\" FROM table_47445 WHERE \"Released\" LIKE '%may 2012%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What date was the away team, team Gillingham?\nSQL QUERY:", "completion": "SELECT date FROM table_name_64 WHERE away_team LIKE \"%gillingham%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79450 (\n \"Year\" real,\n \"Program\" text,\n \"Role\" text,\n \"Episode\" text,\n \"First aired\" text\n)\n\nQUESTION: What episode was first aired in 1976?\nSQL QUERY:", "completion": "SELECT \"Episode\" FROM table_79450 WHERE \"First aired\" LIKE '%1976%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_14 (\n event VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What event was on 26 August 2005?\nSQL QUERY:", "completion": "SELECT event FROM table_name_14 WHERE date LIKE \"%26 august 2005%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_173103_1 (\n max_pressure VARCHAR,\n cartridge VARCHAR\n)\n\nQUESTION: What is the max pressure of the .38 long colt cartridge?\nSQL QUERY:", "completion": "SELECT max_pressure FROM table_173103_1 WHERE cartridge LIKE \"%.38 long colt%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE home_game (\n YEAR VARCHAR,\n attendance INTEGER\n)\n\nQUESTION: What is the average number of attendance at home games for each year?\nSQL QUERY:", "completion": "SELECT YEAR, AVG(attendance) FROM home_game GROUP BY YEAR"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_96 (\n leading_scorer VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who was the leading scorer on February 9?\nSQL QUERY:", "completion": "SELECT leading_scorer FROM table_name_96 WHERE date LIKE \"%february 9%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n notes VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which Notes have a Date of 2008-01-27?\nSQL QUERY:", "completion": "SELECT notes FROM table_name_21 WHERE date LIKE \"%2008-01-27%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n date VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Name the date for princes park\nSQL QUERY:", "completion": "SELECT date FROM table_name_87 WHERE venue LIKE \"%princes park%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n chassis VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What Chassis ranked 18th?\nSQL QUERY:", "completion": "SELECT chassis FROM table_name_18 WHERE rank LIKE \"%18th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7385 (\n \"Date\" text,\n \"Opponent\" text,\n \"Venue\" text,\n \"Result\" text,\n \"Attendance\" real\n)\n\nQUESTION: What was the lowest Attendance on 8 October 1986?\nSQL QUERY:", "completion": "SELECT MIN(\"Attendance\") FROM table_7385 WHERE \"Date\" LIKE '%8 october 1986%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n college_junior_club_team__league_ VARCHAR,\n position VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What is the College/Junior/Club Team (League) when the position is rw, and the player is Don Murdoch?\nSQL QUERY:", "completion": "SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position LIKE \"%rw%\" AND player LIKE \"%don murdoch%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n rank INTEGER,\n gold VARCHAR,\n silver VARCHAR\n)\n\nQUESTION: What is the rank of the team with 0 gold and less than 0 silvers?\nSQL QUERY:", "completion": "SELECT SUM(rank) FROM table_name_72 WHERE gold LIKE '0' AND silver < '0'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1671401_3 (\n top_5 VARCHAR,\n winnings VARCHAR\n)\n\nQUESTION: name the top 5 where the winnings is $52,595\nSQL QUERY:", "completion": "SELECT top_5 FROM table_1671401_3 WHERE winnings LIKE '%$52,595%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n english_spelling VARCHAR,\n hebrew_word VARCHAR\n)\n\nQUESTION: How do you spell the Hebrew word in English?\nSQL QUERY:", "completion": "SELECT english_spelling FROM table_name_24 WHERE hebrew_word LIKE '%יְהוֹשָפָט%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39294 (\n \"Season\" text,\n \"Club\" text,\n \"Country\" text,\n \"Competition\" text,\n \"Caps\" real,\n \"Goals\" real\n)\n\nQUESTION: What is the lowest caps for the Club of SBV Excelsior?\nSQL QUERY:", "completion": "SELECT MIN(\"Caps\") FROM table_39294 WHERE \"Club\" LIKE '%sbv excelsior%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_test_17 (\n \"id\" int,\n \"anemia\" bool,\n \"left_ventricular_ejection_fraction_lvef\" int,\n \"systolic_blood_pressure_sbp\" int,\n \"active_infection\" bool,\n \"fever\" bool,\n \"bradycardia\" int,\n \"renal_disease\" bool,\n \"oliguria\" bool,\n \"creatinine_clearance_cl\" float,\n \"left_ventricular_failure\" bool,\n \"hgb\" int,\n \"platelet_count\" float,\n \"oxygen_saturation\" int,\n \"thrombocytopenia\" float,\n \"heart_rate\" int,\n \"serum_creatinine\" float,\n \"diuresis\" int,\n \"catecholamine_support\" bool,\n \"NOUSE\" float\n)\n\nQUESTION: bradycardia ( heart rate < 60 / min, not valid for patients on beta _ blockers ) .\nSQL QUERY:", "completion": "SELECT * FROM table_test_17 WHERE bradycardia = 1 OR heart_rate < 60"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n season VARCHAR,\n car__number VARCHAR,\n sponsor VARCHAR\n)\n\nQUESTION: How many seasons has UPS sponsored a car with a number larger than 17?\nSQL QUERY:", "completion": "SELECT COUNT(season) FROM table_name_9 WHERE car__number > '17' AND sponsor LIKE '%ups%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n power VARCHAR,\n displacement VARCHAR,\n notes VARCHAR\n)\n\nQUESTION: What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec?\nSQL QUERY:", "completion": "SELECT power FROM table_name_43 WHERE displacement LIKE \"%182cid (2,988cc)%\" AND notes LIKE \"%eu spec%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n date VARCHAR,\n description VARCHAR\n)\n\nQUESTION: What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description?\nSQL QUERY:", "completion": "SELECT date FROM table_name_62 WHERE description LIKE \"%undergoing overhaul, restoration or repairs%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32817 (\n \"Year\" real,\n \"Rider\" text,\n \"Country\" text,\n \"Distance\" text,\n \"Pacing\" text,\n \"Velodrome\" text\n)\n\nQUESTION: What country had a winner in 1907?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_32817 WHERE \"Year\" = 1907"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n previous_conference VARCHAR,\n school VARCHAR\n)\n\nQUESTION: Which conference held at School of whiting?\nSQL QUERY:", "completion": "SELECT previous_conference FROM table_name_49 WHERE school LIKE \"%whiting%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n gdp_per_capita__nominal_ VARCHAR,\n population VARCHAR\n)\n\nQUESTION: What is the GDP (nominal) with Population of 5,125,693?\nSQL QUERY:", "completion": "SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population LIKE \"%5,125,693%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14342480_15 (\n extra_points INTEGER\n)\n\nQUESTION: What is the highest number of extra points?\nSQL QUERY:", "completion": "SELECT MAX(extra_points) FROM table_14342480_15"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n relation VARCHAR,\n year VARCHAR,\n length VARCHAR\n)\n\nQUESTION: Which Relation has a Year larger than 2000, and a Length of 8 x 20 mins?\nSQL QUERY:", "completion": "SELECT relation FROM table_name_12 WHERE year > '2000' AND length LIKE '%8 x 20 mins%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26401898_2 (\n attendance INTEGER\n)\n\nQUESTION: Name the most attendance\nSQL QUERY:", "completion": "SELECT MIN(attendance) FROM table_26401898_2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n attendance INTEGER,\n opponent VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What is the largest attendance number when the Chicago Cardinals were the opponent and the week was less than 4?\nSQL QUERY:", "completion": "SELECT MAX(attendance) FROM table_name_48 WHERE opponent LIKE '%chicago cardinals%' AND week < 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n name_of_deity VARCHAR,\n name_of_the_river VARCHAR\n)\n\nQUESTION: What is the name of the diety for the river of sone?\nSQL QUERY:", "completion": "SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river LIKE \"%sone%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1341707_12 (\n district VARCHAR,\n first_elected VARCHAR\n)\n\nQUESTION: Phillip Landrum was first elected in 1952 from the ninth district of Georgia.\nSQL QUERY:", "completion": "SELECT district FROM table_1341707_12 WHERE first_elected LIKE '%1952%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29391888_1 (\n season__number VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: What is the season # for the production code 3.89?\nSQL QUERY:", "completion": "SELECT season__number FROM table_29391888_1 WHERE production_code LIKE \"%3.89%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35790 (\n \"Name\" text,\n \"City\" text,\n \"Years as tallest\" text,\n \"Metres\" real,\n \"Feet\" real,\n \"Floors\" real\n)\n\nQUESTION: What is the sum of Metres wiht a Feet that's smaller than 196?\nSQL QUERY:", "completion": "SELECT COUNT(\"Metres\") FROM table_35790 WHERE \"Feet\" < 196"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30121075_1 (\n barony VARCHAR,\n townland VARCHAR\n)\n\nQUESTION: How many entries are in barony when the townland is derrigra?\nSQL QUERY:", "completion": "SELECT COUNT(barony) FROM table_30121075_1 WHERE townland LIKE \"%derrigra%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n date VARCHAR,\n round VARCHAR\n)\n\nQUESTION: What is the Date that has a Round of semifinal?\nSQL QUERY:", "completion": "SELECT date FROM table_name_46 WHERE round LIKE \"%semifinal%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_39 (\n score VARCHAR,\n loss VARCHAR\n)\n\nQUESTION: what was the score in the loss to tapani (0-1)?\nSQL QUERY:", "completion": "SELECT score FROM table_name_39 WHERE loss LIKE \"%tapani (0-1)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_89 (\n tries_for VARCHAR,\n tries_against VARCHAR\n)\n\nQUESTION: What is the tries for when 52 was the tries against?\nSQL QUERY:", "completion": "SELECT tries_for FROM table_name_89 WHERE tries_against LIKE \"%52%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n fate VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What was the fate on 27 june 1942?\nSQL QUERY:", "completion": "SELECT fate FROM table_name_44 WHERE date LIKE \"%27 june 1942%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_69 (\n team VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the Team with a Date with december 11?\nSQL QUERY:", "completion": "SELECT team FROM table_name_69 WHERE date LIKE \"%december 11%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32230 (\n \"Date\" text,\n \"Venue\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: Which venue had the result 7-1?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_32230 WHERE \"Result\" LIKE '%7-1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_7244 (\n \"Year\" real,\n \"Actor\" text,\n \"Award\" text,\n \"Series\" text,\n \"Result\" text\n)\n\nQUESTION: What is the average year that Idris Elba was nominated for or won an award?\nSQL QUERY:", "completion": "SELECT AVG(\"Year\") FROM table_7244 WHERE \"Actor\" LIKE '%idris elba%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11677691_6 (\n hometown VARCHAR,\n school VARCHAR\n)\n\nQUESTION: Where is lincoln high school located?\nSQL QUERY:", "completion": "SELECT hometown FROM table_11677691_6 WHERE school LIKE \"%lincoln high school%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19753079_8 (\n incumbent VARCHAR,\n first_elected VARCHAR\n)\n\nQUESTION: What incumbent was first elected in 2009?\nSQL QUERY:", "completion": "SELECT incumbent FROM table_19753079_8 WHERE first_elected LIKE '%2009%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n matches_w_l VARCHAR,\n placing VARCHAR\n)\n\nQUESTION: Placing of 3 had what match w-l?\nSQL QUERY:", "completion": "SELECT matches_w_l FROM table_name_20 WHERE placing LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46812 (\n \"Event\" text,\n \"Date\" text,\n \"Rating\" text,\n \"Share\" text,\n \"Viewers\" text\n)\n\nQUESTION: What is Event, when Date is April 20, 2013?\nSQL QUERY:", "completion": "SELECT \"Event\" FROM table_46812 WHERE \"Date\" LIKE '%april 20, 2013%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n game_site VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which game site hosted a match on April 10, 2004?\nSQL QUERY:", "completion": "SELECT game_site FROM table_name_87 WHERE date LIKE \"%april 10, 2004%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50546 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Attendance\" text\n)\n\nQUESTION: What is the Away Team when the Home Team is Torquay United and the Attendence is 6 December 1997?\nSQL QUERY:", "completion": "SELECT \"Away team\" FROM table_50546 WHERE \"Attendance\" LIKE '%6 december 1997%' AND \"Home team\" LIKE '%torquay united%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n apogee VARCHAR,\n designation VARCHAR\n)\n\nQUESTION: What is Apogee, when Designation is Prognoz 6?\nSQL QUERY:", "completion": "SELECT apogee FROM table_name_9 WHERE designation LIKE \"%prognoz 6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n attendance INTEGER,\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: How low is the Attendance that has an Opponent of devil rays and a Date of may 13?\nSQL QUERY:", "completion": "SELECT MIN(attendance) FROM table_name_15 WHERE opponent LIKE \"%devil rays%\" AND date LIKE \"%may 13%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n bike VARCHAR,\n rider VARCHAR\n)\n\nQUESTION: What bike does dean ellison ride?\nSQL QUERY:", "completion": "SELECT bike FROM table_name_48 WHERE rider LIKE \"%dean ellison%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n head_coach VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: Who was the head coach when the opponent was Arsenal?\nSQL QUERY:", "completion": "SELECT head_coach FROM table_name_95 WHERE opponent LIKE \"%arsenal%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32851 (\n \"Date\" real,\n \"Sport\" text,\n \"Winner\" text,\n \"Score\" text,\n \"Loser\" text\n)\n\nQUESTION: Who was the winner in 2007?\nSQL QUERY:", "completion": "SELECT \"Winner\" FROM table_32851 WHERE \"Date\" LIKE '%2007%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n visitor VARCHAR,\n date VARCHAR\n)\n\nQUESTION: who visited on november 17?\nSQL QUERY:", "completion": "SELECT visitor FROM table_name_29 WHERE date LIKE \"%november 17%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n year_built VARCHAR,\n location_of_the_church VARCHAR\n)\n\nQUESTION: In what year was the church located in flor built?\nSQL QUERY:", "completion": "SELECT year_built FROM table_name_29 WHERE location_of_the_church LIKE \"%florø%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n laps INTEGER,\n time VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7?\nSQL QUERY:", "completion": "SELECT AVG(laps) FROM table_name_16 WHERE time LIKE '+17.485%' AND grid < '7'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12962773_10 (\n position VARCHAR,\n height VARCHAR\n)\n\nQUESTION: What position was played by the player who was 2.12 meters tall?\nSQL QUERY:", "completion": "SELECT position FROM table_12962773_10 WHERE height LIKE \"%2.12%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_62185 (\n \"Date\" text,\n \"Visitor\" text,\n \"Score\" text,\n \"Home\" text,\n \"Record\" text\n)\n\nQUESTION: What visiting team has a record of 4-3?\nSQL QUERY:", "completion": "SELECT \"Visitor\" FROM table_62185 WHERE \"Record\" LIKE '%4-3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n project_name VARCHAR,\n country VARCHAR,\n peak VARCHAR\n)\n\nQUESTION: What is the Project Name with a Country that is kazakhstan and a Peak that is 150?\nSQL QUERY:", "completion": "SELECT project_name FROM table_name_90 WHERE country LIKE \"%kazakhstan%\" AND peak = \"150\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n goals_against INTEGER,\n points_1 VARCHAR,\n drawn VARCHAR\n)\n\nQUESTION: What is the smallest number of goals against when there are 1 of 18 points, and more than 8 are drawn?\nSQL QUERY:", "completion": "SELECT MIN(goals_against) FROM table_name_58 WHERE points_1 LIKE \"%18%\" AND drawn > 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_3 (\n package_option VARCHAR,\n content VARCHAR\n)\n\nQUESTION: What is Package/Option, when Content is Poker?\nSQL QUERY:", "completion": "SELECT package_option FROM table_name_3 WHERE content LIKE \"%poker%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1876825_2 (\n no_in_series VARCHAR,\n original_air_date VARCHAR\n)\n\nQUESTION: Name the total number of series for march 19, 2000\nSQL QUERY:", "completion": "SELECT COUNT(no_in_series) FROM table_1876825_2 WHERE original_air_date LIKE \"%march 19, 2000%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Person (\n gender VARCHAR\n)\n\nQUESTION: How many females does this network has?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM Person WHERE gender LIKE '%female%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_1 (\n score VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What is the score for game 38?\nSQL QUERY:", "completion": "SELECT score FROM table_name_1 WHERE game LIKE '%38%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13034 (\n \"Team 1\" text,\n \"Score\" text,\n \"Team 2\" text,\n \"1st round\" text,\n \"2nd round\" text\n)\n\nQUESTION: What is the 1st round result for ECAC Chaumont (D2) as team 1?\nSQL QUERY:", "completion": "SELECT \"1st round\" FROM table_13034 WHERE \"Team 1\" LIKE '%ecac chaumont (d2)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2249029_1 (\n world_rank INTEGER,\n asian_rank VARCHAR\n)\n\nQUESTION: Name the most world rank for asian rank being 31\nSQL QUERY:", "completion": "SELECT MAX(world_rank) FROM table_2249029_1 WHERE asian_rank LIKE '%31%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1310499_1 (\n application VARCHAR\n)\n\nQUESTION: What is the 2nd ratio of 1996-2002 Dodge Viper?\nSQL QUERY:", "completion": "SELECT 2 AS nd FROM table_1310499_1 WHERE application LIKE \"%1996-2002 dodge viper%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_135 (\n id number,\n \"institution\" text,\n \"location\" text,\n \"founded\" number,\n \"type\" text,\n \"enrollment\" number,\n \"joined\" number,\n \"nickname\" text\n)\n\nQUESTION: what is the last school to be founded in the aac ?\nSQL QUERY:", "completion": "SELECT \"institution\" FROM table_203_135 ORDER BY \"founded\" DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_84 (\n total INTEGER,\n gold VARCHAR,\n bronze VARCHAR\n)\n\nQUESTION: What average Total has a Gold award of 13 and a Bronze award less than 13?\nSQL QUERY:", "completion": "SELECT AVG(total) FROM table_name_84 WHERE gold LIKE '%13%' AND CAST(bronze AS INTEGER) < 13"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_75835 (\n \"Episode #\" real,\n \"Title\" text,\n \"Air Date\" text,\n \"Rating\" real,\n \"Share\" real,\n \"18\\u201349\" real,\n \"Viewers\" real,\n \"Rank\" text\n)\n\nQUESTION: What is the Air Date that has a 18 49 larger than 1.9, less than 7.54 viewers and a rating less than 4.9?\nSQL QUERY:", "completion": "SELECT \"Air Date\" FROM table_75835 WHERE \"18–49\" > 1.9 AND \"Viewers\" < 7.54 AND \"Rating\" < 4.9"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_4355 (\n \"Pick\" text,\n \"Player\" text,\n \"Position\" text,\n \"Nationality\" text,\n \"NHL team\" text\n)\n\nQUESTION: Tell me the nationality of pick of 153\nSQL QUERY:", "completion": "SELECT \"Nationality\" FROM table_4355 WHERE \"Pick\" LIKE '%153%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n places INTEGER,\n nation VARCHAR,\n rank VARCHAR\n)\n\nQUESTION: What is the Places amount of the United States Ranking 8?\nSQL QUERY:", "completion": "SELECT AVG(places) FROM table_name_71 WHERE nation LIKE '%united states%' AND rank LIKE '%8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22670216_1 (\n rnd VARCHAR,\n location VARCHAR,\n pole_position VARCHAR\n)\n\nQUESTION: If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number?\nSQL QUERY:", "completion": "SELECT COUNT(rnd) FROM table_22670216_1 WHERE location LIKE \"%brooklyn, michigan%\" AND pole_position LIKE \"%bobby unser%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43255 (\n \"Season\" text,\n \"Staffel A\" text,\n \"Staffel B\" text,\n \"Staffel C\" text,\n \"Staffel D\" text,\n \"Staffel E\" text\n)\n\nQUESTION: What is the Staffel D in the season 1983-84 with a Staffel E of Motor Suhl?\nSQL QUERY:", "completion": "SELECT \"Staffel D\" FROM table_43255 WHERE \"Staffel E\" LIKE '%motor suhl%' AND \"Season\" LIKE '%1983-84%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12608427_8 (\n started VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What date did De Vries start?\nSQL QUERY:", "completion": "SELECT started FROM table_12608427_8 WHERE name LIKE \"%de vries%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_76321 (\n \"Game\" real,\n \"January\" real,\n \"Opponent\" text,\n \"Score\" text,\n \"Record\" text\n)\n\nQUESTION: What day in January was the game greater than 49 and had @ Montreal Canadiens as opponents?\nSQL QUERY:", "completion": "SELECT SUM(\"January\") FROM table_76321 WHERE \"Opponent\" LIKE '%@ montreal canadiens%' AND \"Game\" > 49"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n laps INTEGER,\n driver VARCHAR,\n grid VARCHAR\n)\n\nQUESTION: What is the lowest Laps for mike spence, with a Grid smaller than 8?\nSQL QUERY:", "completion": "SELECT MIN(laps) FROM table_name_36 WHERE driver LIKE \"%mike spence%\" AND grid < 8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n week INTEGER,\n opponent VARCHAR\n)\n\nQUESTION: What is the sum of the week for the Denver Broncos?\nSQL QUERY:", "completion": "SELECT SUM(week) FROM table_name_60 WHERE opponent LIKE \"%denver broncos%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_73 (\n years VARCHAR,\n jersey_number_s_ VARCHAR\n)\n\nQUESTION: What is the Years of the player with Jersey Number(s) of 44?\nSQL QUERY:", "completion": "SELECT years FROM table_name_73 WHERE jersey_number_s_ LIKE '%44%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_41384 (\n \"Publication\" text,\n \"Country\" text,\n \"Accolade\" text,\n \"Year\" real,\n \"Rank\" text\n)\n\nQUESTION: Which accolade has USA as the country, with a year less than 2009?\nSQL QUERY:", "completion": "SELECT \"Accolade\" FROM table_41384 WHERE \"Country\" LIKE '%usa%' AND \"Year\" < 2009"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n date VARCHAR,\n competition VARCHAR,\n venue VARCHAR\n)\n\nQUESTION: Name the date that has a friendly competition at rheinpark stadion, vaduz\nSQL QUERY:", "completion": "SELECT date FROM table_name_71 WHERE competition LIKE \"%friendly%\" AND venue LIKE \"%rheinpark stadion, vaduz%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24673710_1 (\n winning_boat VARCHAR,\n entries VARCHAR\n)\n\nQUESTION: When 61 is the entries what is the winning boat?\nSQL QUERY:", "completion": "SELECT winning_boat FROM table_24673710_1 WHERE entries LIKE '%61%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_30 (\n bronze INTEGER,\n rank VARCHAR,\n total VARCHAR\n)\n\nQUESTION: What is the lowest Bronze with a 17 Rank and a Total less than 5\nSQL QUERY:", "completion": "SELECT MIN(bronze) FROM table_name_30 WHERE rank LIKE \"%17%\" AND total < \"5\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_39118 (\n \"Country\" text,\n \"Skip\" text,\n \"Third\" text,\n \"Second\" text,\n \"Lead\" text\n)\n\nQUESTION: Who holds the lead role when Aanders Brorson is third?\nSQL QUERY:", "completion": "SELECT \"Lead\" FROM table_39118 WHERE \"Third\" LIKE '%aanders brorson%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n tournament VARCHAR\n)\n\nQUESTION: What shows for 2004 when 2005 is A, 2006 is A, tournament is US Open?\nSQL QUERY:", "completion": "SELECT 2004 FROM table_name_60 WHERE 2005 = \"a\" AND 2006 = \"a\" AND tournament LIKE \"%us open%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n coach VARCHAR,\n club VARCHAR\n)\n\nQUESTION: Who was the coach for qadsia?\nSQL QUERY:", "completion": "SELECT coach FROM table_name_58 WHERE club LIKE \"%qadsia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37241 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Venue\" text,\n \"Attendance\" real\n)\n\nQUESTION: Attendance of 48,510 had what highest week?\nSQL QUERY:", "completion": "SELECT MAX(\"Week\") FROM table_37241 WHERE \"Attendance\" LIKE '%48,510%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE WINE (\n Winery VARCHAR,\n Price INTEGER\n)\n\nQUESTION: Find the distinct winery of wines having price between 50 and 100.\nSQL QUERY:", "completion": "SELECT DISTINCT Winery FROM WINE WHERE Price BETWEEN 50 AND 100"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5558 (\n \"Election\" text,\n \"Date\" text,\n \"Mayor\" text,\n \"Ward seats\" text,\n \"Votes\" text\n)\n\nQUESTION: When was the Election of 1953?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_5558 WHERE \"Election\" LIKE '%1953%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n agricultural_panel VARCHAR,\n national_university_of_ireland INTEGER\n)\n\nQUESTION: What is the total number of agriculatural panels of the composition with more than 3 National Universities of Ireland?\nSQL QUERY:", "completion": "SELECT COUNT(agricultural_panel) FROM table_name_59 WHERE national_university_of_ireland > 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE WINE (\n Winery VARCHAR\n)\n\nQUESTION: How many wines are produced at Robert Biale winery?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM WINE WHERE Winery LIKE \"%robert biale%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19542477_9 (\n song_s__—_weeks VARCHAR,\n artist_s_ VARCHAR\n)\n\nQUESTION: What is the title of every song, and how many weeks was each song at #1 for One Direction?\nSQL QUERY:", "completion": "SELECT song_s__—_weeks FROM table_19542477_9 WHERE artist_s_ LIKE '%one direction%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12303563_2 (\n winners INTEGER\n)\n\nQUESTION: how many maximum winners\nSQL QUERY:", "completion": "SELECT MAX(winners) FROM table_12303563_2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_23 (\n date VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: When was the attendance 3686?\nSQL QUERY:", "completion": "SELECT date FROM table_name_23 WHERE attendance = '3686'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_20 (\n id number,\n \"represent\" text,\n \"contestant\" text,\n \"age\" number,\n \"height\" text,\n \"hometown\" text\n)\n\nQUESTION: how many delegates are not in their 20 's\nSQL QUERY:", "completion": "SELECT COUNT(\"contestant\") FROM table_204_20 WHERE \"age\" < 20"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n cuts_made INTEGER,\n top_25 VARCHAR,\n top_5 VARCHAR\n)\n\nQUESTION: Name the average cuts for top-25 more than 13 and top-5 less than 11\nSQL QUERY:", "completion": "SELECT AVG(cuts_made) FROM table_name_5 WHERE top_25 > '13' AND top_5 < '11'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n team VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What is the Team when the match was in buenos aires , argentina?\nSQL QUERY:", "completion": "SELECT team FROM table_name_60 WHERE location LIKE \"%buenos aires , argentina%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79975 (\n \"Rank\" real,\n \"Lane\" real,\n \"Name\" text,\n \"Nationality\" text,\n \"Time\" text\n)\n\nQUESTION: What was Maxim Podoprigora's lowest rank?\nSQL QUERY:", "completion": "SELECT MIN(\"Rank\") FROM table_79975 WHERE \"Name\" LIKE '%maxim podoprigora%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n overall INTEGER,\n round VARCHAR,\n pick__number VARCHAR,\n college VARCHAR\n)\n\nQUESTION: What is the overall number for a pick of #10, from Louisiana Tech, and a round bigger than 3?\nSQL QUERY:", "completion": "SELECT SUM(overall) FROM table_name_99 WHERE pick__number = '10' AND college LIKE '%louisiana tech%' AND round > '3'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52874 (\n \"Date\" text,\n \"Score\" text,\n \"Set 1\" text,\n \"Set 2\" text,\n \"Set 3\" text,\n \"Total\" text\n)\n\nQUESTION: What is the Date with a Set 1 with 15 1?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_52874 WHERE \"Set 1\" LIKE '%15–1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_54 (\n starts INTEGER,\n yards INTEGER\n)\n\nQUESTION: What was the average number of starts Michael Henig had in a year when he had more than 1201 yards?\nSQL QUERY:", "completion": "SELECT AVG(starts) FROM table_name_54 WHERE yards > 1201"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n record VARCHAR,\n week VARCHAR\n)\n\nQUESTION: What was their record on week 11?\nSQL QUERY:", "completion": "SELECT record FROM table_name_15 WHERE week LIKE '%11%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n founded INTEGER,\n nickname VARCHAR\n)\n\nQUESTION: Name the lowest Founded with the Name cougars?\nSQL QUERY:", "completion": "SELECT MIN(founded) FROM table_name_42 WHERE nickname LIKE \"%cougars%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18335117_2 (\n original_air_date VARCHAR,\n production_code VARCHAR\n)\n\nQUESTION: When did the episode first air that had a production code of 102?\nSQL QUERY:", "completion": "SELECT original_air_date FROM table_18335117_2 WHERE production_code LIKE '%102%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_15945862_1 (\n december VARCHAR,\n january VARCHAR\n)\n\nQUESTION: What December is 8.77 in January\nSQL QUERY:", "completion": "SELECT december FROM table_15945862_1 WHERE january LIKE \"%8.77%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50955 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: Where is David Frost from?\nSQL QUERY:", "completion": "SELECT \"Place\" FROM table_50955 WHERE \"Player\" LIKE '%david frost%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2220432_1 (\n report VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What was the report in the race where the winning team was Roush Fenway Racing?\nSQL QUERY:", "completion": "SELECT report FROM table_2220432_1 WHERE team LIKE \"%roush fenway racing%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n college VARCHAR,\n player VARCHAR\n)\n\nQUESTION: Which college is Kellen Davis from?\nSQL QUERY:", "completion": "SELECT college FROM table_name_44 WHERE player LIKE \"%kellen davis%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69441 (\n \"Engine\" text,\n \"Displacement\" text,\n \"Power\" text,\n \"Torque\" text,\n \"Year\" real\n)\n\nQUESTION: When is the earliest year with a Power of 90kw (121hp) @ 4000?\nSQL QUERY:", "completion": "SELECT MIN(\"Year\") FROM table_69441 WHERE \"Power\" LIKE '%90kw (121hp) @ 4000%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n host_team VARCHAR,\n final_score VARCHAR\n)\n\nQUESTION: Which Host Team has Final Score of 42-23?\nSQL QUERY:", "completion": "SELECT host_team FROM table_name_86 WHERE final_score LIKE \"%42-23%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_37151 (\n \"Frequency\" text,\n \"Call sign\" text,\n \"Branding\" text,\n \"Format\" text,\n \"Owner\" text\n)\n\nQUESTION: Who owns the station with the frequency FM 92.1?\nSQL QUERY:", "completion": "SELECT \"Owner\" FROM table_37151 WHERE \"Frequency\" LIKE '%fm 92.1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n high_rebounds VARCHAR,\n score VARCHAR\n)\n\nQUESTION: What was the high rebounds for the game that had a score of w 76-66?\nSQL QUERY:", "completion": "SELECT high_rebounds FROM table_name_83 WHERE score LIKE \"%w 76-66%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_33897 (\n \"Position\" real,\n \"Name\" text,\n \"Country\" text,\n \"Win-Loss\" text,\n \"Spread\" real\n)\n\nQUESTION: What country has chunkath, mohan verghese as the name?\nSQL QUERY:", "completion": "SELECT \"Country\" FROM table_33897 WHERE \"Name\" LIKE '%chunkath, mohan verghese%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_211 (\n id number,\n \"pos.\" number,\n \"time\" text,\n \"athlete\" text,\n \"country\" text,\n \"venue\" text,\n \"date\" text\n)\n\nQUESTION: what was the position number of gail devers ?\nSQL QUERY:", "completion": "SELECT \"pos.\" FROM table_203_211 WHERE \"athlete\" LIKE '%gail devers%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_18 (\n grid INTEGER,\n driver VARCHAR,\n laps VARCHAR\n)\n\nQUESTION: What is the low grid for gerhard berger for laps over 56?\nSQL QUERY:", "completion": "SELECT MIN(grid) FROM table_name_18 WHERE driver LIKE \"%gerhard berger%\" AND laps > 56"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_256862_1 (\n legs INTEGER,\n winning_yacht VARCHAR\n)\n\nQUESTION: Name the most legs for steinlager 2\nSQL QUERY:", "completion": "SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht LIKE \"%steinlager 2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_20316 (\n \"Series #\" real,\n \"Season #\" real,\n \"Title\" text,\n \"Directed by:\" text,\n \"Written by:\" text,\n \"Original air date\" text\n)\n\nQUESTION: What season began on december 5, 1953?\nSQL QUERY:", "completion": "SELECT MAX(\"Season #\") FROM table_20316 WHERE \"Original air date\" LIKE '%december 5, 1953%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11269 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Date\" text\n)\n\nQUESTION: Where did the Home Team score 5.10 (40)?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_11269 WHERE \"Home team score\" LIKE '%5.10 (40)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67148 (\n \"Ship\" text,\n \"Site\" text,\n \"Guns\" real,\n \"Naval constructor\" text,\n \"Superintendent\" text\n)\n\nQUESTION: What is the number of guns when the superintendent was Silas Talbot?\nSQL QUERY:", "completion": "SELECT \"Guns\" FROM table_67148 WHERE \"Superintendent\" LIKE '%silas talbot%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n code INTEGER,\n region VARCHAR,\n type VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylv re?\nSQL QUERY:", "completion": "SELECT MIN(code) FROM table_name_98 WHERE type LIKE \"%m%\" AND name LIKE \"%saint-sylvère%\" AND region < 17"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_98 (\n stake VARCHAR,\n occupation VARCHAR\n)\n\nQUESTION: What stake has realtor for American equity realty as their occupation?\nSQL QUERY:", "completion": "SELECT stake FROM table_name_98 WHERE occupation LIKE \"%realtor for american equity realty%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21709 (\n \"Class\" text,\n \"Part 1\" text,\n \"Part 2\" text,\n \"Part 3\" text,\n \"Part 4\" text,\n \"Verb meaning\" text\n)\n\nQUESTION: What's the part 3 of the verb whose class is 4?\nSQL QUERY:", "completion": "SELECT \"Part 3\" FROM table_21709 WHERE \"Class\" LIKE '%4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12755786_8 (\n league INTEGER\n)\n\nQUESTION: what is the least amount in the tournament?\nSQL QUERY:", "completion": "SELECT MIN(league) AS Cup FROM table_12755786_8"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13595 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What is the to par of player hunter mahan?\nSQL QUERY:", "completion": "SELECT \"To par\" FROM table_13595 WHERE \"Player\" LIKE '%hunter mahan%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_58512 (\n \"Week\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Venue\" text,\n \"Attendance\" text\n)\n\nQUESTION: What team was the opponent on 1990-10-21?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_58512 WHERE \"Date\" LIKE '%1990-10-21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n away VARCHAR,\n club VARCHAR\n)\n\nQUESTION: what place has the club of sevilla\nSQL QUERY:", "completion": "SELECT away FROM table_name_76 WHERE club LIKE \"%sevilla%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_22 (\n pl_gp INTEGER,\n reg_gp INTEGER\n)\n\nQUESTION: What's the highest Pl GP with a Reg GP over 18?\nSQL QUERY:", "completion": "SELECT MAX(pl_gp) FROM table_name_22 WHERE reg_gp > 18"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_41 (\n avg INTEGER,\n player VARCHAR,\n fumbles VARCHAR\n)\n\nQUESTION: What was Buck Pierce's highest average when there were less than 2 fumbles?\nSQL QUERY:", "completion": "SELECT MAX(avg) FROM table_name_41 WHERE player LIKE \"%buck pierce%\" AND fumbles < 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n week VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What is the sum of week number(s) had an attendance of 61,985?\nSQL QUERY:", "completion": "SELECT COUNT(week) FROM table_name_95 WHERE attendance LIKE '%61%' LIMIT 1 OFFSET 985"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24329520_8 (\n members VARCHAR,\n borough VARCHAR\n)\n\nQUESTION: What is the number of members that have boroughs of Bandon Bridge?\nSQL QUERY:", "completion": "SELECT COUNT(members) FROM table_24329520_8 WHERE borough LIKE \"%bandon bridge%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_63428 (\n \"Rank\" real,\n \"Player\" text,\n \"Goals\" real,\n \"Apps\" real,\n \"Rate\" real\n)\n\nQUESTION: When rank is more than 10, what is the total rate?\nSQL QUERY:", "completion": "SELECT SUM(\"Rate\") FROM table_63428 WHERE \"Rank\" > 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22916979_5 (\n metropolitan_area VARCHAR,\n densest_incorporated_place VARCHAR\n)\n\nQUESTION: Name the area for north bay village\nSQL QUERY:", "completion": "SELECT metropolitan_area FROM table_22916979_5 WHERE densest_incorporated_place LIKE \"%north bay village%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n date VARCHAR,\n player VARCHAR,\n original_team VARCHAR,\n result VARCHAR\n)\n\nQUESTION: What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result?\nSQL QUERY:", "completion": "SELECT date FROM table_name_26 WHERE original_team LIKE \"%vancouver canucks%\" AND result LIKE \"%matched%\" AND player LIKE \"%ryan kesler%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_57612 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: How big was the crowd in a game that had a home team score of 15.15 (105)?\nSQL QUERY:", "completion": "SELECT \"Crowd\" FROM table_57612 WHERE \"Home team score\" LIKE '%15.15 (105)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_77 (\n tournament VARCHAR\n)\n\nQUESTION: Which tournament had a 2009 result of 1R?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_77 WHERE \"2009\" LIKE '%1r%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2429942_2 (\n top_goalscorer VARCHAR,\n season VARCHAR\n)\n\nQUESTION: Who was the top goalscorer for season 2001-02?\nSQL QUERY:", "completion": "SELECT top_goalscorer FROM table_2429942_2 WHERE season LIKE \"%2001-02%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_46372 (\n \"Game\" real,\n \"Date\" text,\n \"Opponent\" text,\n \"Result\" text,\n \"Score\" text,\n \"Record\" text,\n \"Streak\" text,\n \"Attendance\" real\n)\n\nQUESTION: How many people attended the game whose score was 1-1?\nSQL QUERY:", "completion": "SELECT \"Attendance\" FROM table_46372 WHERE \"Record\" LIKE '%1-1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n score_in_the_final VARCHAR,\n partner VARCHAR\n)\n\nQUESTION: What is Partner Tomas Behrend's Score in the final?\nSQL QUERY:", "completion": "SELECT score_in_the_final FROM table_name_48 WHERE partner LIKE \"%tomas behrend%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_70 (\n wins INTEGER,\n ties VARCHAR,\n losses VARCHAR,\n years VARCHAR\n)\n\nQUESTION: What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?\nSQL QUERY:", "completion": "SELECT AVG(wins) FROM table_name_70 WHERE CAST(losses AS INTEGER) < 174 AND years LIKE \"%1951 to 1956%\" AND CAST(ties AS INTEGER) < 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n react INTEGER,\n mark VARCHAR,\n lane VARCHAR\n)\n\nQUESTION: What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?\nSQL QUERY:", "completion": "SELECT MIN(react) FROM table_name_61 WHERE mark LIKE \"%46.26 sb%\" AND lane > 6"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24910737_1 (\n written_by VARCHAR,\n us_viewers__millions_ VARCHAR\n)\n\nQUESTION: Who wrote the episodes that had a viewership of 7.14?\nSQL QUERY:", "completion": "SELECT written_by FROM table_24910737_1 WHERE us_viewers__millions_ LIKE \"%7.14%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_9469 (\n \"Date\" text,\n \"Home\" text,\n \"Score\" text,\n \"Away\" text,\n \"Attendance\" real\n)\n\nQUESTION: Which Attendance has an Away of real juventud?\nSQL QUERY:", "completion": "SELECT SUM(\"Attendance\") FROM table_9469 WHERE \"Away\" LIKE '%real juventud%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n genre VARCHAR,\n airing_date VARCHAR\n)\n\nQUESTION: Which genre aired on 12 feb- 9 mar?\nSQL QUERY:", "completion": "SELECT genre FROM table_name_27 WHERE airing_date LIKE \"%12 feb- 9 mar%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_74 (\n type VARCHAR,\n name VARCHAR\n)\n\nQUESTION: What is the type of station for ESPN International Sports?\nSQL QUERY:", "completion": "SELECT type FROM table_name_74 WHERE name LIKE \"%espn international sports%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28026156_1 (\n rank__week_ VARCHAR,\n written_by VARCHAR\n)\n\nQUESTION: Where did the episode rank that was written by thomas l. moran?\nSQL QUERY:", "completion": "SELECT rank__week_ FROM table_28026156_1 WHERE written_by LIKE '%thomas l. moran%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n decile INTEGER,\n roll INTEGER\n)\n\nQUESTION: What is the lowest Decile for a school with a roll smaller than 3?\nSQL QUERY:", "completion": "SELECT MIN(decile) FROM table_name_40 WHERE roll < 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2850912_12 (\n pick__number INTEGER,\n college_junior_club_team VARCHAR\n)\n\nQUESTION: What selection was the springfield olympics (nejhl)?\nSQL QUERY:", "completion": "SELECT MAX(pick__number) FROM table_2850912_12 WHERE college_junior_club_team LIKE \"%springfield olympics (nejhl)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55521 (\n \"Country\" text,\n \"Interview\" real,\n \"Swimsuit\" real,\n \"Evening Gown\" real,\n \"Average\" real\n)\n\nQUESTION: What is the highest evening gown score of the contestant from Tennessee with an interview score larger than 9.36 and an average larger than 9.75 have?\nSQL QUERY:", "completion": "SELECT MAX(\"Evening Gown\") FROM table_55521 WHERE \"Interview\" > 9.36 AND \"Country\" LIKE '%tennessee%' AND \"Average\" > 9.75"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_8 (\n country VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Which of the countries showed a score of 71-72=143?\nSQL QUERY:", "completion": "SELECT country FROM table_name_8 WHERE score = '-1'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n games INTEGER,\n number VARCHAR\n)\n\nQUESTION: Which Games is the lowest one that has a Number of 98?\nSQL QUERY:", "completion": "SELECT MIN(games) AS \"↑\" FROM table_name_88 WHERE number LIKE '%98%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30267 (\n \"Pick #\" real,\n \"CFL Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What college did Francis Bellefroid go to?\nSQL QUERY:", "completion": "SELECT \"College\" FROM table_30267 WHERE \"Player\" LIKE '%francis bellefroid%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n country VARCHAR,\n type VARCHAR\n)\n\nQUESTION: What country has a loan as the type?\nSQL QUERY:", "completion": "SELECT country FROM table_name_6 WHERE type LIKE \"%loan%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35612 (\n \"Rank\" text,\n \"Margin\" text,\n \"Opponent\" text,\n \"Venue\" text,\n \"Season\" text\n)\n\nQUESTION: What venue has 2 as the rank?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_35612 WHERE \"Rank\" LIKE '%2%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35916 (\n \"Year\" real,\n \"Location\" text,\n \"Gold\" text,\n \"Silver\" text,\n \"Bronze\" text\n)\n\nQUESTION: Who was the bronze medal when the Asian Games were held in Busan?\nSQL QUERY:", "completion": "SELECT \"Bronze\" FROM table_35916 WHERE \"Location\" LIKE '%busan%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26986076_1 (\n sat_28_aug VARCHAR,\n wed_25_aug VARCHAR\n)\n\nQUESTION: If the time on Wed aug 25 was 20' 09.25 112.324mph, what was the time on sat Aug 28?\nSQL QUERY:", "completion": "SELECT sat_28_aug FROM table_26986076_1 WHERE wed_25_aug LIKE \"%20' 09.25 112.324mph%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_27 (\n wins INTEGER,\n cuts_made VARCHAR,\n events VARCHAR\n)\n\nQUESTION: What is the highest wins a tournament with 3 cuts and more than 4 events has?\nSQL QUERY:", "completion": "SELECT MAX(wins) FROM table_name_27 WHERE cuts_made LIKE '%3%' AND events > 4"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2110959_1 (\n standing VARCHAR,\n pct__percentage VARCHAR\n)\n\nQUESTION: What was the standing in the season that the pct% was 0.769?\nSQL QUERY:", "completion": "SELECT standing FROM table_2110959_1 WHERE pct__percentage LIKE \"%0.769%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n drawn VARCHAR,\n lost VARCHAR\n)\n\nQUESTION: Can you name the drawn with a Lost of 1?\nSQL QUERY:", "completion": "SELECT drawn FROM table_name_60 WHERE lost LIKE \"%1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_12 (\n attendance VARCHAR,\n loss VARCHAR\n)\n\nQUESTION: When the game had a loss of Koch (0-1) what was the attendance?\nSQL QUERY:", "completion": "SELECT attendance FROM table_name_12 WHERE loss LIKE \"%koch (0-1)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_4 (\n id number,\n \"date\" text,\n \"race\" text,\n \"competition\" text,\n \"rider\" text,\n \"country\" text,\n \"location\" text\n)\n\nQUESTION: what are the number of times tour of qatar is listed as the race ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_204_4 WHERE \"race\" LIKE '%tour of qatar%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_80 (\n teams VARCHAR,\n season VARCHAR\n)\n\nQUESTION: Which team had a season 1954-55?\nSQL QUERY:", "completion": "SELECT teams FROM table_name_80 WHERE season LIKE \"%1954-55%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_62 (\n population_112008 INTEGER,\n population_per_square_km VARCHAR,\n population_112006 VARCHAR\n)\n\nQUESTION: Name the least population 1.1.2008 with population per square km of 1.957 and population 1.1.2006 less than 12.67\nSQL QUERY:", "completion": "SELECT MIN(population_112008) FROM table_name_62 WHERE population_per_square_km LIKE '%1.957%' AND population_112006 < '12.67'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32055 (\n \"Title\" text,\n \"Year\" real,\n \"ISBN\" text,\n \"Volume\" text,\n \"Strips\" text,\n \"Pages\" real,\n \"Colors\" text\n)\n\nQUESTION: Tell me the title for pages of 96\nSQL QUERY:", "completion": "SELECT \"Title\" FROM table_32055 WHERE \"Pages\" = 96"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25037577_1 (\n high_school_principal VARCHAR,\n year VARCHAR\n)\n\nQUESTION: How many high school principals were there in 2000-2001?\nSQL QUERY:", "completion": "SELECT high_school_principal FROM table_25037577_1 WHERE year LIKE \"%2000-2001%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12094300_1 (\n interview VARCHAR,\n state VARCHAR\n)\n\nQUESTION: What is the score for the interview for the state of New York?\nSQL QUERY:", "completion": "SELECT interview FROM table_12094300_1 WHERE state LIKE '%new york%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n away_team VARCHAR\n)\n\nQUESTION: What did carlton score while away?\nSQL QUERY:", "completion": "SELECT away_team AS score FROM table_name_65 WHERE away_team LIKE \"%carlton%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n score VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What was the score for game number 30?\nSQL QUERY:", "completion": "SELECT score FROM table_name_71 WHERE game LIKE '%30%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n points VARCHAR,\n goals VARCHAR,\n games VARCHAR\n)\n\nQUESTION: How many points were scored by the player with 79 goals and who played 38 games?\nSQL QUERY:", "completion": "SELECT points FROM table_name_32 WHERE goals LIKE \"%79%\" AND games LIKE \"%38%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n road_team VARCHAR,\n game VARCHAR\n)\n\nQUESTION: Name Road Team of Game of game 4?\nSQL QUERY:", "completion": "SELECT road_team FROM table_name_66 WHERE game LIKE \"%game 4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_42 (\n team VARCHAR,\n races VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which teams had the 1st position and entered 1 race?\nSQL QUERY:", "completion": "SELECT team FROM table_name_42 WHERE races LIKE \"%1%\" AND position LIKE \"%1st%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8942 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" text\n)\n\nQUESTION: What score did John Mahaffey have?\nSQL QUERY:", "completion": "SELECT \"Score\" FROM table_8942 WHERE \"Player\" LIKE '%john mahaffey%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74121 (\n \"Program\" text,\n \"Exercise\" text,\n \"Week\" text,\n \"Muscles Worked\" text,\n \"Type\" text,\n \"Ab Ripper X\" text,\n \"Length\" text,\n \"Equipment\" text\n)\n\nQUESTION: What is the ab ripper x when exercise is x stretch?\nSQL QUERY:", "completion": "SELECT \"Ab Ripper X\" FROM table_74121 WHERE \"Exercise\" LIKE '%x stretch%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27712702_11 (\n team VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Who was the other team on march 27?\nSQL QUERY:", "completion": "SELECT team FROM table_27712702_11 WHERE date LIKE \"%march 27%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_42702 (\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: How many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3?\nSQL QUERY:", "completion": "SELECT COUNT(\"Gold\") FROM table_42702 WHERE \"Silver\" > '1' AND \"Nation\" LIKE '%vietnam%' AND \"Bronze\" < '3'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13026799_3 (\n starts VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What is the number of starts for 1987?\nSQL QUERY:", "completion": "SELECT COUNT(starts) FROM table_13026799_3 WHERE year LIKE '%1987%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n silver INTEGER,\n total INTEGER\n)\n\nQUESTION: What is the average Silver with a Total that is smaller than 1?\nSQL QUERY:", "completion": "SELECT AVG(silver) FROM table_name_97 WHERE total < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_15 (\n venue VARCHAR,\n runner_up VARCHAR,\n winner VARCHAR\n)\n\nQUESTION: What is the venue of the game where hibernian won and the rangers were the runner-up?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_15 WHERE runner_up LIKE \"%rangers%\" AND winner LIKE \"%hibernian%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n tournament VARCHAR\n)\n\nQUESTION: What is the results from 2003 that has a 2012 result of 1r and a 2004 result of 2r and from the Australian Open?\nSQL QUERY:", "completion": "SELECT \"2003\" FROM table_name_67 WHERE \"2012\" LIKE '%1r%' AND \"2004\" LIKE '%2r%' AND tournament LIKE '%australian open%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_36346 (\n \"Throne Name\" text,\n \"Title\" text,\n \"Born-Died\" text,\n \"Entered office\" text,\n \"Left office\" text,\n \"Family Relations\" text\n)\n\nQUESTION: When did the king who entered office in 1012 leave office?\nSQL QUERY:", "completion": "SELECT \"Left office\" FROM table_36346 WHERE \"Entered office\" LIKE '%1012%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n score VARCHAR,\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is Score, when Date is '13 March 1985', and when Away Team is 'Millwall'?\nSQL QUERY:", "completion": "SELECT score FROM table_name_67 WHERE date LIKE \"%13 march 1985%\" AND away_team LIKE \"%millwall%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_16 (\n year INTEGER,\n us_cham_rank INTEGER\n)\n\nQUESTION: Which Year is the lowest one that has a US Cham Rank smaller than 1?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_name_16 WHERE us_cham_rank < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_6 (\n team VARCHAR,\n long VARCHAR\n)\n\nQUESTION: Which team has a long of 67?\nSQL QUERY:", "completion": "SELECT team FROM table_name_6 WHERE long LIKE \"%67%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27615896_18 (\n sd VARCHAR,\n status VARCHAR\n)\n\nQUESTION: What is the total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]?\nSQL QUERY:", "completion": "SELECT COUNT(sd) FROM table_27615896_18 WHERE status LIKE '%quarterfinals lost to novak djokovic [1]%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE customer (\n acc_type VARCHAR\n)\n\nQUESTION: How many distinct types of accounts are there?\nSQL QUERY:", "completion": "SELECT COUNT(DISTINCT acc_type) FROM customer"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n country VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What country was the game in when the player was Craig Stadler?\nSQL QUERY:", "completion": "SELECT country FROM table_name_20 WHERE player LIKE \"%craig stadler%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_18064020_21 (\n no_yds VARCHAR,\n tfl_yds VARCHAR\n)\n\nQUESTION: How many yards for the player with tfl-yds of 2.5-4?\nSQL QUERY:", "completion": "SELECT no_yds FROM table_18064020_21 WHERE tfl_yds LIKE \"%2.5-4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n run_4 VARCHAR,\n run_1 VARCHAR\n)\n\nQUESTION: Which Run 4 has a Run 1 of 1:25.82?\nSQL QUERY:", "completion": "SELECT run_4 FROM table_name_59 WHERE run_1 LIKE \"%1:25.82%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5219 (\n \"Variant id\" text,\n \"5\\u2019UTR splice\" text,\n \"Coding\" text,\n \"3\\u2019UTR sequence\" text,\n \"GenBank id\" text\n)\n\nQUESTION: Which Variant id has the GenBank id of nm_005411.4?\nSQL QUERY:", "completion": "SELECT \"Variant id\" FROM table_5219 WHERE \"GenBank id\" LIKE '%nm_005411.4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n tie_no VARCHAR,\n home_team VARCHAR\n)\n\nQUESTION: What is the tie no for the home team swansea city?\nSQL QUERY:", "completion": "SELECT tie_no FROM table_name_26 WHERE home_team LIKE \"%swansea city%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n home_team VARCHAR,\n tie_no VARCHAR\n)\n\nQUESTION: What home team had 2 ties?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_86 WHERE tie_no LIKE \"%2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19131921_1 (\n station VARCHAR,\n frequency VARCHAR\n)\n\nQUESTION: Which station has the frequency of 107.3?\nSQL QUERY:", "completion": "SELECT station FROM table_19131921_1 WHERE frequency LIKE \"%107.3%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_66 (\n date VARCHAR,\n partner VARCHAR\n)\n\nQUESTION: Which Date has a Partner of daniella dominikovic?\nSQL QUERY:", "completion": "SELECT date FROM table_name_66 WHERE partner LIKE \"%daniella dominikovic%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_203_506 (\n id number,\n \"opponent\" text,\n \"played\" number,\n \"won\" number,\n \"lost\" number,\n \"drawn\" number,\n \"% won overall\" text\n)\n\nQUESTION: teams where the number of games played was the same as number of games won .\nSQL QUERY:", "completion": "SELECT \"opponent\" FROM table_203_506 WHERE \"played\" = \"won\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_16278673_1 (\n population VARCHAR,\n municipality VARCHAR\n)\n\nQUESTION: Name the population for s rv gur\nSQL QUERY:", "completion": "SELECT population FROM table_16278673_1 WHERE municipality LIKE \"%sørvágur%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n competition VARCHAR,\n result VARCHAR\n)\n\nQUESTION: What competition has 17-1 as the result?\nSQL QUERY:", "completion": "SELECT competition FROM table_name_71 WHERE result LIKE \"%17-1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n lost INTEGER,\n goals_against VARCHAR,\n position VARCHAR\n)\n\nQUESTION: What is the most losses for positions under 15 and 66 goals against?\nSQL QUERY:", "completion": "SELECT MAX(lost) FROM table_name_50 WHERE goals_against LIKE '%66%' AND position < '15'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_51 (\n icao VARCHAR,\n city VARCHAR\n)\n\nQUESTION: I want the ICAO for city of xi'an\nSQL QUERY:", "completion": "SELECT icao FROM table_name_51 WHERE city LIKE '%xi''an%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n opponent VARCHAR,\n week VARCHAR\n)\n\nQUESTION: Who was the opponent for week 6?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_40 WHERE week LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_71 (\n score INTEGER,\n player VARCHAR\n)\n\nQUESTION: what is the average score for s ren kjeldsen?\nSQL QUERY:", "completion": "SELECT AVG(score) FROM table_name_71 WHERE player LIKE \"%søren kjeldsen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_19 (\n result VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What was the result of the game played in front of 65,473?\nSQL QUERY:", "completion": "SELECT result FROM table_name_19 WHERE attendance LIKE \"%65,473%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n competition VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What competition listed is dated November 17, 2003?\nSQL QUERY:", "completion": "SELECT competition FROM table_name_32 WHERE date LIKE \"%november 17, 2003%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_50 (\n player VARCHAR,\n position VARCHAR\n)\n\nQUESTION: Which player is a centre?\nSQL QUERY:", "completion": "SELECT player FROM table_name_50 WHERE position LIKE \"%centre%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1342393_23 (\n result VARCHAR,\n district VARCHAR\n)\n\nQUESTION: Name the total number of result for mississippi 4?\nSQL QUERY:", "completion": "SELECT COUNT(result) FROM table_1342393_23 WHERE district LIKE \"%mississippi 4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_34 (\n margin VARCHAR,\n championship VARCHAR\n)\n\nQUESTION: What is the margin for the Masters Tournament (2) championship?\nSQL QUERY:", "completion": "SELECT margin FROM table_name_34 WHERE championship LIKE \"%masters tournament (2)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n country VARCHAR,\n score VARCHAR\n)\n\nQUESTION: WHAT COUNTRY HAS A SCORE OF 68-70=138?\nSQL QUERY:", "completion": "SELECT country FROM table_name_58 WHERE score = '-2'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_55109 (\n \"Team\" text,\n \"City/Area\" text,\n \"Arena\" text,\n \"Capacity\" text,\n \"Last season\" text\n)\n\nQUESTION: What is the last season the Worcester Wolves played?\nSQL QUERY:", "completion": "SELECT \"Last season\" FROM table_55109 WHERE \"Team\" LIKE '%worcester wolves%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25244412_1 (\n renewable_electricity_w_o_hydro__gw•h_ VARCHAR,\n _percentage_renewable VARCHAR\n)\n\nQUESTION: What is the amount of renewable electricity without hydrogen power when the percentage of renewable energy is 83.4?\nSQL QUERY:", "completion": "SELECT renewable_electricity_w_o_hydro__gw•h_ FROM table_25244412_1 WHERE _percentage_renewable LIKE \"%83.4%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n venue VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: Where was the game played where North Melbourne was the away team?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_40 WHERE away_team LIKE \"%north melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61426 (\n \"County\" text,\n \"Precincts\" text,\n \"C. Abate\" text,\n \"R. Bacon\" text,\n \"D. Shulman\" text\n)\n\nQUESTION: What is the number for R Bacon in Passaic County?\nSQL QUERY:", "completion": "SELECT \"R. Bacon\" FROM table_61426 WHERE \"County\" LIKE '%passaic%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n margin_of_victory VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: What's the margin of victory during the Pocono Northeast Classic?\nSQL QUERY:", "completion": "SELECT margin_of_victory FROM table_name_55 WHERE tournament LIKE \"%pocono northeast classic%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_83 (\n date VARCHAR,\n athlete VARCHAR,\n event VARCHAR\n)\n\nQUESTION: What day did Chris Maddocks compete in the 35000 m?\nSQL QUERY:", "completion": "SELECT date FROM table_name_83 WHERE athlete LIKE \"%chris maddocks%\" AND event LIKE \"%35000 m%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22853654_10 (\n round VARCHAR,\n edition VARCHAR\n)\n\nQUESTION: How many rounds were there in the 2006 davis cup europe/africa group I?\nSQL QUERY:", "completion": "SELECT COUNT(round) FROM table_22853654_10 WHERE edition LIKE \"%2006 davis cup europe/africa group i%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5128 (\n \"Race\" text,\n \"Length\" text,\n \"Class\" text,\n \"Circuit\" text,\n \"Date\" text\n)\n\nQUESTION: What is the class of the Charlotte Camel gt 500 race?\nSQL QUERY:", "completion": "SELECT \"Class\" FROM table_5128 WHERE \"Race\" LIKE '%charlotte camel gt 500%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_32483 (\n \"Band Ch.\" real,\n \"Call\" text,\n \"City\" text,\n \"Owner\" text,\n \"Operator\" text,\n \"Virt. Ch.\" real,\n \"Nickname\" text,\n \"Programming\" text\n)\n\nQUESTION: What channel has an operator of ivptc?\nSQL QUERY:", "completion": "SELECT \"Programming\" FROM table_32483 WHERE \"Operator\" LIKE '%ivptc%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n top_10 INTEGER,\n cuts_made VARCHAR,\n wins VARCHAR\n)\n\nQUESTION: What is the sum of the value Top-10 that has a Cuts value of 2 and a Wins value smaller than 0?\nSQL QUERY:", "completion": "SELECT SUM(top_10) FROM table_name_26 WHERE cuts_made LIKE '%2%' AND wins < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_43 (\n week INTEGER,\n opponent VARCHAR\n)\n\nQUESTION: Opponent of at san francisco 49ers had what lowest week?\nSQL QUERY:", "completion": "SELECT MIN(week) FROM table_name_43 WHERE opponent LIKE \"%at san francisco 49ers%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_58 (\n result VARCHAR,\n year VARCHAR,\n nominated_work VARCHAR\n)\n\nQUESTION: What is the result for the king and I after 2006?\nSQL QUERY:", "completion": "SELECT result FROM table_name_58 WHERE year > '2006' AND nominated_work LIKE '%the king and i%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25675509_1 (\n date__yyyy_mm_dd_ VARCHAR,\n latitude VARCHAR\n)\n\nQUESTION: On which date did the shock at latitude 08.909 s occur?\nSQL QUERY:", "completion": "SELECT date__yyyy_mm_dd_ FROM table_25675509_1 WHERE latitude LIKE '%08.909° s%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25938117_1 (\n winner VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Name the winner for jan 24\nSQL QUERY:", "completion": "SELECT winner FROM table_25938117_1 WHERE date LIKE \"%jan 24%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_38902 (\n \"Pos.\" real,\n \"Car #\" real,\n \"Driver\" text,\n \"Make\" text,\n \"Team\" text\n)\n\nQUESTION: Which Car # has a Make of toyota, and a Pos of 7?\nSQL QUERY:", "completion": "SELECT MAX(\"Car #\") FROM table_38902 WHERE \"Make\" LIKE '%toyota%' AND \"Pos.\" = 7"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29085880_1 (\n no VARCHAR,\n us_viewers__million_ VARCHAR\n)\n\nQUESTION: Which episode number saw 1.312 million U.S. Wviewers?\nSQL QUERY:", "completion": "SELECT no FROM table_29085880_1 WHERE us_viewers__million_ LIKE \"%1.312%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_72 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the score on 2 October 2011?\nSQL QUERY:", "completion": "SELECT score FROM table_name_72 WHERE date LIKE \"%2 october 2011%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10451 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: At which venue did an away team play with a score of 15.13 (103)?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_10451 WHERE \"Away team score\" LIKE '%15.13 (103)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43187 (\n \"Team\" text,\n \"Match\" text,\n \"Points\" text,\n \"Draw\" text,\n \"Lost\" text\n)\n\nQUESTION: Who was the team that lost but had 10 points?\nSQL QUERY:", "completion": "SELECT \"Lost\" FROM table_43187 WHERE \"Points\" LIKE '%10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_3365 (\n \"Player\" text,\n \"Touchdowns\" real,\n \"Extra points\" real,\n \"Field goals\" real,\n \"Safeties\" real,\n \"Points\" real\n)\n\nQUESTION: The player who had 5 touchdowns had how many extra points?\nSQL QUERY:", "completion": "SELECT \"Extra points\" FROM table_3365 WHERE \"Touchdowns\" = 5"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43316 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the total number of bronze medals, and 4 silver medals, and 2 gold medals?\nSQL QUERY:", "completion": "SELECT COUNT(\"Bronze\") FROM table_43316 WHERE \"Silver\" = 4 AND \"Gold\" > 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n venue VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What is the venue of the game where Geelong was the away team?\nSQL QUERY:", "completion": "SELECT venue FROM table_name_61 WHERE away_team LIKE \"%geelong%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_44 (\n rider VARCHAR,\n rank VARCHAR,\n team VARCHAR\n)\n\nQUESTION: Who is Team Suzuki's rider and ranks higher than 6?\nSQL QUERY:", "completion": "SELECT rider FROM table_name_44 WHERE CAST(rank AS INTEGER) > 6 AND team LIKE '%suzuki%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_43828 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Who had the high rebounds for game 12?\nSQL QUERY:", "completion": "SELECT \"High rebounds\" FROM table_43828 WHERE \"Game\" = 12"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_35 (\n pos VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What was the position in 1997?\nSQL QUERY:", "completion": "SELECT pos FROM table_name_35 WHERE year LIKE '%1997%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_85 (\n method VARCHAR,\n time VARCHAR\n)\n\nQUESTION: Which method had a time of 0:46?\nSQL QUERY:", "completion": "SELECT method FROM table_name_85 WHERE time LIKE \"%0:46%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_28 (\n date VARCHAR,\n serial VARCHAR\n)\n\nQUESTION: Which date has serial of 11c?\nSQL QUERY:", "completion": "SELECT date FROM table_name_28 WHERE serial LIKE \"%11c%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_65 (\n year INTEGER,\n rank VARCHAR,\n floors VARCHAR\n)\n\nQUESTION: What was the earliest year with rank 20 and less than 60 floors?\nSQL QUERY:", "completion": "SELECT MIN(year) FROM table_name_65 WHERE rank LIKE '%20%' AND floors < 60"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n losses INTEGER,\n byes INTEGER\n)\n\nQUESTION: What were the highest losses for a byes larger than 2?\nSQL QUERY:", "completion": "SELECT MAX(losses) FROM table_name_99 WHERE byes > 2"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n score VARCHAR,\n december VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: December smaller than 21, and a Opponent of buffalo sabres had what score?\nSQL QUERY:", "completion": "SELECT score FROM table_name_68 WHERE CAST(december AS INTEGER) < 21 AND opponent LIKE '%buffalo sabres%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_29 (\n championship_game VARCHAR,\n conference VARCHAR\n)\n\nQUESTION: Tell me the championship game for big eight\nSQL QUERY:", "completion": "SELECT championship_game FROM table_name_29 WHERE conference LIKE \"%big eight%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27733909_10 (\n high_assists VARCHAR,\n game VARCHAR\n)\n\nQUESTION: Who had the highest assists in game 75?\nSQL QUERY:", "completion": "SELECT high_assists FROM table_27733909_10 WHERE game LIKE '%75%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_175980_2 (\n premiere VARCHAR,\n finale VARCHAR\n)\n\nQUESTION: What premieres had a finale on May 25, 2004?\nSQL QUERY:", "completion": "SELECT premiere FROM table_175980_2 WHERE finale LIKE '%may 25, 2004%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n podium INTEGER,\n pole VARCHAR,\n season VARCHAR,\n flap VARCHAR,\n race VARCHAR\n)\n\nQUESTION: Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole smaller than 0 had what average podium?\nSQL QUERY:", "completion": "SELECT AVG(podium) FROM table_name_10 WHERE flap LIKE '%0%' AND race < 2 AND season LIKE '%1989%' AND pole < 0"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_87 (\n engine VARCHAR,\n chassis VARCHAR\n)\n\nQUESTION: What was the engine when the chassis was a porsche 718??\nSQL QUERY:", "completion": "SELECT engine FROM table_name_87 WHERE chassis LIKE \"%porsche 718%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_66564 (\n \"Pick\" real,\n \"Team\" text,\n \"Player\" text,\n \"Position\" text,\n \"College\" text\n)\n\nQUESTION: What is the position of the player with a pick less than 3 from team san diego?\nSQL QUERY:", "completion": "SELECT \"Position\" FROM table_66564 WHERE \"Pick\" < 3 AND \"Team\" LIKE '%san diego%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26218124_1 (\n original_club VARCHAR,\n name VARCHAR\n)\n\nQUESTION: Which club was originally named hapoel katamon jerusalem f.c.?\nSQL QUERY:", "completion": "SELECT original_club FROM table_26218124_1 WHERE name LIKE \"%hapoel katamon jerusalem f.c.%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n bowl_game VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What bowl game was played on Dec. 26, 2007?\nSQL QUERY:", "completion": "SELECT bowl_game FROM table_name_79 WHERE date LIKE \"%dec. 26, 2007%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_79291 (\n \"Generic Name\" text,\n \"Trade Name\" text,\n \"FDA approved\" text,\n \"TGA approved\" text,\n \"EMA approved\" text,\n \"MHRA approved\" text\n)\n\nQUESTION: Is Blonanserin MHRA approved?\nSQL QUERY:", "completion": "SELECT \"MHRA approved\" FROM table_79291 WHERE \"Generic Name\" LIKE '%blonanserin%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_train_205 (\n \"id\" int,\n \"anemia\" bool,\n \"gender\" string,\n \"renal_disease\" bool,\n \"hematocrit_hct\" float,\n \"creatinine_gfr\" int,\n \"fasting_plasma_triglyceride\" int,\n \"thiazolidinediones\" bool,\n \"age\" float,\n \"NOUSE\" float\n)\n\nQUESTION: male or female 18 _ 65 years of age;\nSQL QUERY:", "completion": "SELECT * FROM table_train_205 WHERE (gender LIKE '%male%' OR gender LIKE '%female%') AND (age >= 18 AND age <= 65)"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_77379 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What is the record for the St. Louis team?\nSQL QUERY:", "completion": "SELECT \"Record\" FROM table_77379 WHERE \"Team\" LIKE '%st. louis%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_10 (\n location VARCHAR,\n game VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What is the location before game 44, and a 20-16 record?\nSQL QUERY:", "completion": "SELECT location FROM table_name_10 WHERE CAST(game AS INTEGER) < 44 AND record LIKE '%20-16%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29743928_4 (\n games VARCHAR,\n years VARCHAR\n)\n\nQUESTION: When 2010 is the year what is the game?\nSQL QUERY:", "completion": "SELECT games FROM table_29743928_4 WHERE years LIKE \"%2010%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_88 (\n year INTEGER,\n bronze VARCHAR\n)\n\nQUESTION: WHAT YEAR HAS A BRONZE OF VALENTIN NOVIKOV?\nSQL QUERY:", "completion": "SELECT AVG(year) FROM table_name_88 WHERE LOWER(bronze) LIKE '%valentin novikov%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11677691_3 (\n player VARCHAR,\n hometown VARCHAR\n)\n\nQUESTION: What player's hometown is Roebuck, South Carolina?\nSQL QUERY:", "completion": "SELECT player FROM table_11677691_3 WHERE LOWER(hometown) LIKE \"%roebuck, south carolina%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1059743_2 (\n member_association VARCHAR,\n points VARCHAR\n)\n\nQUESTION: How many countries earned 177.2 points?\nSQL QUERY:", "completion": "SELECT COUNT(member_association) FROM table_1059743_2 WHERE points LIKE \"%177.2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n final_round VARCHAR,\n weight VARCHAR\n)\n\nQUESTION: What final round had a weight of 245?\nSQL QUERY:", "completion": "SELECT final_round FROM table_name_61 WHERE weight LIKE '%245%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_25 (\n circuit VARCHAR,\n round VARCHAR\n)\n\nQUESTION: Name the circuit for round 18\nSQL QUERY:", "completion": "SELECT circuit FROM table_name_25 WHERE round LIKE '%18%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_31576 (\n \"Date\" text,\n \"Venue\" text,\n \"Score\" text,\n \"Result\" text,\n \"Competition\" text\n)\n\nQUESTION: Tell me the venue of 29 april 2007\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_31576 WHERE \"Date\" LIKE '%29 april 2007%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE airport (\n International_Passengers VARCHAR\n)\n\nQUESTION: Show all information on the airport that has the largest number of international passengers.\nSQL QUERY:", "completion": "SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_48 (\n date VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What is Date, when Game is '8'?\nSQL QUERY:", "completion": "SELECT date FROM table_name_48 WHERE game LIKE '%8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n season INTEGER,\n position VARCHAR\n)\n\nQUESTION: What is the average of seasons for 10th place finishes?\nSQL QUERY:", "completion": "SELECT AVG(season) FROM table_name_95 WHERE position LIKE \"%10th%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2803662_3 (\n town VARCHAR,\n tournament VARCHAR\n)\n\nQUESTION: When grand prix de sar la princesse lalla meryem is the tournament what is the town?\nSQL QUERY:", "completion": "SELECT town FROM table_2803662_3 WHERE tournament LIKE \"%grand prix de sar la princesse lalla meryem%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64155 (\n \"Date\" text,\n \"Label\" text,\n \"Format\" text,\n \"Country\" text,\n \"Catalog\" text\n)\n\nQUESTION: What is the format for Catalog CL 2372?\nSQL QUERY:", "completion": "SELECT \"Format\" FROM table_64155 WHERE \"Catalog\" LIKE '%cl 2372%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_19283806_4 (\n location VARCHAR,\n median_household_income__2011_ VARCHAR\n)\n\nQUESTION: How many locations have a median household income in 2011 of $71,479?\nSQL QUERY:", "completion": "SELECT COUNT(location) FROM table_19283806_4 WHERE median_household_income__2011_ LIKE \"%$71,479%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27596 (\n \"Team\" text,\n \"Outgoing manager\" text,\n \"Manner of departure\" text,\n \"Date of vacancy\" text,\n \"Position in table\" text,\n \"Replaced by\" text,\n \"Date of appointment\" text\n)\n\nQUESTION: Name the number of teams for 11th position september 10\nSQL QUERY:", "completion": "SELECT COUNT(\"Team\") FROM table_27596 WHERE \"Position in table\" LIKE '%11th%' AND \"Date of appointment\" LIKE '%september 10%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n performer_1 VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Date of 8 july 1994 involves which performer 1?\nSQL QUERY:", "completion": "SELECT performer_1 FROM table_name_31 WHERE date LIKE \"%8 july 1994%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_61365 (\n \"Club\" text,\n \"First season in top division\" text,\n \"Number of seasons in top division\" real,\n \"First season of current spell in top division\" text,\n \"Number of seasons in Liga MX\" real,\n \"Top division titles\" real\n)\n\nQUESTION: How many top division titles does Club Guadalajara have, with more than 42 seasons in Liga MX?\nSQL QUERY:", "completion": "SELECT SUM(\"Top division titles\") FROM table_61365 WHERE \"Number of seasons in Liga MX\" > 42 AND \"Club\" LIKE '%guadalajara%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n season VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: In what season is Victoria the Opponent?\nSQL QUERY:", "completion": "SELECT season FROM table_name_97 WHERE opponent LIKE \"%victoria%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10128185_2 (\n wales INTEGER,\n northern_england VARCHAR\n)\n\nQUESTION: How many votes did Wales cast when Northern England cast 6?\nSQL QUERY:", "completion": "SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2139023_2 (\n outcome VARCHAR,\n championship VARCHAR\n)\n\nQUESTION: What was the result of the Australian Championships?\nSQL QUERY:", "completion": "SELECT outcome FROM table_2139023_2 WHERE championship LIKE '%australian championships%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_30121082_1 (\n area__acres__ INTEGER,\n poor_law_union VARCHAR,\n civil_parish VARCHAR\n)\n\nQUESTION: What is the greatest area when the Poor Law Union is Skibbereen and the Civil Parish is Tullagh?\nSQL QUERY:", "completion": "SELECT MAX(area__acres__) FROM table_30121082_1 WHERE poor_law_union LIKE \"%skibbereen%\" AND civil_parish LIKE \"%tullagh%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13619053_9 (\n team VARCHAR,\n date VARCHAR\n)\n\nQUESTION: Which team played on April 1?\nSQL QUERY:", "completion": "SELECT team FROM table_13619053_9 WHERE date LIKE '%april 1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28794440_1 (\n station_type VARCHAR,\n location VARCHAR\n)\n\nQUESTION: What types of stations are located in Cebu?\nSQL QUERY:", "completion": "SELECT station_type FROM table_28794440_1 WHERE location LIKE '%cebu%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_37 (\n result VARCHAR,\n year VARCHAR,\n award VARCHAR,\n category VARCHAR\n)\n\nQUESTION: What was the result of the bodil award winning film from before 2005 in the best actress category?\nSQL QUERY:", "completion": "SELECT result FROM table_name_37 WHERE award LIKE \"%bodil award%\" AND category LIKE \"%best actress%\" AND year = \"2005\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_24 (\n points VARCHAR,\n drawn VARCHAR,\n against VARCHAR\n)\n\nQUESTION: What is the total number of points of the team with less than 4 drawn and an against of 34?\nSQL QUERY:", "completion": "SELECT COUNT(points) FROM table_name_24 WHERE drawn < '4' AND against LIKE '%34%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1675 (\n \"Series #\" real,\n \"Season #\" real,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original air date\" text\n)\n\nQUESTION: Who wrote season 10\nSQL QUERY:", "completion": "SELECT \"Written by\" FROM table_1675 WHERE \"Season #\" = 10"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_14154271_2 (\n rnd VARCHAR,\n lmp2_winning_team VARCHAR\n)\n\nQUESTION: Jos verstappen jeroen bleekemolen is on Imp2 winning team where all are rnd.\nSQL QUERY:", "completion": "SELECT rnd FROM table_14154271_2 WHERE lmp2_winning_team LIKE \"%jos verstappen jeroen bleekemolen%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_21330550_2 (\n time VARCHAR,\n acc_team VARCHAR\n)\n\nQUESTION: What time was the acc team #17 wake forest?\nSQL QUERY:", "completion": "SELECT time FROM table_21330550_2 WHERE acc_team LIKE '%#17 wake forest%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24055352_1 (\n high_school VARCHAR,\n number VARCHAR\n)\n\nQUESTION: What is the high school of the player number 5?\nSQL QUERY:", "completion": "SELECT high_school FROM table_24055352_1 WHERE number LIKE '%5%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_20 (\n visitor VARCHAR,\n game__number VARCHAR,\n home VARCHAR\n)\n\nQUESTION: What is listed for Vistor that has a Game # that is smaller than 67 and has a Home listed as Buffalo?\nSQL QUERY:", "completion": "SELECT visitor FROM table_name_20 WHERE CAST(game__number AS INTEGER) < 67 AND home LIKE '%buffalo%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_59 (\n week VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What week had attendance of 48,667?\nSQL QUERY:", "completion": "SELECT COUNT(week) FROM table_name_59 WHERE attendance LIKE '%48%' LIMIT 1 OFFSET 667"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45229 (\n \"Position\" real,\n \"Team\" text,\n \"Played\" real,\n \"Drawn\" real,\n \"Lost\" real,\n \"Goals For\" real,\n \"Goals Against\" real,\n \"Goal Difference\" text,\n \"Points 1\" real\n)\n\nQUESTION: What are the average goals for with a drawn higher than 7 and goals against less than 86, as well as more than 11 losses and more than 42 games played?\nSQL QUERY:", "completion": "SELECT AVG(\"Goals For\") FROM table_45229 WHERE \"Drawn\" > 7 AND \"Goals Against\" < 86 AND \"Lost\" > 11 AND \"Played\" > 42"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67003 (\n \"Season\" text,\n \"Northumberland Senior Cup\" text,\n \"Northumberland Senior Benevolent Bowl\" text,\n \"Northumberland Minor Cup\" text,\n \"Northumberland Women's Cup\" text\n)\n\nQUESTION: Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Women's Cup was won by Blyth Spartans Ladies?\nSQL QUERY:", "completion": "SELECT \"Northumberland Senior Benevolent Bowl\" FROM table_67003 WHERE \"Northumberland Women's Cup\" LIKE '%blyth spartans ladies%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n silver INTEGER,\n bronze VARCHAR,\n gold VARCHAR\n)\n\nQUESTION: Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0?\nSQL QUERY:", "completion": "SELECT MIN(silver) FROM table_name_56 WHERE bronze < '1' AND gold > '0'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n week VARCHAR,\n result VARCHAR\n)\n\nQUESTION: Name the week when the result was l 38-17\nSQL QUERY:", "completion": "SELECT week FROM table_name_61 WHERE result LIKE '%l 38-17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_92 (\n hanzi VARCHAR,\n regional_population_2010_ VARCHAR\n)\n\nQUESTION: Which Hanzi has a Regional Population of 4,591,972 in 2010?\nSQL QUERY:", "completion": "SELECT hanzi FROM table_name_92 WHERE regional_population_2010_ LIKE \"%4,591,972%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_45197 (\n \"Tie no\" text,\n \"Home team\" text,\n \"Score\" text,\n \"Away team\" text,\n \"Date\" text\n)\n\nQUESTION: What was the tie no when Oxford city was the away team?\nSQL QUERY:", "completion": "SELECT \"Tie no\" FROM table_45197 WHERE \"Away team\" LIKE '%oxford city%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n opponent VARCHAR,\n march VARCHAR\n)\n\nQUESTION: Which opponent was present on March 28?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_40 WHERE march LIKE '%28%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23915973_1 (\n coverage VARCHAR,\n power_kw VARCHAR\n)\n\nQUESTION: What is the coverage when power kw is 25kw?\nSQL QUERY:", "completion": "SELECT coverage FROM table_23915973_1 WHERE power_kw LIKE \"%25kw%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_67 (\n outcome VARCHAR,\n opponent_in_the_final VARCHAR\n)\n\nQUESTION: What is the Outcome when All England Open is the Opponent in the final?\nSQL QUERY:", "completion": "SELECT outcome FROM table_name_67 WHERE opponent_in_the_final LIKE \"%all england open%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48783 (\n \"Date\" text,\n \"Opponents\" text,\n \"H / A\" text,\n \"Result F \\u2013 A\" text,\n \"Attendance\" real\n)\n\nQUESTION: What is the H/A when Cork City is the opponent?\nSQL QUERY:", "completion": "SELECT \"H / A\" FROM table_48783 WHERE \"Opponents\" LIKE '%cork city%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_29783 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: What is the location and attendance on October 18?\nSQL QUERY:", "completion": "SELECT \"Location Attendance\" FROM table_29783 WHERE \"Date\" LIKE '%october 18%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13534 (\n \"Place\" real,\n \"Team\" text,\n \"Played\" real,\n \"Draw\" real,\n \"Lost\" real,\n \"Goals Scored\" real,\n \"Goals Conceded\" real,\n \"Points\" real\n)\n\nQUESTION: What is the total goals scored with more than 11 points, 18 goals conceded, and played fewer than 18 times?\nSQL QUERY:", "completion": "SELECT COUNT(\"Goals Scored\") FROM table_13534 WHERE \"Points\" > 11 AND \"Goals Conceded\" = 18 AND \"Played\" < 18"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_31 (\n week INTEGER,\n opponent VARCHAR\n)\n\nQUESTION: What week did Cleveland Browns played?\nSQL QUERY:", "completion": "SELECT AVG(week) FROM table_name_31 WHERE opponent LIKE \"%cleveland browns%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1663 (\n \"Game\" real,\n \"Date\" text,\n \"Team\" text,\n \"Score\" text,\n \"High points\" text,\n \"High rebounds\" text,\n \"High assists\" text,\n \"Location Attendance\" text,\n \"Record\" text\n)\n\nQUESTION: Name the date for l 92 103 (ot)\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_1663 WHERE \"Score\" LIKE '%l 92–103 (ot)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_25800134_3 (\n writer_s_ VARCHAR,\n season__number VARCHAR\n)\n\nQUESTION: How many writers were for season #1?\nSQL QUERY:", "completion": "SELECT COUNT(writer_s_) FROM table_25800134_3 WHERE season__number LIKE '%1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_46 (\n date VARCHAR,\n opponent_in_final VARCHAR\n)\n\nQUESTION: What date was the opponent in the final Virginie Pichet?\nSQL QUERY:", "completion": "SELECT date FROM table_name_46 WHERE opponent_in_final LIKE \"%virginie pichet%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27116 (\n \"Afghan\" text,\n \"Albanian\" text,\n \"Arabic\" text,\n \"Bangladeshi\" text,\n \"Bosnian\" text,\n \"Chinese\" text,\n \"Colombian\" text,\n \"Cook Islands\" text\n)\n\nQUESTION: how many afghan in banglash is hungarian\nSQL QUERY:", "completion": "SELECT \"Afghan\" FROM table_27116 WHERE \"Bangladeshi\" LIKE '%hungarian%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_2 (\n Id VARCHAR\n)\n\nQUESTION: Name the 2001 with 2007 of sf\nSQL QUERY:", "completion": "SELECT 2001 FROM table_name_2 WHERE 2007 LIKE \"%sf%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_76 (\n open_1st_viii VARCHAR,\n crew VARCHAR\n)\n\nQUESTION: What is the Open 1st VIII for the 2012 crew?\nSQL QUERY:", "completion": "SELECT open_1st_viii FROM table_name_76 WHERE crew LIKE '%2012%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17323092_5 (\n team VARCHAR,\n score VARCHAR\n)\n\nQUESTION: Whic teams scored l 97 107 (ot)\nSQL QUERY:", "completion": "SELECT team FROM table_17323092_5 WHERE score LIKE \"%l 97–107 (ot)%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n role VARCHAR,\n genre VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What drama role does she play in 1973?\nSQL QUERY:", "completion": "SELECT role FROM table_name_57 WHERE genre LIKE \"%drama%\" AND year LIKE \"%1973%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_22839669_1 (\n championship VARCHAR,\n score_in_the_final VARCHAR\n)\n\nQUESTION: What championship had a final score of 6 4, 6 2, 6 2?\nSQL QUERY:", "completion": "SELECT championship FROM table_22839669_1 WHERE score_in_the_final LIKE \"%6–4, 6–2, 6–2%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10539 (\n \"Episode #\" text,\n \"Title\" text,\n \"Directed by\" text,\n \"Written by\" text,\n \"Original airdate\" text\n)\n\nQUESTION: What was the original air date when ed horowitz wrote it?\nSQL QUERY:", "completion": "SELECT \"Original airdate\" FROM table_10539 WHERE \"Written by\" LIKE '%ed horowitz%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n producer_director VARCHAR,\n film VARCHAR\n)\n\nQUESTION: Who was the Producer/Director of Fear Beneath?\nSQL QUERY:", "completion": "SELECT producer_director FROM table_name_40 WHERE film LIKE \"%fear beneath%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2102945_1 (\n viewers__in_millions_ VARCHAR,\n run_time VARCHAR\n)\n\nQUESTION: When 24:31 is the run time how many measurements of viewers (in millions) are there?\nSQL QUERY:", "completion": "SELECT COUNT(viewers__in_millions_) FROM table_2102945_1 WHERE run_time LIKE \"%24:31%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_49 (\n record VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the Record of the game on September 6?\nSQL QUERY:", "completion": "SELECT record FROM table_name_49 WHERE date LIKE \"%september 6%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_90 (\n profession VARCHAR,\n city VARCHAR\n)\n\nQUESTION: What is the profession of the housemate from Leskovac city?\nSQL QUERY:", "completion": "SELECT profession FROM table_name_90 WHERE city LIKE \"%leskovac%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2359 (\n \"Round\" real,\n \"Choice\" real,\n \"Player\" text,\n \"Position\" text,\n \"Height\" text,\n \"Weight\" text,\n \"College\" text\n)\n\nQUESTION: How many positions have round 3?\nSQL QUERY:", "completion": "SELECT COUNT(\"Position\") FROM table_2359 WHERE \"Round\" = 3"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_23495048_2 (\n represent VARCHAR,\n height__mtr_ VARCHAR\n)\n\nQUESTION: Which country had a contestant that was 1.76 meters tall?\nSQL QUERY:", "completion": "SELECT represent FROM table_23495048_2 WHERE height__mtr_ LIKE \"%1.76%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_41 (\n number VARCHAR,\n males VARCHAR\n)\n\nQUESTION: Which number has 11 males?\nSQL QUERY:", "completion": "SELECT number FROM table_name_41 WHERE males LIKE \"%11%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_71034 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: What date was the game with a record of 47 39?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_71034 WHERE \"Record\" LIKE '%47–39%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_60 (\n event VARCHAR,\n games VARCHAR,\n medal VARCHAR\n)\n\nQUESTION: Name the Event of the Games of 1950 auckland and a Medal of bronze?\nSQL QUERY:", "completion": "SELECT event FROM table_name_60 WHERE games LIKE \"%1950 auckland%\" AND medal LIKE \"%bronze%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_26998135_2 (\n outgoing_manager VARCHAR,\n team VARCHAR\n)\n\nQUESTION: What is the outgoing manager for the team kas mpa a?\nSQL QUERY:", "completion": "SELECT outgoing_manager FROM table_26998135_2 WHERE team LIKE \"%kasımpaşa%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_50126 (\n \"Award\" text,\n \"Year\" real,\n \"Category\" text,\n \"Work\" text,\n \"Result\" text\n)\n\nQUESTION: what is the work when the result is won and the year is before 2003?\nSQL QUERY:", "completion": "SELECT \"Work\" FROM table_50126 WHERE \"Result\" LIKE '%won%' AND \"Year\" < 2003"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_95 (\n rank INTEGER\n)\n\nQUESTION: What is the highest rank of the 2009 xbox?\nSQL QUERY:", "completion": "SELECT MAX(rank) FROM table_name_95 WHERE \"2009\" LIKE '%xbox%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_13138 (\n \"Place\" text,\n \"Player\" text,\n \"Country\" text,\n \"Score\" text,\n \"To par\" real\n)\n\nQUESTION: Who was the player for England when the to par is 7?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_13138 WHERE \"To par\" = 7 AND \"Country\" LIKE '%england%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n earnings___$__ VARCHAR,\n player VARCHAR\n)\n\nQUESTION: What amount of earnings does Tiger Woods have?\nSQL QUERY:", "completion": "SELECT earnings___$__ FROM table_name_40 WHERE player LIKE \"%tiger woods%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n score VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is the score of the match on July 29, 1990?\nSQL QUERY:", "completion": "SELECT score FROM table_name_79 WHERE date LIKE \"%july 29, 1990%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_5313 (\n \"District\" text,\n \"Incumbent\" text,\n \"Party\" text,\n \"First elected\" text,\n \"Result\" text\n)\n\nQUESTION: Which republican was first elected in 1886 in the district of ohio 17?\nSQL QUERY:", "completion": "SELECT \"Result\" FROM table_5313 WHERE \"Party\" LIKE '%republican%' AND \"First elected\" LIKE '%1886%' AND \"District\" LIKE '%ohio 17%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n award VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What Award has a date of 2002?\nSQL QUERY:", "completion": "SELECT award FROM table_name_5 WHERE year LIKE '%2002%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24915874_1 (\n weight__kg_ VARCHAR,\n horse VARCHAR\n)\n\nQUESTION: What was the weight in kg when the horse was Alcopop?\nSQL QUERY:", "completion": "SELECT weight__kg_ FROM table_24915874_1 WHERE horse LIKE \"%alcopop%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_36 (\n finish VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What was the finish by the player from West Germany?\nSQL QUERY:", "completion": "SELECT finish FROM table_name_36 WHERE country LIKE \"%west germany%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_11354111_3 (\n overall_rank VARCHAR,\n viewers__m_ VARCHAR\n)\n\nQUESTION: what's the overall rank with viewers (m) of 7.44\nSQL QUERY:", "completion": "SELECT overall_rank FROM table_11354111_3 WHERE viewers__m_ LIKE \"%7.44%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE Flight (\n distance INTEGER,\n price INTEGER,\n origin VARCHAR\n)\n\nQUESTION: What is the average distance and average price for flights from Los Angeles.\nSQL QUERY:", "completion": "SELECT AVG(distance), AVG(price) FROM Flight WHERE origin LIKE \"%los angeles%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n date VARCHAR,\n away_team VARCHAR\n)\n\nQUESTION: What date did South Melbourne play as the Away team?\nSQL QUERY:", "completion": "SELECT date FROM table_name_79 WHERE away_team LIKE \"%south melbourne%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_4 (\n diameter__km_ INTEGER,\n name VARCHAR,\n year_named VARCHAR\n)\n\nQUESTION: Which Diameter (km) has a Name of alma-merghen planitia, and a Year named smaller than 1997?\nSQL QUERY:", "completion": "SELECT MAX(diameter__km_) FROM table_name_4 WHERE name LIKE '%alma-merghen planitia%' AND year_named < '1997'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_10411 (\n \"Class\" text,\n \"Type\" text,\n \"Quantity\" real,\n \"Date\" text,\n \"LNER Class\" text,\n \"1946 LNER nos.\" text\n)\n\nQUESTION: On what date was the type 2-8-0 with a O4 LNER Class?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_10411 WHERE \"Type\" LIKE '%2-8-0%' AND \"LNER Class\" LIKE '%o4%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17288869_6 (\n date VARCHAR,\n game VARCHAR\n)\n\nQUESTION: What was the date of game 21?\nSQL QUERY:", "completion": "SELECT date FROM table_17288869_6 WHERE game LIKE '%21%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_64 (\n pali VARCHAR,\n tibetan VARCHAR\n)\n\nQUESTION: What is the pali word for phrag dog in tibetan?\nSQL QUERY:", "completion": "SELECT pali FROM table_name_64 WHERE tibetan LIKE \"%phrag dog%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27994983_8 (\n viewers INTEGER,\n draw VARCHAR\n)\n\nQUESTION: How many viewers are the when the draw is 3?\nSQL QUERY:", "completion": "SELECT MAX(viewers) FROM table_27994983_8 WHERE draw LIKE '%3%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_5 (\n tournament VARCHAR,\n opponent VARCHAR\n)\n\nQUESTION: In what tournament did Cipolla face Sergio Roitman?\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_5 WHERE opponent LIKE \"%sergio roitman%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2522473_1 (\n team VARCHAR,\n seasons VARCHAR\n)\n\nQUESTION: How many teams have been in Topperserien for 8 seasons?\nSQL QUERY:", "completion": "SELECT COUNT(team) FROM table_2522473_1 WHERE seasons LIKE '%8%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_34439 (\n \"Date\" text,\n \"Label\" text,\n \"Region\" text,\n \"Format\" text,\n \"Catalog\" text\n)\n\nQUESTION: What is the release Date of the 7' single in Catalog 87184?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_34439 WHERE \"Format\" LIKE '%7\" single%' AND \"Catalog\" LIKE '%87184%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_17687 (\n \"Track Name\" text,\n \"Location\" text,\n \"Length\" text,\n \"Seating\" real,\n \"Year Opened\" real,\n \"Year Acquired [A ]\" real\n)\n\nQUESTION: What is the location of the track that opened in 1950?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_17687 WHERE \"Year Opened\" = 1950"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_21 (\n position VARCHAR,\n league_from VARCHAR\n)\n\nQUESTION: What team is from the Russian Major League?\nSQL QUERY:", "completion": "SELECT position FROM table_name_21 WHERE league_from LIKE \"%russian major league%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_42849 (\n \"Year\" real,\n \"Chassis\" text,\n \"Engine\" text,\n \"Start\" real,\n \"Finish\" real,\n \"Entrant\" text\n)\n\nQUESTION: What is the lowest finish that has a start greater than 27, with a year after 1985?\nSQL QUERY:", "completion": "SELECT MIN(\"Finish\") FROM table_42849 WHERE \"Start\" > 27 AND \"Year\" > 1985"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_35936 (\n \"Round\" real,\n \"Pick\" real,\n \"Player\" text,\n \"Position\" text,\n \"School/Club Team\" text\n)\n\nQUESTION: Which player had a round of 27?\nSQL QUERY:", "completion": "SELECT \"Player\" FROM table_35936 WHERE \"Round\" = 27"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_78 (\n against INTEGER,\n lost INTEGER\n)\n\nQUESTION: Which average against has a lost less than 1?\nSQL QUERY:", "completion": "SELECT AVG(against) FROM table_name_78 WHERE lost < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_526 (\n id number,\n \"name\" text,\n \"#\" number,\n \"position\" text,\n \"height\" text,\n \"weight\" number,\n \"year\" text,\n \"home town\" text,\n \"high school\" text\n)\n\nQUESTION: what was the number of freshmen on the team ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_204_526 WHERE \"year\" LIKE '%freshman%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n home_team VARCHAR,\n road_team VARCHAR,\n game VARCHAR\n)\n\nQUESTION: Which home team played against Los Angeles in game 1?\nSQL QUERY:", "completion": "SELECT home_team FROM table_name_26 WHERE road_team LIKE \"%los angeles%\" AND game LIKE \"%game 1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_61 (\n region VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What is Region, when Date is 2004?\nSQL QUERY:", "completion": "SELECT region FROM table_name_61 WHERE date LIKE '%2004%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_204_58 (\n id number,\n \"year\" number,\n \"position\" text\n)\n\nQUESTION: what is the total number of nations that made it to round 1 but not past that round from 1957 to 2013 ?\nSQL QUERY:", "completion": "SELECT COUNT(*) FROM table_204_58 WHERE \"position\" LIKE '%round 1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_55 (\n chassis VARCHAR,\n points VARCHAR\n)\n\nQUESTION: Which chassis scored 52 points?\nSQL QUERY:", "completion": "SELECT chassis FROM table_name_55 WHERE points LIKE '%52%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_32 (\n tournament VARCHAR\n)\n\nQUESTION: Name the tournament for 2012 grand slam tournaments\nSQL QUERY:", "completion": "SELECT tournament FROM table_name_32 WHERE tournament LIKE '%grand slam tournaments%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_60712 (\n \"Rank\" real,\n \"Nation\" text,\n \"Gold\" real,\n \"Silver\" real,\n \"Bronze\" real,\n \"Total\" real\n)\n\nQUESTION: What is the total number of bronzes that is less than 1 in total?\nSQL QUERY:", "completion": "SELECT COUNT(\"Bronze\") FROM table_60712 WHERE \"Total\" < 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_79 (\n province VARCHAR,\n party VARCHAR,\n name VARCHAR\n)\n\nQUESTION: Ken Wright of the National Party was from which province?\nSQL QUERY:", "completion": "SELECT province FROM table_name_79 WHERE party LIKE \"%national%\" AND name LIKE \"%ken wright%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_86 (\n date VARCHAR,\n record VARCHAR\n)\n\nQUESTION: What was the date of the game when the record was 70-74?\nSQL QUERY:", "completion": "SELECT date FROM table_name_86 WHERE record LIKE \"%70-74%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_67242 (\n \"Year\" real,\n \"Entrant\" text,\n \"Chassis\" text,\n \"Engine\" text,\n \"Points\" real\n)\n\nQUESTION: What entrant had a Maserati 250F chassis and fewer than 6 points before 1957?\nSQL QUERY:", "completion": "SELECT \"Entrant\" FROM table_67242 WHERE \"Chassis\" LIKE '%maserati 250f%' AND \"Year\" < '1957' AND \"Points\" < '6'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_64388 (\n \"Rank\" real,\n \"Heat\" real,\n \"Athlete\" text,\n \"Country\" text,\n \"Time\" real\n)\n\nQUESTION: what is the heat when the athlete is anita pistone?\nSQL QUERY:", "completion": "SELECT SUM(\"Heat\") FROM table_64388 WHERE \"Athlete\" LIKE '%anita pistone%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_69928 (\n \"Date\" text,\n \"Tournament\" text,\n \"Surface\" text,\n \"Opponent\" text,\n \"Score\" text\n)\n\nQUESTION: what was the opponent on november 14, 2005?\nSQL QUERY:", "completion": "SELECT \"Opponent\" FROM table_69928 WHERE \"Date\" LIKE '%november 14, 2005%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_56 (\n date VARCHAR,\n attendance VARCHAR\n)\n\nQUESTION: What day had 37,500 attending?\nSQL QUERY:", "completion": "SELECT date FROM table_name_56 WHERE attendance LIKE \"%37,500%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_52259 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Date\" text\n)\n\nQUESTION: what is the venue when the home team is melbourne?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_52259 WHERE \"Home team\" LIKE '%melbourne%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_53874 (\n \"Date\" text,\n \"Opponent\" text,\n \"Score\" text,\n \"Loss\" text,\n \"Attendance\" real,\n \"Record\" text\n)\n\nQUESTION: When was there a score of 5-1?\nSQL QUERY:", "completion": "SELECT \"Date\" FROM table_53874 WHERE \"Score\" LIKE '%5-1%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_97 (\n director VARCHAR,\n gross__worldwide_ VARCHAR\n)\n\nQUESTION: Which director had a worldwide gross of $30,471?\nSQL QUERY:", "completion": "SELECT director FROM table_name_97 WHERE gross__worldwide_ LIKE \"%$30,471%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_40 (\n opponent VARCHAR,\n date VARCHAR\n)\n\nQUESTION: What opponent has December 6, 1964 as the date?\nSQL QUERY:", "completion": "SELECT opponent FROM table_name_40 WHERE date LIKE \"%december 6, 1964%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_63 (\n start VARCHAR,\n finish VARCHAR\n)\n\nQUESTION: What's the start when the finish is 1?\nSQL QUERY:", "completion": "SELECT start FROM table_name_63 WHERE finish LIKE \"%1%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_2562572_54 (\n population__2011_ INTEGER,\n settlement VARCHAR\n)\n\nQUESTION: What is the lowest population in 2011 for the settlement of ortanovci?\nSQL QUERY:", "completion": "SELECT MIN(population__2011_) FROM table_2562572_54 WHERE settlement LIKE \"%čortanovci%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_74680 (\n \"Home team\" text,\n \"Home team score\" text,\n \"Away team\" text,\n \"Away team score\" text,\n \"Venue\" text,\n \"Crowd\" real,\n \"Date\" text\n)\n\nQUESTION: Which venue hosted a home team with a score of 13.15 (93)?\nSQL QUERY:", "completion": "SELECT \"Venue\" FROM table_74680 WHERE \"Home team score\" LIKE '%13.15 (93)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_57 (\n winning_score VARCHAR,\n year VARCHAR\n)\n\nQUESTION: What is the Winning score in 1956?\nSQL QUERY:", "completion": "SELECT winning_score FROM table_name_57 WHERE year LIKE '%1956%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_68 (\n player VARCHAR,\n round VARCHAR,\n position VARCHAR\n)\n\nQUESTION: After Round 5, which player was drafted for Defensive Tackle?\nSQL QUERY:", "completion": "SELECT player FROM table_name_68 WHERE round > '5' AND position LIKE '%defensive tackle%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_99 (\n place VARCHAR,\n country VARCHAR\n)\n\nQUESTION: What was Australia's place?\nSQL QUERY:", "completion": "SELECT place FROM table_name_99 WHERE country LIKE \"%australia%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_17 (\n destroyed INTEGER,\n survived VARCHAR,\n to_iran VARCHAR,\n damaged VARCHAR\n)\n\nQUESTION: What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran less than 4?\nSQL QUERY:", "completion": "SELECT AVG(destroyed) FROM table_name_17 WHERE 1990 > 12 AND damaged > '1' AND to_iran < '4' AND survived LIKE '%6%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE weather (\n zip_code VARCHAR,\n max_wind_Speed_mph VARCHAR\n)\n\nQUESTION: For each zip code, return how many times max wind speed reached 25?\nSQL QUERY:", "completion": "SELECT zip_code, COUNT(*) FROM weather WHERE CAST(max_wind_Speed_mph AS INTEGER) >= 25 GROUP BY zip_code"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_24192031_2 (\n age VARCHAR,\n height VARCHAR\n)\n\nQUESTION: How old is the person with the height of m (ft 3 4 in)?\nSQL QUERY:", "completion": "SELECT age FROM table_24192031_2 WHERE height LIKE '%m (ft 3⁄4 in)%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_12648 (\n \"Perpetrator\" text,\n \"Year\" text,\n \"Location\" text,\n \"Country\" text,\n \"Killed\" text\n)\n\nQUESTION: What is the location for Egypt in 2013?\nSQL QUERY:", "completion": "SELECT \"Location\" FROM table_12648 WHERE \"Year\" = '2013' AND \"Country\" LIKE '%egypt%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_26 (\n type VARCHAR,\n locomotive_number VARCHAR\n)\n\nQUESTION: What type is locomotive number CTN 46?\nSQL QUERY:", "completion": "SELECT type FROM table_name_26 WHERE locomotive_number LIKE \"%ctn 46%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1940144_1 (\n change_since_2006 VARCHAR,\n county VARCHAR\n)\n\nQUESTION: How many places did the rank change since 22006 for County Leitrim?\nSQL QUERY:", "completion": "SELECT COUNT(change_since_2006) FROM table_1940144_1 WHERE county LIKE \"%county leitrim%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_name_9 (\n set_3 VARCHAR,\n set_1 VARCHAR,\n set_2 VARCHAR\n)\n\nQUESTION: Which set 3 has a Set 1 of 19-25, and a Set 2 of 19-25?\nSQL QUERY:", "completion": "SELECT set_3 FROM table_name_9 WHERE set_1 LIKE \"%19-25%\" AND set_2 LIKE \"%19-25%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_27094070_4 (\n overall_total INTEGER,\n team VARCHAR\n)\n\nQUESTION: What is the overall total for the Omaha Nighthawks?\nSQL QUERY:", "completion": "SELECT MIN(overall_total) FROM table_27094070_4 WHERE team LIKE \"%omaha nighthawks%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_28019988_5 (\n series__number INTEGER,\n production_code VARCHAR\n)\n\nQUESTION: What episode number in the series had a production code of bdf405?\nSQL QUERY:", "completion": "SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code LIKE \"%bdf405%\""} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE staff (\n gender VARCHAR\n)\n\nQUESTION: Which gender makes up the majority of the staff?\nSQL QUERY:", "completion": "SELECT gender FROM staff GROUP BY gender ORDER BY COUNT(*) DESC LIMIT 1"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_1939367_1 (\n arabs_2011 VARCHAR,\n province VARCHAR\n)\n\nQUESTION: If the province is Nunavut, what is the Arabs 2011 amount?\nSQL QUERY:", "completion": "SELECT arabs_2011 FROM table_1939367_1 WHERE province LIKE '%nunavut%'"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_8040 (\n \"Year started\" real,\n \"Number of cars\" real,\n \"Current car\" text,\n \"Car #\" real,\n \"Website\" text\n)\n\nQUESTION: WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR?\nSQL QUERY:", "completion": "SELECT MIN(\"Car #\") FROM table_8040 WHERE \"Current car\" LIKE '%son-e-wa%' AND \"Year started\" < 2012"} +{"prompt": "TABLE DESCRIPTION:\nCREATE TABLE table_48706 (\n \"Game\" text,\n \"Date\" text,\n \"Home Team\" text,\n \"Result\" text,\n \"Road Team\" text\n)\n\nQUESTION: Which Game has a Home Team of san francisco, and a Date of april 22?\nSQL QUERY:", "completion": "SELECT \"Game\" FROM table_48706 WHERE \"Home Team\" LIKE '%san francisco%' AND \"Date\" LIKE '%april 22%'"}