instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_45373 ( "Stage" text, "Winner" text, "General Classification" text, "Mountains Classification" text, "Points Classification" text, "Sprints classification" text, "Team Classification" text ) -- Using valid SQLite, answer the following questions for the t...
SELECT "Mountains Classification" FROM table_45373 WHERE "Winner" = 'josé luis carrasco'
### Instruction: CREATE TABLE table_54658 ( "Name" text, "Scotland career" text, "Caps" real, "Goals" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the goal low with caps less than 38 and an average less than 1.083? ### Re...
SELECT MIN("Goals") FROM table_54658 WHERE "Caps" < '38' AND "Average" < '1.083'
### Instruction: CREATE TABLE table_59661 ( "Name" text, "Residence" text, "Party" text, "Years in Assembly" text, "Years in Senate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Party has Years in Senate of , and Years in Assembly of 2012 pr...
SELECT "Party" FROM table_59661 WHERE "Years in Senate" = '—' AND "Years in Assembly" = '2012–present'
### Instruction: CREATE TABLE table_57645 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the match where Melbourne wa...
SELECT "Away team score" FROM table_57645 WHERE "Away team" = 'melbourne'
### Instruction: CREATE TABLE table_203_528 ( id number, "year" number, "political rights" number, "civil liberties" number, "status" text, "president" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long did it take for civil liberties to de...
SELECT COUNT(*) FROM table_203_528 WHERE id < (SELECT id FROM table_203_528 WHERE "civil liberties" < 6)
### Instruction: CREATE TABLE table_4987 ( "Circuit" text, "Location / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The team Glenn Seton Racing has a circuit at the lakeside international raceway, wh...
SELECT "Location / State" FROM table_4987 WHERE "Team" = 'glenn seton racing' AND "Circuit" = 'lakeside international raceway'
### Instruction: CREATE TABLE table_3137 ( "Rank" real, "Team" text, "Round1" real, "Round2" real, "Round3" real, "Round4" real, "Total points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did the team who had 132 total poi...
SELECT MAX("Round1") FROM table_3137 WHERE "Total points" = '132'
### Instruction: CREATE TABLE table_54757 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most silver medals a team with 3 total medals and less than 1 b...
SELECT MAX("Silver") FROM table_54757 WHERE "Total" = '3' AND "Bronze" < '1'
### Instruction: CREATE TABLE table_34342 ( "Score" text, "Opposition" text, "Venue" text, "City" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest year that has chester-le-street as the city, with 345 runs as the score?...
SELECT MIN("Year") FROM table_34342 WHERE "City" = 'chester-le-street' AND "Score" = '345 runs'
### Instruction: CREATE TABLE table_41312 ( "Album" text, "Release date" text, "Label" text, "Format" text, "Covered Song" text, "Original Song" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows as the Original Song when the Covered Song...
SELECT "Original Song" FROM table_41312 WHERE "Covered Song" = ' sign o'' the times " by prince .'
### Instruction: CREATE TABLE table_21362 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Score" FROM table_21362 WHERE "Team" = 'Milwaukee'
### Instruction: CREATE TABLE table_75009 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Segment B of aerospace fuel lines...
SELECT "Segment A" FROM table_75009 WHERE "Segment B" = 'aerospace fuel lines'
### Instruction: CREATE TABLE table_13891 ( "Time" text, "Show Name" text, "DJ's" text, "Local/Networked" text, "Ad Freq" text, "News Freq" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What show has a time of 4:00pm 5:00am? ### Response:
SELECT "Show Name" FROM table_13891 WHERE "Time" = '4:00pm–5:00am'
### Instruction: CREATE TABLE table_8724 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country with the T3 Place Player with a Score of 71-76-71=218? ### Response:
SELECT "Country" FROM table_8724 WHERE "Place" = 't3' AND "Score" = '71-76-71=218'
### Instruction: CREATE TABLE table_12655 ( "Name" text, "Country" text, "Type" text, "Transfer window" text, "Transfer fee" text, "Apps" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals for Kenton have a transfer ...
SELECT COUNT("Goals") FROM table_12655 WHERE "Transfer window" = 'summer' AND "Name" = 'kenton'
### Instruction: CREATE TABLE table_name_54 ( frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of frequency Mhz with class of d and call sign of k201bm and ERP W less ...
SELECT COUNT(frequency_mhz) FROM table_name_54 WHERE class = "d" AND call_sign = "k201bm" AND erp_w < 74
### Instruction: CREATE TABLE pilot ( name VARCHAR, pilot_id VARCHAR, Winning_Pilot VARCHAR, country VARCHAR ) CREATE TABLE MATCH ( name VARCHAR, pilot_id VARCHAR, Winning_Pilot VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided ab...
SELECT name FROM pilot WHERE NOT pilot_id IN (SELECT Winning_Pilot FROM MATCH WHERE country = 'Australia')
### Instruction: CREATE TABLE table_21202 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT COUNT("Score") FROM table_21202 WHERE "Game" = '37'
### Instruction: CREATE TABLE table_51599 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When South Melbourne was the Aw...
SELECT "Away team score" FROM table_51599 WHERE "Away team" = 'south melbourne'
### Instruction: CREATE TABLE table_32601 ( "Year" real, "Sportsperson" text, "Nationality" text, "Team" text, "Competition , federation , or league" text, "Sport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years has the winner been...
SELECT AVG("Year") FROM table_32601 WHERE "Competition , federation , or league" = 'national football league'
### Instruction: CREATE TABLE table_204_258 ( id number, "location" text, "frequency" number, "call sign" text, "network" text, "call sign meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the next call sign listed after kdsu ? #...
SELECT "call sign" FROM table_204_258 WHERE id = (SELECT id FROM table_204_258 WHERE "call sign" = 'kdsu') + 1
### Instruction: CREATE TABLE table_73867 ( "Constituency" text, "Candidate" text, "Affiliation" text, "Result - votes" real, "Result - %" text, "Loss/gain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest vote result if loss/g...
SELECT MAX("Result - votes") FROM table_73867 WHERE "Loss/gain" = '-0.5%'
### Instruction: CREATE TABLE table_78872 ( "Team" text, "City" text, "Venue" text, "Capacity" real, "Head Coach" text, "Team Captain" text, "Past Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Capacity of the Venue of He...
SELECT SUM("Capacity") FROM table_78872 WHERE "Head Coach" = 'farhad kazemi'
### Instruction: CREATE TABLE table_204_592 ( id number, "#" number, "title" text, "type" text, "opening\ndate" text, "closing\ndate" text, "performances" number, "comment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which were the on...
SELECT "title" FROM table_204_592 WHERE "opening\ndate" = 7
### Instruction: CREATE TABLE table_1341663_33 ( district VARCHAR, incumbent VARCHAR, party VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district did the Democratic party incumbent Stephen J. Solarz get first elected to ...
SELECT district FROM table_1341663_33 WHERE party = "Democratic" AND first_elected = 1974 AND incumbent = "Stephen J. Solarz"
### Instruction: CREATE TABLE table_16726 ( "Rnd" real, "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT "Constructor" FROM table_16726 WHERE "Date" = '9 May'
### Instruction: CREATE TABLE table_38134 ( "Rioplatense" text, "Castilian" text, "Andalusian" text, "Mexican" text, "Chilean" text, "English ( US / UK )" text, "Italian" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Italian wor...
SELECT "Italian" FROM table_38134 WHERE "Mexican" = 'frijol'
### Instruction: CREATE TABLE table_name_29 ( geo_id INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest GEO ID for the longitude of -102.158045 and the water in square miles larger than 0.979? ###...
SELECT MIN(geo_id) FROM table_name_29 WHERE longitude = -102.158045 AND water__sqmi_ > 0.979
### Instruction: CREATE TABLE table_27089 ( "Rank" text, "Player" text, "Nationality" text, "Team" text, "Opponent" text, "Score" text, "Competition" text, "Vote percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the sco...
SELECT "Score" FROM table_27089 WHERE "Player" = 'Samir Nasri'
### Instruction: CREATE TABLE table_40267 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Team" FROM table_40267 WHERE "Date" = 'november 17'
### Instruction: CREATE TABLE table_69266 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for 10 april 2007 and opponent of selima sfar ### Response:
SELECT "Score" FROM table_69266 WHERE "Date" = '10 april 2007' AND "Opponent" = 'selima sfar'
### Instruction: CREATE TABLE table_60636 ( "Order Year" text, "Builder" text, "Model" text, "Length (ft.)" text, "Engine/Transmission" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What order year has a 30 Length (ft.) and 05.505 model? ### Resp...
SELECT "Order Year" FROM table_60636 WHERE "Length (ft.)" = '30' AND "Model" = '05.505'
### Instruction: CREATE TABLE table_42757 ( "Sport" text, "Record" text, "Nation - athlete(s)" text, "Date" text, "Time (seconds)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the longest Time (seconds), when the Nation - athlete(s) is Syl...
SELECT MAX("Time (seconds)") FROM table_42757 WHERE "Nation - athlete(s)" = 'sylke otto - germany'
### Instruction: CREATE TABLE table_6658 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of game was held against France with the results of 3:1? ### Respon...
SELECT "Type of game" FROM table_6658 WHERE "Results\u00b9" = '3:1' AND "Opponent" = 'france'
### Instruction: CREATE TABLE table_name_67 ( number_of_people_1991 INTEGER, percent_of_slovenes_1991 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Number of people 1991 has a Percent of Slovenes 1991 of 14.4%? ### Response:
SELECT MAX(number_of_people_1991) FROM table_name_67 WHERE percent_of_slovenes_1991 = "14.4%"
### Instruction: CREATE TABLE table_73419 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many outcomes are listed when the...
SELECT COUNT("Outcome") FROM table_73419 WHERE "Opponent in the final" = 'Johan Kriek'
### Instruction: CREATE TABLE table_201_27 ( id number, "#" number, "secretary of state" text, "prime minister" text, "tenure" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which secretary of state came after jack pkckersgill ? ### Response:
SELECT "secretary of state" FROM table_201_27 WHERE "#" = (SELECT "#" FROM table_201_27 WHERE "secretary of state" = 'jack pickersgill') + 1
### Instruction: CREATE TABLE table_74598 ( "Driver" text, "Car #" real, "Make" text, "Points" real, "Laps" real, "Winnings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of laps for kyle petty with under 118 points? ...
SELECT MIN("Laps") FROM table_74598 WHERE "Points" < '118' AND "Driver" = 'kyle petty'
### Instruction: CREATE TABLE table_49859 ( "Player" text, "Team" text, "Matches" real, "Innings" real, "Runs" real, "Average" real, "Highest Score" text, "100s" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest amount ...
SELECT MAX("Runs") FROM table_49859 WHERE "Matches" > '5'
### Instruction: CREATE TABLE table_25271 ( "Constituency" text, "Winner" text, "Party" text, "Margin" real, "Runner-up a" text, "Party a" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the runner-up (a) if K. P. Ramalingam won the elect...
SELECT "Runner-up a" FROM table_25271 WHERE "Winner" = 'K. P. Ramalingam'
### Instruction: CREATE TABLE table_5632 ( "Frequency (MHz)" real, "Call letters" text, "Licensed location" text, "Type" text, "Format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Type of primary, and a Call letters of kktx-fm has what average Fr...
SELECT AVG("Frequency (MHz)") FROM table_5632 WHERE "Type" = 'primary' AND "Call letters" = 'kktx-fm'
### Instruction: CREATE TABLE table_4009 ( "Ethnic group" text, "2001 population" real, "2001 %" text, "2011 population" real, "2011 %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest 2001 population when the ethnic group is white...
SELECT MAX("2001 population") FROM table_4009 WHERE "Ethnic group" = 'White: British'
### Instruction: CREATE TABLE table_204_912 ( id number, "rank" number, "athlete" text, "country" text, "time" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was faster , mikio oyama or arnulf sunde ? ### Response:
SELECT "athlete" FROM table_204_912 WHERE "athlete" IN ('mikio oyama', 'arnulf sunde') ORDER BY "time" LIMIT 1
### Instruction: CREATE TABLE table_8017 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
SELECT "Score" FROM table_8017 WHERE "Series" = '3-2'
### Instruction: CREATE TABLE table_204_487 ( id number, "home team" text, "score" text, "visiting team" text, "location" text, "venue" text, "door" text, "surface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the other team besides br...
SELECT "home team" FROM table_204_487 WHERE "home team" <> 'brazil' AND "score" = 5
### Instruction: CREATE TABLE table_15335 ( "Representative" text, "Title" text, "Presentation of Credentials" text, "Termination of Mission" text, "Appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Representative has a Presentation...
SELECT "Representative" FROM table_15335 WHERE "Presentation of Credentials" = 'september 8, 2005'
### Instruction: CREATE TABLE table_204_636 ( id number, "season" text, "tier" number, "division" text, "pos." text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which division comes after divisi n de honor ? ### Response:
SELECT "division" FROM table_204_636 WHERE id = (SELECT MAX(id) FROM table_204_636 WHERE "division" = 'division de honor') + 1
### Instruction: CREATE TABLE table_52882 ( "Nationality" text, "Metric" text, "Imperial" text, "Name" text, "Lifespan" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the nationality with the metric height of 2.36m named sun ming-ming? ###...
SELECT "Nationality" FROM table_52882 WHERE "Metric" = '2.36m' AND "Name" = 'sun ming-ming'
### Instruction: CREATE TABLE table_351 ( "Year" real, "Song name" text, "Film name" text, "Co-singer" text, "Music director" text, "Lyricist" text, "Language" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the film names with the c...
SELECT "Film name" FROM table_351 WHERE "Co-singer" = 'Vinod Rathod'
### Instruction: CREATE TABLE table_44283 ( "College code" text, "Faculty name" text, "Designation" text, "Qualification" text, "Department" text, "Experience" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the designation for the m.tech...
SELECT "Designation" FROM table_44283 WHERE "Qualification" = 'm.tech (e.c.e)'
### Instruction: CREATE TABLE table_55242 ( "Brand" text, "Year founded" real, "Year began making autos" real, "Year joined GM" real, "Markets served today" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year to begin making auto...
SELECT AVG("Year began making autos") FROM table_55242 WHERE "Year joined GM" = '1917'
### Instruction: CREATE TABLE table_50023 ( "Speed" text, "Craft" text, "Pilot(s)" text, "Location" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How fast was the speed during the record set at Coniston Water that was piloted by Malcol...
SELECT "Speed" FROM table_50023 WHERE "Location" = 'coniston water' AND "Pilot(s)" = 'malcolm campbell'
### Instruction: CREATE TABLE table_name_8 ( money___ INTEGER, to_par VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average money ( ) that has +8 as the to par, with 73-72-72-71=288 as the score? ### Response:
SELECT AVG(money___) AS £__ FROM table_name_8 WHERE to_par = "+8" AND score = 73 - 72 - 72 - 71 = 288
### Instruction: CREATE TABLE table_203_37 ( id number, "#" number, "title" text, "producer(s)" text, "performer(s)" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the title of the next track after kreditz ? ### Response...
SELECT "title" FROM table_203_37 WHERE "#" = (SELECT "#" FROM table_203_37 WHERE "title" = '"kreditz"') + 1
### Instruction: CREATE TABLE table_68609 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the chassis when the entrant was Lavazza March, and the year was 1975? ### Res...
SELECT "Chassis" FROM table_68609 WHERE "Entrant" = 'lavazza march' AND "Year" = '1975'
### Instruction: CREATE TABLE table_204_520 ( id number, "outcome" text, "no." number, "date" number, "championship" text, "surface" text, "opponent" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games did this pe...
SELECT COUNT(*) FROM table_204_520 WHERE "opponent" = 'jimmy connors'
### Instruction: CREATE TABLE table_47013 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Area" text, "Population" real, "Density" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Population of the sub...
SELECT MIN("Population") FROM table_47013 WHERE "English Name" = 'nanbin farm'
### Instruction: CREATE TABLE mission ( mission_id number, ship_id number, code text, launched_year number, location text, speed_knots number, fate text ) CREATE TABLE ship ( ship_id number, name text, type text, nationality text, tonnage number ) -- Using valid SQLite...
SELECT name FROM ship ORDER BY tonnage DESC LIMIT 1
### Instruction: CREATE TABLE table_237757_9 ( nasl_years VARCHAR, accolades__pre_nasl_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years of nasl years did the accolades read 'captained england to victory at the 1966 world cup'? ### Response:
SELECT COUNT(nasl_years) FROM table_237757_9 WHERE accolades__pre_nasl_ = "Captained England to victory at the 1966 World Cup"
### Instruction: CREATE TABLE table_60913 ( "Year" text, "Venue" text, "Winner" text, "Runner-up" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What runner-up has 4 & 3 as the score, with michael bonallack as the winner? ### Respons...
SELECT "Runner-up" FROM table_60913 WHERE "Score" = '4 & 3' AND "Winner" = 'michael bonallack'
### Instruction: CREATE TABLE table_26733 ( "Season" text, "Champions" text, "Runner-up" text, "Third Place" text, "Top Goalscorer" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the top goalscorer for season 1998-99? ### R...
SELECT "Top Goalscorer" FROM table_26733 WHERE "Season" = '1998-99'
### Instruction: CREATE TABLE table_51834 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the notes of the All-Africa Games before 2007? ### Respo...
SELECT "Notes" FROM table_51834 WHERE "Competition" = 'all-africa games' AND "Year" < '2007'
### Instruction: CREATE TABLE table_15825 ( "Ranking" real, "Nationality" text, "Name" text, "Years" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has the highest ranking from 1996 13, and more than 17 goals? ### Response:
SELECT MAX("Ranking") FROM table_15825 WHERE "Years" = '1996–13' AND "Goals" > '17'
### Instruction: CREATE TABLE table_204_245 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what locat...
SELECT "location" FROM table_204_245 GROUP BY "location" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_24738 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Language(s)" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the language f...
SELECT "Language(s)" FROM table_24738 WHERE "Film title used in nomination" = 'Late Bloomers'
### Instruction: CREATE TABLE table_9844 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
SELECT "Score" FROM table_9844 WHERE "Date" = 'october 23'
### Instruction: CREATE TABLE table_57289 ( "Player" text, "Pos." text, "From" real, "School/Country" text, "Rebs" real, "Asts" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year is the player who attended la salle with under 6 assists fro...
SELECT SUM("From") FROM table_57289 WHERE "School/Country" = 'la salle' AND "Asts" < '6'
### Instruction: CREATE TABLE table_74686 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the away...
SELECT "Away team score" FROM table_74686 WHERE "Home team" = 'fitzroy'
### Instruction: CREATE TABLE table_7086 ( "Rank" real, "Celebrity" text, "Professional Partner" text, "Season" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many ranks had marcin mroczek as the celebrity in a season more recent...
SELECT COUNT("Rank") FROM table_7086 WHERE "Celebrity" = 'marcin mroczek' AND "Season" > '4'
### Instruction: CREATE TABLE table_35784 ( "Polling Firm" text, "Date of Polling" text, "Link" text, "Liberal" real, "Green" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the link for january 31 february 3, 2011? ### Response:
SELECT "Link" FROM table_35784 WHERE "Date of Polling" = 'january 31 – february 3, 2011'
### Instruction: CREATE TABLE table_74483 ( "Date" text, "Track" text, "Event Name" text, "Pole Winner" text, "Race Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the event name for michael mcdowell and billy leslie ### Response:
SELECT "Event Name" FROM table_74483 WHERE "Pole Winner" = 'michael mcdowell' AND "Race Winner" = 'billy leslie'
### Instruction: CREATE TABLE table_26680 ( "Region/Country" text, "Local name" text, "Main presenter" text, "Network" text, "Year premiered" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest year premiered for the TV2 network when ...
SELECT MAX("Year premiered") FROM table_26680 WHERE "Network" = 'TV2' AND "Main presenter" = 'Øyvind Mund'
### Instruction: CREATE TABLE table_9458 ( "Outcome" text, "Date" real, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the outcome...
SELECT "Outcome" FROM table_9458 WHERE "Partner" = 'ilie năstase'
### Instruction: CREATE TABLE table_26796 ( "Version" text, "Dock Connection" text, "AUX In" text, "Battery" text, "iPhone Certified" text, "Video Out" text, "Dual Voltage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many video out co...
SELECT COUNT("Video Out") FROM table_26796 WHERE "Version" = 'SoundDock Portable'
### Instruction: CREATE TABLE table_33995 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the lowest round to have a pick of 12 and position of lineba...
SELECT MIN("Round") FROM table_33995 WHERE "Pick #" = '12' AND "Position" = 'linebacker'
### Instruction: CREATE TABLE table_53053 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the series score on april 17 with minnes...
SELECT "Series" FROM table_53053 WHERE "Home" = 'minnesota' AND "Date" = 'april 17'
### Instruction: CREATE TABLE table_43921 ( "Rank" real, "Name" text, "Period" text, "Games" real, "Goals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank for the period of 1973 89, with less than 423 games. ### Response:
SELECT SUM("Rank") FROM table_43921 WHERE "Period" = '1973–89' AND "Games" < '423'
### Instruction: CREATE TABLE table_818 ( "Stain" text, "Common use" text, "Nucleus" text, "Cytoplasm" text, "Red blood cell (RBC)" text, "Collagen fibers" text, "Specifically stains" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What stain...
SELECT "Stain" FROM table_818 WHERE "Common use" = 'Elastic fibers'
### Instruction: CREATE TABLE table_71611 ( "Date" text, "Company" text, "Business" text, "Country" text, "Value ( USD )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In New Zealand, what's the value that has an unknown date and is an energy busin...
SELECT "Value ( USD )" FROM table_71611 WHERE "Date" = 'unknown' AND "Business" = 'energy' AND "Country" = 'new zealand'
### Instruction: CREATE TABLE table_71151 ( "Ensemble" text, "Gold Medals" real, "Silver Medals" real, "Bronze Medals" real, "Total Medals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many silvers for a school with 2 golds and over 2 total? ...
SELECT "Silver Medals" FROM table_71151 WHERE "Gold Medals" = '2' AND "Total Medals" > '2'
### Instruction: CREATE TABLE table_54058 ( "Name" text, "Tenure Begin" text, "Tenure End" real, "British monarch" text, "Czechoslovak president" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the President of Czechoslovakia when an ambassad...
SELECT "Czechoslovak president" FROM table_54058 WHERE "Tenure Begin" = '1950'
### Instruction: CREATE TABLE table_54827 ( "Year" real, "Award" text, "Category" text, "Film or series" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which award category was the film series The Wire nominated for after 2005? ### ...
SELECT "Category" FROM table_54827 WHERE "Result" = 'nominated' AND "Film or series" = 'the wire' AND "Year" > '2005'
### Instruction: CREATE TABLE table_7933 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
SELECT "High rebounds" FROM table_7933 WHERE "Game" = '76'
### Instruction: CREATE TABLE table_name_69 ( city VARCHAR, built VARCHAR, spire__m_ VARCHAR, roof___m__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96? ### Re...
SELECT city FROM table_name_69 WHERE spire__m_ = "105" AND roof___m__ < 96 AND built = 1985
### Instruction: CREATE TABLE table_78714 ( "Model" text, "First Year" real, "Distribution" text, "Engine" text, "Displacement cc" real, "Power hp (kW)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest First Year, when Model is ...
SELECT MIN("First Year") FROM table_78714 WHERE "Model" = 'quattroporte (2.8)'
### Instruction: CREATE TABLE table_22394 ( "Episode" text, "Garfield Episode 1" text, "U.S. Acres Episode" text, "Garfield Episode 2" text, "Original Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the original airdate for garfield ...
SELECT "Original Airdate" FROM table_22394 WHERE "Garfield Episode 2" = 'The Wise Man'
### Instruction: CREATE TABLE table_32145 ( "Engine" text, "Horsepower" text, "Torque" text, "Carburetor" text, "Compression Ratio" text, "Bore & Stroke" text, "VIN Code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the compression ...
SELECT "Compression Ratio" FROM table_32145 WHERE "VIN Code" = 'c'
### Instruction: CREATE TABLE table_29729 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "High rebounds" FROM table_29729 WHERE "Team" = 'Charlotte'
### Instruction: CREATE TABLE table_47894 ( "Issued" text, "Type" text, "Design" text, "Serial format" text, "Serials issued" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the serials issued in 1982 with a format of ABC-123? ### Response:...
SELECT "Serials issued" FROM table_47894 WHERE "Serial format" = 'abc-123' AND "Issued" = '1982'
### Instruction: CREATE TABLE table_48828 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many picks have charley sanders as the name, with a round greater t...
SELECT SUM("Pick") FROM table_48828 WHERE "Name" = 'charley sanders' AND "Round" > '22'
### Instruction: CREATE TABLE table_204_601 ( id number, "area served" text, "city of license" text, "vc" number, "rf" number, "callsign" text, "network" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total numb...
SELECT COUNT(*) FROM table_204_601 WHERE "area served" = 'cape girardeau'
### Instruction: CREATE TABLE table_name_55 ( total VARCHAR, national_university_of_ireland VARCHAR, labour_panel VARCHAR, administrative_panel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Labour Panel smaller than 5, an Administr...
SELECT COUNT(total) FROM table_name_55 WHERE labour_panel < 5 AND administrative_panel < 1 AND national_university_of_ireland < 2
### Instruction: CREATE TABLE table_22736 ( "Submitting country" text, "Film title used in nomination" text, "Original title" text, "Language(s)" text, "Director(s)" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What language was...
SELECT "Language(s)" FROM table_22736 WHERE "Film title used in nomination" = 'Everlasting Moments'
### Instruction: CREATE TABLE table_34468 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which championship had an oppenent of...
SELECT "Championship" FROM table_34468 WHERE "Opponent in the final" = 'mario ančić'
### Instruction: CREATE TABLE table_name_57 ( cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September...
SELECT MAX(cycle) FROM table_name_57 WHERE number_of_contestants = "11" AND premiere_date = "september 3, 2012"
### Instruction: CREATE TABLE table_43236 ( "Player" text, "Position" text, "Premier League" real, "FA Cup" real, "League Cup" real, "UEFA Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest League Cup with ...
SELECT MAX("League Cup") FROM table_43236 WHERE "Player" = 'steed malbranque'
### Instruction: CREATE TABLE table_203_568 ( id number, "town/village" text, "population" number, "postal code" text, "municipality" text, "island" text, "location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many towns have a popula...
SELECT COUNT("town/village") FROM table_203_568 WHERE "population" > 1000
### Instruction: CREATE TABLE table_9267 ( "Type" text, "Nominated work" text, "Award" text, "Result" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the position that the nominated work La Quinta Esencia, which also won an ...
SELECT "Position" FROM table_9267 WHERE "Nominated work" = 'la quinta esencia' AND "Award" = 'best cd coverbox'
### Instruction: CREATE TABLE table_41080 ( "Season" text, "Division" text, "Finish" text, "Wins" text, "Losses" text, "Pct." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which season were there Wins of 29 and a Finished place of 3rd? ###...
SELECT "Season" FROM table_41080 WHERE "Wins" = '29' AND "Finish" = '3rd'
### Instruction: CREATE TABLE table_2782 ( "R" real, "Player" text, "Position" text, "League" real, "Champions League" real, "Coppa Italia" real, "Super Coppa" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total n...
SELECT COUNT("R") FROM table_2782 WHERE "Coppa Italia" > '1.0'