instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_15808 ( "Name" text, "Starting Point" text, "Terminus" text, "Operates" text, "Direction" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the starting point of the route that has its terminus at Ecat/Rosa P...
SELECT "Starting Point" FROM table_15808 WHERE "Terminus" = 'ecat/rosa park transit center'
### Instruction: CREATE TABLE table_39530 ( "Pos." real, "Car #" real, "Driver" text, "Make" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pos has a Team of roush fenway racing, and a Car # of 99? ### Response:
SELECT SUM("Pos.") FROM table_39530 WHERE "Team" = 'roush fenway racing' AND "Car #" = '99'
### Instruction: CREATE TABLE table_4816 ( "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. -- Who played Fitzroy at their own ...
SELECT "Home team score" FROM table_4816 WHERE "Away team" = 'fitzroy'
### Instruction: CREATE TABLE table_71329 ( "District" text, "Counties Represented" text, "Delegate" text, "Party" text, "First Elected" real, "Committee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Committee has the First Elected of 199...
SELECT "Committee" FROM table_71329 WHERE "First Elected" = '1993'
### Instruction: CREATE TABLE table_46425 ( "Finished" real, "Time/ Behind" text, "Post" real, "Horse" text, "Jockey" text, "Trainer" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Finished, when Post is less...
SELECT MIN("Finished") FROM table_46425 WHERE "Post" < '2'
### Instruction: CREATE TABLE table_204_207 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number, "bye" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- last home opponent of the season ### Response:
SELECT "opponent" FROM table_204_207 WHERE "opponent" = 'home' ORDER BY "week" DESC LIMIT 1
### Instruction: CREATE TABLE table_62378 ( "Pick #" real, "Player" text, "Nationality" text, "Position" text, "NHL team" text, "Team from" text, "League from" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has a Team from of so...
SELECT "Player" FROM table_62378 WHERE "Team from" = 'south shore kings'
### Instruction: CREATE TABLE table_9405 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Label has a Catalog of 7243 8 49494 2 6? ### Response:
SELECT "Label" FROM table_9405 WHERE "Catalog" = '7243 8 49494 2 6'
### Instruction: CREATE TABLE table_65109 ( "Title" text, "Series" text, "Director" text, "Production Number" text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Series of the Filmography with a Release date of 1946-03-16...
SELECT "Series" FROM table_65109 WHERE "Release date" = '1946-03-16'
### Instruction: CREATE TABLE table_71423 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1961, what was the Chassis when the points were lower than 6? ### Response:
SELECT "Chassis" FROM table_71423 WHERE "Points" < '6' AND "Year" = '1961'
### Instruction: CREATE TABLE table_21756039_1 ( maac VARCHAR, ncaa_seed VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many maac are there that have 14th as the ncaa and the overall is 20-10? ### Response:
SELECT COUNT(maac) FROM table_21756039_1 WHERE ncaa_seed = "14th" AND overall = "20-10"
### Instruction: CREATE TABLE table_655 ( "Department" text, "Acronym" text, "Office" text, "Incumbent" text, "in Office since" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many office with department being department of justice kagawaran ng k...
SELECT COUNT("Office") FROM table_655 WHERE "Department" = 'Department of Justice Kagawaran ng Katarungan'
### Instruction: CREATE TABLE table_33764 ( "Chapter" text, "Chartered" text, "School" text, "State" text, "Status" text, "Charter Range" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years were the inactive North Carolina chapter active? ...
SELECT "Charter Range" FROM table_33764 WHERE "Status" = 'inactive' AND "State" = 'north carolina'
### Instruction: CREATE TABLE table_name_29 ( position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position shows for canada, and an NHL team of new york islanders, and a Pick # of ...
SELECT position FROM table_name_29 WHERE nationality = "canada" AND nhl_team = "new york islanders" AND pick__number = "113"
### Instruction: CREATE TABLE table_12360 ( "Rank" real, "Athlete" text, "Qiangshu" real, "Jianshu" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Jianshu number for Liu Yang ( hkg )? ### Response:
SELECT MIN("Jianshu") FROM table_12360 WHERE "Athlete" = 'liu yang ( hkg )'
### Instruction: CREATE TABLE table_68035 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the Final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which surface has wynne prakusya as the opponent in the final? ### Res...
SELECT "Surface" FROM table_68035 WHERE "Opponent in the Final" = 'wynne prakusya'
### Instruction: CREATE TABLE table_33955 ( "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 college has a defensive end with a round less than 6? ### Res...
SELECT "College" FROM table_33955 WHERE "Round" > '6' AND "Position" = 'defensive end'
### Instruction: CREATE TABLE table_34948 ( "Phase" text, "Round" text, "Draw date" text, "First leg" text, "Second leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the draw date from the qualifying phase and a round of first qualifying ...
SELECT "Draw date" FROM table_34948 WHERE "Phase" = 'qualifying' AND "Round" = 'first qualifying round'
### Instruction: CREATE TABLE table_34461 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has tim duncan (27) as the leading scorer? ### Respon...
SELECT "Score" FROM table_34461 WHERE "Leading scorer" = 'tim duncan (27)'
### Instruction: CREATE TABLE table_70123 ( "Status" text, "Name" text, "First Performance" text, "Last Performance" text, "Style" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the last performance when the style is street dance...
SELECT "Last Performance" FROM table_70123 WHERE "Style" = 'street dance' AND "Name" = 'george maguire'
### Instruction: CREATE TABLE table_name_18 ( place VARCHAR, player VARCHAR, to_par VARCHAR, score VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Bunky Henry of the United States scored higher than 67 and his To par was e, w...
SELECT place FROM table_name_18 WHERE score > 67 AND country = "united states" AND to_par = "e" AND player = "bunky henry"
### Instruction: CREATE TABLE table_name_4 ( quantity_rebuilt VARCHAR, type VARCHAR, railway_number_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of quantity rebuilt if the type is 1B N2T and the railway number is 88, 118? ### Res...
SELECT COUNT(quantity_rebuilt) FROM table_name_4 WHERE type = "1b n2t" AND railway_number_s_ = "88, 118"
### Instruction: CREATE TABLE table_18077713_1 ( net_profit__us_$m_ VARCHAR, revenue__us_$million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much is the net profit when the revenue is 150.6 million dollars? ### Response:
SELECT net_profit__us_$m_ FROM table_18077713_1 WHERE revenue__us_$million_ = "150.6"
### Instruction: CREATE TABLE table_23318 ( "Vehicle Category" text, "Till Aligarh" real, "Till Mathura" real, "Till Agra" real, "For Round Trip" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many have the Till Agra of 500? ### Response:
SELECT COUNT("Till Mathura") FROM table_23318 WHERE "Till Agra" = '500'
### Instruction: CREATE TABLE table_40177 ( "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 sum of totals for FA Cup...
SELECT SUM("Total") FROM table_40177 WHERE "FA Cup" < '0'
### Instruction: CREATE TABLE table_204_421 ( id number, "name" text, "nationality" text, "position" text, "spartak career" text, "appearances" number, "goals" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players had at least 20...
SELECT COUNT("name") FROM table_204_421 WHERE "goals" >= 20
### Instruction: CREATE TABLE table_67414 ( "2000" text, "2004" text, "2009" text, "2013" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2009 when the 2013 is 4th? ### Response:
SELECT "2009" FROM table_67414 WHERE "2013" = '4th'
### Instruction: CREATE TABLE table_22546460_4 ( best_female_artist VARCHAR, best_female_lyricist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What won the Best Female Artist if People's Male MC won the Best Female Lyricist? ### Response:
SELECT best_female_artist FROM table_22546460_4 WHERE best_female_lyricist = "People's Male MC"
### Instruction: CREATE TABLE table_39325 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Outcome of the Doubles played on...
SELECT "Outcome" FROM table_39325 WHERE "Surface" = 'carpet'
### Instruction: CREATE TABLE table_name_37 ( driver VARCHAR, season VARCHAR, tuner VARCHAR, governing_body VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the driver in season 2003 with a tuner of N. Leelakrishnan and a Mai governing body? #...
SELECT driver FROM table_name_37 WHERE tuner = "n. leelakrishnan" AND governing_body = "mai" AND season = 2003
### Instruction: CREATE TABLE table_13903 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Weight of the Player with Copra Nordmeccanica 2008 Club? ### Response:
SELECT "Weight" FROM table_13903 WHERE "2008 club" = 'copra nordmeccanica'
### Instruction: CREATE TABLE table_328 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player attended Loyola Marymo...
SELECT "Player" FROM table_328 WHERE "School/Club Team/Country" = 'Loyola Marymount'
### Instruction: CREATE TABLE table_203_189 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many competitions did jifar participate in before joining the 1...
SELECT COUNT("competition") FROM table_203_189 WHERE "notes" <> 10000
### Instruction: CREATE TABLE table_name_81 ( nhl_team VARCHAR, position VARCHAR, college_junior_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)...
SELECT nhl_team FROM table_name_81 WHERE position = "left wing" AND college_junior_club_team = "toronto marlboros (omjhl)"
### Instruction: CREATE TABLE table_64502 ( "Track" text, "Song Title" text, "Writer(s)" text, "Original Artist" text, "Original Release" real, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Original Artis of the Track with ...
SELECT "Original Artist" FROM table_64502 WHERE "Length" = '2:38'
### Instruction: CREATE TABLE table_name_8 ( lane INTEGER, country VARCHAR, time VARCHAR, react VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average lane of the athlete from cuba who has a time greater than 22.57 and react less than 0.2...
SELECT AVG(lane) FROM table_name_8 WHERE time > 22.57 AND react < 0.245 AND country = "cuba"
### Instruction: CREATE TABLE table_42434 ( "Pos." real, "Team" text, "Wins" real, "Ties" real, "Losses" real, "Goals" text, "Diff." text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many average wins have USA as the team...
SELECT AVG("Wins") FROM table_42434 WHERE "Team" = 'usa'
### Instruction: CREATE TABLE table_6341 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHo is Winning driver that is in st. petersburg - mos...
SELECT "Winning driver" FROM table_6341 WHERE "Name" = 'st. petersburg - moscow'
### Instruction: CREATE TABLE table_17235 ( "Disc" real, "Track" real, "English title" text, "Japanese title" text, "R\u014dmaji title" text, "Artist" text, "Track time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long is track number...
SELECT "Track time" FROM table_17235 WHERE "Track" = '8'
### Instruction: CREATE TABLE table_16859 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many schools did darryl dawkins play for #...
SELECT COUNT("School/Club Team") FROM table_16859 WHERE "Player" = 'Darryl Dawkins'
### Instruction: CREATE TABLE table_62153 ( "Pick #" real, "Player" text, "Nationality" text, "Position" text, "NHL team" text, "Team from" text, "League from" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has a Pick # of 148? ...
SELECT "Team from" FROM table_62153 WHERE "Pick #" = '148'
### Instruction: CREATE TABLE table_204_190 ( id number, "rank" number, "city" text, "county" text, "state" text, "percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which california city has a higher percentage of korean americans ? #...
SELECT "city" FROM table_204_190 WHERE "state" = 'california' ORDER BY "percentage" DESC LIMIT 1
### Instruction: CREATE TABLE table_15155 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has a loss of erickson (8-19)? ### Response:
SELECT "Opponent" FROM table_15155 WHERE "Loss" = 'erickson (8-19)'
### Instruction: CREATE TABLE table_49872 ( "Series Sorted" text, "Title" text, "Author" text, "Featuring" text, "Released" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the title when the featuring is leela and series sorted is 4s/b? ###...
SELECT "Title" FROM table_49872 WHERE "Featuring" = 'leela' AND "Series Sorted" = '4s/b'
### Instruction: CREATE TABLE table_721 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who are the candidates where the incumbent is sam m. gibb...
SELECT "Candidates" FROM table_721 WHERE "Incumbent" = 'Sam M. Gibbons'
### Instruction: CREATE TABLE table_45099 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Margin of Victory, when Tournament is Mercedes Cham...
SELECT "Margin of victory" FROM table_45099 WHERE "Tournament" = 'mercedes championships (3)'
### Instruction: CREATE TABLE table_76779 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHEN has a Result of w 23 17? ### Response:
SELECT "Date" FROM table_76779 WHERE "Result" = 'w 23–17'
### Instruction: CREATE TABLE table_71821 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the game in which the Jacksonville Jaguars were hosts, what was the name...
SELECT "Visiting Team" FROM table_71821 WHERE "Host Team" = 'jacksonville jaguars'
### Instruction: CREATE TABLE table_name_85 ( rank INTEGER, municipality VARCHAR, area__km_2__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total Rank that has a Municipality of Winnipeg, an Area (KM 2) that's larger than 464.01? ### Resp...
SELECT SUM(rank) FROM table_name_85 WHERE municipality = "winnipeg" AND area__km_2__ > 464.01
### Instruction: CREATE TABLE table_203_6 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the number of times san ma...
SELECT COUNT(*) FROM table_203_6 WHERE "opponent" = 'san marino'
### Instruction: CREATE TABLE table_70793 ( "Player" text, "Height" real, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player born before 1985 who is less than 2.02 tall? ### Response:...
SELECT "Player" FROM table_70793 WHERE "Year born" < '1985' AND "Height" < '2.02'
### Instruction: CREATE TABLE table_74807 ( "Year" real, "Driver" text, "Nation of citizenship" text, "Racing series" text, "Type of vehicle" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What driver has a stock car vehicle with a year of 1999? #...
SELECT "Driver" FROM table_74807 WHERE "Type of vehicle" = 'stock car' AND "Year" = '1999'
### Instruction: CREATE TABLE table_12472 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type for Duke when the from is 512 bc? ### Response:
SELECT "Type" FROM table_12472 WHERE "Title" = 'duke' AND "From" = '512 bc'
### Instruction: CREATE TABLE table_19661 ( "Year" real, "Mens Singles" text, "Womens Singles" text, "Men Doubles" text, "Womens Doubles" text, "Mixed Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of men doubles for 200...
SELECT COUNT("Men Doubles") FROM table_19661 WHERE "Year" = '2007'
### Instruction: CREATE TABLE climber ( climber_id number, name text, country text, time text, points number, mountain_id number ) CREATE TABLE mountain ( mountain_id number, name text, height number, prominence number, range text, country text ) -- Using valid SQLite,...
SELECT COUNT(DISTINCT country) FROM climber
### Instruction: CREATE TABLE table_70485 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the loss of McDowell (12-7)? ### Response:
SELECT "Score" FROM table_70485 WHERE "Loss" = 'mcdowell (12-7)'
### Instruction: CREATE TABLE table_5828 ( "Week" text, "Song choice" text, "Theme" text, "Performance Order" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the song choice when the theme was free choice and Adeleye made it t...
SELECT "Song choice" FROM table_5828 WHERE "Theme" = 'free choice' AND "Result" = 'through to bootcamp'
### Instruction: CREATE TABLE table_32603 ( "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 day is south melbourne at ...
SELECT "Date" FROM table_32603 WHERE "Home team" = 'south melbourne'
### Instruction: CREATE TABLE table_203_33 ( id number, "conference" text, "date" text, "place" text, "attendance" number, "archive of presentations" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many people attended the first wikimania con...
SELECT "attendance" FROM table_203_33 WHERE "conference" = 'wikimania 2005'
### Instruction: CREATE TABLE table_51104 ( "Owner" text, "Class" text, "Number in class" real, "Road numbers" text, "Built" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was built in a class with less than 10, and the Downer Rail owner? ###...
SELECT "Built" FROM table_51104 WHERE "Number in class" < '10' AND "Owner" = 'downer rail'
### Instruction: CREATE TABLE table_77440 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for the game on May 27, 2006? ### Response:
SELECT "Result" FROM table_77440 WHERE "Date" = 'may 27, 2006'
### Instruction: CREATE TABLE table_17390 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of titles written by adam i. la...
SELECT COUNT("Title") FROM table_17390 WHERE "Written by" = 'Adam I. Lapidus'
### Instruction: CREATE TABLE table_79504 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is the athlete ekaterina karsten from with a rank less than 4? ### Response:
SELECT "Country" FROM table_79504 WHERE "Rank" < '4' AND "Athlete" = 'ekaterina karsten'
### Instruction: CREATE TABLE table_31366 ( "Position" text, "Singer" text, "2nd Evening" text, "3rd Evening" text, "4th Evening" text, "5th Evening" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who got 3rd place on the 4th evening? ### Resp...
SELECT "Singer" FROM table_31366 WHERE "4th Evening" = '3rd place'
### Instruction: CREATE TABLE table_19749 ( "Institution" text, "Location" text, "Team Nickname" text, "Tenure" text, "New Conference" text, "New Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the new classification for t...
SELECT "New Classification" FROM table_19749 WHERE "Institution" = 'University of Arizona'
### Instruction: CREATE TABLE table_44640 ( "Rank" real, "Name" text, "Years" text, "League" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is average for Benito Lorenzi league when total is smaller than 143? ### Response:
SELECT AVG("League") FROM table_44640 WHERE "Name" = 'benito lorenzi' AND "Total" < '143'
### Instruction: CREATE TABLE table_72812 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was the feature at a 33.3S latitude na...
SELECT MAX("Year named") FROM table_72812 WHERE "Latitude" = '33.3S'
### Instruction: CREATE TABLE table_71776 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the game that had a loss of Caldwell (10-11)? ### Response:
SELECT "Opponent" FROM table_71776 WHERE "Loss" = 'caldwell (10-11)'
### Instruction: CREATE TABLE table_78583 ( "Season" text, "Division North" text, "Division South" text, "Division East" text, "Division West" text, "Division Southwest" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won Division West when D...
SELECT "Division West" FROM table_78583 WHERE "Division North" = 'alumina'
### Instruction: CREATE TABLE table_70680 ( "Application" text, "Expected Speed Up\u2020" text, "GPU\u2021" text, "Multi-GPU Support" text, "Release Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which GPU has the cushaw application? ### R...
SELECT "GPU\u2021" FROM table_70680 WHERE "Application" = 'cushaw'
### Instruction: CREATE TABLE table_66970 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What races were Chi-Chi Rodriguez the runner-up in? ### Respo...
SELECT "Tournament" FROM table_66970 WHERE "Runner(s)-up" = 'chi-chi rodriguez'
### Instruction: CREATE TABLE table_42026 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest value for Points, when Games is 21, and when Rank is greater than 2? ### R...
SELECT MAX("Points") FROM table_42026 WHERE "Games" = '21' AND "Rank" > '2'
### Instruction: CREATE TABLE table_30921 ( "Stage" real, "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 "General classification" FROM table_30921 WHERE "Winner" = 'Mauricio Soler'
### Instruction: CREATE TABLE table_204_169 ( id number, "athlete" text, "event" text, "race 1\ntime" text, "race 2\ntime" text, "total\ntime" text, "total\nrank" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many athletes are there t...
SELECT COUNT(DISTINCT "athlete") FROM table_204_169
### Instruction: CREATE TABLE table_44048 ( "Class" text, "Wheel arrangement" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Quantity Made, when Manu...
SELECT "Quantity made" FROM table_44048 WHERE "Manufacturer" = 'baldwin'
### Instruction: CREATE TABLE table_28564 ( "Finished" text, "Performance Order" real, "Percentage of votes" text, "Artist" text, "Act" text, "Semi Finals Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of semi final resul...
SELECT COUNT("Semi Finals Result") FROM table_28564 WHERE "Performance Order" = '12'
### Instruction: CREATE TABLE table_name_63 ( left_office VARCHAR, political_party VARCHAR, took_office VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Left Office, when Political Party is Ba'ath Party ( Syria Region ), and when Took Office is 7 M...
SELECT left_office FROM table_name_63 WHERE political_party = "ba'ath party ( syria region )" AND took_office = "7 march 1958"
### Instruction: CREATE TABLE table_74594 ( "Year" real, "Race name" text, "Rider status" text, "Winner" text, "Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner in 1973 with an amateur rider status? ### Response:
SELECT "Winner" FROM table_74594 WHERE "Rider status" = 'amateur' AND "Year" = '1973'
### Instruction: CREATE TABLE table_4402 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the fight against Gray Ma...
SELECT "Location" FROM table_4402 WHERE "Opponent" = 'gray maynard'
### Instruction: CREATE TABLE table_240936_2 ( region_1__can_ VARCHAR, region_2__uk_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009? ### Response:
SELECT region_1__can_ FROM table_240936_2 WHERE region_2__uk_ = "May 18, 2009"
### Instruction: CREATE TABLE table_43614 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the second qualification time with a first qualification time of 1:02.813? ### Respo...
SELECT "Qual 2" FROM table_43614 WHERE "Qual 1" = '1:02.813'
### Instruction: CREATE TABLE table_17516922_1 ( play_by_play VARCHAR, network VARCHAR, sideline_reporters VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the play-by-play on espn with sideline reporter monica gonzalez? ### Response:
SELECT play_by_play FROM table_17516922_1 WHERE network = "ESPN" AND sideline_reporters = "Monica Gonzalez"
### Instruction: CREATE TABLE table_203_305 ( id number, "round" number, "#" number, "player" text, "nationality" text, "college/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the only player to have denmark lis...
SELECT "player" FROM table_203_305 WHERE "nationality" = 'denmark'
### Instruction: CREATE TABLE table_33791 ( "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 is Melbourne's home venue?...
SELECT "Venue" FROM table_33791 WHERE "Home team" = 'melbourne'
### Instruction: CREATE TABLE table_47750 ( "Elector" text, "Nationality" text, "Order and title" text, "Elevated" text, "Elevator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Giovanni Gaetano Orsini was the elector who was the elevator? #...
SELECT "Elevator" FROM table_47750 WHERE "Elector" = 'giovanni gaetano orsini'
### Instruction: CREATE TABLE table_name_49 ( engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the engine configuration & notes 0-100km/h with an engine type with b5252 fs? ### ...
SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_49 WHERE engine_type = "b5252 fs"
### Instruction: CREATE TABLE table_58716 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue for the game on 18/03/2006? ### Response:
SELECT "Venue" FROM table_58716 WHERE "Date" = '18/03/2006'
### Instruction: CREATE TABLE table_203_446 ( id number, "name" text, "gender" text, "age" number, "from" text, "occupation" text, "prize money (usd)" text, "status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many of the contesta...
SELECT COUNT("name") FROM table_203_446 WHERE "occupation" = 'student'
### Instruction: CREATE TABLE table_74672 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which public college has a nickname of The Grenadiers? #...
SELECT "Institution" FROM table_74672 WHERE "Type" = 'public' AND "Nickname" = 'grenadiers'
### Instruction: CREATE TABLE table_38168 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Date has a Result of l 21 34? ### Respo...
SELECT "Date" FROM table_38168 WHERE "Result" = 'l 21–34'
### Instruction: CREATE TABLE table_673 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates when gregory w. meeks was the inc...
SELECT "Candidates" FROM table_673 WHERE "Incumbent" = 'Gregory W. Meeks'
### Instruction: CREATE TABLE table_27557 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the name of the epi...
SELECT "Title" FROM table_27557 WHERE "Written by" = 'Alan Yang'
### Instruction: CREATE TABLE table_203_591 ( id number, "high school" text, "join\nyear" text, "from" text, "left" text, "league left to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of schools to join before 1960 ? ...
SELECT COUNT("high school") FROM table_203_591 WHERE "join\nyear" < 1960
### Instruction: CREATE TABLE table_name_85 ( team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby? ...
SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = "regan darby"
### Instruction: CREATE TABLE table_27844 ( "Institution" text, "Location" text, "Type" text, "Joined" real, "Enrollment" real, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the enrollment for the institution that joined in 1...
SELECT MIN("Enrollment") FROM table_27844 WHERE "Joined" = '1987'
### Instruction: CREATE TABLE table_62509 ( "Date" text, "Venue" text, "Opponent" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the match against Arema Malang that ended in a draw, what was the final score? ### Re...
SELECT "Score" FROM table_62509 WHERE "Result" = 'draw' AND "Opponent" = 'arema malang'
### Instruction: CREATE TABLE table_42162 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team #2 has a Team #1 of gambrinus sika brno? ### Response:
SELECT "Team #2" FROM table_42162 WHERE "Team #1" = 'gambrinus sika brno'
### Instruction: CREATE TABLE table_21866 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the place where area is 578.28 square km? ###...
SELECT "Official Name" FROM table_21866 WHERE "Area km 2" = '578.28'
### Instruction: CREATE TABLE table_66163 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest pick of a player for the SS, P Position for the Minnesota Twins? ### R...
SELECT MIN("Pick") FROM table_66163 WHERE "Position" = 'ss, p' AND "Team" = 'minnesota twins'
### Instruction: CREATE TABLE table_42366 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the airport located in Russia with an IATA of KRR? ### Response:
SELECT "Airport" FROM table_42366 WHERE "Country" = 'russia' AND "IATA" = 'krr'