instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_203_771 ( id number, "#" number, "artist" text, "featuring" text, "title" text, "version" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many tracks featured sandy ? ### Response:
SELECT COUNT("title") FROM table_203_771 WHERE "featuring" = 'sandy'
### Instruction: CREATE TABLE table_53628 ( "Year" real, "Player" text, "Position" text, "High School" text, "Hometown" text, "MLB Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does the player from malvern prep play? ### ...
SELECT "Position" FROM table_53628 WHERE "High School" = 'malvern prep'
### Instruction: CREATE TABLE table_68477 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played as Team 1 against Lom i? ### Response:
SELECT "Team 1" FROM table_68477 WHERE "Team 2" = 'lomé i'
### Instruction: CREATE TABLE table_38494 ( "Number" real, "Station" text, "Japanese" text, "Distance (km)" real, "Stop" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Japanese name of the station with a number 3? ...
SELECT "Japanese" FROM table_38494 WHERE "Number" = '3'
### Instruction: CREATE TABLE table_55737 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week was October 9, 1938? ### Response:
SELECT COUNT("Week") FROM table_55737 WHERE "Date" = 'october 9, 1938'
### Instruction: CREATE TABLE table_37101 ( "Rank" real, "Name" text, "Height* ft (m)" text, "Year* (est.)" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what name was on the year 2012 ### Response:
SELECT "Name" FROM table_37101 WHERE "Year* (est.)" = '2012'
### Instruction: CREATE TABLE table_68740 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year had a Ford engine and 13 points? ### Response:
SELECT "Year" FROM table_68740 WHERE "Engine" = 'ford' AND "Pts." = '13'
### Instruction: CREATE TABLE table_2771 ( "Episode" text, "Location" text, "Headliner" text, "Comedians" text, "Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the show air when Sean Lock was the headliner? ### Response:
SELECT "Airdate" FROM table_2771 WHERE "Headliner" = 'Sean Lock'
### Instruction: CREATE TABLE table_50295 ( "Parameter" text, "1st stage" text, "2nd stage" text, "3rd stage" text, "4th stage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Parameter that has the third phase of 20kn? ### Response:
SELECT "Parameter" FROM table_50295 WHERE "3rd stage" = '20kn'
### Instruction: CREATE TABLE table_name_37 ( top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total number of Top-25 values, for which Cuts made was 62, and for which Wins were less than 1? ### Respon...
SELECT COUNT(top_25) FROM table_name_37 WHERE cuts_made = 62 AND wins < 1
### Instruction: CREATE TABLE table_5296 ( "Year" real, "Location" text, "Gold" text, "Silver" text, "Bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of years when Mika Miyazato won the silver? ### Response:
SELECT COUNT("Year") FROM table_5296 WHERE "Silver" = 'mika miyazato'
### Instruction: CREATE TABLE table_144 ( "Player" text, "Games Played" real, "Attempts" real, "Yards" real, "Touchdowns" real, "Longest run" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many attempts did Charles White make? ### Response...
SELECT MIN("Attempts") FROM table_144 WHERE "Player" = 'Charles White'
### Instruction: CREATE TABLE table_16754 ( "#" real, "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date is listed at place 13 ### Res...
SELECT "Date" FROM table_16754 WHERE "#" = '13'
### Instruction: CREATE TABLE table_61472 ( "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. -- The game played on 6 December 1986 had what score? ### Response:
SELECT "Score" FROM table_61472 WHERE "Date" = '6 december 1986'
### Instruction: CREATE TABLE table_27842 ( "Institution" text, "Location" text, "Type" text, "Joined" real, "Enrollment" real, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of institution is San Diego Christian college? ...
SELECT "Type" FROM table_27842 WHERE "Institution" = 'San Diego Christian College'
### Instruction: CREATE TABLE table_name_51 ( kv_85_m1943 VARCHAR, kv_1s_m1942 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the KV-85 when the KV-1S is 45? ### Response:
SELECT kv_85_m1943 FROM table_name_51 WHERE kv_1s_m1942 = "45"
### Instruction: CREATE TABLE table_24638867_6 ( championship VARCHAR, outcome VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the championship for outcome being winner for 7 5, 4 6, 6 1 ### Response:
SELECT championship FROM table_24638867_6 WHERE outcome = "Winner" AND score = "7–5, 4–6, 6–1"
### Instruction: CREATE TABLE table_1013129_11 ( college_junior_club_team VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college/junior/club teams do the players from the St. Louis Blues come from? ### Response:
SELECT college_junior_club_team FROM table_1013129_11 WHERE nhl_team = "St. Louis Blues"
### Instruction: CREATE TABLE table_name_98 ( year VARCHAR, nominated_work_title VARCHAR, organisation VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year when then organisation is star awards, the result is won and the no...
SELECT year FROM table_name_98 WHERE organisation = "star awards" AND result = "won" AND nominated_work_title = "n/a"
### Instruction: CREATE TABLE table_41563 ( "Branch" text, "Address" text, "Neighborhood" text, "First branch opened" real, "Current branch opened" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Neighborhood, when Branch is Hollywood Library...
SELECT "Neighborhood" FROM table_41563 WHERE "Branch" = 'hollywood library'
### Instruction: CREATE TABLE table_10026563_1 ( entered_office_as_head_of_state_or_government VARCHAR, office VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Prime Minister of Italy take office? ### Response:
SELECT entered_office_as_head_of_state_or_government FROM table_10026563_1 WHERE office = "Prime Minister of Italy"
### Instruction: CREATE TABLE table_62736 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which spike has a 2008 club Karava? ### Response:
SELECT "Spike" FROM table_62736 WHERE "2008 club" = 'karava'
### Instruction: CREATE TABLE table_1148 ( "Year (Ceremony)" text, "English title" text, "Hungarian title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was taxidermia nominated? ### Response:
SELECT "Year (Ceremony)" FROM table_1148 WHERE "Hungarian title" = 'Taxidermia'
### Instruction: CREATE TABLE table_74858 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average for January with points of 51 ### Response:
SELECT "January" FROM table_74858 WHERE "Points" = '51'
### Instruction: CREATE TABLE table_6687 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year did naga bonar take place ### Respon...
SELECT "Year (Ceremony)" FROM table_6687 WHERE "Original title" = 'naga bonar'
### Instruction: CREATE TABLE table_11379 ( "Chemical class" text, "Group" text, "Formula" text, "Prefix" text, "Suffix" text, "Example" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Formula has a Prefix of alkyl-? ### Response:
SELECT "Formula" FROM table_11379 WHERE "Prefix" = 'alkyl-'
### Instruction: CREATE TABLE table_name_82 ( chassis VARCHAR, team VARCHAR, engine VARCHAR, drivers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis belongs with the Cosworth Engine driven by Scott Pruett on the Dick Simon Racing team? ...
SELECT chassis FROM table_name_82 WHERE engine = "cosworth" AND drivers = "scott pruett" AND team = "dick simon racing"
### Instruction: CREATE TABLE table_204_263 ( id number, "pick" number, "player" text, "country of origin" text, "pba team" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many from the philippines ? ### Response:
SELECT COUNT(*) FROM table_204_263 WHERE "country of origin" = 'philippines'
### Instruction: CREATE TABLE table_28490105_1 ( supporting VARCHAR, gt_winning_car VARCHAR, rnd VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was supporting in round 1 where the gt winning car was dodge viper? ### Response:
SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = "Dodge Viper" AND rnd = 1
### Instruction: CREATE TABLE table_37390 ( "Surname" text, "First" text, "D.O.B." text, "Bats" text, "Throws" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which bats did mitchell play first? ### Response:
SELECT "Bats" FROM table_37390 WHERE "First" = 'mitchell'
### Instruction: CREATE TABLE table_60137 ( "Club" text, "Nickname" text, "Location" text, "GFL Premierships" text, "Years in GFL" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which club is located in Thomson, Victoria? ### Response:
SELECT "Club" FROM table_60137 WHERE "Location" = 'thomson, victoria'
### Instruction: CREATE TABLE table_15998 ( "Position" real, "Driver" text, "Points" real, "Winnings" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the maximum position with winnings $50,000 ### Response:
SELECT MAX("Position") FROM table_15998 WHERE "Winnings" = '$50,000'
### Instruction: CREATE TABLE table_204_36 ( id number, "date" text, "opponent" text, "site" text, "result" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what number is the only attendance listed ? ### ...
SELECT "attendance" FROM table_204_36 WHERE NOT "attendance" IS NULL
### Instruction: CREATE TABLE table_64559 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent for game 73? ### Response:
SELECT "Opponent" FROM table_64559 WHERE "Game" = '73'
### Instruction: CREATE TABLE table_78764 ( "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. -- How many totals have t6 as the finish? ### Response:
SELECT SUM("Total") FROM table_78764 WHERE "Finish" = 't6'
### Instruction: CREATE TABLE table_57295 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of rank for 348cc petty manx ### Response:
SELECT COUNT("Rank") FROM table_57295 WHERE "Team" = '348cc petty manx'
### Instruction: CREATE TABLE table_68012 ( "Date" text, "Location" text, "Nature of incident" text, "Circumstances" text, "Casualties" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the casualties in the Baghlan location? ### Response:
SELECT "Casualties" FROM table_68012 WHERE "Location" = 'baghlan'
### Instruction: CREATE TABLE table_66977 ( "Date" text, "Season" text, "Playing for" text, "Opponent" text, "Final score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Season is Necaxa an Opponent? ### Response:
SELECT "Season" FROM table_66977 WHERE "Opponent" = 'necaxa'
### Instruction: CREATE TABLE table_12759 ( "Date" text, "Opponent#" text, "Rank#" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the attendance 82,500? ### Response:
SELECT "Date" FROM table_12759 WHERE "Attendance" = '82,500'
### Instruction: CREATE TABLE table_train_216 ( "id" int, "gender" string, "hba1c" float, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hba1c level of greater than 9 % ### Response:
SELECT * FROM table_train_216 WHERE hba1c >= 9
### Instruction: CREATE TABLE table_13328 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which County has an Opposition of offaly? ### Response:
SELECT "County" FROM table_13328 WHERE "Opposition" = 'offaly'
### Instruction: CREATE TABLE table_2383498_4 ( qld_cup_premierships VARCHAR, home_ground VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium? ### Response:
SELECT qld_cup_premierships FROM table_2383498_4 WHERE home_ground = "Dairy Farmers Stadium"
### Instruction: CREATE TABLE table_19267 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least amount of field...
SELECT MIN("Field goals") FROM table_19267
### Instruction: CREATE TABLE table_17211 ( "Round" real, "Overall" text, "Player" text, "Position" text, "Nationality" text, "Club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position of player Tobias Lindberg? ### Respon...
SELECT "Position" FROM table_17211 WHERE "Player" = 'Tobias Lindberg'
### Instruction: CREATE TABLE table_204_356 ( id number, "name of place" text, "number of counties" number, "principal county" text, "lower zip code" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which place has the highest number of counties ? ...
SELECT "name of place" FROM table_204_356 ORDER BY "number of counties" DESC LIMIT 1
### Instruction: CREATE TABLE table_11214772_1 ( runner_up VARCHAR, location VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the runner-up where location is ellenton, fl and year is 2004 ### Response:
SELECT runner_up FROM table_11214772_1 WHERE location = "Ellenton, FL" AND year = "2004"
### Instruction: CREATE TABLE table_11662133_3 ( date_withdrawn VARCHAR, date_entered_service VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are all the date withdrawn for service entered on 21 november 1945 ### Response:
SELECT date_withdrawn FROM table_11662133_3 WHERE date_entered_service = "21 November 1945"
### Instruction: CREATE TABLE table_64517 ( "Shirt No" real, "Nationality" text, "Player" text, "Birth Date" text, "Height" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height of the person whose position is Libero...
SELECT MAX("Height") FROM table_64517 WHERE "Position" = 'libero'
### Instruction: CREATE TABLE table_65253 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name when 2008 club is vc nova? ### Response:
SELECT "Name" FROM table_65253 WHERE "2008 club" = 'vc nova'
### Instruction: CREATE TABLE table_40149 ( "Value" text, "\u20ac equiv." text, "Diameter" text, "Weight" text, "Composition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much does the coin with a 14mm diameter weigh? ### Response:
SELECT "Weight" FROM table_40149 WHERE "Diameter" = '14mm'
### Instruction: CREATE TABLE table_17886 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the current club for player sacha giffa ### Response:
SELECT "Current Club" FROM table_17886 WHERE "Player" = 'Sacha Giffa'
### Instruction: CREATE TABLE table_62745 ( "Name" text, "Feature" text, "Latitude" text, "Longitude" text, "Distance" text, "Bearing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the distance for bearing 297 ? ### Response:
SELECT "Distance" FROM table_62745 WHERE "Bearing" = '297°'
### Instruction: CREATE TABLE table_19860361_3 ( yogi_bear VARCHAR, air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Yogi Bear that aired on 1959.12.21? ### Response:
SELECT yogi_bear FROM table_19860361_3 WHERE air_date = "1959.12.21"
### Instruction: CREATE TABLE table_204_278 ( id number, "name of president" text, "picture" text, "life span" text, "year of presidency" text, "place of conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which president is listed at the...
SELECT "name of president" FROM table_204_278 WHERE id = 1
### Instruction: CREATE TABLE table_21277 ( "Country" text, "Preliminary" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- State average scores of participants from arizona ...
SELECT "Average" FROM table_21277 WHERE "Country" = 'Arizona'
### Instruction: CREATE TABLE table_5230 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Tyres" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Total points for a bs automotive entrant? ### Response:
SELECT COUNT("Points") FROM table_5230 WHERE "Entrant" = 'bs automotive'
### Instruction: CREATE TABLE table_35350 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the May 28 game? ### Response:
SELECT "Attendance" FROM table_35350 WHERE "Date" = 'may 28'
### Instruction: CREATE TABLE table_60640 ( "Player" text, "Career" text, "Goals (Caps)" text, "Pct." real, "Playing status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the career of player andriy husyn? ### Response:
SELECT "Career" FROM table_60640 WHERE "Player" = 'andriy husyn'
### Instruction: CREATE TABLE table_53256 ( "Player" text, "Car." real, "Yards" text, "Avg." text, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has greater than 8 Long and a 73 Yards? ### Response:
SELECT "Player" FROM table_53256 WHERE "Long" > '8' AND "Yards" = '73'
### Instruction: CREATE TABLE table_40107 ( "Championship" text, "Current champion(s)" text, "Previous champion(s)" text, "Date won" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location held the Iron 8 Championship tourname...
SELECT "Location" FROM table_40107 WHERE "Championship" = 'iron 8 championship tournament'
### Instruction: CREATE TABLE flight ( Id VARCHAR ) CREATE TABLE operate_company ( id VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the ids and names of the companies that operated more than one flight? ### Response:
SELECT T1.id, T1.name FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id GROUP BY T1.id HAVING COUNT(*) > 1
### Instruction: CREATE TABLE table_11734041_10 ( height_in_ft VARCHAR, school_club_team_country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In connecticut the school/club team/country had a set height in ft. what is true for them? ### Response:
SELECT height_in_ft FROM table_11734041_10 WHERE school_club_team_country = "Connecticut"
### Instruction: CREATE TABLE table_name_42 ( location VARCHAR, aircraft VARCHAR, tail_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location that had an accident by the F-27-600RF aircraft with tail number 6O-SAZ? ### Response:
SELECT location FROM table_name_42 WHERE aircraft = "f-27-600rf" AND tail_number = "6o-saz"
### Instruction: CREATE TABLE table_name_10 ( dance VARCHAR, highest_score VARCHAR, best_dancer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Dance with the Highest score under 30 and Stacy Keibler as the Best dancer(s)? ### Response:
SELECT dance FROM table_name_10 WHERE highest_score < 30 AND best_dancer_s_ = "stacy keibler"
### Instruction: CREATE TABLE products ( code number, name text, price number, manufacturer number ) CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT code, name, MIN(price) FROM products GROUP BY name
### Instruction: CREATE TABLE table_name_64 ( scorers VARCHAR, opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the scorers in the game against neuch tel xamax played on 10 December 1985? ### Response:
SELECT scorers FROM table_name_64 WHERE opponent = "neuchâtel xamax" AND date = "10 december 1985"
### Instruction: CREATE TABLE table_17203 ( "Round" real, "Overall" real, "Player" text, "Position" text, "Nationality" text, "Club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHERE IS ANDRE PETERSSON FROM? ### Response:
SELECT "Nationality" FROM table_17203 WHERE "Player" = 'Andre Petersson'
### Instruction: CREATE TABLE table_204_539 ( id number, "date" text, "name" text, "moving from" text, "moving to" text, "fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the total fee for ramires ' transfer ? ### Response:
SELECT "fee" FROM table_204_539 WHERE "name" = 'ramires'
### Instruction: CREATE TABLE table_204_874 ( id number, "year" number, "winner" text, "runner-up" text, "final score" text, "third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team has the most wins ? ### Response:
SELECT "winner" FROM table_204_874 GROUP BY "winner" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_40189 ( "Club" text, "City" text, "Stadium" text, "2009 season" text, "Group" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which City has a Stadium of estadio san crist bal? ### Response:
SELECT "City" FROM table_40189 WHERE "Stadium" = 'estadio san cristóbal'
### Instruction: CREATE TABLE table_51348 ( "Player" text, "Span" text, "Start" text, "Tries" text, "Conv" text, "Pens" text, "Drop" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which spans had a drop of 0? ### Response:
SELECT "Span" FROM table_51348 WHERE "Drop" = '0'
### Instruction: CREATE TABLE table_name_6 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average 1940 value where 1929 values are 101.4 and 1933 values are over 68.3? ### Response:
SELECT AVG(1940) FROM table_name_6 WHERE 1929 = 101.4 AND 1933 > 68.3
### Instruction: CREATE TABLE table_60300 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score points have olympic gold medalist as the rank points? ### Response...
SELECT "Score points" FROM table_60300 WHERE "Rank points" = 'olympic gold medalist'
### Instruction: CREATE TABLE table_204_886 ( id number, "rank" number, "swimmer" text, "country" text, "time" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the last competitor to actually finish the preliminaries ? ### R...
SELECT "swimmer" FROM table_204_886 ORDER BY "rank" DESC LIMIT 1
### Instruction: CREATE TABLE table_43141 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the Broadview Hawks home game? ### Response:
SELECT "Score" FROM table_43141 WHERE "Home" = 'broadview hawks'
### Instruction: CREATE TABLE table_train_52 ( "id" int, "pregnancy_or_lactation" bool, "consent" bool, "surgery" bool, "hemodynamic_instability" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- written informed con...
SELECT * FROM table_train_52 WHERE consent = 1
### Instruction: CREATE TABLE table_16074 ( "Round" real, "Choice" real, "Overall" real, "Player name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which round did Tommy Kramer play in> ### Response:
SELECT "Round" FROM table_16074 WHERE "Player name" = 'Tommy Kramer'
### Instruction: CREATE TABLE table_12407546_1 ( _number INTEGER, riding VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of the player with 68.46 (1144 pts) in riding? ### Response:
SELECT MAX(_number) FROM table_12407546_1 WHERE riding = "68.46 (1144 pts)"
### Instruction: CREATE TABLE table_49972 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the country when the player is bill nary? ### Response:
SELECT "Country" FROM table_49972 WHERE "Player" = 'bill nary'
### Instruction: CREATE TABLE table_24013 ( "Stations" text, "Connections" text, "City/ Neighborhood" text, "Parking" text, "Date Opened" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many connection catagories are there for Tampa? ### Respon...
SELECT COUNT("Connections") FROM table_24013 WHERE "Stations" = 'Tampa'
### Instruction: CREATE TABLE table_37322 ( "District" real, "Incumbent" text, "2008 Status" text, "Democratic" text, "Republican" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Republican has a District of 10? ### Response:
SELECT "Republican" FROM table_37322 WHERE "District" = '10'
### Instruction: CREATE TABLE table_15863 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position does Loren Woods play? ### Re...
SELECT "Position" FROM table_15863 WHERE "Player" = 'Loren Woods'
### Instruction: CREATE TABLE table_712 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which candidates are from the Missouri 3 district? ### ...
SELECT "Candidates" FROM table_712 WHERE "District" = 'Missouri 3'
### Instruction: CREATE TABLE table_name_49 ( ri_song_hui___prk__ VARCHAR, world_record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Ri Song-Hui when the olympic record is the world record and snatch was snatch? ### Response:
SELECT ri_song_hui___prk__ FROM table_name_49 WHERE world_record = "olympic record" AND "snatch" = "snatch"
### Instruction: CREATE TABLE table_204_784 ( id number, "player" text, "league" number, "cup" number, "europa league" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many goals did ismail isa score this season ? ### Respo...
SELECT "total" FROM table_204_784 WHERE "player" = 'ismail isa'
### Instruction: CREATE TABLE table_name_64 ( fs VARCHAR, sp INTEGER, name VARCHAR, placings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place? ### Response:
SELECT MIN(sp) + fs FROM table_name_64 WHERE name = "miljan begovic" AND placings > 189
### Instruction: CREATE TABLE table_204_796 ( id number, "network name" text, "flagship" text, "programming type" text, "owner" text, "affiliates" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the only station with 8 affiliates ? #...
SELECT "network name" FROM table_204_796 WHERE "affiliates" = 8
### Instruction: CREATE TABLE table_name_39 ( electorate VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Electorate, when Party is 'Country', when State is 'WA', and when Member is 'John Hallett'? ...
SELECT electorate FROM table_name_39 WHERE party = "country" AND state = "wa" AND member = "john hallett"
### Instruction: CREATE TABLE table_74542 ( "Class" text, "Date" text, "Race" text, "Driver" text, "Position" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what class has the date of 8/1954? ### Response:
SELECT "Class" FROM table_74542 WHERE "Date" = '8/1954'
### Instruction: CREATE TABLE table_54585 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player has a height of 6-7? ### Response:
SELECT "Player" FROM table_54585 WHERE "Height" = '6-7'
### Instruction: CREATE TABLE table_21132404_1 ( political_parties VARCHAR, _percentage_2006 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many political parties had a %2006 rating of 43.5? ### Response:
SELECT COUNT(political_parties) FROM table_21132404_1 WHERE _percentage_2006 = "43.5"
### Instruction: CREATE TABLE table_80256 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On May 29 which team had the loss? ### Response:
SELECT "Loss" FROM table_80256 WHERE "Date" = 'may 29'
### Instruction: CREATE TABLE table_34609 ( "Date" text, "Label" text, "Region" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the format of catalog 865 821-1? ### Response:
SELECT "Format" FROM table_34609 WHERE "Catalog" = '865 821-1'
### Instruction: CREATE TABLE table_name_92 ( points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points against does the club that has a try bonus of 6 and tries against of 54 have ? ### Res...
SELECT points_against FROM table_name_92 WHERE try_bonus = "6" AND tries_against = "54"
### Instruction: CREATE TABLE table_59477 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at the Billericay Town home game? ### Response:
SELECT "Attendance" FROM table_59477 WHERE "Home team" = 'billericay town'
### Instruction: CREATE TABLE table_204_298 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many first place victories did the runner h...
SELECT COUNT(*) FROM table_204_298 WHERE "position" = 1
### Instruction: CREATE TABLE table_204_75 ( id number, "year" number, "place" text, "gold" text, "silver" text, "bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won the only gold medal in 1962 ? ### Response:
SELECT "gold" FROM table_204_75 WHERE "year" = 1962
### Instruction: CREATE TABLE table_203_437 ( id number, "year" number, "laureate" text, "relation" text, "category" text, "rationale" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many laureates were in the field of physics ? ### Respons...
SELECT COUNT("laureate") FROM table_203_437 WHERE "category" = 'physics'
### Instruction: CREATE TABLE table_name_42 ( to_par INTEGER, country VARCHAR, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which To par has a Country of australia, and a Year(s) won of 1990? ### Response:
SELECT MIN(to_par) FROM table_name_42 WHERE country = "australia" AND year_s__won = "1990"
### Instruction: CREATE TABLE table_41242 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Unit" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What unit has gen et sp nov as the novelty? ### Response:
SELECT "Unit" FROM table_41242 WHERE "Novelty" = 'gen et sp nov'