question stringlengths 16 239 | answer stringlengths 18 400 | context stringlengths 30 308 | text stringlengths 108 764 |
|---|---|---|---|
What is the Week of the game against the Minnesota Vikings? | SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings" | CREATE TABLE table_name_66 (week INTEGER, opponent VARCHAR) | <s>[INST] What is the Week of the game against the Minnesota Vikings?
context: CREATE TABLE table_name_66 (week INTEGER, opponent VARCHAR) [/INST] SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings" </s> |
What game did the Bruins play Santa Clara? | SELECT game FROM table_21058836_1 WHERE opponent = "Santa Clara" | CREATE TABLE table_21058836_1 (game VARCHAR, opponent VARCHAR) | <s>[INST] What game did the Bruins play Santa Clara?
context: CREATE TABLE table_21058836_1 (game VARCHAR, opponent VARCHAR) [/INST] SELECT game FROM table_21058836_1 WHERE opponent = "Santa Clara" </s> |
What are the student ids of students who don't have any allergies? | SELECT StuID FROM Student EXCEPT SELECT StuID FROM Has_allergy | CREATE TABLE Has_allergy (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR) | <s>[INST] What are the student ids of students who don't have any allergies?
context: CREATE TABLE Has_allergy (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR) [/INST] SELECT StuID FROM Student EXCEPT SELECT StuID FROM Has_allergy </s> |
Who's the opposition at westpac stadium when the attendance is 31,853? | SELECT opposition FROM table_name_56 WHERE stadium = "westpac stadium" AND attendance = "31,853" | CREATE TABLE table_name_56 (opposition VARCHAR, stadium VARCHAR, attendance VARCHAR) | <s>[INST] Who's the opposition at westpac stadium when the attendance is 31,853?
context: CREATE TABLE table_name_56 (opposition VARCHAR, stadium VARCHAR, attendance VARCHAR) [/INST] SELECT opposition FROM table_name_56 WHERE stadium = "westpac stadium" AND attendance = "31,853" </s> |
Which Time has an Event of call to arms i? | SELECT time FROM table_name_15 WHERE event = "call to arms i" | CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR) | <s>[INST] Which Time has an Event of call to arms i?
context: CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR) [/INST] SELECT time FROM table_name_15 WHERE event = "call to arms i" </s> |
What date did a game have a time of 3:44? | SELECT date FROM table_name_55 WHERE time = "3:44" | CREATE TABLE table_name_55 (date VARCHAR, time VARCHAR) | <s>[INST] What date did a game have a time of 3:44?
context: CREATE TABLE table_name_55 (date VARCHAR, time VARCHAR) [/INST] SELECT date FROM table_name_55 WHERE time = "3:44" </s> |
What school is in Ligonier? | SELECT school FROM table_name_11 WHERE location = "ligonier" | CREATE TABLE table_name_11 (school VARCHAR, location VARCHAR) | <s>[INST] What school is in Ligonier?
context: CREATE TABLE table_name_11 (school VARCHAR, location VARCHAR) [/INST] SELECT school FROM table_name_11 WHERE location = "ligonier" </s> |
What is 4zr's callsign? | SELECT callsign FROM table_name_67 WHERE on_air_id = "4zr" | CREATE TABLE table_name_67 (callsign VARCHAR, on_air_id VARCHAR) | <s>[INST] What is 4zr's callsign?
context: CREATE TABLE table_name_67 (callsign VARCHAR, on_air_id VARCHAR) [/INST] SELECT callsign FROM table_name_67 WHERE on_air_id = "4zr" </s> |
Who was Constructor for rider Marco Melandri? | SELECT constructor FROM table_name_76 WHERE rider = "marco melandri" | CREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR) | <s>[INST] Who was Constructor for rider Marco Melandri?
context: CREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR) [/INST] SELECT constructor FROM table_name_76 WHERE rider = "marco melandri" </s> |
What Away Competition had a Result of lost 2-4? | SELECT competition FROM table_name_41 WHERE venue = "away" AND result = "lost 2-4" | CREATE TABLE table_name_41 (competition VARCHAR, venue VARCHAR, result VARCHAR) | <s>[INST] What Away Competition had a Result of lost 2-4?
context: CREATE TABLE table_name_41 (competition VARCHAR, venue VARCHAR, result VARCHAR) [/INST] SELECT competition FROM table_name_41 WHERE venue = "away" AND result = "lost 2-4" </s> |
which player played on Team Hamilton? | SELECT player FROM table_name_33 WHERE cfl_team = "hamilton" | CREATE TABLE table_name_33 (player VARCHAR, cfl_team VARCHAR) | <s>[INST] which player played on Team Hamilton?
context: CREATE TABLE table_name_33 (player VARCHAR, cfl_team VARCHAR) [/INST] SELECT player FROM table_name_33 WHERE cfl_team = "hamilton" </s> |
When dxcc-tv is the call sign how many station types are there? | SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DXCC-TV" | CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR) | <s>[INST] When dxcc-tv is the call sign how many station types are there?
context: CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR) [/INST] SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DXCC-TV" </s> |
How many were in Attendance on the Date May 29? | SELECT COUNT(attendance) FROM table_name_83 WHERE date = "may 29" | CREATE TABLE table_name_83 (attendance VARCHAR, date VARCHAR) | <s>[INST] How many were in Attendance on the Date May 29?
context: CREATE TABLE table_name_83 (attendance VARCHAR, date VARCHAR) [/INST] SELECT COUNT(attendance) FROM table_name_83 WHERE date = "may 29" </s> |
Name the total number of points for 44 game and january more than 15 | SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15 | CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR) | <s>[INST] Name the total number of points for 44 game and january more than 15
context: CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR) [/INST] SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15 </s> |
Which publisher has Far Cry as the title? | SELECT publisher FROM table_name_4 WHERE title = "far cry" | CREATE TABLE table_name_4 (publisher VARCHAR, title VARCHAR) | <s>[INST] Which publisher has Far Cry as the title?
context: CREATE TABLE table_name_4 (publisher VARCHAR, title VARCHAR) [/INST] SELECT publisher FROM table_name_4 WHERE title = "far cry" </s> |
How many cup goals for the season with more than 34 league apps? | SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34 | CREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER) | <s>[INST] How many cup goals for the season with more than 34 league apps?
context: CREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER) [/INST] SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34 </s> |
Which Country has a Place of t10, and a Player of tony jacklin? | SELECT country FROM table_name_2 WHERE place = "t10" AND player = "tony jacklin" | CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR) | <s>[INST] Which Country has a Place of t10, and a Player of tony jacklin?
context: CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_2 WHERE place = "t10" AND player = "tony jacklin" </s> |
What surface has indian wells as the championship, with winner as the outcome? | SELECT surface FROM table_name_63 WHERE championship = "indian wells" AND outcome = "winner" | CREATE TABLE table_name_63 (surface VARCHAR, championship VARCHAR, outcome VARCHAR) | <s>[INST] What surface has indian wells as the championship, with winner as the outcome?
context: CREATE TABLE table_name_63 (surface VARCHAR, championship VARCHAR, outcome VARCHAR) [/INST] SELECT surface FROM table_name_63 WHERE championship = "indian wells" AND outcome = "winner" </s> |
What was the attendance for the game that has a record of 1-1? | SELECT attendance FROM table_name_53 WHERE record = "1-1" | CREATE TABLE table_name_53 (attendance VARCHAR, record VARCHAR) | <s>[INST] What was the attendance for the game that has a record of 1-1?
context: CREATE TABLE table_name_53 (attendance VARCHAR, record VARCHAR) [/INST] SELECT attendance FROM table_name_53 WHERE record = "1-1" </s> |
How many winning drivers are there when the winning team is Bryan herta autosport? | SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport" | CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR) | <s>[INST] How many winning drivers are there when the winning team is Bryan herta autosport?
context: CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR) [/INST] SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport" </s> |
Who received the reward on the episode where the finish was "3rd voted out day 8"? | SELECT reward FROM table_1272844_2 WHERE finish = "3rd voted Out Day 8" | CREATE TABLE table_1272844_2 (reward VARCHAR, finish VARCHAR) | <s>[INST] Who received the reward on the episode where the finish was "3rd voted out day 8"?
context: CREATE TABLE table_1272844_2 (reward VARCHAR, finish VARCHAR) [/INST] SELECT reward FROM table_1272844_2 WHERE finish = "3rd voted Out Day 8" </s> |
Find the name of the products that have the color description "red" and have the characteristic name "fast". | SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "red" AND t3.characteristic_name = "fast" | CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR) | <s>[INST] Find the name of the products that have the color description "red" and have the characteristic name "fast".
context: CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_... |
How many copies were sold of the game released on october 23, 2008? | SELECT total_copies_sold FROM table_21458142_1 WHERE release_date = "October 23, 2008" | CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR) | <s>[INST] How many copies were sold of the game released on october 23, 2008?
context: CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR) [/INST] SELECT total_copies_sold FROM table_21458142_1 WHERE release_date = "October 23, 2008" </s> |
What is the release Date for the New Zealand Region? | SELECT date FROM table_name_16 WHERE region = "new zealand" | CREATE TABLE table_name_16 (date VARCHAR, region VARCHAR) | <s>[INST] What is the release Date for the New Zealand Region?
context: CREATE TABLE table_name_16 (date VARCHAR, region VARCHAR) [/INST] SELECT date FROM table_name_16 WHERE region = "new zealand" </s> |
Who was the trainer in 2013? | SELECT trainer FROM table_name_71 WHERE year = 2013 | CREATE TABLE table_name_71 (trainer VARCHAR, year VARCHAR) | <s>[INST] Who was the trainer in 2013?
context: CREATE TABLE table_name_71 (trainer VARCHAR, year VARCHAR) [/INST] SELECT trainer FROM table_name_71 WHERE year = 2013 </s> |
Name the least track with song of little sister | SELECT MIN(track) FROM table_name_67 WHERE song_title = "little sister" | CREATE TABLE table_name_67 (track INTEGER, song_title VARCHAR) | <s>[INST] Name the least track with song of little sister
context: CREATE TABLE table_name_67 (track INTEGER, song_title VARCHAR) [/INST] SELECT MIN(track) FROM table_name_67 WHERE song_title = "little sister" </s> |
Count the average Gold which has a Nation of sweden, and a Silver larger than 1? | SELECT AVG(gold) FROM table_name_47 WHERE nation = "sweden" AND silver > 1 | CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR) | <s>[INST] Count the average Gold which has a Nation of sweden, and a Silver larger than 1?
context: CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR) [/INST] SELECT AVG(gold) FROM table_name_47 WHERE nation = "sweden" AND silver > 1 </s> |
Who is the visitor of the match on July 29? | SELECT visitor FROM table_name_13 WHERE date = "july 29" | CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR) | <s>[INST] Who is the visitor of the match on July 29?
context: CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR) [/INST] SELECT visitor FROM table_name_13 WHERE date = "july 29" </s> |
Which Nation has a Gold larger than 0, and a Bronze smaller than 2, and a Total larger than 3, and a Silver larger than 1? | SELECT nation FROM table_name_96 WHERE gold > 0 AND bronze < 2 AND total > 3 AND silver > 1 | CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) | <s>[INST] Which Nation has a Gold larger than 0, and a Bronze smaller than 2, and a Total larger than 3, and a Silver larger than 1?
context: CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] SELECT nation FROM table_name_96 WHERE gold > 0 AND bronze < 2 A... |
If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria? | SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha" | CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR) | <s>[INST] If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?
context: CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR) [/INST] SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha" </s> |
Show the start dates and end dates of all the apartment bookings. | SELECT booking_start_date, booking_end_date FROM Apartment_Bookings | CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, booking_end_date VARCHAR) | <s>[INST] Show the start dates and end dates of all the apartment bookings.
context: CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, booking_end_date VARCHAR) [/INST] SELECT booking_start_date, booking_end_date FROM Apartment_Bookings </s> |
How many viewers did the episode directed by David Nutter draw in? | SELECT us_viewers__million_ FROM table_14929574_3 WHERE directed_by = "David Nutter" | CREATE TABLE table_14929574_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR) | <s>[INST] How many viewers did the episode directed by David Nutter draw in?
context: CREATE TABLE table_14929574_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR) [/INST] SELECT us_viewers__million_ FROM table_14929574_3 WHERE directed_by = "David Nutter" </s> |
WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS? | SELECT position FROM table_name_44 WHERE team = "boston red sox" AND player = "corey jenkins" | CREATE TABLE table_name_44 (position VARCHAR, team VARCHAR, player VARCHAR) | <s>[INST] WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?
context: CREATE TABLE table_name_44 (position VARCHAR, team VARCHAR, player VARCHAR) [/INST] SELECT position FROM table_name_44 WHERE team = "boston red sox" AND player = "corey jenkins" </s> |
How much total time was in lane 4? | SELECT COUNT(time) FROM table_name_66 WHERE lane = 4 | CREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR) | <s>[INST] How much total time was in lane 4?
context: CREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR) [/INST] SELECT COUNT(time) FROM table_name_66 WHERE lane = 4 </s> |
WHAT IS THE HOME TEAM WITH A TIE NUMBER OF 7? | SELECT home_team FROM table_name_52 WHERE tie_no = "7" | CREATE TABLE table_name_52 (home_team VARCHAR, tie_no VARCHAR) | <s>[INST] WHAT IS THE HOME TEAM WITH A TIE NUMBER OF 7?
context: CREATE TABLE table_name_52 (home_team VARCHAR, tie_no VARCHAR) [/INST] SELECT home_team FROM table_name_52 WHERE tie_no = "7" </s> |
What is the Venue of the 2009 St. Louis Rams Home game? | SELECT venue FROM table_name_58 WHERE year = 2009 AND home_team = "st. louis rams" | CREATE TABLE table_name_58 (venue VARCHAR, year VARCHAR, home_team VARCHAR) | <s>[INST] What is the Venue of the 2009 St. Louis Rams Home game?
context: CREATE TABLE table_name_58 (venue VARCHAR, year VARCHAR, home_team VARCHAR) [/INST] SELECT venue FROM table_name_58 WHERE year = 2009 AND home_team = "st. louis rams" </s> |
What is the record for the game with a score of 7–5? | SELECT record FROM table_name_10 WHERE score = "7–5" | CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR) | <s>[INST] What is the record for the game with a score of 7–5?
context: CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR) [/INST] SELECT record FROM table_name_10 WHERE score = "7–5" </s> |
What day was the opponent Austria? | SELECT date FROM table_name_8 WHERE opponent = "austria" | CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) | <s>[INST] What day was the opponent Austria?
context: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) [/INST] SELECT date FROM table_name_8 WHERE opponent = "austria" </s> |
Find the total amount of loans provided by bank branches in the state of New York. | SELECT SUM(T2.amount) FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id WHERE T1.state = 'New York' | CREATE TABLE bank (branch_id VARCHAR, state VARCHAR); CREATE TABLE loan (amount INTEGER, branch_id VARCHAR) | <s>[INST] Find the total amount of loans provided by bank branches in the state of New York.
context: CREATE TABLE bank (branch_id VARCHAR, state VARCHAR); CREATE TABLE loan (amount INTEGER, branch_id VARCHAR) [/INST] SELECT SUM(T2.amount) FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id WHERE T1.state =... |
Date of october 8 happened at what time? | SELECT time FROM table_name_1 WHERE date = "october 8" | CREATE TABLE table_name_1 (time VARCHAR, date VARCHAR) | <s>[INST] Date of october 8 happened at what time?
context: CREATE TABLE table_name_1 (time VARCHAR, date VARCHAR) [/INST] SELECT time FROM table_name_1 WHERE date = "october 8" </s> |
Which party did Thomas L. Young belong to? | SELECT party FROM table_name_58 WHERE representative = "thomas l. young" | CREATE TABLE table_name_58 (party VARCHAR, representative VARCHAR) | <s>[INST] Which party did Thomas L. Young belong to?
context: CREATE TABLE table_name_58 (party VARCHAR, representative VARCHAR) [/INST] SELECT party FROM table_name_58 WHERE representative = "thomas l. young" </s> |
WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2? | SELECT COUNT(pick) FROM table_name_30 WHERE name = "steve hamilton" AND round > 2 | CREATE TABLE table_name_30 (pick VARCHAR, name VARCHAR, round VARCHAR) | <s>[INST] WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2?
context: CREATE TABLE table_name_30 (pick VARCHAR, name VARCHAR, round VARCHAR) [/INST] SELECT COUNT(pick) FROM table_name_30 WHERE name = "steve hamilton" AND round > 2 </s> |
On what date does visiting team Minnesota score higher than 47 points? | SELECT date FROM table_name_34 WHERE points > 47 AND visitor = "minnesota" | CREATE TABLE table_name_34 (date VARCHAR, points VARCHAR, visitor VARCHAR) | <s>[INST] On what date does visiting team Minnesota score higher than 47 points?
context: CREATE TABLE table_name_34 (date VARCHAR, points VARCHAR, visitor VARCHAR) [/INST] SELECT date FROM table_name_34 WHERE points > 47 AND visitor = "minnesota" </s> |
what i the maximum number in the series where the production code is 3wab07? | SELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = "3WAB07" | CREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR) | <s>[INST] what i the maximum number in the series where the production code is 3wab07?
context: CREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR) [/INST] SELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = "3WAB07" </s> |
What is the lowest Poles with a Season that is larger than 2009? | SELECT MIN(poles) FROM table_name_60 WHERE season > 2009 | CREATE TABLE table_name_60 (poles INTEGER, season INTEGER) | <s>[INST] What is the lowest Poles with a Season that is larger than 2009?
context: CREATE TABLE table_name_60 (poles INTEGER, season INTEGER) [/INST] SELECT MIN(poles) FROM table_name_60 WHERE season > 2009 </s> |
What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961? | SELECT finish FROM table_name_33 WHERE to_par > 6 AND year_s__won < 1961 | CREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR) | <s>[INST] What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961?
context: CREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR) [/INST] SELECT finish FROM table_name_33 WHERE to_par > 6 AND year_s__won < 1961 </s> |
What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás? | SELECT él___ella___usted FROM table_1977630_2 WHERE vos__ * _ = "muelas / molás" | CREATE TABLE table_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR) | <s>[INST] What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás?
context: CREATE TABLE table_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR) [/INST] SELECT él___ella___usted FROM table_1977630_2 WHERE vos__ * _ = "muelas / molás" </s> |
Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4? | SELECT MAX(wins) FROM table_name_66 WHERE country = "united states" AND player = "andy bean" AND rank < 4 | CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR) | <s>[INST] Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4?
context: CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR) [/INST] SELECT MAX(wins) FROM table_name_66 WHERE country = "united states" AND player = "... |
What was the result of the match on December 9, 1962? | SELECT result FROM table_name_78 WHERE date = "december 9, 1962" | CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR) | <s>[INST] What was the result of the match on December 9, 1962?
context: CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR) [/INST] SELECT result FROM table_name_78 WHERE date = "december 9, 1962" </s> |
What was the nationality of player picked no. 168? | SELECT nationality FROM table_2679061_9 WHERE pick__number = 168 | CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR) | <s>[INST] What was the nationality of player picked no. 168?
context: CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR) [/INST] SELECT nationality FROM table_2679061_9 WHERE pick__number = 168 </s> |
What lane was Emily Seebohm in? | SELECT COUNT(lane) FROM table_name_2 WHERE name = "emily seebohm" | CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR) | <s>[INST] What lane was Emily Seebohm in?
context: CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR) [/INST] SELECT COUNT(lane) FROM table_name_2 WHERE name = "emily seebohm" </s> |
Name the population 1891 for area being 175836 | SELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836 | CREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR) | <s>[INST] Name the population 1891 for area being 175836
context: CREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR) [/INST] SELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836 </s> |
In what city is the July temperature 23/9°c (73/48°f)? | SELECT city FROM table_name_49 WHERE july = "23/9°c (73/48°f)" | CREATE TABLE table_name_49 (city VARCHAR, july VARCHAR) | <s>[INST] In what city is the July temperature 23/9°c (73/48°f)?
context: CREATE TABLE table_name_49 (city VARCHAR, july VARCHAR) [/INST] SELECT city FROM table_name_49 WHERE july = "23/9°c (73/48°f)" </s> |
How many bronze medals has a total less than 3 with a silver less than 1 and gold more than 1? | SELECT AVG(bronze) FROM table_name_66 WHERE total < 3 AND silver < 1 AND gold > 1 | CREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) | <s>[INST] How many bronze medals has a total less than 3 with a silver less than 1 and gold more than 1?
context: CREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) [/INST] SELECT AVG(bronze) FROM table_name_66 WHERE total < 3 AND silver < 1 AND gold > 1 </s> |
how many division southwest was there when division east was babi | SELECT COUNT(division_southwest) FROM table_17881033_1 WHERE division_east = "Babi" | CREATE TABLE table_17881033_1 (division_southwest VARCHAR, division_east VARCHAR) | <s>[INST] how many division southwest was there when division east was babi
context: CREATE TABLE table_17881033_1 (division_southwest VARCHAR, division_east VARCHAR) [/INST] SELECT COUNT(division_southwest) FROM table_17881033_1 WHERE division_east = "Babi" </s> |
Who is the BSU head coach of the tournament after 1994 with louisville as the opponent? | SELECT bsu_head_coach FROM table_name_76 WHERE opponent = "louisville" AND year > 1994 | CREATE TABLE table_name_76 (bsu_head_coach VARCHAR, opponent VARCHAR, year VARCHAR) | <s>[INST] Who is the BSU head coach of the tournament after 1994 with louisville as the opponent?
context: CREATE TABLE table_name_76 (bsu_head_coach VARCHAR, opponent VARCHAR, year VARCHAR) [/INST] SELECT bsu_head_coach FROM table_name_76 WHERE opponent = "louisville" AND year > 1994 </s> |
Where in Tongyong is Hanyu Sanmin? | SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin" | CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR) | <s>[INST] Where in Tongyong is Hanyu Sanmin?
context: CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR) [/INST] SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin" </s> |
What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph? | SELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 54.54 94.684mph" | CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR) | <s>[INST] What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?
context: CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR) [/INST] SELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 54.54 94.684mph" </s> |
Name the coronie for marowijne being 6.8% | SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.8%" | CREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR) | <s>[INST] Name the coronie for marowijne being 6.8%
context: CREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR) [/INST] SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.8%" </s> |
WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6? | SELECT MAX(races) FROM table_name_27 WHERE season = "2010" AND flaps > 6 | CREATE TABLE table_name_27 (races INTEGER, season VARCHAR, flaps VARCHAR) | <s>[INST] WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?
context: CREATE TABLE table_name_27 (races INTEGER, season VARCHAR, flaps VARCHAR) [/INST] SELECT MAX(races) FROM table_name_27 WHERE season = "2010" AND flaps > 6 </s> |
What is the home team's score at princes park? | SELECT home_team AS score FROM table_name_85 WHERE venue = "princes park" | CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR) | <s>[INST] What is the home team's score at princes park?
context: CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR) [/INST] SELECT home_team AS score FROM table_name_85 WHERE venue = "princes park" </s> |
What team was the game on November 21 played against? | SELECT team FROM table_17326036_5 WHERE date = "November 21" | CREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR) | <s>[INST] What team was the game on November 21 played against?
context: CREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR) [/INST] SELECT team FROM table_17326036_5 WHERE date = "November 21" </s> |
What is the 2008 rank of Djibouti? | SELECT 2008 AS _rank FROM table_23050383_1 WHERE country = "Djibouti" | CREATE TABLE table_23050383_1 (country VARCHAR) | <s>[INST] What is the 2008 rank of Djibouti?
context: CREATE TABLE table_23050383_1 (country VARCHAR) [/INST] SELECT 2008 AS _rank FROM table_23050383_1 WHERE country = "Djibouti" </s> |
What's the network in 2011? | SELECT network FROM table_name_25 WHERE year = 2011 | CREATE TABLE table_name_25 (network VARCHAR, year VARCHAR) | <s>[INST] What's the network in 2011?
context: CREATE TABLE table_name_25 (network VARCHAR, year VARCHAR) [/INST] SELECT network FROM table_name_25 WHERE year = 2011 </s> |
Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013? | SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = "nbc" AND play_by_play = "al michaels" AND year > 2013 | CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR) | <s>[INST] Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013?
context: CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR) [/INST] SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = "nbc" AND play_by_play = "al ... |
What is the player with a Span of 1998-2009? | SELECT player FROM table_name_8 WHERE span = "1998-2009" | CREATE TABLE table_name_8 (player VARCHAR, span VARCHAR) | <s>[INST] What is the player with a Span of 1998-2009?
context: CREATE TABLE table_name_8 (player VARCHAR, span VARCHAR) [/INST] SELECT player FROM table_name_8 WHERE span = "1998-2009" </s> |
What is the smallest number of episodes in a season? | SELECT MIN(episodes) FROM table_2113721_7 | CREATE TABLE table_2113721_7 (episodes INTEGER) | <s>[INST] What is the smallest number of episodes in a season?
context: CREATE TABLE table_2113721_7 (episodes INTEGER) [/INST] SELECT MIN(episodes) FROM table_2113721_7 </s> |
Name the total number of fin pos for 12 points of accident | SELECT COUNT(fin_pos) FROM table_17304308_1 WHERE points = "12" AND time_retired = "Accident" | CREATE TABLE table_17304308_1 (fin_pos VARCHAR, points VARCHAR, time_retired VARCHAR) | <s>[INST] Name the total number of fin pos for 12 points of accident
context: CREATE TABLE table_17304308_1 (fin_pos VARCHAR, points VARCHAR, time_retired VARCHAR) [/INST] SELECT COUNT(fin_pos) FROM table_17304308_1 WHERE points = "12" AND time_retired = "Accident" </s> |
On what date was the I Dessau Autobahnspinne race? | SELECT date FROM table_name_66 WHERE race_name = "i dessau autobahnspinne" | CREATE TABLE table_name_66 (date VARCHAR, race_name VARCHAR) | <s>[INST] On what date was the I Dessau Autobahnspinne race?
context: CREATE TABLE table_name_66 (date VARCHAR, race_name VARCHAR) [/INST] SELECT date FROM table_name_66 WHERE race_name = "i dessau autobahnspinne" </s> |
What is Record, when Visitor is "Chicago Black Hawks", and when Date is "April 17"? | SELECT record FROM table_name_32 WHERE visitor = "chicago black hawks" AND date = "april 17" | CREATE TABLE table_name_32 (record VARCHAR, visitor VARCHAR, date VARCHAR) | <s>[INST] What is Record, when Visitor is "Chicago Black Hawks", and when Date is "April 17"?
context: CREATE TABLE table_name_32 (record VARCHAR, visitor VARCHAR, date VARCHAR) [/INST] SELECT record FROM table_name_32 WHERE visitor = "chicago black hawks" AND date = "april 17" </s> |
what team scored 65-87 | SELECT date FROM table_name_83 WHERE record = "65-87" | CREATE TABLE table_name_83 (date VARCHAR, record VARCHAR) | <s>[INST] what team scored 65-87
context: CREATE TABLE table_name_83 (date VARCHAR, record VARCHAR) [/INST] SELECT date FROM table_name_83 WHERE record = "65-87" </s> |
How many bids does Atlantic 10 have? | SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10" | CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR) | <s>[INST] How many bids does Atlantic 10 have?
context: CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR) [/INST] SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10" </s> |
Who's the incumbent in the district first elected in 1976? | SELECT incumbent FROM table_1341604_19 WHERE first_elected = 1976 | CREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR) | <s>[INST] Who's the incumbent in the district first elected in 1976?
context: CREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR) [/INST] SELECT incumbent FROM table_1341604_19 WHERE first_elected = 1976 </s> |
What is the highest numbered episode in the series? | SELECT MAX(series__number) FROM table_28019988_5 | CREATE TABLE table_28019988_5 (series__number INTEGER) | <s>[INST] What is the highest numbered episode in the series?
context: CREATE TABLE table_28019988_5 (series__number INTEGER) [/INST] SELECT MAX(series__number) FROM table_28019988_5 </s> |
Name the rank for switzerland | SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland" | CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR) | <s>[INST] Name the rank for switzerland
context: CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR) [/INST] SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland" </s> |
What is the average wins in 250cc class for Bultaco with 8 points later than 1966? | SELECT AVG(wins) FROM table_name_84 WHERE class = "250cc" AND team = "bultaco" AND year > 1966 AND points = 8 | CREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR) | <s>[INST] What is the average wins in 250cc class for Bultaco with 8 points later than 1966?
context: CREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR) [/INST] SELECT AVG(wins) FROM table_name_84 WHERE class = "250cc" AND team = "bultaco" AND year > 1966 AND points = ... |
What is the largest vote result if loss/gain is -0.5%? | SELECT MAX(result___votes) FROM table_25818630_1 WHERE loss_gain = "-0.5%" | CREATE TABLE table_25818630_1 (result___votes INTEGER, loss_gain VARCHAR) | <s>[INST] What is the largest vote result if loss/gain is -0.5%?
context: CREATE TABLE table_25818630_1 (result___votes INTEGER, loss_gain VARCHAR) [/INST] SELECT MAX(result___votes) FROM table_25818630_1 WHERE loss_gain = "-0.5%" </s> |
Name the mens singles for jeliazko valkov dobrinka peneva | SELECT mens_singles FROM table_14903491_1 WHERE mixed_doubles = "Jeliazko Valkov Dobrinka Peneva" | CREATE TABLE table_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR) | <s>[INST] Name the mens singles for jeliazko valkov dobrinka peneva
context: CREATE TABLE table_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR) [/INST] SELECT mens_singles FROM table_14903491_1 WHERE mixed_doubles = "Jeliazko Valkov Dobrinka Peneva" </s> |
Who was the opponent in the final on 5 July 1992? | SELECT opponent_in_the_final FROM table_name_46 WHERE date = "5 july 1992" | CREATE TABLE table_name_46 (opponent_in_the_final VARCHAR, date VARCHAR) | <s>[INST] Who was the opponent in the final on 5 July 1992?
context: CREATE TABLE table_name_46 (opponent_in_the_final VARCHAR, date VARCHAR) [/INST] SELECT opponent_in_the_final FROM table_name_46 WHERE date = "5 july 1992" </s> |
Name the k. r. narayanan values for pondicherry | SELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = "Pondicherry" | CREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR) | <s>[INST] Name the k. r. narayanan values for pondicherry
context: CREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR) [/INST] SELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = "Pondicherry" </s> |
How many places did the artist Big Hit have with less than 2934 votes? | SELECT COUNT(place) FROM table_name_21 WHERE artist = "big hit" AND votes < 2934 | CREATE TABLE table_name_21 (place VARCHAR, artist VARCHAR, votes VARCHAR) | <s>[INST] How many places did the artist Big Hit have with less than 2934 votes?
context: CREATE TABLE table_name_21 (place VARCHAR, artist VARCHAR, votes VARCHAR) [/INST] SELECT COUNT(place) FROM table_name_21 WHERE artist = "big hit" AND votes < 2934 </s> |
Name the number of black knights points for 3 game | SELECT COUNT(black_knights_points) FROM table_21091145_1 WHERE game = 3 | CREATE TABLE table_21091145_1 (black_knights_points VARCHAR, game VARCHAR) | <s>[INST] Name the number of black knights points for 3 game
context: CREATE TABLE table_21091145_1 (black_knights_points VARCHAR, game VARCHAR) [/INST] SELECT COUNT(black_knights_points) FROM table_21091145_1 WHERE game = 3 </s> |
What's the 1994 if 1995 has a 1R? | SELECT 1994 FROM table_name_84 WHERE 1995 = "1r" | CREATE TABLE table_name_84 (Id VARCHAR) | <s>[INST] What's the 1994 if 1995 has a 1R?
context: CREATE TABLE table_name_84 (Id VARCHAR) [/INST] SELECT 1994 FROM table_name_84 WHERE 1995 = "1r" </s> |
What is home team Chelsea's Tie no? | SELECT tie_no FROM table_name_83 WHERE home_team = "chelsea" | CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR) | <s>[INST] What is home team Chelsea's Tie no?
context: CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR) [/INST] SELECT tie_no FROM table_name_83 WHERE home_team = "chelsea" </s> |
What is the organisation in 2011 that was nominated and the award of best info-ed programme host? | SELECT organisation FROM table_name_8 WHERE year = 2011 AND result = "nominated" AND award = "best info-ed programme host" | CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) | <s>[INST] What is the organisation in 2011 that was nominated and the award of best info-ed programme host?
context: CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) [/INST] SELECT organisation FROM table_name_8 WHERE year = 2011 AND result = "nominated" AND award = "best i... |
What was the score of the game on June 1? | SELECT score FROM table_name_38 WHERE date = "june 1" | CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR) | <s>[INST] What was the score of the game on June 1?
context: CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_38 WHERE date = "june 1" </s> |
What is the date of the game with 62 points? | SELECT date FROM table_name_51 WHERE points = 62 | CREATE TABLE table_name_51 (date VARCHAR, points VARCHAR) | <s>[INST] What is the date of the game with 62 points?
context: CREATE TABLE table_name_51 (date VARCHAR, points VARCHAR) [/INST] SELECT date FROM table_name_51 WHERE points = 62 </s> |
How many times did the team achieve an overrall record of mu, 21-19? | SELECT COUNT(last_5_meetings) FROM table_16201038_4 WHERE overall_record = "MU, 21-19" | CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR) | <s>[INST] How many times did the team achieve an overrall record of mu, 21-19?
context: CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR) [/INST] SELECT COUNT(last_5_meetings) FROM table_16201038_4 WHERE overall_record = "MU, 21-19" </s> |
What was the 1st leg of the match that had an aggregate of 4-3? | SELECT 1 AS st_leg FROM table_name_11 WHERE agg = "4-3" | CREATE TABLE table_name_11 (agg VARCHAR) | <s>[INST] What was the 1st leg of the match that had an aggregate of 4-3?
context: CREATE TABLE table_name_11 (agg VARCHAR) [/INST] SELECT 1 AS st_leg FROM table_name_11 WHERE agg = "4-3" </s> |
How many Against have Played smaller than 18? | SELECT COUNT(against) FROM table_name_54 WHERE played < 18 | CREATE TABLE table_name_54 (against VARCHAR, played INTEGER) | <s>[INST] How many Against have Played smaller than 18?
context: CREATE TABLE table_name_54 (against VARCHAR, played INTEGER) [/INST] SELECT COUNT(against) FROM table_name_54 WHERE played < 18 </s> |
What is the ICAO of Lohausen airport? | SELECT icao FROM table_name_2 WHERE airport = "lohausen airport" | CREATE TABLE table_name_2 (icao VARCHAR, airport VARCHAR) | <s>[INST] What is the ICAO of Lohausen airport?
context: CREATE TABLE table_name_2 (icao VARCHAR, airport VARCHAR) [/INST] SELECT icao FROM table_name_2 WHERE airport = "lohausen airport" </s> |
What's the loss of the game with the opponent of the Nationals with a score of 7-1? | SELECT loss FROM table_name_69 WHERE opponent = "nationals" AND score = "7-1" | CREATE TABLE table_name_69 (loss VARCHAR, opponent VARCHAR, score VARCHAR) | <s>[INST] What's the loss of the game with the opponent of the Nationals with a score of 7-1?
context: CREATE TABLE table_name_69 (loss VARCHAR, opponent VARCHAR, score VARCHAR) [/INST] SELECT loss FROM table_name_69 WHERE opponent = "nationals" AND score = "7-1" </s> |
How many scores are listed for game 37? | SELECT COUNT(score) FROM table_17001658_7 WHERE game = 37 | CREATE TABLE table_17001658_7 (score VARCHAR, game VARCHAR) | <s>[INST] How many scores are listed for game 37?
context: CREATE TABLE table_17001658_7 (score VARCHAR, game VARCHAR) [/INST] SELECT COUNT(score) FROM table_17001658_7 WHERE game = 37 </s> |
What is Boston Bruins minimum pick? | SELECT MIN(pick__number) FROM table_1965650_10 WHERE nhl_team = "Boston Bruins" | CREATE TABLE table_1965650_10 (pick__number INTEGER, nhl_team VARCHAR) | <s>[INST] What is Boston Bruins minimum pick?
context: CREATE TABLE table_1965650_10 (pick__number INTEGER, nhl_team VARCHAR) [/INST] SELECT MIN(pick__number) FROM table_1965650_10 WHERE nhl_team = "Boston Bruins" </s> |
what is the average place when lost is more than 12? | SELECT AVG(place) FROM table_name_13 WHERE lost > 12 | CREATE TABLE table_name_13 (place INTEGER, lost INTEGER) | <s>[INST] what is the average place when lost is more than 12?
context: CREATE TABLE table_name_13 (place INTEGER, lost INTEGER) [/INST] SELECT AVG(place) FROM table_name_13 WHERE lost > 12 </s> |
What team were the Bulls hosted by on December 7? | SELECT team FROM table_11960610_7 WHERE date = "December 7" | CREATE TABLE table_11960610_7 (team VARCHAR, date VARCHAR) | <s>[INST] What team were the Bulls hosted by on December 7?
context: CREATE TABLE table_11960610_7 (team VARCHAR, date VARCHAR) [/INST] SELECT team FROM table_11960610_7 WHERE date = "December 7" </s> |
Which District has a First elected of 1856, and an Incumbent of william kellogg? | SELECT district FROM table_name_20 WHERE first_elected = 1856 AND incumbent = "william kellogg" | CREATE TABLE table_name_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | <s>[INST] Which District has a First elected of 1856, and an Incumbent of william kellogg?
context: CREATE TABLE table_name_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) [/INST] SELECT district FROM table_name_20 WHERE first_elected = 1856 AND incumbent = "william kellogg" </s> |
How many clf teams have a pick # of 5? | SELECT COUNT(cfl_team) FROM table_21321804_1 WHERE pick__number = 5 | CREATE TABLE table_21321804_1 (cfl_team VARCHAR, pick__number VARCHAR) | <s>[INST] How many clf teams have a pick # of 5?
context: CREATE TABLE table_21321804_1 (cfl_team VARCHAR, pick__number VARCHAR) [/INST] SELECT COUNT(cfl_team) FROM table_21321804_1 WHERE pick__number = 5 </s> |
Which Score in the final has a Surface of clay, and a Partner of martin emmrich? | SELECT score_in_the_final FROM table_name_62 WHERE surface = "clay" AND partner = "martin emmrich" | CREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR) | <s>[INST] Which Score in the final has a Surface of clay, and a Partner of martin emmrich?
context: CREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR) [/INST] SELECT score_in_the_final FROM table_name_62 WHERE surface = "clay" AND partner = "martin emmrich" </s> |
What is the least amount of Byes when there are more than 2 wins and 1946 against? | SELECT MIN(byes) FROM table_name_3 WHERE against = 1946 AND wins > 2 | CREATE TABLE table_name_3 (byes INTEGER, against VARCHAR, wins VARCHAR) | <s>[INST] What is the least amount of Byes when there are more than 2 wins and 1946 against?
context: CREATE TABLE table_name_3 (byes INTEGER, against VARCHAR, wins VARCHAR) [/INST] SELECT MIN(byes) FROM table_name_3 WHERE against = 1946 AND wins > 2 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.