context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_55 (score VARCHAR, total VARCHAR) | SELECT score FROM table_name_55 WHERE total = "80–72" | Which Score has a Total of 80–72? | <s>[INST]Which Score has a Total of 80–72? Context: CREATE TABLE table_name_55 (score VARCHAR, total VARCHAR)[/INST]SELECT score FROM table_name_55 WHERE total = "80–72"</s> |
CREATE TABLE table_name_69 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_69 WHERE date = "28 dec 2010" | Where was the race on 28 dec 2010 held? | <s>[INST]Where was the race on 28 dec 2010 held? Context: CREATE TABLE table_name_69 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_69 WHERE date = "28 dec 2010"</s> |
CREATE TABLE table_name_87 (record VARCHAR, game VARCHAR, date VARCHAR) | SELECT record FROM table_name_87 WHERE game > 51 AND date = "1/27/1974" | What was the record after game 51 on 1/27/1974? | <s>[INST]What was the record after game 51 on 1/27/1974? Context: CREATE TABLE table_name_87 (record VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_87 WHERE game > 51 AND date = "1/27/1974"</s> |
CREATE TABLE table_name_20 (league VARCHAR, sport VARCHAR, venue VARCHAR) | SELECT league FROM table_name_20 WHERE sport = "football" AND venue = "stadion polonii" | Sport of football, and a Venue of stadion polonii is what league? | <s>[INST]Sport of football, and a Venue of stadion polonii is what league? Context: CREATE TABLE table_name_20 (league VARCHAR, sport VARCHAR, venue VARCHAR)[/INST]SELECT league FROM table_name_20 WHERE sport = "football" AND venue = "stadion polonii"</s> |
CREATE TABLE table_name_43 (artist VARCHAR, issue_date_s_ VARCHAR) | SELECT artist FROM table_name_43 WHERE issue_date_s_ = "23 february" | What is the name of the artist that issued the single on 23 February? | <s>[INST]What is the name of the artist that issued the single on 23 February? Context: CREATE TABLE table_name_43 (artist VARCHAR, issue_date_s_ VARCHAR)[/INST]SELECT artist FROM table_name_43 WHERE issue_date_s_ = "23 february"</s> |
CREATE TABLE table_name_85 (laps INTEGER, rider VARCHAR, grid VARCHAR) | SELECT MAX(laps) FROM table_name_85 WHERE rider = "marco melandri" AND grid < 10 | with a Rider of marco melandri, and a Grid smaller than 10, what is the highest lap count? | <s>[INST]with a Rider of marco melandri, and a Grid smaller than 10, what is the highest lap count? Context: CREATE TABLE table_name_85 (laps INTEGER, rider VARCHAR, grid VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_85 WHERE rider = "marco melandri" AND grid < 10</s> |
CREATE TABLE table_name_36 (played_in VARCHAR, matches VARCHAR) | SELECT played_in FROM table_name_36 WHERE matches = "16" | Where were 16 matches played? | <s>[INST]Where were 16 matches played? Context: CREATE TABLE table_name_36 (played_in VARCHAR, matches VARCHAR)[/INST]SELECT played_in FROM table_name_36 WHERE matches = "16"</s> |
CREATE TABLE table_17941032_1 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_17941032_1 WHERE tries_against = "60" | When 60 is the tries against what is the tries for? | <s>[INST]When 60 is the tries against what is the tries for? Context: CREATE TABLE table_17941032_1 (tries_for VARCHAR, tries_against VARCHAR)[/INST]SELECT tries_for FROM table_17941032_1 WHERE tries_against = "60"</s> |
CREATE TABLE visit (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR); CREATE TABLE museum (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR) | SELECT name FROM museum WHERE NOT Museum_ID IN (SELECT museum_id FROM visit) | What is the name of the museum that had no visitor yet? | <s>[INST]What is the name of the museum that had no visitor yet? Context: CREATE TABLE visit (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR); CREATE TABLE museum (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR)[/INST]SELECT name FROM museum WHERE NOT Museum_ID IN (SELECT museum_id FROM visit)</s> |
CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR) | SELECT start FROM table_name_40 WHERE category = "2" AND year = 1947 | Name the start of an event in Catagory 2 of the year 1947. | <s>[INST]Name the start of an event in Catagory 2 of the year 1947. Context: CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR)[/INST]SELECT start FROM table_name_40 WHERE category = "2" AND year = 1947</s> |
CREATE TABLE table_name_5 (class VARCHAR, pos VARCHAR, laps VARCHAR) | SELECT class FROM table_name_5 WHERE pos = "dnf" AND laps = 252 | In which class had 252 laps and a position of dnf? | <s>[INST]In which class had 252 laps and a position of dnf? Context: CREATE TABLE table_name_5 (class VARCHAR, pos VARCHAR, laps VARCHAR)[/INST]SELECT class FROM table_name_5 WHERE pos = "dnf" AND laps = 252</s> |
CREATE TABLE table_29163303_4 (opponent VARCHAR, score VARCHAR) | SELECT COUNT(opponent) FROM table_29163303_4 WHERE score = "6–4, 3–6, [11–13]" | How many times has the score been 6–4, 3–6, [11–13]? | <s>[INST]How many times has the score been 6–4, 3–6, [11–13]? Context: CREATE TABLE table_29163303_4 (opponent VARCHAR, score VARCHAR)[/INST]SELECT COUNT(opponent) FROM table_29163303_4 WHERE score = "6–4, 3–6, [11–13]"</s> |
CREATE TABLE table_name_97 (constructor VARCHAR, grand_prix VARCHAR) | SELECT constructor FROM table_name_97 WHERE grand_prix = "canadian grand prix" | Who constructed the car that won the Canadian Grand Prix? | <s>[INST]Who constructed the car that won the Canadian Grand Prix? Context: CREATE TABLE table_name_97 (constructor VARCHAR, grand_prix VARCHAR)[/INST]SELECT constructor FROM table_name_97 WHERE grand_prix = "canadian grand prix"</s> |
CREATE TABLE CLASS (crs_code VARCHAR) | SELECT COUNT(DISTINCT crs_code) FROM CLASS | How many courses are offered? | <s>[INST]How many courses are offered? Context: CREATE TABLE CLASS (crs_code VARCHAR)[/INST]SELECT COUNT(DISTINCT crs_code) FROM CLASS</s> |
CREATE TABLE table_20174050_24 (reader VARCHAR, author VARCHAR, release_date VARCHAR) | SELECT reader FROM table_20174050_24 WHERE author = "Cole, Stephen Stephen Cole" AND release_date = "2008-11-13 13 November 2008" | who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008 | <s>[INST]who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008 Context: CREATE TABLE table_20174050_24 (reader VARCHAR, author VARCHAR, release_date VARCHAR)[/INST]SELECT reader FROM table_20174050_24 WHERE author = "Cole, Stephen Stephen Cole" AND release... |
CREATE TABLE table_24935743_2 (school VARCHAR, nickname VARCHAR) | SELECT school FROM table_24935743_2 WHERE nickname = "Panthers" | What school is nicknamed the panthers? | <s>[INST]What school is nicknamed the panthers? Context: CREATE TABLE table_24935743_2 (school VARCHAR, nickname VARCHAR)[/INST]SELECT school FROM table_24935743_2 WHERE nickname = "Panthers"</s> |
CREATE TABLE table_16034882_2 (games_played INTEGER) | SELECT MIN(games_played) FROM table_16034882_2 | What is the fewest number of games played? | <s>[INST]What is the fewest number of games played? Context: CREATE TABLE table_16034882_2 (games_played INTEGER)[/INST]SELECT MIN(games_played) FROM table_16034882_2</s> |
CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR) | SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1 | How many episodes have a share of 16.2% and an episode number of less than 1? | <s>[INST]How many episodes have a share of 16.2% and an episode number of less than 1? Context: CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)[/INST]SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1</s> |
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_76 WHERE score = 67 | What country scored 67? | <s>[INST]What country scored 67? Context: CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_76 WHERE score = 67</s> |
CREATE TABLE table_name_87 (driver VARCHAR, chassis VARCHAR, entrant VARCHAR) | SELECT driver FROM table_name_87 WHERE chassis = "bugatti t51" AND entrant = "automobiles ettore bugatti" | Who was the Driver, when the Chassis was Bugatti T51, and when the Entrant was Automobiles Ettore Bugatti? | <s>[INST]Who was the Driver, when the Chassis was Bugatti T51, and when the Entrant was Automobiles Ettore Bugatti? Context: CREATE TABLE table_name_87 (driver VARCHAR, chassis VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_87 WHERE chassis = "bugatti t51" AND entrant = "automobiles ettore bugatti"</s> |
CREATE TABLE table_name_96 (episode INTEGER, original_airdate VARCHAR, season VARCHAR) | SELECT AVG(episode) AS number FROM table_name_96 WHERE original_airdate = "march 21, 2010" AND season < 3 | What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3? | <s>[INST]What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3? Context: CREATE TABLE table_name_96 (episode INTEGER, original_airdate VARCHAR, season VARCHAR)[/INST]SELECT AVG(episode) AS number FROM table_name_96 WHERE original_airdate = "march 21, 2010" AND seaso... |
CREATE TABLE table_name_76 (until VARCHAR, name VARCHAR) | SELECT until FROM table_name_76 WHERE name = "josé luis sánchez solá" | When did José Luis Sánchez Solá end his term of coaching? | <s>[INST]When did José Luis Sánchez Solá end his term of coaching? Context: CREATE TABLE table_name_76 (until VARCHAR, name VARCHAR)[/INST]SELECT until FROM table_name_76 WHERE name = "josé luis sánchez solá"</s> |
CREATE TABLE table_name_3 (championship VARCHAR, year VARCHAR, score VARCHAR) | SELECT championship FROM table_name_3 WHERE year > 1997 AND score = "1–6, 4–6, 7–5, 5–7" | What championship after 1997 was the score 1–6, 4–6, 7–5, 5–7? | <s>[INST]What championship after 1997 was the score 1–6, 4–6, 7–5, 5–7? Context: CREATE TABLE table_name_3 (championship VARCHAR, year VARCHAR, score VARCHAR)[/INST]SELECT championship FROM table_name_3 WHERE year > 1997 AND score = "1–6, 4–6, 7–5, 5–7"</s> |
CREATE TABLE table_17311759_9 (location_attendance VARCHAR, high_assists VARCHAR) | SELECT location_attendance FROM table_17311759_9 WHERE high_assists = "Mike Bibby (9)" | When mike bibby (9) has the highest amount of assists what is the location and attendance? | <s>[INST]When mike bibby (9) has the highest amount of assists what is the location and attendance? Context: CREATE TABLE table_17311759_9 (location_attendance VARCHAR, high_assists VARCHAR)[/INST]SELECT location_attendance FROM table_17311759_9 WHERE high_assists = "Mike Bibby (9)"</s> |
CREATE TABLE department (dname VARCHAR, mgr_start_date VARCHAR) | SELECT dname FROM department ORDER BY mgr_start_date | List all department names ordered by their starting date. | <s>[INST]List all department names ordered by their starting date. Context: CREATE TABLE department (dname VARCHAR, mgr_start_date VARCHAR)[/INST]SELECT dname FROM department ORDER BY mgr_start_date</s> |
CREATE TABLE table_name_55 (freq INTEGER, owner VARCHAR, day_power___w__ VARCHAR) | SELECT SUM(freq) FROM table_name_55 WHERE owner = "wpw" AND day_power___w__ > 250 | What is the WPW freq with a day power of 250? | <s>[INST]What is the WPW freq with a day power of 250? Context: CREATE TABLE table_name_55 (freq INTEGER, owner VARCHAR, day_power___w__ VARCHAR)[/INST]SELECT SUM(freq) FROM table_name_55 WHERE owner = "wpw" AND day_power___w__ > 250</s> |
CREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR) | SELECT george_h_w_bush FROM table_name_59 WHERE ronald_reagan = "43%" | Name the george bush for ronald reagan of 43% | <s>[INST]Name the george bush for ronald reagan of 43% Context: CREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR)[/INST]SELECT george_h_w_bush FROM table_name_59 WHERE ronald_reagan = "43%"</s> |
CREATE TABLE table_27539535_4 (record VARCHAR, game VARCHAR) | SELECT record FROM table_27539535_4 WHERE game = 13 | What is every record for game 13? | <s>[INST]What is every record for game 13? Context: CREATE TABLE table_27539535_4 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_27539535_4 WHERE game = 13</s> |
CREATE TABLE table_12286195_1 (charity VARCHAR, background VARCHAR) | SELECT charity FROM table_12286195_1 WHERE background = "Heavyweight Champion" | Which is the charity that the background of the celebrity is heavyweight champion? | <s>[INST]Which is the charity that the background of the celebrity is heavyweight champion? Context: CREATE TABLE table_12286195_1 (charity VARCHAR, background VARCHAR)[/INST]SELECT charity FROM table_12286195_1 WHERE background = "Heavyweight Champion"</s> |
CREATE TABLE table_27293285_4 (club VARCHAR, lost VARCHAR) | SELECT COUNT(club) FROM table_27293285_4 WHERE lost = "16" | Name the total number of club for lost being 16 | <s>[INST]Name the total number of club for lost being 16 Context: CREATE TABLE table_27293285_4 (club VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(club) FROM table_27293285_4 WHERE lost = "16"</s> |
CREATE TABLE table_name_62 (position VARCHAR, game_1 VARCHAR) | SELECT position FROM table_name_62 WHERE game_1 = "colin scott" | What position has colin scott as game 1? | <s>[INST]What position has colin scott as game 1? Context: CREATE TABLE table_name_62 (position VARCHAR, game_1 VARCHAR)[/INST]SELECT position FROM table_name_62 WHERE game_1 = "colin scott"</s> |
CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_4 WHERE score = "195 (-21)" | When did the Score of 195 (-21) happen? | <s>[INST]When did the Score of 195 (-21) happen? Context: CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE score = "195 (-21)"</s> |
CREATE TABLE table_name_86 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_86 WHERE tie_no = "13" | WHAT IS THE SCORE WITH A TIE NUMBER OF 13? | <s>[INST]WHAT IS THE SCORE WITH A TIE NUMBER OF 13? Context: CREATE TABLE table_name_86 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_86 WHERE tie_no = "13"</s> |
CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_21 WHERE opponent = "detroit lions" | What was the number in attendance for the Detroit Lions game? | <s>[INST]What was the number in attendance for the Detroit Lions game? Context: CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_21 WHERE opponent = "detroit lions"</s> |
CREATE TABLE table_name_9 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_9 WHERE grid = 17 | Tell me the constructor for grid of 17 | <s>[INST]Tell me the constructor for grid of 17 Context: CREATE TABLE table_name_9 (constructor VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_9 WHERE grid = 17</s> |
CREATE TABLE table_name_42 (points INTEGER, rank VARCHAR, name VARCHAR) | SELECT AVG(points) FROM table_name_42 WHERE rank < 12 AND name = "david santee" | What is the average points value for a rank less than 12 for David Santee? | <s>[INST]What is the average points value for a rank less than 12 for David Santee? Context: CREATE TABLE table_name_42 (points INTEGER, rank VARCHAR, name VARCHAR)[/INST]SELECT AVG(points) FROM table_name_42 WHERE rank < 12 AND name = "david santee"</s> |
CREATE TABLE table_name_58 (record VARCHAR, december VARCHAR, score VARCHAR) | SELECT record FROM table_name_58 WHERE december < 22 AND score = "4–3" | Which Record has a December smaller than 22 and a Score of 4–3? | <s>[INST]Which Record has a December smaller than 22 and a Score of 4–3? Context: CREATE TABLE table_name_58 (record VARCHAR, december VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_58 WHERE december < 22 AND score = "4–3"</s> |
CREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_21 WHERE date = "november 17, 1946" AND week > 8 | Name the most attendance for november 17, 1946 and week more than 8 | <s>[INST]Name the most attendance for november 17, 1946 and week more than 8 Context: CREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_21 WHERE date = "november 17, 1946" AND week > 8</s> |
CREATE TABLE table_name_42 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_42 WHERE score = 68 | In which area was there a score of 68? | <s>[INST]In which area was there a score of 68? Context: CREATE TABLE table_name_42 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_42 WHERE score = 68</s> |
CREATE TABLE table_name_25 (nickname VARCHAR, years_in_gfl VARCHAR) | SELECT nickname FROM table_name_25 WHERE years_in_gfl = "1986-1988" | What is the nickname of the team who was in the GFL from 1986-1988? | <s>[INST]What is the nickname of the team who was in the GFL from 1986-1988? Context: CREATE TABLE table_name_25 (nickname VARCHAR, years_in_gfl VARCHAR)[/INST]SELECT nickname FROM table_name_25 WHERE years_in_gfl = "1986-1988"</s> |
CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT score FROM table_name_25 WHERE opponent = "braves" AND record = "41–27" | What was the score of the game against the Braves with a record of 41–27? | <s>[INST]What was the score of the game against the Braves with a record of 41–27? Context: CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_25 WHERE opponent = "braves" AND record = "41–27"</s> |
CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_91 WHERE time = "2:57" | Which record has 2:57 as the time? | <s>[INST]Which record has 2:57 as the time? Context: CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR)[/INST]SELECT record FROM table_name_91 WHERE time = "2:57"</s> |
CREATE TABLE scientists (name VARCHAR, ssn VARCHAR); CREATE TABLE assignedto (scientist VARCHAR) | SELECT COUNT(*), T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn = T2.scientist GROUP BY T1.name | Find the number of projects which each scientist is working on and scientist's name. | <s>[INST]Find the number of projects which each scientist is working on and scientist's name. Context: CREATE TABLE scientists (name VARCHAR, ssn VARCHAR); CREATE TABLE assignedto (scientist VARCHAR)[/INST]SELECT COUNT(*), T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn = T2.scientist GROUP BY T1.name</s> |
CREATE TABLE table_name_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT MAX(silver) FROM table_name_25 WHERE gold = 1 AND nation = "djibouti" AND total < 3 | What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3? | <s>[INST]What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3? Context: CREATE TABLE table_name_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_25 WHERE gold = 1 AND nation = "djibouti" AND total < 3</s> |
CREATE TABLE table_name_51 (high_estimate INTEGER, low_estimate VARCHAR, type VARCHAR, location VARCHAR) | SELECT SUM(high_estimate) FROM table_name_51 WHERE type = "mass suicide" AND location = "france" AND low_estimate > 16 | With a type of mass suicide located in France and a low estimate greater than 16, the sum of the high estimate numbers listed is what number? | <s>[INST]With a type of mass suicide located in France and a low estimate greater than 16, the sum of the high estimate numbers listed is what number? Context: CREATE TABLE table_name_51 (high_estimate INTEGER, low_estimate VARCHAR, type VARCHAR, location VARCHAR)[/INST]SELECT SUM(high_estimate) FROM table_name_51 WHER... |
CREATE TABLE table_name_74 (fastest_lap VARCHAR, name VARCHAR) | SELECT fastest_lap FROM table_name_74 WHERE name = "stoh's 200" | What time was the fastest lap during Stoh's 200 in 1982? | <s>[INST]What time was the fastest lap during Stoh's 200 in 1982? Context: CREATE TABLE table_name_74 (fastest_lap VARCHAR, name VARCHAR)[/INST]SELECT fastest_lap FROM table_name_74 WHERE name = "stoh's 200"</s> |
CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10" | How many people attended the game on May 10? | <s>[INST]How many people attended the game on May 10? Context: CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10"</s> |
CREATE TABLE table_name_21 (course VARCHAR, type VARCHAR, date VARCHAR) | SELECT course FROM table_name_21 WHERE type = "flat stage" AND date = "4 september" | Which course has a flat stage on 4 September? | <s>[INST]Which course has a flat stage on 4 September? Context: CREATE TABLE table_name_21 (course VARCHAR, type VARCHAR, date VARCHAR)[/INST]SELECT course FROM table_name_21 WHERE type = "flat stage" AND date = "4 september"</s> |
CREATE TABLE table_21034801_1 (opponent VARCHAR, record VARCHAR) | SELECT COUNT(opponent) FROM table_21034801_1 WHERE record = "7-0" | How many opponents led to an exactly 7-0 record? | <s>[INST]How many opponents led to an exactly 7-0 record? Context: CREATE TABLE table_21034801_1 (opponent VARCHAR, record VARCHAR)[/INST]SELECT COUNT(opponent) FROM table_21034801_1 WHERE record = "7-0"</s> |
CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR) | SELECT frequency FROM table_name_8 WHERE model_number = "turion 64 x2 tl-62" | What is the frequency of the Turion 64 X2 TL-62? | <s>[INST]What is the frequency of the Turion 64 X2 TL-62? Context: CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR)[/INST]SELECT frequency FROM table_name_8 WHERE model_number = "turion 64 x2 tl-62"</s> |
CREATE TABLE table_name_85 (rank VARCHAR, goals VARCHAR, matches VARCHAR) | SELECT COUNT(rank) FROM table_name_85 WHERE goals = 158 AND matches > 362 | What is the Rank of the player with 158 Goals in more than 362 Matches? | <s>[INST]What is the Rank of the player with 158 Goals in more than 362 Matches? Context: CREATE TABLE table_name_85 (rank VARCHAR, goals VARCHAR, matches VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_85 WHERE goals = 158 AND matches > 362</s> |
CREATE TABLE table_name_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (7)" | Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)? | <s>[INST]Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)? Context: CREATE TABLE table_name_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR)[/INST]SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (7)"</s> |
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_95 WHERE home_team = "footscray" | What is the score of the away team when the home team is Footscray? | <s>[INST]What is the score of the away team when the home team is Footscray? Context: CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_95 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_74 (singapore_gross VARCHAR, title VARCHAR) | SELECT singapore_gross FROM table_name_74 WHERE title = "2000" | What is the Singapore Gross with a Title that is 2000? | <s>[INST]What is the Singapore Gross with a Title that is 2000? Context: CREATE TABLE table_name_74 (singapore_gross VARCHAR, title VARCHAR)[/INST]SELECT singapore_gross FROM table_name_74 WHERE title = "2000"</s> |
CREATE TABLE table_name_1 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR) | SELECT studio_host FROM table_name_1 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" AND year = "2005-06" | Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host? | <s>[INST]Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host? Context: CREATE TABLE table_name_1 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)[/INST]SELECT studio_host FROM table_name_1 WHERE play_by_play = "sean grande" AND flags... |
CREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR) | SELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 1 | What is the total when the league cup is less than 1, and the fa cup is less than 1? | <s>[INST]What is the total when the league cup is less than 1, and the fa cup is less than 1? Context: CREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR)[/INST]SELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 1</s> |
CREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR) | SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India" | WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA? | <s>[INST]WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA? Context: CREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR)[/INST]SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India"</s> |
CREATE TABLE table_2528382_2 (year VARCHAR, co_stars VARCHAR) | SELECT year FROM table_2528382_2 WHERE co_stars = "Mala Sinha and Amitabh Bachchan" | In which years are co-stars mala sinha and amitabh bachchan? | <s>[INST]In which years are co-stars mala sinha and amitabh bachchan? Context: CREATE TABLE table_2528382_2 (year VARCHAR, co_stars VARCHAR)[/INST]SELECT year FROM table_2528382_2 WHERE co_stars = "Mala Sinha and Amitabh Bachchan"</s> |
CREATE TABLE table_name_43 (number_s_ VARCHAR, quantity VARCHAR, year_s__of_manufacture VARCHAR) | SELECT number_s_ FROM table_name_43 WHERE quantity = "1" AND year_s__of_manufacture = "1841" | What number was manufactured 1 in 1841? | <s>[INST]What number was manufactured 1 in 1841? Context: CREATE TABLE table_name_43 (number_s_ VARCHAR, quantity VARCHAR, year_s__of_manufacture VARCHAR)[/INST]SELECT number_s_ FROM table_name_43 WHERE quantity = "1" AND year_s__of_manufacture = "1841"</s> |
CREATE TABLE table_22384475_1 (margin VARCHAR, match_date VARCHAR) | SELECT margin FROM table_22384475_1 WHERE match_date = "19 Jan 2002" | What was the margin of the match on 19 Jan 2002? | <s>[INST]What was the margin of the match on 19 Jan 2002? Context: CREATE TABLE table_22384475_1 (margin VARCHAR, match_date VARCHAR)[/INST]SELECT margin FROM table_22384475_1 WHERE match_date = "19 Jan 2002"</s> |
CREATE TABLE table_name_13 (frequency INTEGER, type VARCHAR) | SELECT SUM(frequency) FROM table_name_13 WHERE type = "christian pop" | What is the sum of Frequency, when Type is "Christian Pop"? | <s>[INST]What is the sum of Frequency, when Type is "Christian Pop"? Context: CREATE TABLE table_name_13 (frequency INTEGER, type VARCHAR)[/INST]SELECT SUM(frequency) FROM table_name_13 WHERE type = "christian pop"</s> |
CREATE TABLE table_name_33 (pos VARCHAR, player VARCHAR) | SELECT pos FROM table_name_33 WHERE player = "nigel de jong" | What is Pos., when Player is "Nigel De Jong"? | <s>[INST]What is Pos., when Player is "Nigel De Jong"? Context: CREATE TABLE table_name_33 (pos VARCHAR, player VARCHAR)[/INST]SELECT pos FROM table_name_33 WHERE player = "nigel de jong"</s> |
CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR) | SELECT island FROM table_18946749_1 WHERE peak = "Mount Gauttier" | When mount gauttier is the peak what is the island? | <s>[INST]When mount gauttier is the peak what is the island? Context: CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)[/INST]SELECT island FROM table_18946749_1 WHERE peak = "Mount Gauttier"</s> |
CREATE TABLE table_name_32 (year INTEGER, tyres VARCHAR, points VARCHAR) | SELECT MIN(year) FROM table_name_32 WHERE tyres = "g" AND points < 0 | What is the lowest year with tyres in g and less than 0 points? | <s>[INST]What is the lowest year with tyres in g and less than 0 points? Context: CREATE TABLE table_name_32 (year INTEGER, tyres VARCHAR, points VARCHAR)[/INST]SELECT MIN(year) FROM table_name_32 WHERE tyres = "g" AND points < 0</s> |
CREATE TABLE table_name_71 (week VARCHAR, game_site VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_71 WHERE game_site = "robert f. kennedy memorial stadium" AND attendance > 54 OFFSET 633 | What week was the game played at Robert f. Kennedy memorial stadium with more than 54,633 people in attendance? | <s>[INST]What week was the game played at Robert f. Kennedy memorial stadium with more than 54,633 people in attendance? Context: CREATE TABLE table_name_71 (week VARCHAR, game_site VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_71 WHERE game_site = "robert f. kennedy memorial stadium" AND attend... |
CREATE TABLE table_name_65 (attendance INTEGER, venue VARCHAR, date VARCHAR) | SELECT AVG(attendance) FROM table_name_65 WHERE venue = "a" AND date = "5 january 2005" | What is the average Attendance, when Venue is "A", and when Date is "5 January 2005"? | <s>[INST]What is the average Attendance, when Venue is "A", and when Date is "5 January 2005"? Context: CREATE TABLE table_name_65 (attendance INTEGER, venue VARCHAR, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_65 WHERE venue = "a" AND date = "5 january 2005"</s> |
CREATE TABLE table_name_93 (win__percentage VARCHAR, conference VARCHAR, _number_of_bids VARCHAR) | SELECT COUNT(win__percentage) FROM table_name_93 WHERE conference = "hockey east" AND _number_of_bids < 4 | For the Hockey East conference, what is the total number of win percentages when there are less than 4 bids? | <s>[INST]For the Hockey East conference, what is the total number of win percentages when there are less than 4 bids? Context: CREATE TABLE table_name_93 (win__percentage VARCHAR, conference VARCHAR, _number_of_bids VARCHAR)[/INST]SELECT COUNT(win__percentage) FROM table_name_93 WHERE conference = "hockey east" AND _nu... |
CREATE TABLE table_176529_2 (official_name VARCHAR, area_km_2 VARCHAR) | SELECT official_name FROM table_176529_2 WHERE area_km_2 = "578.28" | What is the name of the place where area is 578.28 square km? | <s>[INST]What is the name of the place where area is 578.28 square km? Context: CREATE TABLE table_176529_2 (official_name VARCHAR, area_km_2 VARCHAR)[/INST]SELECT official_name FROM table_176529_2 WHERE area_km_2 = "578.28"</s> |
CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_25 WHERE week = "11" | When does week 11 start? | <s>[INST]When does week 11 start? Context: CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE week = "11"</s> |
CREATE TABLE table_name_54 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR) | SELECT MIN(total) FROM table_name_54 WHERE rank < 7 AND gold > 16 AND bronze < 29 | Name the least total with rank less than 7, gold more than 16 and bronze less than 29 | <s>[INST]Name the least total with rank less than 7, gold more than 16 and bronze less than 29 Context: CREATE TABLE table_name_54 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR)[/INST]SELECT MIN(total) FROM table_name_54 WHERE rank < 7 AND gold > 16 AND bronze < 29</s> |
CREATE TABLE table_name_58 (dob VARCHAR, first VARCHAR, position VARCHAR, bats VARCHAR, throws VARCHAR) | SELECT dob FROM table_name_58 WHERE bats = "r" AND throws = "r" AND position = "rhp" AND first = "john" | Which DOB has Bats of r, and Throws of r, and a Position of rhp, and a First of john? | <s>[INST]Which DOB has Bats of r, and Throws of r, and a Position of rhp, and a First of john? Context: CREATE TABLE table_name_58 (dob VARCHAR, first VARCHAR, position VARCHAR, bats VARCHAR, throws VARCHAR)[/INST]SELECT dob FROM table_name_58 WHERE bats = "r" AND throws = "r" AND position = "rhp" AND first = "john"</s... |
CREATE TABLE table_1682865_1 (reverse VARCHAR, £1_fraction VARCHAR) | SELECT reverse FROM table_1682865_1 WHERE £1_fraction = "1/480" | What is the reverse when the £1 fraction is 1/480? | <s>[INST]What is the reverse when the £1 fraction is 1/480? Context: CREATE TABLE table_1682865_1 (reverse VARCHAR, £1_fraction VARCHAR)[/INST]SELECT reverse FROM table_1682865_1 WHERE £1_fraction = "1/480"</s> |
CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR) | SELECT SUM(total) FROM table_name_52 WHERE country = "united states" AND year_s__won = "1986" | What is the total sum of the player from the United States who won in 1986? | <s>[INST]What is the total sum of the player from the United States who won in 1986? Context: CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR)[/INST]SELECT SUM(total) FROM table_name_52 WHERE country = "united states" AND year_s__won = "1986"</s> |
CREATE TABLE table_26136228_3 (directed_by VARCHAR, series_no VARCHAR) | SELECT directed_by FROM table_26136228_3 WHERE series_no = 11 | Who directed episode 11 in the series? | <s>[INST]Who directed episode 11 in the series? Context: CREATE TABLE table_26136228_3 (directed_by VARCHAR, series_no VARCHAR)[/INST]SELECT directed_by FROM table_26136228_3 WHERE series_no = 11</s> |
CREATE TABLE table_name_18 (score VARCHAR, outcome VARCHAR, year VARCHAR) | SELECT score FROM table_name_18 WHERE outcome = "winner" AND year > 2008 | What score resulted in a winner after 2008? | <s>[INST]What score resulted in a winner after 2008? Context: CREATE TABLE table_name_18 (score VARCHAR, outcome VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE outcome = "winner" AND year > 2008</s> |
CREATE TABLE table_name_34 (transfer_fee VARCHAR, moving_from VARCHAR) | SELECT transfer_fee FROM table_name_34 WHERE moving_from = "port vale" | What is the transfer fee of the move from Port Vale? | <s>[INST]What is the transfer fee of the move from Port Vale? Context: CREATE TABLE table_name_34 (transfer_fee VARCHAR, moving_from VARCHAR)[/INST]SELECT transfer_fee FROM table_name_34 WHERE moving_from = "port vale"</s> |
CREATE TABLE table_name_2 (score VARCHAR, place VARCHAR) | SELECT COUNT(score) FROM table_name_2 WHERE place = "t5" | How many scores have a Place of t5? | <s>[INST]How many scores have a Place of t5? Context: CREATE TABLE table_name_2 (score VARCHAR, place VARCHAR)[/INST]SELECT COUNT(score) FROM table_name_2 WHERE place = "t5"</s> |
CREATE TABLE table_name_70 (no_7 VARCHAR, no_3 VARCHAR, no_10 VARCHAR) | SELECT no_7 FROM table_name_70 WHERE no_3 = "sophia" AND no_10 = "abigail" | Who is number 7 when Sophia is number 3 and Abigail is number 10? | <s>[INST]Who is number 7 when Sophia is number 3 and Abigail is number 10? Context: CREATE TABLE table_name_70 (no_7 VARCHAR, no_3 VARCHAR, no_10 VARCHAR)[/INST]SELECT no_7 FROM table_name_70 WHERE no_3 = "sophia" AND no_10 = "abigail"</s> |
CREATE TABLE table_name_37 (match INTEGER, points VARCHAR, draw VARCHAR) | SELECT MAX(match) FROM table_name_37 WHERE points > 18 AND draw > 1 | What is the highest number of matches with more than 18 points and more than 1 draw? | <s>[INST]What is the highest number of matches with more than 18 points and more than 1 draw? Context: CREATE TABLE table_name_37 (match INTEGER, points VARCHAR, draw VARCHAR)[/INST]SELECT MAX(match) FROM table_name_37 WHERE points > 18 AND draw > 1</s> |
CREATE TABLE table_name_84 (iucn VARCHAR, district VARCHAR, reserve VARCHAR) | SELECT iucn FROM table_name_84 WHERE district = "cayo" AND reserve = "actun tunichil muknal" | What is the IUNC of district of Cayo and reserve of Actun Tunichil Muknal? | <s>[INST]What is the IUNC of district of Cayo and reserve of Actun Tunichil Muknal? Context: CREATE TABLE table_name_84 (iucn VARCHAR, district VARCHAR, reserve VARCHAR)[/INST]SELECT iucn FROM table_name_84 WHERE district = "cayo" AND reserve = "actun tunichil muknal"</s> |
CREATE TABLE table_name_40 (floors INTEGER, city VARCHAR, rank VARCHAR) | SELECT AVG(floors) FROM table_name_40 WHERE city = "mecca" AND rank < 12 | What is the average number of floors for buildings in mecca ranked above 12? | <s>[INST]What is the average number of floors for buildings in mecca ranked above 12? Context: CREATE TABLE table_name_40 (floors INTEGER, city VARCHAR, rank VARCHAR)[/INST]SELECT AVG(floors) FROM table_name_40 WHERE city = "mecca" AND rank < 12</s> |
CREATE TABLE table_name_9 (notes VARCHAR, date VARCHAR) | SELECT notes FROM table_name_9 WHERE date = "2007" | What is Notes, when Date is 2007? | <s>[INST]What is Notes, when Date is 2007? Context: CREATE TABLE table_name_9 (notes VARCHAR, date VARCHAR)[/INST]SELECT notes FROM table_name_9 WHERE date = "2007"</s> |
CREATE TABLE table_name_40 (attendance INTEGER, score VARCHAR) | SELECT MIN(attendance) FROM table_name_40 WHERE score = "5 - 0" | What was the lowest attendance for a score of 5 - 0? | <s>[INST]What was the lowest attendance for a score of 5 - 0? Context: CREATE TABLE table_name_40 (attendance INTEGER, score VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_40 WHERE score = "5 - 0"</s> |
CREATE TABLE table_name_90 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_90 WHERE total > 1 AND bronze < 10 AND nation = "switzerland" AND silver > 1 | What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal? | <s>[INST]What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal? Context: CREATE TABLE table_name_90 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(gold) FROM ta... |
CREATE TABLE table_19998428_3 (san_julián_municipality___percentage_ VARCHAR, san_antonio_de_lomerío_municipality___percentage_ VARCHAR) | SELECT COUNT(san_julián_municipality___percentage_) FROM table_19998428_3 WHERE san_antonio_de_lomerío_municipality___percentage_ = "5.480" | If the San Antonio de Lomerio municipality percentage is 5.480, what is the total percentage for the San Julian municipality? | <s>[INST]If the San Antonio de Lomerio municipality percentage is 5.480, what is the total percentage for the San Julian municipality? Context: CREATE TABLE table_19998428_3 (san_julián_municipality___percentage_ VARCHAR, san_antonio_de_lomerío_municipality___percentage_ VARCHAR)[/INST]SELECT COUNT(san_julián_municipal... |
CREATE TABLE table_name_4 (tournament VARCHAR) | SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf" | Which tournament's 2001 and 2008 were a when 2010 was qf? | <s>[INST]Which tournament's 2001 and 2008 were a when 2010 was qf? Context: CREATE TABLE table_name_4 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf"</s> |
CREATE TABLE table_name_77 (total INTEGER, gold INTEGER) | SELECT AVG(total) FROM table_name_77 WHERE gold > 4 | What is the average Total with a Gold that is larger than 4? | <s>[INST]What is the average Total with a Gold that is larger than 4? Context: CREATE TABLE table_name_77 (total INTEGER, gold INTEGER)[/INST]SELECT AVG(total) FROM table_name_77 WHERE gold > 4</s> |
CREATE TABLE table_name_29 (Id VARCHAR) | SELECT 2006 FROM table_name_29 WHERE 2011 = "0-0" | What 2006 has 0-0 as the 2011? | <s>[INST]What 2006 has 0-0 as the 2011? Context: CREATE TABLE table_name_29 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_29 WHERE 2011 = "0-0"</s> |
CREATE TABLE table_22779004_1 (tournament_winner VARCHAR, conference VARCHAR) | SELECT tournament_winner FROM table_22779004_1 WHERE conference = "Atlantic Coast conference" | Who is the tournament winner in the Atlantic Coast Conference? | <s>[INST]Who is the tournament winner in the Atlantic Coast Conference? Context: CREATE TABLE table_22779004_1 (tournament_winner VARCHAR, conference VARCHAR)[/INST]SELECT tournament_winner FROM table_22779004_1 WHERE conference = "Atlantic Coast conference"</s> |
CREATE TABLE table_name_20 (extra_points INTEGER, points VARCHAR, field_goals VARCHAR) | SELECT MAX(extra_points) FROM table_name_20 WHERE points = 28 AND field_goals < 0 | What is the highest amount of extra points someone got when they scored 28 points but had 0 field goals? | <s>[INST]What is the highest amount of extra points someone got when they scored 28 points but had 0 field goals? Context: CREATE TABLE table_name_20 (extra_points INTEGER, points VARCHAR, field_goals VARCHAR)[/INST]SELECT MAX(extra_points) FROM table_name_20 WHERE points = 28 AND field_goals < 0</s> |
CREATE TABLE table_name_14 (wins INTEGER, byes INTEGER) | SELECT MAX(wins) FROM table_name_14 WHERE byes > 2 | For the teams that had more than 2 Byes, what was the highest number of Wins? | <s>[INST]For the teams that had more than 2 Byes, what was the highest number of Wins? Context: CREATE TABLE table_name_14 (wins INTEGER, byes INTEGER)[/INST]SELECT MAX(wins) FROM table_name_14 WHERE byes > 2</s> |
CREATE TABLE table_name_25 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_25 WHERE game = 5 | Name the opponent for game 5 | <s>[INST]Name the opponent for game 5 Context: CREATE TABLE table_name_25 (opponent VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_25 WHERE game = 5</s> |
CREATE TABLE table_name_95 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_95 WHERE school_club_team = "duke" | What is the nationality of Duke? | <s>[INST]What is the nationality of Duke? Context: CREATE TABLE table_name_95 (nationality VARCHAR, school_club_team VARCHAR)[/INST]SELECT nationality FROM table_name_95 WHERE school_club_team = "duke"</s> |
CREATE TABLE table_21676617_1 (country_of_owner VARCHAR, horse VARCHAR) | SELECT COUNT(country_of_owner) FROM table_21676617_1 WHERE horse = "Utah Bulwark" | How many countries did Utah Bulwark's owner come from? | <s>[INST]How many countries did Utah Bulwark's owner come from? Context: CREATE TABLE table_21676617_1 (country_of_owner VARCHAR, horse VARCHAR)[/INST]SELECT COUNT(country_of_owner) FROM table_21676617_1 WHERE horse = "Utah Bulwark"</s> |
CREATE TABLE table_name_57 (height VARCHAR, year_born INTEGER) | SELECT height FROM table_name_57 WHERE year_born < 1975 | What is the height of the person born before 1975? | <s>[INST]What is the height of the person born before 1975? Context: CREATE TABLE table_name_57 (height VARCHAR, year_born INTEGER)[/INST]SELECT height FROM table_name_57 WHERE year_born < 1975</s> |
CREATE TABLE country (Country_id VARCHAR, Country_name VARCHAR); CREATE TABLE match_season (Player VARCHAR, Country VARCHAR) | SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T1.Country_name = "Indonesia" | Which players are from Indonesia? | <s>[INST]Which players are from Indonesia? Context: CREATE TABLE country (Country_id VARCHAR, Country_name VARCHAR); CREATE TABLE match_season (Player VARCHAR, Country VARCHAR)[/INST]SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T1.Country_name = "Indonesia"</s> |
CREATE TABLE table_name_34 (away_team VARCHAR, crowd INTEGER) | SELECT away_team AS score FROM table_name_34 WHERE crowd > 28 OFFSET 536 | What team played in front of 28,536 at an away stadium? | <s>[INST]What team played in front of 28,536 at an away stadium? Context: CREATE TABLE table_name_34 (away_team VARCHAR, crowd INTEGER)[/INST]SELECT away_team AS score FROM table_name_34 WHERE crowd > 28 OFFSET 536</s> |
CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_68 WHERE player = "brad faxon" | What is Score, when Player is "Brad Faxon"? | <s>[INST]What is Score, when Player is "Brad Faxon"? Context: CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE player = "brad faxon"</s> |
CREATE TABLE table_name_65 (round INTEGER, nationality VARCHAR, overall VARCHAR) | SELECT SUM(round) FROM table_name_65 WHERE nationality = "sweden" AND overall = 199 | What is the total round with an overall of 199 with sweden? | <s>[INST]What is the total round with an overall of 199 with sweden? Context: CREATE TABLE table_name_65 (round INTEGER, nationality VARCHAR, overall VARCHAR)[/INST]SELECT SUM(round) FROM table_name_65 WHERE nationality = "sweden" AND overall = 199</s> |
CREATE TABLE table_name_88 (winning_constructor VARCHAR, winning_driver VARCHAR) | SELECT winning_constructor FROM table_name_88 WHERE winning_driver = "riccardo patrese" | What was the constructor when riccardo patrese was the winning driver? | <s>[INST]What was the constructor when riccardo patrese was the winning driver? Context: CREATE TABLE table_name_88 (winning_constructor VARCHAR, winning_driver VARCHAR)[/INST]SELECT winning_constructor FROM table_name_88 WHERE winning_driver = "riccardo patrese"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.