context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_50 (weight VARCHAR, name VARCHAR) | SELECT weight FROM table_name_50 WHERE name = "serhiy alfyorov" | What was the weight of Serhiy Alfyorov? | <s>[INST]What was the weight of Serhiy Alfyorov? Context: CREATE TABLE table_name_50 (weight VARCHAR, name VARCHAR)[/INST]SELECT weight FROM table_name_50 WHERE name = "serhiy alfyorov"</s> |
CREATE TABLE table_name_88 (structure VARCHAR, country VARCHAR) | SELECT structure FROM table_name_88 WHERE country = "chile" | What structure is in Chile? | <s>[INST]What structure is in Chile? Context: CREATE TABLE table_name_88 (structure VARCHAR, country VARCHAR)[/INST]SELECT structure FROM table_name_88 WHERE country = "chile"</s> |
CREATE TABLE table_name_18 (country VARCHAR, total VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_18 WHERE total < 153 AND year_s__won = "1984" | What is the Country of the Player with a Total less than 153 and Year(s) won of 1984? | <s>[INST]What is the Country of the Player with a Total less than 153 and Year(s) won of 1984? Context: CREATE TABLE table_name_18 (country VARCHAR, total VARCHAR, year_s__won VARCHAR)[/INST]SELECT country FROM table_name_18 WHERE total < 153 AND year_s__won = "1984"</s> |
CREATE TABLE table_29160596_1 (top_mc VARCHAR, year_inducted VARCHAR, peak_ranking VARCHAR) | SELECT top_mc FROM table_29160596_1 WHERE year_inducted = 2007 AND peak_ranking = 6 | List all the MCs with peak ranking of 6 who were inducted in 2007. | <s>[INST]List all the MCs with peak ranking of 6 who were inducted in 2007. Context: CREATE TABLE table_29160596_1 (top_mc VARCHAR, year_inducted VARCHAR, peak_ranking VARCHAR)[/INST]SELECT top_mc FROM table_29160596_1 WHERE year_inducted = 2007 AND peak_ranking = 6</s> |
CREATE TABLE Player (pName VARCHAR, yCard VARCHAR, HS VARCHAR) | SELECT pName FROM Player WHERE yCard = 'yes' ORDER BY HS DESC | Find the name of players whose card is yes in the descending order of training hours. | <s>[INST]Find the name of players whose card is yes in the descending order of training hours. Context: CREATE TABLE Player (pName VARCHAR, yCard VARCHAR, HS VARCHAR)[/INST]SELECT pName FROM Player WHERE yCard = 'yes' ORDER BY HS DESC</s> |
CREATE TABLE table_name_42 (building VARCHAR, storeys VARCHAR) | SELECT building FROM table_name_42 WHERE storeys = 26 | Which building has 26 storeys? | <s>[INST]Which building has 26 storeys? Context: CREATE TABLE table_name_42 (building VARCHAR, storeys VARCHAR)[/INST]SELECT building FROM table_name_42 WHERE storeys = 26</s> |
CREATE TABLE table_name_52 (Id VARCHAR) | SELECT 2006 FROM table_name_52 WHERE 2002 = "grand slam tournaments" | What shows for 2006 when 2002 is Grand Slam Tournaments? | <s>[INST]What shows for 2006 when 2002 is Grand Slam Tournaments? Context: CREATE TABLE table_name_52 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_52 WHERE 2002 = "grand slam tournaments"</s> |
CREATE TABLE table_name_67 (home_town VARCHAR, weight VARCHAR) | SELECT home_town FROM table_name_67 WHERE weight = 201 | Which Home Town had the weight of 201? | <s>[INST]Which Home Town had the weight of 201? Context: CREATE TABLE table_name_67 (home_town VARCHAR, weight VARCHAR)[/INST]SELECT home_town FROM table_name_67 WHERE weight = 201</s> |
CREATE TABLE table_name_86 (inhabitants INTEGER, municipality VARCHAR) | SELECT MAX(inhabitants) FROM table_name_86 WHERE municipality = "gela" | Highest inhabitants from gela? | <s>[INST]Highest inhabitants from gela? Context: CREATE TABLE table_name_86 (inhabitants INTEGER, municipality VARCHAR)[/INST]SELECT MAX(inhabitants) FROM table_name_86 WHERE municipality = "gela"</s> |
CREATE TABLE country (Name VARCHAR, Languages VARCHAR) | SELECT Name FROM country WHERE Languages <> "German" | List the names of countries whose language is not "German". | <s>[INST]List the names of countries whose language is not "German". Context: CREATE TABLE country (Name VARCHAR, Languages VARCHAR)[/INST]SELECT Name FROM country WHERE Languages <> "German"</s> |
CREATE TABLE table_name_90 (publication_date VARCHAR, person_s_ VARCHAR, reported_price VARCHAR, publisher_s_ VARCHAR) | SELECT publication_date FROM table_name_90 WHERE reported_price = "$500,000" AND publisher_s_ = "people" AND person_s_ = "sean preston federline" | What was the publication date of the photos of Sean Preston Federline that cost $500,000 and were published by People? | <s>[INST]What was the publication date of the photos of Sean Preston Federline that cost $500,000 and were published by People? Context: CREATE TABLE table_name_90 (publication_date VARCHAR, person_s_ VARCHAR, reported_price VARCHAR, publisher_s_ VARCHAR)[/INST]SELECT publication_date FROM table_name_90 WHERE reported_... |
CREATE TABLE table_25055040_22 (team_classification VARCHAR, general_classification VARCHAR) | SELECT team_classification FROM table_25055040_22 WHERE general_classification = "Brett Lancaster" | When Brett Lancaster won the general classification, who won the team calssification? | <s>[INST]When Brett Lancaster won the general classification, who won the team calssification? Context: CREATE TABLE table_25055040_22 (team_classification VARCHAR, general_classification VARCHAR)[/INST]SELECT team_classification FROM table_25055040_22 WHERE general_classification = "Brett Lancaster"</s> |
CREATE TABLE table_name_22 (year INTEGER, pts INTEGER) | SELECT MAX(year) FROM table_name_22 WHERE pts > 0 | What is the latesr year that has more points than 0? | <s>[INST]What is the latesr year that has more points than 0? Context: CREATE TABLE table_name_22 (year INTEGER, pts INTEGER)[/INST]SELECT MAX(year) FROM table_name_22 WHERE pts > 0</s> |
CREATE TABLE table_name_68 (goals_against VARCHAR, played INTEGER) | SELECT COUNT(goals_against) FROM table_name_68 WHERE played > 42 | What is the total number of goals scored against clubs that have played more than 42 times? | <s>[INST]What is the total number of goals scored against clubs that have played more than 42 times? Context: CREATE TABLE table_name_68 (goals_against VARCHAR, played INTEGER)[/INST]SELECT COUNT(goals_against) FROM table_name_68 WHERE played > 42</s> |
CREATE TABLE table_name_23 (venue VARCHAR, team VARCHAR) | SELECT venue FROM table_name_23 WHERE team = "neman" | what is the venue of neman | <s>[INST]what is the venue of neman Context: CREATE TABLE table_name_23 (venue VARCHAR, team VARCHAR)[/INST]SELECT venue FROM table_name_23 WHERE team = "neman"</s> |
CREATE TABLE table_17103566_1 (man_of_the_match VARCHAR, team_1 VARCHAR) | SELECT man_of_the_match FROM table_17103566_1 WHERE team_1 = "ICL Pakistan" | Who is man of the match when Team 1 is ICL Pakistan? | <s>[INST]Who is man of the match when Team 1 is ICL Pakistan? Context: CREATE TABLE table_17103566_1 (man_of_the_match VARCHAR, team_1 VARCHAR)[/INST]SELECT man_of_the_match FROM table_17103566_1 WHERE team_1 = "ICL Pakistan"</s> |
CREATE TABLE table_name_76 (tournament VARCHAR, semi_finalists VARCHAR) | SELECT tournament FROM table_name_76 WHERE semi_finalists = "monica seles sandrine testud" | Which Tournament has a Semi finalists of monica seles sandrine testud? | <s>[INST]Which Tournament has a Semi finalists of monica seles sandrine testud? Context: CREATE TABLE table_name_76 (tournament VARCHAR, semi_finalists VARCHAR)[/INST]SELECT tournament FROM table_name_76 WHERE semi_finalists = "monica seles sandrine testud"</s> |
CREATE TABLE table_name_12 (try_bonus VARCHAR, club VARCHAR) | SELECT try_bonus FROM table_name_12 WHERE club = "ynysybwl rfc" | What is the try bonus for ynysybwl rfc? | <s>[INST]What is the try bonus for ynysybwl rfc? Context: CREATE TABLE table_name_12 (try_bonus VARCHAR, club VARCHAR)[/INST]SELECT try_bonus FROM table_name_12 WHERE club = "ynysybwl rfc"</s> |
CREATE TABLE table_name_67 (wins VARCHAR, top_25 VARCHAR, events VARCHAR) | SELECT COUNT(wins) FROM table_name_67 WHERE top_25 = 10 AND events < 26 | Name the total number of wins with top-25 of 10 and events less than 26 | <s>[INST]Name the total number of wins with top-25 of 10 and events less than 26 Context: CREATE TABLE table_name_67 (wins VARCHAR, top_25 VARCHAR, events VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_67 WHERE top_25 = 10 AND events < 26</s> |
CREATE TABLE cinema (LOCATION VARCHAR, openning_year VARCHAR) | SELECT LOCATION FROM cinema WHERE openning_year = 2010 INTERSECT SELECT LOCATION FROM cinema WHERE openning_year = 2011 | Show all the locations where some cinemas were opened in both year 2010 and year 2011. | <s>[INST]Show all the locations where some cinemas were opened in both year 2010 and year 2011. Context: CREATE TABLE cinema (LOCATION VARCHAR, openning_year VARCHAR)[/INST]SELECT LOCATION FROM cinema WHERE openning_year = 2010 INTERSECT SELECT LOCATION FROM cinema WHERE openning_year = 2011</s> |
CREATE TABLE table_name_55 (number_of_contestants VARCHAR, international_destinations VARCHAR) | SELECT number_of_contestants FROM table_name_55 WHERE international_destinations = "london lisbon" | What is Number of Contestants, when International Destinations is London Lisbon? | <s>[INST]What is Number of Contestants, when International Destinations is London Lisbon? Context: CREATE TABLE table_name_55 (number_of_contestants VARCHAR, international_destinations VARCHAR)[/INST]SELECT number_of_contestants FROM table_name_55 WHERE international_destinations = "london lisbon"</s> |
CREATE TABLE table_name_59 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_59 WHERE driver = "juan manuel fangio" | For which constructor does Juan Manuel Fangio drive? | <s>[INST]For which constructor does Juan Manuel Fangio drive? Context: CREATE TABLE table_name_59 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_59 WHERE driver = "juan manuel fangio"</s> |
CREATE TABLE table_1818254_1 (violent_crime VARCHAR, robbery VARCHAR) | SELECT violent_crime FROM table_1818254_1 WHERE robbery = "201.4" | What was the violent crime rate in the city where the robbery rate was 201.4? | <s>[INST]What was the violent crime rate in the city where the robbery rate was 201.4? Context: CREATE TABLE table_1818254_1 (violent_crime VARCHAR, robbery VARCHAR)[/INST]SELECT violent_crime FROM table_1818254_1 WHERE robbery = "201.4"</s> |
CREATE TABLE table_11240028_1 (episodes VARCHAR, portrayed_by VARCHAR) | SELECT episodes FROM table_11240028_1 WHERE portrayed_by = "Vanessa Ferlito" | How many episodes did actress Vanessa Ferlito appear in? | <s>[INST]How many episodes did actress Vanessa Ferlito appear in? Context: CREATE TABLE table_11240028_1 (episodes VARCHAR, portrayed_by VARCHAR)[/INST]SELECT episodes FROM table_11240028_1 WHERE portrayed_by = "Vanessa Ferlito"</s> |
CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_14 WHERE date = "29/09/07" | What was the result on 29/09/07? | <s>[INST]What was the result on 29/09/07? Context: CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE date = "29/09/07"</s> |
CREATE TABLE table_name_82 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_82 WHERE opponent = "los angeles rams" AND week < 11 | What is the highest attendance when the opponent is the Los Angeles Rams and the week is less than 11? | <s>[INST]What is the highest attendance when the opponent is the Los Angeles Rams and the week is less than 11? Context: CREATE TABLE table_name_82 (attendance INTEGER, opponent VARCHAR, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_82 WHERE opponent = "los angeles rams" AND week < 11</s> |
CREATE TABLE table_name_45 (pos VARCHAR, height VARCHAR, date_of_birth VARCHAR) | SELECT pos FROM table_name_45 WHERE height = "m (ft 10in)" AND date_of_birth = "1983-05-29" | What is Pos., when Height is "m (ft 10in)", and when Date of Birth is "1983-05-29"? | <s>[INST]What is Pos., when Height is "m (ft 10in)", and when Date of Birth is "1983-05-29"? Context: CREATE TABLE table_name_45 (pos VARCHAR, height VARCHAR, date_of_birth VARCHAR)[/INST]SELECT pos FROM table_name_45 WHERE height = "m (ft 10in)" AND date_of_birth = "1983-05-29"</s> |
CREATE TABLE table_name_85 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_85 WHERE score = "1–2" | What is the Date of the Competition with a Score of 1–2? | <s>[INST]What is the Date of the Competition with a Score of 1–2? Context: CREATE TABLE table_name_85 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_85 WHERE score = "1–2"</s> |
CREATE TABLE table_name_79 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_name_79 WHERE pick__number = 25 | Which player's pick number was 25? | <s>[INST]Which player's pick number was 25? Context: CREATE TABLE table_name_79 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_name_79 WHERE pick__number = 25</s> |
CREATE TABLE table_name_15 (height VARCHAR, pos VARCHAR, weight VARCHAR, club VARCHAR) | SELECT height FROM table_name_15 WHERE weight = "kg (lb)" AND club = "sainte-foy" AND pos = "cf" | What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos is cf? | <s>[INST]What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos is cf? Context: CREATE TABLE table_name_15 (height VARCHAR, pos VARCHAR, weight VARCHAR, club VARCHAR)[/INST]SELECT height FROM table_name_15 WHERE weight = "kg (lb)" AND club = "sainte-foy" AND pos = "cf"</s> |
CREATE TABLE table_name_32 (attendance VARCHAR, loss VARCHAR) | SELECT attendance FROM table_name_32 WHERE loss = "gonzález (0–3)" | Loss of gonzález (0–3) had what attendance? | <s>[INST]Loss of gonzález (0–3) had what attendance? Context: CREATE TABLE table_name_32 (attendance VARCHAR, loss VARCHAR)[/INST]SELECT attendance FROM table_name_32 WHERE loss = "gonzález (0–3)"</s> |
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_86 WHERE record = "2–3–1" | What is the Date of the game with a Record of 2–3–1? | <s>[INST]What is the Date of the game with a Record of 2–3–1? Context: CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_86 WHERE record = "2–3–1"</s> |
CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR) | SELECT COUNT(score) FROM table_name_15 WHERE player = "fred couples" | What was Fred Couples' score? | <s>[INST]What was Fred Couples' score? Context: CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR)[/INST]SELECT COUNT(score) FROM table_name_15 WHERE player = "fred couples"</s> |
CREATE TABLE table_name_70 (synchronisation VARCHAR, fieldbus VARCHAR) | SELECT synchronisation FROM table_name_70 WHERE fieldbus = "controlnet" | What is the synchronisation for the controlnet fieldbus? | <s>[INST]What is the synchronisation for the controlnet fieldbus? Context: CREATE TABLE table_name_70 (synchronisation VARCHAR, fieldbus VARCHAR)[/INST]SELECT synchronisation FROM table_name_70 WHERE fieldbus = "controlnet"</s> |
CREATE TABLE table_name_71 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_name_71 WHERE incumbent = "bill shuster" | What are the results for Bill Shuster? | <s>[INST]What are the results for Bill Shuster? Context: CREATE TABLE table_name_71 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_name_71 WHERE incumbent = "bill shuster"</s> |
CREATE TABLE table_name_89 (venue VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT venue FROM table_name_89 WHERE year > 2003 AND tournament = "hypo-meeting" | What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"? | <s>[INST]What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"? Context: CREATE TABLE table_name_89 (venue VARCHAR, year VARCHAR, tournament VARCHAR)[/INST]SELECT venue FROM table_name_89 WHERE year > 2003 AND tournament = "hypo-meeting"</s> |
CREATE TABLE table_19283806_4 (location VARCHAR, district VARCHAR) | SELECT location FROM table_19283806_4 WHERE district = "12th" | What is the location that has the 12th district? | <s>[INST]What is the location that has the 12th district? Context: CREATE TABLE table_19283806_4 (location VARCHAR, district VARCHAR)[/INST]SELECT location FROM table_19283806_4 WHERE district = "12th"</s> |
CREATE TABLE Catalog_Contents_Additional_Attributes (catalog_entry_id VARCHAR, attribute_value VARCHAR); CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, catalog_entry_id VARCHAR); CREATE TABLE Catalog_Contents_Additional_Attributes (attribute_value VARCHAR) | SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.attribute_value = (SELECT attribute_value FROM Catalog_Contents_Additional_Attributes GROUP BY attribute_value ORDER BY COUNT(*) DESC LIMIT 1) | What are the entry names of catalog with the attribute possessed by most entries. | <s>[INST]What are the entry names of catalog with the attribute possessed by most entries. Context: CREATE TABLE Catalog_Contents_Additional_Attributes (catalog_entry_id VARCHAR, attribute_value VARCHAR); CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, catalog_entry_id VARCHAR); CREATE TABLE Catalog_Contents... |
CREATE TABLE table_name_36 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_36 WHERE date = "14 august 1994" | What was the score in the final on 14 august 1994? | <s>[INST]What was the score in the final on 14 august 1994? Context: CREATE TABLE table_name_36 (score_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_36 WHERE date = "14 august 1994"</s> |
CREATE TABLE table_name_36 (top_5 INTEGER, cuts_made VARCHAR) | SELECT MIN(top_5) FROM table_name_36 WHERE cuts_made = 1 | What is the least Top-5 when 1 is the cuts made? | <s>[INST]What is the least Top-5 when 1 is the cuts made? Context: CREATE TABLE table_name_36 (top_5 INTEGER, cuts_made VARCHAR)[/INST]SELECT MIN(top_5) FROM table_name_36 WHERE cuts_made = 1</s> |
CREATE TABLE table_1320857_1 (ht_brewer VARCHAR, je_armstrong VARCHAR) | SELECT ht_brewer FROM table_1320857_1 WHERE je_armstrong = "A.J. Wilson" | Who is h.t. brewer when j.e. armstrong is a.j. wilson? | <s>[INST]Who is h.t. brewer when j.e. armstrong is a.j. wilson? Context: CREATE TABLE table_1320857_1 (ht_brewer VARCHAR, je_armstrong VARCHAR)[/INST]SELECT ht_brewer FROM table_1320857_1 WHERE je_armstrong = "A.J. Wilson"</s> |
CREATE TABLE table_name_28 (home VARCHAR, time VARCHAR) | SELECT home FROM table_name_28 WHERE time = "14:00" | What is the Home with a Time that is 14:00? | <s>[INST]What is the Home with a Time that is 14:00? Context: CREATE TABLE table_name_28 (home VARCHAR, time VARCHAR)[/INST]SELECT home FROM table_name_28 WHERE time = "14:00"</s> |
CREATE TABLE table_name_45 (download VARCHAR, week VARCHAR) | SELECT download FROM table_name_45 WHERE week = 44 | What's the Download information for the song from Week 44? | <s>[INST]What's the Download information for the song from Week 44? Context: CREATE TABLE table_name_45 (download VARCHAR, week VARCHAR)[/INST]SELECT download FROM table_name_45 WHERE week = 44</s> |
CREATE TABLE table_name_14 (result VARCHAR, event VARCHAR, method VARCHAR) | SELECT result FROM table_name_14 WHERE event = "strikeforce" AND method = "ko (double roundhouse kick)" | Which Result has the Event, Strikeforce, and Method, Ko (double roundhouse kick)? | <s>[INST]Which Result has the Event, Strikeforce, and Method, Ko (double roundhouse kick)? Context: CREATE TABLE table_name_14 (result VARCHAR, event VARCHAR, method VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE event = "strikeforce" AND method = "ko (double roundhouse kick)"</s> |
CREATE TABLE device (Software_Platform VARCHAR) | SELECT COUNT(DISTINCT Software_Platform) FROM device | How many different software platforms are there for devices? | <s>[INST]How many different software platforms are there for devices? Context: CREATE TABLE device (Software_Platform VARCHAR)[/INST]SELECT COUNT(DISTINCT Software_Platform) FROM device</s> |
CREATE TABLE table_name_9 (year VARCHAR, driver VARCHAR) | SELECT year FROM table_name_9 WHERE driver = "e. meyer" | What year was E. Meyer the driver? | <s>[INST]What year was E. Meyer the driver? Context: CREATE TABLE table_name_9 (year VARCHAR, driver VARCHAR)[/INST]SELECT year FROM table_name_9 WHERE driver = "e. meyer"</s> |
CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR) | SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_transylvania < 14.476 AND bistrita = 643 AND zalau < 737 | How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737? | <s>[INST]How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737? Context: CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR)[/INST]SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_trans... |
CREATE TABLE table_name_79 (grid VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_79 WHERE driver = "jenson button" | What was the grid of Jenson Button? | <s>[INST]What was the grid of Jenson Button? Context: CREATE TABLE table_name_79 (grid VARCHAR, driver VARCHAR)[/INST]SELECT grid FROM table_name_79 WHERE driver = "jenson button"</s> |
CREATE TABLE table_name_69 (weight INTEGER, height VARCHAR) | SELECT AVG(weight) FROM table_name_69 WHERE height = "6-9" | Can you tell me the average Weight that has Height of 6-9? | <s>[INST]Can you tell me the average Weight that has Height of 6-9? Context: CREATE TABLE table_name_69 (weight INTEGER, height VARCHAR)[/INST]SELECT AVG(weight) FROM table_name_69 WHERE height = "6-9"</s> |
CREATE TABLE table_name_68 (winner VARCHAR, season VARCHAR) | SELECT winner AS Women FROM table_name_68 WHERE winner = "norway" AND season = "2001/02" | Who had the women's win when Norway was the winner overall in season 2001/02? | <s>[INST]Who had the women's win when Norway was the winner overall in season 2001/02? Context: CREATE TABLE table_name_68 (winner VARCHAR, season VARCHAR)[/INST]SELECT winner AS Women FROM table_name_68 WHERE winner = "norway" AND season = "2001/02"</s> |
CREATE TABLE match_season (Name VARCHAR, Team_id VARCHAR, Team VARCHAR); CREATE TABLE team (Name VARCHAR, Team_id VARCHAR, Team VARCHAR) | SELECT Name FROM team WHERE NOT Team_id IN (SELECT Team FROM match_season) | What are the names of teams that do no have match season record? | <s>[INST]What are the names of teams that do no have match season record? Context: CREATE TABLE match_season (Name VARCHAR, Team_id VARCHAR, Team VARCHAR); CREATE TABLE team (Name VARCHAR, Team_id VARCHAR, Team VARCHAR)[/INST]SELECT Name FROM team WHERE NOT Team_id IN (SELECT Team FROM match_season)</s> |
CREATE TABLE table_name_86 (status VARCHAR, against VARCHAR) | SELECT status FROM table_name_86 WHERE against = 44 | What is the Status of the 44 Against? | <s>[INST]What is the Status of the 44 Against? Context: CREATE TABLE table_name_86 (status VARCHAR, against VARCHAR)[/INST]SELECT status FROM table_name_86 WHERE against = 44</s> |
CREATE TABLE table_11734041_20 (years_for_rockets VARCHAR, school_club_team_country VARCHAR) | SELECT COUNT(years_for_rockets) FROM table_11734041_20 WHERE school_club_team_country = "Baylor" | what is the total number of years for rockets where school/club team/country is baylor | <s>[INST]what is the total number of years for rockets where school/club team/country is baylor Context: CREATE TABLE table_11734041_20 (years_for_rockets VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT COUNT(years_for_rockets) FROM table_11734041_20 WHERE school_club_team_country = "Baylor"</s> |
CREATE TABLE table_name_68 (number VARCHAR, name_of_the_song VARCHAR) | SELECT number FROM table_name_68 WHERE name_of_the_song = "實情" | What is the number of the song named 實情? | <s>[INST]What is the number of the song named 實情? Context: CREATE TABLE table_name_68 (number VARCHAR, name_of_the_song VARCHAR)[/INST]SELECT number FROM table_name_68 WHERE name_of_the_song = "實情"</s> |
CREATE TABLE table_23958944_5 (no_by_season INTEGER, us_viewers__in_millions_ VARCHAR) | SELECT MIN(no_by_season) FROM table_23958944_5 WHERE us_viewers__in_millions_ = "10.81" | What episode was watched by 10.81 million US viewers? | <s>[INST]What episode was watched by 10.81 million US viewers? Context: CREATE TABLE table_23958944_5 (no_by_season INTEGER, us_viewers__in_millions_ VARCHAR)[/INST]SELECT MIN(no_by_season) FROM table_23958944_5 WHERE us_viewers__in_millions_ = "10.81"</s> |
CREATE TABLE table_name_62 (attribute VARCHAR, type VARCHAR) | SELECT attribute FROM table_name_62 WHERE type = "datasetcomplete" | Let's say Type is of datasetcomplete, what is the Attribute? | <s>[INST]Let's say Type is of datasetcomplete, what is the Attribute? Context: CREATE TABLE table_name_62 (attribute VARCHAR, type VARCHAR)[/INST]SELECT attribute FROM table_name_62 WHERE type = "datasetcomplete"</s> |
CREATE TABLE table_name_14 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_14 WHERE away_team = "carlton" | How many spectators were at the away team Carlton? | <s>[INST]How many spectators were at the away team Carlton? Context: CREATE TABLE table_name_14 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_14 WHERE away_team = "carlton"</s> |
CREATE TABLE Faculty (FacID VARCHAR); CREATE TABLE Student (advisor VARCHAR) | SELECT T1.FacID, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID | Show the faculty id of each faculty member, along with the number of students he or she advises. | <s>[INST]Show the faculty id of each faculty member, along with the number of students he or she advises. Context: CREATE TABLE Faculty (FacID VARCHAR); CREATE TABLE Student (advisor VARCHAR)[/INST]SELECT T1.FacID, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID</s> |
CREATE TABLE player_college (college_id VARCHAR); CREATE TABLE college (name_full VARCHAR, college_id VARCHAR) | SELECT T1.name_full, T1.college_id FROM college AS T1 JOIN player_college AS T2 ON T1.college_id = T2.college_id GROUP BY T1.college_id ORDER BY COUNT(*) DESC LIMIT 1 | what is the full name and id of the college with the largest number of baseball players? | <s>[INST]what is the full name and id of the college with the largest number of baseball players? Context: CREATE TABLE player_college (college_id VARCHAR); CREATE TABLE college (name_full VARCHAR, college_id VARCHAR)[/INST]SELECT T1.name_full, T1.college_id FROM college AS T1 JOIN player_college AS T2 ON T1.college_id... |
CREATE TABLE table_1566852_3 (date VARCHAR, interview_subject VARCHAR) | SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = "Harrison Ford" | IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT? | <s>[INST]IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT? Context: CREATE TABLE table_1566852_3 (date VARCHAR, interview_subject VARCHAR)[/INST]SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = "Harrison Ford"</s> |
CREATE TABLE table_15607589_2 (points_for INTEGER, date VARCHAR) | SELECT MAX(points_for) FROM table_15607589_2 WHERE date = "October 11" | Name the number of points for october 11 | <s>[INST]Name the number of points for october 11 Context: CREATE TABLE table_15607589_2 (points_for INTEGER, date VARCHAR)[/INST]SELECT MAX(points_for) FROM table_15607589_2 WHERE date = "October 11"</s> |
CREATE TABLE table_24143253_4 (length_of_marriage VARCHAR, name VARCHAR) | SELECT length_of_marriage FROM table_24143253_4 WHERE name = "Ray Bradbury" | How long were Ray Bradbury and his wife married? | <s>[INST]How long were Ray Bradbury and his wife married? Context: CREATE TABLE table_24143253_4 (length_of_marriage VARCHAR, name VARCHAR)[/INST]SELECT length_of_marriage FROM table_24143253_4 WHERE name = "Ray Bradbury"</s> |
CREATE TABLE table_1132588_3 (pole_position VARCHAR, constructor VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_1132588_3 WHERE constructor = "Ferrari" AND grand_prix = "Austrian grand_prix" | What is the pole position for the ferrari at the austrian grand prix? | <s>[INST]What is the pole position for the ferrari at the austrian grand prix? Context: CREATE TABLE table_1132588_3 (pole_position VARCHAR, constructor VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_1132588_3 WHERE constructor = "Ferrari" AND grand_prix = "Austrian grand_prix"</s> |
CREATE TABLE table_24850487_5 (assists INTEGER, minutes VARCHAR) | SELECT MIN(assists) FROM table_24850487_5 WHERE minutes = 863 | How many assists did the player who had 863 minutes have? | <s>[INST]How many assists did the player who had 863 minutes have? Context: CREATE TABLE table_24850487_5 (assists INTEGER, minutes VARCHAR)[/INST]SELECT MIN(assists) FROM table_24850487_5 WHERE minutes = 863</s> |
CREATE TABLE table_name_34 (season INTEGER, super_g VARCHAR) | SELECT MIN(season) FROM table_name_34 WHERE super_g = "33" | What is the oldest season that had a listed Super G score of 33? | <s>[INST]What is the oldest season that had a listed Super G score of 33? Context: CREATE TABLE table_name_34 (season INTEGER, super_g VARCHAR)[/INST]SELECT MIN(season) FROM table_name_34 WHERE super_g = "33"</s> |
CREATE TABLE table_name_21 (rank INTEGER, heat VARCHAR, nation VARCHAR) | SELECT SUM(rank) FROM table_name_21 WHERE heat = 9 AND nation = "great britain" | what is the rank when heat is 9 and the nation is great britain? | <s>[INST]what is the rank when heat is 9 and the nation is great britain? Context: CREATE TABLE table_name_21 (rank INTEGER, heat VARCHAR, nation VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_21 WHERE heat = 9 AND nation = "great britain"</s> |
CREATE TABLE table_name_53 (score VARCHAR, bowl_game VARCHAR) | SELECT score FROM table_name_53 WHERE bowl_game = "insight bowl" | What was the score of the Insight Bowl? | <s>[INST]What was the score of the Insight Bowl? Context: CREATE TABLE table_name_53 (score VARCHAR, bowl_game VARCHAR)[/INST]SELECT score FROM table_name_53 WHERE bowl_game = "insight bowl"</s> |
CREATE TABLE table_name_3 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_3 WHERE competition = "king's cup 1998" | What was the Venue of the King's Cup 1998? | <s>[INST]What was the Venue of the King's Cup 1998? Context: CREATE TABLE table_name_3 (venue VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_3 WHERE competition = "king's cup 1998"</s> |
CREATE TABLE table_16390001_2 (average VARCHAR, country VARCHAR) | SELECT average FROM table_16390001_2 WHERE country = "Pennsylvania" | What are the average scores of contestants whose home state is Pennsylvania? | <s>[INST]What are the average scores of contestants whose home state is Pennsylvania? Context: CREATE TABLE table_16390001_2 (average VARCHAR, country VARCHAR)[/INST]SELECT average FROM table_16390001_2 WHERE country = "Pennsylvania"</s> |
CREATE TABLE table_28677723_10 (music VARCHAR, tor_fløysvik VARCHAR) | SELECT COUNT(music) FROM table_28677723_10 WHERE tor_fløysvik = 3 | How many music entries are there when tor floysvik is 3? | <s>[INST]How many music entries are there when tor floysvik is 3? Context: CREATE TABLE table_28677723_10 (music VARCHAR, tor_fløysvik VARCHAR)[/INST]SELECT COUNT(music) FROM table_28677723_10 WHERE tor_fløysvik = 3</s> |
CREATE TABLE table_name_48 (race VARCHAR, circuit VARCHAR) | SELECT COUNT(race) FROM table_name_48 WHERE circuit = "mallala motor sport park" | How many races were in the Mallala Motor Sport Park circuit? | <s>[INST]How many races were in the Mallala Motor Sport Park circuit? Context: CREATE TABLE table_name_48 (race VARCHAR, circuit VARCHAR)[/INST]SELECT COUNT(race) FROM table_name_48 WHERE circuit = "mallala motor sport park"</s> |
CREATE TABLE table_name_90 (draw INTEGER, goals_scored VARCHAR, lost VARCHAR, place VARCHAR) | SELECT SUM(draw) FROM table_name_90 WHERE lost < 6 AND place = 5 AND goals_scored < 29 | What is the sum of draw with a lost smaller than 6, and a place of 5, and a goals scored less than 29? | <s>[INST]What is the sum of draw with a lost smaller than 6, and a place of 5, and a goals scored less than 29? Context: CREATE TABLE table_name_90 (draw INTEGER, goals_scored VARCHAR, lost VARCHAR, place VARCHAR)[/INST]SELECT SUM(draw) FROM table_name_90 WHERE lost < 6 AND place = 5 AND goals_scored < 29</s> |
CREATE TABLE table_name_5 (time VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_5 WHERE opponent = "rudy martin" | What was the time when his opponent was Rudy Martin? | <s>[INST]What was the time when his opponent was Rudy Martin? Context: CREATE TABLE table_name_5 (time VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_5 WHERE opponent = "rudy martin"</s> |
CREATE TABLE table_name_93 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR) | SELECT MAX(events) FROM table_name_93 WHERE top_5 > 5 AND top_10 > 28 | Which Events is the highest one that has a Top-5 larger than 5, and a Top-10 larger than 28? | <s>[INST]Which Events is the highest one that has a Top-5 larger than 5, and a Top-10 larger than 28? Context: CREATE TABLE table_name_93 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR)[/INST]SELECT MAX(events) FROM table_name_93 WHERE top_5 > 5 AND top_10 > 28</s> |
CREATE TABLE table_name_12 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR) | SELECT score_points FROM table_name_12 WHERE event = "wc rio de janeiro" AND rank_points = "10" | What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points is "10"? | <s>[INST]What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points is "10"? Context: CREATE TABLE table_name_12 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)[/INST]SELECT score_points FROM table_name_12 WHERE event = "wc rio de janeiro" AND rank_points = "10"</s> |
CREATE TABLE table_22998777_1 (team VARCHAR, poles VARCHAR, series VARCHAR) | SELECT team FROM table_22998777_1 WHERE poles = 1 AND series = "ADAC GT Masters" | If the series is ADAC GT Masters and poles is 1, what is the name of the team? | <s>[INST]If the series is ADAC GT Masters and poles is 1, what is the name of the team? Context: CREATE TABLE table_22998777_1 (team VARCHAR, poles VARCHAR, series VARCHAR)[/INST]SELECT team FROM table_22998777_1 WHERE poles = 1 AND series = "ADAC GT Masters"</s> |
CREATE TABLE table_name_73 (value INTEGER, ungegn VARCHAR) | SELECT SUM(value) FROM table_name_73 WHERE ungegn = "kau sĕb" | How much is the total value of kau sĕb UNGEGN ? | <s>[INST]How much is the total value of kau sĕb UNGEGN ? Context: CREATE TABLE table_name_73 (value INTEGER, ungegn VARCHAR)[/INST]SELECT SUM(value) FROM table_name_73 WHERE ungegn = "kau sĕb"</s> |
CREATE TABLE table_name_49 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_49 WHERE runner_s__up = "ian mosey" | On which date did Ian Mosey finish runner-up? | <s>[INST]On which date did Ian Mosey finish runner-up? Context: CREATE TABLE table_name_49 (date VARCHAR, runner_s__up VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE runner_s__up = "ian mosey"</s> |
CREATE TABLE table_name_51 (population VARCHAR, germans VARCHAR) | SELECT population FROM table_name_51 WHERE germans = "87.5%" | What is the population of the year featuring an 87.5% German population? | <s>[INST]What is the population of the year featuring an 87.5% German population? Context: CREATE TABLE table_name_51 (population VARCHAR, germans VARCHAR)[/INST]SELECT population FROM table_name_51 WHERE germans = "87.5%"</s> |
CREATE TABLE table_name_57 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211 | What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211? | <s>[INST]What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211? Context: CREATE TABLE table_name_57 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211</s> |
CREATE TABLE table_name_9 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR) | SELECT category FROM table_name_9 WHERE recipient_s_ = "nick jonas" AND award = "kids' choice awards mexico" | In which category did Nick Jonas win at the Kids' Choice Awards Mexico? | <s>[INST]In which category did Nick Jonas win at the Kids' Choice Awards Mexico? Context: CREATE TABLE table_name_9 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR)[/INST]SELECT category FROM table_name_9 WHERE recipient_s_ = "nick jonas" AND award = "kids' choice awards mexico"</s> |
CREATE TABLE table_17118657_10 (high_points VARCHAR, score VARCHAR) | SELECT high_points FROM table_17118657_10 WHERE score = "62-70" | If the score is 62-70, what are the high points? | <s>[INST]If the score is 62-70, what are the high points? Context: CREATE TABLE table_17118657_10 (high_points VARCHAR, score VARCHAR)[/INST]SELECT high_points FROM table_17118657_10 WHERE score = "62-70"</s> |
CREATE TABLE table_name_80 (height VARCHAR, number VARCHAR) | SELECT height FROM table_name_80 WHERE number = 52 | What is the height of number 52? | <s>[INST]What is the height of number 52? Context: CREATE TABLE table_name_80 (height VARCHAR, number VARCHAR)[/INST]SELECT height FROM table_name_80 WHERE number = 52</s> |
CREATE TABLE table_name_97 (years VARCHAR, model VARCHAR) | SELECT years FROM table_name_97 WHERE model = "250" | What are the years for the 250 model? | <s>[INST]What are the years for the 250 model? Context: CREATE TABLE table_name_97 (years VARCHAR, model VARCHAR)[/INST]SELECT years FROM table_name_97 WHERE model = "250"</s> |
CREATE TABLE table_18602462_22 (round_of_32 VARCHAR, round_of_16 VARCHAR) | SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = "Polidori ( ITA ) W 6-1, 3-6, 6-3" | How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16? | <s>[INST]How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16? Context: CREATE TABLE table_18602462_22 (round_of_32 VARCHAR, round_of_16 VARCHAR)[/INST]SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = "Polidori ( ITA ) W 6-1, 3-6, 6-3"</s> |
CREATE TABLE HOTELS (price_range VARCHAR) | SELECT price_range FROM HOTELS | What are the price ranges of hotels? | <s>[INST]What are the price ranges of hotels? Context: CREATE TABLE HOTELS (price_range VARCHAR)[/INST]SELECT price_range FROM HOTELS</s> |
CREATE TABLE table_name_75 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_75 WHERE score = "8-1" | What is the result when the score is 8-1? | <s>[INST]What is the result when the score is 8-1? Context: CREATE TABLE table_name_75 (result VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_75 WHERE score = "8-1"</s> |
CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR) | SELECT COUNT(distance) FROM table_2923917_4 WHERE brisbane = "$3.80" | How many distance places have brisbane at $3.80? | <s>[INST]How many distance places have brisbane at $3.80? Context: CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)[/INST]SELECT COUNT(distance) FROM table_2923917_4 WHERE brisbane = "$3.80"</s> |
CREATE TABLE table_name_99 (country VARCHAR) | SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = "russia" AND 2012 < 4 | What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012? | <s>[INST]What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012? Context: CREATE TABLE table_name_99 (country VARCHAR)[/INST]SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = "russia" AND 2012 < 4</s> |
CREATE TABLE station (city VARCHAR, lat INTEGER) | SELECT city, MAX(lat) FROM station GROUP BY city | For each city, return the highest latitude among its stations. | <s>[INST]For each city, return the highest latitude among its stations. Context: CREATE TABLE station (city VARCHAR, lat INTEGER)[/INST]SELECT city, MAX(lat) FROM station GROUP BY city</s> |
CREATE TABLE table_name_53 (total_area VARCHAR, code VARCHAR, density__per_km_2_land_ VARCHAR) | SELECT total_area FROM table_name_53 WHERE code < 1862 AND density__per_km_2_land_ = 21.6 | What is the total area for a code less than 1862 and a density (per km 2 land) of 21.6? | <s>[INST]What is the total area for a code less than 1862 and a density (per km 2 land) of 21.6? Context: CREATE TABLE table_name_53 (total_area VARCHAR, code VARCHAR, density__per_km_2_land_ VARCHAR)[/INST]SELECT total_area FROM table_name_53 WHERE code < 1862 AND density__per_km_2_land_ = 21.6</s> |
CREATE TABLE table_20967430_4 (prod_code VARCHAR, written_by VARCHAR) | SELECT prod_code FROM table_20967430_4 WHERE written_by = "Jack Carrerrow" | What is the production code of the episode written by Jack Carrerrow? | <s>[INST]What is the production code of the episode written by Jack Carrerrow? Context: CREATE TABLE table_20967430_4 (prod_code VARCHAR, written_by VARCHAR)[/INST]SELECT prod_code FROM table_20967430_4 WHERE written_by = "Jack Carrerrow"</s> |
CREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR) | SELECT class FROM table_name_9 WHERE weight = 242 | What is the class of the player with a weight of 242 pounds? | <s>[INST]What is the class of the player with a weight of 242 pounds? Context: CREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR)[/INST]SELECT class FROM table_name_9 WHERE weight = 242</s> |
CREATE TABLE table_name_88 (date VARCHAR, round__leg_ VARCHAR) | SELECT date FROM table_name_88 WHERE round__leg_ = "3" | What date has 3 as the round (leg)? | <s>[INST]What date has 3 as the round (leg)? Context: CREATE TABLE table_name_88 (date VARCHAR, round__leg_ VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE round__leg_ = "3"</s> |
CREATE TABLE table_17323042_11 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_17323042_11 WHERE high_points = "Andre Miller (17)" | What was the score and game outcome when High Points was andre miller (17)? | <s>[INST]What was the score and game outcome when High Points was andre miller (17)? Context: CREATE TABLE table_17323042_11 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_17323042_11 WHERE high_points = "Andre Miller (17)"</s> |
CREATE TABLE table_17641206_2 (written_by VARCHAR, viewership VARCHAR) | SELECT COUNT(written_by) FROM table_17641206_2 WHERE viewership = "6.34 million" | How many people wrote the episode that had 6.34 million viewers? | <s>[INST]How many people wrote the episode that had 6.34 million viewers? Context: CREATE TABLE table_17641206_2 (written_by VARCHAR, viewership VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_17641206_2 WHERE viewership = "6.34 million"</s> |
CREATE TABLE table_name_58 (against INTEGER, position VARCHAR, team VARCHAR) | SELECT AVG(against) FROM table_name_58 WHERE position < 5 AND team = "corinthians" | When the corinthians have a position of less than 5, what is the average against? | <s>[INST]When the corinthians have a position of less than 5, what is the average against? Context: CREATE TABLE table_name_58 (against INTEGER, position VARCHAR, team VARCHAR)[/INST]SELECT AVG(against) FROM table_name_58 WHERE position < 5 AND team = "corinthians"</s> |
CREATE TABLE table_1998037_9 (television_commentator VARCHAR, year_s_ VARCHAR) | SELECT television_commentator FROM table_1998037_9 WHERE year_s_ = 2006 | Who is the television commentator for the year 2006? | <s>[INST]Who is the television commentator for the year 2006? Context: CREATE TABLE table_1998037_9 (television_commentator VARCHAR, year_s_ VARCHAR)[/INST]SELECT television_commentator FROM table_1998037_9 WHERE year_s_ = 2006</s> |
CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_16 WHERE score = "2-8" | Who is the Opponent when the Score is 2-8? | <s>[INST]Who is the Opponent when the Score is 2-8? Context: CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_16 WHERE score = "2-8"</s> |
CREATE TABLE table_name_85 (year VARCHAR, result VARCHAR) | SELECT year FROM table_name_85 WHERE result = "7th" | What year did anna thompson have a 7th place result? | <s>[INST]What year did anna thompson have a 7th place result? Context: CREATE TABLE table_name_85 (year VARCHAR, result VARCHAR)[/INST]SELECT year FROM table_name_85 WHERE result = "7th"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.