instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_7 ( lb VARCHAR, scr_no VARCHAR, sr_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the LB&SCR number that has SR number of 8597 8600 ### Response:
SELECT lb & scr_no FROM table_name_7 WHERE sr_no = "8597–8600"
### Instruction: CREATE TABLE table_2167226_3 ( winning_score VARCHAR, margin_of_victory VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning score when 5 strokes is the margin of victory? ### Response:
SELECT winning_score FROM table_2167226_3 WHERE margin_of_victory = "5 strokes"
### Instruction: CREATE TABLE table_21312845_1 ( no_in_season INTEGER, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest episode in the season directed by Chris Long? ### Response:
SELECT MAX(no_in_season) FROM table_21312845_1 WHERE directed_by = "Chris Long"
### Instruction: CREATE TABLE table_name_70 ( nationality VARCHAR, lane VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nationality has a lane larger than 4 and a Time of 2:00.37? ### Response:
SELECT nationality FROM table_name_70 WHERE lane > 4 AND time = "2:00.37"
### Instruction: CREATE TABLE table_29475589_3 ( director VARCHAR, writer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When nicole dubuc duane capizzi is the writer who is the director? ### Response:
SELECT director FROM table_29475589_3 WHERE writer_s_ = "Nicole Dubuc Duane Capizzi"
### Instruction: CREATE TABLE table_name_58 ( floors VARCHAR, height_m___feet VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many floors have a Height m / feet of 900 / 2,952? ### Response:
SELECT floors FROM table_name_58 WHERE height_m___feet = "900 / 2,952"
### Instruction: CREATE TABLE table_name_30 ( method VARCHAR, result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the method when the result is loss on january 19, 2008? ### Response:
SELECT method FROM table_name_30 WHERE result = "loss" AND date = "january 19, 2008"
### Instruction: CREATE TABLE table_204_902 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the longest time on the list ? ### Response:
SELECT MAX("time") FROM table_204_902
### Instruction: CREATE TABLE table_name_40 ( tournament VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament has petra mandula patricia wartusch as the opponent in the final? ### Response:
SELECT tournament FROM table_name_40 WHERE opponent_in_the_final = "petra mandula patricia wartusch"
### Instruction: CREATE TABLE table_name_43 ( total INTEGER, nationality VARCHAR, latest_win VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest total for Italy when the latest win is 1950? ### Response:
SELECT MIN(total) FROM table_name_43 WHERE nationality = "italy" AND latest_win = 1950
### Instruction: CREATE TABLE table_name_24 ( points INTEGER, name VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest points when name is ehc m nchen ii and position is less than 7? ### Response:
SELECT MIN(points) FROM table_name_24 WHERE name = "ehc münchen ii" AND position < 7
### Instruction: CREATE TABLE table_70442 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Record of 1 0? ### Response:
SELECT "Date" FROM table_70442 WHERE "Record" = '1–0'
### Instruction: CREATE TABLE table_1505809_2 ( blank_ends INTEGER, stolen_ends VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest value of Blank Ends when Stolen Ends is 7. ### Response:
SELECT MIN(blank_ends) FROM table_1505809_2 WHERE stolen_ends = 7
### Instruction: CREATE TABLE table_23585197_3 ( position INTEGER, date_eliminated VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position of the song that was eliminated on 11 november? ### Response:
SELECT MAX(position) FROM table_23585197_3 WHERE date_eliminated = "11 November"
### Instruction: CREATE TABLE table_name_29 ( draws INTEGER, points VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the biggest draws, for wins under 4, and points of 20-18? ### Response:
SELECT MAX(draws) FROM table_name_29 WHERE points = "20-18" AND wins < 4
### Instruction: CREATE TABLE table_5048 ( "Year" text, "Title" text, "Role" text, "Producer" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Title has a Role of Mylene? ### Response:
SELECT "Title" FROM table_5048 WHERE "Role" = 'mylene'
### Instruction: CREATE TABLE table_name_66 ( rank VARCHAR, s_wicket VARCHAR, average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rank has a s wicket at 40 and 28.42 is the average? ### Response:
SELECT rank FROM table_name_66 WHERE s_wicket = "40" AND average = "28.42"
### Instruction: CREATE TABLE table_name_86 ( miss_universe_philippines VARCHAR, second_runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won Miss Universe Philippines when Regina Hahn was second runner-up? ### Response:
SELECT miss_universe_philippines FROM table_name_86 WHERE second_runner_up = "regina hahn"
### Instruction: CREATE TABLE table_28039032_1 ( round VARCHAR, winners_from_previous_round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the round when there were 16 winners from the previous round? ### Response:
SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "16"
### Instruction: CREATE TABLE table_11964154_11 ( record VARCHAR, high_rebounds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record when the high rebounds was from Nick Collison (11)? ### Response:
SELECT record FROM table_11964154_11 WHERE high_rebounds = "Nick Collison (11)"
### Instruction: CREATE TABLE table_name_73 ( outcome VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Outcome when a la b y kak ay was the opponent in the final? ### Response:
SELECT outcome FROM table_name_73 WHERE opponent_in_the_final = "çağla büyükakçay"
### Instruction: CREATE TABLE table_24222929_4 ( episode_number_production_number VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the episode number for tasers and mind erasers ### Response:
SELECT episode_number_production_number FROM table_24222929_4 WHERE title = "Tasers and Mind Erasers"
### Instruction: CREATE TABLE table_33687 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of week 5? ### Response:
SELECT "Result" FROM table_33687 WHERE "Week" = '5'
### Instruction: CREATE TABLE table_name_30 ( country VARCHAR, film_title_used_in_nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the film about the garden of the finzi-continis made? ### Response:
SELECT country FROM table_name_30 WHERE film_title_used_in_nomination = "the garden of the finzi-continis"
### Instruction: CREATE TABLE table_name_25 ( score VARCHAR, decision VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game with a decision of Peeters and a record of 29 3 11? ### Response:
SELECT score FROM table_name_25 WHERE decision = "peeters" AND record = "29–3–11"
### Instruction: CREATE TABLE table_10470082_7 ( _number INTEGER, writer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest # for an episode that was written by Allison Lea Bingeman? ### Response:
SELECT MAX(_number) FROM table_10470082_7 WHERE writer = "Allison Lea Bingeman"
### Instruction: CREATE TABLE table_name_34 ( rank_by_average VARCHAR, number_of_dances VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank by average has 1 dance on season 9? ### Response:
SELECT rank_by_average FROM table_name_34 WHERE number_of_dances = "1" AND season = "9"
### Instruction: CREATE TABLE table_18600760_19 ( township VARCHAR, latitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how is called the township where the latitude is 47.377790 ### Response:
SELECT township FROM table_18600760_19 WHERE latitude = "47.377790"
### Instruction: CREATE TABLE table_45151 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Steve Lowery's Place? ### Response:
SELECT "Place" FROM table_45151 WHERE "Player" = 'steve lowery'
### Instruction: CREATE TABLE table_25401_15 ( proto_italo_western_1 VARCHAR, english VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every entry for Proto-Italo-Western 1 when door is English? ### Response:
SELECT proto_italo_western_1 FROM table_25401_15 WHERE english = "door"
### Instruction: CREATE TABLE table_24901152_4 ( championship VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which championship was the score 6 4, 5 7, 6 2? ### Response:
SELECT championship FROM table_24901152_4 WHERE score = "6–4, 5–7, 6–2"
### Instruction: CREATE TABLE table_16799784_14 ( name VARCHAR, diameter__km_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name origin with a diameter of 220.0 kilometers? ### Response:
SELECT name AS origin FROM table_16799784_14 WHERE diameter__km_ = "220.0"
### Instruction: CREATE TABLE table_27734577_13 ( team VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was the opponent when josh smith (8) had the high assists? ### Response:
SELECT team FROM table_27734577_13 WHERE high_assists = "Josh Smith (8)"
### Instruction: CREATE TABLE table_17323529_5 ( high_assists VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the high assists for l 98 103 (ot) ### Response:
SELECT high_assists FROM table_17323529_5 WHERE score = "L 98–103 (OT)"
### Instruction: CREATE TABLE table_13746866_2 ( percentage_of_votes VARCHAR, election_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the percentage of votes with election date being 1981 ### Response:
SELECT percentage_of_votes FROM table_13746866_2 WHERE election_date = 1981
### Instruction: CREATE TABLE table_26736040_1 ( no_in_series INTEGER, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number in series with director as Phil Abraham? ### Response:
SELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = "Phil Abraham"
### Instruction: CREATE TABLE table_name_53 ( draws INTEGER, losses VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Draws have Losses larger than 16, and a Season larger than 1966? ### Response:
SELECT SUM(draws) FROM table_name_53 WHERE losses > 16 AND season > 1966
### Instruction: CREATE TABLE table_name_11 ( title VARCHAR, rank VARCHAR, gross VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which title ranked lower than 19 has a gross of $11,833,696? ### Response:
SELECT title FROM table_name_11 WHERE rank < 19 AND gross = "$11,833,696"
### Instruction: CREATE TABLE table_name_68 ( name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the name for Investigation of thrombus imaging and Route of administration of iv ### Response:
SELECT name FROM table_name_68 WHERE route_of_administration = "iv" AND investigation = "thrombus imaging"
### Instruction: CREATE TABLE table_49646 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player has a score larger than 67? ### Response:
SELECT "Player" FROM table_49646 WHERE "Score" > '67'
### Instruction: CREATE TABLE table_7547 ( "Team" text, "Match" real, "Points" real, "Draw" real, "Lost" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Match with Points that are 24? ### Response:
SELECT "Match" FROM table_7547 WHERE "Points" = '24'
### Instruction: CREATE TABLE table_name_91 ( constructor VARCHAR, chassis VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the constructor for driver Niki Lauda and a chassis of mp4/1c? ### Response:
SELECT constructor FROM table_name_91 WHERE chassis = "mp4/1c" AND driver = "niki lauda"
### Instruction: CREATE TABLE table_name_41 ( points INTEGER, team VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Points which has a Team of sportivo luque o, and Wins larger than 1? ### Response:
SELECT MIN(points) FROM table_name_41 WHERE team = "sportivo luqueño" AND wins > 1
### Instruction: CREATE TABLE table_46954 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place is Nolan Henke in? ### Response:
SELECT "Place" FROM table_46954 WHERE "Player" = 'nolan henke'
### Instruction: CREATE TABLE table_name_47 ( local_location VARCHAR, resident_country VARCHAR, mission VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the local location that has senegal as the resident county, and a mission of mali? ### Response:
SELECT local_location FROM table_name_47 WHERE resident_country = "senegal" AND mission = "mali"
### Instruction: CREATE TABLE table_1566852_10 ( cover_model VARCHAR, interview_subject VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the cover models in the edition that included Benicio Del Toro as the interview subject? ### Response:
SELECT cover_model FROM table_1566852_10 WHERE interview_subject = "Benicio del Toro"
### Instruction: CREATE TABLE table_14425454_1 ( crowd VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of attendees where the home team was Port Adelaide? ### Response:
SELECT COUNT(crowd) FROM table_14425454_1 WHERE home_team = "Port Adelaide"
### Instruction: CREATE TABLE table_1816947_2 ( division___section VARCHAR, average_attendance_home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which division has an average home attendance of 2.459? ### Response:
SELECT division___section FROM table_1816947_2 WHERE average_attendance_home = "2.459"
### Instruction: CREATE TABLE table_22824297_1 ( class VARCHAR, position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every class with a position of guard and Tal Brody as the player? ### Response:
SELECT class FROM table_22824297_1 WHERE position = "Guard" AND player = "Tal Brody"
### Instruction: CREATE TABLE table_24291077_4 ( sydney VARCHAR, melbourne VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers were there in Sydney for the episode when there were 334000 in Melbourne? ### Response:
SELECT sydney FROM table_24291077_4 WHERE melbourne = 334000
### Instruction: CREATE TABLE table_name_6 ( grid INTEGER, time_retired VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest grid with collision as the Time/Retired for pedro diniz? ### Response:
SELECT MIN(grid) FROM table_name_6 WHERE time_retired = "collision" AND driver = "pedro diniz"
### Instruction: CREATE TABLE table_28697228_4 ( rushing_yards VARCHAR, passing_yards VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rushing yards are listed when the passing yards are 244? ### Response:
SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards = 244
### Instruction: CREATE TABLE table_name_7 ( goals INTEGER, player VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Goals have a Player of david mcllwain, and Games larger than 52? ### Response:
SELECT MAX(goals) FROM table_name_7 WHERE player = "david mcllwain" AND games > 52
### Instruction: CREATE TABLE table_name_32 ( republican_ticket VARCHAR, communist_ticket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Republican ticket with a Communist ticket of elizabeth gurley flynn? ### Response:
SELECT republican_ticket FROM table_name_32 WHERE communist_ticket = "elizabeth gurley flynn"
### Instruction: CREATE TABLE table_13505192_3 ( series_number INTEGER, episode_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number episode in the series is the episode 'things that fly'? ### Response:
SELECT MAX(series_number) FROM table_13505192_3 WHERE episode_title = "Things That Fly"
### Instruction: CREATE TABLE table_2941848_2 ( pregame_analysts VARCHAR, trophy_presentation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every pregame analyst with Chris Rose as trophy presenter? ### Response:
SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose"
### Instruction: CREATE TABLE table_18600760_18 ( township VARCHAR, longitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the township at longitude -100.680772? ### Response:
SELECT township FROM table_18600760_18 WHERE longitude = "-100.680772"
### Instruction: CREATE TABLE table_name_67 ( laps INTEGER, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mean number of laps where time/retired was +1:05.564? ### Response:
SELECT AVG(laps) FROM table_name_67 WHERE time_retired = "+1:05.564"
### Instruction: CREATE TABLE table_name_22 ( place VARCHAR, country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch? ### Response:
SELECT place FROM table_name_22 WHERE country = "australia" AND player = "ian baker-finch"
### Instruction: CREATE TABLE table_name_63 ( recorded VARCHAR, time VARCHAR, song_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date recorded for I Want to Be Free with a length of 2:12? ### Response:
SELECT recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free"
### Instruction: CREATE TABLE table_5830 ( "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 theme for week 3? ### Response:
SELECT "Theme" FROM table_5830 WHERE "Week" = 'week 3'
### Instruction: CREATE TABLE table_name_57 ( rank VARCHAR, location VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank of the park in pigeon forge, tennessee in the best food category? ### Response:
SELECT COUNT(rank) FROM table_name_57 WHERE location = "pigeon forge, tennessee" AND category = "best food"
### Instruction: CREATE TABLE table_name_99 ( d_45_√ VARCHAR, d_46_√ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the D 45 with a D 46 with d 46 ? ### Response:
SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √"
### Instruction: CREATE TABLE table_name_89 ( finish INTEGER, start VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average finish that has 24 as the start, with a year after 1987? ### Response:
SELECT AVG(finish) FROM table_name_89 WHERE start = 24 AND year > 1987
### Instruction: CREATE TABLE table_name_3 ( fleet_size INTEGER, type VARCHAR, introduced VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average fleet size for the Shunter type introduced in 1959? ### Response:
SELECT AVG(fleet_size) FROM table_name_3 WHERE type = "shunter" AND introduced = "1959"
### Instruction: CREATE TABLE table_78489 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What grid has 2 laps? ### Response:
SELECT "Grid" FROM table_78489 WHERE "Laps" = '2'
### Instruction: CREATE TABLE table_name_42 ( score_points VARCHAR, rank_points VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Score points has a Rank points of 10, and an Event of wc milan? ### Response:
SELECT score_points FROM table_name_42 WHERE rank_points = "10" AND event = "wc milan"
### Instruction: CREATE TABLE table_name_65 ( year INTEGER, publication VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Year, when Publication is 'VH1', and when Rank is greater than 11? ### Response:
SELECT SUM(year) FROM table_name_65 WHERE publication = "vh1" AND rank > 11
### Instruction: CREATE TABLE table_48336 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country is Lee Trevino from? ### Response:
SELECT "Country" FROM table_48336 WHERE "Player" = 'lee trevino'
### Instruction: CREATE TABLE table_1965650_2 ( college_junior_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the college/junior club team for jimmy jones ### Response:
SELECT college_junior_club_team FROM table_1965650_2 WHERE player = "Jimmy Jones"
### Instruction: CREATE TABLE table_22903426_1 ( other_builders VARCHAR, windows_builders VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of other builders for nant, visual studio ### Response:
SELECT COUNT(other_builders) FROM table_22903426_1 WHERE windows_builders = "NAnt, Visual Studio"
### Instruction: CREATE TABLE table_286 ( "Delegate" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average for spain delegate ### Response:
SELECT "Average" FROM table_286 WHERE "Delegate" = 'Spain'
### Instruction: CREATE TABLE table_name_81 ( time VARCHAR, opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what time was the game when they played the White Sox and had a record of 63-70? ### Response:
SELECT time FROM table_name_81 WHERE opponent = "white sox" AND record = "63-70"
### Instruction: CREATE TABLE table_name_90 ( loses INTEGER, wins VARCHAR, pos VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest Loses, with Wins that's larger than 3 and a Pos. Larger than 3? ### Response:
SELECT MAX(loses) FROM table_name_90 WHERE wins > 3 AND pos > 3
### Instruction: CREATE TABLE table_name_52 ( constructor VARCHAR, engine_† VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What constructor has an engine of cosworth cr-2 and a driver of luciano burti? ### Response:
SELECT constructor FROM table_name_52 WHERE engine_† = "cosworth cr-2" AND driver = "luciano burti"
### Instruction: CREATE TABLE table_name_20 ( opened INTEGER, venue VARCHAR, established VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the earliest year opened for huff hall that was established after 1974? ### Response:
SELECT MIN(opened) FROM table_name_20 WHERE venue = "huff hall" AND established > 1974
### Instruction: CREATE TABLE table_78476 ( "Number" real, "Name" text, "Position" text, "Height" text, "Weight" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number for the player that has a k position? ### Response:
SELECT "Number" FROM table_78476 WHERE "Position" = 'k'
### Instruction: CREATE TABLE table_name_76 ( co_drivers VARCHAR, year VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the co-drivers before 2010 with under 326 laps? ### Response:
SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326
### Instruction: CREATE TABLE table_29301050_1 ( train_number VARCHAR, arrival_lonavla VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which train number arrives in lonavla at 17:45 ### Response:
SELECT train_number FROM table_29301050_1 WHERE arrival_lonavla = "17:45"
### Instruction: CREATE TABLE table_name_32 ( round VARCHAR, method VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has a Method of decision (unanimous), and an Event of ufc 145? ### Response:
SELECT round FROM table_name_32 WHERE method = "decision (unanimous)" AND event = "ufc 145"
### Instruction: CREATE TABLE table_name_16 ( labour_party INTEGER, fianna_fáil INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number in the Labour Party for the Fianna Fail higher than 5? ### Response:
SELECT MIN(labour_party) FROM table_name_16 WHERE fianna_fáil > 5
### Instruction: CREATE TABLE table_60970 ( "Title" text, "Developer" text, "Category" text, "Release date" text, "Version" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Version has a Title of alarm clock? ### Response:
SELECT "Version" FROM table_60970 WHERE "Title" = 'alarm clock'
### Instruction: CREATE TABLE table_70691 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Date has a label of alfa records? ### Response:
SELECT "Date" FROM table_70691 WHERE "Label" = 'alfa records'
### Instruction: CREATE TABLE table_203_382 ( id number, "date" text, "opponent" text, "site" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games did the tigers win ? ### Response:
SELECT COUNT(*) FROM table_203_382 WHERE "result" = 'w'
### Instruction: CREATE TABLE table_name_45 ( date__ddmmyyyy_ VARCHAR, axis_unit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the victory when the Axis Unit was 5./jg 3? ### Response:
SELECT date__ddmmyyyy_ FROM table_name_45 WHERE axis_unit = "5./jg 3"
### Instruction: CREATE TABLE table_name_51 ( races VARCHAR, top_5 VARCHAR, avg_start VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of races having top 5s over 2 and average starts of 6.5? ### Response:
SELECT races FROM table_name_51 WHERE top_5 > 2 AND avg_start = 6.5
### Instruction: CREATE TABLE table_1342198_13 ( first_elected VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was incumbent barratt o'hara first elected? ### Response:
SELECT first_elected FROM table_1342198_13 WHERE incumbent = "Barratt O'Hara"
### Instruction: CREATE TABLE table_name_75 ( name VARCHAR, league_cup_goals VARCHAR, league_apps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Name has a League Cup Goals of 0, and League Apps of 1? ### Response:
SELECT name FROM table_name_75 WHERE league_cup_goals = 0 AND league_apps = "1"
### Instruction: CREATE TABLE table_1875157_2 ( starts INTEGER, avg_finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum starts that result in an average finish of 16.5? ### Response:
SELECT MAX(starts) FROM table_1875157_2 WHERE avg_finish = "16.5"
### Instruction: CREATE TABLE table_name_98 ( record VARCHAR, game_site VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Bronco's record when they played the Detroit Lions at Mile High Stadium? ### Response:
SELECT record FROM table_name_98 WHERE game_site = "mile high stadium" AND opponent = "detroit lions"
### Instruction: CREATE TABLE table_2190919_1 ( team_s_ VARCHAR, avg_finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the racing teams for which the average finish is 23.3? ### Response:
SELECT team_s_ FROM table_2190919_1 WHERE avg_finish = "23.3"
### Instruction: CREATE TABLE table_name_10 ( fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the fleet numbers for diagram of 186 and lot number of 30798 ### Response:
SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798
### Instruction: CREATE TABLE table_name_72 ( record VARCHAR, arena VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? ### Response:
SELECT record FROM table_name_72 WHERE arena = "arrowhead pond of anaheim" AND opponent = "sharks"
### Instruction: CREATE TABLE table_name_8 ( competition VARCHAR, event VARCHAR, venue VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the competition in paris for the parallel bars with a position of 1st? ### Response:
SELECT competition FROM table_name_8 WHERE venue = "paris" AND position = "1st" AND event = "parallel bars"
### Instruction: CREATE TABLE table_1342218_43 ( candidates VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the result is retired to run for U.S. Senate Democratic Hold, who is the candidate? ### Response:
SELECT candidates FROM table_1342218_43 WHERE result = "Retired to run for U.S. Senate Democratic hold"
### Instruction: CREATE TABLE table_75495 ( "Record" text, "Team" text, "Season" text, "League" text, "Number" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league has most wins as the record? ### Response:
SELECT "League" FROM table_75495 WHERE "Record" = 'most wins'
### Instruction: CREATE TABLE table_name_24 ( record_set VARCHAR, year VARCHAR, superlative VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- After the year 2011, who was the youngest nominee? ### Response:
SELECT record_set FROM table_name_24 WHERE year > 2011 AND superlative = "youngest nominee"
### Instruction: CREATE TABLE table_17427004_7 ( round_of_32 VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did Nabil Kassel face in the Round of 32? ### Response:
SELECT round_of_32 FROM table_17427004_7 WHERE athlete = "Nabil Kassel"
### Instruction: CREATE TABLE table_38027 ( "Name" text, "Number" real, "Team Position" real, "Height" text, "Year" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height of Josh Tabb? ### Response:
SELECT "Height" FROM table_38027 WHERE "Name" = 'josh tabb'
### Instruction: CREATE TABLE table_64712 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the rower from Canada? ### Response:
SELECT "Rowers" FROM table_64712 WHERE "Country" = 'canada'