instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_59989 ( "Speed" text, "Craft" text, "Pilot" text, "Location" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Craft used at Coniston Water? ### Response:
SELECT "Craft" FROM table_59989 WHERE "Location" = 'coniston water'
### Instruction: CREATE TABLE table_19523708_1 ( draw VARCHAR, language VARCHAR, english_meaning VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the draw for the english meaning Eyes that Never Lie? ### Response:
SELECT draw FROM table_19523708_1 WHERE language = "English" AND english_meaning = "Eyes That Never Lie"
### Instruction: CREATE TABLE table_name_77 ( right_ascension___j2000__ VARCHAR, apparent_magnitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the right ascension (j2000) when the apparent magnitude is 13? ### Response:
SELECT right_ascension___j2000__ FROM table_name_77 WHERE apparent_magnitude = 13
### Instruction: CREATE TABLE table_name_65 ( year_s__won VARCHAR, finish VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Year(s) Won, when Finish is 'T31', and when Player is 'Nick Price'? ### Response:
SELECT year_s__won FROM table_name_65 WHERE finish = "t31" AND player = "nick price"
### Instruction: CREATE TABLE table_21831229_3 ( original_us_air_date VARCHAR, prod_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date that the episode with a production code of 213 was originally aired? ### Response:
SELECT original_us_air_date FROM table_21831229_3 WHERE prod_code = 213
### Instruction: CREATE TABLE table_17085947_32 ( athlete VARCHAR, bike__40km_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the athlete that covered biking within 58:52? ### Response:
SELECT athlete FROM table_17085947_32 WHERE bike__40km_ = "58:52"
### Instruction: CREATE TABLE table_74481 ( "Date" text, "Track" text, "Event Name" text, "Pole Winner" text, "Race Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the track for june 9 ### Response:
SELECT "Track" FROM table_74481 WHERE "Date" = 'june 9'
### Instruction: CREATE TABLE table_name_77 ( party VARCHAR, years_in_assembly VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Party has Years in Assembly of 2008 present, and a Name of tom ammiano? ### Response:
SELECT party FROM table_name_77 WHERE years_in_assembly = "2008–present" AND name = "tom ammiano"
### Instruction: CREATE TABLE table_name_24 ( city VARCHAR, state_territory VARCHAR, icao VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city has tasmania as the state/territory and a ICAO of ymhb? ### Response:
SELECT city FROM table_name_24 WHERE state_territory = "tasmania" AND icao = "ymhb"
### Instruction: CREATE TABLE table_name_7 ( grid INTEGER, time VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the sum of Grid that has the Time of +6.355, and the Laps larger than 23? ### Response:
SELECT SUM(grid) FROM table_name_7 WHERE time = "+6.355" AND laps > 23
### Instruction: CREATE TABLE table_name_86 ( score VARCHAR, date VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for the game where Birmingham City was the home team on 10 March 1984? ### Response:
SELECT score FROM table_name_86 WHERE date = "10 march 1984" AND home_team = "birmingham city"
### Instruction: CREATE TABLE table_34007 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the competition for khartoum ### Response:
SELECT "Competition" FROM table_34007 WHERE "Venue" = 'khartoum'
### Instruction: CREATE TABLE table_17641206_6 ( original_title VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of original titles written by john sullivan and keith lindsay ### Response:
SELECT COUNT(original_title) FROM table_17641206_6 WHERE written_by = "John Sullivan and Keith Lindsay"
### Instruction: CREATE TABLE table_11884814_3 ( country VARCHAR, interview VARCHAR, average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country had an interview score of 9.40 and average of 9.44? ### Response:
SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44"
### Instruction: CREATE TABLE table_name_52 ( fa_trophy INTEGER, player VARCHAR, league VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many FA Trophy has a Player of mario walsh and a League larger than 17? ### Response:
SELECT AVG(fa_trophy) FROM table_name_52 WHERE player = "mario walsh" AND league > 17
### Instruction: CREATE TABLE table_67219 ( "Date" text, "Opponent" text, "City" text, "Result" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game against Northwestern? ### Response:
SELECT "Date" FROM table_67219 WHERE "Opponent" = 'northwestern'
### Instruction: CREATE TABLE table_64710 ( "Group" text, "Name" text, "Nationality" text, "4.00" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Roslinda Samsu has what nationality? ### Response:
SELECT "Nationality" FROM table_64710 WHERE "Name" = 'roslinda samsu'
### Instruction: CREATE TABLE table_2784232_1 ( approximate_translation VARCHAR, morphological_category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the approximate translations when the morphological category is masc. sing. active participle? ### Response:
SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "masc. sing. active participle"
### Instruction: CREATE TABLE table_name_30 ( heat INTEGER, nationality VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Heat has a Nationality of bulgaria, and a Result larger than 55.97? ### Response:
SELECT MIN(heat) FROM table_name_30 WHERE nationality = "bulgaria" AND result > 55.97
### Instruction: CREATE TABLE table_1226250_1 ( prothrombin_time VARCHAR, condition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How in prothrombin affected by glanzmann's thrombasthenia. ### Response:
SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Glanzmann's thrombasthenia"
### Instruction: CREATE TABLE table_204_524 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the only season they were in 19th place ? ### Response:
SELECT "season" FROM table_204_524 WHERE "place" = 19
### Instruction: CREATE TABLE table_name_76 ( silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which silver has a Bronze of 1, a Total of 4, and a Nation of slovakia? ### Response:
SELECT silver FROM table_name_76 WHERE bronze = "1" AND total = "4" AND nation = "slovakia"
### Instruction: CREATE TABLE table_name_49 ( european_competitions VARCHAR, tier VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tier of 2, and a Season of 2004 05 is what European competitions? ### Response:
SELECT european_competitions FROM table_name_49 WHERE tier = 2 AND season = "2004–05"
### Instruction: CREATE TABLE table_31828 ( "Year" text, "Zone" text, "Final round" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1975, what was the final round? ### Response:
SELECT "Final round" FROM table_31828 WHERE "Year" = '1975'
### Instruction: CREATE TABLE table_32234 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which competition had the score 1-0? ### Response:
SELECT "Competition" FROM table_32234 WHERE "Score" = '1-0'
### Instruction: CREATE TABLE table_26565917_2 ( original_air_date VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when did 14.55 people watch? ### Response:
SELECT original_air_date FROM table_26565917_2 WHERE us_viewers__millions_ = "14.55"
### Instruction: CREATE TABLE table_14603212_5 ( class_aAA VARCHAR, school_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the AAA classes in the school years of 2005-06? ### Response:
SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2005-06"
### Instruction: CREATE TABLE table_name_58 ( events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of events that had 34 cuts and 3 in the top 10? ### Response:
SELECT COUNT(events) FROM table_name_58 WHERE cuts_made < 34 AND top_10 > 3
### Instruction: CREATE TABLE table_14644 ( "Year" text, "Title" text, "Role" text, "Episodes" text, "Broadcaster" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the role for BBC1? ### Response:
SELECT "Role" FROM table_14644 WHERE "Broadcaster" = 'bbc1'
### Instruction: CREATE TABLE table_23224961_1 ( oberbayern_b VARCHAR, oberpfalz VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When tus rosenberg is the oberpfalz what is the oberbayern b? ### Response:
SELECT oberbayern_b FROM table_23224961_1 WHERE oberpfalz = "TuS Rosenberg"
### Instruction: CREATE TABLE table_name_75 ( played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points? ### Response:
SELECT played FROM table_name_75 WHERE lost < 12 AND points > 37 AND drawn = 5
### Instruction: CREATE TABLE table_204_79 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what year did atletico artexico finish on top of their division ? ### Response:
SELECT "season" FROM table_204_79 WHERE "place" = 1
### Instruction: CREATE TABLE table_54723 ( "Year" text, "Venue" text, "Winner" text, "Country" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the winner in 2003? ### Response:
SELECT "Winner" FROM table_54723 WHERE "Year" = '2003'
### Instruction: CREATE TABLE table_64409 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Name that has the Rank of 4? ### Response:
SELECT "Name" FROM table_64409 WHERE "Rank" = '4'
### Instruction: CREATE TABLE table_name_53 ( wins INTEGER, team VARCHAR, games_played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the sum of wins for the ottawa hockey club when the games played is less than 10? ### Response:
SELECT SUM(wins) FROM table_name_53 WHERE team = "ottawa hockey club" AND games_played < 10
### Instruction: CREATE TABLE table_name_27 ( year INTEGER, bronze VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year is the highest one that has a Bronze of south korea, and a Silver of philippines? ### Response:
SELECT MAX(year) FROM table_name_27 WHERE bronze = "south korea" AND silver = "philippines"
### Instruction: CREATE TABLE table_35010 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the match against the visiting team, Toronto? ### Response:
SELECT "Date" FROM table_35010 WHERE "Visitor" = 'toronto'
### Instruction: CREATE TABLE table_name_3 ( record VARCHAR, home VARCHAR, visitor VARCHAR, decision VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis? ### Response:
SELECT record FROM table_name_3 WHERE visitor = "columbus" AND decision = "denis" AND home = "phoenix"
### Instruction: CREATE TABLE table_77556 ( "Draw" real, "Artist" text, "Song" text, "Place" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Draw when the Place is larger than 5? ### Response:
SELECT AVG("Draw") FROM table_77556 WHERE "Place" > '5'
### Instruction: CREATE TABLE table_name_67 ( fatalities INTEGER, airline VARCHAR, registration VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many fatalities are there for the airline of spantax, with a registration of ec-arz? ### Response:
SELECT AVG(fatalities) FROM table_name_67 WHERE airline = "spantax" AND registration = "ec-arz"
### Instruction: CREATE TABLE table_name_55 ( year INTEGER, association VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the most recent favorite rap/hip-hop new artist at the American music awards? ### Response:
SELECT MAX(year) FROM table_name_55 WHERE association = "american music awards" AND category = "favorite rap/hip-hop new artist"
### Instruction: CREATE TABLE table_78587 ( "Year" text, "Award" text, "Category" text, "Nominated" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For what award was there a nomination for Best Actress? ### Response:
SELECT "Award" FROM table_78587 WHERE "Category" = 'best actress'
### Instruction: CREATE TABLE table_204_190 ( id number, "rank" number, "city" text, "county" text, "state" text, "percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which city is ranked last ? ### Response:
SELECT "city" FROM table_204_190 ORDER BY "rank" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_75 ( losses INTEGER, season VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Losses is the lowest one that has a Season smaller than 1920, and Draws larger than 0? ### Response:
SELECT MIN(losses) FROM table_name_75 WHERE season < 1920 AND draws > 0
### Instruction: CREATE TABLE table_name_85 ( year VARCHAR, chassis VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of years for chassis of maserati 250f and points less than 0 ### Response:
SELECT COUNT(year) FROM table_name_85 WHERE chassis = "maserati 250f" AND points < 0
### Instruction: CREATE TABLE table_23575917_6 ( scores VARCHAR, lees_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When victoria coren and rhod gilbert are both on the lees team what is the score? ### Response:
SELECT scores FROM table_23575917_6 WHERE lees_team = "Victoria Coren and Rhod Gilbert"
### Instruction: CREATE TABLE table_10520 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Record for the game on October 30? ### Response:
SELECT "Record" FROM table_10520 WHERE "Date" = 'october 30'
### Instruction: CREATE TABLE table_50029 ( "Season" text, "League" text, "Teams" text, "Home" text, "Away" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Season has a Home of 0 1? ### Response:
SELECT "Season" FROM table_50029 WHERE "Home" = '0–1'
### Instruction: CREATE TABLE table_name_23 ( heat INTEGER, lane VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest heat for more than 3 lanes and a time of 2:09.12? ### Response:
SELECT MAX(heat) FROM table_name_23 WHERE lane > 3 AND time = "2:09.12"
### Instruction: CREATE TABLE table_name_76 ( year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the wheel arrangement 0-6-0 and a class 302? ### Response:
SELECT year_made FROM table_name_76 WHERE wheel_arrangement = "0-6-0" AND class = "302"
### Instruction: CREATE TABLE table_63569 ( "Song" text, "Performer" text, "Original artist" text, "Length" text, "Recorded" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which song lasts 3:34? ### Response:
SELECT "Song" FROM table_63569 WHERE "Length" = '3:34'
### Instruction: CREATE TABLE table_name_21 ( airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the airing date for a modern drama with more than 21 episodes? ### Response:
SELECT airing_date FROM table_name_21 WHERE genre = "modern drama" AND number_of_episodes > 21
### Instruction: CREATE TABLE table_38735 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a Result of 5-1? ### Response:
SELECT "Score" FROM table_38735 WHERE "Result" = '5-1'
### Instruction: CREATE TABLE table_name_21 ( season VARCHAR, pts VARCHAR, pos VARCHAR, pld VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season had 1st position, 33 pld, and 58 points? ### Response:
SELECT season FROM table_name_21 WHERE pos = "1st" AND pld = "33" AND pts = "58"
### Instruction: CREATE TABLE table_name_38 ( margin_of_victory VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Margin of victory has a Runner(s)-up of jos maria ca izares? ### Response:
SELECT margin_of_victory FROM table_name_38 WHERE runner_s__up = "josé maria cañizares"
### Instruction: CREATE TABLE table_name_78 ( college VARCHAR, pick VARCHAR, pba_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college was the draft pick number larger than 18 that went to the Barangay ginebra kings? ### Response:
SELECT college FROM table_name_78 WHERE pick > 18 AND pba_team = "barangay ginebra kings"
### Instruction: CREATE TABLE table_27441210_20 ( number_one_single_s_ VARCHAR, weeks_at__number1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number one singles for week 1 being 5 ### Response:
SELECT number_one_single_s_ FROM table_27441210_20 WHERE weeks_at__number1 = 5
### Instruction: CREATE TABLE table_name_88 ( laps INTEGER, manufacturer VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the sum of Laps that has the Manufacturer of kawasaki, and the Grid smaller than 7? ### Response:
SELECT SUM(laps) FROM table_name_88 WHERE manufacturer = "kawasaki" AND grid < 7
### Instruction: CREATE TABLE table_204_948 ( id number, "year" number, "award" text, "category" text, "film" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many nominated results are shown ? ### Response:
SELECT COUNT(*) FROM table_204_948 WHERE "result" = 'nominated'
### Instruction: CREATE TABLE table_name_92 ( to_par VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of the player with a 73-70-70-65=278 score? ### Response:
SELECT to_par FROM table_name_92 WHERE score = 73 - 70 - 70 - 65 = 278
### Instruction: CREATE TABLE table_10748 ( "Date" text, "Name" text, "Flag" text, "Tonnage (GRT)" real, "Sunk by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for the flag of Norway? ### Response:
SELECT "Date" FROM table_10748 WHERE "Flag" = 'norway'
### Instruction: CREATE TABLE table_45663 ( "Rank" real, "Title" text, "Studio" text, "Director(s)" text, "Worldwide Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank has skyfall as the title? ### Response:
SELECT "Rank" FROM table_45663 WHERE "Title" = 'skyfall'
### Instruction: CREATE TABLE table_name_33 ( date VARCHAR, region VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Date has the Region Europe and a Catalog of 74321 45851 2? ### Response:
SELECT date FROM table_name_33 WHERE region = "europe" AND catalog = "74321 45851 2"
### Instruction: CREATE TABLE table_79019 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is player thomas bj rn from? ### Response:
SELECT "Country" FROM table_79019 WHERE "Player" = 'thomas bjørn'
### Instruction: CREATE TABLE table_60038 ( "Letter" text, "American" text, "British" text, "Australian" text, "Examples" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the letter for the Brisish ? ### Response:
SELECT "Letter" FROM table_60038 WHERE "British" = 'ɒ'
### Instruction: CREATE TABLE table_name_73 ( date_enacted VARCHAR, ns VARCHAR, normal_total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date enacted for N.S. of 10 and normal total of 104 ### Response:
SELECT date_enacted FROM table_name_73 WHERE ns = "10" AND normal_total = "104"
### Instruction: CREATE TABLE table_name_80 ( date VARCHAR, h_a_n VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date was the Score 105-118 and the H/A/N A? ### Response:
SELECT date FROM table_name_80 WHERE h_a_n = "a" AND score = "105-118"
### Instruction: CREATE TABLE table_14754471_1 ( enrollment VARCHAR, hispanic___percentage_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the enrollment amount where Hispanic (%) is 3.6? ### Response:
SELECT enrollment FROM table_14754471_1 WHERE hispanic___percentage_ = "3.6"
### Instruction: CREATE TABLE table_64711 ( "Group" text, "Name" text, "Nationality" text, "4.00" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation is Marion Buisson playing for? ### Response:
SELECT "Nationality" FROM table_64711 WHERE "Name" = 'marion buisson'
### Instruction: CREATE TABLE table_name_99 ( country VARCHAR, language_s_ VARCHAR, literary_tradition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation was the film from that was in english and had a Literary tradition of canadian literature? ### Response:
SELECT country FROM table_name_99 WHERE language_s_ = "english" AND literary_tradition = "canadian literature"
### Instruction: CREATE TABLE table_31705 ( "Pos." text, "Driver" text, "Constructor" text, "Part 1" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the constructor for david coulthard ### Response:
SELECT "Constructor" FROM table_31705 WHERE "Driver" = 'david coulthard'
### Instruction: CREATE TABLE table_25468520_1 ( printing_process VARCHAR, theme VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many time is the theme rotary international : 100 years in canada? ### Response:
SELECT COUNT(printing_process) FROM table_25468520_1 WHERE theme = "Rotary International : 100 Years in Canada"
### Instruction: CREATE TABLE table_10728 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did hunter henry go to? ### Response:
SELECT "College" FROM table_10728 WHERE "Player" = 'hunter henry'
### Instruction: CREATE TABLE table_11842 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record on august 18? ### Response:
SELECT "Record" FROM table_11842 WHERE "Date" = 'august 18'
### Instruction: CREATE TABLE table_11961582_10 ( high_rebounds VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the high rebounds when the high assists were from J. Johnson (7)? ### Response:
SELECT high_rebounds FROM table_11961582_10 WHERE high_assists = "J. Johnson (7)"
### Instruction: CREATE TABLE table_61079 ( "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. -- What is the Score in Tie 2? ### Response:
SELECT "Score" FROM table_61079 WHERE "Tie no" = '2'
### Instruction: CREATE TABLE table_name_55 ( song VARCHAR, total_points VARCHAR, jury__points_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the song with more than 9 points and 44 (11) jury (points)? ### Response:
SELECT song FROM table_name_55 WHERE total_points > 9 AND jury__points_ = "44 (11)"
### Instruction: CREATE TABLE table_1939367_1 ( province VARCHAR, _percentage_2011 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the province amount if the % 2011 is 0.0% ### Response:
SELECT COUNT(province) FROM table_1939367_1 WHERE _percentage_2011 = "0.0%"
### Instruction: CREATE TABLE table_27155678_2 ( gene_name VARCHAR, accession_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the gene name for accession number bx897700.1 ### Response:
SELECT gene_name FROM table_27155678_2 WHERE accession_number = "BX897700.1"
### Instruction: CREATE TABLE table_23685890_2 ( est VARCHAR, land_area__km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what year was the local government area with a surface of 4563 square kilometers established? ### Response:
SELECT est FROM table_23685890_2 WHERE land_area__km²_ = "4563"
### Instruction: CREATE TABLE table_20866024_4 ( wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Wheelbase for Model 97300? ### Response:
SELECT wheelbase__mm_inch_ FROM table_20866024_4 WHERE model_designation = "97300"
### Instruction: CREATE TABLE table_23512864_4 ( winning_party_coalition VARCHAR, election_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the winning party/coalition name in election year 1980? ### Response:
SELECT winning_party_coalition FROM table_23512864_4 WHERE election_year = 1980
### Instruction: CREATE TABLE table_name_57 ( population_estimate__2013_ INTEGER, percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest 2013 population estimate of the province with a 23.7 percentage? ### Response:
SELECT MIN(population_estimate__2013_) FROM table_name_57 WHERE percentage = 23.7
### Instruction: CREATE TABLE table_70299 ( "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 name of the player with a To par of 4? ### Response:
SELECT "Player" FROM table_70299 WHERE "To par" = '–4'
### Instruction: CREATE TABLE table_name_6 ( top_10 INTEGER, events VARCHAR, top_5 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of top-10s for events under 57 and 0 top-5s? ### Response:
SELECT AVG(top_10) FROM table_name_6 WHERE events < 57 AND top_5 < 0
### Instruction: CREATE TABLE table_name_49 ( socialist_labor_ticket VARCHAR, republican_ticket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Socialist Labor ticket with a Republican ticket of cuthbert w. pound? ### Response:
SELECT socialist_labor_ticket FROM table_name_49 WHERE republican_ticket = "cuthbert w. pound"
### Instruction: CREATE TABLE table_4681 ( "Team" text, "Constructor" text, "Motorcycle" text, "Rider" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Constructor for the Trac Racing Team? ### Response:
SELECT "Constructor" FROM table_4681 WHERE "Team" = 'trac racing team'
### Instruction: CREATE TABLE table_80395 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score to highest to par did Mike Weir achieve? ### Response:
SELECT MAX("To par") FROM table_80395 WHERE "Player" = 'mike weir'
### Instruction: CREATE TABLE table_name_16 ( number_ VARCHAR, _name VARCHAR, description VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which number and name has the description Gresley RB and a date before 1937? ### Response:
SELECT number_ & _name FROM table_name_16 WHERE description = "gresley rb" AND date < 1937
### Instruction: CREATE TABLE table_7187 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result with a Venue that is n? ### Response:
SELECT "Result" FROM table_7187 WHERE "Venue" = 'n'
### Instruction: CREATE TABLE table_11953 ( "Date" text, "Opponent" text, "Winner" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the result for winner of bc 3 ### Response:
SELECT "Result" FROM table_11953 WHERE "Winner" = 'bc 3'
### Instruction: CREATE TABLE table_name_69 ( to_par VARCHAR, money___$__ VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which To Par has a Money ($) of 350, and a Player of henry picard? ### Response:
SELECT to_par FROM table_name_69 WHERE money___$__ = 350 AND player = "henry picard"
### Instruction: CREATE TABLE table_37713 ( "Score" text, "Opposition" text, "Venue" text, "City" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for 1911? ### Response:
SELECT "Score" FROM table_37713 WHERE "Year" = '1911'
### Instruction: CREATE TABLE table_name_81 ( avg_g VARCHAR, gain VARCHAR, long VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Avg/G has a Gain smaller than 1571, and a Long smaller than 46? ### Response:
SELECT COUNT(avg_g) FROM table_name_81 WHERE gain < 1571 AND long < 46
### Instruction: CREATE TABLE table_32851 ( "Date" real, "Sport" text, "Winner" text, "Score" text, "Loser" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner in 2007? ### Response:
SELECT "Winner" FROM table_32851 WHERE "Date" = '2007'
### Instruction: CREATE TABLE table_name_2 ( district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which district had SC reserved and 169 Constituents? ### Response:
SELECT district FROM table_name_2 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "169"
### Instruction: CREATE TABLE table_name_87 ( winning_score VARCHAR, year VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning score before 1959, with runner-up Jackie Pung? ### Response:
SELECT winning_score FROM table_name_87 WHERE year < 1959 AND runner_s__up = "jackie pung"
### Instruction: CREATE TABLE table_8420 ( "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. -- What is the Date for the Home team West Ham United ### Response:
SELECT "Date" FROM table_8420 WHERE "Home team" = 'west ham united'
### Instruction: CREATE TABLE table_70008 ( "Date" text, "City" text, "Country" text, "Venue" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is Cadott Rock Fest taken place? ### Response:
SELECT "Date" FROM table_70008 WHERE "Venue" = 'cadott rock fest'
### Instruction: CREATE TABLE table_28360 ( "Road race" text, "Distance" text, "Location" text, "Country" text, "Month held" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which city was the berlin marathon? ### Response:
SELECT "Location" FROM table_28360 WHERE "Road race" = 'Berlin Marathon'