instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_18173916_8 ( friday VARCHAR, monday VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which episode was Transmitted on friday if the episode of '515 the adventures of tintin' was transmitted on monday? ### Response:
SELECT friday FROM table_18173916_8 WHERE monday = "515 The Adventures of Tintin"
### Instruction: CREATE TABLE table_60350 ( "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 Home team at the Blackburn Rovers Away game? ### Response:
SELECT "Home team" FROM table_60350 WHERE "Away team" = 'blackburn rovers'
### Instruction: CREATE TABLE table_13555999_1 ( gender VARCHAR, junior_high_school__12_15_yrs_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the gender of the junior high school is 24mm? ### Response:
SELECT gender FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "24mm"
### Instruction: CREATE TABLE table_67291 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game when the record was 66-38? ### Response:
SELECT "Date" FROM table_67291 WHERE "Record" = '66-38'
### Instruction: CREATE TABLE table_4737 ( "Year" real, "BB Hot" text, "BB CW" text, "BB AC" text, "CB CW" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the CB CW for the year of 1982? ### Response:
SELECT "CB CW" FROM table_4737 WHERE "Year" = '1982'
### Instruction: CREATE TABLE table_11968 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was brian lemay born? ### Response:
SELECT "Date of Birth (Age)" FROM table_11968 WHERE "Player" = 'brian lemay'
### Instruction: CREATE TABLE table_20803 ( "Institution" text, "Location" text, "Nickname" text, "Enrollment" real, "Established" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many nicknames does the school in Newark, DE have ### Response:
SELECT COUNT("Nickname") FROM table_20803 WHERE "Location" = 'Newark, DE'
### Instruction: CREATE TABLE table_name_45 ( year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Year when there were more than 3 points, for MV Agusta and ranked 10th? ### Response:
SELECT AVG(year) FROM table_name_45 WHERE points > 3 AND team = "mv agusta" AND rank = "10th"
### Instruction: CREATE TABLE table_47134 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Method for Brazil? ### Response:
SELECT "Method" FROM table_47134 WHERE "Location" = 'brazil'
### Instruction: CREATE TABLE table_59388 ( "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 had a score of 67-67=134? ### Response:
SELECT "Place" FROM table_59388 WHERE "Score" = '67-67=134'
### Instruction: CREATE TABLE table_70863 ( "School" text, "Team" text, "Division Record" text, "Overall Record" text, "Season Outcome" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the School, when the Team is Golden Knights? ### Respons...
SELECT "School" FROM table_70863 WHERE "Team" = 'golden knights'
### Instruction: CREATE TABLE table_name_88 ( score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score in the final of the tournament with a clay surface on 18 April 2011? ### Response:
SELECT score_in_the_final FROM table_name_88 WHERE surface = "clay" AND date = "18 april 2011"
### Instruction: CREATE TABLE table_51709 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what week was the Result L 15-13? ### Response:
SELECT AVG("Week") FROM table_51709 WHERE "Result" = 'l 15-13'
### Instruction: CREATE TABLE table_25917 ( "Episode" text, "First broadcast" text, "Seans team" text, "Daves team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first broadcast date of episode 4x03? ### Response:
SELECT "First broadcast" FROM table_25917 WHERE "Episode" = '4x03'
### Instruction: CREATE TABLE table_name_18 ( game_site VARCHAR, kickoff__et_ VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game site has a Kickoff (ET) of 1:00pm, and a Record of 4 1? ### Response:
SELECT game_site FROM table_name_18 WHERE kickoff__et_ = "1:00pm" AND record = "4–1"
### Instruction: CREATE TABLE table_61538 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year with 7th (heats) position? ### Response:
SELECT AVG("Year") FROM table_61538 WHERE "Position" = '7th (heats)'
### Instruction: CREATE TABLE table_8756 ( "Round" real, "Pick" text, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- HOW MANY ROUNDS HAD A PICK OF 7? ### Response:
SELECT COUNT("Round") FROM table_8756 WHERE "Pick" = '7'
### Instruction: CREATE TABLE table_46121 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Lowest pick for mike flater? ### Response:
SELECT MIN("Pick") FROM table_46121 WHERE "Name" = 'mike flater'
### Instruction: CREATE TABLE table_34527 ( "Club" text, "Wins" text, "Last win" text, "Runners-up" text, "Last final lost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which club had 13 runners-up? ### Response:
SELECT "Club" FROM table_34527 WHERE "Runners-up" = '13'
### Instruction: CREATE TABLE table_11091 ( "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. -- How many people attended the game with a Tie no of 30? ### Response:
SELECT "Attendance" FROM table_11091 WHERE "Tie no" = '30'
### Instruction: CREATE TABLE table_203_636 ( id number, "#" number, "date" text, "winner" text, "score" text, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which game date had the highest winning score ? ### Resp...
SELECT "date" FROM table_203_636 ORDER BY "score" DESC LIMIT 1
### Instruction: CREATE TABLE table_54647 ( "Event" text, "Data" text, "Athlete" text, "Date" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a walking data of 3:10:48+? ### Response:
SELECT "Athlete" FROM table_54647 WHERE "Data" = '3:10:48+'
### Instruction: CREATE TABLE table_9308 ( "Rank" real, "Name" text, "Floors*" real, "Year* (est.)" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest rank of the building with 12 floors? ### Response:
SELECT MIN("Rank") FROM table_9308 WHERE "Floors*" = '12'
### Instruction: CREATE TABLE table_11236195_5 ( winningteam VARCHAR, clive_churchill_medal VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Brett kimmorley, who was chosen for the clive churchill medal belonged to what team? ### Response:
SELECT winningteam FROM table_11236195_5 WHERE clive_churchill_medal = "Brett Kimmorley"
### Instruction: CREATE TABLE table_name_81 ( wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Wins, when Top-25 is less than 4, and when Top-10 is less than 1? ### Response:
SELECT COUNT(wins) FROM table_name_81 WHERE top_25 < 4 AND top_10 < 1
### Instruction: CREATE TABLE table_75611 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average game with a record of 4-4-0? ### Response:
SELECT AVG("Game") FROM table_75611 WHERE "Record" = '4-4-0'
### Instruction: CREATE TABLE table_27700530_10 ( location_attendance VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location and attendance of the game when gilbert arenas (9) had the high assists? ### Response:
SELECT location_attendance FROM table_27700530_10 WHERE high_assists = "Gilbert Arenas (9)"
### Instruction: CREATE TABLE table_59119 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country had a total of 295? ### Response:
SELECT "Country" FROM table_59119 WHERE "Total" = '295'
### Instruction: CREATE TABLE table_21887 ( "Tie no" real, "Home team" text, "Score 1" text, "Away team" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what tie were Leeds United the away team? ### Response:
SELECT MAX("Tie no") FROM table_21887 WHERE "Away team" = 'Leeds United'
### Instruction: CREATE TABLE table_54948 ( "Name" text, "Nationality" text, "Club" text, "From" real, "Until" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Jos Luis S nchez Sol end his term of coaching? ### Response:
SELECT "Until" FROM table_54948 WHERE "Name" = 'josé luis sánchez solá'
### Instruction: CREATE TABLE table_name_43 ( language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which language is used by the optimum TV service that shows cricket and is based in t...
SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket"
### Instruction: CREATE TABLE table_13505 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what position did Salina Kosgei finish in the Tokyo Marathon? ### Response:
SELECT "Position" FROM table_13505 WHERE "Competition" = 'tokyo marathon'
### Instruction: CREATE TABLE table_46539 ( "Name" text, "Country" text, "Loan Club" text, "Started" text, "Ended" text, "Start Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the loan club named dennehy? ### Response:
SELECT "Loan Club" FROM table_46539 WHERE "Name" = 'dennehy'
### Instruction: CREATE TABLE table_12266757_1 ( womens_doubles VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where were the Womens Doubles in the 1951/1952 season and who won? ### Response:
SELECT womens_doubles FROM table_12266757_1 WHERE season = "1951/1952"
### Instruction: CREATE TABLE table_38328 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the lowest points of game 60? ### Response:
SELECT MIN("Points") FROM table_38328 WHERE "Game" = '60'
### Instruction: CREATE TABLE table_name_82 ( rd__number INTEGER, player VARCHAR, pl_gp VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Steve Hazlett is the Player, and the PI GP is under 0, what is the average Rd #? ### Response:
SELECT AVG(rd__number) FROM table_name_82 WHERE player = "steve hazlett" AND pl_gp < 0
### Instruction: CREATE TABLE table_23937 ( "County" text, "Obama%" text, "Obama#" real, "McCain%" text, "McCain#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of the votes did McCain get in Hinds? ### Response:
SELECT "McCain%" FROM table_23937 WHERE "County" = 'Hinds'
### Instruction: CREATE TABLE table_48154 ( "Portfolio" text, "Minister" text, "Took office" text, "Left office" text, "Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of taking office for Giorgia Meloni? ### Response:
SELECT "Took office" FROM table_48154 WHERE "Minister" = 'giorgia meloni'
### Instruction: CREATE TABLE table_60419 ( "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. -- On what date was the away team Sheffield Wednesday? ### Response:
SELECT "Date" FROM table_60419 WHERE "Away team" = 'sheffield wednesday'
### Instruction: CREATE TABLE photos ( mountain_id VARCHAR ) CREATE TABLE mountain ( id VARCHAR, name VARCHAR, height INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the id and name of the photos for mountains? ### Response:
SELECT T1.id, T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id WHERE T1.height > 4000
### Instruction: CREATE TABLE table_name_82 ( home_team VARCHAR, attendance VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the home team when attendance is 25 november 1997 and the away team is exeter city? ### Response:
SELECT home_team FROM table_name_82 WHERE attendance = "25 november 1997" AND away_team = "exeter city"
### Instruction: CREATE TABLE table_204_265 ( id number, "no." number, "title (latin)" text, "title (english translation)" text, "subject" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last title ? ### Response:
SELECT "title (latin)" FROM table_204_265 ORDER BY "no." DESC LIMIT 1
### Instruction: CREATE TABLE table_56773 ( "Date" text, "Opponents" text, "Score" text, "Competition" text, "Match Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the competition with a score of 1-5? ### Response:
SELECT "Competition" FROM table_56773 WHERE "Score" = '1-5'
### Instruction: CREATE TABLE table_15273 ( "Championship" text, "Current champion(s)" text, "Reign" text, "Date won" text, "Days held" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the championship with reign of 8 ### R...
SELECT "Championship" FROM table_15273 WHERE "Reign" = '8'
### Instruction: CREATE TABLE table_name_49 ( athlete VARCHAR, nationality VARCHAR, time VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7? ### Response:
SELECT athlete FROM table_name_49 WHERE time < 21.2 AND lane < 7 AND nationality = "dominica"
### Instruction: CREATE TABLE table_35917 ( "Year" real, "Location" text, "Gold" text, "Silver" text, "Bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the gold when Kim Hyang-Mi won the bronze? ### Response:
SELECT "Gold" FROM table_35917 WHERE "Bronze" = 'kim hyang-mi'
### Instruction: CREATE TABLE table_204_836 ( id number, "#" number, "date" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many draws are on the chart ### Response:
SELECT COUNT(*) FROM table_204_836 WHERE "result" = 'draw'
### Instruction: CREATE TABLE table_name_37 ( points_against INTEGER, team VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Points against that have a Team of harlequins and Tries against smaller than 8? ### Response:
SELECT SUM(points_against) FROM table_name_37 WHERE team = "harlequins" AND tries_against < 8
### Instruction: CREATE TABLE table_69344 ( "Year" real, "Recipient" text, "Role" text, "Category" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the recipient for Outstanding actress television series prior to 2008? ### Res...
SELECT "Recipient" FROM table_69344 WHERE "Year" < '2008'
### Instruction: CREATE TABLE table_name_66 ( draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Mortlake club has more than 924 against, less than 14 losses, and how many total draws? ### Response:
SELECT COUNT(draws) FROM table_name_66 WHERE against > 924 AND club = "mortlake" AND losses < 14
### Instruction: CREATE TABLE table_name_30 ( wins INTEGER, seasons VARCHAR, points VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the least amount of wins for Germany in the 1999 season having 0 points? ### Response:
SELECT MIN(wins) FROM table_name_30 WHERE points = "0" AND country = "germany" AND seasons = "1999"
### Instruction: CREATE TABLE table_204_912 ( id number, "rank" number, "athlete" text, "country" text, "time" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many competitors were from the soviet union ? ### Response:
SELECT COUNT("athlete") FROM table_204_912 WHERE "country" = 'soviet union'
### Instruction: CREATE TABLE table_76347 ( "Draw" real, "Language" text, "Artist" text, "Song" text, "English translation" text, "Place" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What song was in french? ### Response:
SELECT "Song" FROM table_76347 WHERE "Language" = 'french'
### Instruction: CREATE TABLE table_name_56 ( driver___passenger VARCHAR, wins VARCHAR, third VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the driver/passengar when the position was smaller than 8, the third was 1, and the...
SELECT driver___passenger FROM table_name_56 WHERE third = "1" AND position < 8 AND wins = "1"
### Instruction: CREATE TABLE table_72538 ( "Celebrity" text, "Famous for" text, "Entered" text, "Exited" text, "Finished" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the entered for famous for page 3 model ### Response:
SELECT "Entered" FROM table_72538 WHERE "Famous for" = 'Page 3 Model'
### Instruction: CREATE TABLE table_43589 ( "Round" real, "Pick" text, "Player" text, "Position" text, "Nationality" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Position, when Pick is 7? ### Response:
SELECT "Position" FROM table_43589 WHERE "Pick" = '7'
### Instruction: CREATE TABLE table_name_49 ( name VARCHAR, year_at_cu VARCHAR, alma_mater VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has the alma mater of Dayton ('07), and was in their 1st year at CU? ### Response:
SELECT name FROM table_name_49 WHERE year_at_cu = "1st" AND alma_mater = "dayton ('07)"
### Instruction: CREATE TABLE table_67469 ( "Branding" text, "Callsign" text, "Frequency" text, "Power (kW)" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Davao's power (kW)? ### Response:
SELECT "Power (kW)" FROM table_67469 WHERE "Location" = 'davao'
### Instruction: CREATE TABLE table_203_353 ( id number, "#" number, "title" text, "producer(s)" text, "featured guest(s)" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many songs are at most 3 minutes long ? ### Response:
SELECT COUNT("title") FROM table_203_353 WHERE "time" < 3
### Instruction: CREATE TABLE table_204_906 ( id number, "#" number, "title" text, "songwriters" text, "producer(s)" text, "performer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of tracks that have no songwriters ? ### R...
SELECT COUNT(*) FROM table_204_906 WHERE "songwriters" IS NULL
### Instruction: CREATE TABLE policies ( customer_id VARCHAR ) CREATE TABLE customers ( customer_id VARCHAR, customer_details VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find all the policy type codes associated with the customer 'Dayana Robel ### ...
SELECT policy_type_code FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t2.customer_details = "Dayana Robel"
### Instruction: CREATE TABLE table_name_17 ( name VARCHAR, floors VARCHAR, street_address_in_detroit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which place has 23 floors and a street address in Detroit of 144 west congress street? ### Response:
SELECT name FROM table_name_17 WHERE floors = 23 AND street_address_in_detroit = "144 west congress street"
### Instruction: CREATE TABLE table_43545 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which week was the attendance 47,218? ### Response:
SELECT SUM("Week") FROM table_43545 WHERE "Attendance" = '47,218'
### Instruction: CREATE TABLE table_66083 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the branding for fm 88.9? ### Response:
SELECT "Branding" FROM table_66083 WHERE "Frequency" = 'fm 88.9'
### Instruction: CREATE TABLE table_name_56 ( losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total losses against 1412, and 10 wins, but draws less than 0? ### Response:
SELECT SUM(losses) FROM table_name_56 WHERE against > 1412 AND wins = 10 AND draws < 0
### Instruction: CREATE TABLE table_name_85 ( front_row_starts INTEGER, pole_positions VARCHAR, entries VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average front row starts for drivers with less than 68 pole positions and entries lower than...
SELECT AVG(front_row_starts) FROM table_name_85 WHERE pole_positions < 68 AND entries < 52
### Instruction: CREATE TABLE table_22365 ( "Voting order" real, "Country" text, "Spokespersons" text, "Commentator" text, "Broadcaster" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- list the spokespersons where voting order is 9 ### Response:
SELECT "Spokespersons" FROM table_22365 WHERE "Voting order" = '9'
### Instruction: CREATE TABLE table_name_22 ( played INTEGER, team VARCHAR, lost VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Played has a Lost larger than 14, and Drawn of 8, and a Team of ipatinga? ### Response:
SELECT SUM(played) FROM table_name_22 WHERE lost > 14 AND drawn = 8 AND team = "ipatinga"
### Instruction: CREATE TABLE table_49578 ( "Date" text, "Place" text, "Race winners" text, "GP winner" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the race winners for the date of 23 june? ### Response:
SELECT "Race winners" FROM table_49578 WHERE "Date" = '23 june'
### Instruction: CREATE TABLE table_204_893 ( 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 number of the athletes are from spain ? ### Response:
SELECT COUNT("name") FROM table_204_893 WHERE "nationality" = 'spain'
### Instruction: CREATE TABLE table_33999 ( "Rank" text, "Runs" text, "Player" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player was at Albion? ### Response:
SELECT "Player" FROM table_33999 WHERE "Venue" = 'albion'
### Instruction: CREATE TABLE table_203_345 ( id number, "name" text, "party" text, "took office" number, "left office" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long was arthur berry in officer for ? ### Response:
SELECT "left office" - "took office" FROM table_203_345 WHERE "name" = 'arthur berry'
### Instruction: CREATE TABLE table_203_494 ( id number, "party" text, "votes" number, "%" number, "swing" number, "seats" number, "change" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which party got the most votes ? ### Response:
SELECT "party" FROM table_203_494 ORDER BY "votes" DESC LIMIT 1
### Instruction: CREATE TABLE table_1599 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area in km2 for Dufferin? ### Response:
SELECT "Area km 2" FROM table_1599 WHERE "Official Name" = 'Dufferin'
### Instruction: CREATE TABLE table_17080 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school is in the hometown of Aledo, Texas? ### Response:
SELECT "School" FROM table_17080 WHERE "Hometown" = 'Aledo, Texas'
### Instruction: CREATE TABLE table_36901 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Date of september 28 had what record? ### Response:
SELECT "Record" FROM table_36901 WHERE "Date" = 'september 28'
### Instruction: CREATE TABLE table_204_158 ( id number, "official name" text, "designation" text, "area km2" number, "population" number, "parish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which city has the least area ### Response:
SELECT "official name" FROM table_204_158 ORDER BY "area km2" LIMIT 1
### Instruction: CREATE TABLE table_202_160 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different divisions has the team pa...
SELECT COUNT(DISTINCT "division") FROM table_202_160
### Instruction: CREATE TABLE table_1266 ( "Name" text, "Position" text, "Number" text, "School/Club Team" text, "Season" text, "Acquisition via" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number when acquisition via far eastern #...
SELECT "Number" FROM table_1266 WHERE "Acquisition via" = 'Far Eastern'
### Instruction: CREATE TABLE table_70557 ( "Catalog #" text, "Title" text, "Year" text, "Composer" text, "Released" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What CD has a catalog # of PCR 502? ### Response:
SELECT "Title" FROM table_70557 WHERE "Catalog #" = 'pcr 502'
### Instruction: CREATE TABLE table_42812 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Mike Weir's To par? ### Response:
SELECT "To par" FROM table_42812 WHERE "Player" = 'mike weir'
### Instruction: CREATE TABLE table_202_253 ( id number, "team" text, "titles" text, "runners-up" text, "third place" text, "fourth place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name all winners of the caribbean cup ### Response:
SELECT "team" FROM table_202_253 WHERE "titles" > 0
### Instruction: CREATE TABLE table_name_22 ( how_other_iyers_say_it VARCHAR, how_ashtagrama_iyers_say_it VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name how other lyers say enga ullale ### Response:
SELECT how_other_iyers_say_it FROM table_name_22 WHERE how_ashtagrama_iyers_say_it = "enga ullale"
### Instruction: CREATE TABLE table_name_86 ( semimajor_axis___au__ VARCHAR, companion__in_order_from_star_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Semimajor axis (AU) has a Companion (in order from star) of g? ### Response:
SELECT semimajor_axis___au__ FROM table_name_86 WHERE companion__in_order_from_star_ = "g"
### Instruction: CREATE TABLE table_28980706_4 ( first_air_date VARCHAR, rating__18_49_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 4.5 is the rating (18-49) what is the air date? ### Response:
SELECT first_air_date FROM table_28980706_4 WHERE rating__18_49_ = "4.5"
### Instruction: CREATE TABLE table_46987 ( "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 name of the away team with a Tie no of 7? ### Response:
SELECT "Away team" FROM table_46987 WHERE "Tie no" = '7'
### Instruction: CREATE TABLE table_77436 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Position is listed against a Venue of Debrecen, Hungary ### Response:
SELECT "Position" FROM table_77436 WHERE "Venue" = 'debrecen, hungary'
### Instruction: CREATE TABLE table_242785_1 ( date_founded__founder VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when notes are prima italica:raised for aborted caucasus war, when was that founded? ### Response:
SELECT date_founded__founder FROM table_242785_1 WHERE notes = "prima Italica:raised for aborted Caucasus war"
### Instruction: CREATE TABLE table_52654 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time/Retired for the car going 42 Laps? ### Response:
SELECT "Time/Retired" FROM table_52654 WHERE "Laps" = '42'
### Instruction: CREATE TABLE table_204_475 ( id number, "home team" text, "score" text, "away team" text, "date" text, "agg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- during the second leg , in how many matches was the winning score above ...
SELECT COUNT(*) FROM table_204_475 WHERE "score" > 4
### Instruction: CREATE TABLE table_2160215_1 ( original_japanese VARCHAR, english___manga_uk__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version? ### Response:
SELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = "Sean Barrett"
### Instruction: CREATE TABLE table_42733 ( "Mission" text, "Date" text, "Launch site" text, "Motor" text, "Apogee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Mission has a Apogee of 705 km? ### Response:
SELECT "Mission" FROM table_42733 WHERE "Apogee" = '705 km'
### Instruction: CREATE TABLE table_43681 ( "Rank" real, "Title" text, "Studio" text, "Director" text, "Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the ranks for the film, eddie murphy raw? ### Response:
SELECT SUM("Rank") FROM table_43681 WHERE "Title" = 'eddie murphy raw'
### Instruction: CREATE TABLE table_63118 ( "Tournament" text, "Wins" real, "Top-5" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins of average has cuts made less than 0? ### Response:
SELECT AVG("Wins") FROM table_63118 WHERE "Cuts made" < '0'
### Instruction: CREATE TABLE table_11258 ( "Margin" real, "Opponent" text, "Score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of the score 52-12? ### Response:
SELECT SUM("Margin") FROM table_11258 WHERE "Score" = '52-12'
### Instruction: CREATE TABLE table_2093995_1 ( parking VARCHAR, city__neighborhood VARCHAR, stations VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much parking is in Van Nuys at the Sepulveda station? ### Response:
SELECT parking FROM table_2093995_1 WHERE city__neighborhood = "Van Nuys" AND stations = "Sepulveda"
### Instruction: CREATE TABLE table_70635 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which loss was on June 13? ### Response:
SELECT "Loss" FROM table_70635 WHERE "Date" = 'june 13'
### Instruction: CREATE TABLE table_11693 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on April 22? ### Response:
SELECT "Record" FROM table_11693 WHERE "Date" = 'april 22'
### Instruction: CREATE TABLE table_24538587_11 ( i_o_bus VARCHAR, brand_name__list_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the i/o bus for the brand name Core i3-21xx? ### Response:
SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xx"
### Instruction: CREATE TABLE table_74568 ( "Area" text, "Advertisement date" text, "Block" text, "Winning applicant" text, "Ensemble name" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Oxfordshire Area's Ensemble Name? ### Response:
SELECT "Ensemble name" FROM table_74568 WHERE "Area" = 'oxfordshire'