context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE wedding (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR); CREATE TABLE people (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR) | SELECT name, age FROM people WHERE is_male = 'T' AND NOT people_id IN (SELECT male_id FROM wedding) | Show the name and age for all male people who don't have a wedding. | <s>[INST]Show the name and age for all male people who don't have a wedding. Context: CREATE TABLE wedding (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR); CREATE TABLE people (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR)[/INST]SELECT name, age FROM pe... |
CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "footscray" | What is the size of the crowd for the game with Footscray as the home team? | <s>[INST]What is the size of the crowd for the game with Footscray as the home team? Context: CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_42 (rank VARCHAR, nation VARCHAR) | SELECT rank FROM table_name_42 WHERE nation = "austria" | Which rank is Austria? | <s>[INST]Which rank is Austria? Context: CREATE TABLE table_name_42 (rank VARCHAR, nation VARCHAR)[/INST]SELECT rank FROM table_name_42 WHERE nation = "austria"</s> |
CREATE TABLE table_name_5 (year_joined VARCHAR, school VARCHAR) | SELECT year_joined FROM table_name_5 WHERE school = "jennings county" | What year did a school from Jennings County join? | <s>[INST]What year did a school from Jennings County join? Context: CREATE TABLE table_name_5 (year_joined VARCHAR, school VARCHAR)[/INST]SELECT year_joined FROM table_name_5 WHERE school = "jennings county"</s> |
CREATE TABLE table_2950964_1 (title VARCHAR, _number VARCHAR) | SELECT title FROM table_2950964_1 WHERE _number = "8" | What is the title of book number 8? | <s>[INST]What is the title of book number 8? Context: CREATE TABLE table_2950964_1 (title VARCHAR, _number VARCHAR)[/INST]SELECT title FROM table_2950964_1 WHERE _number = "8"</s> |
CREATE TABLE table_name_65 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_65 WHERE home = "bobcats" | Name the record for bobcats | <s>[INST]Name the record for bobcats Context: CREATE TABLE table_name_65 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_65 WHERE home = "bobcats"</s> |
CREATE TABLE table_name_12 (constructor VARCHAR, rank VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_12 WHERE rank > 10 AND driver = "joe james" | Who constructed Joe James car when his rank was more than 10? | <s>[INST]Who constructed Joe James car when his rank was more than 10? Context: CREATE TABLE table_name_12 (constructor VARCHAR, rank VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_12 WHERE rank > 10 AND driver = "joe james"</s> |
CREATE TABLE table_name_68 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals" | What is the nationality of the Washington Capitals? | <s>[INST]What is the nationality of the Washington Capitals? Context: CREATE TABLE table_name_68 (nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals"</s> |
CREATE TABLE table_name_96 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_96 WHERE place = "t8" | What was the score when the place was t8? | <s>[INST]What was the score when the place was t8? Context: CREATE TABLE table_name_96 (score VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_96 WHERE place = "t8"</s> |
CREATE TABLE table_name_80 (build_date VARCHAR, prr_class VARCHAR) | SELECT build_date FROM table_name_80 WHERE prr_class = "gf30a" | What is the build date for PRR Class gf30a? | <s>[INST]What is the build date for PRR Class gf30a? Context: CREATE TABLE table_name_80 (build_date VARCHAR, prr_class VARCHAR)[/INST]SELECT build_date FROM table_name_80 WHERE prr_class = "gf30a"</s> |
CREATE TABLE table_name_11 (grid INTEGER, rider VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_11 WHERE rider = "randy de puniet" AND laps < 24 | Which Grid has a Rider of randy de puniet, and Laps smaller than 24? | <s>[INST]Which Grid has a Rider of randy de puniet, and Laps smaller than 24? Context: CREATE TABLE table_name_11 (grid INTEGER, rider VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_11 WHERE rider = "randy de puniet" AND laps < 24</s> |
CREATE TABLE table_name_58 (series VARCHAR, game VARCHAR) | SELECT series FROM table_name_58 WHERE game = "game 6" | Name the series with game of game 6 | <s>[INST]Name the series with game of game 6 Context: CREATE TABLE table_name_58 (series VARCHAR, game VARCHAR)[/INST]SELECT series FROM table_name_58 WHERE game = "game 6"</s> |
CREATE TABLE table_name_5 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_5 WHERE date = "8/6/03" | What venue is on the date of 8/6/03 | <s>[INST]What venue is on the date of 8/6/03 Context: CREATE TABLE table_name_5 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_5 WHERE date = "8/6/03"</s> |
CREATE TABLE table_name_89 (year INTEGER, accolade VARCHAR, rank VARCHAR) | SELECT MAX(year) FROM table_name_89 WHERE accolade = "singles of 1999" AND rank = "22" | Name the highest year with rank of 22 and accolade of singles of 1999 | <s>[INST]Name the highest year with rank of 22 and accolade of singles of 1999 Context: CREATE TABLE table_name_89 (year INTEGER, accolade VARCHAR, rank VARCHAR)[/INST]SELECT MAX(year) FROM table_name_89 WHERE accolade = "singles of 1999" AND rank = "22"</s> |
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR) | SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'striker' | Find the states of the colleges that have students in the tryout who played in striker position. | <s>[INST]Find the states of the colleges that have students in the tryout who played in striker position. Context: CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)[/INST]SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'str... |
CREATE TABLE table_name_96 (venue VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_96 WHERE date = "1 june 1929" AND away_team = "richmond" | What is the venue for the game on 1 June 1929 where Richmond was the away team? | <s>[INST]What is the venue for the game on 1 June 1929 where Richmond was the away team? Context: CREATE TABLE table_name_96 (venue VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_96 WHERE date = "1 june 1929" AND away_team = "richmond"</s> |
CREATE TABLE table_name_8 (time INTEGER, nationality VARCHAR, lane VARCHAR) | SELECT AVG(time) FROM table_name_8 WHERE nationality = "united states" AND lane < 5 | The swimmer from the United States in a lane less than 5, had what as the average time? | <s>[INST]The swimmer from the United States in a lane less than 5, had what as the average time? Context: CREATE TABLE table_name_8 (time INTEGER, nationality VARCHAR, lane VARCHAR)[/INST]SELECT AVG(time) FROM table_name_8 WHERE nationality = "united states" AND lane < 5</s> |
CREATE TABLE table_name_74 (popular_votes VARCHAR, office VARCHAR, year VARCHAR) | SELECT COUNT(popular_votes) FROM table_name_74 WHERE office = "mn attorney general" AND year = 1994 | Name the total number of popular votes for mn attorney general in 1994 | <s>[INST]Name the total number of popular votes for mn attorney general in 1994 Context: CREATE TABLE table_name_74 (popular_votes VARCHAR, office VARCHAR, year VARCHAR)[/INST]SELECT COUNT(popular_votes) FROM table_name_74 WHERE office = "mn attorney general" AND year = 1994</s> |
CREATE TABLE table_29171931_3 (incoming_head_coach VARCHAR, outgoing_head_coach VARCHAR) | SELECT incoming_head_coach FROM table_29171931_3 WHERE outgoing_head_coach = "Wan Jamak Wan Hassan" | Who was the incoming head coach after Wan Jamak Wan Hassan quit the coaching job? | <s>[INST]Who was the incoming head coach after Wan Jamak Wan Hassan quit the coaching job? Context: CREATE TABLE table_29171931_3 (incoming_head_coach VARCHAR, outgoing_head_coach VARCHAR)[/INST]SELECT incoming_head_coach FROM table_29171931_3 WHERE outgoing_head_coach = "Wan Jamak Wan Hassan"</s> |
CREATE TABLE table_name_29 (mwehl_team VARCHAR, player VARCHAR) | SELECT mwehl_team FROM table_name_29 WHERE player = "ben johnson" | Which MWEHL team has player Ben Johnson? | <s>[INST]Which MWEHL team has player Ben Johnson? Context: CREATE TABLE table_name_29 (mwehl_team VARCHAR, player VARCHAR)[/INST]SELECT mwehl_team FROM table_name_29 WHERE player = "ben johnson"</s> |
CREATE TABLE table_29033869_3 (round INTEGER, opponent VARCHAR, date VARCHAR) | SELECT MIN(round) FROM table_29033869_3 WHERE opponent = "Melbourne" AND date = "Saturday, 4 April 2:10pm" | What is the round number of the round against melbourne on saturday, 4 april 2:10pm? | <s>[INST]What is the round number of the round against melbourne on saturday, 4 april 2:10pm? Context: CREATE TABLE table_29033869_3 (round INTEGER, opponent VARCHAR, date VARCHAR)[/INST]SELECT MIN(round) FROM table_29033869_3 WHERE opponent = "Melbourne" AND date = "Saturday, 4 April 2:10pm"</s> |
CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR) | SELECT best_finish FROM table_name_10 WHERE top_10s > 0 AND scoring_average = 73.04 | When the Top 10s is larger than 0 and the scoring average 73.04, what is the best finish? | <s>[INST]When the Top 10s is larger than 0 and the scoring average 73.04, what is the best finish? Context: CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR)[/INST]SELECT best_finish FROM table_name_10 WHERE top_10s > 0 AND scoring_average = 73.04</s> |
CREATE TABLE table_name_44 (player VARCHAR, date VARCHAR, transfer_fee VARCHAR) | SELECT player FROM table_name_44 WHERE date = "31 jan. 2008" AND transfer_fee = "£3.87m" | Which Player had a Date of 31 jan. 2008, and a Transfer fee of £3.87m? | <s>[INST]Which Player had a Date of 31 jan. 2008, and a Transfer fee of £3.87m? Context: CREATE TABLE table_name_44 (player VARCHAR, date VARCHAR, transfer_fee VARCHAR)[/INST]SELECT player FROM table_name_44 WHERE date = "31 jan. 2008" AND transfer_fee = "£3.87m"</s> |
CREATE TABLE table_name_8 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_8 WHERE player = "vijay singh" | Name the score for vijay singh | <s>[INST]Name the score for vijay singh Context: CREATE TABLE table_name_8 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE player = "vijay singh"</s> |
CREATE TABLE table_name_19 (tonnage VARCHAR, date VARCHAR) | SELECT tonnage FROM table_name_19 WHERE date = "14" | With 14 under the date, what is the tonnage of the ship? | <s>[INST]With 14 under the date, what is the tonnage of the ship? Context: CREATE TABLE table_name_19 (tonnage VARCHAR, date VARCHAR)[/INST]SELECT tonnage FROM table_name_19 WHERE date = "14"</s> |
CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR) | SELECT name FROM table_name_19 WHERE investigation = "thrombus imaging" | Tell me the naame of Investigation of thrombus imaging | <s>[INST]Tell me the naame of Investigation of thrombus imaging Context: CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR)[/INST]SELECT name FROM table_name_19 WHERE investigation = "thrombus imaging"</s> |
CREATE TABLE table_10592536_8 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_10592536_8 WHERE team = "Wigan Athletic" | Who replaced when team is wigan athletic? | <s>[INST]Who replaced when team is wigan athletic? Context: CREATE TABLE table_10592536_8 (replaced_by VARCHAR, team VARCHAR)[/INST]SELECT replaced_by FROM table_10592536_8 WHERE team = "Wigan Athletic"</s> |
CREATE TABLE table_name_47 (genes VARCHAR, species VARCHAR) | SELECT genes FROM table_name_47 WHERE species = "rubrobacter xylanophilus" | How many genes in the species Rubrobacter Xylanophilus? | <s>[INST]How many genes in the species Rubrobacter Xylanophilus? Context: CREATE TABLE table_name_47 (genes VARCHAR, species VARCHAR)[/INST]SELECT genes FROM table_name_47 WHERE species = "rubrobacter xylanophilus"</s> |
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR) | SELECT T2.customer_name FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1 | Show the names of customers who have the most mailshots. | <s>[INST]Show the names of customers who have the most mailshots. Context: CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR)[/INST]SELECT T2.customer_name FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP ... |
CREATE TABLE table_name_81 (year VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT year FROM table_name_81 WHERE points = 0 AND chassis = "ags jh23b" | Which year had 0 points and an AGS JH23B chassis? | <s>[INST]Which year had 0 points and an AGS JH23B chassis? Context: CREATE TABLE table_name_81 (year VARCHAR, points VARCHAR, chassis VARCHAR)[/INST]SELECT year FROM table_name_81 WHERE points = 0 AND chassis = "ags jh23b"</s> |
CREATE TABLE table_225880_1 (winning_score VARCHAR, championship VARCHAR) | SELECT winning_score FROM table_225880_1 WHERE championship = "PGA championship" | Name the winning score for pga championship | <s>[INST]Name the winning score for pga championship Context: CREATE TABLE table_225880_1 (winning_score VARCHAR, championship VARCHAR)[/INST]SELECT winning_score FROM table_225880_1 WHERE championship = "PGA championship"</s> |
CREATE TABLE table_26427332_17 (measurements__in_cm_ VARCHAR, city VARCHAR) | SELECT measurements__in_cm_ FROM table_26427332_17 WHERE city = "Sindelfingen" | what measurement does the contestant from sindelfingen have? | <s>[INST]what measurement does the contestant from sindelfingen have? Context: CREATE TABLE table_26427332_17 (measurements__in_cm_ VARCHAR, city VARCHAR)[/INST]SELECT measurements__in_cm_ FROM table_26427332_17 WHERE city = "Sindelfingen"</s> |
CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_97 WHERE away_team = "geelong" | When the away team was Geelong, what was the home team score? | <s>[INST]When the away team was Geelong, what was the home team score? Context: CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_97 WHERE away_team = "geelong"</s> |
CREATE TABLE table_name_77 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR) | SELECT variant__with_niqqud__ FROM table_name_77 WHERE phonetic_realisation = "[[[|v]]]" | What is the variant with niqqud for a phonetic realisation of [[[|v]]]? | <s>[INST]What is the variant with niqqud for a phonetic realisation of [[[|v]]]? Context: CREATE TABLE table_name_77 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)[/INST]SELECT variant__with_niqqud__ FROM table_name_77 WHERE phonetic_realisation = "[[[|v]]]"</s> |
CREATE TABLE table_1183842_1 (founded INTEGER, enrollment VARCHAR) | SELECT MAX(founded) FROM table_1183842_1 WHERE enrollment = 3584 | If the enrollment is 3584, what's the largest founded? | <s>[INST]If the enrollment is 3584, what's the largest founded? Context: CREATE TABLE table_1183842_1 (founded INTEGER, enrollment VARCHAR)[/INST]SELECT MAX(founded) FROM table_1183842_1 WHERE enrollment = 3584</s> |
CREATE TABLE table_name_80 (place_of_action VARCHAR, rank VARCHAR, unit VARCHAR) | SELECT place_of_action FROM table_name_80 WHERE rank = "sergeant" AND unit = "5th company, 2nd marines" | Tell me the place of action for sergeant rank and 5th company, 2nd marines unit | <s>[INST]Tell me the place of action for sergeant rank and 5th company, 2nd marines unit Context: CREATE TABLE table_name_80 (place_of_action VARCHAR, rank VARCHAR, unit VARCHAR)[/INST]SELECT place_of_action FROM table_name_80 WHERE rank = "sergeant" AND unit = "5th company, 2nd marines"</s> |
CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR) | SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)" | Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo? | <s>[INST]Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo? Context: CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)[/INST]SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)"</s> |
CREATE TABLE table_name_71 (against INTEGER, opposing_teams VARCHAR) | SELECT MAX(against) FROM table_name_71 WHERE opposing_teams = "wales" | What is the largest Against with an Opposing Teams of wales? | <s>[INST]What is the largest Against with an Opposing Teams of wales? Context: CREATE TABLE table_name_71 (against INTEGER, opposing_teams VARCHAR)[/INST]SELECT MAX(against) FROM table_name_71 WHERE opposing_teams = "wales"</s> |
CREATE TABLE table_name_64 (Id VARCHAR) | SELECT 2009 FROM table_name_64 WHERE 2003 = "2r" AND 2000 = "2r" | Who in 2009, has a 2003 2r and a 2000 2r? | <s>[INST]Who in 2009, has a 2003 2r and a 2000 2r? Context: CREATE TABLE table_name_64 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_64 WHERE 2003 = "2r" AND 2000 = "2r"</s> |
CREATE TABLE table_11677691_11 (hometown VARCHAR, school VARCHAR) | SELECT hometown FROM table_11677691_11 WHERE school = "American Heritage school" | What is the hometown of the player who attended American Heritage School? | <s>[INST]What is the hometown of the player who attended American Heritage School? Context: CREATE TABLE table_11677691_11 (hometown VARCHAR, school VARCHAR)[/INST]SELECT hometown FROM table_11677691_11 WHERE school = "American Heritage school"</s> |
CREATE TABLE table_name_98 (report VARCHAR, location VARCHAR) | SELECT report FROM table_name_98 WHERE location = "buenos aires" | What was the report in Buenos Aires? | <s>[INST]What was the report in Buenos Aires? Context: CREATE TABLE table_name_98 (report VARCHAR, location VARCHAR)[/INST]SELECT report FROM table_name_98 WHERE location = "buenos aires"</s> |
CREATE TABLE table_name_71 (japanese VARCHAR, region VARCHAR) | SELECT japanese FROM table_name_71 WHERE region = "tōhoku" | What kind of Japanese has a Region of tōhoku? | <s>[INST]What kind of Japanese has a Region of tōhoku? Context: CREATE TABLE table_name_71 (japanese VARCHAR, region VARCHAR)[/INST]SELECT japanese FROM table_name_71 WHERE region = "tōhoku"</s> |
CREATE TABLE table_name_58 (boiler_pressure VARCHAR, name VARCHAR) | SELECT boiler_pressure FROM table_name_58 WHERE name = "hesperus" | What is the boiler pressure for the Hesperus model? | <s>[INST]What is the boiler pressure for the Hesperus model? Context: CREATE TABLE table_name_58 (boiler_pressure VARCHAR, name VARCHAR)[/INST]SELECT boiler_pressure FROM table_name_58 WHERE name = "hesperus"</s> |
CREATE TABLE table_name_4 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR) | SELECT transfer_fee FROM table_name_4 WHERE ends = "30 june 2010" AND moving_from = "birmingham city" | What transfer fee did Birmingham City get on 30 June 2010? | <s>[INST]What transfer fee did Birmingham City get on 30 June 2010? Context: CREATE TABLE table_name_4 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)[/INST]SELECT transfer_fee FROM table_name_4 WHERE ends = "30 june 2010" AND moving_from = "birmingham city"</s> |
CREATE TABLE table_name_39 (tujunga VARCHAR, pasadena VARCHAR) | SELECT tujunga FROM table_name_39 WHERE pasadena = "134,941" | What is the figure for Tujunga when Pasadena is 134,941? | <s>[INST]What is the figure for Tujunga when Pasadena is 134,941? Context: CREATE TABLE table_name_39 (tujunga VARCHAR, pasadena VARCHAR)[/INST]SELECT tujunga FROM table_name_39 WHERE pasadena = "134,941"</s> |
CREATE TABLE table_name_36 (interview VARCHAR, state VARCHAR, average VARCHAR) | SELECT COUNT(interview) FROM table_name_36 WHERE state = "indiana" AND average < 8.3 | What is the total interview score a contestant from Indiana with an average smaller than 8.3 has? | <s>[INST]What is the total interview score a contestant from Indiana with an average smaller than 8.3 has? Context: CREATE TABLE table_name_36 (interview VARCHAR, state VARCHAR, average VARCHAR)[/INST]SELECT COUNT(interview) FROM table_name_36 WHERE state = "indiana" AND average < 8.3</s> |
CREATE TABLE table_name_83 (Id VARCHAR) | SELECT 2007 FROM table_name_83 WHERE 2003 = "a" | What's the 2007 result when 2003 is a? | <s>[INST]What's the 2007 result when 2003 is a? Context: CREATE TABLE table_name_83 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_83 WHERE 2003 = "a"</s> |
CREATE TABLE table_name_91 (name VARCHAR, year VARCHAR) | SELECT name FROM table_name_91 WHERE year = "1988" | Which event happened in 1988? | <s>[INST]Which event happened in 1988? Context: CREATE TABLE table_name_91 (name VARCHAR, year VARCHAR)[/INST]SELECT name FROM table_name_91 WHERE year = "1988"</s> |
CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR) | SELECT date FROM table_name_42 WHERE host_team = "new york giants" | On what date did the New York Giants host a game? | <s>[INST]On what date did the New York Giants host a game? Context: CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR)[/INST]SELECT date FROM table_name_42 WHERE host_team = "new york giants"</s> |
CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_99 WHERE date = "sat. feb. 23" | Who played against the Celtics on Sat. Feb. 23? | <s>[INST]Who played against the Celtics on Sat. Feb. 23? Context: CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_99 WHERE date = "sat. feb. 23"</s> |
CREATE TABLE table_2865020_5 (points INTEGER, average VARCHAR) | SELECT MIN(points) FROM table_2865020_5 WHERE average = "1.412" | What is the minimum number of points for teams averaging 1.412? | <s>[INST]What is the minimum number of points for teams averaging 1.412? Context: CREATE TABLE table_2865020_5 (points INTEGER, average VARCHAR)[/INST]SELECT MIN(points) FROM table_2865020_5 WHERE average = "1.412"</s> |
CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = "right wing" AND round < 3 | Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3? | <s>[INST]Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3? Context: CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = "right wing" AND ... |
CREATE TABLE table_18752986_1 (nickname VARCHAR, coach VARCHAR) | SELECT nickname FROM table_18752986_1 WHERE coach = "Steve Mayne" | What is the code nickname where Steve Mayne is the coach? | <s>[INST]What is the code nickname where Steve Mayne is the coach? Context: CREATE TABLE table_18752986_1 (nickname VARCHAR, coach VARCHAR)[/INST]SELECT nickname FROM table_18752986_1 WHERE coach = "Steve Mayne"</s> |
CREATE TABLE table_name_48 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_48 WHERE date = "october 2, 1977" | What was the Attendance on october 2, 1977? | <s>[INST]What was the Attendance on october 2, 1977? Context: CREATE TABLE table_name_48 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_48 WHERE date = "october 2, 1977"</s> |
CREATE TABLE table_23486853_5 (attendance INTEGER) | SELECT MAX(attendance) FROM table_23486853_5 | What was the largest attended game? | <s>[INST]What was the largest attended game? Context: CREATE TABLE table_23486853_5 (attendance INTEGER)[/INST]SELECT MAX(attendance) FROM table_23486853_5</s> |
CREATE TABLE table_name_48 (constructor VARCHAR, year VARCHAR) | SELECT constructor FROM table_name_48 WHERE "report" = "report" AND year = "1955" | What is the name of the constructor when report shows report in 1955? | <s>[INST]What is the name of the constructor when report shows report in 1955? Context: CREATE TABLE table_name_48 (constructor VARCHAR, year VARCHAR)[/INST]SELECT constructor FROM table_name_48 WHERE "report" = "report" AND year = "1955"</s> |
CREATE TABLE table_17244483_1 (grid VARCHAR, points VARCHAR) | SELECT grid FROM table_17244483_1 WHERE points = "19" | What grid did the driver who earned 19 points start at? | <s>[INST]What grid did the driver who earned 19 points start at? Context: CREATE TABLE table_17244483_1 (grid VARCHAR, points VARCHAR)[/INST]SELECT grid FROM table_17244483_1 WHERE points = "19"</s> |
CREATE TABLE table_name_6 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_6 WHERE record = "3-1-0" | What is the location and attendance of the game with a 3-1-0 record? | <s>[INST]What is the location and attendance of the game with a 3-1-0 record? Context: CREATE TABLE table_name_6 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_name_6 WHERE record = "3-1-0"</s> |
CREATE TABLE table_name_5 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_5 WHERE player = "arnold palmer" | What was Arnold Palmer's score in the tournamnet? | <s>[INST]What was Arnold Palmer's score in the tournamnet? Context: CREATE TABLE table_name_5 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE player = "arnold palmer"</s> |
CREATE TABLE table_name_64 (scored INTEGER, competition VARCHAR, date VARCHAR) | SELECT AVG(scored) FROM table_name_64 WHERE competition = "2011 long teng cup" AND date = "2 october 2011" | Name the averag scored for 2011 long teng cup and 2 october 2011 | <s>[INST]Name the averag scored for 2011 long teng cup and 2 october 2011 Context: CREATE TABLE table_name_64 (scored INTEGER, competition VARCHAR, date VARCHAR)[/INST]SELECT AVG(scored) FROM table_name_64 WHERE competition = "2011 long teng cup" AND date = "2 october 2011"</s> |
CREATE TABLE table_name_5 (location___state VARCHAR, circuit VARCHAR) | SELECT location___state FROM table_name_5 WHERE circuit = "wanneroo raceway" | What is the location/state of the race on the Wanneroo raceway? | <s>[INST]What is the location/state of the race on the Wanneroo raceway? Context: CREATE TABLE table_name_5 (location___state VARCHAR, circuit VARCHAR)[/INST]SELECT location___state FROM table_name_5 WHERE circuit = "wanneroo raceway"</s> |
CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_58 WHERE player = "s.k. ho" | What is S.K. Ho's Country? | <s>[INST]What is S.K. Ho's Country? Context: CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_58 WHERE player = "s.k. ho"</s> |
CREATE TABLE table_name_9 (opponents_in_final VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT opponents_in_final FROM table_name_9 WHERE outcome = "runner-up" AND date = "april 16, 2006" | Who was the opponents in the final that was played on April 16, 2006 and the outcome was runner-up? | <s>[INST]Who was the opponents in the final that was played on April 16, 2006 and the outcome was runner-up? Context: CREATE TABLE table_name_9 (opponents_in_final VARCHAR, outcome VARCHAR, date VARCHAR)[/INST]SELECT opponents_in_final FROM table_name_9 WHERE outcome = "runner-up" AND date = "april 16, 2006"</s> |
CREATE TABLE table_name_14 (release_date VARCHAR, production_num VARCHAR) | SELECT release_date FROM table_name_14 WHERE production_num = "8181" | What was the release date for Production Number 8181? | <s>[INST]What was the release date for Production Number 8181? Context: CREATE TABLE table_name_14 (release_date VARCHAR, production_num VARCHAR)[/INST]SELECT release_date FROM table_name_14 WHERE production_num = "8181"</s> |
CREATE TABLE table_name_42 (zone VARCHAR, opponent VARCHAR, round VARCHAR, against VARCHAR) | SELECT zone FROM table_name_42 WHERE round = "semifinal" AND against = "israel" AND opponent = "anna smashnova" | What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent? | <s>[INST]What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent? Context: CREATE TABLE table_name_42 (zone VARCHAR, opponent VARCHAR, round VARCHAR, against VARCHAR)[/INST]SELECT zone FROM table_name_42 WHERE round = "semifinal" AND against = "israel" AND opponent = "anna smashnova"<... |
CREATE TABLE table_name_16 (msdn_integration VARCHAR, load_testing VARCHAR, test_impact_analysis VARCHAR) | SELECT msdn_integration FROM table_name_16 WHERE load_testing = "no" AND test_impact_analysis = "no" | which MSDN integration has a Load testing of no, and a Test impact analysis of no? | <s>[INST]which MSDN integration has a Load testing of no, and a Test impact analysis of no? Context: CREATE TABLE table_name_16 (msdn_integration VARCHAR, load_testing VARCHAR, test_impact_analysis VARCHAR)[/INST]SELECT msdn_integration FROM table_name_16 WHERE load_testing = "no" AND test_impact_analysis = "no"</s> |
CREATE TABLE table_name_11 (res VARCHAR, time VARCHAR) | SELECT res FROM table_name_11 WHERE time = "1:13" | What is the result when the time is 1:13? | <s>[INST]What is the result when the time is 1:13? Context: CREATE TABLE table_name_11 (res VARCHAR, time VARCHAR)[/INST]SELECT res FROM table_name_11 WHERE time = "1:13"</s> |
CREATE TABLE table_name_50 (losses VARCHAR, played INTEGER) | SELECT COUNT(losses) FROM table_name_50 WHERE played > 30 | What is the total number of losses for the over 30 games played? | <s>[INST]What is the total number of losses for the over 30 games played? Context: CREATE TABLE table_name_50 (losses VARCHAR, played INTEGER)[/INST]SELECT COUNT(losses) FROM table_name_50 WHERE played > 30</s> |
CREATE TABLE table_name_98 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_98 WHERE opponent = "jorge gurgel" | What event did Diego Saraiva fight jorge gurgel? | <s>[INST]What event did Diego Saraiva fight jorge gurgel? Context: CREATE TABLE table_name_98 (event VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_98 WHERE opponent = "jorge gurgel"</s> |
CREATE TABLE affected_region (region_id VARCHAR) | SELECT COUNT(DISTINCT region_id) FROM affected_region | How many regions are affected? | <s>[INST]How many regions are affected? Context: CREATE TABLE affected_region (region_id VARCHAR)[/INST]SELECT COUNT(DISTINCT region_id) FROM affected_region</s> |
CREATE TABLE table_16729457_16 (driver___passenger VARCHAR, position VARCHAR) | SELECT driver___passenger FROM table_16729457_16 WHERE position = 8 | Name the driver/passenger for position 8 | <s>[INST]Name the driver/passenger for position 8 Context: CREATE TABLE table_16729457_16 (driver___passenger VARCHAR, position VARCHAR)[/INST]SELECT driver___passenger FROM table_16729457_16 WHERE position = 8</s> |
CREATE TABLE table_name_77 (year INTEGER, date VARCHAR, type VARCHAR, location VARCHAR) | SELECT SUM(year) FROM table_name_77 WHERE type = "informal" AND location = "justus lipsius building, brussels" AND date = "23 may" | What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may? | <s>[INST]What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may? Context: CREATE TABLE table_name_77 (year INTEGER, date VARCHAR, type VARCHAR, location VARCHAR)[/INST]SELECT SUM(year) FROM table_name_77 WHERE type = "informal" AND location = "just... |
CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_63 WHERE date = "10/11/1930" | What is the Result of the game on 10/11/1930? | <s>[INST]What is the Result of the game on 10/11/1930? Context: CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_63 WHERE date = "10/11/1930"</s> |
CREATE TABLE table_name_10 (maximum_memory VARCHAR, standard_memory VARCHAR) | SELECT maximum_memory FROM table_name_10 WHERE standard_memory = "16 mb" | What is the maximum memory of the model that has a standard memory of 16 mb? | <s>[INST]What is the maximum memory of the model that has a standard memory of 16 mb? Context: CREATE TABLE table_name_10 (maximum_memory VARCHAR, standard_memory VARCHAR)[/INST]SELECT maximum_memory FROM table_name_10 WHERE standard_memory = "16 mb"</s> |
CREATE TABLE table_1028356_3 (surface VARCHAR, score VARCHAR) | SELECT COUNT(surface) FROM table_1028356_3 WHERE score = "3–6, 7–6(5), 6–3" | How many matched scored 3–6, 7–6(5), 6–3? | <s>[INST]How many matched scored 3–6, 7–6(5), 6–3? Context: CREATE TABLE table_1028356_3 (surface VARCHAR, score VARCHAR)[/INST]SELECT COUNT(surface) FROM table_1028356_3 WHERE score = "3–6, 7–6(5), 6–3"</s> |
CREATE TABLE table_name_53 (affiliation VARCHAR, nickname VARCHAR) | SELECT affiliation FROM table_name_53 WHERE nickname = "ramblers" | Who is affiliated with the nickname Ramblers? | <s>[INST]Who is affiliated with the nickname Ramblers? Context: CREATE TABLE table_name_53 (affiliation VARCHAR, nickname VARCHAR)[/INST]SELECT affiliation FROM table_name_53 WHERE nickname = "ramblers"</s> |
CREATE TABLE table_name_50 (kit_manufacturer VARCHAR, captain VARCHAR) | SELECT kit_manufacturer FROM table_name_50 WHERE captain = "gareth southgate" | What company is the kit manufacturer that Gareth Southgate belongs to? | <s>[INST]What company is the kit manufacturer that Gareth Southgate belongs to? Context: CREATE TABLE table_name_50 (kit_manufacturer VARCHAR, captain VARCHAR)[/INST]SELECT kit_manufacturer FROM table_name_50 WHERE captain = "gareth southgate"</s> |
CREATE TABLE table_17766232_7 (year_s_ INTEGER, final_television_commentator VARCHAR) | SELECT MAX(year_s_) FROM table_17766232_7 WHERE final_television_commentator = "David Jacobs" | What is the latest year that the final television commentator was David Jacobs? | <s>[INST]What is the latest year that the final television commentator was David Jacobs? Context: CREATE TABLE table_17766232_7 (year_s_ INTEGER, final_television_commentator VARCHAR)[/INST]SELECT MAX(year_s_) FROM table_17766232_7 WHERE final_television_commentator = "David Jacobs"</s> |
CREATE TABLE table_name_79 (australian VARCHAR, examples VARCHAR) | SELECT australian FROM table_name_79 WHERE examples = "illyria, cf. cirrhosis" | What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis? | <s>[INST]What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis? Context: CREATE TABLE table_name_79 (australian VARCHAR, examples VARCHAR)[/INST]SELECT australian FROM table_name_79 WHERE examples = "illyria, cf. cirrhosis"</s> |
CREATE TABLE table_12165135_1 (position VARCHAR, player VARCHAR) | SELECT position FROM table_12165135_1 WHERE player = "John Charles" | What is the position of john charles? | <s>[INST]What is the position of john charles? Context: CREATE TABLE table_12165135_1 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_12165135_1 WHERE player = "John Charles"</s> |
CREATE TABLE table_19769948_26 (dismissals VARCHAR, innings VARCHAR) | SELECT COUNT(dismissals) FROM table_19769948_26 WHERE innings = 191 | how many dismissals in a game with 191 innings | <s>[INST]how many dismissals in a game with 191 innings Context: CREATE TABLE table_19769948_26 (dismissals VARCHAR, innings VARCHAR)[/INST]SELECT COUNT(dismissals) FROM table_19769948_26 WHERE innings = 191</s> |
CREATE TABLE table_name_98 (rank INTEGER, points INTEGER) | SELECT MAX(rank) FROM table_name_98 WHERE points < 256.6 | Which Rank is the highest one that has Points smaller than 256.6? | <s>[INST]Which Rank is the highest one that has Points smaller than 256.6? Context: CREATE TABLE table_name_98 (rank INTEGER, points INTEGER)[/INST]SELECT MAX(rank) FROM table_name_98 WHERE points < 256.6</s> |
CREATE TABLE course (crs_credit VARCHAR, crs_description VARCHAR, crs_code VARCHAR) | SELECT crs_credit, crs_description FROM course WHERE crs_code = 'QM-261' | Find the description and credit for the course QM-261? | <s>[INST]Find the description and credit for the course QM-261? Context: CREATE TABLE course (crs_credit VARCHAR, crs_description VARCHAR, crs_code VARCHAR)[/INST]SELECT crs_credit, crs_description FROM course WHERE crs_code = 'QM-261'</s> |
CREATE TABLE table_name_59 (births__000s_ INTEGER, deaths VARCHAR, year VARCHAR) | SELECT SUM(births__000s_) FROM table_name_59 WHERE deaths > 7.6 AND year = "1990-2009" | What was the amount of Births (000s) that had a death rate larger than 7.6, and a Year of 1990-2009? | <s>[INST]What was the amount of Births (000s) that had a death rate larger than 7.6, and a Year of 1990-2009? Context: CREATE TABLE table_name_59 (births__000s_ INTEGER, deaths VARCHAR, year VARCHAR)[/INST]SELECT SUM(births__000s_) FROM table_name_59 WHERE deaths > 7.6 AND year = "1990-2009"</s> |
CREATE TABLE table_name_60 (location___state VARCHAR, race_title VARCHAR) | SELECT location___state FROM table_name_60 WHERE race_title = "launceston" | What is the location/state of the Launceston race? | <s>[INST]What is the location/state of the Launceston race? Context: CREATE TABLE table_name_60 (location___state VARCHAR, race_title VARCHAR)[/INST]SELECT location___state FROM table_name_60 WHERE race_title = "launceston"</s> |
CREATE TABLE table_name_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR) | SELECT mcintosh FROM table_name_78 WHERE stuart = "bass" AND linda_mccartney = "keyboards or drum" | Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum? | <s>[INST]Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum? Context: CREATE TABLE table_name_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR)[/INST]SELECT mcintosh FROM table_name_78 WHERE stuart = "bass" AND linda_mccartney = "keyboards or drum"</s> |
CREATE TABLE table_27816698_2 (current_conference VARCHAR, institution VARCHAR) | SELECT current_conference FROM table_27816698_2 WHERE institution = "Boise State University" | Which conference did boise state university play at? | <s>[INST]Which conference did boise state university play at? Context: CREATE TABLE table_27816698_2 (current_conference VARCHAR, institution VARCHAR)[/INST]SELECT current_conference FROM table_27816698_2 WHERE institution = "Boise State University"</s> |
CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR) | SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND period = "2011" | When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there? | <s>[INST]When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there? Context: CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR)[/INST]SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND period = "2011... |
CREATE TABLE table_name_64 (opponent VARCHAR, time VARCHAR, ground VARCHAR) | SELECT opponent FROM table_name_64 WHERE time = "20:00 gmt" AND ground = "camp nou" | Who is the Opponent playing at 20:00 GMT at Camp Nou? | <s>[INST]Who is the Opponent playing at 20:00 GMT at Camp Nou? Context: CREATE TABLE table_name_64 (opponent VARCHAR, time VARCHAR, ground VARCHAR)[/INST]SELECT opponent FROM table_name_64 WHERE time = "20:00 gmt" AND ground = "camp nou"</s> |
CREATE TABLE table_21632864_1 (champions VARCHAR, third_place VARCHAR) | SELECT champions FROM table_21632864_1 WHERE third_place = "Ehime Shimanami" | who got the first position when Ehime Shimanami got the third position? | <s>[INST]who got the first position when Ehime Shimanami got the third position? Context: CREATE TABLE table_21632864_1 (champions VARCHAR, third_place VARCHAR)[/INST]SELECT champions FROM table_21632864_1 WHERE third_place = "Ehime Shimanami"</s> |
CREATE TABLE table_name_79 (laps INTEGER, year VARCHAR) | SELECT SUM(laps) FROM table_name_79 WHERE year = "1954" | What was the sum of laps in 1954? | <s>[INST]What was the sum of laps in 1954? Context: CREATE TABLE table_name_79 (laps INTEGER, year VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_79 WHERE year = "1954"</s> |
CREATE TABLE table_name_48 (european_competitions VARCHAR, tier VARCHAR, pos VARCHAR) | SELECT european_competitions FROM table_name_48 WHERE tier = 2 AND pos = 3 | What European competitions have a tier of 2 and a position of 3? | <s>[INST]What European competitions have a tier of 2 and a position of 3? Context: CREATE TABLE table_name_48 (european_competitions VARCHAR, tier VARCHAR, pos VARCHAR)[/INST]SELECT european_competitions FROM table_name_48 WHERE tier = 2 AND pos = 3</s> |
CREATE TABLE table_1965650_10 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_1965650_10 WHERE player = "Alain Labrecque" | What country is Alain Labrecque from? | <s>[INST]What country is Alain Labrecque from? Context: CREATE TABLE table_1965650_10 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_1965650_10 WHERE player = "Alain Labrecque"</s> |
CREATE TABLE table_name_8 (team VARCHAR, attempts VARCHAR) | SELECT team FROM table_name_8 WHERE attempts = "1,317" | What is the name of the team that has 1,317 attempts? | <s>[INST]What is the name of the team that has 1,317 attempts? Context: CREATE TABLE table_name_8 (team VARCHAR, attempts VARCHAR)[/INST]SELECT team FROM table_name_8 WHERE attempts = "1,317"</s> |
CREATE TABLE table_name_2 (runners_up VARCHAR, venue VARCHAR, year VARCHAR) | SELECT runners_up FROM table_name_2 WHERE venue = "bergisch gladbach" AND year = "1983" | What team was runner-up at Bergisch Gladbach in 1983? | <s>[INST]What team was runner-up at Bergisch Gladbach in 1983? Context: CREATE TABLE table_name_2 (runners_up VARCHAR, venue VARCHAR, year VARCHAR)[/INST]SELECT runners_up FROM table_name_2 WHERE venue = "bergisch gladbach" AND year = "1983"</s> |
CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, game VARCHAR) | SELECT AVG(attendance) FROM table_name_20 WHERE opponent = "new orleans saints" AND game < 11 | What is the attendance of the game against the New Orleans Saints before game 11? | <s>[INST]What is the attendance of the game against the New Orleans Saints before game 11? Context: CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, game VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_20 WHERE opponent = "new orleans saints" AND game < 11</s> |
CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_10 WHERE record = "52-58" | Name the opponent with record of 52-58 | <s>[INST]Name the opponent with record of 52-58 Context: CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_10 WHERE record = "52-58"</s> |
CREATE TABLE table_name_97 (kosal VARCHAR, sitalsasthi_carnival VARCHAR) | SELECT kosal FROM table_name_97 WHERE sitalsasthi_carnival = "balangir town" | What is the Kosal with a balangir town sitalsasthi carnival? | <s>[INST]What is the Kosal with a balangir town sitalsasthi carnival? Context: CREATE TABLE table_name_97 (kosal VARCHAR, sitalsasthi_carnival VARCHAR)[/INST]SELECT kosal FROM table_name_97 WHERE sitalsasthi_carnival = "balangir town"</s> |
CREATE TABLE table_name_42 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR) | SELECT type FROM table_name_42 WHERE incorporated_in = "hong kong" AND principal_activities = "travel agency" AND company = "cathay pacific holidays" | What is the type for the Cathay Pacific Holidays company, an incorporation of Hong Kong and listed activities as Travel Agency? | <s>[INST]What is the type for the Cathay Pacific Holidays company, an incorporation of Hong Kong and listed activities as Travel Agency? Context: CREATE TABLE table_name_42 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)[/INST]SELECT type FROM table_name_42 WHERE incorporated_in =... |
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR) | SELECT visiting_team FROM table_name_59 WHERE date = "october 4" | Tell me the visiting team for october 4 | <s>[INST]Tell me the visiting team for october 4 Context: CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)[/INST]SELECT visiting_team FROM table_name_59 WHERE date = "october 4"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.