context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE perpetrator (Id VARCHAR) | SELECT COUNT(*) FROM perpetrator | How many perpetrators are there? | <s>[INST]How many perpetrators are there? Context: CREATE TABLE perpetrator (Id VARCHAR)[/INST]SELECT COUNT(*) FROM perpetrator</s> |
CREATE TABLE table_name_7 (points INTEGER, entrant VARCHAR) | SELECT MIN(points) FROM table_name_7 WHERE entrant = "officine alfieri maserati" | Name the lowest points for officine alfieri maserati | <s>[INST]Name the lowest points for officine alfieri maserati Context: CREATE TABLE table_name_7 (points INTEGER, entrant VARCHAR)[/INST]SELECT MIN(points) FROM table_name_7 WHERE entrant = "officine alfieri maserati"</s> |
CREATE TABLE table_23285805_8 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_23285805_8 WHERE location_attendance = "Arco Arena 17361" | What is the record where arco arena 17361 is location attendance? | <s>[INST]What is the record where arco arena 17361 is location attendance? Context: CREATE TABLE table_23285805_8 (record VARCHAR, location_attendance VARCHAR)[/INST]SELECT record FROM table_23285805_8 WHERE location_attendance = "Arco Arena 17361"</s> |
CREATE TABLE table_name_88 (casting_at__°c_ VARCHAR, hardness VARCHAR) | SELECT casting_at__°c_ FROM table_name_88 WHERE hardness = "22" | What is the casting temperature for a hardness of 22? | <s>[INST]What is the casting temperature for a hardness of 22? Context: CREATE TABLE table_name_88 (casting_at__°c_ VARCHAR, hardness VARCHAR)[/INST]SELECT casting_at__°c_ FROM table_name_88 WHERE hardness = "22"</s> |
CREATE TABLE table_name_69 (score VARCHAR, surface VARCHAR, partnering VARCHAR) | SELECT score FROM table_name_69 WHERE surface = "clay" AND partnering = "júlio silva" | Surface of clay, and a Partnering of júlio silva had what score? | <s>[INST]Surface of clay, and a Partnering of júlio silva had what score? Context: CREATE TABLE table_name_69 (score VARCHAR, surface VARCHAR, partnering VARCHAR)[/INST]SELECT score FROM table_name_69 WHERE surface = "clay" AND partnering = "júlio silva"</s> |
CREATE TABLE table_name_4 (prr_class VARCHAR, build_date VARCHAR, wheel_arrangement VARCHAR, service VARCHAR) | SELECT prr_class FROM table_name_4 WHERE wheel_arrangement = "b-b" AND service = "freight" AND build_date = "1967" | What is the PRR class of the freight train built in 1967 with a b-b wheel arrangement? | <s>[INST]What is the PRR class of the freight train built in 1967 with a b-b wheel arrangement? Context: CREATE TABLE table_name_4 (prr_class VARCHAR, build_date VARCHAR, wheel_arrangement VARCHAR, service VARCHAR)[/INST]SELECT prr_class FROM table_name_4 WHERE wheel_arrangement = "b-b" AND service = "freight" AND buil... |
CREATE TABLE table_name_79 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_79 WHERE home_team = "north melbourne" | What is the venue of North Melbourne? | <s>[INST]What is the venue of North Melbourne? Context: CREATE TABLE table_name_79 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_79 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_1817852_1 (destroyed VARCHAR, aircraft VARCHAR) | SELECT destroyed FROM table_1817852_1 WHERE aircraft = "USSR MiG-25 RB" | If the aircraft was ussr mig-25 rb how many were destroyed? | <s>[INST]If the aircraft was ussr mig-25 rb how many were destroyed? Context: CREATE TABLE table_1817852_1 (destroyed VARCHAR, aircraft VARCHAR)[/INST]SELECT destroyed FROM table_1817852_1 WHERE aircraft = "USSR MiG-25 RB"</s> |
CREATE TABLE table_name_22 (rank INTEGER, wickets INTEGER) | SELECT MAX(rank) FROM table_name_22 WHERE wickets < 15 | What is the highest rank for less than 15 Wickets? | <s>[INST]What is the highest rank for less than 15 Wickets? Context: CREATE TABLE table_name_22 (rank INTEGER, wickets INTEGER)[/INST]SELECT MAX(rank) FROM table_name_22 WHERE wickets < 15</s> |
CREATE TABLE table_26130295_3 (number_of_selections INTEGER, season_mvp INTEGER) | SELECT MAX(number_of_selections) FROM table_26130295_3 WHERE season_mvp > 1.0 | when season mvp is larger than 1.0 what is the maximum number of selection | <s>[INST]when season mvp is larger than 1.0 what is the maximum number of selection Context: CREATE TABLE table_26130295_3 (number_of_selections INTEGER, season_mvp INTEGER)[/INST]SELECT MAX(number_of_selections) FROM table_26130295_3 WHERE season_mvp > 1.0</s> |
CREATE TABLE Faculty (rank VARCHAR, sex VARCHAR) | SELECT rank, sex, COUNT(*) FROM Faculty GROUP BY rank, sex | Show all the ranks and the number of male and female faculty for each rank. | <s>[INST]Show all the ranks and the number of male and female faculty for each rank. Context: CREATE TABLE Faculty (rank VARCHAR, sex VARCHAR)[/INST]SELECT rank, sex, COUNT(*) FROM Faculty GROUP BY rank, sex</s> |
CREATE TABLE table_1180228_1 (dvd_name VARCHAR, num_of_discs INTEGER) | SELECT dvd_name FROM table_1180228_1 WHERE num_of_discs > 2.0 | What is the name of the DVD where the number of discs is greater than 2.0 | <s>[INST]What is the name of the DVD where the number of discs is greater than 2.0 Context: CREATE TABLE table_1180228_1 (dvd_name VARCHAR, num_of_discs INTEGER)[/INST]SELECT dvd_name FROM table_1180228_1 WHERE num_of_discs > 2.0</s> |
CREATE TABLE table_13618584_2 (district VARCHAR) | SELECT COUNT(2007 AS _result) FROM table_13618584_2 WHERE district = "19th" | How many election results are there from the 19th district? | <s>[INST]How many election results are there from the 19th district? Context: CREATE TABLE table_13618584_2 (district VARCHAR)[/INST]SELECT COUNT(2007 AS _result) FROM table_13618584_2 WHERE district = "19th"</s> |
CREATE TABLE table_name_99 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_99 WHERE team_1 = "dolphins" | What is the 2nd leg of team 1 Dolphins? | <s>[INST]What is the 2nd leg of team 1 Dolphins? Context: CREATE TABLE table_name_99 (team_1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_99 WHERE team_1 = "dolphins"</s> |
CREATE TABLE table_name_34 (format VARCHAR, country VARCHAR) | SELECT format FROM table_name_34 WHERE country = "japan" | What format does Japan use? | <s>[INST]What format does Japan use? Context: CREATE TABLE table_name_34 (format VARCHAR, country VARCHAR)[/INST]SELECT format FROM table_name_34 WHERE country = "japan"</s> |
CREATE TABLE table_name_41 (Id VARCHAR) | SELECT 2008 FROM table_name_41 WHERE 2012 = "sf" | Name the 2008 for 2012 of sf | <s>[INST]Name the 2008 for 2012 of sf Context: CREATE TABLE table_name_41 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_41 WHERE 2012 = "sf"</s> |
CREATE TABLE table_name_46 (bronze INTEGER, gold INTEGER) | SELECT MAX(bronze) FROM table_name_46 WHERE gold < 0 | What is the highest number of bronze medals for nations with under 0 golds? | <s>[INST]What is the highest number of bronze medals for nations with under 0 golds? Context: CREATE TABLE table_name_46 (bronze INTEGER, gold INTEGER)[/INST]SELECT MAX(bronze) FROM table_name_46 WHERE gold < 0</s> |
CREATE TABLE table_name_27 (rebounds VARCHAR, name VARCHAR) | SELECT rebounds FROM table_name_27 WHERE name = "pom baskets jena" | Can you tell me the Rebounds that has the Name of pom baskets jena? | <s>[INST]Can you tell me the Rebounds that has the Name of pom baskets jena? Context: CREATE TABLE table_name_27 (rebounds VARCHAR, name VARCHAR)[/INST]SELECT rebounds FROM table_name_27 WHERE name = "pom baskets jena"</s> |
CREATE TABLE table_name_92 (l2_cache VARCHAR, sspec_number VARCHAR) | SELECT l2_cache FROM table_name_92 WHERE sspec_number = "slbmm(c2)slbsr(k0)" | What is the L2 cache with ec number of slbmm(c2)slbsr(k0)? | <s>[INST]What is the L2 cache with ec number of slbmm(c2)slbsr(k0)? Context: CREATE TABLE table_name_92 (l2_cache VARCHAR, sspec_number VARCHAR)[/INST]SELECT l2_cache FROM table_name_92 WHERE sspec_number = "slbmm(c2)slbsr(k0)"</s> |
CREATE TABLE table_name_84 (year VARCHAR, date VARCHAR) | SELECT year FROM table_name_84 WHERE date = "not played" | what is the year when the date is not played? | <s>[INST]what is the year when the date is not played? Context: CREATE TABLE table_name_84 (year VARCHAR, date VARCHAR)[/INST]SELECT year FROM table_name_84 WHERE date = "not played"</s> |
CREATE TABLE table_14219514_1 (aggregate VARCHAR) | SELECT COUNT(2 AS nd_leg) FROM table_14219514_1 WHERE aggregate = "2-4" | How many 2nd legs had an aggregate of 2-4? | <s>[INST]How many 2nd legs had an aggregate of 2-4? Context: CREATE TABLE table_14219514_1 (aggregate VARCHAR)[/INST]SELECT COUNT(2 AS nd_leg) FROM table_14219514_1 WHERE aggregate = "2-4"</s> |
CREATE TABLE table_name_61 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_61 WHERE date = "january 2" | What were the high assist on january 2? | <s>[INST]What were the high assist on january 2? Context: CREATE TABLE table_name_61 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_61 WHERE date = "january 2"</s> |
CREATE TABLE table_2522473_1 (home_ground VARCHAR, seasons VARCHAR, home_city VARCHAR) | SELECT home_ground FROM table_2522473_1 WHERE seasons = 27 AND home_city = "Trondheim" | What is the home ground for the team whose home city is Trondheim with 27 seasons? | <s>[INST]What is the home ground for the team whose home city is Trondheim with 27 seasons? Context: CREATE TABLE table_2522473_1 (home_ground VARCHAR, seasons VARCHAR, home_city VARCHAR)[/INST]SELECT home_ground FROM table_2522473_1 WHERE seasons = 27 AND home_city = "Trondheim"</s> |
CREATE TABLE Employee (name VARCHAR, salary INTEGER) | SELECT name FROM Employee WHERE salary > (SELECT AVG(salary) FROM Employee) | Show names for all employees with salary more than the average. | <s>[INST]Show names for all employees with salary more than the average. Context: CREATE TABLE Employee (name VARCHAR, salary INTEGER)[/INST]SELECT name FROM Employee WHERE salary > (SELECT AVG(salary) FROM Employee)</s> |
CREATE TABLE table_name_3 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR) | SELECT MIN(average_points_per_race_entered) FROM table_name_3 WHERE driver = "kimi räikkönen" AND entries > 194 | What is the lowest average points per race entered of driver kimi räikkönen, who has more than 194 entries? | <s>[INST]What is the lowest average points per race entered of driver kimi räikkönen, who has more than 194 entries? Context: CREATE TABLE table_name_3 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR)[/INST]SELECT MIN(average_points_per_race_entered) FROM table_name_3 WHERE driver = "kimi räik... |
CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT home FROM table_name_29 WHERE visitor = "edmonton oilers" AND date = "may 22" | What is the home team of the game on May 22 with the Edmonton Oilers as the visiting team? | <s>[INST]What is the home team of the game on May 22 with the Edmonton Oilers as the visiting team? Context: CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_29 WHERE visitor = "edmonton oilers" AND date = "may 22"</s> |
CREATE TABLE table_name_35 (episode VARCHAR, budget VARCHAR) | SELECT episode FROM table_name_35 WHERE budget = "£7,000" | Which episode of Top Gear had a budget of £7,000? | <s>[INST]Which episode of Top Gear had a budget of £7,000? Context: CREATE TABLE table_name_35 (episode VARCHAR, budget VARCHAR)[/INST]SELECT episode FROM table_name_35 WHERE budget = "£7,000"</s> |
CREATE TABLE table_name_42 (high_points VARCHAR, location_attendance VARCHAR) | SELECT high_points FROM table_name_42 WHERE location_attendance = "united center 20,389" | Who had the high points at the United Center 20,389? | <s>[INST]Who had the high points at the United Center 20,389? Context: CREATE TABLE table_name_42 (high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_points FROM table_name_42 WHERE location_attendance = "united center 20,389"</s> |
CREATE TABLE table_name_78 (win__percentage VARCHAR, appearances VARCHAR, losses VARCHAR) | SELECT COUNT(win__percentage) FROM table_name_78 WHERE appearances = 4 AND losses > 3 | What's the total number of Win % with an Appearances of 4, and Losses that's larger than 3? | <s>[INST]What's the total number of Win % with an Appearances of 4, and Losses that's larger than 3? Context: CREATE TABLE table_name_78 (win__percentage VARCHAR, appearances VARCHAR, losses VARCHAR)[/INST]SELECT COUNT(win__percentage) FROM table_name_78 WHERE appearances = 4 AND losses > 3</s> |
CREATE TABLE table_name_26 (cuts_made INTEGER, top_25 INTEGER) | SELECT MAX(cuts_made) FROM table_name_26 WHERE top_25 < 3 | Which Cuts made has a Top-25 smaller than 3? | <s>[INST]Which Cuts made has a Top-25 smaller than 3? Context: CREATE TABLE table_name_26 (cuts_made INTEGER, top_25 INTEGER)[/INST]SELECT MAX(cuts_made) FROM table_name_26 WHERE top_25 < 3</s> |
CREATE TABLE table_name_96 (cap_number INTEGER, date VARCHAR, shirt_number VARCHAR) | SELECT MIN(cap_number) FROM table_name_96 WHERE date = "8 february 2009" AND shirt_number > 19 | Can you tell me the lowest Cap Number that has the Date of 8 february 2009, and the Shirt Number larger than 19? | <s>[INST]Can you tell me the lowest Cap Number that has the Date of 8 february 2009, and the Shirt Number larger than 19? Context: CREATE TABLE table_name_96 (cap_number INTEGER, date VARCHAR, shirt_number VARCHAR)[/INST]SELECT MIN(cap_number) FROM table_name_96 WHERE date = "8 february 2009" AND shirt_number > 19</s> |
CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR) | SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "660 Shea Crescent" OR T2.How_to_Get_There = "walk" | What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent? | <s>[INST]What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent? Context: CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)[/INST]SELECT T2.Name FROM Locations AS... |
CREATE TABLE table_name_20 (date VARCHAR, field VARCHAR) | SELECT date FROM table_name_20 WHERE field = "hofstra stadium" | What days were games played at Hofstra Stadium? | <s>[INST]What days were games played at Hofstra Stadium? Context: CREATE TABLE table_name_20 (date VARCHAR, field VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE field = "hofstra stadium"</s> |
CREATE TABLE table_24887326_7 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_24887326_7 WHERE away_team = "Birmingham City" | What is the date of the game played with Birmingham City as the away team? | <s>[INST]What is the date of the game played with Birmingham City as the away team? Context: CREATE TABLE table_24887326_7 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_24887326_7 WHERE away_team = "Birmingham City"</s> |
CREATE TABLE table_name_53 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_53 WHERE away_team = "newcastle united" | What was the tie number for the round against visiting opponent Newcastle United? | <s>[INST]What was the tie number for the round against visiting opponent Newcastle United? Context: CREATE TABLE table_name_53 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_53 WHERE away_team = "newcastle united"</s> |
CREATE TABLE table_17417383_6 (round_of_16 VARCHAR, quarterfinals VARCHAR, event VARCHAR) | SELECT round_of_16 FROM table_17417383_6 WHERE quarterfinals = "Did not advance" AND event = "Light flyweight" | Name the round 16 for did not advance and light flyweight | <s>[INST]Name the round 16 for did not advance and light flyweight Context: CREATE TABLE table_17417383_6 (round_of_16 VARCHAR, quarterfinals VARCHAR, event VARCHAR)[/INST]SELECT round_of_16 FROM table_17417383_6 WHERE quarterfinals = "Did not advance" AND event = "Light flyweight"</s> |
CREATE TABLE table_name_20 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_20 WHERE attendance = "33,307" | Name the date when 33,307 attended | <s>[INST]Name the date when 33,307 attended Context: CREATE TABLE table_name_20 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE attendance = "33,307"</s> |
CREATE TABLE table_name_17 (position VARCHAR, overall VARCHAR, round VARCHAR, pick VARCHAR) | SELECT position FROM table_name_17 WHERE round < 8 AND pick = 20 AND overall < 186 | Which Position has a Round smaller than 8, a Pick of 20, and an Overall smaller than 186? | <s>[INST]Which Position has a Round smaller than 8, a Pick of 20, and an Overall smaller than 186? Context: CREATE TABLE table_name_17 (position VARCHAR, overall VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_17 WHERE round < 8 AND pick = 20 AND overall < 186</s> |
CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR) | SELECT saturday FROM table_name_8 WHERE thursday = "木曜日 mokuyōbi" | Which Saturday has a Thursday of 木曜日 mokuyōbi | <s>[INST]Which Saturday has a Thursday of 木曜日 mokuyōbi Context: CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR)[/INST]SELECT saturday FROM table_name_8 WHERE thursday = "木曜日 mokuyōbi"</s> |
CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_63 WHERE venue = "junction oval" | Who was the away team at Junction Oval? | <s>[INST]Who was the away team at Junction Oval? Context: CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_63 WHERE venue = "junction oval"</s> |
CREATE TABLE table_name_39 (event VARCHAR, year VARCHAR) | SELECT event FROM table_name_39 WHERE year = 1964 | that was held in 1964? | <s>[INST]that was held in 1964? Context: CREATE TABLE table_name_39 (event VARCHAR, year VARCHAR)[/INST]SELECT event FROM table_name_39 WHERE year = 1964</s> |
CREATE TABLE table_name_31 (year_born INTEGER, position VARCHAR, player VARCHAR) | SELECT MAX(year_born) FROM table_name_31 WHERE position = "guard" AND player = "tony parker" | When was tony parker (guard) born? | <s>[INST]When was tony parker (guard) born? Context: CREATE TABLE table_name_31 (year_born INTEGER, position VARCHAR, player VARCHAR)[/INST]SELECT MAX(year_born) FROM table_name_31 WHERE position = "guard" AND player = "tony parker"</s> |
CREATE TABLE table_name_48 (museum VARCHAR, name VARCHAR) | SELECT museum AS city FROM table_name_48 WHERE name = "sue" | What city has the museum that holds the Sue specimen? | <s>[INST]What city has the museum that holds the Sue specimen? Context: CREATE TABLE table_name_48 (museum VARCHAR, name VARCHAR)[/INST]SELECT museum AS city FROM table_name_48 WHERE name = "sue"</s> |
CREATE TABLE table_name_77 (visitor VARCHAR, attendance VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_77 WHERE attendance = "7,000" AND date = "january 1" | Who is the visitor from the game with 7,000 in attendance on January 1? | <s>[INST]Who is the visitor from the game with 7,000 in attendance on January 1? Context: CREATE TABLE table_name_77 (visitor VARCHAR, attendance VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_77 WHERE attendance = "7,000" AND date = "january 1"</s> |
CREATE TABLE table_name_69 (previous_conference VARCHAR, location VARCHAR) | SELECT previous_conference FROM table_name_69 WHERE location = "converse" | what is the previous conference when the location is converse? | <s>[INST]what is the previous conference when the location is converse? Context: CREATE TABLE table_name_69 (previous_conference VARCHAR, location VARCHAR)[/INST]SELECT previous_conference FROM table_name_69 WHERE location = "converse"</s> |
CREATE TABLE table_name_44 (results VARCHAR, choreographer VARCHAR) | SELECT results FROM table_name_44 WHERE choreographer = "kelly aykers" | What is the Result of the dance Choreographed by Kelly Aykers? | <s>[INST]What is the Result of the dance Choreographed by Kelly Aykers? Context: CREATE TABLE table_name_44 (results VARCHAR, choreographer VARCHAR)[/INST]SELECT results FROM table_name_44 WHERE choreographer = "kelly aykers"</s> |
CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_15 WHERE date = "april 8, 2007" | How many people were in attendance on the game on April 8, 2007? | <s>[INST]How many people were in attendance on the game on April 8, 2007? Context: CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_15 WHERE date = "april 8, 2007"</s> |
CREATE TABLE table_name_61 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_name_61 WHERE incumbent = "joseph t. johnson" | Which district has joseph t. johnson as an incumbent? | <s>[INST]Which district has joseph t. johnson as an incumbent? Context: CREATE TABLE table_name_61 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_name_61 WHERE incumbent = "joseph t. johnson"</s> |
CREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_81 WHERE grid = 11 | who is the driver when grid is 11? | <s>[INST]who is the driver when grid is 11? Context: CREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_81 WHERE grid = 11</s> |
CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes" | Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no? | <s>[INST]Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no? Context: CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)[/INST]SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes"</s> |
CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR) | SELECT MIN(laps) FROM table_name_22 WHERE grid = 12 | I want the lowest laps that have a grid of 12 | <s>[INST]I want the lowest laps that have a grid of 12 Context: CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_22 WHERE grid = 12</s> |
CREATE TABLE table_name_78 (competition VARCHAR, event VARCHAR, year VARCHAR, position VARCHAR) | SELECT competition FROM table_name_78 WHERE year > 1911 AND position = "1st" AND event = "rings" | what is the competition in a year after 1911 with the position of 1st for the rings? | <s>[INST]what is the competition in a year after 1911 with the position of 1st for the rings? Context: CREATE TABLE table_name_78 (competition VARCHAR, event VARCHAR, year VARCHAR, position VARCHAR)[/INST]SELECT competition FROM table_name_78 WHERE year > 1911 AND position = "1st" AND event = "rings"</s> |
CREATE TABLE table_name_13 (nationality VARCHAR, ranking VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_13 WHERE ranking < 7 AND name = "tony stenson" | What nationality has a ranking less than 7 with tony stenson as the name? | <s>[INST]What nationality has a ranking less than 7 with tony stenson as the name? Context: CREATE TABLE table_name_13 (nationality VARCHAR, ranking VARCHAR, name VARCHAR)[/INST]SELECT nationality FROM table_name_13 WHERE ranking < 7 AND name = "tony stenson"</s> |
CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR) | SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor" | What film festival had the Best Male Actor? | <s>[INST]What film festival had the Best Male Actor? Context: CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR)[/INST]SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor"</s> |
CREATE TABLE table_name_37 (year INTEGER, citation VARCHAR, author VARCHAR) | SELECT SUM(year) FROM table_name_37 WHERE citation = "honor" AND author = "kadir nelson" | what is the year when the citation is honor and the author is kadir nelson? | <s>[INST]what is the year when the citation is honor and the author is kadir nelson? Context: CREATE TABLE table_name_37 (year INTEGER, citation VARCHAR, author VARCHAR)[/INST]SELECT SUM(year) FROM table_name_37 WHERE citation = "honor" AND author = "kadir nelson"</s> |
CREATE TABLE table_18333678_2 (calling_at VARCHAR, arrival VARCHAR) | SELECT COUNT(calling_at) FROM table_18333678_2 WHERE arrival = "09.06" | how many callings of trains arriving at 09.06 | <s>[INST]how many callings of trains arriving at 09.06 Context: CREATE TABLE table_18333678_2 (calling_at VARCHAR, arrival VARCHAR)[/INST]SELECT COUNT(calling_at) FROM table_18333678_2 WHERE arrival = "09.06"</s> |
CREATE TABLE table_name_53 (took_office VARCHAR, vice INTEGER) | SELECT took_office FROM table_name_53 WHERE vice > 6 | When did the vice president with a vice over 6 take office? | <s>[INST]When did the vice president with a vice over 6 take office? Context: CREATE TABLE table_name_53 (took_office VARCHAR, vice INTEGER)[/INST]SELECT took_office FROM table_name_53 WHERE vice > 6</s> |
CREATE TABLE table_24143253_2 (cause_of_death VARCHAR, name VARCHAR) | SELECT cause_of_death FROM table_24143253_2 WHERE name = "Stella Farentino" | How did Stella Farentino die? | <s>[INST]How did Stella Farentino die? Context: CREATE TABLE table_24143253_2 (cause_of_death VARCHAR, name VARCHAR)[/INST]SELECT cause_of_death FROM table_24143253_2 WHERE name = "Stella Farentino"</s> |
CREATE TABLE table_name_86 (attendance INTEGER, opponent VARCHAR, record VARCHAR) | SELECT AVG(attendance) FROM table_name_86 WHERE opponent = "mariners" AND record = "62-64" | What is the average attendance of the Mariners' attendance when their record was 62-64? | <s>[INST]What is the average attendance of the Mariners' attendance when their record was 62-64? Context: CREATE TABLE table_name_86 (attendance INTEGER, opponent VARCHAR, record VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_86 WHERE opponent = "mariners" AND record = "62-64"</s> |
CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_50 WHERE away_team = "south melbourne" | Which venue hosted South Melbourne? | <s>[INST]Which venue hosted South Melbourne? Context: CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_50 WHERE away_team = "south melbourne"</s> |
CREATE TABLE Restaurant (Address VARCHAR, ResName VARCHAR) | SELECT Address FROM Restaurant WHERE ResName = "Subway" | What is the address of the restaurant Subway? | <s>[INST]What is the address of the restaurant Subway? Context: CREATE TABLE Restaurant (Address VARCHAR, ResName VARCHAR)[/INST]SELECT Address FROM Restaurant WHERE ResName = "Subway"</s> |
CREATE TABLE table_name_30 (republican_seat_plurality VARCHAR, republican__democratic VARCHAR) | SELECT republican_seat_plurality FROM table_name_30 WHERE republican__democratic = "12/4" | What is the Republican seat plurality of the state with a ratio of 12/4 Republicans to Democrats? | <s>[INST]What is the Republican seat plurality of the state with a ratio of 12/4 Republicans to Democrats? Context: CREATE TABLE table_name_30 (republican_seat_plurality VARCHAR, republican__democratic VARCHAR)[/INST]SELECT republican_seat_plurality FROM table_name_30 WHERE republican__democratic = "12/4"</s> |
CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR) | SELECT MIN(gold) FROM table_name_68 WHERE total < 3 AND silver > 1 | what is the gold count with total less than 3 and more than 1 silver? | <s>[INST]what is the gold count with total less than 3 and more than 1 silver? Context: CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_68 WHERE total < 3 AND silver > 1</s> |
CREATE TABLE table_name_43 (qual_1 VARCHAR, best VARCHAR) | SELECT qual_1 FROM table_name_43 WHERE best = "1:01.704" | Who had a qual 1 best of 1:01.704? | <s>[INST]Who had a qual 1 best of 1:01.704? Context: CREATE TABLE table_name_43 (qual_1 VARCHAR, best VARCHAR)[/INST]SELECT qual_1 FROM table_name_43 WHERE best = "1:01.704"</s> |
CREATE TABLE table_name_98 (rank INTEGER, laps VARCHAR) | SELECT AVG(rank) FROM table_name_98 WHERE laps = 76 | What is the average rank of one who is at 76 laps? | <s>[INST]What is the average rank of one who is at 76 laps? Context: CREATE TABLE table_name_98 (rank INTEGER, laps VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_98 WHERE laps = 76</s> |
CREATE TABLE table_27615445_1 (audition_city VARCHAR, episode_air_date VARCHAR) | SELECT COUNT(audition_city) FROM table_27615445_1 WHERE episode_air_date = "June 24, 2010" | How many audition city's are there with an episode air date of June 24, 2010? | <s>[INST]How many audition city's are there with an episode air date of June 24, 2010? Context: CREATE TABLE table_27615445_1 (audition_city VARCHAR, episode_air_date VARCHAR)[/INST]SELECT COUNT(audition_city) FROM table_27615445_1 WHERE episode_air_date = "June 24, 2010"</s> |
CREATE TABLE table_name_76 (Id VARCHAR) | SELECT 1968 FROM table_name_76 WHERE 1967 = "1r" | Tell me the 1968 for 1r | <s>[INST]Tell me the 1968 for 1r Context: CREATE TABLE table_name_76 (Id VARCHAR)[/INST]SELECT 1968 FROM table_name_76 WHERE 1967 = "1r"</s> |
CREATE TABLE table_name_10 (clubs VARCHAR, seasons_at_this_level VARCHAR) | SELECT clubs FROM table_name_10 WHERE seasons_at_this_level = "27 seasons" | Which club has played for 27 seasons at this level? | <s>[INST]Which club has played for 27 seasons at this level? Context: CREATE TABLE table_name_10 (clubs VARCHAR, seasons_at_this_level VARCHAR)[/INST]SELECT clubs FROM table_name_10 WHERE seasons_at_this_level = "27 seasons"</s> |
CREATE TABLE table_name_90 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR) | SELECT melbourne FROM table_name_90 WHERE adelaide = "yes" AND gold_coast = "no" | yes or no for the melbourne that has no for adelaide, no for gold coast? | <s>[INST]yes or no for the melbourne that has no for adelaide, no for gold coast? Context: CREATE TABLE table_name_90 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR)[/INST]SELECT melbourne FROM table_name_90 WHERE adelaide = "yes" AND gold_coast = "no"</s> |
CREATE TABLE table_name_52 (election INTEGER, party VARCHAR, mayor VARCHAR) | SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti" | Which Election has a Party of democratic party, and a Mayor of leonardo betti? | <s>[INST]Which Election has a Party of democratic party, and a Mayor of leonardo betti? Context: CREATE TABLE table_name_52 (election INTEGER, party VARCHAR, mayor VARCHAR)[/INST]SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti"</s> |
CREATE TABLE table_name_97 (attendance INTEGER, tie_no VARCHAR) | SELECT MAX(attendance) FROM table_name_97 WHERE tie_no = "3" | How many attended tie number 3? | <s>[INST]How many attended tie number 3? Context: CREATE TABLE table_name_97 (attendance INTEGER, tie_no VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_97 WHERE tie_no = "3"</s> |
CREATE TABLE table_name_64 (game INTEGER, score VARCHAR, record VARCHAR) | SELECT MIN(game) FROM table_name_64 WHERE score = "118–114" AND record = "8–1" | Score of 118–114, and a Record of 8–1 is what lowest game? | <s>[INST]Score of 118–114, and a Record of 8–1 is what lowest game? Context: CREATE TABLE table_name_64 (game INTEGER, score VARCHAR, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_64 WHERE score = "118–114" AND record = "8–1"</s> |
CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_2 WHERE home_team = "reading" | When did Reading play at home? | <s>[INST]When did Reading play at home? Context: CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_2 WHERE home_team = "reading"</s> |
CREATE TABLE table_name_76 (works_number VARCHAR, date VARCHAR, number VARCHAR, builder VARCHAR, type VARCHAR) | SELECT works_number FROM table_name_76 WHERE builder = "avonside engine company" AND type = "4-6-0" AND number < 12 AND date = "december 1871" | Which Works number has a Builder of avonside engine company, and a Type of 4-6-0, and a Number smaller than 12, and a Date of december 1871? | <s>[INST]Which Works number has a Builder of avonside engine company, and a Type of 4-6-0, and a Number smaller than 12, and a Date of december 1871? Context: CREATE TABLE table_name_76 (works_number VARCHAR, date VARCHAR, number VARCHAR, builder VARCHAR, type VARCHAR)[/INST]SELECT works_number FROM table_name_76 WHERE... |
CREATE TABLE table_23286112_7 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) | SELECT location_attendance FROM table_23286112_7 WHERE high_assists = "Russell Westbrook (5)" AND high_rebounds = "Nenad Krstic (8)" | What location attendance has russell westbrook (5) as high assists and nenad krstic (8) as high rebounds? | <s>[INST]What location attendance has russell westbrook (5) as high assists and nenad krstic (8) as high rebounds? Context: CREATE TABLE table_23286112_7 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR)[/INST]SELECT location_attendance FROM table_23286112_7 WHERE high_assists = "Russell Westbr... |
CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, sport VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_90 WHERE bronze < 20 AND total = 1 AND sport = "water polo" AND gold < 0 | What is the smallest number of silvers associated with bronzes under 20, totals of 1, golds of 0, and in Water Polo? | <s>[INST]What is the smallest number of silvers associated with bronzes under 20, totals of 1, golds of 0, and in Water Polo? Context: CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, sport VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_90 WHERE bronze < 20 AND total = 1 AND s... |
CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR) | SELECT MIN(rank) FROM table_name_6 WHERE nationality = "united states" AND time = "58.06" AND heat > 5 | When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank? | <s>[INST]When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank? Context: CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_6 WHERE nationality = "united states" AND time = "58.06"... |
CREATE TABLE table_name_51 (bronze INTEGER, nation VARCHAR) | SELECT SUM(bronze) FROM table_name_51 WHERE nation = "west germany" | How many bronzes have west germany as the nation? | <s>[INST]How many bronzes have west germany as the nation? Context: CREATE TABLE table_name_51 (bronze INTEGER, nation VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_51 WHERE nation = "west germany"</s> |
CREATE TABLE table_name_27 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_27 WHERE game = 23 | What is the date of game 23? | <s>[INST]What is the date of game 23? Context: CREATE TABLE table_name_27 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_27 WHERE game = 23</s> |
CREATE TABLE table_name_39 (province VARCHAR, name VARCHAR) | SELECT province FROM table_name_39 WHERE name = "michael kirby" | Which province has Michael Kirby? | <s>[INST]Which province has Michael Kirby? Context: CREATE TABLE table_name_39 (province VARCHAR, name VARCHAR)[/INST]SELECT province FROM table_name_39 WHERE name = "michael kirby"</s> |
CREATE TABLE table_26263322_1 (background VARCHAR, candidate VARCHAR) | SELECT background FROM table_26263322_1 WHERE candidate = "Daniel Phillips" | What is the background of the candidate daniel phillips? | <s>[INST]What is the background of the candidate daniel phillips? Context: CREATE TABLE table_26263322_1 (background VARCHAR, candidate VARCHAR)[/INST]SELECT background FROM table_26263322_1 WHERE candidate = "Daniel Phillips"</s> |
CREATE TABLE table_name_19 (height INTEGER, position VARCHAR, current_club VARCHAR) | SELECT MAX(height) FROM table_name_19 WHERE position = "c" AND current_club = "unicaja malaga" | What's the tallest height for c position in current club unicaja malaga? | <s>[INST]What's the tallest height for c position in current club unicaja malaga? Context: CREATE TABLE table_name_19 (height INTEGER, position VARCHAR, current_club VARCHAR)[/INST]SELECT MAX(height) FROM table_name_19 WHERE position = "c" AND current_club = "unicaja malaga"</s> |
CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR, Age VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR) | SELECT T3.Location, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID ORDER BY T2.Age | Show the locations of parties and the names of the party hosts in ascending order of the age of the host. | <s>[INST]Show the locations of parties and the names of the party hosts in ascending order of the age of the host. Context: CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR, Age VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR)[/INST]SELECT T3... |
CREATE TABLE table_name_90 (degree VARCHAR, award_year VARCHAR, award VARCHAR) | SELECT degree FROM table_name_90 WHERE award_year = 1965 AND award = "chemistry" | Tell me the degree for chemistry 1965 | <s>[INST]Tell me the degree for chemistry 1965 Context: CREATE TABLE table_name_90 (degree VARCHAR, award_year VARCHAR, award VARCHAR)[/INST]SELECT degree FROM table_name_90 WHERE award_year = 1965 AND award = "chemistry"</s> |
CREATE TABLE table_name_56 (captain VARCHAR, team VARCHAR) | SELECT captain FROM table_name_56 WHERE team = "crystal palace" | Who was the team captain for Crystal Palace? | <s>[INST]Who was the team captain for Crystal Palace? Context: CREATE TABLE table_name_56 (captain VARCHAR, team VARCHAR)[/INST]SELECT captain FROM table_name_56 WHERE team = "crystal palace"</s> |
CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR) | SELECT country FROM table_name_94 WHERE catalogue_number_s_ = "eredv711" | Which Country has a Catalogue number(s) of eredv711? | <s>[INST]Which Country has a Catalogue number(s) of eredv711? Context: CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR)[/INST]SELECT country FROM table_name_94 WHERE catalogue_number_s_ = "eredv711"</s> |
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers" | Which nationality is the player from the Philadelphia Flyers? | <s>[INST]Which nationality is the player from the Philadelphia Flyers? Context: CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"</s> |
CREATE TABLE table_name_54 (pali VARCHAR, english VARCHAR) | SELECT pali FROM table_name_54 WHERE english = "mindfulness of breathing" | Which Pali has an English of mindfulness of breathing? | <s>[INST]Which Pali has an English of mindfulness of breathing? Context: CREATE TABLE table_name_54 (pali VARCHAR, english VARCHAR)[/INST]SELECT pali FROM table_name_54 WHERE english = "mindfulness of breathing"</s> |
CREATE TABLE table_name_81 (launched VARCHAR, territory VARCHAR, channel VARCHAR) | SELECT launched FROM table_name_81 WHERE territory = "singapore" AND channel = 83 | When did channel 83 in singapore launch? | <s>[INST]When did channel 83 in singapore launch? Context: CREATE TABLE table_name_81 (launched VARCHAR, territory VARCHAR, channel VARCHAR)[/INST]SELECT launched FROM table_name_81 WHERE territory = "singapore" AND channel = 83</s> |
CREATE TABLE table_1974545_2 (location VARCHAR, institution VARCHAR) | SELECT location FROM table_1974545_2 WHERE institution = "Westfield State University" | Where is the Westfield State University located? | <s>[INST]Where is the Westfield State University located? Context: CREATE TABLE table_1974545_2 (location VARCHAR, institution VARCHAR)[/INST]SELECT location FROM table_1974545_2 WHERE institution = "Westfield State University"</s> |
CREATE TABLE table_name_45 (country VARCHAR, previous_team__league_ VARCHAR, player VARCHAR) | SELECT country FROM table_name_45 WHERE previous_team__league_ = "kingston frontenacs ( ohl )" AND player = "anthony stewart category:articles with hcards" | What is Country, when Previous Team (League) is "Kingston Frontenacs ( OHL )", and when Player is "Anthony Stewart Category:Articles with hCards"? | <s>[INST]What is Country, when Previous Team (League) is "Kingston Frontenacs ( OHL )", and when Player is "Anthony Stewart Category:Articles with hCards"? Context: CREATE TABLE table_name_45 (country VARCHAR, previous_team__league_ VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_45 WHERE previous_team__l... |
CREATE TABLE table_25668203_2 (most_laps_led VARCHAR, location VARCHAR, winning_driver VARCHAR) | SELECT most_laps_led FROM table_25668203_2 WHERE location = "Monterey, California" AND winning_driver = "Scott Rarick" | Who had the most laps led in monterey, california when scott rarick won the race? | <s>[INST]Who had the most laps led in monterey, california when scott rarick won the race? Context: CREATE TABLE table_25668203_2 (most_laps_led VARCHAR, location VARCHAR, winning_driver VARCHAR)[/INST]SELECT most_laps_led FROM table_25668203_2 WHERE location = "Monterey, California" AND winning_driver = "Scott Rarick"... |
CREATE TABLE table_name_56 (location VARCHAR, country VARCHAR) | SELECT location FROM table_name_56 WHERE country = "spain" | What was the location of the tournament held in Spain? | <s>[INST]What was the location of the tournament held in Spain? Context: CREATE TABLE table_name_56 (location VARCHAR, country VARCHAR)[/INST]SELECT location FROM table_name_56 WHERE country = "spain"</s> |
CREATE TABLE table_name_79 (price_in_usd VARCHAR, company VARCHAR) | SELECT price_in_usd FROM table_name_79 WHERE company = "tealeaf" | What is the USD price for Tealeaf? | <s>[INST]What is the USD price for Tealeaf? Context: CREATE TABLE table_name_79 (price_in_usd VARCHAR, company VARCHAR)[/INST]SELECT price_in_usd FROM table_name_79 WHERE company = "tealeaf"</s> |
CREATE TABLE table_name_95 (location VARCHAR) | SELECT 1 AS st_prize___$__ FROM table_name_95 WHERE location = "scotland" | What is the 1st prize of the tournament in Scotland? | <s>[INST]What is the 1st prize of the tournament in Scotland? Context: CREATE TABLE table_name_95 (location VARCHAR)[/INST]SELECT 1 AS st_prize___$__ FROM table_name_95 WHERE location = "scotland"</s> |
CREATE TABLE table_14747043_1 (class_aAAA VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, school_year VARCHAR) | SELECT class_aAAA FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND school_year = "1994-95" | Who was the class AAAA when class AAAAA was Weslaco in 1994-95 | <s>[INST]Who was the class AAAA when class AAAAA was Weslaco in 1994-95 Context: CREATE TABLE table_14747043_1 (class_aAAA VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, school_year VARCHAR)[/INST]SELECT class_aAAA FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND school_year = "1994-95"</s> |
CREATE TABLE table_name_42 (domestic_tournament VARCHAR, team VARCHAR) | SELECT domestic_tournament FROM table_name_42 WHERE team = "chennai super kings" | What is the Domestic Tournament with Chennai Super Kings Team? | <s>[INST]What is the Domestic Tournament with Chennai Super Kings Team? Context: CREATE TABLE table_name_42 (domestic_tournament VARCHAR, team VARCHAR)[/INST]SELECT domestic_tournament FROM table_name_42 WHERE team = "chennai super kings"</s> |
CREATE TABLE table_1973816_2 (founded VARCHAR, institution VARCHAR) | SELECT founded FROM table_1973816_2 WHERE institution = "Daniel Webster College" | When was Daniel Webster College founded? | <s>[INST]When was Daniel Webster College founded? Context: CREATE TABLE table_1973816_2 (founded VARCHAR, institution VARCHAR)[/INST]SELECT founded FROM table_1973816_2 WHERE institution = "Daniel Webster College"</s> |
CREATE TABLE table_name_75 (goals_against VARCHAR, minutes VARCHAR) | SELECT goals_against FROM table_name_75 WHERE minutes = 2520 | What is the goals against for the goalkeeper with 2520 minutes? | <s>[INST]What is the goals against for the goalkeeper with 2520 minutes? Context: CREATE TABLE table_name_75 (goals_against VARCHAR, minutes VARCHAR)[/INST]SELECT goals_against FROM table_name_75 WHERE minutes = 2520</s> |
CREATE TABLE table_name_41 (championship VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) | SELECT championship FROM table_name_41 WHERE surface = "clay" AND score_in_the_final = "6–2, 5–7, 6–4, 6–2" | What was the championship that had final score of 6–2, 5–7, 6–4, 6–2 and was on a clay surface? | <s>[INST]What was the championship that had final score of 6–2, 5–7, 6–4, 6–2 and was on a clay surface? Context: CREATE TABLE table_name_41 (championship VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT championship FROM table_name_41 WHERE surface = "clay" AND score_in_the_final = "6–2, 5–7, 6–4, 6–... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.