context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_76 WHERE player = "raymond floyd" | Can you tell me the Score that has the Player of raymond floyd? | <s>[INST]Can you tell me the Score that has the Player of raymond floyd? Context: CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE player = "raymond floyd"</s> |
CREATE TABLE table_name_13 (males VARCHAR, females VARCHAR) | SELECT males FROM table_name_13 WHERE females = "62 331" | What was the number of males that had the number females 62 331? | <s>[INST]What was the number of males that had the number females 62 331? Context: CREATE TABLE table_name_13 (males VARCHAR, females VARCHAR)[/INST]SELECT males FROM table_name_13 WHERE females = "62 331"</s> |
CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR) | SELECT year FROM table_name_73 WHERE league = "malaysian super league" AND malaysia_cup = "group stage" | What year was the League the malaysian super league, and a Malaysia Cup of group stage? | <s>[INST]What year was the League the malaysian super league, and a Malaysia Cup of group stage? Context: CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR)[/INST]SELECT year FROM table_name_73 WHERE league = "malaysian super league" AND malaysia_cup = "group stage"</s> |
CREATE TABLE table_19753079_35 (party VARCHAR, district VARCHAR) | SELECT party FROM table_19753079_35 WHERE district = "New York 4" | Name the party for new york 4 | <s>[INST]Name the party for new york 4 Context: CREATE TABLE table_19753079_35 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_19753079_35 WHERE district = "New York 4"</s> |
CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_80 WHERE opponent = "pittsburgh steelers" | When did the Browns play the Pittsburgh Steelers? | <s>[INST]When did the Browns play the Pittsburgh Steelers? Context: CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_80 WHERE opponent = "pittsburgh steelers"</s> |
CREATE TABLE table_12570207_1 (total_region INTEGER, fitzroy VARCHAR) | SELECT MAX(total_region) FROM table_12570207_1 WHERE fitzroy = 8047 | what is the maximum total region with fitzroy being 8047 | <s>[INST]what is the maximum total region with fitzroy being 8047 Context: CREATE TABLE table_12570207_1 (total_region INTEGER, fitzroy VARCHAR)[/INST]SELECT MAX(total_region) FROM table_12570207_1 WHERE fitzroy = 8047</s> |
CREATE TABLE table_name_9 (vertical_drop__m_ INTEGER, length__m_ VARCHAR) | SELECT MAX(vertical_drop__m_) FROM table_name_9 WHERE length__m_ = 1 OFFSET 200 | What is the highest vertical drop among the 1,200 meter long tracks? | <s>[INST]What is the highest vertical drop among the 1,200 meter long tracks? Context: CREATE TABLE table_name_9 (vertical_drop__m_ INTEGER, length__m_ VARCHAR)[/INST]SELECT MAX(vertical_drop__m_) FROM table_name_9 WHERE length__m_ = 1 OFFSET 200</s> |
CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "6" | What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? | <s>[INST]What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? Context: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "6"</s> |
CREATE TABLE table_name_10 (result VARCHAR, week VARCHAR, date VARCHAR) | SELECT result FROM table_name_10 WHERE week > 11 AND date = "december 14, 1986" | What was the Result of the game on December 14, 1986 after Week 11? | <s>[INST]What was the Result of the game on December 14, 1986 after Week 11? Context: CREATE TABLE table_name_10 (result VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_10 WHERE week > 11 AND date = "december 14, 1986"</s> |
CREATE TABLE table_name_71 (year INTEGER, mixed_doubles VARCHAR) | SELECT AVG(year) FROM table_name_71 WHERE mixed_doubles = "nathan robertson gail emms" | What is the average year with Nathan Robertson Gail Emms in mixed doubles? | <s>[INST]What is the average year with Nathan Robertson Gail Emms in mixed doubles? Context: CREATE TABLE table_name_71 (year INTEGER, mixed_doubles VARCHAR)[/INST]SELECT AVG(year) FROM table_name_71 WHERE mixed_doubles = "nathan robertson gail emms"</s> |
CREATE TABLE table_name_68 (year INTEGER, nominated_work VARCHAR, event VARCHAR) | SELECT MAX(year) FROM table_name_68 WHERE nominated_work = "herself" AND event = "mtv movie awards" | What year was Herself nominated at the MTV Movie Awards? | <s>[INST]What year was Herself nominated at the MTV Movie Awards? Context: CREATE TABLE table_name_68 (year INTEGER, nominated_work VARCHAR, event VARCHAR)[/INST]SELECT MAX(year) FROM table_name_68 WHERE nominated_work = "herself" AND event = "mtv movie awards"</s> |
CREATE TABLE table_name_88 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT SUM(silver) FROM table_name_88 WHERE bronze = 7 AND total < 13 | For all countries with 7 bronze medals and a total number of medals less than 13, what's the sum of silver medals? | <s>[INST]For all countries with 7 bronze medals and a total number of medals less than 13, what's the sum of silver medals? Context: CREATE TABLE table_name_88 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_88 WHERE bronze = 7 AND total < 13</s> |
CREATE TABLE table_15467476_2 (points_for VARCHAR, lost VARCHAR) | SELECT COUNT(points_for) FROM table_15467476_2 WHERE lost = "4" | Name the points for where lost is 4 | <s>[INST]Name the points for where lost is 4 Context: CREATE TABLE table_15467476_2 (points_for VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(points_for) FROM table_15467476_2 WHERE lost = "4"</s> |
CREATE TABLE table_12175755_1 (theme VARCHAR, episode VARCHAR) | SELECT theme FROM table_12175755_1 WHERE episode = "Selection Process" | What is the theme for the episode selection process? | <s>[INST]What is the theme for the episode selection process? Context: CREATE TABLE table_12175755_1 (theme VARCHAR, episode VARCHAR)[/INST]SELECT theme FROM table_12175755_1 WHERE episode = "Selection Process"</s> |
CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR) | SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19 | what is the place when losses is less than 12 and points is less than 19? | <s>[INST]what is the place when losses is less than 12 and points is less than 19? Context: CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR)[/INST]SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19</s> |
CREATE TABLE table_name_33 (finish VARCHAR, car_number VARCHAR) | SELECT finish FROM table_name_33 WHERE car_number = "6" | What's the finish for car number 6? | <s>[INST]What's the finish for car number 6? Context: CREATE TABLE table_name_33 (finish VARCHAR, car_number VARCHAR)[/INST]SELECT finish FROM table_name_33 WHERE car_number = "6"</s> |
CREATE TABLE table_30134667_2 (fastest_lap VARCHAR, date VARCHAR) | SELECT fastest_lap FROM table_30134667_2 WHERE date = "September 4" | Who had the fastest lap on september 4? | <s>[INST]Who had the fastest lap on september 4? Context: CREATE TABLE table_30134667_2 (fastest_lap VARCHAR, date VARCHAR)[/INST]SELECT fastest_lap FROM table_30134667_2 WHERE date = "September 4"</s> |
CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR) | SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium" | Before 1957, what was the largest in Attendance at Varsity Stadium? | <s>[INST]Before 1957, what was the largest in Attendance at Varsity Stadium? Context: CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium"</s> |
CREATE TABLE table_name_17 (enrollment INTEGER, left VARCHAR, current_conference VARCHAR) | SELECT MIN(enrollment) FROM table_name_17 WHERE left = 2012 AND current_conference = "mid-south" | What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South? | <s>[INST]What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South? Context: CREATE TABLE table_name_17 (enrollment INTEGER, left VARCHAR, current_conference VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_name_17 WHERE left = 2012 AND current_conference = "mid-south"</s> |
CREATE TABLE table_name_79 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_79 WHERE opponent = "new orleans saints" | Who was the opponent of the New Orleans Saints? | <s>[INST]Who was the opponent of the New Orleans Saints? Context: CREATE TABLE table_name_79 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_79 WHERE opponent = "new orleans saints"</s> |
CREATE TABLE table_name_60 (win__percentage VARCHAR) | SELECT 2012 FROM table_name_60 WHERE win__percentage = "67%" | What is 2012 that has a winning % of 67%? | <s>[INST]What is 2012 that has a winning % of 67%? Context: CREATE TABLE table_name_60 (win__percentage VARCHAR)[/INST]SELECT 2012 FROM table_name_60 WHERE win__percentage = "67%"</s> |
CREATE TABLE table_12936521_2 (location VARCHAR, institution VARCHAR) | SELECT location FROM table_12936521_2 WHERE institution = "University at Albany" | Where is the University at Albany located? | <s>[INST]Where is the University at Albany located? Context: CREATE TABLE table_12936521_2 (location VARCHAR, institution VARCHAR)[/INST]SELECT location FROM table_12936521_2 WHERE institution = "University at Albany"</s> |
CREATE TABLE table_13403120_1 (prodcode VARCHAR, originalairdate VARCHAR) | SELECT COUNT(prodcode) FROM table_13403120_1 WHERE originalairdate = "01/12/1968" | what is the prod.code of the episode with original air date 01/12/1968? | <s>[INST]what is the prod.code of the episode with original air date 01/12/1968? Context: CREATE TABLE table_13403120_1 (prodcode VARCHAR, originalairdate VARCHAR)[/INST]SELECT COUNT(prodcode) FROM table_13403120_1 WHERE originalairdate = "01/12/1968"</s> |
CREATE TABLE table_name_75 (player VARCHAR, round INTEGER) | SELECT player FROM table_name_75 WHERE round < 2 | What is the name of the player picked before round 2? | <s>[INST]What is the name of the player picked before round 2? Context: CREATE TABLE table_name_75 (player VARCHAR, round INTEGER)[/INST]SELECT player FROM table_name_75 WHERE round < 2</s> |
CREATE TABLE table_name_43 (earpads VARCHAR, succeeded_by VARCHAR, construction VARCHAR, sensitivity__db_ VARCHAR) | SELECT earpads FROM table_name_43 WHERE construction = "plastic" AND sensitivity__db_ = "unknown" AND succeeded_by = "sr325" | What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325? | <s>[INST]What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325? Context: CREATE TABLE table_name_43 (earpads VARCHAR, succeeded_by VARCHAR, construction VARCHAR, sensitivity__db_ VARCHAR)[/INST]SELECT earpads FROM table_name_43 WHERE construction = "plasti... |
CREATE TABLE table_name_72 (number_of_sequences_number_of_sequences VARCHAR, name VARCHAR) | SELECT number_of_sequences_number_of_sequences AS :_ FROM table_name_72 WHERE name = "alifoldz" | What is the number of sequences for the name Alifoldz? | <s>[INST]What is the number of sequences for the name Alifoldz? Context: CREATE TABLE table_name_72 (number_of_sequences_number_of_sequences VARCHAR, name VARCHAR)[/INST]SELECT number_of_sequences_number_of_sequences AS :_ FROM table_name_72 WHERE name = "alifoldz"</s> |
CREATE TABLE table_13079788_3 (circuit VARCHAR, date VARCHAR, gt3_winner VARCHAR) | SELECT circuit FROM table_13079788_3 WHERE date = "9 September" AND gt3_winner = "Hector Lester Allan Simonsen" | what are all the circuit for 9 september and gt3 winner hector lester allan simonsen | <s>[INST]what are all the circuit for 9 september and gt3 winner hector lester allan simonsen Context: CREATE TABLE table_13079788_3 (circuit VARCHAR, date VARCHAR, gt3_winner VARCHAR)[/INST]SELECT circuit FROM table_13079788_3 WHERE date = "9 September" AND gt3_winner = "Hector Lester Allan Simonsen"</s> |
CREATE TABLE table_name_4 (location VARCHAR, days_held VARCHAR) | SELECT location FROM table_name_4 WHERE days_held = "111" | Which location has 111 as the days held? | <s>[INST]Which location has 111 as the days held? Context: CREATE TABLE table_name_4 (location VARCHAR, days_held VARCHAR)[/INST]SELECT location FROM table_name_4 WHERE days_held = "111"</s> |
CREATE TABLE table_name_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR) | SELECT city FROM table_name_78 WHERE rank < 3 AND carriers = "jetblue airways" | What city had a rank before 3 and primary carrier JetBlue Airways? | <s>[INST]What city had a rank before 3 and primary carrier JetBlue Airways? Context: CREATE TABLE table_name_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR)[/INST]SELECT city FROM table_name_78 WHERE rank < 3 AND carriers = "jetblue airways"</s> |
CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR) | SELECT player FROM table_name_75 WHERE pick = 10 | What player was drafted number 10? | <s>[INST]What player was drafted number 10? Context: CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_75 WHERE pick = 10</s> |
CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_25030512_4 WHERE incumbent = "Mike Rogers" | Name the district for mike rogers | <s>[INST]Name the district for mike rogers Context: CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_25030512_4 WHERE incumbent = "Mike Rogers"</s> |
CREATE TABLE table_1831309_1 (years_of_kindergarten VARCHAR, canton VARCHAR) | SELECT years_of_kindergarten AS provided FROM table_1831309_1 WHERE canton = "Ticino" | How many years of kindergarten is provided in Ticino? | <s>[INST]How many years of kindergarten is provided in Ticino? Context: CREATE TABLE table_1831309_1 (years_of_kindergarten VARCHAR, canton VARCHAR)[/INST]SELECT years_of_kindergarten AS provided FROM table_1831309_1 WHERE canton = "Ticino"</s> |
CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR) | SELECT COUNT(total_viewers) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "April 21, 2010" | How many total viewers have April 21, 2010 as the original airing on channel 4? | <s>[INST]How many total viewers have April 21, 2010 as the original airing on channel 4? Context: CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR)[/INST]SELECT COUNT(total_viewers) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "April 21, 2010"</s> |
CREATE TABLE table_name_82 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR) | SELECT venue FROM table_name_82 WHERE event = "4x400m relay" AND year > 2002 AND position = "4th" | Is there a Venus that's a year later than 2002, with an Event of 4x400m relay in 4th Position? | <s>[INST]Is there a Venus that's a year later than 2002, with an Event of 4x400m relay in 4th Position? Context: CREATE TABLE table_name_82 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)[/INST]SELECT venue FROM table_name_82 WHERE event = "4x400m relay" AND year > 2002 AND position = "4th"</s> |
CREATE TABLE table_1341453_40 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341453_40 WHERE incumbent = "Tim Holden" | Incumbent Tim Holden belonged to what party? | <s>[INST]Incumbent Tim Holden belonged to what party? Context: CREATE TABLE table_1341453_40 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341453_40 WHERE incumbent = "Tim Holden"</s> |
CREATE TABLE table_name_50 (winning_team VARCHAR, losing_team VARCHAR) | SELECT winning_team FROM table_name_50 WHERE losing_team = "south sydney rabbitohs" | What is the Winning Team, when Losing Team is South Sydney Rabbitohs? | <s>[INST]What is the Winning Team, when Losing Team is South Sydney Rabbitohs? Context: CREATE TABLE table_name_50 (winning_team VARCHAR, losing_team VARCHAR)[/INST]SELECT winning_team FROM table_name_50 WHERE losing_team = "south sydney rabbitohs"</s> |
CREATE TABLE table_name_22 (density__hab__km²__ VARCHAR, extension_km² VARCHAR) | SELECT density__hab__km²__ FROM table_name_22 WHERE extension_km² = "380,64" | What is the density (hab/ km²) when the extension km² is 380,64? | <s>[INST]What is the density (hab/ km²) when the extension km² is 380,64? Context: CREATE TABLE table_name_22 (density__hab__km²__ VARCHAR, extension_km² VARCHAR)[/INST]SELECT density__hab__km²__ FROM table_name_22 WHERE extension_km² = "380,64"</s> |
CREATE TABLE table_name_39 (michelle INTEGER, discipline VARCHAR) | SELECT AVG(michelle) FROM table_name_39 WHERE discipline = "archery" | How did michelle do in archery? | <s>[INST]How did michelle do in archery? Context: CREATE TABLE table_name_39 (michelle INTEGER, discipline VARCHAR)[/INST]SELECT AVG(michelle) FROM table_name_39 WHERE discipline = "archery"</s> |
CREATE TABLE table_name_92 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_92 WHERE game_site = "hoosier dome" | What was the Attendance of the Game at Hoosier Dome? | <s>[INST]What was the Attendance of the Game at Hoosier Dome? Context: CREATE TABLE table_name_92 (attendance VARCHAR, game_site VARCHAR)[/INST]SELECT attendance FROM table_name_92 WHERE game_site = "hoosier dome"</s> |
CREATE TABLE table_name_70 (position VARCHAR, round VARCHAR, overall VARCHAR) | SELECT position FROM table_name_70 WHERE round > 14 AND overall < 419 | Which Position has a Round larger than 14, and an Overall smaller than 419? | <s>[INST]Which Position has a Round larger than 14, and an Overall smaller than 419? Context: CREATE TABLE table_name_70 (position VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT position FROM table_name_70 WHERE round > 14 AND overall < 419</s> |
CREATE TABLE table_name_73 (weight_class__kg_ INTEGER, venue VARCHAR) | SELECT MIN(weight_class__kg_) FROM table_name_73 WHERE venue = "sofia, bulgaria" | What is the lowest weight class (kg) that has sofia, bulgaria as the venue? | <s>[INST]What is the lowest weight class (kg) that has sofia, bulgaria as the venue? Context: CREATE TABLE table_name_73 (weight_class__kg_ INTEGER, venue VARCHAR)[/INST]SELECT MIN(weight_class__kg_) FROM table_name_73 WHERE venue = "sofia, bulgaria"</s> |
CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_25 WHERE player = "ben hogan" | What is Ben Hogan's Place? | <s>[INST]What is Ben Hogan's Place? Context: CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_25 WHERE player = "ben hogan"</s> |
CREATE TABLE table_14752049_3 (change__2009_to_2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | SELECT change__2009_to_2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "9.4 million" | Name the change 2009 to 2010 where international tourist arrivals is 9.4 million | <s>[INST]Name the change 2009 to 2010 where international tourist arrivals is 9.4 million Context: CREATE TABLE table_14752049_3 (change__2009_to_2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)[/INST]SELECT change__2009_to_2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "9.4 mill... |
CREATE TABLE table_2818164_4 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_2818164_4 WHERE production_code = 322 | What was the air date of the episode with the production code of 322? | <s>[INST]What was the air date of the episode with the production code of 322? Context: CREATE TABLE table_2818164_4 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_2818164_4 WHERE production_code = 322</s> |
CREATE TABLE table_27882867_6 (location_attendance VARCHAR, date VARCHAR) | SELECT COUNT(location_attendance) FROM table_27882867_6 WHERE date = "January 11" | How many games did they play on january 11? | <s>[INST]How many games did they play on january 11? Context: CREATE TABLE table_27882867_6 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_27882867_6 WHERE date = "January 11"</s> |
CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR) | SELECT AVG(laps) FROM table_name_49 WHERE finish = "23" | What is the average lap of the race with a 23 finish? | <s>[INST]What is the average lap of the race with a 23 finish? Context: CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_49 WHERE finish = "23"</s> |
CREATE TABLE table_name_97 (pole_position VARCHAR, round INTEGER) | SELECT pole_position FROM table_name_97 WHERE round < 2 | Tell me the pole position with round less than 2 | <s>[INST]Tell me the pole position with round less than 2 Context: CREATE TABLE table_name_97 (pole_position VARCHAR, round INTEGER)[/INST]SELECT pole_position FROM table_name_97 WHERE round < 2</s> |
CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR) | SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderland" AND studio_analysts = "jack haley" | Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst? | <s>[INST]Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst? Context: CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR)[/INST]SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderla... |
CREATE TABLE table_20871703_1 (height VARCHAR, position VARCHAR) | SELECT COUNT(height) FROM table_20871703_1 WHERE position = "DE" | What is the height if de is the position? | <s>[INST]What is the height if de is the position? Context: CREATE TABLE table_20871703_1 (height VARCHAR, position VARCHAR)[/INST]SELECT COUNT(height) FROM table_20871703_1 WHERE position = "DE"</s> |
CREATE TABLE table_1507852_1 (description VARCHAR, type VARCHAR) | SELECT description FROM table_1507852_1 WHERE type = "reset" | When the type is "reset" what is the description? | <s>[INST]When the type is "reset" what is the description? Context: CREATE TABLE table_1507852_1 (description VARCHAR, type VARCHAR)[/INST]SELECT description FROM table_1507852_1 WHERE type = "reset"</s> |
CREATE TABLE table_name_51 (points_against VARCHAR, drawn VARCHAR, tries_for VARCHAR) | SELECT points_against FROM table_name_51 WHERE drawn = "0" AND tries_for = "50" | For the club that had tries of 50 and drawn of 0, what were the points? | <s>[INST]For the club that had tries of 50 and drawn of 0, what were the points? Context: CREATE TABLE table_name_51 (points_against VARCHAR, drawn VARCHAR, tries_for VARCHAR)[/INST]SELECT points_against FROM table_name_51 WHERE drawn = "0" AND tries_for = "50"</s> |
CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_4 WHERE entrant = "fuel injection" | What type of engine did the Fuel Injection entrant use? | <s>[INST]What type of engine did the Fuel Injection entrant use? Context: CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR)[/INST]SELECT engine FROM table_name_4 WHERE entrant = "fuel injection"</s> |
CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR) | SELECT to_par FROM table_247955_2 WHERE winning_score = 69 - 66 - 69 - 64 = 268 | What were the shots below par when the winning score was 69-66-69-64=268? | <s>[INST]What were the shots below par when the winning score was 69-66-69-64=268? Context: CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR)[/INST]SELECT to_par FROM table_247955_2 WHERE winning_score = 69 - 66 - 69 - 64 = 268</s> |
CREATE TABLE table_name_75 (winning_score VARCHAR, championship VARCHAR, margin VARCHAR) | SELECT winning_score FROM table_name_75 WHERE championship = "u.s. women's open" AND margin = "5 strokes" | What was the winning score in the u.s. women's open that was won by 5 strokes? | <s>[INST]What was the winning score in the u.s. women's open that was won by 5 strokes? Context: CREATE TABLE table_name_75 (winning_score VARCHAR, championship VARCHAR, margin VARCHAR)[/INST]SELECT winning_score FROM table_name_75 WHERE championship = "u.s. women's open" AND margin = "5 strokes"</s> |
CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_60 WHERE place = "t1" AND player = "tim herron" | What is the score of Tim Herron, who placed t1? | <s>[INST]What is the score of Tim Herron, who placed t1? Context: CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_60 WHERE place = "t1" AND player = "tim herron"</s> |
CREATE TABLE table_name_7 (rank INTEGER, period VARCHAR, games VARCHAR) | SELECT SUM(rank) FROM table_name_7 WHERE period = "1973–89" AND games < 423 | What is the rank for the period of 1973–89, with less than 423 games. | <s>[INST]What is the rank for the period of 1973–89, with less than 423 games. Context: CREATE TABLE table_name_7 (rank INTEGER, period VARCHAR, games VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_7 WHERE period = "1973–89" AND games < 423</s> |
CREATE TABLE table_name_23 (score VARCHAR, player VARCHAR, country VARCHAR, money___$__ VARCHAR) | SELECT score FROM table_name_23 WHERE country = "united states" AND money___$__ = "73" AND player = "harry hampton" | What is the score for the United States when Harry Hampton is the player and the money is $73? | <s>[INST]What is the score for the United States when Harry Hampton is the player and the money is $73? Context: CREATE TABLE table_name_23 (score VARCHAR, player VARCHAR, country VARCHAR, money___$__ VARCHAR)[/INST]SELECT score FROM table_name_23 WHERE country = "united states" AND money___$__ = "73" AND player = "har... |
CREATE TABLE table_name_56 (name VARCHAR, pressure VARCHAR) | SELECT name FROM table_name_56 WHERE pressure = "985hpa (29.09inhg)" | Which name has a pressure of 985hpa (29.09inhg)? | <s>[INST]Which name has a pressure of 985hpa (29.09inhg)? Context: CREATE TABLE table_name_56 (name VARCHAR, pressure VARCHAR)[/INST]SELECT name FROM table_name_56 WHERE pressure = "985hpa (29.09inhg)"</s> |
CREATE TABLE table_name_89 (end_of_term VARCHAR, age_at_inauguration VARCHAR) | SELECT end_of_term FROM table_name_89 WHERE age_at_inauguration = "78years, 160days" | What is the End of term of the President with an Age at inauguration of 78years, 160days? | <s>[INST]What is the End of term of the President with an Age at inauguration of 78years, 160days? Context: CREATE TABLE table_name_89 (end_of_term VARCHAR, age_at_inauguration VARCHAR)[/INST]SELECT end_of_term FROM table_name_89 WHERE age_at_inauguration = "78years, 160days"</s> |
CREATE TABLE table_name_79 (extras INTEGER, name VARCHAR, wickets VARCHAR) | SELECT MAX(extras) FROM table_name_79 WHERE name = "farveez maharoof" AND wickets > 4 | What is the highest Extras for Farveez Maharoof, with more than 4 wickets? | <s>[INST]What is the highest Extras for Farveez Maharoof, with more than 4 wickets? Context: CREATE TABLE table_name_79 (extras INTEGER, name VARCHAR, wickets VARCHAR)[/INST]SELECT MAX(extras) FROM table_name_79 WHERE name = "farveez maharoof" AND wickets > 4</s> |
CREATE TABLE table_26355116_1 (enrollment INTEGER) | SELECT MAX(enrollment) FROM table_26355116_1 | What is the maximum enrollment of the schools? | <s>[INST]What is the maximum enrollment of the schools? Context: CREATE TABLE table_26355116_1 (enrollment INTEGER)[/INST]SELECT MAX(enrollment) FROM table_26355116_1</s> |
CREATE TABLE table_name_14 (year VARCHAR, title VARCHAR) | SELECT year FROM table_name_14 WHERE title = "rio" | What is the Year of Rio? | <s>[INST]What is the Year of Rio? Context: CREATE TABLE table_name_14 (year VARCHAR, title VARCHAR)[/INST]SELECT year FROM table_name_14 WHERE title = "rio"</s> |
CREATE TABLE table_name_79 (college_junior_club_team VARCHAR, round VARCHAR) | SELECT college_junior_club_team FROM table_name_79 WHERE round = 4 | Can you tell me the College/Junior/Club Team that has the Round of 4? | <s>[INST]Can you tell me the College/Junior/Club Team that has the Round of 4? Context: CREATE TABLE table_name_79 (college_junior_club_team VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team FROM table_name_79 WHERE round = 4</s> |
CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR) | SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16" | What is the D43 associated with a D41 of r 16? | <s>[INST]What is the D43 associated with a D41 of r 16? Context: CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR)[/INST]SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16"</s> |
CREATE TABLE table_name_37 (position VARCHAR, no_s_ VARCHAR) | SELECT position FROM table_name_37 WHERE no_s_ = "41" | Name the position for numbers of 41 | <s>[INST]Name the position for numbers of 41 Context: CREATE TABLE table_name_37 (position VARCHAR, no_s_ VARCHAR)[/INST]SELECT position FROM table_name_37 WHERE no_s_ = "41"</s> |
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_65 WHERE date = "10 july 2011" | What is Score, when Date is 10 July 2011? | <s>[INST]What is Score, when Date is 10 July 2011? Context: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_65 WHERE date = "10 july 2011"</s> |
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_90 WHERE away_team = "melbourne" | Who was Melbourne's home team opponent? | <s>[INST]Who was Melbourne's home team opponent? Context: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_90 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | SELECT MIN(attendance) FROM table_name_95 WHERE opponent = "green bay packers" AND week > 10 | Which Attendance has an Opponent of green bay packers, and a Week larger than 10? | <s>[INST]Which Attendance has an Opponent of green bay packers, and a Week larger than 10? Context: CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR, week VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_95 WHERE opponent = "green bay packers" AND week > 10</s> |
CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, firefox VARCHAR) | SELECT other_mozilla FROM table_1876262_10 WHERE firefox = "30.45%" | If Firefox is 30.45%, what is the other Mozilla amount? | <s>[INST]If Firefox is 30.45%, what is the other Mozilla amount? Context: CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, firefox VARCHAR)[/INST]SELECT other_mozilla FROM table_1876262_10 WHERE firefox = "30.45%"</s> |
CREATE TABLE table_name_52 (competition VARCHAR, attendance VARCHAR, opponent VARCHAR) | SELECT competition FROM table_name_52 WHERE attendance > 914 AND opponent = "wightlink raiders" | What kind of competition had an attendance of more than 914 people and the Wightlink Raiders as an opponent? | <s>[INST]What kind of competition had an attendance of more than 914 people and the Wightlink Raiders as an opponent? Context: CREATE TABLE table_name_52 (competition VARCHAR, attendance VARCHAR, opponent VARCHAR)[/INST]SELECT competition FROM table_name_52 WHERE attendance > 914 AND opponent = "wightlink raiders"</s> |
CREATE TABLE table_25352318_1 (wins VARCHAR, season VARCHAR, team VARCHAR) | SELECT COUNT(wins) FROM table_25352318_1 WHERE season = 2010 AND team = "ART Grand Prix" | When art grand prix is the team and 2010 is the season how many wins are there? | <s>[INST]When art grand prix is the team and 2010 is the season how many wins are there? Context: CREATE TABLE table_25352318_1 (wins VARCHAR, season VARCHAR, team VARCHAR)[/INST]SELECT COUNT(wins) FROM table_25352318_1 WHERE season = 2010 AND team = "ART Grand Prix"</s> |
CREATE TABLE table_name_19 (work VARCHAR, award VARCHAR) | SELECT work FROM table_name_19 WHERE award = "newcomer actress" | Where Award is newcomer actress, what is the work? | <s>[INST]Where Award is newcomer actress, what is the work? Context: CREATE TABLE table_name_19 (work VARCHAR, award VARCHAR)[/INST]SELECT work FROM table_name_19 WHERE award = "newcomer actress"</s> |
CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR) | SELECT MAX(gold) FROM table_name_16 WHERE total < 3 AND rank = "5" AND silver > 1 | What is the largest gold number when the total is less than 3, the rank is 5, and the silver is more than 1? | <s>[INST]What is the largest gold number when the total is less than 3, the rank is 5, and the silver is more than 1? Context: CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_16 WHERE total < 3 AND rank = "5" AND silver > 1</s> |
CREATE TABLE song (song_name VARCHAR, resolution INTEGER); CREATE TABLE song (song_name VARCHAR, f_id VARCHAR); CREATE TABLE files (f_id VARCHAR, formats VARCHAR) | SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = "mp3" INTERSECT SELECT song_name FROM song WHERE resolution < 1000 | Return the names of songs for which format is mp3 and resolution is below 1000. | <s>[INST]Return the names of songs for which format is mp3 and resolution is below 1000. Context: CREATE TABLE song (song_name VARCHAR, resolution INTEGER); CREATE TABLE song (song_name VARCHAR, f_id VARCHAR); CREATE TABLE files (f_id VARCHAR, formats VARCHAR)[/INST]SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ... |
CREATE TABLE table_26986076_5 (mon_23_aug VARCHAR, rider VARCHAR) | SELECT mon_23_aug FROM table_26986076_5 WHERE rider = "Tom Snow 250cc Honda" | When tom snow 250cc honda is the rider what is Monday August 23rd? | <s>[INST]When tom snow 250cc honda is the rider what is Monday August 23rd? Context: CREATE TABLE table_26986076_5 (mon_23_aug VARCHAR, rider VARCHAR)[/INST]SELECT mon_23_aug FROM table_26986076_5 WHERE rider = "Tom Snow 250cc Honda"</s> |
CREATE TABLE table_name_81 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_81 WHERE score = 68 - 72 - 77 - 74 = 291 | what is the place when the score is 68-72-77-74=291? | <s>[INST]what is the place when the score is 68-72-77-74=291? Context: CREATE TABLE table_name_81 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_81 WHERE score = 68 - 72 - 77 - 74 = 291</s> |
CREATE TABLE table_name_88 (lane VARCHAR, heat VARCHAR, nationality VARCHAR) | SELECT COUNT(lane) FROM table_name_88 WHERE heat = 1 AND nationality = "uzbekistan" | What is the Lane of the swimmer from Uzbekistan in Heat 1? | <s>[INST]What is the Lane of the swimmer from Uzbekistan in Heat 1? Context: CREATE TABLE table_name_88 (lane VARCHAR, heat VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(lane) FROM table_name_88 WHERE heat = 1 AND nationality = "uzbekistan"</s> |
CREATE TABLE table_name_76 (year_introduced_mrwa VARCHAR, wheel_arrangement VARCHAR) | SELECT year_introduced_mrwa FROM table_name_76 WHERE wheel_arrangement = "4-6-2" | What was the year the MRWA with a wheel arrangement of 4-6-2 was introduced? | <s>[INST]What was the year the MRWA with a wheel arrangement of 4-6-2 was introduced? Context: CREATE TABLE table_name_76 (year_introduced_mrwa VARCHAR, wheel_arrangement VARCHAR)[/INST]SELECT year_introduced_mrwa FROM table_name_76 WHERE wheel_arrangement = "4-6-2"</s> |
CREATE TABLE table_name_96 (label VARCHAR, catalog__number VARCHAR) | SELECT label FROM table_name_96 WHERE catalog__number = "83061-2" | What is the label for the album with a catalog number of 83061-2? | <s>[INST]What is the label for the album with a catalog number of 83061-2? Context: CREATE TABLE table_name_96 (label VARCHAR, catalog__number VARCHAR)[/INST]SELECT label FROM table_name_96 WHERE catalog__number = "83061-2"</s> |
CREATE TABLE table_10812938_5 (pick__number VARCHAR, position VARCHAR) | SELECT pick__number FROM table_10812938_5 WHERE position = "CB" | What's the pick number of the player whose position is CB? | <s>[INST]What's the pick number of the player whose position is CB? Context: CREATE TABLE table_10812938_5 (pick__number VARCHAR, position VARCHAR)[/INST]SELECT pick__number FROM table_10812938_5 WHERE position = "CB"</s> |
CREATE TABLE table_name_25 (agg VARCHAR) | SELECT 1 AS st_leg FROM table_name_25 WHERE agg = "4-3" | What is the 1st leg with a 4-3 agg.? | <s>[INST]What is the 1st leg with a 4-3 agg.? Context: CREATE TABLE table_name_25 (agg VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_25 WHERE agg = "4-3"</s> |
CREATE TABLE table_name_46 (model_number VARCHAR, socket VARCHAR) | SELECT model_number FROM table_name_46 WHERE socket = "μpga2 bga2 mmc-2" | Which model number has socket μpga2 bga2 mmc-2? | <s>[INST]Which model number has socket μpga2 bga2 mmc-2? Context: CREATE TABLE table_name_46 (model_number VARCHAR, socket VARCHAR)[/INST]SELECT model_number FROM table_name_46 WHERE socket = "μpga2 bga2 mmc-2"</s> |
CREATE TABLE table_name_55 (against VARCHAR, venue VARCHAR, date VARCHAR) | SELECT against FROM table_name_55 WHERE venue = "twickenham , london" AND date = "04/03/2000" | What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"? | <s>[INST]What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"? Context: CREATE TABLE table_name_55 (against VARCHAR, venue VARCHAR, date VARCHAR)[/INST]SELECT against FROM table_name_55 WHERE venue = "twickenham , london" AND date = "04/03/2000"</s> |
CREATE TABLE table_14724369_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_14724369_1 WHERE directed_by = "Michael DiMartino" | When did the show directed by Michael Dimartino first air? | <s>[INST]When did the show directed by Michael Dimartino first air? Context: CREATE TABLE table_14724369_1 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_14724369_1 WHERE directed_by = "Michael DiMartino"</s> |
CREATE TABLE table_22379931_2 (winning_driver VARCHAR, circuit VARCHAR, pole_position VARCHAR) | SELECT COUNT(winning_driver) FROM table_22379931_2 WHERE circuit = "Suzuka circuit" AND pole_position = "Loïc Duval" | How many drivers drove on Suzuka Circuit where Loïc Duval took pole position? | <s>[INST]How many drivers drove on Suzuka Circuit where Loïc Duval took pole position? Context: CREATE TABLE table_22379931_2 (winning_driver VARCHAR, circuit VARCHAR, pole_position VARCHAR)[/INST]SELECT COUNT(winning_driver) FROM table_22379931_2 WHERE circuit = "Suzuka circuit" AND pole_position = "Loïc Duval"</s> |
CREATE TABLE table_name_16 (Id VARCHAR) | SELECT 2012 FROM table_name_16 WHERE 2011 = "1r" AND 2007 = "a" AND 2010 = "1r" AND 2009 = "a" | What is the 2012 value with 1r in 2011, 2007 of A, 2010 of 1r, and 2009 of A? | <s>[INST]What is the 2012 value with 1r in 2011, 2007 of A, 2010 of 1r, and 2009 of A? Context: CREATE TABLE table_name_16 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_16 WHERE 2011 = "1r" AND 2007 = "a" AND 2010 = "1r" AND 2009 = "a"</s> |
CREATE TABLE table_name_87 (season VARCHAR, score VARCHAR) | SELECT season FROM table_name_87 WHERE score = "vasco da gama" | What is the season where Vasco da gama is the score? | <s>[INST]What is the season where Vasco da gama is the score? Context: CREATE TABLE table_name_87 (season VARCHAR, score VARCHAR)[/INST]SELECT season FROM table_name_87 WHERE score = "vasco da gama"</s> |
CREATE TABLE table_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | SELECT film_title_used_in_nomination FROM table_13719788_1 WHERE original_title = "Biola tak berdawai" | What title was used in the nomination for the title Biola Tak Berdawai? | <s>[INST]What title was used in the nomination for the title Biola Tak Berdawai? Context: CREATE TABLE table_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_13719788_1 WHERE original_title = "Biola tak berdawai"</s> |
CREATE TABLE table_23963781_3 (position VARCHAR, nationality VARCHAR, minutes VARCHAR) | SELECT position FROM table_23963781_3 WHERE nationality = "United States" AND minutes = 30 | What is the position of the player who is from the United States and has 30 minutes? | <s>[INST]What is the position of the player who is from the United States and has 30 minutes? Context: CREATE TABLE table_23963781_3 (position VARCHAR, nationality VARCHAR, minutes VARCHAR)[/INST]SELECT position FROM table_23963781_3 WHERE nationality = "United States" AND minutes = 30</s> |
CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR) | SELECT name FROM procedures WHERE cost < 5000 INTERSECT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen" | Find the names of all procedures such that the cost is less than 5000 and physician John Wen was trained in. | <s>[INST]Find the names of all procedures such that the cost is less than 5000 and physician John Wen was trained in. Context: CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE pro... |
CREATE TABLE table_name_83 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR) | SELECT opening FROM table_name_83 WHERE white = "anand" AND moves < 61 AND result = "½–½" | What's the opening when white is Anand with fewer than 61 moves for a result of ½–½? | <s>[INST]What's the opening when white is Anand with fewer than 61 moves for a result of ½–½? Context: CREATE TABLE table_name_83 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR)[/INST]SELECT opening FROM table_name_83 WHERE white = "anand" AND moves < 61 AND result = "½–½"</s> |
CREATE TABLE table_name_18 (outcome VARCHAR, surface VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_18 WHERE surface = "hard" AND partner = "akiko yonemura" | What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface? | <s>[INST]What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface? Context: CREATE TABLE table_name_18 (outcome VARCHAR, surface VARCHAR, partner VARCHAR)[/INST]SELECT outcome FROM table_name_18 WHERE surface = "hard" AND partner = "akiko yonemura"</s> |
CREATE TABLE table_name_81 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_81 WHERE competition = "british home championship" | Which date has a competition type of British home championship? | <s>[INST]Which date has a competition type of British home championship? Context: CREATE TABLE table_name_81 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_81 WHERE competition = "british home championship"</s> |
CREATE TABLE table_17621978_11 (location_attendance VARCHAR, date VARCHAR) | SELECT COUNT(location_attendance) FROM table_17621978_11 WHERE date = "April 24" | Name the number of location attendance for april 24 | <s>[INST]Name the number of location attendance for april 24 Context: CREATE TABLE table_17621978_11 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_17621978_11 WHERE date = "April 24"</s> |
CREATE TABLE table_name_70 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR) | SELECT AVG(place) FROM table_name_70 WHERE ties < 1 AND points = "6 qc" AND losses > 3 | Name the average place for ties less than 1 and losess more than 3 with points of 6 qc | <s>[INST]Name the average place for ties less than 1 and losess more than 3 with points of 6 qc Context: CREATE TABLE table_name_70 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)[/INST]SELECT AVG(place) FROM table_name_70 WHERE ties < 1 AND points = "6 qc" AND losses > 3</s> |
CREATE TABLE table_name_7 (time VARCHAR, ground VARCHAR) | SELECT time FROM table_name_7 WHERE ground = "humber college north" | What is the Time with a Ground that is humber college north? | <s>[INST]What is the Time with a Ground that is humber college north? Context: CREATE TABLE table_name_7 (time VARCHAR, ground VARCHAR)[/INST]SELECT time FROM table_name_7 WHERE ground = "humber college north"</s> |
CREATE TABLE people (name VARCHAR, height INTEGER) | SELECT name FROM people WHERE height < (SELECT AVG(height) FROM people) | find the name of people whose height is lower than the average. | <s>[INST]find the name of people whose height is lower than the average. Context: CREATE TABLE people (name VARCHAR, height INTEGER)[/INST]SELECT name FROM people WHERE height < (SELECT AVG(height) FROM people)</s> |
CREATE TABLE table_262534_2 (founded INTEGER, institution VARCHAR) | SELECT MIN(founded) FROM table_262534_2 WHERE institution = "St. Catharine College" | What year was the institution of St. Catharine College founded? | <s>[INST]What year was the institution of St. Catharine College founded? Context: CREATE TABLE table_262534_2 (founded INTEGER, institution VARCHAR)[/INST]SELECT MIN(founded) FROM table_262534_2 WHERE institution = "St. Catharine College"</s> |
CREATE TABLE table_name_84 (year INTEGER, entrant VARCHAR) | SELECT MAX(year) FROM table_name_84 WHERE entrant = "ligier gitanes blondes" | what is the most recent year for a ligier gitanes blondes | <s>[INST]what is the most recent year for a ligier gitanes blondes Context: CREATE TABLE table_name_84 (year INTEGER, entrant VARCHAR)[/INST]SELECT MAX(year) FROM table_name_84 WHERE entrant = "ligier gitanes blondes"</s> |
CREATE TABLE table_23817012_6 (gp_gs VARCHAR, ft_pct VARCHAR) | SELECT COUNT(gp_gs) FROM table_23817012_6 WHERE ft_pct = ".667" | in the ft pct .667 what is the number of gp-gs | <s>[INST]in the ft pct .667 what is the number of gp-gs Context: CREATE TABLE table_23817012_6 (gp_gs VARCHAR, ft_pct VARCHAR)[/INST]SELECT COUNT(gp_gs) FROM table_23817012_6 WHERE ft_pct = ".667"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.