context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE stock (Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR) | SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1 | Show the carriers of devices in stock at more than one shop. | <s>[INST]Show the carriers of devices in stock at more than one shop. Context: CREATE TABLE stock (Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR)[/INST]SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1</s> |
CREATE TABLE table_23292220_17 (scores VARCHAR, seans_team VARCHAR) | SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and Carol Vorderman" | Name the scores for chris ramsey and carol vorderman | <s>[INST]Name the scores for chris ramsey and carol vorderman Context: CREATE TABLE table_23292220_17 (scores VARCHAR, seans_team VARCHAR)[/INST]SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and Carol Vorderman"</s> |
CREATE TABLE table_name_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR) | SELECT COUNT(total) FROM table_name_97 WHERE nation = "poland" AND e_score > 7.725 | What is the total of Poland, which has an E score greater than 7.725? | <s>[INST]What is the total of Poland, which has an E score greater than 7.725? Context: CREATE TABLE table_name_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_97 WHERE nation = "poland" AND e_score > 7.725</s> |
CREATE TABLE table_name_43 (withdrawn INTEGER, type VARCHAR) | SELECT SUM(withdrawn) FROM table_name_43 WHERE type = "4-6-4t" | With a Type of 4-6-4t, what is the sum Withdrawn? | <s>[INST]With a Type of 4-6-4t, what is the sum Withdrawn? Context: CREATE TABLE table_name_43 (withdrawn INTEGER, type VARCHAR)[/INST]SELECT SUM(withdrawn) FROM table_name_43 WHERE type = "4-6-4t"</s> |
CREATE TABLE book (Writer VARCHAR) | SELECT Writer FROM book ORDER BY Writer | List the writers of the books in ascending alphabetical order. | <s>[INST]List the writers of the books in ascending alphabetical order. Context: CREATE TABLE book (Writer VARCHAR)[/INST]SELECT Writer FROM book ORDER BY Writer</s> |
CREATE TABLE table_name_91 (react INTEGER, name VARCHAR, lane VARCHAR) | SELECT AVG(react) FROM table_name_91 WHERE name = "candice davis" AND lane < 3 | What is the average React, when Name is "Candice Davis", and when Lane is less than 3? | <s>[INST]What is the average React, when Name is "Candice Davis", and when Lane is less than 3? Context: CREATE TABLE table_name_91 (react INTEGER, name VARCHAR, lane VARCHAR)[/INST]SELECT AVG(react) FROM table_name_91 WHERE name = "candice davis" AND lane < 3</s> |
CREATE TABLE table_name_65 (silver INTEGER, total VARCHAR) | SELECT MAX(silver) FROM table_name_65 WHERE total = 27 | What is the highest silver rank with a total of 27? | <s>[INST]What is the highest silver rank with a total of 27? Context: CREATE TABLE table_name_65 (silver INTEGER, total VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_65 WHERE total = 27</s> |
CREATE TABLE table_2076463_2 (control VARCHAR, school VARCHAR) | SELECT control FROM table_2076463_2 WHERE school = "Missouri Western State University" | What type of school would you see when visiting Missouri Western State University? | <s>[INST]What type of school would you see when visiting Missouri Western State University? Context: CREATE TABLE table_2076463_2 (control VARCHAR, school VARCHAR)[/INST]SELECT control FROM table_2076463_2 WHERE school = "Missouri Western State University"</s> |
CREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR) | SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan" | Name the theatre for aaron jablonski schuyler grogan with performances more than 49 | <s>[INST]Name the theatre for aaron jablonski schuyler grogan with performances more than 49 Context: CREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR)[/INST]SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan"</s> |
CREATE TABLE table_name_88 (bats VARCHAR, first VARCHAR) | SELECT bats FROM table_name_88 WHERE first = "todd" | How many bats does Todd have? | <s>[INST]How many bats does Todd have? Context: CREATE TABLE table_name_88 (bats VARCHAR, first VARCHAR)[/INST]SELECT bats FROM table_name_88 WHERE first = "todd"</s> |
CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, portrayed_by VARCHAR) | SELECT main_cast_seasons FROM table_12441518_1 WHERE portrayed_by = "Kevin Jonas" | What seasons does Kevin Jonas appear? | <s>[INST]What seasons does Kevin Jonas appear? Context: CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, portrayed_by VARCHAR)[/INST]SELECT main_cast_seasons FROM table_12441518_1 WHERE portrayed_by = "Kevin Jonas"</s> |
CREATE TABLE table_name_20 (year_made VARCHAR, manufacturer VARCHAR) | SELECT year_made FROM table_name_20 WHERE manufacturer = "2-6-2 — oooo — mogul" | what is the year made when the manufacturer is 2-6-2 — oooo — mogul? | <s>[INST]what is the year made when the manufacturer is 2-6-2 — oooo — mogul? Context: CREATE TABLE table_name_20 (year_made VARCHAR, manufacturer VARCHAR)[/INST]SELECT year_made FROM table_name_20 WHERE manufacturer = "2-6-2 — oooo — mogul"</s> |
CREATE TABLE table_name_48 (revised VARCHAR, mccune_reischauer VARCHAR) | SELECT revised FROM table_name_48 WHERE mccune_reischauer = "yŏn (s) ryŏn (n)" | Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n) | <s>[INST]Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n) Context: CREATE TABLE table_name_48 (revised VARCHAR, mccune_reischauer VARCHAR)[/INST]SELECT revised FROM table_name_48 WHERE mccune_reischauer = "yŏn (s) ryŏn (n)"</s> |
CREATE TABLE table_name_20 (league VARCHAR, attendance_average VARCHAR) | SELECT league FROM table_name_20 WHERE attendance_average = "7,975" | Which League showed 7,975 for an average attendance? | <s>[INST]Which League showed 7,975 for an average attendance? Context: CREATE TABLE table_name_20 (league VARCHAR, attendance_average VARCHAR)[/INST]SELECT league FROM table_name_20 WHERE attendance_average = "7,975"</s> |
CREATE TABLE table_name_22 (tyres VARCHAR, year INTEGER) | SELECT tyres FROM table_name_22 WHERE year > 1984 | What were the Tyres after 1984? | <s>[INST]What were the Tyres after 1984? Context: CREATE TABLE table_name_22 (tyres VARCHAR, year INTEGER)[/INST]SELECT tyres FROM table_name_22 WHERE year > 1984</s> |
CREATE TABLE table_name_46 (player VARCHAR, figures VARCHAR) | SELECT player FROM table_name_46 WHERE figures = "4/14" | Which player has figures of 4/14? | <s>[INST]Which player has figures of 4/14? Context: CREATE TABLE table_name_46 (player VARCHAR, figures VARCHAR)[/INST]SELECT player FROM table_name_46 WHERE figures = "4/14"</s> |
CREATE TABLE table_name_70 (name VARCHAR, lane VARCHAR, time VARCHAR) | SELECT name FROM table_name_70 WHERE lane < 6 AND time = "2:11.02" | Who swam in a lane less than 6 and finished with a time of 2:11.02? | <s>[INST]Who swam in a lane less than 6 and finished with a time of 2:11.02? Context: CREATE TABLE table_name_70 (name VARCHAR, lane VARCHAR, time VARCHAR)[/INST]SELECT name FROM table_name_70 WHERE lane < 6 AND time = "2:11.02"</s> |
CREATE TABLE table_name_26 (date VARCHAR, attendance VARCHAR, home VARCHAR) | SELECT date FROM table_name_26 WHERE attendance > 875 AND home = "platense" | What was date was the attendance larger than 875 against Platense? | <s>[INST]What was date was the attendance larger than 875 against Platense? Context: CREATE TABLE table_name_26 (date VARCHAR, attendance VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_26 WHERE attendance > 875 AND home = "platense"</s> |
CREATE TABLE table_name_42 (Id VARCHAR) | SELECT 1989 FROM table_name_42 WHERE 1986 = "99" | Which 1989 has a 1986 of 99? | <s>[INST]Which 1989 has a 1986 of 99? Context: CREATE TABLE table_name_42 (Id VARCHAR)[/INST]SELECT 1989 FROM table_name_42 WHERE 1986 = "99"</s> |
CREATE TABLE table_name_52 (date VARCHAR, round VARCHAR) | SELECT date FROM table_name_52 WHERE round = "sf" | what is the date when the round is sf? | <s>[INST]what is the date when the round is sf? Context: CREATE TABLE table_name_52 (date VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE round = "sf"</s> |
CREATE TABLE table_name_57 (producer VARCHAR, title VARCHAR) | SELECT producer FROM table_name_57 WHERE title = "city sharks" | Who is the producer of city sharks? | <s>[INST]Who is the producer of city sharks? Context: CREATE TABLE table_name_57 (producer VARCHAR, title VARCHAR)[/INST]SELECT producer FROM table_name_57 WHERE title = "city sharks"</s> |
CREATE TABLE table_name_99 (tournament VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_99 WHERE opponent_in_the_final = "samantha stosur" | What tournament has Samantha Stosur as the opponent in the final? | <s>[INST]What tournament has Samantha Stosur as the opponent in the final? Context: CREATE TABLE table_name_99 (tournament VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_99 WHERE opponent_in_the_final = "samantha stosur"</s> |
CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_14 WHERE away_team = "north melbourne" | In which venue was North Melbourne the Away team? | <s>[INST]In which venue was North Melbourne the Away team? Context: CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_14 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_72 (hppa VARCHAR, ppc64 VARCHAR, mips VARCHAR, alpha VARCHAR) | SELECT hppa FROM table_name_72 WHERE mips = "no" AND alpha = "no" AND ppc64 = "yes 3+" | Which hppa contains a ppc64 of yes 3+, no for mips and no for alpha? | <s>[INST]Which hppa contains a ppc64 of yes 3+, no for mips and no for alpha? Context: CREATE TABLE table_name_72 (hppa VARCHAR, ppc64 VARCHAR, mips VARCHAR, alpha VARCHAR)[/INST]SELECT hppa FROM table_name_72 WHERE mips = "no" AND alpha = "no" AND ppc64 = "yes 3+"</s> |
CREATE TABLE table_name_30 (rank VARCHAR, film VARCHAR) | SELECT rank FROM table_name_30 WHERE film = "amelia and michael" | What is the rank of the film, Amelia and Michael? | <s>[INST]What is the rank of the film, Amelia and Michael? Context: CREATE TABLE table_name_30 (rank VARCHAR, film VARCHAR)[/INST]SELECT rank FROM table_name_30 WHERE film = "amelia and michael"</s> |
CREATE TABLE table_name_40 (year INTEGER, opponent VARCHAR) | SELECT SUM(year) FROM table_name_40 WHERE opponent = "#3 uconn" | What is the sum of Year, when Opponent is #3 UCONN? | <s>[INST]What is the sum of Year, when Opponent is #3 UCONN? Context: CREATE TABLE table_name_40 (year INTEGER, opponent VARCHAR)[/INST]SELECT SUM(year) FROM table_name_40 WHERE opponent = "#3 uconn"</s> |
CREATE TABLE table_21422977_2 (duration VARCHAR, nº VARCHAR) | SELECT duration FROM table_21422977_2 WHERE nº = 33 | What is the duration for no 33? | <s>[INST]What is the duration for no 33? Context: CREATE TABLE table_21422977_2 (duration VARCHAR, nº VARCHAR)[/INST]SELECT duration FROM table_21422977_2 WHERE nº = 33</s> |
CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR) | SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray" | What group on the island of Faray has a Height (m) of 32 and a Population of 0? | <s>[INST]What group on the island of Faray has a Height (m) of 32 and a Population of 0? Context: CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR)[/INST]SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray"</s> |
CREATE TABLE table_24989925_2 (team_record VARCHAR, game_site VARCHAR) | SELECT team_record FROM table_24989925_2 WHERE game_site = "RheinEnergieStadion" | What was the team's record when they played at Rheinenergiestadion? | <s>[INST]What was the team's record when they played at Rheinenergiestadion? Context: CREATE TABLE table_24989925_2 (team_record VARCHAR, game_site VARCHAR)[/INST]SELECT team_record FROM table_24989925_2 WHERE game_site = "RheinEnergieStadion"</s> |
CREATE TABLE table_name_34 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_name_34 WHERE incumbent = "ken cuccinelli" | Which party has Ken Cuccinelli as an incumbent? | <s>[INST]Which party has Ken Cuccinelli as an incumbent? Context: CREATE TABLE table_name_34 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_name_34 WHERE incumbent = "ken cuccinelli"</s> |
CREATE TABLE table_name_27 (clive_churchill_medal VARCHAR, losingteam VARCHAR, season VARCHAR) | SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = "sydney roosters" AND season = 2010 | Who wins the clive churchill medal when the losing team is the sydney roosters in 2010? | <s>[INST]Who wins the clive churchill medal when the losing team is the sydney roosters in 2010? Context: CREATE TABLE table_name_27 (clive_churchill_medal VARCHAR, losingteam VARCHAR, season VARCHAR)[/INST]SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = "sydney roosters" AND season = 2010</s> |
CREATE TABLE table_27170987_5 (league_apps VARCHAR, total_goals VARCHAR) | SELECT league_apps FROM table_27170987_5 WHERE total_goals = 11 | How many league apps did the player with 11 team goals have? | <s>[INST]How many league apps did the player with 11 team goals have? Context: CREATE TABLE table_27170987_5 (league_apps VARCHAR, total_goals VARCHAR)[/INST]SELECT league_apps FROM table_27170987_5 WHERE total_goals = 11</s> |
CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR) | SELECT power_rpm FROM table_name_91 WHERE model_engine = "1.8 duratorq" | Name the power for 1.8 duratorq | <s>[INST]Name the power for 1.8 duratorq Context: CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR)[/INST]SELECT power_rpm FROM table_name_91 WHERE model_engine = "1.8 duratorq"</s> |
CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_54 WHERE away_team = "carlton" | What was the largest crowd for an away Carlton game? | <s>[INST]What was the largest crowd for an away Carlton game? Context: CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_54 WHERE away_team = "carlton"</s> |
CREATE TABLE table_name_84 (company VARCHAR, number VARCHAR, price VARCHAR) | SELECT company FROM table_name_84 WHERE number > 5 AND price = "$389m" | What company is numbered larger than 5 and priced at $389M? | <s>[INST]What company is numbered larger than 5 and priced at $389M? Context: CREATE TABLE table_name_84 (company VARCHAR, number VARCHAR, price VARCHAR)[/INST]SELECT company FROM table_name_84 WHERE number > 5 AND price = "$389m"</s> |
CREATE TABLE table_name_59 (rank INTEGER, time VARCHAR) | SELECT MAX(rank) FROM table_name_59 WHERE time = "1:05.14.10" | What is the best rank with a time of 1:05.14.10? | <s>[INST]What is the best rank with a time of 1:05.14.10? Context: CREATE TABLE table_name_59 (rank INTEGER, time VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_59 WHERE time = "1:05.14.10"</s> |
CREATE TABLE table_name_54 (longitude VARCHAR, diameter__km_ VARCHAR) | SELECT longitude FROM table_name_54 WHERE diameter__km_ = "31km" | What shows for the Longitude when there is a Diameter (km) of 31km? | <s>[INST]What shows for the Longitude when there is a Diameter (km) of 31km? Context: CREATE TABLE table_name_54 (longitude VARCHAR, diameter__km_ VARCHAR)[/INST]SELECT longitude FROM table_name_54 WHERE diameter__km_ = "31km"</s> |
CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_29 WHERE visitor = "toronto" | Name the home with toronto visiting | <s>[INST]Name the home with toronto visiting Context: CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_29 WHERE visitor = "toronto"</s> |
CREATE TABLE table_name_7 (lost VARCHAR, points VARCHAR) | SELECT lost FROM table_name_7 WHERE points = "47" | How many losses did the club with 47 points have ? | <s>[INST]How many losses did the club with 47 points have ? Context: CREATE TABLE table_name_7 (lost VARCHAR, points VARCHAR)[/INST]SELECT lost FROM table_name_7 WHERE points = "47"</s> |
CREATE TABLE table_name_3 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_3 WHERE game = 11 | what team has a score of 11 | <s>[INST]what team has a score of 11 Context: CREATE TABLE table_name_3 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_3 WHERE game = 11</s> |
CREATE TABLE csu_fees (year VARCHAR); CREATE TABLE campuses (id VARCHAR) | SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Jose State University" AND T2.year = 1996 | What is the campus fee of "San Jose State University" in year 1996? | <s>[INST]What is the campus fee of "San Jose State University" in year 1996? Context: CREATE TABLE csu_fees (year VARCHAR); CREATE TABLE campuses (id VARCHAR)[/INST]SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Jose State University" AND T2.year = 1996</s> |
CREATE TABLE table_name_22 (pick__number VARCHAR, position VARCHAR, overall VARCHAR) | SELECT COUNT(pick__number) FROM table_name_22 WHERE position = "defensive end" AND overall < 33 | How many Picks have a Position of defensive end, and an Overall smaller than 33? | <s>[INST]How many Picks have a Position of defensive end, and an Overall smaller than 33? Context: CREATE TABLE table_name_22 (pick__number VARCHAR, position VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_22 WHERE position = "defensive end" AND overall < 33</s> |
CREATE TABLE stadium (average_attendance VARCHAR, capacity_percentage INTEGER) | SELECT average_attendance FROM stadium WHERE capacity_percentage > 100 | What is the average attendance of stadiums with capacity percentage higher than 100%? | <s>[INST]What is the average attendance of stadiums with capacity percentage higher than 100%? Context: CREATE TABLE stadium (average_attendance VARCHAR, capacity_percentage INTEGER)[/INST]SELECT average_attendance FROM stadium WHERE capacity_percentage > 100</s> |
CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) | SELECT womens_doubles FROM table_14903881_1 WHERE mixed_doubles = "Potten Ruth Scott" | Name the womens doubles when mixed doubles is potten ruth scott | <s>[INST]Name the womens doubles when mixed doubles is potten ruth scott Context: CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR)[/INST]SELECT womens_doubles FROM table_14903881_1 WHERE mixed_doubles = "Potten Ruth Scott"</s> |
CREATE TABLE table_name_83 (no_4 VARCHAR, no_5 VARCHAR, no_9 VARCHAR) | SELECT no_4 FROM table_name_83 WHERE no_5 = "madison" AND no_9 = "abigail" | What was the No. 4 name when Madison was No. 5 and Abigail was No. 9? | <s>[INST]What was the No. 4 name when Madison was No. 5 and Abigail was No. 9? Context: CREATE TABLE table_name_83 (no_4 VARCHAR, no_5 VARCHAR, no_9 VARCHAR)[/INST]SELECT no_4 FROM table_name_83 WHERE no_5 = "madison" AND no_9 = "abigail"</s> |
CREATE TABLE table_275162_1 (course VARCHAR, location VARCHAR) | SELECT COUNT(course) FROM table_275162_1 WHERE location = "Carmel, Indiana" | How many courses are located in carmel, indiana? | <s>[INST]How many courses are located in carmel, indiana? Context: CREATE TABLE table_275162_1 (course VARCHAR, location VARCHAR)[/INST]SELECT COUNT(course) FROM table_275162_1 WHERE location = "Carmel, Indiana"</s> |
CREATE TABLE table_2897457_3 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2897457_3 WHERE player = "Kris Draper" | Which nhl team has kris draper as the player? | <s>[INST]Which nhl team has kris draper as the player? Context: CREATE TABLE table_2897457_3 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_2897457_3 WHERE player = "Kris Draper"</s> |
CREATE TABLE table_26060884_2 (property_crimes INTEGER, burglary VARCHAR) | SELECT MIN(property_crimes) FROM table_26060884_2 WHERE burglary = 45350 | What was the minimum property crimes stats if the burglary committed was 45350? | <s>[INST]What was the minimum property crimes stats if the burglary committed was 45350? Context: CREATE TABLE table_26060884_2 (property_crimes INTEGER, burglary VARCHAR)[/INST]SELECT MIN(property_crimes) FROM table_26060884_2 WHERE burglary = 45350</s> |
CREATE TABLE medication (name VARCHAR) | SELECT DISTINCT name FROM medication ORDER BY name | List the names of all distinct medications, ordered in an alphabetical order. | <s>[INST]List the names of all distinct medications, ordered in an alphabetical order. Context: CREATE TABLE medication (name VARCHAR)[/INST]SELECT DISTINCT name FROM medication ORDER BY name</s> |
CREATE TABLE table_name_95 (tf1__number INTEGER, official__number VARCHAR, air_date__france_ VARCHAR) | SELECT MAX(tf1__number) FROM table_name_95 WHERE official__number > 47 AND air_date__france_ = "13 july 2010" | What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010? | <s>[INST]What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010? Context: CREATE TABLE table_name_95 (tf1__number INTEGER, official__number VARCHAR, air_date__france_ VARCHAR)[/INST]SELECT MAX(tf1__number) FROM table_name_95 WHERE official__number > 47 AND air_da... |
CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR) | SELECT MAX(wickets) FROM table_name_55 WHERE maidens > 630 AND best = "7/72" | What is the largest number of wickets when there are more than 630 maidens and a best of 7/72? | <s>[INST]What is the largest number of wickets when there are more than 630 maidens and a best of 7/72? Context: CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR)[/INST]SELECT MAX(wickets) FROM table_name_55 WHERE maidens > 630 AND best = "7/72"</s> |
CREATE TABLE table_name_9 (round INTEGER, pick VARCHAR) | SELECT SUM(round) FROM table_name_9 WHERE pick = 7 | WHAT IS THE ROUND WITH PICK OF 7? | <s>[INST]WHAT IS THE ROUND WITH PICK OF 7? Context: CREATE TABLE table_name_9 (round INTEGER, pick VARCHAR)[/INST]SELECT SUM(round) FROM table_name_9 WHERE pick = 7</s> |
CREATE TABLE table_name_50 (opponents VARCHAR, kick_off VARCHAR, h___a VARCHAR, referee VARCHAR) | SELECT opponents FROM table_name_50 WHERE h___a = "h" AND referee = "beguiristain iceta" AND kick_off = "1993-04-18 17:00" | Who is the opponent of the match with a H/A of h, Beguiristain Iceta as the referee, and a kick off at 1993-04-18 17:00? | <s>[INST]Who is the opponent of the match with a H/A of h, Beguiristain Iceta as the referee, and a kick off at 1993-04-18 17:00? Context: CREATE TABLE table_name_50 (opponents VARCHAR, kick_off VARCHAR, h___a VARCHAR, referee VARCHAR)[/INST]SELECT opponents FROM table_name_50 WHERE h___a = "h" AND referee = "beguirist... |
CREATE TABLE table_name_28 (position VARCHAR, team VARCHAR) | SELECT position FROM table_name_28 WHERE team = "denver broncos" | What is the position of the player from the denver broncos? | <s>[INST]What is the position of the player from the denver broncos? Context: CREATE TABLE table_name_28 (position VARCHAR, team VARCHAR)[/INST]SELECT position FROM table_name_28 WHERE team = "denver broncos"</s> |
CREATE TABLE table_name_16 (series VARCHAR, date VARCHAR) | SELECT series FROM table_name_16 WHERE date = "may 27" | What was the series on may 27? | <s>[INST]What was the series on may 27? Context: CREATE TABLE table_name_16 (series VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_name_16 WHERE date = "may 27"</s> |
CREATE TABLE table_11934032_1 (location VARCHAR, station_number VARCHAR) | SELECT COUNT(location) FROM table_11934032_1 WHERE station_number = "C03" | what is the total number of location where station number is c03 | <s>[INST]what is the total number of location where station number is c03 Context: CREATE TABLE table_11934032_1 (location VARCHAR, station_number VARCHAR)[/INST]SELECT COUNT(location) FROM table_11934032_1 WHERE station_number = "C03"</s> |
CREATE TABLE table_name_69 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_69 WHERE date = "march 25" | What is the High assists for march 25? | <s>[INST]What is the High assists for march 25? Context: CREATE TABLE table_name_69 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_69 WHERE date = "march 25"</s> |
CREATE TABLE table_name_80 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_80 WHERE opponent = "isha lakhani" | What was the score of the tournament against Isha Lakhani? | <s>[INST]What was the score of the tournament against Isha Lakhani? Context: CREATE TABLE table_name_80 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE opponent = "isha lakhani"</s> |
CREATE TABLE table_name_1 (rank VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT rank FROM table_name_1 WHERE silver > 1 AND nation = "total" | Which rank has more than 1 silver and a total nation? | <s>[INST]Which rank has more than 1 silver and a total nation? Context: CREATE TABLE table_name_1 (rank VARCHAR, silver VARCHAR, nation VARCHAR)[/INST]SELECT rank FROM table_name_1 WHERE silver > 1 AND nation = "total"</s> |
CREATE TABLE table_name_48 (rank__number VARCHAR, result VARCHAR) | SELECT rank__number FROM table_name_48 WHERE result = "w13-3" | WHAT RANK HAD A RESULT OF W13-3? | <s>[INST]WHAT RANK HAD A RESULT OF W13-3? Context: CREATE TABLE table_name_48 (rank__number VARCHAR, result VARCHAR)[/INST]SELECT rank__number FROM table_name_48 WHERE result = "w13-3"</s> |
CREATE TABLE table_name_38 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_38 WHERE player = "chito victolero" | What college has Chito Victolero? | <s>[INST]What college has Chito Victolero? Context: CREATE TABLE table_name_38 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_38 WHERE player = "chito victolero"</s> |
CREATE TABLE table_name_42 (winner VARCHAR, finalist VARCHAR) | SELECT winner FROM table_name_42 WHERE finalist = "lindsay davenport" | Who was the winner against Lindsay Davenport? | <s>[INST]Who was the winner against Lindsay Davenport? Context: CREATE TABLE table_name_42 (winner VARCHAR, finalist VARCHAR)[/INST]SELECT winner FROM table_name_42 WHERE finalist = "lindsay davenport"</s> |
CREATE TABLE table_name_58 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_58 WHERE venue = "lake oval" | When the game was played at the Venue of Lake Oval, what was the home team score? | <s>[INST]When the game was played at the Venue of Lake Oval, what was the home team score? Context: CREATE TABLE table_name_58 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_58 WHERE venue = "lake oval"</s> |
CREATE TABLE table_225204_4 (date_successor_seated VARCHAR, district VARCHAR) | SELECT date_successor_seated FROM table_225204_4 WHERE district = "Pennsylvania 17th" | Name the date successor seated for pennsylvania 17th | <s>[INST]Name the date successor seated for pennsylvania 17th Context: CREATE TABLE table_225204_4 (date_successor_seated VARCHAR, district VARCHAR)[/INST]SELECT date_successor_seated FROM table_225204_4 WHERE district = "Pennsylvania 17th"</s> |
CREATE TABLE table_name_96 (score VARCHAR, opponent VARCHAR, venue VARCHAR) | SELECT score FROM table_name_96 WHERE opponent = "malacca" AND venue = "klfa stadium, cheras" | What is the score for the game against Malacca at the Klfa Stadium, Cheras? | <s>[INST]What is the score for the game against Malacca at the Klfa Stadium, Cheras? Context: CREATE TABLE table_name_96 (score VARCHAR, opponent VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_96 WHERE opponent = "malacca" AND venue = "klfa stadium, cheras"</s> |
CREATE TABLE table_name_5 (winter_olympics INTEGER, country VARCHAR, holmenkollen VARCHAR) | SELECT SUM(winter_olympics) FROM table_name_5 WHERE country = "soviet union" AND holmenkollen = "1970, 1979" | what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979? | <s>[INST]what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979? Context: CREATE TABLE table_name_5 (winter_olympics INTEGER, country VARCHAR, holmenkollen VARCHAR)[/INST]SELECT SUM(winter_olympics) FROM table_name_5 WHERE country = "soviet union" AND holmenkollen = "1970, 1979"</s> |
CREATE TABLE table_name_83 (year INTEGER, venue VARCHAR) | SELECT MIN(year) FROM table_name_83 WHERE venue = "athens, greece" | What is the lowest year that has athens, greece as the venue? | <s>[INST]What is the lowest year that has athens, greece as the venue? Context: CREATE TABLE table_name_83 (year INTEGER, venue VARCHAR)[/INST]SELECT MIN(year) FROM table_name_83 WHERE venue = "athens, greece"</s> |
CREATE TABLE table_name_54 (region VARCHAR) | SELECT MIN(1990) FROM table_name_54 WHERE region = "east asia (10 economies)" AND 1960 < 12.6 | What is the lowest value for 1990, when the Region is East Asia (10 Economies), and when 1960 has a value less than 12.6? | <s>[INST]What is the lowest value for 1990, when the Region is East Asia (10 Economies), and when 1960 has a value less than 12.6? Context: CREATE TABLE table_name_54 (region VARCHAR)[/INST]SELECT MIN(1990) FROM table_name_54 WHERE region = "east asia (10 economies)" AND 1960 < 12.6</s> |
CREATE TABLE table_30120560_1 (civil_parish VARCHAR, area__acres__ VARCHAR) | SELECT civil_parish FROM table_30120560_1 WHERE area__acres__ = 405 | which cilvil parishes have areas of 405? | <s>[INST]which cilvil parishes have areas of 405? Context: CREATE TABLE table_30120560_1 (civil_parish VARCHAR, area__acres__ VARCHAR)[/INST]SELECT civil_parish FROM table_30120560_1 WHERE area__acres__ = 405</s> |
CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT SUM(bronze) FROM table_name_62 WHERE gold > 0 AND silver < 1 AND total < 1 | What is the sum of the Bronze medals when the Gold medals are larger than 0, Silver medals are smaller than 1, and the total is smaller than 1? | <s>[INST]What is the sum of the Bronze medals when the Gold medals are larger than 0, Silver medals are smaller than 1, and the total is smaller than 1? Context: CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_62 WHERE gold > 0 AND silver... |
CREATE TABLE table_24575253_4 (division_four VARCHAR, division_five VARCHAR) | SELECT division_four FROM table_24575253_4 WHERE division_five = "Godstone" | When godstone is in division five who is in division four? | <s>[INST]When godstone is in division five who is in division four? Context: CREATE TABLE table_24575253_4 (division_four VARCHAR, division_five VARCHAR)[/INST]SELECT division_four FROM table_24575253_4 WHERE division_five = "Godstone"</s> |
CREATE TABLE table_21781578_2 (season_no VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(season_no) FROM table_21781578_2 WHERE us_viewers__millions_ = "12.30" | What was the number of season number entries that had US Viewers of 12.30 million? | <s>[INST]What was the number of season number entries that had US Viewers of 12.30 million? Context: CREATE TABLE table_21781578_2 (season_no VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(season_no) FROM table_21781578_2 WHERE us_viewers__millions_ = "12.30"</s> |
CREATE TABLE table_13805773_2 (position INTEGER, artist VARCHAR) | SELECT MAX(position) FROM table_13805773_2 WHERE artist = "Ray Adams" | What is highest place reached by artist Ray Adams? | <s>[INST]What is highest place reached by artist Ray Adams? Context: CREATE TABLE table_13805773_2 (position INTEGER, artist VARCHAR)[/INST]SELECT MAX(position) FROM table_13805773_2 WHERE artist = "Ray Adams"</s> |
CREATE TABLE table_name_89 (season_7 VARCHAR, seat VARCHAR, season_3 VARCHAR) | SELECT season_7 FROM table_name_89 WHERE seat > 1 AND season_3 = "w. brett wilson" | Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson? | <s>[INST]Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson? Context: CREATE TABLE table_name_89 (season_7 VARCHAR, seat VARCHAR, season_3 VARCHAR)[/INST]SELECT season_7 FROM table_name_89 WHERE seat > 1 AND season_3 = "w. brett wilson"</s> |
CREATE TABLE table_name_43 (performances INTEGER, role VARCHAR) | SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton" | Name the most performances for geoffrey fitton | <s>[INST]Name the most performances for geoffrey fitton Context: CREATE TABLE table_name_43 (performances INTEGER, role VARCHAR)[/INST]SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton"</s> |
CREATE TABLE table_name_80 (losses INTEGER, against VARCHAR, wins VARCHAR) | SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7 | What is the greatest number of losses when the against is 1465 and there are more than 7 wins? | <s>[INST]What is the greatest number of losses when the against is 1465 and there are more than 7 wins? Context: CREATE TABLE table_name_80 (losses INTEGER, against VARCHAR, wins VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7</s> |
CREATE TABLE table_name_30 (apps INTEGER, goals VARCHAR, club VARCHAR, season VARCHAR) | SELECT SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0 | When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps? | <s>[INST]When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps? Context: CREATE TABLE table_name_30 (apps INTEGER, goals VARCHAR, club VARCHAR, season VARCHAR)[/INST]SELECT SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0</s> |
CREATE TABLE table_name_57 (time VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_57 WHERE opponent = "shinya aoki" | What was the time when Shinya Aoki was the opponent? | <s>[INST]What was the time when Shinya Aoki was the opponent? Context: CREATE TABLE table_name_57 (time VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_57 WHERE opponent = "shinya aoki"</s> |
CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR) | SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0 | What is the fewest losses that had an against score of 2190 and more than 0 draws? | <s>[INST]What is the fewest losses that had an against score of 2190 and more than 0 draws? Context: CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR)[/INST]SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0</s> |
CREATE TABLE table_name_28 (ends INTEGER, name VARCHAR) | SELECT AVG(ends) FROM table_name_28 WHERE name = "weston" | Name the average ends for weston | <s>[INST]Name the average ends for weston Context: CREATE TABLE table_name_28 (ends INTEGER, name VARCHAR)[/INST]SELECT AVG(ends) FROM table_name_28 WHERE name = "weston"</s> |
CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_25 WHERE date = "april 26, 2003" | Who was the opponent on april 26, 2003? | <s>[INST]Who was the opponent on april 26, 2003? Context: CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_25 WHERE date = "april 26, 2003"</s> |
CREATE TABLE table_10312547_1 (character VARCHAR) | SELECT 1990 AS _broadway FROM table_10312547_1 WHERE character = "Peter Pan" | Who played Peter Pan in the 1990 Broadway? | <s>[INST]Who played Peter Pan in the 1990 Broadway? Context: CREATE TABLE table_10312547_1 (character VARCHAR)[/INST]SELECT 1990 AS _broadway FROM table_10312547_1 WHERE character = "Peter Pan"</s> |
CREATE TABLE table_26223231_1 (poles VARCHAR, wins VARCHAR) | SELECT poles FROM table_26223231_1 WHERE wins = 2 | When there are 2 wins, how many poles are? | <s>[INST]When there are 2 wins, how many poles are? Context: CREATE TABLE table_26223231_1 (poles VARCHAR, wins VARCHAR)[/INST]SELECT poles FROM table_26223231_1 WHERE wins = 2</s> |
CREATE TABLE table_name_70 (runs INTEGER, innings VARCHAR, not_outs VARCHAR) | SELECT AVG(runs) FROM table_name_70 WHERE innings = 40 AND not_outs > 6 | What's the average amount of Runs that has 40 innings, and Not outs larger than 6? | <s>[INST]What's the average amount of Runs that has 40 innings, and Not outs larger than 6? Context: CREATE TABLE table_name_70 (runs INTEGER, innings VARCHAR, not_outs VARCHAR)[/INST]SELECT AVG(runs) FROM table_name_70 WHERE innings = 40 AND not_outs > 6</s> |
CREATE TABLE table_name_59 (founded INTEGER, location VARCHAR) | SELECT AVG(founded) FROM table_name_59 WHERE location = "chicopee, massachusetts" | What is the average Founded for chicopee, massachusetts? | <s>[INST]What is the average Founded for chicopee, massachusetts? Context: CREATE TABLE table_name_59 (founded INTEGER, location VARCHAR)[/INST]SELECT AVG(founded) FROM table_name_59 WHERE location = "chicopee, massachusetts"</s> |
CREATE TABLE table_name_90 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_90 WHERE runner_s__up = "phillip price" | What was Olazabal's winning score in the event in which Phillip Price finished 2nd? | <s>[INST]What was Olazabal's winning score in the event in which Phillip Price finished 2nd? Context: CREATE TABLE table_name_90 (winning_score VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_90 WHERE runner_s__up = "phillip price"</s> |
CREATE TABLE table_name_89 (points VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_89 WHERE year = 1952 | Name the total number of points for 1952 | <s>[INST]Name the total number of points for 1952 Context: CREATE TABLE table_name_89 (points VARCHAR, year VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_89 WHERE year = 1952</s> |
CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_37 WHERE date = "october 21, 1981" | What is the label for October 21, 1981? | <s>[INST]What is the label for October 21, 1981? Context: CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR)[/INST]SELECT label FROM table_name_37 WHERE date = "october 21, 1981"</s> |
CREATE TABLE table_name_62 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_62 WHERE runner_s__up = "patty sheehan" | On what Date was Patty Sheehan Runner(s)-up? | <s>[INST]On what Date was Patty Sheehan Runner(s)-up? Context: CREATE TABLE table_name_62 (date VARCHAR, runner_s__up VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE runner_s__up = "patty sheehan"</s> |
CREATE TABLE table_name_21 (plyff VARCHAR, opponent VARCHAR) | SELECT plyff FROM table_name_21 WHERE opponent = "billings outlaws" | What is the Plyff team that plays the Billings Outlaws? | <s>[INST]What is the Plyff team that plays the Billings Outlaws? Context: CREATE TABLE table_name_21 (plyff VARCHAR, opponent VARCHAR)[/INST]SELECT plyff FROM table_name_21 WHERE opponent = "billings outlaws"</s> |
CREATE TABLE table_25604014_8 (no_in_season VARCHAR, no_in_series VARCHAR) | SELECT COUNT(no_in_season) FROM table_25604014_8 WHERE no_in_series = 142 | How many episodes in the season are episode 142 in the series? | <s>[INST]How many episodes in the season are episode 142 in the series? Context: CREATE TABLE table_25604014_8 (no_in_season VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_25604014_8 WHERE no_in_series = 142</s> |
CREATE TABLE table_name_16 (date VARCHAR, type VARCHAR) | SELECT date FROM table_name_16 WHERE type = "hilly stage" | What was the date with a hilly stage? | <s>[INST]What was the date with a hilly stage? Context: CREATE TABLE table_name_16 (date VARCHAR, type VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE type = "hilly stage"</s> |
CREATE TABLE table_26198709_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_26198709_1 WHERE us_viewers__million_ = "18.07" | Who wrote the episode with 18.07 million viewers? | <s>[INST]Who wrote the episode with 18.07 million viewers? Context: CREATE TABLE table_26198709_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_26198709_1 WHERE us_viewers__million_ = "18.07"</s> |
CREATE TABLE table_name_83 (week_2 VARCHAR, week_1 VARCHAR) | SELECT week_2 FROM table_name_83 WHERE week_1 = "daniella mugnolo" | What is the week 2 with daniella mugnolo in week 1? | <s>[INST]What is the week 2 with daniella mugnolo in week 1? Context: CREATE TABLE table_name_83 (week_2 VARCHAR, week_1 VARCHAR)[/INST]SELECT week_2 FROM table_name_83 WHERE week_1 = "daniella mugnolo"</s> |
CREATE TABLE table_name_55 (position VARCHAR, year VARCHAR) | SELECT position FROM table_name_55 WHERE year = 1981 | What was the position in 1981? | <s>[INST]What was the position in 1981? Context: CREATE TABLE table_name_55 (position VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_name_55 WHERE year = 1981</s> |
CREATE TABLE table_26686908_2 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_26686908_2 WHERE circuit = "Mount Panorama circuit" | What is the date for the mount panorama circuit? | <s>[INST]What is the date for the mount panorama circuit? Context: CREATE TABLE table_26686908_2 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_26686908_2 WHERE circuit = "Mount Panorama circuit"</s> |
CREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR) | SELECT game FROM table_22801331_1 WHERE record = "6-3" | What game was held against a team with a 6-3 record against the Cowboys? | <s>[INST]What game was held against a team with a 6-3 record against the Cowboys? Context: CREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR)[/INST]SELECT game FROM table_22801331_1 WHERE record = "6-3"</s> |
CREATE TABLE table_name_96 (score INTEGER, opposition VARCHAR, city VARCHAR) | SELECT SUM(score) FROM table_name_96 WHERE opposition = "sussex" AND city = "liverpool" | What was the score when the opposition was sussex in liverpool? | <s>[INST]What was the score when the opposition was sussex in liverpool? Context: CREATE TABLE table_name_96 (score INTEGER, opposition VARCHAR, city VARCHAR)[/INST]SELECT SUM(score) FROM table_name_96 WHERE opposition = "sussex" AND city = "liverpool"</s> |
CREATE TABLE table_name_96 (series VARCHAR, points VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT series FROM table_name_96 WHERE season < 2003 AND podiums = "1" AND points = "n/a" | What Series has a season that is older than 2003 with a Podiums entry of 1 and a Points entry that is n/a? | <s>[INST]What Series has a season that is older than 2003 with a Podiums entry of 1 and a Points entry that is n/a? Context: CREATE TABLE table_name_96 (series VARCHAR, points VARCHAR, season VARCHAR, podiums VARCHAR)[/INST]SELECT series FROM table_name_96 WHERE season < 2003 AND podiums = "1" AND points = "n/a"</s> |
CREATE TABLE table_name_52 (blood_type VARCHAR, agency VARCHAR) | SELECT blood_type FROM table_name_52 WHERE agency = "vision factory" | What's the blood type of the member from the vision factory agency? | <s>[INST]What's the blood type of the member from the vision factory agency? Context: CREATE TABLE table_name_52 (blood_type VARCHAR, agency VARCHAR)[/INST]SELECT blood_type FROM table_name_52 WHERE agency = "vision factory"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.