context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_4 (constituency VARCHAR, swing_to_gain VARCHAR, rank VARCHAR) | SELECT constituency FROM table_name_4 WHERE swing_to_gain < 6.05 AND rank = 2 | I want the constituency which has a swing to gain less than 6.05 and a rank of 2 | <s>[INST]I want the constituency which has a swing to gain less than 6.05 and a rank of 2 Context: CREATE TABLE table_name_4 (constituency VARCHAR, swing_to_gain VARCHAR, rank VARCHAR)[/INST]SELECT constituency FROM table_name_4 WHERE swing_to_gain < 6.05 AND rank = 2</s> |
CREATE TABLE table_name_82 (probable_future VARCHAR, simple_present_future VARCHAR) | SELECT probable_future FROM table_name_82 WHERE NOT simple_present_future = "high grade" | What is the probable future word for the simple present/future word high grade? | <s>[INST]What is the probable future word for the simple present/future word high grade? Context: CREATE TABLE table_name_82 (probable_future VARCHAR, simple_present_future VARCHAR)[/INST]SELECT probable_future FROM table_name_82 WHERE NOT simple_present_future = "high grade"</s> |
CREATE TABLE table_2401326_1 (kerry_percentage VARCHAR, county VARCHAR) | SELECT kerry_percentage FROM table_2401326_1 WHERE county = "Oneida" | What percentage of the votes in Oneida did Kerry win? | <s>[INST]What percentage of the votes in Oneida did Kerry win? Context: CREATE TABLE table_2401326_1 (kerry_percentage VARCHAR, county VARCHAR)[/INST]SELECT kerry_percentage FROM table_2401326_1 WHERE county = "Oneida"</s> |
CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_76 WHERE date = "october 17" | What was the attendance on October 17? | <s>[INST]What was the attendance on October 17? Context: CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_76 WHERE date = "october 17"</s> |
CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR) | SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Martha" | Who is the Original west end performer for the character Martha? | <s>[INST]Who is the Original west end performer for the character Martha? Context: CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)[/INST]SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Martha"</s> |
CREATE TABLE table_name_65 (system VARCHAR, current_version VARCHAR) | SELECT system FROM table_name_65 WHERE current_version = "1.4e" | What system has a current version of 1.4e? | <s>[INST]What system has a current version of 1.4e? Context: CREATE TABLE table_name_65 (system VARCHAR, current_version VARCHAR)[/INST]SELECT system FROM table_name_65 WHERE current_version = "1.4e"</s> |
CREATE TABLE table_256286_23 (description VARCHAR, _percentage_yes VARCHAR) | SELECT description FROM table_256286_23 WHERE _percentage_yes = "39.57%" | What is the description of the measure that got 39.57% yes votes? | <s>[INST]What is the description of the measure that got 39.57% yes votes? Context: CREATE TABLE table_256286_23 (description VARCHAR, _percentage_yes VARCHAR)[/INST]SELECT description FROM table_256286_23 WHERE _percentage_yes = "39.57%"</s> |
CREATE TABLE table_name_73 (number_of_households VARCHAR, median_family_income VARCHAR) | SELECT number_of_households FROM table_name_73 WHERE median_family_income = "$58,491" | What Number of households have a Median family income of $58,491? | <s>[INST]What Number of households have a Median family income of $58,491? Context: CREATE TABLE table_name_73 (number_of_households VARCHAR, median_family_income VARCHAR)[/INST]SELECT number_of_households FROM table_name_73 WHERE median_family_income = "$58,491"</s> |
CREATE TABLE table_name_71 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_71 WHERE round = 2 | Who was the opponent in which the bout ended in round 2? | <s>[INST]Who was the opponent in which the bout ended in round 2? Context: CREATE TABLE table_name_71 (opponent VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_71 WHERE round = 2</s> |
CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR) | SELECT constructor FROM table_name_46 WHERE winning_driver = "jack brabham" AND race = "monaco grand prix" | What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix? | <s>[INST]What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix? Context: CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR)[/INST]SELECT constructor FROM table_name_46 WHERE winning_driver = "jack brabham" AND race = "monaco grand prix"</s> |
CREATE TABLE table_name_12 (tries_for INTEGER, tries_against VARCHAR, points_against VARCHAR, points_for VARCHAR) | SELECT MAX(tries_for) FROM table_name_12 WHERE points_against < 124 AND points_for < 241 AND tries_against < 11 | Which Tries for has Points against smaller than 124, and Points for smaller than 241, and Tries against smaller than 11? | <s>[INST]Which Tries for has Points against smaller than 124, and Points for smaller than 241, and Tries against smaller than 11? Context: CREATE TABLE table_name_12 (tries_for INTEGER, tries_against VARCHAR, points_against VARCHAR, points_for VARCHAR)[/INST]SELECT MAX(tries_for) FROM table_name_12 WHERE points_against... |
CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) | SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL05 / 0091037137357" | how many times was the catalog number cal05 / 0091037137357? | <s>[INST]how many times was the catalog number cal05 / 0091037137357? Context: CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR)[/INST]SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL05 / 0091037137357"</s> |
CREATE TABLE table_25277262_2 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_25277262_2 WHERE written_by = "Mark Fink" | If the writer is Mark Fink, who is the director? | <s>[INST]If the writer is Mark Fink, who is the director? Context: CREATE TABLE table_25277262_2 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_25277262_2 WHERE written_by = "Mark Fink"</s> |
CREATE TABLE table_27882867_9 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_27882867_9 WHERE team = "Milwaukee" | Where was the location and attendance when they played milwaukee? | <s>[INST]Where was the location and attendance when they played milwaukee? Context: CREATE TABLE table_27882867_9 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_27882867_9 WHERE team = "Milwaukee"</s> |
CREATE TABLE table_1341522_36 (status VARCHAR, incumbent VARCHAR) | SELECT COUNT(status) FROM table_1341522_36 WHERE incumbent = "Alex McMillan" | How many districts are respresented by Alex McMillan? | <s>[INST]How many districts are respresented by Alex McMillan? Context: CREATE TABLE table_1341522_36 (status VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(status) FROM table_1341522_36 WHERE incumbent = "Alex McMillan"</s> |
CREATE TABLE table_name_65 (avg VARCHAR, yards VARCHAR) | SELECT avg FROM table_name_65 WHERE yards = "1" | Tell me the average for 1 yards | <s>[INST]Tell me the average for 1 yards Context: CREATE TABLE table_name_65 (avg VARCHAR, yards VARCHAR)[/INST]SELECT avg FROM table_name_65 WHERE yards = "1"</s> |
CREATE TABLE table_name_31 (against INTEGER, club VARCHAR, draws VARCHAR) | SELECT SUM(against) FROM table_name_31 WHERE club = "south warrnambool" AND draws < 0 | What's the against of South Warrnambool when the draw is less than 0? | <s>[INST]What's the against of South Warrnambool when the draw is less than 0? Context: CREATE TABLE table_name_31 (against INTEGER, club VARCHAR, draws VARCHAR)[/INST]SELECT SUM(against) FROM table_name_31 WHERE club = "south warrnambool" AND draws < 0</s> |
CREATE TABLE table_name_52 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR) | SELECT telugu_తెలుగు FROM table_name_52 WHERE tamil_தமிழ் = "pūsam பூசம்" | Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்? | <s>[INST]Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்? Context: CREATE TABLE table_name_52 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR)[/INST]SELECT telugu_తెలుగు FROM table_name_52 WHERE tamil_தமிழ் = "pūsam பூசம்"</s> |
CREATE TABLE table_name_5 (team VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_name_5 WHERE replaced_by = "omar arellano" | What is Team, when Replaced By is "Omar Arellano"? | <s>[INST]What is Team, when Replaced By is "Omar Arellano"? Context: CREATE TABLE table_name_5 (team VARCHAR, replaced_by VARCHAR)[/INST]SELECT team FROM table_name_5 WHERE replaced_by = "omar arellano"</s> |
CREATE TABLE table_name_25 (record VARCHAR, location_attendance VARCHAR, date VARCHAR) | SELECT record FROM table_name_25 WHERE location_attendance = "the omni" AND date = "april 12" | What's the record on April 12 when the location was The Omni? | <s>[INST]What's the record on April 12 when the location was The Omni? Context: CREATE TABLE table_name_25 (record VARCHAR, location_attendance VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_25 WHERE location_attendance = "the omni" AND date = "april 12"</s> |
CREATE TABLE train (name VARCHAR, TIME VARCHAR, service VARCHAR) | SELECT name, TIME, service FROM train | Show the name, time, and service for all trains. | <s>[INST]Show the name, time, and service for all trains. Context: CREATE TABLE train (name VARCHAR, TIME VARCHAR, service VARCHAR)[/INST]SELECT name, TIME, service FROM train</s> |
CREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_41 WHERE away_team = "richmond" | What is the Crowd number for the Away team of Richmond? | <s>[INST]What is the Crowd number for the Away team of Richmond? Context: CREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_41 WHERE away_team = "richmond"</s> |
CREATE TABLE table_1974482_1 (location VARCHAR, founded VARCHAR) | SELECT location FROM table_1974482_1 WHERE founded = 1829 | Name the location for 1829 | <s>[INST]Name the location for 1829 Context: CREATE TABLE table_1974482_1 (location VARCHAR, founded VARCHAR)[/INST]SELECT location FROM table_1974482_1 WHERE founded = 1829</s> |
CREATE TABLE table_21991074_3 (lost INTEGER) | SELECT MIN(lost) FROM table_21991074_3 | Name the least lost | <s>[INST]Name the least lost Context: CREATE TABLE table_21991074_3 (lost INTEGER)[/INST]SELECT MIN(lost) FROM table_21991074_3</s> |
CREATE TABLE table_name_63 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT nhl_team FROM table_name_63 WHERE college_junior_club_team__league_ = "shattuck-saint mary's school (midget major aaa)" | which NHL team has a College/Junior/Club Team (League) of shattuck-saint mary's school (midget major aaa)? | <s>[INST]which NHL team has a College/Junior/Club Team (League) of shattuck-saint mary's school (midget major aaa)? Context: CREATE TABLE table_name_63 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR)[/INST]SELECT nhl_team FROM table_name_63 WHERE college_junior_club_team__league_ = "shattuck-saint mary's ... |
CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR) | SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian" | What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian? | <s>[INST]What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian? Context: CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian"</s> |
CREATE TABLE table_name_3 (league VARCHAR, year VARCHAR) | SELECT league FROM table_name_3 WHERE year = "1915/16" | Tell me the league for year of 1915/16 | <s>[INST]Tell me the league for year of 1915/16 Context: CREATE TABLE table_name_3 (league VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_name_3 WHERE year = "1915/16"</s> |
CREATE TABLE table_name_32 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_32 WHERE result = "l 41-37" | What is the attendance number when the result is l 41-37? | <s>[INST]What is the attendance number when the result is l 41-37? Context: CREATE TABLE table_name_32 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_32 WHERE result = "l 41-37"</s> |
CREATE TABLE table_name_95 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_95 WHERE date = "july 5, 2009" | What is the surface of the match on July 5, 2009? | <s>[INST]What is the surface of the match on July 5, 2009? Context: CREATE TABLE table_name_95 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_95 WHERE date = "july 5, 2009"</s> |
CREATE TABLE table_name_99 (date VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR) | SELECT date FROM table_name_99 WHERE opponent_in_the_final = "toshiaki sakai" AND surface = "grass" | On what date did the opponent in the Toshiaki Sakai final play on a grass surface? | <s>[INST]On what date did the opponent in the Toshiaki Sakai final play on a grass surface? Context: CREATE TABLE table_name_99 (date VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR)[/INST]SELECT date FROM table_name_99 WHERE opponent_in_the_final = "toshiaki sakai" AND surface = "grass"</s> |
CREATE TABLE table_name_70 (population INTEGER, per_capita_income VARCHAR) | SELECT AVG(population) FROM table_name_70 WHERE per_capita_income = "$29,194" | When the Per capita income is $29,194, what is the average population? | <s>[INST]When the Per capita income is $29,194, what is the average population? Context: CREATE TABLE table_name_70 (population INTEGER, per_capita_income VARCHAR)[/INST]SELECT AVG(population) FROM table_name_70 WHERE per_capita_income = "$29,194"</s> |
CREATE TABLE table_name_98 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR) | SELECT mintage FROM table_name_98 WHERE artist = "royal canadian mint engravers" AND year < 2008 AND issue_price = "$102.95" | What mintage for the royal canadian mint engravers before 2008 that has an issue price of $102.95? | <s>[INST]What mintage for the royal canadian mint engravers before 2008 that has an issue price of $102.95? Context: CREATE TABLE table_name_98 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR)[/INST]SELECT mintage FROM table_name_98 WHERE artist = "royal canadian mint engravers" AND year < 2008 AND ... |
CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR) | SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-60" | What all capacities have turbines between 50-60? | <s>[INST]What all capacities have turbines between 50-60? Context: CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR)[/INST]SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-60"</s> |
CREATE TABLE table_15607589_2 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_15607589_2 WHERE opponent = "New York Giants" | Name the record for new york giants | <s>[INST]Name the record for new york giants Context: CREATE TABLE table_15607589_2 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_15607589_2 WHERE opponent = "New York Giants"</s> |
CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs" | What venue has eng by 10 runs as the result? | <s>[INST]What venue has eng by 10 runs as the result? Context: CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs"</s> |
CREATE TABLE table_name_1 (round VARCHAR, position VARCHAR, pick__number VARCHAR) | SELECT COUNT(round) FROM table_name_1 WHERE position = "defensive tackle" AND pick__number < 19 | In what Round was a Defensive Tackle Pick # less than 19? | <s>[INST]In what Round was a Defensive Tackle Pick # less than 19? Context: CREATE TABLE table_name_1 (round VARCHAR, position VARCHAR, pick__number VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_1 WHERE position = "defensive tackle" AND pick__number < 19</s> |
CREATE TABLE table_26139378_1 (original_airdate VARCHAR, viewers__in_millions_ VARCHAR) | SELECT original_airdate FROM table_26139378_1 WHERE viewers__in_millions_ = "8.23" | What is the original airdate of the episode that had 8.23 million viewers? | <s>[INST]What is the original airdate of the episode that had 8.23 million viewers? Context: CREATE TABLE table_26139378_1 (original_airdate VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT original_airdate FROM table_26139378_1 WHERE viewers__in_millions_ = "8.23"</s> |
CREATE TABLE table_name_35 (no_of_hc_climbs VARCHAR, height__m_ VARCHAR, first_time_as_hc_climb VARCHAR, no_of_times_visited VARCHAR, most_recent VARCHAR) | SELECT no_of_hc_climbs FROM table_name_35 WHERE no_of_times_visited = 1 AND most_recent > 1984 AND first_time_as_hc_climb < 1994 AND height__m_ = "1900" | How many HC climbs had 1 visit more recently than 1984, a first HC climb before 1994, and a height of 1900? | <s>[INST]How many HC climbs had 1 visit more recently than 1984, a first HC climb before 1994, and a height of 1900? Context: CREATE TABLE table_name_35 (no_of_hc_climbs VARCHAR, height__m_ VARCHAR, first_time_as_hc_climb VARCHAR, no_of_times_visited VARCHAR, most_recent VARCHAR)[/INST]SELECT no_of_hc_climbs FROM table... |
CREATE TABLE table_name_54 (horse VARCHAR, competition VARCHAR) | SELECT horse FROM table_name_54 WHERE competition = "badminton horse trials" | What horse was at the Badminton Horse Trials? | <s>[INST]What horse was at the Badminton Horse Trials? Context: CREATE TABLE table_name_54 (horse VARCHAR, competition VARCHAR)[/INST]SELECT horse FROM table_name_54 WHERE competition = "badminton horse trials"</s> |
CREATE TABLE table_name_64 (date INTEGER, cores_per_die___dies_per_module VARCHAR, clock VARCHAR) | SELECT MAX(date) FROM table_name_64 WHERE cores_per_die___dies_per_module = "2 / 1" AND clock = "1.4-1.6ghz" | What is the latest date with Cores per die / Dies per module of 2 / 1, and a Clock of 1.4-1.6ghz? | <s>[INST]What is the latest date with Cores per die / Dies per module of 2 / 1, and a Clock of 1.4-1.6ghz? Context: CREATE TABLE table_name_64 (date INTEGER, cores_per_die___dies_per_module VARCHAR, clock VARCHAR)[/INST]SELECT MAX(date) FROM table_name_64 WHERE cores_per_die___dies_per_module = "2 / 1" AND clock = "1.4... |
CREATE TABLE table_name_34 (russian VARCHAR, translation VARCHAR) | SELECT russian FROM table_name_34 WHERE translation = "bucket" | What Russian word translates to bucket? | <s>[INST]What Russian word translates to bucket? Context: CREATE TABLE table_name_34 (russian VARCHAR, translation VARCHAR)[/INST]SELECT russian FROM table_name_34 WHERE translation = "bucket"</s> |
CREATE TABLE table_name_72 (area_km² VARCHAR, density__hab_km²_ VARCHAR) | SELECT area_km² FROM table_name_72 WHERE density__hab_km²_ = "955.6" | What is the area of the city with a density of 955.6? | <s>[INST]What is the area of the city with a density of 955.6? Context: CREATE TABLE table_name_72 (area_km² VARCHAR, density__hab_km²_ VARCHAR)[/INST]SELECT area_km² FROM table_name_72 WHERE density__hab_km²_ = "955.6"</s> |
CREATE TABLE Owners (last_name VARCHAR, owner_id VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, age INTEGER); CREATE TABLE Dogs (age INTEGER) | SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = (SELECT MAX(age) FROM Dogs) | List the last name of the owner owning the youngest dog. | <s>[INST]List the last name of the owner owning the youngest dog. Context: CREATE TABLE Owners (last_name VARCHAR, owner_id VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, age INTEGER); CREATE TABLE Dogs (age INTEGER)[/INST]SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age =... |
CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID | What are the names of body builders? | <s>[INST]What are the names of body builders? Context: CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID</s> |
CREATE TABLE table_name_18 (second VARCHAR, sixth VARCHAR) | SELECT second FROM table_name_18 WHERE sixth = "victoria" | What is SECOND, when SIXTH is Victoria? | <s>[INST]What is SECOND, when SIXTH is Victoria? Context: CREATE TABLE table_name_18 (second VARCHAR, sixth VARCHAR)[/INST]SELECT second FROM table_name_18 WHERE sixth = "victoria"</s> |
CREATE TABLE table_name_88 (bronze VARCHAR, gold VARCHAR, total VARCHAR) | SELECT COUNT(bronze) FROM table_name_88 WHERE gold > 0 AND total < 1 | How much Bronze has a Gold larger than 0, and a Total smaller than 1? | <s>[INST]How much Bronze has a Gold larger than 0, and a Total smaller than 1? Context: CREATE TABLE table_name_88 (bronze VARCHAR, gold VARCHAR, total VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_88 WHERE gold > 0 AND total < 1</s> |
CREATE TABLE table_name_42 (team VARCHAR, arena VARCHAR) | SELECT team FROM table_name_42 WHERE arena = "toyota höllin" | What team is in the toyota höllin arena? | <s>[INST]What team is in the toyota höllin arena? Context: CREATE TABLE table_name_42 (team VARCHAR, arena VARCHAR)[/INST]SELECT team FROM table_name_42 WHERE arena = "toyota höllin"</s> |
CREATE TABLE table_name_33 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_33 WHERE home = "winnipeg" | Who was the visiting team when Winnipeg was the home team? | <s>[INST]Who was the visiting team when Winnipeg was the home team? Context: CREATE TABLE table_name_33 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_33 WHERE home = "winnipeg"</s> |
CREATE TABLE table_name_36 (balls VARCHAR, strike_rate VARCHAR) | SELECT balls FROM table_name_36 WHERE strike_rate = "70.10" | When the strike rate is 70.10, what is the balls? | <s>[INST]When the strike rate is 70.10, what is the balls? Context: CREATE TABLE table_name_36 (balls VARCHAR, strike_rate VARCHAR)[/INST]SELECT balls FROM table_name_36 WHERE strike_rate = "70.10"</s> |
CREATE TABLE table_name_53 (season VARCHAR, club VARCHAR) | SELECT season FROM table_name_53 WHERE club = "celtic" | Which season has the Celtic club? | <s>[INST]Which season has the Celtic club? Context: CREATE TABLE table_name_53 (season VARCHAR, club VARCHAR)[/INST]SELECT season FROM table_name_53 WHERE club = "celtic"</s> |
CREATE TABLE table_name_45 (class VARCHAR, machine VARCHAR, points VARCHAR) | SELECT class FROM table_name_45 WHERE machine = "nsr250" AND points > 97 | What class has nsr250 as the machine, with points greater than 97? | <s>[INST]What class has nsr250 as the machine, with points greater than 97? Context: CREATE TABLE table_name_45 (class VARCHAR, machine VARCHAR, points VARCHAR)[/INST]SELECT class FROM table_name_45 WHERE machine = "nsr250" AND points > 97</s> |
CREATE TABLE table_name_26 (season VARCHAR, player VARCHAR) | SELECT COUNT(season) FROM table_name_26 WHERE player = "rohan ricketts" | Which seaosn had a player of rohan ricketts? | <s>[INST]Which seaosn had a player of rohan ricketts? Context: CREATE TABLE table_name_26 (season VARCHAR, player VARCHAR)[/INST]SELECT COUNT(season) FROM table_name_26 WHERE player = "rohan ricketts"</s> |
CREATE TABLE table_name_73 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_73 WHERE date = "16 november 2007" | Which Surface has a Date of 16 november 2007? | <s>[INST]Which Surface has a Date of 16 november 2007? Context: CREATE TABLE table_name_73 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_73 WHERE date = "16 november 2007"</s> |
CREATE TABLE table_15869204_7 (team VARCHAR, date VARCHAR) | SELECT COUNT(team) FROM table_15869204_7 WHERE date = "February 18" | How many teams are listed for February 18? | <s>[INST]How many teams are listed for February 18? Context: CREATE TABLE table_15869204_7 (team VARCHAR, date VARCHAR)[/INST]SELECT COUNT(team) FROM table_15869204_7 WHERE date = "February 18"</s> |
CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR) | SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath" | Which team had a year entering the league under 2009, located in Bath? | <s>[INST]Which team had a year entering the league under 2009, located in Bath? Context: CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR)[/INST]SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath"</s> |
CREATE TABLE table_name_62 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_62 WHERE attendance = "63,546" | On what Date was the Attendance 63,546? | <s>[INST]On what Date was the Attendance 63,546? Context: CREATE TABLE table_name_62 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE attendance = "63,546"</s> |
CREATE TABLE table_name_56 (western_title VARCHAR, genre VARCHAR) | SELECT western_title FROM table_name_56 WHERE genre = "puzzle" | What is the western title for the puzzle genre? | <s>[INST]What is the western title for the puzzle genre? Context: CREATE TABLE table_name_56 (western_title VARCHAR, genre VARCHAR)[/INST]SELECT western_title FROM table_name_56 WHERE genre = "puzzle"</s> |
CREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR) | SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = "team 3G" | What is tthe lowest number on team 3g? | <s>[INST]What is tthe lowest number on team 3g? Context: CREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR)[/INST]SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = "team 3G"</s> |
CREATE TABLE CARS_DATA (YEAR INTEGER); CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Year VARCHAR, Id VARCHAR) | SELECT T2.Make, T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT MIN(YEAR) FROM CARS_DATA) | Find the make and production time of the cars that were produced in the earliest year? | <s>[INST]Find the make and production time of the cars that were produced in the earliest year? Context: CREATE TABLE CARS_DATA (YEAR INTEGER); CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Year VARCHAR, Id VARCHAR)[/INST]SELECT T2.Make, T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2... |
CREATE TABLE table_name_22 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_22 WHERE away_team = "north melbourne" | What is the average crowd size for games with north melbourne as the away side? | <s>[INST]What is the average crowd size for games with north melbourne as the away side? Context: CREATE TABLE table_name_22 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_22 WHERE away_team = "north melbourne"</s> |
CREATE TABLE genres (name VARCHAR) | SELECT DISTINCT name FROM genres | List all different genre types. | <s>[INST]List all different genre types. Context: CREATE TABLE genres (name VARCHAR)[/INST]SELECT DISTINCT name FROM genres</s> |
CREATE TABLE table_name_80 (play_by_play VARCHAR, studio_host VARCHAR) | SELECT play_by_play FROM table_name_80 WHERE studio_host = "jimmy myers" | Studio host of jimmy myers had what play by play? | <s>[INST]Studio host of jimmy myers had what play by play? Context: CREATE TABLE table_name_80 (play_by_play VARCHAR, studio_host VARCHAR)[/INST]SELECT play_by_play FROM table_name_80 WHERE studio_host = "jimmy myers"</s> |
CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR) | SELECT 2 AS nd_leg FROM table_name_19 WHERE home__2nd_leg_ = "newell's old boys" | What was the score of the 2nd leg when Newell's Old Boys played at home? | <s>[INST]What was the score of the 2nd leg when Newell's Old Boys played at home? Context: CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_19 WHERE home__2nd_leg_ = "newell's old boys"</s> |
CREATE TABLE table_name_23 (silver INTEGER, nation VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_23 WHERE nation = "belarus" AND total < 1 | What average silver has belarus as the nation, with a total less than 1? | <s>[INST]What average silver has belarus as the nation, with a total less than 1? Context: CREATE TABLE table_name_23 (silver INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_23 WHERE nation = "belarus" AND total < 1</s> |
CREATE TABLE table_name_27 (top_25 INTEGER, wins INTEGER) | SELECT AVG(top_25) FROM table_name_27 WHERE wins > 0 | What is the average top-25 value for majors that have more than 0 wins? | <s>[INST]What is the average top-25 value for majors that have more than 0 wins? Context: CREATE TABLE table_name_27 (top_25 INTEGER, wins INTEGER)[/INST]SELECT AVG(top_25) FROM table_name_27 WHERE wins > 0</s> |
CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR) | SELECT round FROM table_21256068_3 WHERE score = "50-10" | state the round that had a game score 50-10 | <s>[INST]state the round that had a game score 50-10 Context: CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR)[/INST]SELECT round FROM table_21256068_3 WHERE score = "50-10"</s> |
CREATE TABLE table_name_39 (lifetime_achievement VARCHAR, year VARCHAR) | SELECT lifetime_achievement FROM table_name_39 WHERE year = 1998 | who won the lifetime achievement in the year 1998? | <s>[INST]who won the lifetime achievement in the year 1998? Context: CREATE TABLE table_name_39 (lifetime_achievement VARCHAR, year VARCHAR)[/INST]SELECT lifetime_achievement FROM table_name_39 WHERE year = 1998</s> |
CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR) | SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56" | What location has more than 2 games with 2:56? | <s>[INST]What location has more than 2 games with 2:56? Context: CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR)[/INST]SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56"</s> |
CREATE TABLE table_name_74 (year_s__of_manufacture VARCHAR, quantity VARCHAR, axle_arrangement___uic__ VARCHAR) | SELECT year_s__of_manufacture FROM table_name_74 WHERE quantity = 31 AND axle_arrangement___uic__ = "b n2t" | What year was the b n2t axle arrangement, which has a quantity of 31, manufactured? | <s>[INST]What year was the b n2t axle arrangement, which has a quantity of 31, manufactured? Context: CREATE TABLE table_name_74 (year_s__of_manufacture VARCHAR, quantity VARCHAR, axle_arrangement___uic__ VARCHAR)[/INST]SELECT year_s__of_manufacture FROM table_name_74 WHERE quantity = 31 AND axle_arrangement___uic__ = ... |
CREATE TABLE table_name_20 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_20 WHERE away_team = "ipswich town" | What is Date, when Away Team is "Ipswich Town"? | <s>[INST]What is Date, when Away Team is "Ipswich Town"? Context: CREATE TABLE table_name_20 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE away_team = "ipswich town"</s> |
CREATE TABLE table_name_59 (marriage VARCHAR, death VARCHAR) | SELECT marriage FROM table_name_59 WHERE death = "6 dec 1240" | When did the person who died on 6 Dec 1240 get married? | <s>[INST]When did the person who died on 6 Dec 1240 get married? Context: CREATE TABLE table_name_59 (marriage VARCHAR, death VARCHAR)[/INST]SELECT marriage FROM table_name_59 WHERE death = "6 dec 1240"</s> |
CREATE TABLE roller_coaster (Country_ID VARCHAR); CREATE TABLE country (Name VARCHAR, Country_ID VARCHAR) | SELECT T1.Name FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name HAVING COUNT(*) > 1 | Show the names of countries that have more than one roller coaster. | <s>[INST]Show the names of countries that have more than one roller coaster. Context: CREATE TABLE roller_coaster (Country_ID VARCHAR); CREATE TABLE country (Name VARCHAR, Country_ID VARCHAR)[/INST]SELECT T1.Name FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name HAVING COUNT... |
CREATE TABLE table_29127804_3 (date VARCHAR, location VARCHAR) | SELECT date FROM table_29127804_3 WHERE location = "Bangalore , Karnataka, India" | what is the date of the game played in the bangalore , karnataka, india location | <s>[INST]what is the date of the game played in the bangalore , karnataka, india location Context: CREATE TABLE table_29127804_3 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_29127804_3 WHERE location = "Bangalore , Karnataka, India"</s> |
CREATE TABLE table_name_31 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_name_31 WHERE cfl_team = "saskatchewan roughriders (via toronto)" | What position did the player from the saskatchewan roughriders (via toronto) play? | <s>[INST]What position did the player from the saskatchewan roughriders (via toronto) play? Context: CREATE TABLE table_name_31 (position VARCHAR, cfl_team VARCHAR)[/INST]SELECT position FROM table_name_31 WHERE cfl_team = "saskatchewan roughriders (via toronto)"</s> |
CREATE TABLE table_24776075_2 (final_score VARCHAR, date VARCHAR) | SELECT COUNT(final_score) FROM table_24776075_2 WHERE date = "Sunday, May 12" | How many final score datas are there on Sunday, May 12? | <s>[INST]How many final score datas are there on Sunday, May 12? Context: CREATE TABLE table_24776075_2 (final_score VARCHAR, date VARCHAR)[/INST]SELECT COUNT(final_score) FROM table_24776075_2 WHERE date = "Sunday, May 12"</s> |
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_62 WHERE record = "59–59" | On what date was the record 59–59? | <s>[INST]On what date was the record 59–59? Context: CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE record = "59–59"</s> |
CREATE TABLE table_name_91 (match INTEGER, attnd VARCHAR, result VARCHAR, opponent VARCHAR) | SELECT SUM(match) FROM table_name_91 WHERE result = "0:3 (0:2)" AND opponent = "fcr 2001 duisburg" AND attnd > 1 OFFSET 490 | Which match had more than 1,490 people in attendance to watch FCR 2001 Duisburg have a result of 0:3 (0:2)? | <s>[INST]Which match had more than 1,490 people in attendance to watch FCR 2001 Duisburg have a result of 0:3 (0:2)? Context: CREATE TABLE table_name_91 (match INTEGER, attnd VARCHAR, result VARCHAR, opponent VARCHAR)[/INST]SELECT SUM(match) FROM table_name_91 WHERE result = "0:3 (0:2)" AND opponent = "fcr 2001 duisbur... |
CREATE TABLE table_15869204_5 (high_assists VARCHAR, location_attendance VARCHAR) | SELECT high_assists FROM table_15869204_5 WHERE location_attendance = "Delta Center 19,639" | Name the high assists for delta center 19,639 | <s>[INST]Name the high assists for delta center 19,639 Context: CREATE TABLE table_15869204_5 (high_assists VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_assists FROM table_15869204_5 WHERE location_attendance = "Delta Center 19,639"</s> |
CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR) | SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5254 T4" | what's the model name with engine code being b5254 t4 | <s>[INST]what's the model name with engine code being b5254 t4 Context: CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR)[/INST]SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5254 T4"</s> |
CREATE TABLE table_name_15 (democratic VARCHAR) | SELECT 2008 AS _status FROM table_name_15 WHERE democratic = "rosa delauro" | What's the 2008 Status of Rosa Delauro? | <s>[INST]What's the 2008 Status of Rosa Delauro? Context: CREATE TABLE table_name_15 (democratic VARCHAR)[/INST]SELECT 2008 AS _status FROM table_name_15 WHERE democratic = "rosa delauro"</s> |
CREATE TABLE table_1850339_2 (air_force___navy_score VARCHAR, season VARCHAR) | SELECT air_force___navy_score FROM table_1850339_2 WHERE season = 2018 | What's the Air Force - Navy score in the 2018 season? | <s>[INST]What's the Air Force - Navy score in the 2018 season? Context: CREATE TABLE table_1850339_2 (air_force___navy_score VARCHAR, season VARCHAR)[/INST]SELECT air_force___navy_score FROM table_1850339_2 WHERE season = 2018</s> |
CREATE TABLE table_name_26 (shutdown VARCHAR, electricity_grid VARCHAR) | SELECT shutdown FROM table_name_26 WHERE electricity_grid = "28.12.1972" | When did the Electricity Grid 28.12.1972 officially shutdown? | <s>[INST]When did the Electricity Grid 28.12.1972 officially shutdown? Context: CREATE TABLE table_name_26 (shutdown VARCHAR, electricity_grid VARCHAR)[/INST]SELECT shutdown FROM table_name_26 WHERE electricity_grid = "28.12.1972"</s> |
CREATE TABLE table_name_19 (position INTEGER, against VARCHAR, team VARCHAR) | SELECT AVG(position) FROM table_name_19 WHERE against < 57 AND team = "juventus" | What is the average Position with less than 57 against and the team is Juventus? | <s>[INST]What is the average Position with less than 57 against and the team is Juventus? Context: CREATE TABLE table_name_19 (position INTEGER, against VARCHAR, team VARCHAR)[/INST]SELECT AVG(position) FROM table_name_19 WHERE against < 57 AND team = "juventus"</s> |
CREATE TABLE table_11244302_1 (air_date VARCHAR, share VARCHAR) | SELECT air_date FROM table_11244302_1 WHERE share = 11 | Which air date had an 11 share | <s>[INST]Which air date had an 11 share Context: CREATE TABLE table_11244302_1 (air_date VARCHAR, share VARCHAR)[/INST]SELECT air_date FROM table_11244302_1 WHERE share = 11</s> |
CREATE TABLE table_name_24 (seven VARCHAR, date VARCHAR) | SELECT seven FROM table_name_24 WHERE date = "29 november 1690" | Name the seven for 29 november 1690 | <s>[INST]Name the seven for 29 november 1690 Context: CREATE TABLE table_name_24 (seven VARCHAR, date VARCHAR)[/INST]SELECT seven FROM table_name_24 WHERE date = "29 november 1690"</s> |
CREATE TABLE table_name_56 (opponent VARCHAR, october INTEGER) | SELECT opponent FROM table_name_56 WHERE october > 28 | What is the Opponent of the game after October 28? | <s>[INST]What is the Opponent of the game after October 28? Context: CREATE TABLE table_name_56 (opponent VARCHAR, october INTEGER)[/INST]SELECT opponent FROM table_name_56 WHERE october > 28</s> |
CREATE TABLE table_name_63 (byes INTEGER, wins VARCHAR, losses VARCHAR) | SELECT SUM(byes) FROM table_name_63 WHERE wins = 11 AND losses < 5 | How many byes when there are 11 wins and fewer than 5 losses? | <s>[INST]How many byes when there are 11 wins and fewer than 5 losses? Context: CREATE TABLE table_name_63 (byes INTEGER, wins VARCHAR, losses VARCHAR)[/INST]SELECT SUM(byes) FROM table_name_63 WHERE wins = 11 AND losses < 5</s> |
CREATE TABLE table_27003223_4 (population INTEGER, democratic VARCHAR) | SELECT MIN(population) FROM table_27003223_4 WHERE democratic = "28.0%" | What is the lowest population in which 28.0% are democrat? | <s>[INST]What is the lowest population in which 28.0% are democrat? Context: CREATE TABLE table_27003223_4 (population INTEGER, democratic VARCHAR)[/INST]SELECT MIN(population) FROM table_27003223_4 WHERE democratic = "28.0%"</s> |
CREATE TABLE table_name_55 (years_as_tallest VARCHAR, height_ft__m_ VARCHAR) | SELECT years_as_tallest FROM table_name_55 WHERE height_ft__m_ = "145 (44)" | What is the Years as tallest of the Building with a Height ft (m) of 145 (44)? | <s>[INST]What is the Years as tallest of the Building with a Height ft (m) of 145 (44)? Context: CREATE TABLE table_name_55 (years_as_tallest VARCHAR, height_ft__m_ VARCHAR)[/INST]SELECT years_as_tallest FROM table_name_55 WHERE height_ft__m_ = "145 (44)"</s> |
CREATE TABLE table_name_56 (date VARCHAR, city VARCHAR) | SELECT date FROM table_name_56 WHERE city = "salford" | What day did they play in salford? | <s>[INST]What day did they play in salford? Context: CREATE TABLE table_name_56 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE city = "salford"</s> |
CREATE TABLE table_name_14 (position VARCHAR, height VARCHAR, shirt_no VARCHAR) | SELECT position FROM table_name_14 WHERE height = 205 AND shirt_no = 8 | What is the position of the player with a height of 205 and shirt no 8? | <s>[INST]What is the position of the player with a height of 205 and shirt no 8? Context: CREATE TABLE table_name_14 (position VARCHAR, height VARCHAR, shirt_no VARCHAR)[/INST]SELECT position FROM table_name_14 WHERE height = 205 AND shirt_no = 8</s> |
CREATE TABLE table_name_35 (episode INTEGER, performer_4 VARCHAR) | SELECT AVG(episode) FROM table_name_35 WHERE performer_4 = "jimmy mulville" | What is the average episode number where jimmy mulville was the 4th performer? | <s>[INST]What is the average episode number where jimmy mulville was the 4th performer? Context: CREATE TABLE table_name_35 (episode INTEGER, performer_4 VARCHAR)[/INST]SELECT AVG(episode) FROM table_name_35 WHERE performer_4 = "jimmy mulville"</s> |
CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, ova__harmony_gold_dub_ VARCHAR) | SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Dr. Kozaburo Nambu" | Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu? | <s>[INST]Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu? Context: CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, ova__harmony_gold_dub_ VARCHAR)[/INST]SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Dr. Kozaburo Nambu"</s> |
CREATE TABLE table_name_57 (displacement VARCHAR, power VARCHAR) | SELECT displacement FROM table_name_57 WHERE power = "185hp (138kw)" | What Displacement has 185hp (138kw) Power o | <s>[INST]What Displacement has 185hp (138kw) Power o Context: CREATE TABLE table_name_57 (displacement VARCHAR, power VARCHAR)[/INST]SELECT displacement FROM table_name_57 WHERE power = "185hp (138kw)"</s> |
CREATE TABLE table_2012187_1 (winnings VARCHAR, poles VARCHAR, team_s_ VARCHAR) | SELECT winnings FROM table_2012187_1 WHERE poles = 0 AND team_s_ = "Yates Racing Front Row Motorsports" | state the winnings of yates racing front row motorsports where poles were 0 | <s>[INST]state the winnings of yates racing front row motorsports where poles were 0 Context: CREATE TABLE table_2012187_1 (winnings VARCHAR, poles VARCHAR, team_s_ VARCHAR)[/INST]SELECT winnings FROM table_2012187_1 WHERE poles = 0 AND team_s_ = "Yates Racing Front Row Motorsports"</s> |
CREATE TABLE table_name_63 (elevator VARCHAR, elector VARCHAR) | SELECT elevator FROM table_name_63 WHERE elector = "giovanni gaetano orsini" | When Giovanni Gaetano Orsini was the elector who was the elevator? | <s>[INST]When Giovanni Gaetano Orsini was the elector who was the elevator? Context: CREATE TABLE table_name_63 (elevator VARCHAR, elector VARCHAR)[/INST]SELECT elevator FROM table_name_63 WHERE elector = "giovanni gaetano orsini"</s> |
CREATE TABLE table_27369069_4 (varsity_name VARCHAR, university VARCHAR) | SELECT varsity_name FROM table_27369069_4 WHERE university = "McGill university" | What is the varsity name of the university of mcgill university? | <s>[INST]What is the varsity name of the university of mcgill university? Context: CREATE TABLE table_27369069_4 (varsity_name VARCHAR, university VARCHAR)[/INST]SELECT varsity_name FROM table_27369069_4 WHERE university = "McGill university"</s> |
CREATE TABLE table_name_86 (latitude VARCHAR, year_named VARCHAR, name VARCHAR) | SELECT latitude FROM table_name_86 WHERE year_named > 1997 AND name = "alajen vallis" | What is the Latitude of the Alajen Vallis named after 1997? | <s>[INST]What is the Latitude of the Alajen Vallis named after 1997? Context: CREATE TABLE table_name_86 (latitude VARCHAR, year_named VARCHAR, name VARCHAR)[/INST]SELECT latitude FROM table_name_86 WHERE year_named > 1997 AND name = "alajen vallis"</s> |
CREATE TABLE table_name_17 (long VARCHAR, avg_g VARCHAR) | SELECT long FROM table_name_17 WHERE avg_g = "160.9" | What is the long value for the year with an average/game of 160.9? | <s>[INST]What is the long value for the year with an average/game of 160.9? Context: CREATE TABLE table_name_17 (long VARCHAR, avg_g VARCHAR)[/INST]SELECT long FROM table_name_17 WHERE avg_g = "160.9"</s> |
CREATE TABLE table_name_1 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR) | SELECT SUM(matches) FROM table_name_1 WHERE nationality = "england" AND lost > 39 AND win__percentage = 28.7 AND drawn < 37 | Nationality of england, and a Lost larger than 39, and a Win % of 28.7, and a Drawn smaller than 37 had what sum of matches? | <s>[INST]Nationality of england, and a Lost larger than 39, and a Win % of 28.7, and a Drawn smaller than 37 had what sum of matches? Context: CREATE TABLE table_name_1 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR)[/INST]SELECT SUM(matches) FROM table_name_1 WHERE national... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.