question stringlengths 16 239 | answer stringlengths 18 400 | context stringlengths 30 308 | text stringlengths 108 764 |
|---|---|---|---|
Which Cuts made has a Tournament of totals, and Wins smaller than 11? | SELECT AVG(cuts_made) FROM table_name_25 WHERE tournament = "totals" AND wins < 11 | CREATE TABLE table_name_25 (cuts_made INTEGER, tournament VARCHAR, wins VARCHAR) | <s>[INST] Which Cuts made has a Tournament of totals, and Wins smaller than 11?
context: CREATE TABLE table_name_25 (cuts_made INTEGER, tournament VARCHAR, wins VARCHAR) [/INST] SELECT AVG(cuts_made) FROM table_name_25 WHERE tournament = "totals" AND wins < 11 </s> |
How many were first elected in California 7? | SELECT first_elected FROM table_19753079_8 WHERE district = "California 7" | CREATE TABLE table_19753079_8 (first_elected VARCHAR, district VARCHAR) | <s>[INST] How many were first elected in California 7?
context: CREATE TABLE table_19753079_8 (first_elected VARCHAR, district VARCHAR) [/INST] SELECT first_elected FROM table_19753079_8 WHERE district = "California 7" </s> |
What is the total for New York's game? | SELECT SUM(game) FROM table_name_39 WHERE team = "new york" | CREATE TABLE table_name_39 (game INTEGER, team VARCHAR) | <s>[INST] What is the total for New York's game?
context: CREATE TABLE table_name_39 (game INTEGER, team VARCHAR) [/INST] SELECT SUM(game) FROM table_name_39 WHERE team = "new york" </s> |
How many matches were drawn by a team with 447 points? | SELECT drawn FROM table_name_1 WHERE points_for = "447" | CREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR) | <s>[INST] How many matches were drawn by a team with 447 points?
context: CREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR) [/INST] SELECT drawn FROM table_name_1 WHERE points_for = "447" </s> |
Who did the Blue Jays play against on April 11? | SELECT opponent FROM table_name_52 WHERE date = "april 11" | CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) | <s>[INST] Who did the Blue Jays play against on April 11?
context: CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_52 WHERE date = "april 11" </s> |
How many Wins have Goals against smaller than 30, and Goals for larger than 25, and Draws larger than 5? | SELECT COUNT(wins) FROM table_name_66 WHERE goals_against < 30 AND goals_for > 25 AND draws > 5 | CREATE TABLE table_name_66 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR) | <s>[INST] How many Wins have Goals against smaller than 30, and Goals for larger than 25, and Draws larger than 5?
context: CREATE TABLE table_name_66 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR) [/INST] SELECT COUNT(wins) FROM table_name_66 WHERE goals_against < 30 AND goals_for > 25 AND dr... |
What is Game, when Road Team is "Syracuse", and when Result is "109-82"? | SELECT game FROM table_name_77 WHERE road_team = "syracuse" AND result = "109-82" | CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR) | <s>[INST] What is Game, when Road Team is "Syracuse", and when Result is "109-82"?
context: CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR) [/INST] SELECT game FROM table_name_77 WHERE road_team = "syracuse" AND result = "109-82" </s> |
What year is Japan the country? | SELECT year FROM table_12243817_1 WHERE country = "Japan" | CREATE TABLE table_12243817_1 (year VARCHAR, country VARCHAR) | <s>[INST] What year is Japan the country?
context: CREATE TABLE table_12243817_1 (year VARCHAR, country VARCHAR) [/INST] SELECT year FROM table_12243817_1 WHERE country = "Japan" </s> |
Which venue has a Away team of hawthorn? | SELECT venue FROM table_name_76 WHERE away_team = "hawthorn" | CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR) | <s>[INST] Which venue has a Away team of hawthorn?
context: CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR) [/INST] SELECT venue FROM table_name_76 WHERE away_team = "hawthorn" </s> |
Name the total number of total with finish of t45 | SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45" | CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR) | <s>[INST] Name the total number of total with finish of t45
context: CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR) [/INST] SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45" </s> |
Show all different home cities. | SELECT DISTINCT home_city FROM driver | CREATE TABLE driver (home_city VARCHAR) | <s>[INST] Show all different home cities.
context: CREATE TABLE driver (home_city VARCHAR) [/INST] SELECT DISTINCT home_city FROM driver </s> |
Who was the partner of the winner after 2012? | SELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = "winner" | CREATE TABLE table_name_12 (partner VARCHAR, year VARCHAR, outcome VARCHAR) | <s>[INST] Who was the partner of the winner after 2012?
context: CREATE TABLE table_name_12 (partner VARCHAR, year VARCHAR, outcome VARCHAR) [/INST] SELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = "winner" </s> |
What is Oxfordshire Area's Ensemble Name? | SELECT ensemble_name FROM table_name_29 WHERE area = "oxfordshire" | CREATE TABLE table_name_29 (ensemble_name VARCHAR, area VARCHAR) | <s>[INST] What is Oxfordshire Area's Ensemble Name?
context: CREATE TABLE table_name_29 (ensemble_name VARCHAR, area VARCHAR) [/INST] SELECT ensemble_name FROM table_name_29 WHERE area = "oxfordshire" </s> |
Which competition did he win on August 15, 2012? | SELECT competition FROM table_name_54 WHERE result = "win" AND date = "august 15, 2012" | CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR) | <s>[INST] Which competition did he win on August 15, 2012?
context: CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR) [/INST] SELECT competition FROM table_name_54 WHERE result = "win" AND date = "august 15, 2012" </s> |
What country was rank 4? | SELECT country FROM table_name_43 WHERE rank = "4" | CREATE TABLE table_name_43 (country VARCHAR, rank VARCHAR) | <s>[INST] What country was rank 4?
context: CREATE TABLE table_name_43 (country VARCHAR, rank VARCHAR) [/INST] SELECT country FROM table_name_43 WHERE rank = "4" </s> |
Who are the writers of the episode with production code IP02009? | SELECT written_by FROM table_29273115_1 WHERE production_code = "IP02009" | CREATE TABLE table_29273115_1 (written_by VARCHAR, production_code VARCHAR) | <s>[INST] Who are the writers of the episode with production code IP02009?
context: CREATE TABLE table_29273115_1 (written_by VARCHAR, production_code VARCHAR) [/INST] SELECT written_by FROM table_29273115_1 WHERE production_code = "IP02009" </s> |
What is Hon. Vicente Q. Roxas appointment date? | SELECT date_of_appointment FROM table_name_25 WHERE name = "hon. vicente q. roxas" | CREATE TABLE table_name_25 (date_of_appointment VARCHAR, name VARCHAR) | <s>[INST] What is Hon. Vicente Q. Roxas appointment date?
context: CREATE TABLE table_name_25 (date_of_appointment VARCHAR, name VARCHAR) [/INST] SELECT date_of_appointment FROM table_name_25 WHERE name = "hon. vicente q. roxas" </s> |
What is Country, when Player is "Tom Watson"? | SELECT country FROM table_name_99 WHERE player = "tom watson" | CREATE TABLE table_name_99 (country VARCHAR, player VARCHAR) | <s>[INST] What is Country, when Player is "Tom Watson"?
context: CREATE TABLE table_name_99 (country VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_99 WHERE player = "tom watson" </s> |
How many number of screenings have an opening film of the journey of vaan nguyen? | SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = "The Journey of Vaan Nguyen" | CREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR) | <s>[INST] How many number of screenings have an opening film of the journey of vaan nguyen?
context: CREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR) [/INST] SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = "The Journey of Vaan Nguyen" </s> |
On what track is the Argent mortgage Indy 300 held? | SELECT track FROM table_2454550_1 WHERE race_name = "Argent Mortgage Indy 300" | CREATE TABLE table_2454550_1 (track VARCHAR, race_name VARCHAR) | <s>[INST] On what track is the Argent mortgage Indy 300 held?
context: CREATE TABLE table_2454550_1 (track VARCHAR, race_name VARCHAR) [/INST] SELECT track FROM table_2454550_1 WHERE race_name = "Argent Mortgage Indy 300" </s> |
When is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it to Open Cup 2nd Round? | SELECT MAX(year) FROM table_name_95 WHERE playoffs = "did not qualify" AND open_cup = "2nd round" | CREATE TABLE table_name_95 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR) | <s>[INST] When is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it to Open Cup 2nd Round?
context: CREATE TABLE table_name_95 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR) [/INST] SELECT MAX(year) FROM table_name_95 WHERE playoffs = "did not qualify" AND open_cup = "2nd round"... |
Who were the candidates in the Kentucky 4 voting district? | SELECT candidates FROM table_1342218_17 WHERE district = "Kentucky 4" | CREATE TABLE table_1342218_17 (candidates VARCHAR, district VARCHAR) | <s>[INST] Who were the candidates in the Kentucky 4 voting district?
context: CREATE TABLE table_1342218_17 (candidates VARCHAR, district VARCHAR) [/INST] SELECT candidates FROM table_1342218_17 WHERE district = "Kentucky 4" </s> |
What is the maximum training hours for the students whose training hours is greater than 1000 in different positions? | SELECT MAX(T1.HS), pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos | CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR) | <s>[INST] What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?
context: CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR) [/INST] SELECT MAX(T1.HS), pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID ... |
What date had a CD format, under Columbia/Legacy from the UK? | SELECT date FROM table_name_77 WHERE format = "cd" AND label = "columbia/legacy" AND country = "uk" | CREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR) | <s>[INST] What date had a CD format, under Columbia/Legacy from the UK?
context: CREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR) [/INST] SELECT date FROM table_name_77 WHERE format = "cd" AND label = "columbia/legacy" AND country = "uk" </s> |
Which major town is located within the Outback Areas Community Development Trust? | SELECT major_town FROM table_23685890_2 WHERE local_government_area = "Outback Areas Community Development Trust" | CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR) | <s>[INST] Which major town is located within the Outback Areas Community Development Trust?
context: CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR) [/INST] SELECT major_town FROM table_23685890_2 WHERE local_government_area = "Outback Areas Community Development Trust" </s> |
How much did Jerry Barber score to come in at T9? | SELECT score FROM table_name_79 WHERE place = "t9" AND player = "jerry barber" | CREATE TABLE table_name_79 (score VARCHAR, place VARCHAR, player VARCHAR) | <s>[INST] How much did Jerry Barber score to come in at T9?
context: CREATE TABLE table_name_79 (score VARCHAR, place VARCHAR, player VARCHAR) [/INST] SELECT score FROM table_name_79 WHERE place = "t9" AND player = "jerry barber" </s> |
Show all church names that have hosted least two weddings. | SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id GROUP BY T1.church_id HAVING COUNT(*) >= 2 | CREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR) | <s>[INST] Show all church names that have hosted least two weddings.
context: CREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR) [/INST] SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id GROUP BY T1.church_id HAVING COUNT(*) >= 2 </s> |
What city has channel tv (dt) 25 (31)? | SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)" | CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR) | <s>[INST] What city has channel tv (dt) 25 (31)?
context: CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR) [/INST] SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)" </s> |
Which Selection has a Player of jamaar taylor, and a Round larger than 6? | SELECT MIN(selection) FROM table_name_33 WHERE player = "jamaar taylor" AND round > 6 | CREATE TABLE table_name_33 (selection INTEGER, player VARCHAR, round VARCHAR) | <s>[INST] Which Selection has a Player of jamaar taylor, and a Round larger than 6?
context: CREATE TABLE table_name_33 (selection INTEGER, player VARCHAR, round VARCHAR) [/INST] SELECT MIN(selection) FROM table_name_33 WHERE player = "jamaar taylor" AND round > 6 </s> |
How many touchdowns were the when there was more than 1.0 extra point? | SELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.0 | CREATE TABLE table_25730123_2 (touchdowns VARCHAR, extra_points INTEGER) | <s>[INST] How many touchdowns were the when there was more than 1.0 extra point?
context: CREATE TABLE table_25730123_2 (touchdowns VARCHAR, extra_points INTEGER) [/INST] SELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.0 </s> |
What school has a size less than 674, has a county of 19 dubois, and has the rangers as their mascot? | SELECT school FROM table_name_43 WHERE size < 674 AND county = "19 dubois" AND mascot = "rangers" | CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, size VARCHAR, county VARCHAR) | <s>[INST] What school has a size less than 674, has a county of 19 dubois, and has the rangers as their mascot?
context: CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, size VARCHAR, county VARCHAR) [/INST] SELECT school FROM table_name_43 WHERE size < 674 AND county = "19 dubois" AND mascot = "rangers" </... |
Name the division for detroit diesel series 50egr allison wb-400r | SELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = "Detroit Diesel Series 50EGR Allison WB-400R" | CREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR) | <s>[INST] Name the division for detroit diesel series 50egr allison wb-400r
context: CREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR) [/INST] SELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = "Detroit Diesel Series 50EGR Allison WB-400R" </s> |
Which grid is lower for thierry boutsen which laps less than 44? | SELECT MIN(grid) FROM table_name_90 WHERE driver = "thierry boutsen" AND laps < 44 | CREATE TABLE table_name_90 (grid INTEGER, driver VARCHAR, laps VARCHAR) | <s>[INST] Which grid is lower for thierry boutsen which laps less than 44?
context: CREATE TABLE table_name_90 (grid INTEGER, driver VARCHAR, laps VARCHAR) [/INST] SELECT MIN(grid) FROM table_name_90 WHERE driver = "thierry boutsen" AND laps < 44 </s> |
What is the average Density of 53 No. munic.? | SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53 | CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR) | <s>[INST] What is the average Density of 53 No. munic.?
context: CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR) [/INST] SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53 </s> |
Which irrigation district has 4733 users? | SELECT irrigation_district FROM table_20018310_1 WHERE users___number_ = 4733 | CREATE TABLE table_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR) | <s>[INST] Which irrigation district has 4733 users?
context: CREATE TABLE table_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR) [/INST] SELECT irrigation_district FROM table_20018310_1 WHERE users___number_ = 4733 </s> |
How many records show Utah as the opponent? | SELECT COUNT(record) FROM table_22815265_1 WHERE opponent = "Utah" | CREATE TABLE table_22815265_1 (record VARCHAR, opponent VARCHAR) | <s>[INST] How many records show Utah as the opponent?
context: CREATE TABLE table_22815265_1 (record VARCHAR, opponent VARCHAR) [/INST] SELECT COUNT(record) FROM table_22815265_1 WHERE opponent = "Utah" </s> |
What was the average crowd attendance for the Junction Oval venue? | SELECT AVG(crowd) FROM table_name_36 WHERE venue = "junction oval" | CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR) | <s>[INST] What was the average crowd attendance for the Junction Oval venue?
context: CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR) [/INST] SELECT AVG(crowd) FROM table_name_36 WHERE venue = "junction oval" </s> |
What was the method of elimination in the chamber with a time of 24:02? | SELECT method_of_elimination FROM table_24628683_2 WHERE time = "24:02" | CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR) | <s>[INST] What was the method of elimination in the chamber with a time of 24:02?
context: CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR) [/INST] SELECT method_of_elimination FROM table_24628683_2 WHERE time = "24:02" </s> |
What is the Country with the T3 Place Player with a Score of 71-76-71=218? | SELECT country FROM table_name_99 WHERE place = "t3" AND score = 71 - 76 - 71 = 218 | CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR) | <s>[INST] What is the Country with the T3 Place Player with a Score of 71-76-71=218?
context: CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] SELECT country FROM table_name_99 WHERE place = "t3" AND score = 71 - 76 - 71 = 218 </s> |
In the fight against Brandon Bledsoe, how many rounds did the fight last? | SELECT round FROM table_name_91 WHERE opponent = "brandon bledsoe" | CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR) | <s>[INST] In the fight against Brandon Bledsoe, how many rounds did the fight last?
context: CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR) [/INST] SELECT round FROM table_name_91 WHERE opponent = "brandon bledsoe" </s> |
What is the Place of the Player with a To par of +3 and Score of 73-70-73=216? | SELECT place FROM table_name_45 WHERE to_par = "+3" AND score = 73 - 70 - 73 = 216 | CREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR) | <s>[INST] What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?
context: CREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] SELECT place FROM table_name_45 WHERE to_par = "+3" AND score = 73 - 70 - 73 = 216 </s> |
What was the to par when South Africa was in T4 place? | SELECT to_par FROM table_name_16 WHERE place = "t4" AND country = "south africa" | CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, country VARCHAR) | <s>[INST] What was the to par when South Africa was in T4 place?
context: CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, country VARCHAR) [/INST] SELECT to_par FROM table_name_16 WHERE place = "t4" AND country = "south africa" </s> |
What is the D43 associated with a D41 of r 21? | SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21" | CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR) | <s>[INST] What is the D43 associated with a D41 of r 21?
context: CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR) [/INST] SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21" </s> |
what's the jp -210- with title and source being fun! fun! minigolf | SELECT jp__210_ FROM table_13663434_1 WHERE title_and_source = "Fun! Fun! Minigolf" | CREATE TABLE table_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR) | <s>[INST] what's the jp -210- with title and source being fun! fun! minigolf
context: CREATE TABLE table_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR) [/INST] SELECT jp__210_ FROM table_13663434_1 WHERE title_and_source = "Fun! Fun! Minigolf" </s> |
How many years have less than 28,505 attendance? | SELECT AVG(year) FROM table_name_80 WHERE attendance < 28 OFFSET 505 | CREATE TABLE table_name_80 (year INTEGER, attendance INTEGER) | <s>[INST] How many years have less than 28,505 attendance?
context: CREATE TABLE table_name_80 (year INTEGER, attendance INTEGER) [/INST] SELECT AVG(year) FROM table_name_80 WHERE attendance < 28 OFFSET 505 </s> |
how many times is the team tauro and played less than 18? | SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18 | CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR) | <s>[INST] how many times is the team tauro and played less than 18?
context: CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR) [/INST] SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18 </s> |
What rank was the country with no bronze but at least 1 silver medals? | SELECT AVG(rank) FROM table_name_57 WHERE bronze < 1 AND silver > 1 | CREATE TABLE table_name_57 (rank INTEGER, bronze VARCHAR, silver VARCHAR) | <s>[INST] What rank was the country with no bronze but at least 1 silver medals?
context: CREATE TABLE table_name_57 (rank INTEGER, bronze VARCHAR, silver VARCHAR) [/INST] SELECT AVG(rank) FROM table_name_57 WHERE bronze < 1 AND silver > 1 </s> |
What is the most Champ Car wins for any driver with a USAC record of 2? | SELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 2 | CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR) | <s>[INST] What is the most Champ Car wins for any driver with a USAC record of 2?
context: CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR) [/INST] SELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 2 </s> |
Which Losses is the lowest one that has Wins smaller than 0? | SELECT MIN(losses) FROM table_name_92 WHERE wins < 0 | CREATE TABLE table_name_92 (losses INTEGER, wins INTEGER) | <s>[INST] Which Losses is the lowest one that has Wins smaller than 0?
context: CREATE TABLE table_name_92 (losses INTEGER, wins INTEGER) [/INST] SELECT MIN(losses) FROM table_name_92 WHERE wins < 0 </s> |
Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni? | SELECT winner FROM table_name_78 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND general_classification = "giuseppe saronni" | CREATE TABLE table_name_78 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR) | <s>[INST] Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni?
context: CREATE TABLE table_name_78 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR) [/INST] SELECT winner FROM table_name_78 WHERE trofeo_fast_team = "metauro mobili-p... |
Which charts had debut sales of 101976? | SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976 | CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR) | <s>[INST] Which charts had debut sales of 101976?
context: CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR) [/INST] SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976 </s> |
What college is Pat Thomas from? | SELECT college FROM table_name_77 WHERE name = "pat thomas" | CREATE TABLE table_name_77 (college VARCHAR, name VARCHAR) | <s>[INST] What college is Pat Thomas from?
context: CREATE TABLE table_name_77 (college VARCHAR, name VARCHAR) [/INST] SELECT college FROM table_name_77 WHERE name = "pat thomas" </s> |
Show ids for all students who live in CHI. | SELECT StuID FROM Student WHERE city_code = "CHI" | CREATE TABLE Student (StuID VARCHAR, city_code VARCHAR) | <s>[INST] Show ids for all students who live in CHI.
context: CREATE TABLE Student (StuID VARCHAR, city_code VARCHAR) [/INST] SELECT StuID FROM Student WHERE city_code = "CHI" </s> |
What is 1997, when 1996 is "1R", when 1990 is "2R", and when 1991 is "F"? | SELECT 1997 FROM table_name_63 WHERE 1996 = "1r" AND 1990 = "2r" AND 1991 = "f" | CREATE TABLE table_name_63 (Id VARCHAR) | <s>[INST] What is 1997, when 1996 is "1R", when 1990 is "2R", and when 1991 is "F"?
context: CREATE TABLE table_name_63 (Id VARCHAR) [/INST] SELECT 1997 FROM table_name_63 WHERE 1996 = "1r" AND 1990 = "2r" AND 1991 = "f" </s> |
How many opponents were played on Saturday, June 9? | SELECT COUNT(opponent) FROM table_10392906_2 WHERE date = "Saturday, June 9" | CREATE TABLE table_10392906_2 (opponent VARCHAR, date VARCHAR) | <s>[INST] How many opponents were played on Saturday, June 9?
context: CREATE TABLE table_10392906_2 (opponent VARCHAR, date VARCHAR) [/INST] SELECT COUNT(opponent) FROM table_10392906_2 WHERE date = "Saturday, June 9" </s> |
What are the daily hire costs for the products with substring 'Book' in its name? | SELECT daily_hire_cost FROM Products_for_hire WHERE product_name LIKE '%Book%' | CREATE TABLE Products_for_hire (daily_hire_cost VARCHAR, product_name VARCHAR) | <s>[INST] What are the daily hire costs for the products with substring 'Book' in its name?
context: CREATE TABLE Products_for_hire (daily_hire_cost VARCHAR, product_name VARCHAR) [/INST] SELECT daily_hire_cost FROM Products_for_hire WHERE product_name LIKE '%Book%' </s> |
What is the date of the away game in week 8? | SELECT date FROM table_name_2 WHERE home_away_game = "away" AND week = 8 | CREATE TABLE table_name_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR) | <s>[INST] What is the date of the away game in week 8?
context: CREATE TABLE table_name_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR) [/INST] SELECT date FROM table_name_2 WHERE home_away_game = "away" AND week = 8 </s> |
For which Game 4 did Michael O'Connor play wing position? | SELECT game_4 FROM table_name_8 WHERE position = "wing" AND game_1 = "michael o'connor" | CREATE TABLE table_name_8 (game_4 VARCHAR, position VARCHAR, game_1 VARCHAR) | <s>[INST] For which Game 4 did Michael O'Connor play wing position?
context: CREATE TABLE table_name_8 (game_4 VARCHAR, position VARCHAR, game_1 VARCHAR) [/INST] SELECT game_4 FROM table_name_8 WHERE position = "wing" AND game_1 = "michael o'connor" </s> |
What engine does the Tasman Motorsports team have? | SELECT engine FROM table_name_63 WHERE team = "tasman motorsports" | CREATE TABLE table_name_63 (engine VARCHAR, team VARCHAR) | <s>[INST] What engine does the Tasman Motorsports team have?
context: CREATE TABLE table_name_63 (engine VARCHAR, team VARCHAR) [/INST] SELECT engine FROM table_name_63 WHERE team = "tasman motorsports" </s> |
What is the Uyghur Latin with a population of 69,361? | SELECT uyghur_latin___uly__ FROM table_name_14 WHERE population__2010_census_ = "69,361" | CREATE TABLE table_name_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR) | <s>[INST] What is the Uyghur Latin with a population of 69,361?
context: CREATE TABLE table_name_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR) [/INST] SELECT uyghur_latin___uly__ FROM table_name_14 WHERE population__2010_census_ = "69,361" </s> |
what is the points for rank 12? | SELECT SUM(points) FROM table_name_13 WHERE rank = 12 | CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR) | <s>[INST] what is the points for rank 12?
context: CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR) [/INST] SELECT SUM(points) FROM table_name_13 WHERE rank = 12 </s> |
What position has a 2-6 agg.? | SELECT position FROM table_name_8 WHERE agg = "2-6" | CREATE TABLE table_name_8 (position VARCHAR, agg VARCHAR) | <s>[INST] What position has a 2-6 agg.?
context: CREATE TABLE table_name_8 (position VARCHAR, agg VARCHAR) [/INST] SELECT position FROM table_name_8 WHERE agg = "2-6" </s> |
Where was the location for Arras Paul Arras? | SELECT location FROM table_name_24 WHERE opponent = "arras paul arras" | CREATE TABLE table_name_24 (location VARCHAR, opponent VARCHAR) | <s>[INST] Where was the location for Arras Paul Arras?
context: CREATE TABLE table_name_24 (location VARCHAR, opponent VARCHAR) [/INST] SELECT location FROM table_name_24 WHERE opponent = "arras paul arras" </s> |
What is the Release Date when sSpec Number is sl5xl, sl657, sl6by, sl6jp? | SELECT release_date FROM table_name_96 WHERE sspec_number = "sl5xl, sl657, sl6by, sl6jp" | CREATE TABLE table_name_96 (release_date VARCHAR, sspec_number VARCHAR) | <s>[INST] What is the Release Date when sSpec Number is sl5xl, sl657, sl6by, sl6jp?
context: CREATE TABLE table_name_96 (release_date VARCHAR, sspec_number VARCHAR) [/INST] SELECT release_date FROM table_name_96 WHERE sspec_number = "sl5xl, sl657, sl6by, sl6jp" </s> |
What is Bob Tway's To par? | SELECT to_par FROM table_name_27 WHERE player = "bob tway" | CREATE TABLE table_name_27 (to_par VARCHAR, player VARCHAR) | <s>[INST] What is Bob Tway's To par?
context: CREATE TABLE table_name_27 (to_par VARCHAR, player VARCHAR) [/INST] SELECT to_par FROM table_name_27 WHERE player = "bob tway" </s> |
What game was in 2001? | SELECT game FROM table_name_66 WHERE year = 2001 | CREATE TABLE table_name_66 (game VARCHAR, year VARCHAR) | <s>[INST] What game was in 2001?
context: CREATE TABLE table_name_66 (game VARCHAR, year VARCHAR) [/INST] SELECT game FROM table_name_66 WHERE year = 2001 </s> |
Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325? | SELECT MIN(points) FROM table_name_17 WHERE make = "chevrolet" AND car__number < 24 AND laps = 312 AND winnings = "$122,325" | CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR) | <s>[INST] Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325?
context: CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR) [/INST] SELECT MIN(points) FROM... |
What opposition do 31.1% of Social Democrats have? | SELECT opposition FROM table_name_70 WHERE social_democrats__a_ = "31.1%" | CREATE TABLE table_name_70 (opposition VARCHAR, social_democrats__a_ VARCHAR) | <s>[INST] What opposition do 31.1% of Social Democrats have?
context: CREATE TABLE table_name_70 (opposition VARCHAR, social_democrats__a_ VARCHAR) [/INST] SELECT opposition FROM table_name_70 WHERE social_democrats__a_ = "31.1%" </s> |
What is the Set 2 with a Date that is jun 29? | SELECT set_2 FROM table_name_98 WHERE date = "jun 29" | CREATE TABLE table_name_98 (set_2 VARCHAR, date VARCHAR) | <s>[INST] What is the Set 2 with a Date that is jun 29?
context: CREATE TABLE table_name_98 (set_2 VARCHAR, date VARCHAR) [/INST] SELECT set_2 FROM table_name_98 WHERE date = "jun 29" </s> |
What is the Diligence Virtues Gloss? | SELECT gloss FROM table_name_22 WHERE virtue = "diligence" | CREATE TABLE table_name_22 (gloss VARCHAR, virtue VARCHAR) | <s>[INST] What is the Diligence Virtues Gloss?
context: CREATE TABLE table_name_22 (gloss VARCHAR, virtue VARCHAR) [/INST] SELECT gloss FROM table_name_22 WHERE virtue = "diligence" </s> |
What is the sum of Total, when Year(s) Won is "1966 , 1970 , 1978", and when To par is less than 4? | SELECT SUM(total) FROM table_name_81 WHERE year_s__won = "1966 , 1970 , 1978" AND to_par < 4 | CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR) | <s>[INST] What is the sum of Total, when Year(s) Won is "1966 , 1970 , 1978", and when To par is less than 4?
context: CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR) [/INST] SELECT SUM(total) FROM table_name_81 WHERE year_s__won = "1966 , 1970 , 1978" AND to_par < 4 </s> |
Who was the opponent that played on may 12? | SELECT opponent FROM table_name_32 WHERE date = "may 12" | CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR) | <s>[INST] Who was the opponent that played on may 12?
context: CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_32 WHERE date = "may 12" </s> |
Which payment method is used by most customers? | SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE customers (payment_method VARCHAR) | <s>[INST] Which payment method is used by most customers?
context: CREATE TABLE customers (payment_method VARCHAR) [/INST] SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1 </s> |
What is the year of the season that was 12? | SELECT tv_season FROM table_10120207_8 WHERE season = 12 | CREATE TABLE table_10120207_8 (tv_season VARCHAR, season VARCHAR) | <s>[INST] What is the year of the season that was 12?
context: CREATE TABLE table_10120207_8 (tv_season VARCHAR, season VARCHAR) [/INST] SELECT tv_season FROM table_10120207_8 WHERE season = 12 </s> |
What is the ranking of the UEFA Euro 2012 qualifying Group A competition? | SELECT rank FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A" | CREATE TABLE table_24765815_2 (rank VARCHAR, competition VARCHAR) | <s>[INST] What is the ranking of the UEFA Euro 2012 qualifying Group A competition?
context: CREATE TABLE table_24765815_2 (rank VARCHAR, competition VARCHAR) [/INST] SELECT rank FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A" </s> |
Which Time has a Round smaller than 3, and an Opponent of bao quach? | SELECT time FROM table_name_11 WHERE round < 3 AND opponent = "bao quach" | CREATE TABLE table_name_11 (time VARCHAR, round VARCHAR, opponent VARCHAR) | <s>[INST] Which Time has a Round smaller than 3, and an Opponent of bao quach?
context: CREATE TABLE table_name_11 (time VARCHAR, round VARCHAR, opponent VARCHAR) [/INST] SELECT time FROM table_name_11 WHERE round < 3 AND opponent = "bao quach" </s> |
When was there a game at Kardinia Park? | SELECT date FROM table_name_78 WHERE venue = "kardinia park" | CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR) | <s>[INST] When was there a game at Kardinia Park?
context: CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR) [/INST] SELECT date FROM table_name_78 WHERE venue = "kardinia park" </s> |
What is the sum of NGC numbers for Constellation vela? | SELECT SUM(ngc_number) FROM table_name_16 WHERE constellation = "vela" | CREATE TABLE table_name_16 (ngc_number INTEGER, constellation VARCHAR) | <s>[INST] What is the sum of NGC numbers for Constellation vela?
context: CREATE TABLE table_name_16 (ngc_number INTEGER, constellation VARCHAR) [/INST] SELECT SUM(ngc_number) FROM table_name_16 WHERE constellation = "vela" </s> |
What is the lowest brup when long is 94? | SELECT MIN(brup) FROM table_26176081_29 WHERE long = 94 | CREATE TABLE table_26176081_29 (brup INTEGER, long VARCHAR) | <s>[INST] What is the lowest brup when long is 94?
context: CREATE TABLE table_26176081_29 (brup INTEGER, long VARCHAR) [/INST] SELECT MIN(brup) FROM table_26176081_29 WHERE long = 94 </s> |
What province in Tumbes has less than 11 districts and a UBIGEO of 2401? | SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401 | CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR) | <s>[INST] What province in Tumbes has less than 11 districts and a UBIGEO of 2401?
context: CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR) [/INST] SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401 </s> |
Which venue hosted the Dixie Derby Girls? | SELECT venue FROM table_name_68 WHERE club = "dixie derby girls" | CREATE TABLE table_name_68 (venue VARCHAR, club VARCHAR) | <s>[INST] Which venue hosted the Dixie Derby Girls?
context: CREATE TABLE table_name_68 (venue VARCHAR, club VARCHAR) [/INST] SELECT venue FROM table_name_68 WHERE club = "dixie derby girls" </s> |
What team does Joe Deane play for? | SELECT team FROM table_name_20 WHERE player = "joe deane" | CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR) | <s>[INST] What team does Joe Deane play for?
context: CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR) [/INST] SELECT team FROM table_name_20 WHERE player = "joe deane" </s> |
What is the highest rank of a nation with fewer than 0 silver medals? | SELECT MAX(rank) FROM table_name_43 WHERE silver < 0 | CREATE TABLE table_name_43 (rank INTEGER, silver INTEGER) | <s>[INST] What is the highest rank of a nation with fewer than 0 silver medals?
context: CREATE TABLE table_name_43 (rank INTEGER, silver INTEGER) [/INST] SELECT MAX(rank) FROM table_name_43 WHERE silver < 0 </s> |
When the face value is 42¢, what was the issue's date? | SELECT date_of_issue FROM table_15635768_1 WHERE face_value = "42¢" | CREATE TABLE table_15635768_1 (date_of_issue VARCHAR, face_value VARCHAR) | <s>[INST] When the face value is 42¢, what was the issue's date?
context: CREATE TABLE table_15635768_1 (date_of_issue VARCHAR, face_value VARCHAR) [/INST] SELECT date_of_issue FROM table_15635768_1 WHERE face_value = "42¢" </s> |
Who was the opponents in the final on January 5, 2003, on a hard surface? | SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003" | CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) | <s>[INST] Who was the opponents in the final on January 5, 2003, on a hard surface?
context: CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) [/INST] SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003" </s> |
What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421? | SELECT MIN(matches) FROM table_name_36 WHERE bonus_pts = 19 AND total_points > 421 | CREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR) | <s>[INST] What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421?
context: CREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR) [/INST] SELECT MIN(matches) FROM table_name_36 WHERE bonus_pts = 19 AND total_points > 421 </s> |
What is the average game that has December 17 as the date? | SELECT AVG(game) FROM table_name_32 WHERE date = "december 17" | CREATE TABLE table_name_32 (game INTEGER, date VARCHAR) | <s>[INST] What is the average game that has December 17 as the date?
context: CREATE TABLE table_name_32 (game INTEGER, date VARCHAR) [/INST] SELECT AVG(game) FROM table_name_32 WHERE date = "december 17" </s> |
What game has 27-12 record? | SELECT game FROM table_name_14 WHERE record = "27-12" | CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR) | <s>[INST] What game has 27-12 record?
context: CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR) [/INST] SELECT game FROM table_name_14 WHERE record = "27-12" </s> |
What is Home Team, when Date is "6 December 1986", and when Tie No is "4"? | SELECT home_team FROM table_name_49 WHERE date = "6 december 1986" AND tie_no = "4" | CREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) | <s>[INST] What is Home Team, when Date is "6 December 1986", and when Tie No is "4"?
context: CREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) [/INST] SELECT home_team FROM table_name_49 WHERE date = "6 december 1986" AND tie_no = "4" </s> |
What is the Place when the To par was +3 and Score was 74-73=147? | SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147 | CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR) | <s>[INST] What is the Place when the To par was +3 and Score was 74-73=147?
context: CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147 </s> |
How many players did the most high points in the game with 39-22 record? | SELECT COUNT(high_points) FROM table_23286223_8 WHERE record = "39-22" | CREATE TABLE table_23286223_8 (high_points VARCHAR, record VARCHAR) | <s>[INST] How many players did the most high points in the game with 39-22 record?
context: CREATE TABLE table_23286223_8 (high_points VARCHAR, record VARCHAR) [/INST] SELECT COUNT(high_points) FROM table_23286223_8 WHERE record = "39-22" </s> |
What is the name of the director of the episode written by robin schwartz & robert tarlow? | SELECT directed_by FROM table_name_55 WHERE written_by = "robin schwartz & robert tarlow" | CREATE TABLE table_name_55 (directed_by VARCHAR, written_by VARCHAR) | <s>[INST] What is the name of the director of the episode written by robin schwartz & robert tarlow?
context: CREATE TABLE table_name_55 (directed_by VARCHAR, written_by VARCHAR) [/INST] SELECT directed_by FROM table_name_55 WHERE written_by = "robin schwartz & robert tarlow" </s> |
Which score was for Toronto Maple Leafs at home on November 12? | SELECT score FROM table_name_66 WHERE home = "toronto maple leafs" AND date = "november 12" | CREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR) | <s>[INST] Which score was for Toronto Maple Leafs at home on November 12?
context: CREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_66 WHERE home = "toronto maple leafs" AND date = "november 12" </s> |
WHAT OPPONENT WAS ON OCTOBER 7? | SELECT opponent_number FROM table_name_37 WHERE date = "october 7" | CREATE TABLE table_name_37 (opponent_number VARCHAR, date VARCHAR) | <s>[INST] WHAT OPPONENT WAS ON OCTOBER 7?
context: CREATE TABLE table_name_37 (opponent_number VARCHAR, date VARCHAR) [/INST] SELECT opponent_number FROM table_name_37 WHERE date = "october 7" </s> |
What type is shown with a moving to of valenciennes? | SELECT type FROM table_name_7 WHERE moving_to = "valenciennes" | CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR) | <s>[INST] What type is shown with a moving to of valenciennes?
context: CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR) [/INST] SELECT type FROM table_name_7 WHERE moving_to = "valenciennes" </s> |
What is the sum of gold values that have bronze values over 0 and totals under 2? | SELECT SUM(gold) FROM table_name_34 WHERE bronze > 0 AND total < 2 | CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, total VARCHAR) | <s>[INST] What is the sum of gold values that have bronze values over 0 and totals under 2?
context: CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, total VARCHAR) [/INST] SELECT SUM(gold) FROM table_name_34 WHERE bronze > 0 AND total < 2 </s> |
Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round? | SELECT team FROM table_name_92 WHERE recopa_1994 = "n/a" AND conmebol_1994 = "1st round" | CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR) | <s>[INST] Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round?
context: CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR) [/INST] SELECT team FROM table_name_92 WHERE recopa_1994 = "n/a" AND conmebol_1994 = "1st round" </s> |
Which Result has a Score of 1–0, and a Goal of 16? | SELECT result FROM table_name_7 WHERE score = "1–0" AND goal = 16 | CREATE TABLE table_name_7 (result VARCHAR, score VARCHAR, goal VARCHAR) | <s>[INST] Which Result has a Score of 1–0, and a Goal of 16?
context: CREATE TABLE table_name_7 (result VARCHAR, score VARCHAR, goal VARCHAR) [/INST] SELECT result FROM table_name_7 WHERE score = "1–0" AND goal = 16 </s> |
Name the theatre name for french | SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French" | CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR) | <s>[INST] Name the theatre name for french
context: CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR) [/INST] SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French" </s> |
what's the report with fastest lap being felipe massa and winning driver being jenson button | SELECT report FROM table_12161822_5 WHERE fastest_lap = "Felipe Massa" AND winning_driver = "Jenson Button" | CREATE TABLE table_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) | <s>[INST] what's the report with fastest lap being felipe massa and winning driver being jenson button
context: CREATE TABLE table_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) [/INST] SELECT report FROM table_12161822_5 WHERE fastest_lap = "Felipe Massa" AND winning_driver = "Jenson Button"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.