instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_23409 ( "No. overall" text, "No. in series" real, "Family/families" text, "Location(s)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of families for uk30 ### Response:...
SELECT COUNT("Family/families") FROM table_23409 WHERE "No. overall" = 'UK30'
### Instruction: CREATE TABLE table_53413 ( "Tournament" text, "Winner" text, "Runner-up" text, "Score" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in the tournament in which Michael Stich took third place? ...
SELECT "Score" FROM table_53413 WHERE "Third Place" = 'michael stich'
### Instruction: CREATE TABLE table_203_781 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which was the only venue where anna ustinova took 6th place ? ###...
SELECT "venue" FROM table_203_781 WHERE "position" = 6
### Instruction: CREATE TABLE table_15502 ( "Country" text, "Film title used in nomination" text, "Language" text, "Original name" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original name for last days of the victim #...
SELECT "Original name" FROM table_15502 WHERE "Film title used in nomination" = 'last days of the victim'
### Instruction: CREATE TABLE table_26614365_5 ( galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Galician (reintegrationist) word of the Galician (Official) is adeus*? ### Response:
SELECT galician___reintegrationist__ FROM table_26614365_5 WHERE galician___official__ = "Adeus*"
### Instruction: CREATE TABLE table_206359_1 ( _percentage_of_votes VARCHAR, _percentage_of_capital VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of votes does the shareholder with 78.19% of capital have? ### Response:
SELECT _percentage_of_votes FROM table_206359_1 WHERE _percentage_of_capital = "78.19"
### Instruction: CREATE TABLE table_71188 ( "Event" text, "Time" text, "Venue" text, "Date" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time of December 15, 2010? ### Response:
SELECT "Time" FROM table_71188 WHERE "Date" = 'december 15, 2010'
### Instruction: CREATE TABLE table_73872 ( "Episode #" real, "Airdate" text, "Movie Title and Year" text, "Main Cast" text, "Network TV Run Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many runtimes does episode 53 have? ### Response:...
SELECT COUNT("Network TV Run Time") FROM table_73872 WHERE "Episode #" = '53'
### Instruction: CREATE TABLE table_204_212 ( id number, "wager" text, "winner" text, "loser" text, "location" text, "date" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last wager on the chart ? ### Response:
SELECT "wager" FROM table_204_212 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_204_952 ( id number, "rank" number, "player" text, "county" text, "tally" text, "total" number, "opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the top ranked player in a single game ? ...
SELECT "player" FROM table_204_952 WHERE "rank" = 1
### Instruction: CREATE TABLE table_37613 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the opponents in games before number 54? ### Response:
SELECT "Opponent" FROM table_37613 WHERE "Game" < '54'
### Instruction: CREATE TABLE table_name_66 ( original_title VARCHAR, result VARCHAR, year__ceremony_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the 2012 (85th) Ceremony, what was the Original title of the film not nominated? ### Response:
SELECT original_title FROM table_name_66 WHERE result = "not nominated" AND year__ceremony_ = "2012 (85th)"
### Instruction: CREATE TABLE table_name_89 ( rank INTEGER, taijiquan VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total? ### Response:
SELECT MIN(rank) FROM table_name_89 WHERE taijiquan > 9.42 AND total = 19.02
### Instruction: CREATE TABLE table_45439 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the tournament in Indian Wells? ### Response:
SELECT "Date" FROM table_45439 WHERE "Tournament" = 'indian wells'
### Instruction: CREATE TABLE table_9129 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the finalist for the tournament in berlin? ### Re...
SELECT "Finalist" FROM table_9129 WHERE "Tournament" = 'berlin'
### Instruction: CREATE TABLE table_55948 ( "Year" real, "Title" text, "Role" text, "Studio" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the studio for The Hard Way in 1943? ### Response:
SELECT "Studio" FROM table_55948 WHERE "Year" = '1943' AND "Title" = 'the hard way'
### Instruction: CREATE TABLE table_43143 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date for the 130-56 game? ### Response:
SELECT "Date" FROM table_43143 WHERE "Score" = '130-56'
### Instruction: CREATE TABLE table_61335 ( "Name" text, "Serie A" real, "Champions League" real, "Coppa Italia" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Serie A when the coppa italia was 5? ### Response:
SELECT AVG("Serie A") FROM table_61335 WHERE "Coppa Italia" = '5'
### Instruction: CREATE TABLE table_name_57 ( tied VARCHAR, span VARCHAR, win__percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games were Tied during the Span of 2011 2013 with a less than 80% Win %? ### Response:
SELECT COUNT(tied) FROM table_name_57 WHERE span = "2011–2013" AND win__percentage < 80
### Instruction: CREATE TABLE table_name_92 ( top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of top-25 with a top-10 bigger than 2 and less than 29 cuts? ### Response:
SELECT COUNT(top_25) FROM table_name_92 WHERE top_10 > 2 AND cuts_made < 29
### Instruction: CREATE TABLE table_46753 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the T4 Place Player with a Score of more than 66? ### Response:
SELECT "Player" FROM table_46753 WHERE "Score" > '66' AND "Place" = 't4'
### Instruction: CREATE TABLE table_17884 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number that has a height of 2.06? ### Respo...
SELECT COUNT("No") FROM table_17884 WHERE "Height" = '2.06'
### Instruction: CREATE TABLE table_70835 ( "Name" text, "Frequency" text, "Language" text, "City" text, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which website is in english and has the frequency of an online newspaper ? ### Respon...
SELECT "Website" FROM table_70835 WHERE "Language" = 'english' AND "Frequency" = 'online newspaper'
### Instruction: CREATE TABLE table_name_97 ( cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the C...
SELECT cancelable FROM table_name_97 WHERE bubbles = "no" AND category = "miscellaneous" AND type = "propertychange"
### Instruction: CREATE TABLE table_4136 ( "Stadium" text, "Location" text, "Opened" real, "Built for" text, "Capacity at Construction" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the stadium in Moorabbin, Victoria built for? ### Respo...
SELECT "Built for" FROM table_4136 WHERE "Location" = 'Moorabbin, Victoria'
### Instruction: CREATE TABLE table_20201 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who plays the position of forward-center? ##...
SELECT "Player" FROM table_20201 WHERE "Position" = 'Forward-Center'
### Instruction: CREATE TABLE table_name_6 ( round INTEGER, location VARCHAR, method VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine...
SELECT MIN(round) FROM table_name_6 WHERE location = "indiana, united states" AND method = "submission (guillotine choke)"
### Instruction: CREATE TABLE table_name_34 ( gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest gold that has a silver less than 2, Zimbabwe as the nation, and a bronze less than 1?...
SELECT MIN(gold) FROM table_name_34 WHERE silver < 2 AND nation = "zimbabwe" AND bronze < 1
### Instruction: CREATE TABLE table_41728 ( "Name" text, "Position" text, "Number" real, "School/Club Team" text, "Season" text, "Acquisition via" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player is in the position of Guard/Forward? ...
SELECT "Name" FROM table_41728 WHERE "Position" = 'guard/forward'
### Instruction: CREATE TABLE table_2352 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Boilermakers points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games were there in the 1966 ...
SELECT MAX("Game") FROM table_2352
### Instruction: CREATE TABLE table_27882867_4 ( record VARCHAR, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for oakland-alameda county coliseum arena 15,025 ### Response:
SELECT record FROM table_27882867_4 WHERE location_attendance = "Oakland-Alameda County Coliseum Arena 15,025"
### Instruction: CREATE TABLE table_71782 ( "Date" text, "Region" text, "Label" text, "Catalogue" text, "Format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What label has brol 34531 as it's catalogue? ### Response:
SELECT "Label" FROM table_71782 WHERE "Catalogue" = 'brol 34531'
### Instruction: CREATE TABLE table_59840 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Place has a To par of 4? ### Response:
SELECT "Place" FROM table_59840 WHERE "To par" = '–4'
### Instruction: CREATE TABLE table_35325 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Score at the Auckland, New Zealand Tournament? ### Response:
SELECT "Score" FROM table_35325 WHERE "Tournament" = 'auckland, new zealand'
### Instruction: CREATE TABLE table_203_734 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what year was civallero 's first listed achiev...
SELECT "year" FROM table_203_734 WHERE id = 1
### Instruction: CREATE TABLE table_name_18 ( score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on January 14 when the Chicago Black Hawks were home against the New York Rangers? ##...
SELECT score FROM table_name_18 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "january 14"
### Instruction: CREATE TABLE table_14359 ( "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 date did Ian poulter become runner up? ### Response:
SELECT "Date" FROM table_14359 WHERE "Runner(s)-up" = 'ian poulter'
### Instruction: CREATE TABLE table_9998 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent in the round of R2? ### Response:
SELECT "Opponent" FROM table_9998 WHERE "Round" = 'r2'
### Instruction: CREATE TABLE table_203_759 ( id number, "year" number, "company" text, "number of members affected" number, "duration of strike" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long was the strike in 1971 ### ...
SELECT "duration of strike" FROM table_203_759 WHERE "year" = 1971
### Instruction: CREATE TABLE table_41976 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Home team with an Away team that is wrexham? ### Response:
SELECT "Home team" FROM table_41976 WHERE "Away team" = 'wrexham'
### Instruction: CREATE TABLE table_79699 ( "Rank" real, "Name" text, "1st run" text, "2nd run" text, "3rd run" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which average rank has a total of 16? ### Response:
SELECT AVG("Rank") FROM table_79699 WHERE "Total" = '16'
### Instruction: CREATE TABLE table_40834 ( "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. -- In the Phoenix Open, what was the winning score? ### Response...
SELECT "Winning score" FROM table_40834 WHERE "Tournament" = 'phoenix open'
### Instruction: CREATE TABLE table_203_215 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times did japan place in the top 2 ? #...
SELECT COUNT(*) FROM table_203_215 WHERE "position" <= 2
### Instruction: CREATE TABLE table_60777 ( "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. -- What team 1 has a team 2 of universidad nacional? ### Response:
SELECT "Team 1" FROM table_60777 WHERE "Team 2" = 'universidad nacional'
### Instruction: CREATE TABLE table_67132 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game that had a loss of Rojas (9 8)? ### Response:
SELECT "Date" FROM table_67132 WHERE "Loss" = 'rojas (9–8)'
### Instruction: CREATE TABLE table_53329 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school did player Rodney Purvis belong to? ### Response:...
SELECT "School" FROM table_53329 WHERE "Player" = 'rodney purvis'
### Instruction: CREATE TABLE table_59634 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest Year which has a Venue of narbonne , france? ### Response:
SELECT MAX("Year") FROM table_59634 WHERE "Venue" = 'narbonne , france'
### Instruction: CREATE TABLE table_59631 ( "Round" text, "Date" text, "Event" text, "Circuit" text, "Winning Driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winning team for circuit zolder? ### Response...
SELECT "Winning Team" FROM table_59631 WHERE "Circuit" = 'circuit zolder'
### Instruction: CREATE TABLE table_47296 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location was the game with the result of 29-14? ### Response:
SELECT "Location" FROM table_47296 WHERE "Result" = '29-14'
### Instruction: CREATE TABLE table_62209 ( "Name" text, "Club" text, "Date of departure" text, "Replacement" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the manager who was replaced by michael skib...
SELECT "Name" FROM table_62209 WHERE "Replacement" = 'michael skibbe'
### Instruction: CREATE TABLE table_2160008_4 ( reason_for_change VARCHAR, date_successor_seated VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of reason for change on may 11, 1939 ### Response:
SELECT COUNT(reason_for_change) FROM table_2160008_4 WHERE date_successor_seated = "May 11, 1939"
### Instruction: CREATE TABLE table_name_63 ( ends_lost INTEGER, shot__percentage VARCHAR, ends_won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest Ends Lost which has an Shot % larger than 78, and a Ends Won smaller than 38? ### Respon...
SELECT MAX(ends_lost) FROM table_name_63 WHERE shot__percentage > 78 AND ends_won < 38
### Instruction: CREATE TABLE table_name_65 ( director VARCHAR, result VARCHAR, year__ceremony_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)? ### Response:
SELECT director FROM table_name_65 WHERE result = "nominee" AND year__ceremony_ = "1969 (42nd)"
### Instruction: CREATE TABLE table_14818 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the sum of laps in 1954? ### Response:
SELECT SUM("Laps") FROM table_14818 WHERE "Year" = '1954'
### Instruction: CREATE TABLE table_38662 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which party has Ken Cuccinelli as an incumbent? ### Response:
SELECT "Party" FROM table_38662 WHERE "Incumbent" = 'ken cuccinelli'
### Instruction: CREATE TABLE table_25965 ( "Year" real, "Host City" text, "Host School" text, "Champion" text, "Second Place" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which years did Michigan state university come in t...
SELECT "Year" FROM table_25965 WHERE "Third Place" = 'Michigan State University'
### Instruction: CREATE TABLE table_58809 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the away team on 9 February 1988? ### Response:
SELECT "Away team" FROM table_58809 WHERE "Date" = '9 february 1988'
### Instruction: CREATE TABLE table_8427 ( "Name" text, "Country" text, "Status" text, "Moving to" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the transfer window for the player whose statu...
SELECT "Transfer window" FROM table_8427 WHERE "Status" = 'loan ended'
### Instruction: CREATE TABLE table_71623 ( "Rank" text, "Region" text, "Total GDP (\u20ac bn )" text, "% growth" text, "Per capita" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Region that has a growth of 3.6%? ### Response:
SELECT "Region" FROM table_71623 WHERE "% growth" = '−3.6'
### Instruction: CREATE TABLE table_53296 ( "Event" text, "Record" text, "Athlete" text, "Nationality" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On 11 July 2003, which athlete performed? ### Response:
SELECT "Athlete" FROM table_53296 WHERE "Date" = '11 july 2003'
### Instruction: CREATE TABLE table_43623 ( "Developer(s)" text, "Release date" text, "Required OS" text, "Genre" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the minimum operating system required by Stunlock Studios' game? ...
SELECT "Required OS" FROM table_43623 WHERE "Developer(s)" = 'stunlock studios'
### Instruction: CREATE TABLE table_41446 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average rank that has a silver less than 0? ### Response:
SELECT AVG("Rank") FROM table_41446 WHERE "Silver" < '0'
### Instruction: CREATE TABLE table_71008 ( "Institution" text, "Main Campus Location" text, "Founded" real, "Mascot" text, "School Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is independence community college's newest campus? ### ...
SELECT MIN("Founded") FROM table_71008 WHERE "Institution" = 'independence community college'
### Instruction: CREATE TABLE table_39771 ( "Date" text, "Cover model" text, "Centerfold model" text, "20 Questions" text, "Pictorials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pictorials is on 5-01? ### Response:
SELECT "Pictorials" FROM table_39771 WHERE "Date" = '5-01'
### Instruction: CREATE TABLE table_15395 ( "Date" text, "Opponent" text, "Site" text, "Score" text, "Loss" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the date that had a Loss of Shirley (0-1)? ### Response:
SELECT "Date" FROM table_15395 WHERE "Loss" = 'shirley (0-1)'
### Instruction: CREATE TABLE table_25711913_14 ( field_goals__4_points_ VARCHAR, touchdowns__5_points_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many field goals were scored by the player that got 7 touchdowns? ### Response:
SELECT field_goals__4_points_ FROM table_25711913_14 WHERE touchdowns__5_points_ = 7
### Instruction: CREATE TABLE table_40695 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Mideast region host University of Tennessee is in what state? ### Response:
SELECT "State" FROM table_40695 WHERE "Region" = 'mideast' AND "Host" = 'university of tennessee'
### Instruction: CREATE TABLE table_45398 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Average total for jim furyk? ### Response:
SELECT AVG("Total") FROM table_45398 WHERE "Player" = 'jim furyk'
### Instruction: CREATE TABLE table_44399 ( "Rnd." text, "Pick #" real, "NFL team" text, "Pos." text, "College" text, "Conf." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did the #22 overall draft pick attend? ### Response:
SELECT "College" FROM table_44399 WHERE "Pick #" = '22'
### Instruction: CREATE TABLE table_1354805_3 ( total VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Number of dances is 11 and competition finish is larger than 2.0 total ### Response:
SELECT total FROM table_1354805_3 WHERE number_of_dances = 11 AND competition_finish > 2.0
### Instruction: CREATE TABLE table_29229 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick # of cfl team bc lions (7) ### Response:
SELECT "Pick #" FROM table_29229 WHERE "CFL Team" = 'BC Lions (7)'
### Instruction: CREATE TABLE table_13605170_2 ( national_origin VARCHAR, retired VARCHAR, in_service VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the origin of aircraft in service in 1943 and retired in 1954? ### Response:
SELECT national_origin FROM table_13605170_2 WHERE retired = "1954" AND in_service = "1943"
### Instruction: CREATE TABLE table_77945 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue of the 1990 Asian games? ### Response:
SELECT "Venue" FROM table_77945 WHERE "Competition" = '1990 asian games'
### Instruction: CREATE TABLE table_12146068_2 ( gt1_winning_team VARCHAR, gt2_winning_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the gt1 winning team for #54 bell motorsports ### Response:
SELECT gt1_winning_team FROM table_12146068_2 WHERE gt2_winning_team = "#54 Bell Motorsports"
### Instruction: CREATE TABLE table_48255 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game played on 30 May 2004? ### Response:
SELECT "Venue" FROM table_48255 WHERE "Date" = '30 may 2004'
### Instruction: CREATE TABLE table_58399 ( "Event Name" text, "Established" real, "Category" text, "Sub Category" text, "Main Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the category of the group was establishe in 1990? ### Res...
SELECT "Category" FROM table_58399 WHERE "Established" = '1990'
### Instruction: CREATE TABLE table_38888 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the score on December 1 when Philadelphia visited? ### Response:
SELECT "Score" FROM table_38888 WHERE "Visitor" = 'philadelphia' AND "Date" = 'december 1'
### Instruction: CREATE TABLE table_6188 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Attendance of 7,034? ### Response:
SELECT "Opponent" FROM table_6188 WHERE "Attendance" = '7,034'
### Instruction: CREATE TABLE table_59939 ( "Spaceport" text, "Launch complex" text, "Launcher" text, "Spacecraft" text, "Flights" text, "Years" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which spacecraft were launched by the Titan II? ###...
SELECT "Spacecraft" FROM table_59939 WHERE "Launcher" = 'titan ii'
### Instruction: CREATE TABLE table_name_30 ( opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponent In The Final, when Date is before 1991, and when Outcome is 'Runner-Up'? ### Response:
SELECT opponent_in_the_final FROM table_name_30 WHERE date < 1991 AND outcome = "runner-up"
### Instruction: CREATE TABLE table_69241 ( "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. -- What team 2 had a second leg of 3-2? ### Response:
SELECT "Team 2" FROM table_69241 WHERE "2nd leg" = '3-2'
### Instruction: CREATE TABLE table_name_41 ( games INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest game that has 32 points and a team rank larger than 4 named montepaschi siena ### Res...
SELECT MAX(games) FROM table_name_41 WHERE points = 32 AND team = "montepaschi siena" AND rank > 4
### Instruction: CREATE TABLE table_name_46 ( opponent VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Game smaller than 34, and a December smaller than 14, and a Score of 10 - 6 has what opponent? ### ...
SELECT opponent FROM table_name_46 WHERE game < 34 AND december < 14 AND score = "10 - 6"
### Instruction: CREATE TABLE table_72623 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first year of the Lithua...
SELECT MIN("Year") FROM table_72623
### Instruction: CREATE TABLE table_203_622 ( id number, "date" text, "team" text, "name" text, "position" text, "years in nba" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which player was not a free agent ? ### Response...
SELECT "name" FROM table_203_622 WHERE "team" <> 'free agent'
### Instruction: CREATE TABLE table_64535 ( "Rank" text, "Group" text, "Name" text, "Nationality" text, "Mark" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is in group B and has a mark of 6.33? ### Response:
SELECT "Name" FROM table_64535 WHERE "Group" = 'b' AND "Mark" = '6.33'
### Instruction: CREATE TABLE table_50915 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the player from round 5? ##...
SELECT "Nationality" FROM table_50915 WHERE "Round" = '5'
### Instruction: CREATE TABLE table_name_76 ( division VARCHAR, playoffs VARCHAR, year VARCHAR, regular_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Division has a Year larger than 1996,a Regular Season of 4th, and a Playoffs of final?...
SELECT division FROM table_name_76 WHERE year > 1996 AND regular_season = "4th" AND playoffs = "final"
### Instruction: CREATE TABLE table_204_804 ( id number, "version" text, "length" text, "album" text, "remixed by" text, "year" number, "comment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many versions are at least 7 minutes long ? ...
SELECT COUNT("version") FROM table_204_804 WHERE "length" >= 7
### Instruction: CREATE TABLE table_31290 ( "Season" text, "Level" text, "Division" text, "Section" text, "Position" text, "Movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many sections are for the season of 2008 ### Response:
SELECT COUNT("Section") FROM table_31290 WHERE "Season" = '2008'
### Instruction: CREATE TABLE table_34962 ( "Eruptions" text, "Country" text, "Location" text, "Year" real, "Volcanic Explosivity Index" text, "Fatalities" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many fatalities does Italy have? ###...
SELECT "Fatalities" FROM table_34962 WHERE "Country" = 'italy'
### Instruction: CREATE TABLE table_name_87 ( total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Total, when Silver is greater than 1, when Nation is Germany (GER), and when Gold is l...
SELECT SUM(total) FROM table_name_87 WHERE silver > 1 AND nation = "germany (ger)" AND gold < 1
### Instruction: CREATE TABLE table_61041 ( "Year" real, "Award" text, "Category" text, "Title of work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was The Saber nominated for best action? ### Response:
SELECT AVG("Year") FROM table_61041 WHERE "Title of work" = 'saber' AND "Category" = 'best action'
### Instruction: CREATE TABLE table_6037 ( "City" text, "State" text, "School" text, "Colony Name" text, "Date Founded" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which City has a Colony Name of northeastern crescent colony? ### Response:
SELECT "City" FROM table_6037 WHERE "Colony Name" = 'northeastern crescent colony'
### Instruction: CREATE TABLE table_64227 ( "Rank" real, "Lane" real, "Athlete" text, "Nationality" text, "Time" real, "React" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total rank for the lane before 2? ### Response:
SELECT SUM("Rank") FROM table_64227 WHERE "Lane" < '2'
### Instruction: CREATE TABLE table_22220 ( "Year" real, "Delegate" text, "Hometown" text, "Pageant" text, "Result" text, "Other awards" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many awards did milagros gutierrez win? ### Response:
SELECT "Other awards" FROM table_22220 WHERE "Delegate" = 'Milagros Gutierrez'
### Instruction: CREATE TABLE table_46693 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest grid that tetsuya harada rode in? ### Response:
SELECT MAX("Grid") FROM table_46693 WHERE "Rider" = 'tetsuya harada'
### Instruction: CREATE TABLE table_name_51 ( hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth? ### Response:
SELECT hypertransport_version FROM table_name_51 WHERE max_aggregate_bandwidth__bi_directional_ = "22.4 gb/s"
### Instruction: CREATE TABLE table_43204 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Money for Player Ernie Els? ### Response:
SELECT "Money ( $ )" FROM table_43204 WHERE "Player" = 'ernie els'
### Instruction: CREATE TABLE teachers ( LastName TEXT, FirstName TEXT, Classroom INTEGER ) CREATE TABLE list ( LastName TEXT, FirstName TEXT, Grade INTEGER, Classroom INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For each grade, report...
SELECT Grade, COUNT(*) FROM list GROUP BY Grade