context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_46 (year VARCHAR, b_side VARCHAR) | SELECT year FROM table_name_46 WHERE b_side = "just squeeze me" | What year did the B-Side of Just Squeeze Me come out? | <s>[INST]What year did the B-Side of Just Squeeze Me come out? Context: CREATE TABLE table_name_46 (year VARCHAR, b_side VARCHAR)[/INST]SELECT year FROM table_name_46 WHERE b_side = "just squeeze me"</s> |
CREATE TABLE table_28985631_1 (defective_year VARCHAR, numbered_month VARCHAR) | SELECT defective_year FROM table_28985631_1 WHERE numbered_month = "Eighth" | What is the defective year for the eighth numbered month? | <s>[INST]What is the defective year for the eighth numbered month? Context: CREATE TABLE table_28985631_1 (defective_year VARCHAR, numbered_month VARCHAR)[/INST]SELECT defective_year FROM table_28985631_1 WHERE numbered_month = "Eighth"</s> |
CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_17 WHERE away_team = "wrexham" | What was the date of the game for the Wrexham away team? | <s>[INST]What was the date of the game for the Wrexham away team? Context: CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE away_team = "wrexham"</s> |
CREATE TABLE table_name_81 (links VARCHAR, flight_day VARCHAR) | SELECT links FROM table_name_81 WHERE flight_day = "day 16" | What links were used on flight day 16? | <s>[INST]What links were used on flight day 16? Context: CREATE TABLE table_name_81 (links VARCHAR, flight_day VARCHAR)[/INST]SELECT links FROM table_name_81 WHERE flight_day = "day 16"</s> |
CREATE TABLE table_name_98 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_98 WHERE date = "may 25, 2007" | What is the opponent on May 25, 2007? | <s>[INST]What is the opponent on May 25, 2007? Context: CREATE TABLE table_name_98 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_98 WHERE date = "may 25, 2007"</s> |
CREATE TABLE table_name_42 (date VARCHAR, opponent_number VARCHAR) | SELECT date FROM table_name_42 WHERE opponent_number = "iowa" | what is the date when the opponent# is iowa? | <s>[INST]what is the date when the opponent# is iowa? Context: CREATE TABLE table_name_42 (date VARCHAR, opponent_number VARCHAR)[/INST]SELECT date FROM table_name_42 WHERE opponent_number = "iowa"</s> |
CREATE TABLE table_27887723_1 (location VARCHAR, team VARCHAR) | SELECT location FROM table_27887723_1 WHERE team = "Trek-Livestrong" | what location has team trek-livestrong? | <s>[INST]what location has team trek-livestrong? Context: CREATE TABLE table_27887723_1 (location VARCHAR, team VARCHAR)[/INST]SELECT location FROM table_27887723_1 WHERE team = "Trek-Livestrong"</s> |
CREATE TABLE table_name_89 (year INTEGER, position VARCHAR, player VARCHAR) | SELECT MIN(year) FROM table_name_89 WHERE position = "c" AND player = "gary bergen" | What is the earliest year of c position player gary bergen? | <s>[INST]What is the earliest year of c position player gary bergen? Context: CREATE TABLE table_name_89 (year INTEGER, position VARCHAR, player VARCHAR)[/INST]SELECT MIN(year) FROM table_name_89 WHERE position = "c" AND player = "gary bergen"</s> |
CREATE TABLE table_name_5 (theatre VARCHAR, author VARCHAR, year VARCHAR) | SELECT theatre FROM table_name_5 WHERE author = "stanisław wyspiański" AND year = 1969 | Author of stanisław wyspiański, and a Year of 1969 happened in what theatre? | <s>[INST]Author of stanisław wyspiański, and a Year of 1969 happened in what theatre? Context: CREATE TABLE table_name_5 (theatre VARCHAR, author VARCHAR, year VARCHAR)[/INST]SELECT theatre FROM table_name_5 WHERE author = "stanisław wyspiański" AND year = 1969</s> |
CREATE TABLE table_name_64 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_64 WHERE opponent = "los angeles rams" | Which venue hosted the Los Angeles Rams as an opponent? | <s>[INST]Which venue hosted the Los Angeles Rams as an opponent? Context: CREATE TABLE table_name_64 (venue VARCHAR, opponent VARCHAR)[/INST]SELECT venue FROM table_name_64 WHERE opponent = "los angeles rams"</s> |
CREATE TABLE table_name_39 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_39 WHERE date = "june 9, 1976" | Which City has a Date of june 9, 1976? | <s>[INST]Which City has a Date of june 9, 1976? Context: CREATE TABLE table_name_39 (city VARCHAR, date VARCHAR)[/INST]SELECT city FROM table_name_39 WHERE date = "june 9, 1976"</s> |
CREATE TABLE table_name_16 (laps INTEGER, time VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_16 WHERE time = "+17.485" AND grid < 7 | Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7? | <s>[INST]Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7? Context: CREATE TABLE table_name_16 (laps INTEGER, time VARCHAR, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_16 WHERE time = "+17.485" AND grid < 7</s> |
CREATE TABLE table_name_46 (opponent VARCHAR, surface VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_46 WHERE surface = "hard" AND date = "28 august 1993" | Which Opponent has a Surface of hard on 28 august 1993? | <s>[INST]Which Opponent has a Surface of hard on 28 august 1993? Context: CREATE TABLE table_name_46 (opponent VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_46 WHERE surface = "hard" AND date = "28 august 1993"</s> |
CREATE TABLE table_name_29 (laps INTEGER, qual VARCHAR) | SELECT SUM(laps) FROM table_name_29 WHERE qual = "122.951" | How many laps did Duke Nelson complete when his qualifying time was 122.951? | <s>[INST]How many laps did Duke Nelson complete when his qualifying time was 122.951? Context: CREATE TABLE table_name_29 (laps INTEGER, qual VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_29 WHERE qual = "122.951"</s> |
CREATE TABLE table_name_90 (top_5 INTEGER, wins INTEGER) | SELECT MIN(top_5) FROM table_name_90 WHERE wins > 1 | What is the fewest number of top-5s for events with more than 1 win? | <s>[INST]What is the fewest number of top-5s for events with more than 1 win? Context: CREATE TABLE table_name_90 (top_5 INTEGER, wins INTEGER)[/INST]SELECT MIN(top_5) FROM table_name_90 WHERE wins > 1</s> |
CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR) | SELECT COUNT(population_density__per_km²_) FROM table_189598_7 WHERE name = "Buffalo Narrows" | When buffalo narrows is the name how many measurements of population density per kilometer squared are there? | <s>[INST]When buffalo narrows is the name how many measurements of population density per kilometer squared are there? Context: CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR)[/INST]SELECT COUNT(population_density__per_km²_) FROM table_189598_7 WHERE name = "Buffalo Narrows"</s> |
CREATE TABLE table_name_4 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_4 WHERE record = "71-33" | Name the loss with record of 71-33 | <s>[INST]Name the loss with record of 71-33 Context: CREATE TABLE table_name_4 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_4 WHERE record = "71-33"</s> |
CREATE TABLE table_name_81 (australian VARCHAR, short_vowels VARCHAR) | SELECT australian FROM table_name_81 WHERE short_vowels = "e /ɛ/" | What Australian sound is equivalent to e /ɛ/? | <s>[INST]What Australian sound is equivalent to e /ɛ/? Context: CREATE TABLE table_name_81 (australian VARCHAR, short_vowels VARCHAR)[/INST]SELECT australian FROM table_name_81 WHERE short_vowels = "e /ɛ/"</s> |
CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR) | SELECT rank FROM table_24431264_18 WHERE withdrew_due_to = "right wrist surgery" | List the rank of the player that left due to right wrist surgery? | <s>[INST]List the rank of the player that left due to right wrist surgery? Context: CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR)[/INST]SELECT rank FROM table_24431264_18 WHERE withdrew_due_to = "right wrist surgery"</s> |
CREATE TABLE table_29612224_1 (institution VARCHAR, school_website VARCHAR) | SELECT institution FROM table_29612224_1 WHERE school_website = "http://www.mfschools.org/high/" | What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website? | <s>[INST]What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website? Context: CREATE TABLE table_29612224_1 (institution VARCHAR, school_website VARCHAR)[/INST]SELECT institution FROM table_29612224_1 WHERE school_website = "http://www.mfschools.org/high/"</s> |
CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_21 WHERE date = "march 19" | What is the Score of the game on March 19? | <s>[INST]What is the Score of the game on March 19? Context: CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_21 WHERE date = "march 19"</s> |
CREATE TABLE table_2889810_2 (Id VARCHAR) | SELECT MIN(350 AS cc) FROM table_2889810_2 | how many minimum 350cc has | <s>[INST]how many minimum 350cc has Context: CREATE TABLE table_2889810_2 (Id VARCHAR)[/INST]SELECT MIN(350 AS cc) FROM table_2889810_2</s> |
CREATE TABLE table_name_16 (no_7 VARCHAR, no_5 VARCHAR, no_2 VARCHAR) | SELECT no_7 FROM table_name_16 WHERE no_5 = "olivia" AND no_2 = "emma" | Who was number 7 when Olivia was number 5 and Emma was number 2? | <s>[INST]Who was number 7 when Olivia was number 5 and Emma was number 2? Context: CREATE TABLE table_name_16 (no_7 VARCHAR, no_5 VARCHAR, no_2 VARCHAR)[/INST]SELECT no_7 FROM table_name_16 WHERE no_5 = "olivia" AND no_2 = "emma"</s> |
CREATE TABLE table_name_37 (venue VARCHAR, competition VARCHAR, date VARCHAR) | SELECT venue FROM table_name_37 WHERE competition = "friendly" AND date = "26 may 1999" | what is the venue when the competition is friendly on 26 may 1999? | <s>[INST]what is the venue when the competition is friendly on 26 may 1999? Context: CREATE TABLE table_name_37 (venue VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_37 WHERE competition = "friendly" AND date = "26 may 1999"</s> |
CREATE TABLE table_name_64 (round INTEGER, pick__number VARCHAR, position VARCHAR) | SELECT AVG(round) FROM table_name_64 WHERE pick__number < 236 AND position = "offensive guard" | what is the round when the pick # is less than 236 and the position is offensive guard? | <s>[INST]what is the round when the pick # is less than 236 and the position is offensive guard? Context: CREATE TABLE table_name_64 (round INTEGER, pick__number VARCHAR, position VARCHAR)[/INST]SELECT AVG(round) FROM table_name_64 WHERE pick__number < 236 AND position = "offensive guard"</s> |
CREATE TABLE table_name_81 (winner VARCHAR, runner_up VARCHAR) | SELECT winner FROM table_name_81 WHERE runner_up = "mark fuller" | Who is the winner when mark fuller was the runner-up? | <s>[INST]Who is the winner when mark fuller was the runner-up? Context: CREATE TABLE table_name_81 (winner VARCHAR, runner_up VARCHAR)[/INST]SELECT winner FROM table_name_81 WHERE runner_up = "mark fuller"</s> |
CREATE TABLE table_27927185_1 (viewers__millions_ VARCHAR, episode__number INTEGER) | SELECT viewers__millions_ FROM table_27927185_1 WHERE episode__number < 2.0 | How many million viewers watched episodes prior to episode 2.0? | <s>[INST]How many million viewers watched episodes prior to episode 2.0? Context: CREATE TABLE table_27927185_1 (viewers__millions_ VARCHAR, episode__number INTEGER)[/INST]SELECT viewers__millions_ FROM table_27927185_1 WHERE episode__number < 2.0</s> |
CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT AVG(rank) FROM table_name_6 WHERE bronze = 1 AND silver > 1 AND nation = "finland" AND gold < 0 | What is the average rank Finland, which has 1 bronze, more than 1 silver, and less than 0 gold, has? | <s>[INST]What is the average rank Finland, which has 1 bronze, more than 1 silver, and less than 0 gold, has? Context: CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_6 WHERE bronze = 1 AND silver > 1 AND nation = "finland" AN... |
CREATE TABLE table_name_33 (tournament VARCHAR, partner VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_33 WHERE partner = "nicole thijssen" AND opponent_in_the_final = "nina bratchikova & frederica piedade" | What Tournament did Silva Partner with Nicole Thijssen with Opponent in the final Nina Bratchikova & Frederica Piedade? | <s>[INST]What Tournament did Silva Partner with Nicole Thijssen with Opponent in the final Nina Bratchikova & Frederica Piedade? Context: CREATE TABLE table_name_33 (tournament VARCHAR, partner VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_33 WHERE partner = "nicole thijssen" AND oppon... |
CREATE TABLE table_name_42 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_42 WHERE pick = 74 | Which Position has a Pick of 74? | <s>[INST]Which Position has a Pick of 74? Context: CREATE TABLE table_name_42 (position VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_42 WHERE pick = 74</s> |
CREATE TABLE table_15717093_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT written_by FROM table_15717093_1 WHERE us_viewers__millions_ = "15.85" | Who was the writer when there were 15.85 million US viewers? | <s>[INST]Who was the writer when there were 15.85 million US viewers? Context: CREATE TABLE table_15717093_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT written_by FROM table_15717093_1 WHERE us_viewers__millions_ = "15.85"</s> |
CREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR) | SELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank = "27" | How many July 1, 2013 projections have a Rank of 27? | <s>[INST]How many July 1, 2013 projections have a Rank of 27? Context: CREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank = "27"</s> |
CREATE TABLE table_24565004_7 (name VARCHAR, appearances¹ VARCHAR) | SELECT name FROM table_24565004_7 WHERE appearances¹ = 252 | Which player had 252 appearances | <s>[INST]Which player had 252 appearances Context: CREATE TABLE table_24565004_7 (name VARCHAR, appearances¹ VARCHAR)[/INST]SELECT name FROM table_24565004_7 WHERE appearances¹ = 252</s> |
CREATE TABLE table_name_51 (winning_amount VARCHAR, contestant_name VARCHAR) | SELECT winning_amount FROM table_name_51 WHERE contestant_name = "himesh reshammiya" | What winning amount has himesh reshammiya as the contestant name? | <s>[INST]What winning amount has himesh reshammiya as the contestant name? Context: CREATE TABLE table_name_51 (winning_amount VARCHAR, contestant_name VARCHAR)[/INST]SELECT winning_amount FROM table_name_51 WHERE contestant_name = "himesh reshammiya"</s> |
CREATE TABLE table_2538117_12 (letters VARCHAR, founding_date VARCHAR) | SELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = "1997-12-12" | How many letters were given to the organization with a founding date of 1997-12-12? | <s>[INST]How many letters were given to the organization with a founding date of 1997-12-12? Context: CREATE TABLE table_2538117_12 (letters VARCHAR, founding_date VARCHAR)[/INST]SELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = "1997-12-12"</s> |
CREATE TABLE WINE (Name VARCHAR, YEAR VARCHAR) | SELECT Name FROM WINE WHERE YEAR = "2008" | Find the names of all wines produced in 2008. | <s>[INST]Find the names of all wines produced in 2008. Context: CREATE TABLE WINE (Name VARCHAR, YEAR VARCHAR)[/INST]SELECT Name FROM WINE WHERE YEAR = "2008"</s> |
CREATE TABLE table_name_91 (winner_or_2nd VARCHAR, result VARCHAR, weight VARCHAR) | SELECT winner_or_2nd FROM table_name_91 WHERE result = "–" AND weight = 6.7 | What was the name of the winner or 2nd when the result was –, and weight was 6.7? | <s>[INST]What was the name of the winner or 2nd when the result was –, and weight was 6.7? Context: CREATE TABLE table_name_91 (winner_or_2nd VARCHAR, result VARCHAR, weight VARCHAR)[/INST]SELECT winner_or_2nd FROM table_name_91 WHERE result = "–" AND weight = 6.7</s> |
CREATE TABLE table_name_47 (result VARCHAR, week VARCHAR, game_site VARCHAR) | SELECT result FROM table_name_47 WHERE week < 6 AND game_site = "bye" | What was the result of the week that was a bye before week 6? | <s>[INST]What was the result of the week that was a bye before week 6? Context: CREATE TABLE table_name_47 (result VARCHAR, week VARCHAR, game_site VARCHAR)[/INST]SELECT result FROM table_name_47 WHERE week < 6 AND game_site = "bye"</s> |
CREATE TABLE table_18950885_3 (used__kb_ INTEGER, graphics_mode VARCHAR) | SELECT MIN(used__kb_) FROM table_18950885_3 WHERE graphics_mode = 4 | What is the used (kb) when the graphics mode is 4? | <s>[INST]What is the used (kb) when the graphics mode is 4? Context: CREATE TABLE table_18950885_3 (used__kb_ INTEGER, graphics_mode VARCHAR)[/INST]SELECT MIN(used__kb_) FROM table_18950885_3 WHERE graphics_mode = 4</s> |
CREATE TABLE table_name_71 (october VARCHAR, july VARCHAR) | SELECT october FROM table_name_71 WHERE july = "kimberley stanfield" | Name the october for july of kimberley stanfield | <s>[INST]Name the october for july of kimberley stanfield Context: CREATE TABLE table_name_71 (october VARCHAR, july VARCHAR)[/INST]SELECT october FROM table_name_71 WHERE july = "kimberley stanfield"</s> |
CREATE TABLE table_name_24 (Id VARCHAR) | SELECT 2003 FROM table_name_24 WHERE 2012 = "1–4" | Which 2003 has a 2012 of 1–4? | <s>[INST]Which 2003 has a 2012 of 1–4? Context: CREATE TABLE table_name_24 (Id VARCHAR)[/INST]SELECT 2003 FROM table_name_24 WHERE 2012 = "1–4"</s> |
CREATE TABLE table_name_70 (team VARCHAR, date VARCHAR) | SELECT team FROM table_name_70 WHERE date = "february 1" | Who was the opposing team for the February 1 game? | <s>[INST]Who was the opposing team for the February 1 game? Context: CREATE TABLE table_name_70 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_name_70 WHERE date = "february 1"</s> |
CREATE TABLE table_16768245_2 (namesake VARCHAR, longitude VARCHAR) | SELECT namesake FROM table_16768245_2 WHERE longitude = "147.1W" | When the longitude is 147.1w what is the namesake of the feature? | <s>[INST]When the longitude is 147.1w what is the namesake of the feature? Context: CREATE TABLE table_16768245_2 (namesake VARCHAR, longitude VARCHAR)[/INST]SELECT namesake FROM table_16768245_2 WHERE longitude = "147.1W"</s> |
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR, policy_id VARCHAR) | SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = (SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id G... | What are all the policy types of the customer that has the most policies listed? | <s>[INST]What are all the policy types of the customer that has the most policies listed? Context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR, policy_id VARCHAR)[... |
CREATE TABLE Paragraphs (paragraph_text VARCHAR, document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR) | SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Customer reviews" | Show all paragraph texts for the document "Customer reviews". | <s>[INST]Show all paragraph texts for the document "Customer reviews". Context: CREATE TABLE Paragraphs (paragraph_text VARCHAR, document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)[/INST]SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.docu... |
CREATE TABLE table_name_25 (year_s__won VARCHAR, finish VARCHAR) | SELECT year_s__won FROM table_name_25 WHERE finish = "68" | Which year was won with a finish of 68 | <s>[INST]Which year was won with a finish of 68 Context: CREATE TABLE table_name_25 (year_s__won VARCHAR, finish VARCHAR)[/INST]SELECT year_s__won FROM table_name_25 WHERE finish = "68"</s> |
CREATE TABLE manufacturers (revenue INTEGER) | SELECT AVG(revenue), MAX(revenue), SUM(revenue) FROM manufacturers | What are the average, maximum and total revenues of all companies? | <s>[INST]What are the average, maximum and total revenues of all companies? Context: CREATE TABLE manufacturers (revenue INTEGER)[/INST]SELECT AVG(revenue), MAX(revenue), SUM(revenue) FROM manufacturers</s> |
CREATE TABLE table_28348757_6 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_28348757_6 WHERE production_code = "XLE05012" | Who wrote the episode with the code xle05012? | <s>[INST]Who wrote the episode with the code xle05012? Context: CREATE TABLE table_28348757_6 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_28348757_6 WHERE production_code = "XLE05012"</s> |
CREATE TABLE table_name_62 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT winning_driver FROM table_name_62 WHERE winning_team = "mathiasen motorsports" AND pole_position = "dane cameron" | Who drove for Mathiasen Motorsports with dane cameron as pole position? | <s>[INST]Who drove for Mathiasen Motorsports with dane cameron as pole position? Context: CREATE TABLE table_name_62 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR)[/INST]SELECT winning_driver FROM table_name_62 WHERE winning_team = "mathiasen motorsports" AND pole_position = "dane cameron"</s> |
CREATE TABLE table_name_39 (points_1 INTEGER, goal_difference VARCHAR, lost VARCHAR) | SELECT MAX(points_1) FROM table_name_39 WHERE goal_difference = "+28" AND lost > 12 | What is the most points 1 when the goal difference is +28 and lost is larger than 12? | <s>[INST]What is the most points 1 when the goal difference is +28 and lost is larger than 12? Context: CREATE TABLE table_name_39 (points_1 INTEGER, goal_difference VARCHAR, lost VARCHAR)[/INST]SELECT MAX(points_1) FROM table_name_39 WHERE goal_difference = "+28" AND lost > 12</s> |
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR) | SELECT syrian_christians FROM table_23214055_2 WHERE district = "Kollam" | Name the syrian christians for kollam | <s>[INST]Name the syrian christians for kollam Context: CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)[/INST]SELECT syrian_christians FROM table_23214055_2 WHERE district = "Kollam"</s> |
CREATE TABLE table_25818630_2 (loss_gain VARCHAR, votes__cast VARCHAR) | SELECT loss_gain FROM table_25818630_2 WHERE votes__cast = 166 | What was the loss/gain when the votes -cast was 166? | <s>[INST]What was the loss/gain when the votes -cast was 166? Context: CREATE TABLE table_25818630_2 (loss_gain VARCHAR, votes__cast VARCHAR)[/INST]SELECT loss_gain FROM table_25818630_2 WHERE votes__cast = 166</s> |
CREATE TABLE table_name_26 (constructor VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT constructor FROM table_name_26 WHERE fastest_lap = "juan manuel fangio" AND winning_driver = "giuseppe farina" | What is the constructor of the race with Juan Manuel Fangio as the fastest lap and Giuseppe Farina as the winning driver? | <s>[INST]What is the constructor of the race with Juan Manuel Fangio as the fastest lap and Giuseppe Farina as the winning driver? Context: CREATE TABLE table_name_26 (constructor VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)[/INST]SELECT constructor FROM table_name_26 WHERE fastest_lap = "juan manuel fangio" A... |
CREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_97 WHERE opponent = "george khrikadze" | What date did the opponent George Khrikadze play? | <s>[INST]What date did the opponent George Khrikadze play? Context: CREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE opponent = "george khrikadze"</s> |
CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_68 WHERE place = "t5" AND player = "mark mccumber" | WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER? | <s>[INST]WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER? Context: CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_68 WHERE place = "t5" AND player = "mark mccumber"</s> |
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_76 WHERE away_team = "footscray" | Where did Footscray play as the away team? | <s>[INST]Where did Footscray play as the away team? Context: CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_76 WHERE away_team = "footscray"</s> |
CREATE TABLE table_25401_2 (romanian VARCHAR, nuorese_sardinian VARCHAR) | SELECT romanian FROM table_25401_2 WHERE nuorese_sardinian = "[ˈkantaza]" | what is romanian when nuorese sardinian is [ˈkantaza]? | <s>[INST]what is romanian when nuorese sardinian is [ˈkantaza]? Context: CREATE TABLE table_25401_2 (romanian VARCHAR, nuorese_sardinian VARCHAR)[/INST]SELECT romanian FROM table_25401_2 WHERE nuorese_sardinian = "[ˈkantaza]"</s> |
CREATE TABLE table_1341472_49 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_1341472_49 WHERE district = "Washington 7" | how many party with district being washington 7 | <s>[INST] how many party with district being washington 7 Context: CREATE TABLE table_1341472_49 (party VARCHAR, district VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341472_49 WHERE district = "Washington 7"</s> |
CREATE TABLE table_name_88 (date_³ VARCHAR, korean_name_² VARCHAR) | SELECT date_³ FROM table_name_88 WHERE korean_name_² = "청명 (清明) cheongmyeong" | When has a Korean name ² of 청명 (清明) cheongmyeong? | <s>[INST]When has a Korean name ² of 청명 (清明) cheongmyeong? Context: CREATE TABLE table_name_88 (date_³ VARCHAR, korean_name_² VARCHAR)[/INST]SELECT date_³ FROM table_name_88 WHERE korean_name_² = "청명 (清明) cheongmyeong"</s> |
CREATE TABLE Templates (Id VARCHAR) | SELECT COUNT(*) FROM Templates | How many templates do we have? | <s>[INST]How many templates do we have? Context: CREATE TABLE Templates (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Templates</s> |
CREATE TABLE table_name_42 (penalty VARCHAR, team VARCHAR, player VARCHAR) | SELECT penalty FROM table_name_42 WHERE team = "det" AND player = "andreas lilja" | What is the penalty for the DET team player Andreas Lilja? | <s>[INST]What is the penalty for the DET team player Andreas Lilja? Context: CREATE TABLE table_name_42 (penalty VARCHAR, team VARCHAR, player VARCHAR)[/INST]SELECT penalty FROM table_name_42 WHERE team = "det" AND player = "andreas lilja"</s> |
CREATE TABLE table_name_63 (win_percentage INTEGER, games_behind VARCHAR, wins VARCHAR) | SELECT MIN(win_percentage) FROM table_name_63 WHERE games_behind = "6½" AND wins > 77 | What is the lowest percentage of wins for 6½ games and more than 77 total wins? | <s>[INST]What is the lowest percentage of wins for 6½ games and more than 77 total wins? Context: CREATE TABLE table_name_63 (win_percentage INTEGER, games_behind VARCHAR, wins VARCHAR)[/INST]SELECT MIN(win_percentage) FROM table_name_63 WHERE games_behind = "6½" AND wins > 77</s> |
CREATE TABLE table_name_50 (original_name VARCHAR, location VARCHAR) | SELECT original_name FROM table_name_50 WHERE location = "orillia, on" | What was the original name of the restaurant located in Orillia, ON? | <s>[INST]What was the original name of the restaurant located in Orillia, ON? Context: CREATE TABLE table_name_50 (original_name VARCHAR, location VARCHAR)[/INST]SELECT original_name FROM table_name_50 WHERE location = "orillia, on"</s> |
CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, decision VARCHAR) | SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3" | What was the score on December 3 when Detroit was the home team and Legace took the decision? | <s>[INST]What was the score on December 3 when Detroit was the home team and Legace took the decision? Context: CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, decision VARCHAR)[/INST]SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3"</s> |
CREATE TABLE table_name_98 (attendance INTEGER, visitor VARCHAR) | SELECT MIN(attendance) FROM table_name_98 WHERE visitor = "edmonton" | Name the least attendance with visitor of edmonton | <s>[INST]Name the least attendance with visitor of edmonton Context: CREATE TABLE table_name_98 (attendance INTEGER, visitor VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_98 WHERE visitor = "edmonton"</s> |
CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR) | SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States" | In the championship Miami , United States, what is the score in the final? | <s>[INST]In the championship Miami , United States, what is the score in the final? Context: CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR)[/INST]SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States"</s> |
CREATE TABLE table_name_92 (type VARCHAR, length_overall VARCHAR) | SELECT type FROM table_name_92 WHERE length_overall = "1.605 m" | What type has an overall length of 1.605 m? | <s>[INST]What type has an overall length of 1.605 m? Context: CREATE TABLE table_name_92 (type VARCHAR, length_overall VARCHAR)[/INST]SELECT type FROM table_name_92 WHERE length_overall = "1.605 m"</s> |
CREATE TABLE table_name_8 (losses INTEGER, efficiency__percentage VARCHAR, draws VARCHAR) | SELECT AVG(losses) FROM table_name_8 WHERE efficiency__percentage = "6.3%" AND draws < 1 | what is the number of losses with draws less than 1 and 6.3% efficiency? | <s>[INST]what is the number of losses with draws less than 1 and 6.3% efficiency? Context: CREATE TABLE table_name_8 (losses INTEGER, efficiency__percentage VARCHAR, draws VARCHAR)[/INST]SELECT AVG(losses) FROM table_name_8 WHERE efficiency__percentage = "6.3%" AND draws < 1</s> |
CREATE TABLE table_name_70 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_70 WHERE date = "14 may" | Which tournament included the round played on 14 May? | <s>[INST]Which tournament included the round played on 14 May? Context: CREATE TABLE table_name_70 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_70 WHERE date = "14 may"</s> |
CREATE TABLE table_21471897_2 (ranking VARCHAR, rr2_pts VARCHAR) | SELECT ranking FROM table_21471897_2 WHERE rr2_pts = 8 | Name the ranking for rr2 pts being 8 | <s>[INST]Name the ranking for rr2 pts being 8 Context: CREATE TABLE table_21471897_2 (ranking VARCHAR, rr2_pts VARCHAR)[/INST]SELECT ranking FROM table_21471897_2 WHERE rr2_pts = 8</s> |
CREATE TABLE table_name_94 (assists VARCHAR, name VARCHAR, games VARCHAR) | SELECT COUNT(assists) FROM table_name_94 WHERE name = "pablo prigioni" AND games > 21 | What is the total number of Assists, when Name is "Pablo Prigioni", and when Games is greater than 21? | <s>[INST]What is the total number of Assists, when Name is "Pablo Prigioni", and when Games is greater than 21? Context: CREATE TABLE table_name_94 (assists VARCHAR, name VARCHAR, games VARCHAR)[/INST]SELECT COUNT(assists) FROM table_name_94 WHERE name = "pablo prigioni" AND games > 21</s> |
CREATE TABLE table_1708610_3 (march_27_29 VARCHAR, november_3 VARCHAR) | SELECT march_27_29 FROM table_1708610_3 WHERE november_3 = "133" | Name the march 27-29 for november 3 being 133 | <s>[INST]Name the march 27-29 for november 3 being 133 Context: CREATE TABLE table_1708610_3 (march_27_29 VARCHAR, november_3 VARCHAR)[/INST]SELECT march_27_29 FROM table_1708610_3 WHERE november_3 = "133"</s> |
CREATE TABLE table_2562572_46 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR) | SELECT MAX(population__2011_) FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин" | What was the population in 2011 of the settlement with the cyrillic name of ватин? | <s>[INST]What was the population in 2011 of the settlement with the cyrillic name of ватин? Context: CREATE TABLE table_2562572_46 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR)[/INST]SELECT MAX(population__2011_) FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин"</s> |
CREATE TABLE table_name_45 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR) | SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi competizione" AND pos = "dnf" | Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF? | <s>[INST]Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF? Context: CREATE TABLE table_name_45 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR)[/INST]SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi com... |
CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_46 WHERE date = "february 27" | Which Location Attendance has a Date of february 27? | <s>[INST]Which Location Attendance has a Date of february 27? Context: CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_46 WHERE date = "february 27"</s> |
CREATE TABLE table_20854943_2 (sail_number VARCHAR, skipper VARCHAR) | SELECT COUNT(sail_number) FROM table_20854943_2 WHERE skipper = "Geoff Ross" | How many sail numbers for boat skippered by Geoff Ross? | <s>[INST]How many sail numbers for boat skippered by Geoff Ross? Context: CREATE TABLE table_20854943_2 (sail_number VARCHAR, skipper VARCHAR)[/INST]SELECT COUNT(sail_number) FROM table_20854943_2 WHERE skipper = "Geoff Ross"</s> |
CREATE TABLE table_name_3 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR) | SELECT MAX(flt_goals) FROM table_name_3 WHERE league_cup_goals = 0 AND position = "gk" AND league_cup_apps = "2" | What is the highest FLT goals with 0 league cup goals, a GK position, and 2 league cup apps? | <s>[INST]What is the highest FLT goals with 0 league cup goals, a GK position, and 2 league cup apps? Context: CREATE TABLE table_name_3 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR)[/INST]SELECT MAX(flt_goals) FROM table_name_3 WHERE league_cup_goals = 0 AND position = "gk" A... |
CREATE TABLE table_name_6 (total INTEGER, year_s__won VARCHAR) | SELECT AVG(total) FROM table_name_6 WHERE year_s__won = "1994 , 1997" | Year(s) won of 1994 , 1997 has what average total? | <s>[INST]Year(s) won of 1994 , 1997 has what average total? Context: CREATE TABLE table_name_6 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT AVG(total) FROM table_name_6 WHERE year_s__won = "1994 , 1997"</s> |
CREATE TABLE table_name_65 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_65 WHERE home_team = "footscray" | What did the home team footscray score? | <s>[INST]What did the home team footscray score? Context: CREATE TABLE table_name_65 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_65 WHERE home_team = "footscray"</s> |
CREATE TABLE Rooms (roomName VARCHAR, decor VARCHAR, basePrice VARCHAR, beds VARCHAR) | SELECT roomName FROM Rooms WHERE basePrice < 160 AND beds = 2 AND decor = 'modern' | Find the names of all modern rooms with a base price below $160 and two beds. | <s>[INST]Find the names of all modern rooms with a base price below $160 and two beds. Context: CREATE TABLE Rooms (roomName VARCHAR, decor VARCHAR, basePrice VARCHAR, beds VARCHAR)[/INST]SELECT roomName FROM Rooms WHERE basePrice < 160 AND beds = 2 AND decor = 'modern'</s> |
CREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_11 WHERE visitor = "knicks" AND attendance > 18 OFFSET 165 | What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance? | <s>[INST]What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance? Context: CREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_11 WHERE visitor = "knicks" AND attendance > 18 OFFSET 165</s> |
CREATE TABLE table_171236_1 (population VARCHAR, census_ranking VARCHAR) | SELECT population FROM table_171236_1 WHERE census_ranking = "231 of 5,008" | If the census ranking is 231 of 5,008, what was the population? | <s>[INST]If the census ranking is 231 of 5,008, what was the population? Context: CREATE TABLE table_171236_1 (population VARCHAR, census_ranking VARCHAR)[/INST]SELECT population FROM table_171236_1 WHERE census_ranking = "231 of 5,008"</s> |
CREATE TABLE table_name_46 (total INTEGER, bronze VARCHAR, nation VARCHAR) | SELECT MIN(total) FROM table_name_46 WHERE bronze = 1 AND nation = "czech republic (cze)" | What is the least total number of medals when the bronze medals is 1, and Czech Republic (CZE) is the nation? | <s>[INST]What is the least total number of medals when the bronze medals is 1, and Czech Republic (CZE) is the nation? Context: CREATE TABLE table_name_46 (total INTEGER, bronze VARCHAR, nation VARCHAR)[/INST]SELECT MIN(total) FROM table_name_46 WHERE bronze = 1 AND nation = "czech republic (cze)"</s> |
CREATE TABLE table_name_14 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_14 WHERE player = "mark hayes" | What is the score of player mark hayes? | <s>[INST]What is the score of player mark hayes? Context: CREATE TABLE table_name_14 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_14 WHERE player = "mark hayes"</s> |
CREATE TABLE table_name_86 (to_par VARCHAR, place VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_86 WHERE place = "t9" AND score = 72 - 67 = 139 | What is the to par of the player with a t9 place and a score of 72-67=139? | <s>[INST]What is the to par of the player with a t9 place and a score of 72-67=139? Context: CREATE TABLE table_name_86 (to_par VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_86 WHERE place = "t9" AND score = 72 - 67 = 139</s> |
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_76 WHERE date = "february 16" | what is the score on february 16? | <s>[INST]what is the score on february 16? Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE date = "february 16"</s> |
CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_98 WHERE home_team = "essendon" | What was the crowd size when Essendon was the home team? | <s>[INST]What was the crowd size when Essendon was the home team? Context: CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT crowd FROM table_name_98 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_80 (result VARCHAR, score VARCHAR, couple VARCHAR) | SELECT result FROM table_name_80 WHERE score = "21 (7, 7, 7)" AND couple = "steve & anna" | What was the result for Steve & Anna when the score was 21 (7, 7, 7)? | <s>[INST]What was the result for Steve & Anna when the score was 21 (7, 7, 7)? Context: CREATE TABLE table_name_80 (result VARCHAR, score VARCHAR, couple VARCHAR)[/INST]SELECT result FROM table_name_80 WHERE score = "21 (7, 7, 7)" AND couple = "steve & anna"</s> |
CREATE TABLE rooms (roomid VARCHAR, room VARCHAR); CREATE TABLE reservations (roomid VARCHAR, room VARCHAR) | SELECT COUNT(*) FROM rooms WHERE NOT roomid IN (SELECT DISTINCT room FROM reservations) | Find the number of rooms that do not have any reservation. | <s>[INST]Find the number of rooms that do not have any reservation. Context: CREATE TABLE rooms (roomid VARCHAR, room VARCHAR); CREATE TABLE reservations (roomid VARCHAR, room VARCHAR)[/INST]SELECT COUNT(*) FROM rooms WHERE NOT roomid IN (SELECT DISTINCT room FROM reservations)</s> |
CREATE TABLE table_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR) | SELECT social_democratic FROM table_1463383_1 WHERE left_bloc = "5.5%" | What percentages of social democratic correspond to a 5.5% left bloc? | <s>[INST]What percentages of social democratic correspond to a 5.5% left bloc? Context: CREATE TABLE table_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR)[/INST]SELECT social_democratic FROM table_1463383_1 WHERE left_bloc = "5.5%"</s> |
CREATE TABLE table_name_84 (college VARCHAR, round VARCHAR, position VARCHAR) | SELECT college FROM table_name_84 WHERE round > 6 AND position = "defensive end" | Which college has a defensive end with a round less than 6? | <s>[INST]Which college has a defensive end with a round less than 6? Context: CREATE TABLE table_name_84 (college VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_84 WHERE round > 6 AND position = "defensive end"</s> |
CREATE TABLE table_name_89 (rank INTEGER, taijiquan VARCHAR, total VARCHAR) | SELECT MIN(rank) FROM table_name_89 WHERE taijiquan > 9.42 AND total = 19.02 | What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total? | <s>[INST]What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total? Context: CREATE TABLE table_name_89 (rank INTEGER, taijiquan VARCHAR, total VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_89 WHERE taijiquan > 9.42 AND total = 19.02</s> |
CREATE TABLE table_name_54 (year INTEGER, venue VARCHAR) | SELECT MAX(year) FROM table_name_54 WHERE venue = "beijing, pr china" | What is the highest Year, when the Venue is Beijing, PR China? | <s>[INST]What is the highest Year, when the Venue is Beijing, PR China? Context: CREATE TABLE table_name_54 (year INTEGER, venue VARCHAR)[/INST]SELECT MAX(year) FROM table_name_54 WHERE venue = "beijing, pr china"</s> |
CREATE TABLE table_name_23 (number_of_languages INTEGER, frequency VARCHAR, publisher VARCHAR) | SELECT AVG(number_of_languages) FROM table_name_23 WHERE frequency = "monthly" AND publisher = "hearst corporation" | What is the mean number of languages for the monthly frequency when the publisher is the hearst corporation? | <s>[INST]What is the mean number of languages for the monthly frequency when the publisher is the hearst corporation? Context: CREATE TABLE table_name_23 (number_of_languages INTEGER, frequency VARCHAR, publisher VARCHAR)[/INST]SELECT AVG(number_of_languages) FROM table_name_23 WHERE frequency = "monthly" AND publisher... |
CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT college_junior_club_team FROM table_2781227_7 WHERE nhl_team = "Pittsburgh Penguins" | What college team did the pick for Pittsburgh Penguins come from? | <s>[INST]What college team did the pick for Pittsburgh Penguins come from? Context: CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2781227_7 WHERE nhl_team = "Pittsburgh Penguins"</s> |
CREATE TABLE table_25200461_9 (population INTEGER, registered_voters VARCHAR) | SELECT MIN(population) FROM table_25200461_9 WHERE registered_voters = "66.8%" | If the registered voters is 66.8%, what is the minimum population? | <s>[INST]If the registered voters is 66.8%, what is the minimum population? Context: CREATE TABLE table_25200461_9 (population INTEGER, registered_voters VARCHAR)[/INST]SELECT MIN(population) FROM table_25200461_9 WHERE registered_voters = "66.8%"</s> |
CREATE TABLE table_name_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR) | SELECT AVG(wins) FROM table_name_20 WHERE against > 1155 AND club = "warrnambool" AND draws > 0 | What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws? | <s>[INST]What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws? Context: CREATE TABLE table_name_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_20 WHERE against > 1155 AND club = "warrnambool" AND draws > 0</s> |
CREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Assessment_Notes (student_id VARCHAR) | SELECT T1.student_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1 | Find the id and first name of the student that has the most number of assessment notes? | <s>[INST]Find the id and first name of the student that has the most number of assessment notes? Context: CREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Assessment_Notes (student_id VARCHAR)[/INST]SELECT T1.student_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.stu... |
CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6 | Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold? | <s>[INST]Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold? Context: CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND... |
CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) | SELECT score FROM table_name_32 WHERE venue = "stade général seyni kountché, niamey" AND competition = "friendly" AND date = "9 october 2012" | what is the score when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012? | <s>[INST]what is the score when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012? Context: CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_32 WHERE venue = "stade général seyni ko... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.