instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_203_618 ( id number, "pick" number, "player" text, "team" text, "position" text, "school" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team has cc sabathia played for ? ### Response:
SELECT "team" FROM table_203_618 WHERE "player" = 'cc sabathia'
### Instruction: CREATE TABLE table_46659 ( "Player" text, "Country" text, "Year(s) won" text, "Total" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Country, when To Par is '+11'? ### Response:
SELECT "Country" FROM table_46659 WHERE "To par" = '+11'
### Instruction: CREATE TABLE table_204_323 ( id number, "year" number, "film" text, "function" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many films did ms. starfelt produce after 2010 ? ### Response:
SELECT COUNT("film") FROM table_204_323 WHERE "year" > 2010
### Instruction: CREATE TABLE table_name_16 ( msdn_integration VARCHAR, load_testing VARCHAR, test_impact_analysis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which MSDN integration has a Load testing of no, and a Test impact analysis of no? ### Response:
SELECT msdn_integration FROM table_name_16 WHERE load_testing = "no" AND test_impact_analysis = "no"
### Instruction: CREATE TABLE table_5096 ( "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. -- When did the city of Novi Sad participate? ### Response:
SELECT "Date" FROM table_5096 WHERE "City" = 'novi sad'
### Instruction: CREATE TABLE table_27708484_3 ( average_attendance_per_match VARCHAR, elevation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average attendance per match wheree the elevation is 1500 m? ### Response:
SELECT average_attendance_per_match FROM table_27708484_3 WHERE elevation = "1500 m"
### Instruction: CREATE TABLE table_11779 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Grids for Chuck Daigh? ### Response:
SELECT COUNT("Grid") FROM table_11779 WHERE "Driver" = 'chuck daigh'
### Instruction: CREATE TABLE table_69692 ( "Language" text, "Number" text, "percentage (%)" text, "males" text, "females" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage where males equal 99? ### Response:
SELECT "percentage (%)" FROM table_69692 WHERE "males" = '99'
### Instruction: CREATE TABLE table_51860 ( "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. -- Name the status for belletti ### Response:
SELECT "Status" FROM table_51860 WHERE "Name" = 'belletti'
### Instruction: CREATE TABLE table_62577 ( "Tie no" real, "Home team" text, "Score" text, "Away team" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Home team in Tie #23? ### Response:
SELECT "Home team" FROM table_62577 WHERE "Tie no" = '23'
### Instruction: CREATE TABLE table_11665 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Time/Retired of Ivan Capelli? ### Response:
SELECT "Time/Retired" FROM table_11665 WHERE "Driver" = 'ivan capelli'
### Instruction: CREATE TABLE table_75019 ( "Version" text, "Length" text, "Album" text, "Remixed by" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the version shown for the Length of 4:58? ### Response:
SELECT "Version" FROM table_75019 WHERE "Length" = '4:58'
### Instruction: CREATE TABLE table_75453 ( "Track" text, "Song title" text, "Length" text, "Composer(s)" text, "Performance location(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lengtho f track 16? ### Response:
SELECT "Length" FROM table_75453 WHERE "Track" = '16'
### Instruction: CREATE TABLE table_70066 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the loss when the record is 76-81 ### Response:
SELECT "Loss" FROM table_70066 WHERE "Record" = '76-81'
### Instruction: CREATE TABLE table_10812938_3 ( college VARCHAR, cfl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)? ### Response:
SELECT college FROM table_10812938_3 WHERE cfl_team = "Edmonton Eskimos (via Calgary)"
### Instruction: CREATE TABLE table_name_32 ( game INTEGER, record VARCHAR, hornets_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest game with a 1-0 record, and the Hornets scored more than 100? ### Response:
SELECT MAX(game) FROM table_name_32 WHERE record = "1-0" AND hornets_score > 100
### Instruction: CREATE TABLE table_29626583_3 ( mls_team VARCHAR, position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has a midfielder of konrad warzycha? ### Response:
SELECT mls_team FROM table_29626583_3 WHERE position = "Midfielder" AND player = "Konrad Warzycha"
### Instruction: CREATE TABLE table_203_689 ( id number, "date" text, "opponent" text, "score" text, "result" text, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games did the mercury play in june ? ### Response:
SELECT COUNT(*) FROM table_203_689 WHERE "date" = 6
### Instruction: CREATE TABLE table_name_81 ( game INTEGER, score VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the game associated with a score of 4 - 2, and a record of 25-39-9? ### Response:
SELECT MAX(game) FROM table_name_81 WHERE score = "4 - 2" AND record = "25-39-9"
### Instruction: CREATE TABLE table_39117 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the points when there are fewer than 4 games? ### Response:
SELECT SUM("Points") FROM table_39117 WHERE "Games" < '4'
### Instruction: CREATE TABLE table_27469019_2 ( television_network VARCHAR, television_channel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the television network with the television channel of Astro Pelangi & Astro Bintang? ### Response:
SELECT television_network FROM table_27469019_2 WHERE television_channel = "Astro Pelangi & Astro Bintang"
### Instruction: CREATE TABLE table_307 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college did the player attend that went to Mission Viejo High School? ### Response:
SELECT "College" FROM table_307 WHERE "School" = 'Mission Viejo High School'
### Instruction: CREATE TABLE table_69687 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Position of running back involves which college? ### Response:
SELECT "College" FROM table_69687 WHERE "Position" = 'running back'
### Instruction: CREATE TABLE table_name_52 ( february INTEGER, record VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest February date with a record of 37-13-4 in a game earlier than 54? ### Response:
SELECT MIN(february) FROM table_name_52 WHERE record = "37-13-4" AND game < 54
### Instruction: CREATE TABLE table_name_99 ( heat INTEGER, lane VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the heat in the lane less than 3 with a time of 14:48.39? ### Response:
SELECT AVG(heat) FROM table_name_99 WHERE lane < 3 AND time = "14:48.39"
### Instruction: CREATE TABLE table_79194 ( "Rank" text, "Capacity" real, "City" text, "State" text, "Year opened" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest capacity for 1903? ### Response:
SELECT MIN("Capacity") FROM table_79194 WHERE "Year opened" = '1903'
### Instruction: CREATE TABLE table_49063 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has a grid of 15? ### Response:
SELECT "Team" FROM table_49063 WHERE "Grid" = '15'
### Instruction: CREATE TABLE table_name_98 ( roll INTEGER, name VARCHAR, decile VARCHAR, authority VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Roll of Orere School with a Decile less than 8 with a State Authority? ### Response:
SELECT MAX(roll) FROM table_name_98 WHERE decile < 8 AND authority = "state" AND name = "orere school"
### Instruction: CREATE TABLE table_4609 ( "Team" text, "Chassis" text, "Engine" text, "Tires" text, "Drivers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis does Gary Bettenhausen use? ### Response:
SELECT "Chassis" FROM table_4609 WHERE "Drivers" = 'gary bettenhausen'
### Instruction: CREATE TABLE table_54481 ( "Track" real, "Title" text, "Performer" text, "Length" text, "Original Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which track has the original album turbulent indigo? ### Response:
SELECT AVG("Track") FROM table_54481 WHERE "Original Album" = 'turbulent indigo'
### Instruction: CREATE TABLE table_41037 ( "Round" real, "Pick #" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum pick # of the player from round 4? ### Response:
SELECT SUM("Pick #") FROM table_41037 WHERE "Round" = '4'
### Instruction: CREATE TABLE table_57012 ( "Year" real, "Author" text, "English title" text, "Original title" text, "Representing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the representation for om fjorten dage ### Response:
SELECT "Representing" FROM table_57012 WHERE "Original title" = 'om fjorten dage'
### Instruction: CREATE TABLE table_60144 ( "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. -- What was the finish for England? ### Response:
SELECT "Finish" FROM table_60144 WHERE "Country" = 'england'
### Instruction: CREATE TABLE table_45171 ( "Year" real, "Championship" text, "Winning score" text, "Margin" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the runner-up Jane Geddes? ### Response:
SELECT "Year" FROM table_45171 WHERE "Runner-up" = 'jane geddes'
### Instruction: CREATE TABLE table_44456 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people on average attended the game in week 14? ### Response:
SELECT AVG("Attendance") FROM table_44456 WHERE "Week" = '14'
### Instruction: CREATE TABLE table_name_21 ( away_captain VARCHAR, venue VARCHAR, home_captain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground? ### Response:
SELECT away_captain FROM table_name_21 WHERE venue = "melbourne cricket ground" AND home_captain = "joe darling"
### Instruction: CREATE TABLE table_28232443_1 ( producer__s_ VARCHAR, song__s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many producers are responsible for the song 'calling out to marlboro? ### Response:
SELECT COUNT(producer__s_) FROM table_28232443_1 WHERE song__s_ = "Calling Out to Marlboro"
### Instruction: CREATE TABLE table_name_65 ( set_5 VARCHAR, date VARCHAR, set_4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the set 5 if the Date is jun 7, and a Set 4 is 21-25? ### Response:
SELECT set_5 FROM table_name_65 WHERE date = "jun 7" AND set_4 = "21-25"
### Instruction: CREATE TABLE table_name_20 ( network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What network has an origin in India, a genre of general, and broadcasts in Bengali? ### Response:
SELECT network FROM table_name_20 WHERE origin_of_programming = "india" AND genre = "general" AND language = "bengali"
### Instruction: CREATE TABLE table_15162479_8 ( nominee VARCHAR, vote_to_evict VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many nominee's had a vote to evict percentage of 3.92% ### Response:
SELECT COUNT(nominee) FROM table_15162479_8 WHERE vote_to_evict = "3.92%"
### Instruction: CREATE TABLE table_64916 ( "Actor" text, "Character" text, "Soap Opera" text, "Years" text, "Duration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the character when Margot Boyd was acting? ### Response:
SELECT "Character" FROM table_64916 WHERE "Actor" = 'margot boyd'
### Instruction: CREATE TABLE table_name_61 ( heat INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's China's heat for Zhang Lin in a lane after 6? ### Response:
SELECT SUM(heat) FROM table_name_61 WHERE nationality = "china" AND name = "zhang lin" AND lane > 6
### Instruction: CREATE TABLE table_name_54 ( league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the league cup apps when the total goals is less than 2 and the total apps is 12? ### Response:
SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = "12"
### Instruction: CREATE TABLE table_68198 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Director'" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is the film directed by Michael Haneke from? ### Response:
SELECT "Country" FROM table_68198 WHERE "Director'" = 'michael haneke'
### Instruction: CREATE TABLE table_75268 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lead has Katarina Radonic as Skip? ### Response:
SELECT "Lead" FROM table_75268 WHERE "Skip" = 'katarina radonic'
### Instruction: CREATE TABLE Products ( product_name VARCHAR, product_id VARCHAR ) CREATE TABLE Order_items ( product_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all product names without an order. ### Response:
SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id = T2.product_id
### Instruction: CREATE TABLE table_74137 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the maximum number of points? ### Response:
SELECT MAX("Points") FROM table_74137
### Instruction: CREATE TABLE table_name_40 ( nation VARCHAR, a_score VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the A Score was larger than 5.933 with a total of 19.833, what nation was this? ### Response:
SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833
### Instruction: CREATE TABLE table_name_19 ( date VARCHAR, opponent VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when has an Opponent of @ philadelphia phillies and an Attendance of 20,072? ### Response:
SELECT date FROM table_name_19 WHERE opponent = "@ philadelphia phillies" AND attendance = "20,072"
### Instruction: CREATE TABLE table_6195 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the finish for lee janzen ### Response:
SELECT "Finish" FROM table_6195 WHERE "Player" = 'lee janzen'
### Instruction: CREATE TABLE table_8975 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when the opponent was Montreal Canadiens? ### Response:
SELECT "Score" FROM table_8975 WHERE "Opponent" = 'montreal canadiens'
### Instruction: CREATE TABLE table_45879 ( "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 player is from Russia? ### Response:
SELECT "Player" FROM table_45879 WHERE "Nationality" = 'russia'
### Instruction: CREATE TABLE table_11336 ( "Manufacturer" text, "Type" text, "Quantity" real, "SHT Nos." text, "GWR Nos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What GWR is associated with 4? ### Response:
SELECT "GWR Nos." FROM table_11336 WHERE "Quantity" = '4'
### Instruction: CREATE TABLE table_78665 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location of the game against the Houston Oilers? ### Response:
SELECT "Location" FROM table_78665 WHERE "Opponent" = 'houston oilers'
### Instruction: CREATE TABLE table_11222744_3 ( catalog_number VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the catalog number named callanetics: 10 years younger in 10 hours ### Response:
SELECT catalog_number FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours"
### Instruction: CREATE TABLE table_66000 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest rank for tim maeyens? ### Response:
SELECT MAX("Rank") FROM table_66000 WHERE "Athlete" = 'tim maeyens'
### Instruction: CREATE TABLE table_1387 ( "Frequency" text, "Station" text, "Operator" text, "Language" text, "Genre" text, "Coverage Area" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the frequency of hot fm? ### Response:
SELECT COUNT("Frequency") FROM table_1387 WHERE "Station" = 'Hot FM'
### Instruction: CREATE TABLE table_204_737 ( id number, "year" number, "order" text, "quantity" number, "ger nos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of years with a quantity of 10 ? ### Response:
SELECT COUNT(DISTINCT "year") FROM table_204_737 WHERE "quantity" = 10
### Instruction: CREATE TABLE table_name_58 ( sport VARCHAR, age_groups VARCHAR, competition_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the sport when the age group is 21 or younger and the competition name is world youth netball championships? ### Response:
SELECT sport FROM table_name_58 WHERE age_groups = "21 or younger" AND competition_name = "world youth netball championships"
### Instruction: CREATE TABLE table_name_4 ( year VARCHAR, engine VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points? ### Response:
SELECT COUNT(year) FROM table_name_4 WHERE engine = "mercedes fo 108w 2.4l v8" AND points > 0
### Instruction: CREATE TABLE table_51309 ( "Player" text, "Team" text, "Opponent" text, "Year" real, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was ashley sampi's opponent? ### Response:
SELECT "Opponent" FROM table_51309 WHERE "Player" = 'ashley sampi'
### Instruction: CREATE TABLE table_57955 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the low lap total for a grid of 14? ### Response:
SELECT MIN("Laps") FROM table_57955 WHERE "Grid" = '14'
### Instruction: CREATE TABLE table_18862490_2 ( player VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What players had teh score of 64-71-67-67=269? ### Response:
SELECT player FROM table_18862490_2 WHERE score = 64 - 71 - 67 - 67 = 269
### Instruction: CREATE TABLE table_169955_1 ( months_in_malayalam_era VARCHAR, in_malayalam VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the months in the malayalam era for ### Response:
SELECT months_in_malayalam_era FROM table_169955_1 WHERE in_malayalam = "കുംഭം"
### Instruction: CREATE TABLE table_49805 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of November, when Game is '17'? ### Response:
SELECT SUM("November") FROM table_49805 WHERE "Game" = '17'
### Instruction: CREATE TABLE table_2159537_3 ( successor VARCHAR, reason_for_change VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the successor for the reason for change being 'died January 16, 1944? ### Response:
SELECT successor FROM table_2159537_3 WHERE reason_for_change = "Died January 16, 1944"
### Instruction: CREATE TABLE table_1341549_33 ( candidates VARCHAR, party VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many candidates with party being democratic and dbeingtrict being new york5 ### Response:
SELECT COUNT(candidates) FROM table_1341549_33 WHERE party = "Democratic" AND district = "New York5"
### Instruction: CREATE TABLE table_53621 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which driver has a Time/Retired of +1 lap? ### Response:
SELECT "Driver" FROM table_53621 WHERE "Time/Retired" = '+1 lap'
### Instruction: CREATE TABLE table_name_80 ( evening_gown VARCHAR, state VARCHAR, interview VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum number of evening gown stats for New Jersey when the interview was less than 9.344? ### Response:
SELECT COUNT(evening_gown) FROM table_name_80 WHERE state = "new jersey" AND interview < 9.344
### Instruction: CREATE TABLE table_77696 ( "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 game site has a result of bye? ### Response:
SELECT "Game site" FROM table_77696 WHERE "Result" = 'bye'
### Instruction: CREATE TABLE table_name_66 ( date VARCHAR, meet VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78? ### Response:
SELECT date FROM table_name_66 WHERE meet = "2007 pan american games" AND time = "1:07.78"
### Instruction: CREATE TABLE table_45176 ( "Circuit" text, "Location / State" text, "Date" text, "Round winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the Eastern Creek Raceway located? ### Response:
SELECT "Location / State" FROM table_45176 WHERE "Circuit" = 'eastern creek raceway'
### Instruction: CREATE TABLE table_name_92 ( high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)? ### Response:
SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (7)"
### Instruction: CREATE TABLE table_name_53 ( intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which intergiro classification is there for team Polti at stage 14? ### Response:
SELECT intergiro_classification FROM table_name_53 WHERE trofeo_fast_team = "team polti" AND stage = "14"
### Instruction: CREATE TABLE table_79297 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Laure Manaudou's highest rank? ### Response:
SELECT MAX("Rank") FROM table_79297 WHERE "Name" = 'laure manaudou'
### Instruction: CREATE TABLE table_61095 ( "Name" text, "Date" text, "Year" real, "Location" text, "Killed" text, "Injured" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Name, when Location is 'DZ'? ### Response:
SELECT "Name" FROM table_61095 WHERE "Location" = 'dz'
### Instruction: CREATE TABLE table_204_174 ( id number, "rank" number, "name" text, "nationality" text, "result" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last nationality on the list ? ### Response:
SELECT "nationality" FROM table_204_174 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_31860 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for a year later than 2002? ### Response:
SELECT "Result" FROM table_31860 WHERE "Year" > '2002'
### Instruction: CREATE TABLE table_name_95 ( attempts VARCHAR, rank VARCHAR, net_yds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Attempts when Rank was larger than 4, and Net Yds was smaller than 1674? ### Response:
SELECT COUNT(attempts) FROM table_name_95 WHERE rank > 4 AND net_yds < 1674
### Instruction: CREATE TABLE table_24466 ( "School" text, "Location" text, "Catchment" text, "Roll" real, "Gender" text, "External link" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school is in Brechin? ### Response:
SELECT "External link" FROM table_24466 WHERE "Location" = 'Brechin'
### Instruction: CREATE TABLE table_name_97 ( played INTEGER, pd_per_game VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Played has a PD per game larger than 6.28, and a Loss smaller than 4? ### Response:
SELECT MIN(played) FROM table_name_97 WHERE pd_per_game > 6.28 AND loss < 4
### Instruction: CREATE TABLE table_name_40 ( goalsagainst INTEGER, points VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Goalsagainst that has a Points of 108, and a Lost smaller than 14 has what average? ### Response:
SELECT AVG(goalsagainst) FROM table_name_40 WHERE points = 108 AND lost < 14
### Instruction: CREATE TABLE table_33717 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day did they play the New Orleans Saints? ### Response:
SELECT "Date" FROM table_33717 WHERE "Opponent" = 'new orleans saints'
### Instruction: CREATE TABLE table_name_71 ( medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games? ### Response:
SELECT medal FROM table_name_71 WHERE sport = "boxing" AND games = "1970 edinburgh" AND name = "james odwori"
### Instruction: CREATE TABLE table_79108 ( "Round" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the winning driver of the race on 5 May? ### Response:
SELECT "Winning driver" FROM table_79108 WHERE "Date" = '5 may'
### Instruction: CREATE TABLE table_203_752 ( id number, "rank" number, "circuit" text, "headquarters" text, "screens" number, "sites" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which circuit has the most screens ? ### Response:
SELECT "circuit" FROM table_203_752 ORDER BY "screens" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_11 ( total INTEGER, silver VARCHAR, rank VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2? ### Response:
SELECT SUM(total) FROM table_name_11 WHERE rank > 6 AND gold > 0 AND silver = 2
### Instruction: CREATE TABLE table_52036 ( "Country" text, "OF-5" text, "OF-4" text, "OF-2" text, "OF-1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has OF-1 Locotenent? ### Response:
SELECT "Country" FROM table_52036 WHERE "OF-1" = 'locotenent'
### Instruction: CREATE TABLE table_15353 ( "Media market name" text, "Callsign" text, "Analog" text, "Digital" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the callsign for analog 19? ### Response:
SELECT "Callsign" FROM table_15353 WHERE "Analog" = '19'
### Instruction: CREATE TABLE table_68162 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points have a Year larger than 1966? ### Response:
SELECT COUNT("Points") FROM table_68162 WHERE "Year" > '1966'
### Instruction: CREATE TABLE station ( installation_date VARCHAR, id VARCHAR ) CREATE TABLE trip ( id VARCHAR, end_station_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For each trip, return its ending station's installation date. ### Response:
SELECT T1.id, T2.installation_date FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id = T2.id
### Instruction: CREATE TABLE table_80287 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what lane did inna nikitina have? ### Response:
SELECT MAX("Lane") FROM table_80287 WHERE "Name" = 'inna nikitina'
### Instruction: CREATE TABLE table_14940 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of points before 1954? ### Response:
SELECT MAX("Points") FROM table_14940 WHERE "Year" < '1954'
### Instruction: CREATE TABLE table_name_92 ( res VARCHAR, round VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Res., when Round is greater than 2, and when Event is 'Midwest Cage Championships 25: Inferno'? ### Response:
SELECT res FROM table_name_92 WHERE round > 2 AND event = "midwest cage championships 25: inferno"
### Instruction: CREATE TABLE table_name_86 ( year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the earliest Year the Linto Team had less than 15 Points with more than 0 Wins? ### Response:
SELECT MIN(year) FROM table_name_86 WHERE wins > 0 AND team = "linto" AND points < 15
### Instruction: CREATE TABLE table_49366 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Laps, when Grid is 15? ### Response:
SELECT AVG("Laps") FROM table_49366 WHERE "Grid" = '15'
### Instruction: CREATE TABLE table_29615165_5 ( _percentage_0_19_years VARCHAR, quartier VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many o-19% are where the quartier is in saint-loup? ### Response:
SELECT _percentage_0_19_years FROM table_29615165_5 WHERE quartier = "Saint-Loup"
### Instruction: CREATE TABLE table_35242 ( "Year" real, "Class" text, "Team" text, "Machine" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Class after 1986? ### Response:
SELECT "Class" FROM table_35242 WHERE "Year" > '1986'
### Instruction: CREATE TABLE table_203_358 ( id number, "pos." number, "athlete" text, "run 1" number, "run 2" number, "total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who finished in last place ? ### Response:
SELECT "athlete" FROM table_203_358 ORDER BY "pos." DESC LIMIT 1
### Instruction: CREATE TABLE table_74108 ( "Year (Ceremony)" text, "English title" text, "Spanish title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the director for Tango Bar? ### Response:
SELECT "Director" FROM table_74108 WHERE "Spanish title" = 'Tango Bar'