text
stringlengths
426
695
prompt
stringlengths
360
586
__index_level_0__
int64
329
24.8k
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the smallest season number? ### Input: CREATE TABLE table_30597 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text ) ### Response: SELECT MIN("No. in season") FROM table_30597
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the smallest season number? ### Input: CREATE TABLE table_30597 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text ) ### Response:
9,554
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the only country that started up a plant in 2013 ? ### Input: CREATE TABLE table_204_789 ( id number, "plant name" text, "location" text, "country" text, "startup date" number, "capacity (mmtpa)" text, "corporation" text ) ### Response: SELECT "country" FROM table_204_789 WHERE "startup date" = 2013
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the only country that started up a plant in 2013 ? ### Input: CREATE TABLE table_204_789 ( id number, "plant name" text, "location" text, "country" text, "startup date" number, "capacity (mmtpa)" text, "corporation" text ) ### Response:
16,623
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the date for lebron james , mo williams (21) ### Input: CREATE TABLE table_25200 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Date" FROM table_25200 WHERE "High points" = 'LeBron James , Mo Williams (21)'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the date for lebron james , mo williams (21) ### Input: CREATE TABLE table_25200 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response:
2,102
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Game site of miami orange bowl, and a Attendance larger than 49,754 happened on what highest week? ### Input: CREATE TABLE table_name_60 ( week INTEGER, game_site VARCHAR, attendance VARCHAR ) ### Response: SELECT MAX(week) FROM table_name_60 WHERE game_site = "miami orange bowl" AND attendance > 49 OFFSET 754
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Game site of miami orange bowl, and a Attendance larger than 49,754 happened on what highest week? ### Input: CREATE TABLE table_name_60 ( week INTEGER, game_site VARCHAR, attendance VARCHAR ) ### Response:
1,763
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many athletes have a time below 5:56:21 ? ### Input: CREATE TABLE table_204_262 ( id number, "rank" number, "athlete" text, "time" text, "notes" text, "q" text ) ### Response: SELECT COUNT("athlete") FROM table_204_262 WHERE "time" < '5:56.21'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many athletes have a time below 5:56:21 ? ### Input: CREATE TABLE table_204_262 ( id number, "rank" number, "athlete" text, "time" text, "notes" text, "q" text ) ### Response:
1,768
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: On what day was the team playing at milwaukee county stadium? ### Input: CREATE TABLE table_18039 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) ### Response: SELECT "Date" FROM table_18039 WHERE "Game site" = 'Milwaukee County Stadium'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: On what day was the team playing at milwaukee county stadium? ### Input: CREATE TABLE table_18039 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) ### Response:
13,334
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5? ### Input: CREATE TABLE table_name_14 ( births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR ) ### Response: SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = "na" AND natural_growth < 2.5
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5? ### Input: CREATE TABLE table_name_14 ( births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR ) ### Response:
895
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: With a score smaller than 71 along with a place of t6, what is the To par score? ### Input: CREATE TABLE table_71934 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) ### Response: SELECT "To par" FROM table_71934 WHERE "Score" < '71' AND "Place" = 't6'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: With a score smaller than 71 along with a place of t6, what is the To par score? ### Input: CREATE TABLE table_71934 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) ### Response:
22,884
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Brilliance Grade has a Crown angle of 41.1 ? ### Input: CREATE TABLE table_42672 ( "Benchmark" text, "Crown height" text, "Pavilion depth" text, "Table diameter" text, "Girdle thickness" text, "Crown angle" text, "Pavilion angle" text, "Brilliance Grade" text ) ### Response: SELECT "Brilliance Grade" FROM table_42672 WHERE "Crown angle" = '41.1°'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Brilliance Grade has a Crown angle of 41.1 ? ### Input: CREATE TABLE table_42672 ( "Benchmark" text, "Crown height" text, "Pavilion depth" text, "Table diameter" text, "Girdle thickness" text, "Crown angle" text, "Pavilion angle" text, "Brilliance Grade" text ) ### Response:
10,275
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the bronze medal count for Rank 33 when the silver count was less than 2 and the total was more than 4? ### Input: CREATE TABLE table_64195 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT MAX("Bronze") FROM table_64195 WHERE "Silver" < '2' AND "Total" > '4' AND "Rank" = '33'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the bronze medal count for Rank 33 when the silver count was less than 2 and the total was more than 4? ### Input: CREATE TABLE table_64195 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response:
12,409
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total number of votes from the Labour Party? ### Input: CREATE TABLE table_39932 ( "Party" text, "Candidate" text, "Votes" real, "% Share" text, "Change" text ) ### Response: SELECT COUNT("Votes") FROM table_39932 WHERE "Party" = 'labour'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total number of votes from the Labour Party? ### Input: CREATE TABLE table_39932 ( "Party" text, "Candidate" text, "Votes" real, "% Share" text, "Change" text ) ### Response:
10,726
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the 2nd leg result when team 2 is Morocco? ### Input: CREATE TABLE table_40570 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) ### Response: SELECT "2nd leg" FROM table_40570 WHERE "Team 2" = 'morocco'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the 2nd leg result when team 2 is Morocco? ### Input: CREATE TABLE table_40570 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) ### Response:
8,112
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the names of body builders in descending order of total scores? ### Input: CREATE TABLE people ( Name VARCHAR, People_ID VARCHAR ) CREATE TABLE body_builder ( People_ID VARCHAR, Total VARCHAR ) ### Response: SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the names of body builders in descending order of total scores? ### Input: CREATE TABLE people ( Name VARCHAR, People_ID VARCHAR ) CREATE TABLE body_builder ( People_ID VARCHAR, Total VARCHAR ) ### Response:
8,735
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which tournament was played on clay and there was a score of 4 6, 6 1, 6 4? ### Input: CREATE TABLE table_name_52 ( tournament VARCHAR, surface VARCHAR, score VARCHAR ) ### Response: SELECT tournament FROM table_name_52 WHERE surface = "clay" AND score = "4–6, 6–1, 6–4"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which tournament was played on clay and there was a score of 4 6, 6 1, 6 4? ### Input: CREATE TABLE table_name_52 ( tournament VARCHAR, surface VARCHAR, score VARCHAR ) ### Response:
19,706
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium? ### Input: CREATE TABLE table_50529 ( "Year" text, "Winner" text, "Runner-up" text, "Score" text, "Venue" text ) ### Response: SELECT "Year" FROM table_50529 WHERE "Winner" = 'panathinaikos' AND "Runner-up" = 'olympiacos' AND "Venue" = 'nikos goumas stadium'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium? ### Input: CREATE TABLE table_50529 ( "Year" text, "Winner" text, "Runner-up" text, "Score" text, "Venue" text ) ### Response:
11,009
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less than 35 Floors? ### Input: CREATE TABLE table_name_90 ( rank VARCHAR, height_ft__m_ VARCHAR, year VARCHAR, floors VARCHAR ) ### Response: SELECT rank FROM table_name_90 WHERE year > 1971 AND floors < 35 AND height_ft__m_ = "19.0 477 (145)"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less than 35 Floors? ### Input: CREATE TABLE table_name_90 ( rank VARCHAR, height_ft__m_ VARCHAR, year VARCHAR, floors VARCHAR ) ### Response:
11,172
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many away games did the bridgeport barrage have ? ### Input: CREATE TABLE table_203_853 ( id number, "date" text, "opponent" text, "home/away" text, "field" text, "result" text ) ### Response: SELECT COUNT(*) FROM table_203_853 WHERE "home/away" = 'away'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many away games did the bridgeport barrage have ? ### Input: CREATE TABLE table_203_853 ( id number, "date" text, "opponent" text, "home/away" text, "field" text, "result" text ) ### Response:
21,713
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the ids of stations that are located in San Francisco and have average bike availability above 10. ### Input: CREATE TABLE status ( id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER ) CREATE TABLE station ( id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER ) ### Response: SELECT id FROM station WHERE city = "San Francisco" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING AVG(bikes_available) > 10
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the ids of stations that are located in San Francisco and have average bike availability above 10. ### Input: CREATE TABLE status ( id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER ) CREATE TABLE station ( id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER ) ### Response:
15,028
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is next after joan o. ### Input: CREATE TABLE table_204_535 ( id number, "pos" text, "rider" text, "manufacturer" text, "laps" number, "time/retired" text, "grid" number, "points" number ) ### Response: SELECT "rider" FROM table_204_535 WHERE "pos" = (SELECT "pos" FROM table_204_535 WHERE "rider" = 'joan olive') + 1
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is next after joan o. ### Input: CREATE TABLE table_204_535 ( id number, "pos" text, "rider" text, "manufacturer" text, "laps" number, "time/retired" text, "grid" number, "points" number ) ### Response:
19,299
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: On what date was the game played where the opponent was Stanford, ranked #5? ### Input: CREATE TABLE table_59322 ( "Date" text, "Time" text, "Opponent#" text, "Rank #" text, "Result" text, "Attendance" text ) ### Response: SELECT "Date" FROM table_59322 WHERE "Rank #" = '5' AND "Opponent#" = 'stanford'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: On what date was the game played where the opponent was Stanford, ranked #5? ### Input: CREATE TABLE table_59322 ( "Date" text, "Time" text, "Opponent#" text, "Rank #" text, "Result" text, "Attendance" text ) ### Response:
24,810
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which sum of AVE-No has a Name of albula alps, and a Height (m) larger than 3418? ### Input: CREATE TABLE table_58391 ( "AVE- No." real, "Name" text, "Country" text, "Highest mountain" text, "Height (m)" real ) ### Response: SELECT SUM("AVE- No.") FROM table_58391 WHERE "Name" = 'albula alps' AND "Height (m)" > '3418'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which sum of AVE-No has a Name of albula alps, and a Height (m) larger than 3418? ### Input: CREATE TABLE table_58391 ( "AVE- No." real, "Name" text, "Country" text, "Highest mountain" text, "Height (m)" real ) ### Response:
2,740
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which term in office has a qld state, a Party of labor, and an Electorate of fisher? ### Input: CREATE TABLE table_name_76 ( term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR ) ### Response: SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which term in office has a qld state, a Party of labor, and an Electorate of fisher? ### Input: CREATE TABLE table_name_76 ( term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR ) ### Response:
2,017
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Player is from the west Division and the Team of special teams and is from the School Toledo Western Michigan? ### Input: CREATE TABLE table_name_21 ( player VARCHAR, school VARCHAR, division VARCHAR, team VARCHAR ) ### Response: SELECT player FROM table_name_21 WHERE division = "west" AND team = "special teams" AND school = "toledo western michigan"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Player is from the west Division and the Team of special teams and is from the School Toledo Western Michigan? ### Input: CREATE TABLE table_name_21 ( player VARCHAR, school VARCHAR, division VARCHAR, team VARCHAR ) ### Response:
4,678
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which intergiro classification is there for team Polti at stage 14? ### Input: CREATE TABLE table_66911 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Intergiro classification" text, "Trofeo Fast Team" text ) ### Response: SELECT "Intergiro classification" FROM table_66911 WHERE "Trofeo Fast Team" = 'team polti' AND "Stage" = '14'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which intergiro classification is there for team Polti at stage 14? ### Input: CREATE TABLE table_66911 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Intergiro classification" text, "Trofeo Fast Team" text ) ### Response:
9,828
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Event, when Position is 6th, and when Year is after 2006? ### Input: CREATE TABLE table_49682 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) ### Response: SELECT "Event" FROM table_49682 WHERE "Position" = '6th' AND "Year" > '2006'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Event, when Position is 6th, and when Year is after 2006? ### Input: CREATE TABLE table_49682 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) ### Response:
6,608
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the attendance for the game held on September 18, 1994, with a week less than 5? ### Input: CREATE TABLE table_33693 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text, "Attendance" real ) ### Response: SELECT "Attendance" FROM table_33693 WHERE "Week" < '5' AND "Date" = 'september 18, 1994'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the attendance for the game held on September 18, 1994, with a week less than 5? ### Input: CREATE TABLE table_33693 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text, "Attendance" real ) ### Response:
6,374
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average Top-10 when there were 17 cuts made with less than 0 wins? ### Input: CREATE TABLE table_name_93 ( top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR ) ### Response: SELECT AVG(top_10) FROM table_name_93 WHERE cuts_made = 17 AND wins < 0
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average Top-10 when there were 17 cuts made with less than 0 wins? ### Input: CREATE TABLE table_name_93 ( top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR ) ### Response:
7,868
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: With a per capita income of $30,298, what was the total number of households? ### Input: CREATE TABLE table_1840495_2 ( number_of_households VARCHAR, per_capita_income VARCHAR ) ### Response: SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,298"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: With a per capita income of $30,298, what was the total number of households? ### Input: CREATE TABLE table_1840495_2 ( number_of_households VARCHAR, per_capita_income VARCHAR ) ### Response:
14,311
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tell me the recorded for time of 2:50 and released date of 6/6/77 with track more than 20 ### Input: CREATE TABLE table_78062 ( "Track" real, "Recorded" text, "Catalogue" text, "Release Date" text, "Song Title" text, "Time" text ) ### Response: SELECT "Recorded" FROM table_78062 WHERE "Track" > '20' AND "Release Date" = '6/6/77' AND "Time" = '2:50'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tell me the recorded for time of 2:50 and released date of 6/6/77 with track more than 20 ### Input: CREATE TABLE table_78062 ( "Track" real, "Recorded" text, "Catalogue" text, "Release Date" text, "Song Title" text, "Time" text ) ### Response:
329
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the team when player is listed as Ronjay Buenafe? ### Input: CREATE TABLE table_4067 ( "Category" text, "Player" text, "Team" text, "Games played" real, "Totals" text, "Average" text ) ### Response: SELECT "Team" FROM table_4067 WHERE "Player" = 'Ronjay Buenafe'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the team when player is listed as Ronjay Buenafe? ### Input: CREATE TABLE table_4067 ( "Category" text, "Player" text, "Team" text, "Games played" real, "Totals" text, "Average" text ) ### Response:
7,166
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the transfer window of the player moving to Panionios? ### Input: CREATE TABLE table_58968 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text ) ### Response: SELECT "Transfer window" FROM table_58968 WHERE "Moving to" = 'panionios'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the transfer window of the player moving to Panionios? ### Input: CREATE TABLE table_58968 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text ) ### Response:
2,234
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which rider rode a suzuki and has a total of nine points ? ### Input: CREATE TABLE table_203_166 ( id number, "pos" text, "no" number, "rider" text, "manufacturer" text, "laps" number, "time" text, "grid" number, "points" number ) ### Response: SELECT "rider" FROM table_203_166 WHERE "manufacturer" = 'suzuki' AND "points" = 9
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which rider rode a suzuki and has a total of nine points ? ### Input: CREATE TABLE table_203_166 ( id number, "pos" text, "no" number, "rider" text, "manufacturer" text, "laps" number, "time" text, "grid" number, "points" number ) ### Response:
17,386
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score in the final where one of the opponents in the final was fitzgerald vilas? ### Input: CREATE TABLE table_25152 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) ### Response: SELECT "Score in the final" FROM table_25152 WHERE "Opponents in the final" = 'Fitzgerald Vilas'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score in the final where one of the opponents in the final was fitzgerald vilas? ### Input: CREATE TABLE table_25152 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) ### Response:
14,940
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the score for home of green bay packers ### Input: CREATE TABLE table_69941 ( "Date" text, "Visitor" text, "Result" text, "Score" text, "Home" text, "Record" text, "Attendance" real ) ### Response: SELECT "Score" FROM table_69941 WHERE "Home" = 'green bay packers'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the score for home of green bay packers ### Input: CREATE TABLE table_69941 ( "Date" text, "Visitor" text, "Result" text, "Score" text, "Home" text, "Record" text, "Attendance" real ) ### Response:
21,321
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In the Champions league is the forward position smaller than 6.0 ### Input: CREATE TABLE table_21767 ( "P" real, "Player" text, "Position" text, "League" real, "Copa del Rey" real, "Champions League" real, "Total" real ) ### Response: SELECT COUNT("Champions League") FROM table_21767 WHERE "Position" = 'Forward' AND "League" < '6.0'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In the Champions league is the forward position smaller than 6.0 ### Input: CREATE TABLE table_21767 ( "P" real, "Player" text, "Position" text, "League" real, "Copa del Rey" real, "Champions League" real, "Total" real ) ### Response:
11,520
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team does tariq kirksay, a guard who is taller than 1.8M and born before 1982, represent? ### Input: CREATE TABLE table_name_13 ( current_club VARCHAR, player VARCHAR, year_born VARCHAR, height VARCHAR, position VARCHAR ) ### Response: SELECT current_club FROM table_name_13 WHERE height > 1.8 AND position = "guard" AND year_born < 1982 AND player = "tariq kirksay"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team does tariq kirksay, a guard who is taller than 1.8M and born before 1982, represent? ### Input: CREATE TABLE table_name_13 ( current_club VARCHAR, player VARCHAR, year_born VARCHAR, height VARCHAR, position VARCHAR ) ### Response:
14,263
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the Ages of the Seashell Trust School with Ofsted Report? ### Input: CREATE TABLE table_8414 ( "School" text, "Locality" text, "Ages" text, "Report" text, "Website" text ) ### Response: SELECT "Ages" FROM table_8414 WHERE "Report" = 'ofsted' AND "School" = 'seashell trust'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the Ages of the Seashell Trust School with Ofsted Report? ### Input: CREATE TABLE table_8414 ( "School" text, "Locality" text, "Ages" text, "Report" text, "Website" text ) ### Response:
1,815
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the name of the location listed first on this list ? ### Input: CREATE TABLE table_203_872 ( id number, "year" number, "location(s)" text, "number of contestants" number, "ladies winner" text, "men's winner" text ) ### Response: SELECT "location(s)" FROM table_203_872 WHERE id = 1
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the name of the location listed first on this list ? ### Input: CREATE TABLE table_203_872 ( id number, "year" number, "location(s)" text, "number of contestants" number, "ladies winner" text, "men's winner" text ) ### Response:
6,711
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the number of races that took place with points of 257? ### Input: CREATE TABLE table_34902 ( "Driver" text, "Points" real, "Season" text, "Races" real, "Percentage of possible points" text ) ### Response: SELECT SUM("Races") FROM table_34902 WHERE "Points" = '257'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the number of races that took place with points of 257? ### Input: CREATE TABLE table_34902 ( "Driver" text, "Points" real, "Season" text, "Races" real, "Percentage of possible points" text ) ### Response:
2,543
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the latest keynote version of version 2.3 of numbers with pages greater than 4.3? ### Input: CREATE TABLE table_name_18 ( keynote_version INTEGER, numbers_version VARCHAR, pages_version VARCHAR ) ### Response: SELECT MAX(keynote_version) FROM table_name_18 WHERE numbers_version = "2.3" AND pages_version > 4.3
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the latest keynote version of version 2.3 of numbers with pages greater than 4.3? ### Input: CREATE TABLE table_name_18 ( keynote_version INTEGER, numbers_version VARCHAR, pages_version VARCHAR ) ### Response:
22,116
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In which year was the Pick #46? ### Input: CREATE TABLE table_12184 ( "Draft" text, "Round" text, "Pick" text, "Nationality" text, "Position" text, "College/High School/Club" text ) ### Response: SELECT "Draft" FROM table_12184 WHERE "Pick" = '46'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In which year was the Pick #46? ### Input: CREATE TABLE table_12184 ( "Draft" text, "Round" text, "Pick" text, "Nationality" text, "Position" text, "College/High School/Club" text ) ### Response:
17,819
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many statuses are listed for Wayne county? ### Input: CREATE TABLE table_25349 ( "County" text, "Population" real, "Unemployment Rate" text, "Market Income Per Capita" text, "Poverty Rate" text, "Status" text ) ### Response: SELECT COUNT("Status") FROM table_25349 WHERE "County" = 'Wayne'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many statuses are listed for Wayne county? ### Input: CREATE TABLE table_25349 ( "County" text, "Population" real, "Unemployment Rate" text, "Market Income Per Capita" text, "Poverty Rate" text, "Status" text ) ### Response:
23,965
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the oppenent what the score was L 68-60? ### Input: CREATE TABLE table_21327 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text ) ### Response: SELECT "Opponent" FROM table_21327 WHERE "Score" = 'L 68-60'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the oppenent what the score was L 68-60? ### Input: CREATE TABLE table_21327 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text ) ### Response:
15,427
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find all the forenames of distinct drivers who won in position 1 as driver standing and had more than 20 points? ### Input: CREATE TABLE driverstandings ( driverid VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR ) CREATE TABLE drivers ( forename VARCHAR, driverid VARCHAR ) ### Response: SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1 AND T2.points > 20
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find all the forenames of distinct drivers who won in position 1 as driver standing and had more than 20 points? ### Input: CREATE TABLE driverstandings ( driverid VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR ) CREATE TABLE drivers ( forename VARCHAR, driverid VARCHAR ) ### Response:
14,621
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the winning team on May 12? ### Input: CREATE TABLE table_59630 ( "Round" text, "Date" text, "Event" text, "Circuit" text, "Winning Driver" text, "Winning Team" text ) ### Response: SELECT "Winning Team" FROM table_59630 WHERE "Date" = 'may 12'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the winning team on May 12? ### Input: CREATE TABLE table_59630 ( "Round" text, "Date" text, "Event" text, "Circuit" text, "Winning Driver" text, "Winning Team" text ) ### Response:
8,328
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many users are there? ### Input: CREATE TABLE follows ( f1 number, f2 number ) CREATE TABLE user_profiles ( uid number, name text, email text, partitionid number, followers number ) CREATE TABLE tweets ( id number, uid number, text text, createdate time ) ### Response: SELECT COUNT(*) FROM user_profiles
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many users are there? ### Input: CREATE TABLE follows ( f1 number, f2 number ) CREATE TABLE user_profiles ( uid number, name text, email text, partitionid number, followers number ) CREATE TABLE tweets ( id number, uid number, text text, createdate time ) ### Response:
7,893
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Alpha 2 code for Papua New Guinea? ### Input: CREATE TABLE table_222771_1 ( alpha_2_code VARCHAR, english_short_name__upper_lower_case_ VARCHAR ) ### Response: SELECT alpha_2_code FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "Papua New Guinea"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Alpha 2 code for Papua New Guinea? ### Input: CREATE TABLE table_222771_1 ( alpha_2_code VARCHAR, english_short_name__upper_lower_case_ VARCHAR ) ### Response:
8,511
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Bar chart x axis nominee y axis the total number, and display from low to high by the x axis. ### Input: CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) ### Response: SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee ORDER BY Nominee
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Bar chart x axis nominee y axis the total number, and display from low to high by the x axis. ### Input: CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) ### Response:
835
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete? ### Input: CREATE TABLE table_26335424_86 ( athlete VARCHAR, quarterfinals VARCHAR ) ### Response: SELECT athlete FROM table_26335424_86 WHERE quarterfinals = "Nabil Talal ( JOR ) L PTS 3-3"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete? ### Input: CREATE TABLE table_26335424_86 ( athlete VARCHAR, quarterfinals VARCHAR ) ### Response:
13,231
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the next product listed after egonet ? ### Input: CREATE TABLE table_204_870 ( id number, "product" text, "main functionality" text, "input format" text, "output format" text, "platform" text, "license and cost" text, "notes" text ) ### Response: SELECT "product" FROM table_204_870 WHERE id = (SELECT id FROM table_204_870 WHERE "product" = 'egonet') + 1
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the next product listed after egonet ? ### Input: CREATE TABLE table_204_870 ( id number, "product" text, "main functionality" text, "input format" text, "output format" text, "platform" text, "license and cost" text, "notes" text ) ### Response:
7,321
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum of goals scored in regular league play by Mustoe where he scored 0 goals in the League Cup? ### Input: CREATE TABLE table_53428 ( "Name" text, "League" real, "FA Cup" real, "League Cup" real, "Total" real ) ### Response: SELECT SUM("League") FROM table_53428 WHERE "Name" = 'mustoe' AND "League Cup" < '0'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum of goals scored in regular league play by Mustoe where he scored 0 goals in the League Cup? ### Input: CREATE TABLE table_53428 ( "Name" text, "League" real, "FA Cup" real, "League Cup" real, "Total" real ) ### Response:
3,514
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what where the only two submarines that where only damaged ? ### Input: CREATE TABLE table_203_268 ( id number, "date" text, "name" text, "nationality" text, "tonnage\n(grt)" number, "fate" text ) ### Response: SELECT "name" FROM table_203_268 WHERE "fate" = 'damaged'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what where the only two submarines that where only damaged ? ### Input: CREATE TABLE table_203_268 ( id number, "date" text, "name" text, "nationality" text, "tonnage\n(grt)" number, "fate" text ) ### Response:
5,234
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Place of the Player with a To par of 8 and a Score of 67-74-67=208? ### Input: CREATE TABLE table_name_83 ( place VARCHAR, to_par VARCHAR, score VARCHAR ) ### Response: SELECT place FROM table_name_83 WHERE to_par = "–8" AND score = 67 - 74 - 67 = 208
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Place of the Player with a To par of 8 and a Score of 67-74-67=208? ### Input: CREATE TABLE table_name_83 ( place VARCHAR, to_par VARCHAR, score VARCHAR ) ### Response:
15,659
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the most against for minas gerais ### Input: CREATE TABLE table_20058 ( "Position" real, "Team" text, "Points" real, "Played" real, "Won" real, "Drawn" real, "Lost" real, "For" real, "Against" real, "Difference" text ) ### Response: SELECT MAX("Against") FROM table_20058 WHERE "Team" = 'Minas Gerais'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the most against for minas gerais ### Input: CREATE TABLE table_20058 ( "Position" real, "Team" text, "Points" real, "Played" real, "Won" real, "Drawn" real, "Lost" real, "For" real, "Against" real, "Difference" text ) ### Response:
8,840
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest population in the millions that has an influence of 1.02? ### Input: CREATE TABLE table_42956 ( "Member state" text, "Population millions" real, "MEPs" real, "Inhabitants per MEP" real, "Influence" real ) ### Response: SELECT MAX("Population millions") FROM table_42956 WHERE "Influence" = '1.02'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest population in the millions that has an influence of 1.02? ### Input: CREATE TABLE table_42956 ( "Member state" text, "Population millions" real, "MEPs" real, "Inhabitants per MEP" real, "Influence" real ) ### Response:
17,787
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which match where Hawthorn was the away team had the largest crowd? ### Input: CREATE TABLE table_74800 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT MAX("Crowd") FROM table_74800 WHERE "Away team" = 'hawthorn'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which match where Hawthorn was the away team had the largest crowd? ### Input: CREATE TABLE table_74800 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response:
6,479
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many goals was by Rix from Eng who started before 2005 in the youth system? ### Input: CREATE TABLE table_67580 ( "Nat." text, "Name" text, "Since" real, "Goals" real, "Ends" text, "Transfer fee" text ) ### Response: SELECT COUNT("Goals") FROM table_67580 WHERE "Nat." = 'eng' AND "Transfer fee" = 'youth system' AND "Since" < '2005' AND "Name" = 'rix'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many goals was by Rix from Eng who started before 2005 in the youth system? ### Input: CREATE TABLE table_67580 ( "Nat." text, "Name" text, "Since" real, "Goals" real, "Ends" text, "Transfer fee" text ) ### Response:
8,097
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which entrant has a year after 1955? ### Input: CREATE TABLE table_71291 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) ### Response: SELECT "Entrant" FROM table_71291 WHERE "Year" > '1955'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which entrant has a year after 1955? ### Input: CREATE TABLE table_71291 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) ### Response:
13,963
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge? ### Input: CREATE TABLE table_26389588_1 ( primary_cartridge VARCHAR, year_of_introduction VARCHAR, country_of_origin VARCHAR ) ### Response: SELECT primary_cartridge FROM table_26389588_1 WHERE year_of_introduction = "1962" AND country_of_origin = "Denmark"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge? ### Input: CREATE TABLE table_26389588_1 ( primary_cartridge VARCHAR, year_of_introduction VARCHAR, country_of_origin VARCHAR ) ### Response:
4,572
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Stations of 16 is assigned what length? ### Input: CREATE TABLE table_4616 ( "Line" text, "Color" text, "Terminus" text, "Length" text, "Stations" text, "Daily Ridership" real ) ### Response: SELECT "Length" FROM table_4616 WHERE "Stations" = '16'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Stations of 16 is assigned what length? ### Input: CREATE TABLE table_4616 ( "Line" text, "Color" text, "Terminus" text, "Length" text, "Stations" text, "Daily Ridership" real ) ### Response:
7,408
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the tournament when the performance in 2012 is 3r and 2011 is qf? ### Input: CREATE TABLE table_15069 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ) ### Response: SELECT "Tournament" FROM table_15069 WHERE "2012" = '3r' AND "2011" = 'qf'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the tournament when the performance in 2012 is 3r and 2011 is qf? ### Input: CREATE TABLE table_15069 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ) ### Response:
18,467
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the starting weight if weight lost is 54.6? ### Input: CREATE TABLE table_24370270_10 ( starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR ) ### Response: SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = "54.6"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the starting weight if weight lost is 54.6? ### Input: CREATE TABLE table_24370270_10 ( starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR ) ### Response:
6,440
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the away team when the venue was Windy Hill? ### Input: CREATE TABLE table_54354 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Away team" FROM table_54354 WHERE "Venue" = 'windy hill'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the away team when the venue was Windy Hill? ### Input: CREATE TABLE table_54354 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response:
3,230
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many actors are there? ### Input: CREATE TABLE actor ( actor_id number, name text, musical_id number, character text, duration text, age number ) CREATE TABLE musical ( musical_id number, name text, year number, award text, category text, nominee text, result text ) ### Response: SELECT COUNT(*) FROM actor
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many actors are there? ### Input: CREATE TABLE actor ( actor_id number, name text, musical_id number, character text, duration text, age number ) CREATE TABLE musical ( musical_id number, name text, year number, award text, category text, nominee text, result text ) ### Response:
14,358
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the number of the tax supervising and conservation bill? ### Input: CREATE TABLE table_27928 ( "meas. num" real, "passed" text, "YES votes" real, "NO votes" real, "% YES" text, "Const. Amd.?" text, "type" text, "description" text ) ### Response: SELECT MIN("meas. num") FROM table_27928 WHERE "description" = 'Tax Supervising and Conservation Bill'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the number of the tax supervising and conservation bill? ### Input: CREATE TABLE table_27928 ( "meas. num" real, "passed" text, "YES votes" real, "NO votes" real, "% YES" text, "Const. Amd.?" text, "type" text, "description" text ) ### Response:
17,216
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the names of all schools that have students trying out for the position of goal and 'mid'-field. ### Input: CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) ### Response: SELECT cname FROM tryout WHERE ppos = 'goalie' INTERSECT SELECT cname FROM tryout WHERE ppos = 'mid'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the names of all schools that have students trying out for the position of goal and 'mid'-field. ### Input: CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) ### Response:
13,236
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What club has a played number of 19, and the lost of 14? ### Input: CREATE TABLE table_76613 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text ) ### Response: SELECT "Club" FROM table_76613 WHERE "Played" = '19' AND "Lost" = '14'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What club has a played number of 19, and the lost of 14? ### Input: CREATE TABLE table_76613 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text ) ### Response:
6,329
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the location/state of the race on the Wanneroo raceway? ### Input: CREATE TABLE table_68360 ( "Race Title" text, "Circuit" text, "Location / State" text, "Date" text, "Winner" text, "Team" text ) ### Response: SELECT "Location / State" FROM table_68360 WHERE "Circuit" = 'wanneroo raceway'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the location/state of the race on the Wanneroo raceway? ### Input: CREATE TABLE table_68360 ( "Race Title" text, "Circuit" text, "Location / State" text, "Date" text, "Winner" text, "Team" text ) ### Response:
1,709
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What season did Stoke City win? ### Input: CREATE TABLE table_62257 ( "Season" text, "Date" text, "Winner" text, "Loser" text, "Score" text, "Venue" text, "Attendance" text ) ### Response: SELECT "Season" FROM table_62257 WHERE "Winner" = 'stoke city'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What season did Stoke City win? ### Input: CREATE TABLE table_62257 ( "Season" text, "Date" text, "Winner" text, "Loser" text, "Score" text, "Venue" text, "Attendance" text ) ### Response:
18,106
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the result for the bafta tv awards ### Input: CREATE TABLE table_53437 ( "Year" real, "Nominated For" text, "Award" text, "Category" text, "Result" text ) ### Response: SELECT "Result" FROM table_53437 WHERE "Award" = 'bafta tv awards'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the result for the bafta tv awards ### Input: CREATE TABLE table_53437 ( "Year" real, "Nominated For" text, "Award" text, "Category" text, "Result" text ) ### Response:
10,772
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: The tournament Buick Classic occured on what dates? ### Input: CREATE TABLE table_19846 ( "No." real, "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner-up" text ) ### Response: SELECT "Date" FROM table_19846 WHERE "Tournament" = 'Buick Classic'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: The tournament Buick Classic occured on what dates? ### Input: CREATE TABLE table_19846 ( "No." real, "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner-up" text ) ### Response:
2,217
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What band has a year above 2011? ### Input: CREATE TABLE table_7044 ( "Year" real, "Band" text, "Song" text, "Album" text, "Contribution" text ) ### Response: SELECT "Band" FROM table_7044 WHERE "Year" > '2011'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What band has a year above 2011? ### Input: CREATE TABLE table_7044 ( "Year" real, "Band" text, "Song" text, "Album" text, "Contribution" text ) ### Response:
6,408
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the repeat date of the episode that aired 22/12/1968? ### Input: CREATE TABLE table_18089 ( "#" real, "Title" text, "Director" text, "Writer(s)" text, "Originalairdate" text, "Repeatairdate(s)" text, "Prod.Code" text ) ### Response: SELECT "Repeatairdate(s)" FROM table_18089 WHERE "Originalairdate" = '22/12/1968'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the repeat date of the episode that aired 22/12/1968? ### Input: CREATE TABLE table_18089 ( "#" real, "Title" text, "Director" text, "Writer(s)" text, "Originalairdate" text, "Repeatairdate(s)" text, "Prod.Code" text ) ### Response:
5,648
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What RECNet has elk lake as the city of license? ### Input: CREATE TABLE table_41559 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) ### Response: SELECT "RECNet" FROM table_41559 WHERE "City of license" = 'elk lake'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What RECNet has elk lake as the city of license? ### Input: CREATE TABLE table_41559 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) ### Response:
878
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which county has only 774 households ? ### Input: CREATE TABLE table_204_572 ( id number, "rank" number, "county" text, "per capita\nincome" text, "median\nhousehold\nincome" text, "median\nfamily\nincome" text, "population" number, "number of\nhouseholds" number ) ### Response: SELECT "county" FROM table_204_572 WHERE "number of\nhouseholds" = 774
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which county has only 774 households ? ### Input: CREATE TABLE table_204_572 ( id number, "rank" number, "county" text, "per capita\nincome" text, "median\nhousehold\nincome" text, "median\nfamily\nincome" text, "population" number, "number of\nhouseholds" number ) ### Response:
21,959
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Coombe Road with a Woodside time of 07:23? ### Input: CREATE TABLE table_40595 ( "Sanderstead" text, "Selsdon" text, "Coombe Road" text, "Bingham Road" text, "Woodside" text, "Elmers End" text ) ### Response: SELECT "Coombe Road" FROM table_40595 WHERE "Woodside" = '07:23'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Coombe Road with a Woodside time of 07:23? ### Input: CREATE TABLE table_40595 ( "Sanderstead" text, "Selsdon" text, "Coombe Road" text, "Bingham Road" text, "Woodside" text, "Elmers End" text ) ### Response:
3,200
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Country, when Player is 'Hale Irwin'? ### Input: CREATE TABLE table_46660 ( "Player" text, "Country" text, "Year(s) won" text, "Total" text, "To par" text ) ### Response: SELECT "Country" FROM table_46660 WHERE "Player" = 'hale irwin'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Country, when Player is 'Hale Irwin'? ### Input: CREATE TABLE table_46660 ( "Player" text, "Country" text, "Year(s) won" text, "Total" text, "To par" text ) ### Response:
940
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the segment a for s duvet ### Input: CREATE TABLE table_19897 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) ### Response: SELECT "Segment A" FROM table_19897 WHERE "Segment C" = 's Duvet'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the segment a for s duvet ### Input: CREATE TABLE table_19897 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) ### Response:
9,841
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Season has a Level of tier 2 and a Position of 1st? ### Input: CREATE TABLE table_5753 ( "Season" real, "Level" text, "Division" text, "Administration" text, "Position" text ) ### Response: SELECT COUNT("Season") FROM table_5753 WHERE "Level" = 'tier 2' AND "Position" = '1st'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Season has a Level of tier 2 and a Position of 1st? ### Input: CREATE TABLE table_5753 ( "Season" real, "Level" text, "Division" text, "Administration" text, "Position" text ) ### Response:
18,715
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what's the location with tournament value of quicksilver classic ### Input: CREATE TABLE table_16937 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real ) ### Response: SELECT "Location" FROM table_16937 WHERE "Tournament" = 'Quicksilver Classic'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what's the location with tournament value of quicksilver classic ### Input: CREATE TABLE table_16937 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real ) ### Response:
4,476
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the score for january 26 ### Input: CREATE TABLE table_21247 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Score" FROM table_21247 WHERE "Date" = 'January 26'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the score for january 26 ### Input: CREATE TABLE table_21247 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response:
24,826
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Week 4 has a Week 2 of samantha speer? ### Input: CREATE TABLE table_12982 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) ### Response: SELECT "Week 4" FROM table_12982 WHERE "Week 2" = 'samantha speer'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Week 4 has a Week 2 of samantha speer? ### Input: CREATE TABLE table_12982 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) ### Response:
15,258
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Red Cards has a Season of 1998/1999, and a Games larger than 41? ### Input: CREATE TABLE table_44063 ( "Season" text, "Games" real, "Yellow Cards" real, "Red Cards" real, "Average Cards a game" real ) ### Response: SELECT MIN("Red Cards") FROM table_44063 WHERE "Season" = '1998/1999' AND "Games" > '41'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Red Cards has a Season of 1998/1999, and a Games larger than 41? ### Input: CREATE TABLE table_44063 ( "Season" text, "Games" real, "Yellow Cards" real, "Red Cards" real, "Average Cards a game" real ) ### Response:
9,663
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team(s) enjoyed an average spped (mph) of 138.14? ### Input: CREATE TABLE table_17802778_1 ( team VARCHAR, average_speed__mph_ VARCHAR ) ### Response: SELECT team FROM table_17802778_1 WHERE average_speed__mph_ = "138.14"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team(s) enjoyed an average spped (mph) of 138.14? ### Input: CREATE TABLE table_17802778_1 ( team VARCHAR, average_speed__mph_ VARCHAR ) ### Response:
24,107
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many actors have appeared in each musical? ### Input: CREATE TABLE musical ( musical_id number, name text, year number, award text, category text, nominee text, result text ) CREATE TABLE actor ( actor_id number, name text, musical_id number, character text, duration text, age number ) ### Response: SELECT T2.name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.musical_id = T2.musical_id GROUP BY T1.musical_id
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many actors have appeared in each musical? ### Input: CREATE TABLE musical ( musical_id number, name text, year number, award text, category text, nominee text, result text ) CREATE TABLE actor ( actor_id number, name text, musical_id number, character text, duration text, age number ) ### Response:
2,239
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tell me the NHL team for ryan johnson ### Input: CREATE TABLE table_31542 ( "Pick" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) ### Response: SELECT "NHL team" FROM table_31542 WHERE "Player" = 'ryan johnson'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tell me the NHL team for ryan johnson ### Input: CREATE TABLE table_31542 ( "Pick" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) ### Response:
6,492
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score against Portland in game numbers under 20? ### Input: CREATE TABLE table_7988 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Score" FROM table_7988 WHERE "Game" < '20' AND "Team" = 'portland'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score against Portland in game numbers under 20? ### Input: CREATE TABLE table_7988 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response:
12,400
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what team lost on july 30 ### Input: CREATE TABLE table_37357 ( "Date" text, "Time" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) ### Response: SELECT "Loss" FROM table_37357 WHERE "Date" = 'july 30'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what team lost on july 30 ### Input: CREATE TABLE table_37357 ( "Date" text, "Time" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) ### Response:
11,841
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What shows for Scorers when the Opponent was west germany on October 7? ### Input: CREATE TABLE table_6609 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Scorers" text, "Type of game" text ) ### Response: SELECT "Scorers" FROM table_6609 WHERE "Opponent" = 'west germany' AND "Date" = 'october 7'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What shows for Scorers when the Opponent was west germany on October 7? ### Input: CREATE TABLE table_6609 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Scorers" text, "Type of game" text ) ### Response:
11,488
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many silver medals when the total was 2 and less than 1 bronze? ### Input: CREATE TABLE table_14293 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT SUM("Silver") FROM table_14293 WHERE "Bronze" < '1' AND "Total" = '2'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many silver medals when the total was 2 and less than 1 bronze? ### Input: CREATE TABLE table_14293 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response:
1,266
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6? ### Input: CREATE TABLE table_name_89 ( total INTEGER, a_score VARCHAR, position VARCHAR, b_score VARCHAR ) ### Response: SELECT AVG(total) FROM table_name_89 WHERE position < 4 AND b_score > 9.125 AND a_score < 6.6
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6? ### Input: CREATE TABLE table_name_89 ( total INTEGER, a_score VARCHAR, position VARCHAR, b_score VARCHAR ) ### Response:
14,988
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who wrote the song that runs for 2:22? ### Input: CREATE TABLE table_52755 ( "Title" text, "Author(s)" text, "Recorded" text, "Location(s)" text, "Time" text ) ### Response: SELECT "Author(s)" FROM table_52755 WHERE "Time" = '2:22'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who wrote the song that runs for 2:22? ### Input: CREATE TABLE table_52755 ( "Title" text, "Author(s)" text, "Recorded" text, "Location(s)" text, "Time" text ) ### Response:
3,726
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school? ### Input: CREATE TABLE table_59508 ( "School" text, "Suburb/Town" text, "Years" text, "Founded" real, "Website" text ) ### Response: SELECT "Suburb/Town" FROM table_59508 WHERE "Years" = 'k-6' AND "Founded" < '1875' AND "School" = 'ashfield public school'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school? ### Input: CREATE TABLE table_59508 ( "School" text, "Suburb/Town" text, "Years" text, "Founded" real, "Website" text ) ### Response:
4,147
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team used the toyota rvx-07 2.4 v8 engine ### Input: CREATE TABLE table_14477 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" text ) ### Response: SELECT "Entrant" FROM table_14477 WHERE "Engine" = 'toyota rvx-07 2.4 v8'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team used the toyota rvx-07 2.4 v8 engine ### Input: CREATE TABLE table_14477 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" text ) ### Response:
14,158
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the number of races in the season in which the team placed on the 14th position? ### Input: CREATE TABLE table_23225 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text ) ### Response: SELECT MIN("Races") FROM table_23225 WHERE "Position" = '14th'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the number of races in the season in which the team placed on the 14th position? ### Input: CREATE TABLE table_23225 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text ) ### Response:
4,765
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many times does friendly appear in the competition column ? ### Input: CREATE TABLE table_204_346 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "result" text, "competition" text, "scored" number ) ### Response: SELECT COUNT(*) FROM table_204_346 WHERE "competition" = 'friendly'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many times does friendly appear in the competition column ? ### Input: CREATE TABLE table_204_346 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "result" text, "competition" text, "scored" number ) ### Response:
8,485
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the record for may 31 ### Input: CREATE TABLE table_53905 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) ### Response: SELECT "Record" FROM table_53905 WHERE "Date" = 'may 31'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the record for may 31 ### Input: CREATE TABLE table_53905 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) ### Response:
8,206
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the position for the university of akron michigan bucks affiliation ### Input: CREATE TABLE table_4229 ( "Pick #" real, "MLS team" text, "Player" text, "Position" text, "Affiliation" text ) ### Response: SELECT "Position" FROM table_4229 WHERE "Affiliation" = 'University of Akron Michigan Bucks'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the position for the university of akron michigan bucks affiliation ### Input: CREATE TABLE table_4229 ( "Pick #" real, "MLS team" text, "Player" text, "Position" text, "Affiliation" text ) ### Response:
20,532
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many laps did Jo Bonnier driver when the grid number was smaller than 11? ### Input: CREATE TABLE table_51480 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) ### Response: SELECT SUM("Laps") FROM table_51480 WHERE "Driver" = 'jo bonnier' AND "Grid" < '11'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many laps did Jo Bonnier driver when the grid number was smaller than 11? ### Input: CREATE TABLE table_51480 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) ### Response:
2,910
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which series has a season prior to 2009? ### Input: CREATE TABLE table_9256 ( "Season" real, "Conference" text, "Champion" text, "Format" text, "Series" text, "Runner-Up" text ) ### Response: SELECT "Series" FROM table_9256 WHERE "Season" < '2009'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which series has a season prior to 2009? ### Input: CREATE TABLE table_9256 ( "Season" real, "Conference" text, "Champion" text, "Format" text, "Series" text, "Runner-Up" text ) ### Response:
13,657
README.md exists but content is empty.
Downloads last month
36