context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_68 (catalog VARCHAR, format VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_68 WHERE format = "ed remaster cd" AND date = "december 19, 2001" | What catalog has a format of ED remaster CD and a date of December 19, 2001? | <s>[INST]What catalog has a format of ED remaster CD and a date of December 19, 2001? Context: CREATE TABLE table_name_68 (catalog VARCHAR, format VARCHAR, date VARCHAR)[/INST]SELECT catalog FROM table_name_68 WHERE format = "ed remaster cd" AND date = "december 19, 2001"</s> |
CREATE TABLE table_19744915_18 (couple VARCHAR, rank VARCHAR) | SELECT couple FROM table_19744915_18 WHERE rank = 9 | When 9 is the rank who are the couple? | <s>[INST]When 9 is the rank who are the couple? Context: CREATE TABLE table_19744915_18 (couple VARCHAR, rank VARCHAR)[/INST]SELECT couple FROM table_19744915_18 WHERE rank = 9</s> |
CREATE TABLE table_name_64 (round INTEGER, club_team VARCHAR) | SELECT AVG(round) FROM table_name_64 WHERE club_team = "garmisch-partenkirchen riessersee sc (germany 2)" | What is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)? | <s>[INST]What is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)? Context: CREATE TABLE table_name_64 (round INTEGER, club_team VARCHAR)[/INST]SELECT AVG(round) FROM table_name_64 WHERE club_team = "garmisch-partenkirchen riessersee sc (germany 2)"</s> |
CREATE TABLE table_22815265_1 (opponents INTEGER, opponent VARCHAR) | SELECT MIN(opponents) FROM table_22815265_1 WHERE opponent = "Arizona State" | How many opponents were there when the opponent was Arizona State? | <s>[INST]How many opponents were there when the opponent was Arizona State? Context: CREATE TABLE table_22815265_1 (opponents INTEGER, opponent VARCHAR)[/INST]SELECT MIN(opponents) FROM table_22815265_1 WHERE opponent = "Arizona State"</s> |
CREATE TABLE table_name_25 (province VARCHAR, mountain_range VARCHAR) | SELECT province FROM table_name_25 WHERE mountain_range = "axel heiberg island" | Which province includes Axel Heiberg Island? | <s>[INST]Which province includes Axel Heiberg Island? Context: CREATE TABLE table_name_25 (province VARCHAR, mountain_range VARCHAR)[/INST]SELECT province FROM table_name_25 WHERE mountain_range = "axel heiberg island"</s> |
CREATE TABLE table_2066296_5 (red__e8_ VARCHAR, interior_roof VARCHAR) | SELECT COUNT(red__e8_) FROM table_2066296_5 WHERE interior_roof = "Parchment/saddle" | How many different results for red (e8) does the model with parchment/saddle interior/roof have? | <s>[INST]How many different results for red (e8) does the model with parchment/saddle interior/roof have? Context: CREATE TABLE table_2066296_5 (red__e8_ VARCHAR, interior_roof VARCHAR)[/INST]SELECT COUNT(red__e8_) FROM table_2066296_5 WHERE interior_roof = "Parchment/saddle"</s> |
CREATE TABLE table_11545282_7 (years_for_jazz VARCHAR, player VARCHAR) | SELECT COUNT(years_for_jazz) FROM table_11545282_7 WHERE player = "Paul Griffin" | How many years did Paul Griffin play for the Jazz? | <s>[INST]How many years did Paul Griffin play for the Jazz? Context: CREATE TABLE table_11545282_7 (years_for_jazz VARCHAR, player VARCHAR)[/INST]SELECT COUNT(years_for_jazz) FROM table_11545282_7 WHERE player = "Paul Griffin"</s> |
CREATE TABLE table_18438494_3 (entered VARCHAR, time VARCHAR) | SELECT entered FROM table_18438494_3 WHERE time = "14:42" | How many entered the match with a time of 14:42? | <s>[INST]How many entered the match with a time of 14:42? Context: CREATE TABLE table_18438494_3 (entered VARCHAR, time VARCHAR)[/INST]SELECT entered FROM table_18438494_3 WHERE time = "14:42"</s> |
CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR) | SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989" | What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? | <s>[INST]What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? Context: CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR)[/INST]SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989"</s> |
CREATE TABLE table_name_11 (tournament VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_11 WHERE surface = "grass" AND opponent_in_the_final = "paul baccanello" | Name the tournament for grass surface and opponent in the final being paul baccanello | <s>[INST]Name the tournament for grass surface and opponent in the final being paul baccanello Context: CREATE TABLE table_name_11 (tournament VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_11 WHERE surface = "grass" AND opponent_in_the_final = "paul baccanello"</s> |
CREATE TABLE table_name_95 (minutes_played INTEGER, rebounds VARCHAR, field_goal__percentage VARCHAR) | SELECT MIN(minutes_played) FROM table_name_95 WHERE rebounds = 25 AND field_goal__percentage < 0.315 | What is the lowest Minutes Played, when Rebounds is 25, and when Field Goal % is less than "0.315"? | <s>[INST]What is the lowest Minutes Played, when Rebounds is 25, and when Field Goal % is less than "0.315"? Context: CREATE TABLE table_name_95 (minutes_played INTEGER, rebounds VARCHAR, field_goal__percentage VARCHAR)[/INST]SELECT MIN(minutes_played) FROM table_name_95 WHERE rebounds = 25 AND field_goal__percentage < 0.315</s> |
CREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR) | SELECT StuID FROM Student WHERE Advisor = 1121 | Show ids for all students who have advisor 1121. | <s>[INST]Show ids for all students who have advisor 1121. Context: CREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR)[/INST]SELECT StuID FROM Student WHERE Advisor = 1121</s> |
CREATE TABLE table_name_15 (number_of_households VARCHAR, median_family_income VARCHAR) | SELECT number_of_households FROM table_name_15 WHERE median_family_income = "$60,400" | How many households have a median family income of $60,400? | <s>[INST]How many households have a median family income of $60,400? Context: CREATE TABLE table_name_15 (number_of_households VARCHAR, median_family_income VARCHAR)[/INST]SELECT number_of_households FROM table_name_15 WHERE median_family_income = "$60,400"</s> |
CREATE TABLE table_name_34 (visiting_team VARCHAR, stadium VARCHAR, final_score VARCHAR) | SELECT visiting_team FROM table_name_34 WHERE stadium = "lincoln financial field" AND final_score = "24-14" | Who was the visiting team at Lincoln Financial Field when the final score was 24-14? | <s>[INST]Who was the visiting team at Lincoln Financial Field when the final score was 24-14? Context: CREATE TABLE table_name_34 (visiting_team VARCHAR, stadium VARCHAR, final_score VARCHAR)[/INST]SELECT visiting_team FROM table_name_34 WHERE stadium = "lincoln financial field" AND final_score = "24-14"</s> |
CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR) | SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_award = "Best Special Effects" | Name the awardees for best special effects | <s>[INST]Name the awardees for best special effects Context: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)[/INST]SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_award = "Best Special Effects"</s> |
CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_16 WHERE venue = "mcg" | When the Venue was mcg what was the sum of all Crowds for that venue? | <s>[INST]When the Venue was mcg what was the sum of all Crowds for that venue? Context: CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_16 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_64 (interview INTEGER, average VARCHAR, evening_gown VARCHAR, state VARCHAR) | SELECT SUM(interview) FROM table_name_64 WHERE evening_gown < 8.82 AND state = "kentucky" AND average > 8.85 | What is the total number of interviews where the evening gown number is less than 8.82, the state is Kentucky, and the average is more than 8.85? | <s>[INST]What is the total number of interviews where the evening gown number is less than 8.82, the state is Kentucky, and the average is more than 8.85? Context: CREATE TABLE table_name_64 (interview INTEGER, average VARCHAR, evening_gown VARCHAR, state VARCHAR)[/INST]SELECT SUM(interview) FROM table_name_64 WHERE evening_gown < 8.82 AND state = "kentucky" AND average > 8.85</s> |
CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR) | SELECT MAX(played) FROM table_name_42 WHERE difference = "- 8" AND position > 8 | What is the largest played number when the difference is - 8 and position is more than 8? | <s>[INST]What is the largest played number when the difference is - 8 and position is more than 8? Context: CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR)[/INST]SELECT MAX(played) FROM table_name_42 WHERE difference = "- 8" AND position > 8</s> |
CREATE TABLE table_name_45 (points INTEGER, november VARCHAR) | SELECT SUM(points) FROM table_name_45 WHERE november = 15 | How many points have November of 15? | <s>[INST]How many points have November of 15? Context: CREATE TABLE table_name_45 (points INTEGER, november VARCHAR)[/INST]SELECT SUM(points) FROM table_name_45 WHERE november = 15</s> |
CREATE TABLE table_1140076_2 (pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR) | SELECT pole_position FROM table_1140076_2 WHERE fastest_lap = "Nelson Piquet" AND constructor = "Ferrari" | What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari? | <s>[INST]What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari? Context: CREATE TABLE table_1140076_2 (pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)[/INST]SELECT pole_position FROM table_1140076_2 WHERE fastest_lap = "Nelson Piquet" AND constructor = "Ferrari"</s> |
CREATE TABLE table_name_39 (jockey VARCHAR, trainer VARCHAR, odds VARCHAR) | SELECT jockey FROM table_name_39 WHERE trainer = "nick zito" AND odds = "34-1" | Who is the Jockey that has Nick Zito as Trainer and Odds of 34-1? | <s>[INST]Who is the Jockey that has Nick Zito as Trainer and Odds of 34-1? Context: CREATE TABLE table_name_39 (jockey VARCHAR, trainer VARCHAR, odds VARCHAR)[/INST]SELECT jockey FROM table_name_39 WHERE trainer = "nick zito" AND odds = "34-1"</s> |
CREATE TABLE table_name_18 (manufacturer VARCHAR, laps VARCHAR) | SELECT manufacturer FROM table_name_18 WHERE laps = "8" | Which manufacturer has 8 laps? | <s>[INST]Which manufacturer has 8 laps? Context: CREATE TABLE table_name_18 (manufacturer VARCHAR, laps VARCHAR)[/INST]SELECT manufacturer FROM table_name_18 WHERE laps = "8"</s> |
CREATE TABLE table_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR) | SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention Center" | Which city had the charleston area convention center as its callback location | <s>[INST]Which city had the charleston area convention center as its callback location Context: CREATE TABLE table_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR)[/INST]SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention Center"</s> |
CREATE TABLE table_name_85 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_85 WHERE time = "3:06" | What is the Event with a Time that is 3:06? | <s>[INST]What is the Event with a Time that is 3:06? Context: CREATE TABLE table_name_85 (event VARCHAR, time VARCHAR)[/INST]SELECT event FROM table_name_85 WHERE time = "3:06"</s> |
CREATE TABLE table_name_72 (name VARCHAR, position INTEGER) | SELECT name FROM table_name_72 WHERE position < 2 | Which Name has a Position smaller than 2? | <s>[INST]Which Name has a Position smaller than 2? Context: CREATE TABLE table_name_72 (name VARCHAR, position INTEGER)[/INST]SELECT name FROM table_name_72 WHERE position < 2</s> |
CREATE TABLE table_name_69 (money_spent VARCHAR, _2q VARCHAR, total_receipts VARCHAR) | SELECT money_spent, _2q FROM table_name_69 WHERE total_receipts = "$1,117,566" | How much money was spent in 2Q when the total receipts were $1,117,566? | <s>[INST]How much money was spent in 2Q when the total receipts were $1,117,566? Context: CREATE TABLE table_name_69 (money_spent VARCHAR, _2q VARCHAR, total_receipts VARCHAR)[/INST]SELECT money_spent, _2q FROM table_name_69 WHERE total_receipts = "$1,117,566"</s> |
CREATE TABLE table_name_74 (yards VARCHAR, attempts VARCHAR) | SELECT yards FROM table_name_74 WHERE attempts = "247" | Which Yards has a Attempts of 247 | <s>[INST]Which Yards has a Attempts of 247 Context: CREATE TABLE table_name_74 (yards VARCHAR, attempts VARCHAR)[/INST]SELECT yards FROM table_name_74 WHERE attempts = "247"</s> |
CREATE TABLE table_name_54 (media_market_ranking VARCHAR, metropolitan_area VARCHAR) | SELECT media_market_ranking FROM table_name_54 WHERE metropolitan_area = "new york, new york" | What is the media market ranking for new york, new york? | <s>[INST]What is the media market ranking for new york, new york? Context: CREATE TABLE table_name_54 (media_market_ranking VARCHAR, metropolitan_area VARCHAR)[/INST]SELECT media_market_ranking FROM table_name_54 WHERE metropolitan_area = "new york, new york"</s> |
CREATE TABLE table_name_38 (kono INTEGER, bonthe INTEGER) | SELECT SUM(kono) FROM table_name_38 WHERE bonthe > 21 OFFSET 238 | What is the sum of the kono with a bonthe greater than 21,238? | <s>[INST]What is the sum of the kono with a bonthe greater than 21,238? Context: CREATE TABLE table_name_38 (kono INTEGER, bonthe INTEGER)[/INST]SELECT SUM(kono) FROM table_name_38 WHERE bonthe > 21 OFFSET 238</s> |
CREATE TABLE table_name_95 (theme VARCHAR, result VARCHAR) | SELECT theme FROM table_name_95 WHERE result = "eliminated" | Which Theme has a Result of eliminated? | <s>[INST]Which Theme has a Result of eliminated? Context: CREATE TABLE table_name_95 (theme VARCHAR, result VARCHAR)[/INST]SELECT theme FROM table_name_95 WHERE result = "eliminated"</s> |
CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR) | SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 1 | Show the id and details of the investor that has the largest number of transactions. | <s>[INST]Show the id and details of the investor that has the largest number of transactions. Context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)[/INST]SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_99 WHERE score = 71 - 71 - 68 = 210 | Which country has the score of 71-71-68=210? | <s>[INST]Which country has the score of 71-71-68=210? Context: CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_99 WHERE score = 71 - 71 - 68 = 210</s> |
CREATE TABLE table_29436238_1 (no_in_series VARCHAR, written_by VARCHAR) | SELECT COUNT(no_in_series) FROM table_29436238_1 WHERE written_by = "Gregg Mettler" | How many episodes were written by Gregg Mettler? | <s>[INST]How many episodes were written by Gregg Mettler? Context: CREATE TABLE table_29436238_1 (no_in_series VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_29436238_1 WHERE written_by = "Gregg Mettler"</s> |
CREATE TABLE table_25118909_3 (_number INTEGER, former_school VARCHAR) | SELECT MAX(_number) FROM table_25118909_3 WHERE former_school = "Notre Dame Prep" | Name the most number for notre dame prep | <s>[INST]Name the most number for notre dame prep Context: CREATE TABLE table_25118909_3 (_number INTEGER, former_school VARCHAR)[/INST]SELECT MAX(_number) FROM table_25118909_3 WHERE former_school = "Notre Dame Prep"</s> |
CREATE TABLE table_name_62 (silver INTEGER, bronze INTEGER) | SELECT AVG(silver) FROM table_name_62 WHERE bronze > 1 | What is the average number of silvers for nations with over 1 bronze medal? | <s>[INST]What is the average number of silvers for nations with over 1 bronze medal? Context: CREATE TABLE table_name_62 (silver INTEGER, bronze INTEGER)[/INST]SELECT AVG(silver) FROM table_name_62 WHERE bronze > 1</s> |
CREATE TABLE table_name_64 (podiums INTEGER, position VARCHAR, wins VARCHAR) | SELECT AVG(podiums) FROM table_name_64 WHERE position = "32nd" AND wins < 0 | What is the average number of podiums in the 32nd position with less than 0 wins? | <s>[INST]What is the average number of podiums in the 32nd position with less than 0 wins? Context: CREATE TABLE table_name_64 (podiums INTEGER, position VARCHAR, wins VARCHAR)[/INST]SELECT AVG(podiums) FROM table_name_64 WHERE position = "32nd" AND wins < 0</s> |
CREATE TABLE table_name_26 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_26 WHERE score = 67 - 71 - 70 = 208 | Where was the score 67-71-70=208? | <s>[INST]Where was the score 67-71-70=208? Context: CREATE TABLE table_name_26 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_26 WHERE score = 67 - 71 - 70 = 208</s> |
CREATE TABLE table_name_4 (position VARCHAR, player VARCHAR, nationality VARCHAR, round VARCHAR) | SELECT position FROM table_name_4 WHERE nationality = "canada" AND round < 7 AND player = "zach boychuk" | WHAT IS THE POSITION FOR CANADA, ROUND SMALLER THAN 7, PLAYER ZACH BOYCHUK? | <s>[INST]WHAT IS THE POSITION FOR CANADA, ROUND SMALLER THAN 7, PLAYER ZACH BOYCHUK? Context: CREATE TABLE table_name_4 (position VARCHAR, player VARCHAR, nationality VARCHAR, round VARCHAR)[/INST]SELECT position FROM table_name_4 WHERE nationality = "canada" AND round < 7 AND player = "zach boychuk"</s> |
CREATE TABLE table_name_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR) | SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election > 1992 | Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992? | <s>[INST]Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992? Context: CREATE TABLE table_name_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)[/INST]SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election > 1992</s> |
CREATE TABLE table_name_27 (articulatory_class VARCHAR, non__stop VARCHAR) | SELECT articulatory_class FROM table_name_27 WHERE non__stop = "(ㆁ)" | If the Non- stop is (ㆁ), what is the Articulatory Class? | <s>[INST]If the Non- stop is (ㆁ), what is the Articulatory Class? Context: CREATE TABLE table_name_27 (articulatory_class VARCHAR, non__stop VARCHAR)[/INST]SELECT articulatory_class FROM table_name_27 WHERE non__stop = "(ㆁ)"</s> |
CREATE TABLE table_name_23 (superlative VARCHAR, record_set VARCHAR) | SELECT superlative FROM table_name_23 WHERE record_set = "12 nominations" | What Superlative had a record set of 12 nominations? | <s>[INST]What Superlative had a record set of 12 nominations? Context: CREATE TABLE table_name_23 (superlative VARCHAR, record_set VARCHAR)[/INST]SELECT superlative FROM table_name_23 WHERE record_set = "12 nominations"</s> |
CREATE TABLE debate (Venue VARCHAR, Num_of_Audience VARCHAR) | SELECT Venue FROM debate ORDER BY Num_of_Audience | List the venues of debates in ascending order of the number of audience. | <s>[INST]List the venues of debates in ascending order of the number of audience. Context: CREATE TABLE debate (Venue VARCHAR, Num_of_Audience VARCHAR)[/INST]SELECT Venue FROM debate ORDER BY Num_of_Audience</s> |
CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_name_69 WHERE location_attendance = "rose garden 20,020" | What is Team, when Location Attendance is "Rose Garden 20,020"? | <s>[INST]What is Team, when Location Attendance is "Rose Garden 20,020"? Context: CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR)[/INST]SELECT team FROM table_name_69 WHERE location_attendance = "rose garden 20,020"</s> |
CREATE TABLE table_10707176_2 (report VARCHAR, circuit VARCHAR) | SELECT COUNT(report) FROM table_10707176_2 WHERE circuit = "Cleveland Burke Lakefront Airport" | How many reports were the for the cleveland burke lakefront airport circut? | <s>[INST]How many reports were the for the cleveland burke lakefront airport circut? Context: CREATE TABLE table_10707176_2 (report VARCHAR, circuit VARCHAR)[/INST]SELECT COUNT(report) FROM table_10707176_2 WHERE circuit = "Cleveland Burke Lakefront Airport"</s> |
CREATE TABLE table_name_3 (time VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_3 WHERE opponent = "josh branham" | Which Time has an Opponent of josh branham? | <s>[INST]Which Time has an Opponent of josh branham? Context: CREATE TABLE table_name_3 (time VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_3 WHERE opponent = "josh branham"</s> |
CREATE TABLE table_name_85 (datacenter VARCHAR, itanium VARCHAR, features VARCHAR) | SELECT datacenter FROM table_name_85 WHERE itanium = "yes" AND features = "memory modules: hot addition" | What is the Datacenter for the Memory modules: hot addition Feature that has Yes listed for Itanium? | <s>[INST]What is the Datacenter for the Memory modules: hot addition Feature that has Yes listed for Itanium? Context: CREATE TABLE table_name_85 (datacenter VARCHAR, itanium VARCHAR, features VARCHAR)[/INST]SELECT datacenter FROM table_name_85 WHERE itanium = "yes" AND features = "memory modules: hot addition"</s> |
CREATE TABLE table_27533947_1 (total_points INTEGER, best_winning_average VARCHAR) | SELECT MIN(total_points) FROM table_27533947_1 WHERE best_winning_average = "7.3-71" | If the best winning average is 7.3-71, what are the total points? | <s>[INST]If the best winning average is 7.3-71, what are the total points? Context: CREATE TABLE table_27533947_1 (total_points INTEGER, best_winning_average VARCHAR)[/INST]SELECT MIN(total_points) FROM table_27533947_1 WHERE best_winning_average = "7.3-71"</s> |
CREATE TABLE inst (Id VARCHAR) | SELECT COUNT(*) FROM inst | How many institutions are there? | <s>[INST]How many institutions are there? Context: CREATE TABLE inst (Id VARCHAR)[/INST]SELECT COUNT(*) FROM inst</s> |
CREATE TABLE table_15431251_1 (title VARCHAR, no_in_season VARCHAR) | SELECT COUNT(title) FROM table_15431251_1 WHERE no_in_season = 7 | What is the title for episode number 7 in the season? | <s>[INST]What is the title for episode number 7 in the season? Context: CREATE TABLE table_15431251_1 (title VARCHAR, no_in_season VARCHAR)[/INST]SELECT COUNT(title) FROM table_15431251_1 WHERE no_in_season = 7</s> |
CREATE TABLE table_10819266_8 (season VARCHAR, rank VARCHAR) | SELECT season AS premiere FROM table_10819266_8 WHERE rank = "#21" | How many season premiers have a rank of #21? | <s>[INST]How many season premiers have a rank of #21? Context: CREATE TABLE table_10819266_8 (season VARCHAR, rank VARCHAR)[/INST]SELECT season AS premiere FROM table_10819266_8 WHERE rank = "#21"</s> |
CREATE TABLE table_name_17 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_17 WHERE score = "6–4, 2–6, 3–6" | What was the Surface when the Score was 6–4, 2–6, 3–6? | <s>[INST]What was the Surface when the Score was 6–4, 2–6, 3–6? Context: CREATE TABLE table_name_17 (surface VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_17 WHERE score = "6–4, 2–6, 3–6"</s> |
CREATE TABLE table_20704243_3 (season__number VARCHAR, series__number VARCHAR) | SELECT season__number FROM table_20704243_3 WHERE series__number = 23 | What is the season number for Series #23, the Runway Job? | <s>[INST]What is the season number for Series #23, the Runway Job? Context: CREATE TABLE table_20704243_3 (season__number VARCHAR, series__number VARCHAR)[/INST]SELECT season__number FROM table_20704243_3 WHERE series__number = 23</s> |
CREATE TABLE table_20799905_1 (county VARCHAR, mccain_percentage VARCHAR) | SELECT county FROM table_20799905_1 WHERE mccain_percentage = "57.8%" | In what county did McCain get 57.8%? | <s>[INST]In what county did McCain get 57.8%? Context: CREATE TABLE table_20799905_1 (county VARCHAR, mccain_percentage VARCHAR)[/INST]SELECT county FROM table_20799905_1 WHERE mccain_percentage = "57.8%"</s> |
CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR) | SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "R. Muthiah" | If the speaker is R. Muthiah, what is the election year maximum? | <s>[INST]If the speaker is R. Muthiah, what is the election year maximum? Context: CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)[/INST]SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "R. Muthiah"</s> |
CREATE TABLE table_name_3 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_3 WHERE date = "september 11" | What was the Location/Attendance on september 11? | <s>[INST]What was the Location/Attendance on september 11? Context: CREATE TABLE table_name_3 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_3 WHERE date = "september 11"</s> |
CREATE TABLE table_name_49 (tournament VARCHAR) | SELECT 2013 FROM table_name_49 WHERE 2007 = "a" AND tournament = "french open" | Which 2013 has a 2007 of A, and a Tournament of french open? | <s>[INST]Which 2013 has a 2007 of A, and a Tournament of french open? Context: CREATE TABLE table_name_49 (tournament VARCHAR)[/INST]SELECT 2013 FROM table_name_49 WHERE 2007 = "a" AND tournament = "french open"</s> |
CREATE TABLE department (dept_name VARCHAR, budget VARCHAR); CREATE TABLE instructor (salary INTEGER, dept_name VARCHAR) | SELECT AVG(T1.salary), COUNT(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget DESC LIMIT 1 | Find the number and averaged salary of all instructors who are in the department with the highest budget. | <s>[INST]Find the number and averaged salary of all instructors who are in the department with the highest budget. Context: CREATE TABLE department (dept_name VARCHAR, budget VARCHAR); CREATE TABLE instructor (salary INTEGER, dept_name VARCHAR)[/INST]SELECT AVG(T1.salary), COUNT(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget DESC LIMIT 1</s> |
CREATE TABLE table_name_77 (recipient VARCHAR, play VARCHAR, year VARCHAR) | SELECT recipient FROM table_name_77 WHERE play = "much ado about nothing" AND year = 1973 | Name the recipient of much ado about nothing for 1973 | <s>[INST]Name the recipient of much ado about nothing for 1973 Context: CREATE TABLE table_name_77 (recipient VARCHAR, play VARCHAR, year VARCHAR)[/INST]SELECT recipient FROM table_name_77 WHERE play = "much ado about nothing" AND year = 1973</s> |
CREATE TABLE table_name_17 (song VARCHAR, draw VARCHAR, artist VARCHAR) | SELECT song FROM table_name_17 WHERE draw < 20 AND artist = "luca barbarossa" | What Luca Barbarossa song had a draw smaller than 20? | <s>[INST]What Luca Barbarossa song had a draw smaller than 20? Context: CREATE TABLE table_name_17 (song VARCHAR, draw VARCHAR, artist VARCHAR)[/INST]SELECT song FROM table_name_17 WHERE draw < 20 AND artist = "luca barbarossa"</s> |
CREATE TABLE table_name_59 (entrant VARCHAR, year INTEGER) | SELECT entrant FROM table_name_59 WHERE year > 1999 | Which entrant has a year after 1999? | <s>[INST]Which entrant has a year after 1999? Context: CREATE TABLE table_name_59 (entrant VARCHAR, year INTEGER)[/INST]SELECT entrant FROM table_name_59 WHERE year > 1999</s> |
CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_28 WHERE away_team = "richmond" | How big was the crowd when Richmond was the away team? | <s>[INST]How big was the crowd when Richmond was the away team? Context: CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_28 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_72 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) | SELECT score FROM table_name_72 WHERE money___$__ = "112,500" AND player = "darren clarke" | What is the score of player darren clarke, who has $112,500? | <s>[INST]What is the score of player darren clarke, who has $112,500? Context: CREATE TABLE table_name_72 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE money___$__ = "112,500" AND player = "darren clarke"</s> |
CREATE TABLE table_name_80 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = "jeremy mcwilliams" | What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps? | <s>[INST]What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps? Context: CREATE TABLE table_name_80 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = "jeremy mcwilliams"</s> |
CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_36 WHERE venue = "kardinia park" | What is the fewest number of attendees at Kardinia Park? | <s>[INST]What is the fewest number of attendees at Kardinia Park? Context: CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_36 WHERE venue = "kardinia park"</s> |
CREATE TABLE table_name_65 (tournament_name VARCHAR, score VARCHAR) | SELECT tournament_name FROM table_name_65 WHERE score = "5–7, 6–4, 6–4" | What tournament had a score of 5–7, 6–4, 6–4? | <s>[INST]What tournament had a score of 5–7, 6–4, 6–4? Context: CREATE TABLE table_name_65 (tournament_name VARCHAR, score VARCHAR)[/INST]SELECT tournament_name FROM table_name_65 WHERE score = "5–7, 6–4, 6–4"</s> |
CREATE TABLE table_name_36 (club VARCHAR, head_coach VARCHAR) | SELECT club FROM table_name_36 WHERE head_coach = "casemiro mior" | Head Coach casemiro mior is at which Club? | <s>[INST]Head Coach casemiro mior is at which Club? Context: CREATE TABLE table_name_36 (club VARCHAR, head_coach VARCHAR)[/INST]SELECT club FROM table_name_36 WHERE head_coach = "casemiro mior"</s> |
CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR) | SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23 | What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR? | <s>[INST]What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR? Context: CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR)[/INST]SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23</s> |
CREATE TABLE table_name_53 (label VARCHAR, region VARCHAR, date VARCHAR) | SELECT label FROM table_name_53 WHERE region = "japan" AND date = "november 3, 2004" | Which label had a Japan region and a date of November 3, 2004? | <s>[INST]Which label had a Japan region and a date of November 3, 2004? Context: CREATE TABLE table_name_53 (label VARCHAR, region VARCHAR, date VARCHAR)[/INST]SELECT label FROM table_name_53 WHERE region = "japan" AND date = "november 3, 2004"</s> |
CREATE TABLE table_name_40 (city VARCHAR, iata VARCHAR) | SELECT city FROM table_name_40 WHERE iata = "ssg" | Which city has the IATA SSG? | <s>[INST]Which city has the IATA SSG? Context: CREATE TABLE table_name_40 (city VARCHAR, iata VARCHAR)[/INST]SELECT city FROM table_name_40 WHERE iata = "ssg"</s> |
CREATE TABLE table_15187735_11 (segment_d VARCHAR, segment_a VARCHAR) | SELECT segment_d FROM table_15187735_11 WHERE segment_a = "Microphones" | In the episode where segment a is microphones, what is segment d? | <s>[INST]In the episode where segment a is microphones, what is segment d? Context: CREATE TABLE table_15187735_11 (segment_d VARCHAR, segment_a VARCHAR)[/INST]SELECT segment_d FROM table_15187735_11 WHERE segment_a = "Microphones"</s> |
CREATE TABLE table_name_47 (competition VARCHAR, year VARCHAR, notes VARCHAR) | SELECT competition FROM table_name_47 WHERE year < 2007 AND notes = "7434" | What competition was held earlier than 2007 and has 7434 in the notes field? | <s>[INST]What competition was held earlier than 2007 and has 7434 in the notes field? Context: CREATE TABLE table_name_47 (competition VARCHAR, year VARCHAR, notes VARCHAR)[/INST]SELECT competition FROM table_name_47 WHERE year < 2007 AND notes = "7434"</s> |
CREATE TABLE table_name_42 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_42 WHERE venue = "junction oval" | What's the total number of people to attend games at junction oval? | <s>[INST]What's the total number of people to attend games at junction oval? Context: CREATE TABLE table_name_42 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_42 WHERE venue = "junction oval"</s> |
CREATE TABLE stadium (average VARCHAR, capacity INTEGER) | SELECT MAX(capacity), average FROM stadium | What is the maximum capacity and the average of all stadiums ? | <s>[INST]What is the maximum capacity and the average of all stadiums ? Context: CREATE TABLE stadium (average VARCHAR, capacity INTEGER)[/INST]SELECT MAX(capacity), average FROM stadium</s> |
CREATE TABLE table_14003108_1 (lowest INTEGER, average VARCHAR) | SELECT MAX(lowest) FROM table_14003108_1 WHERE average = 734 | what is the maximum lowest with average being 734 | <s>[INST]what is the maximum lowest with average being 734 Context: CREATE TABLE table_14003108_1 (lowest INTEGER, average VARCHAR)[/INST]SELECT MAX(lowest) FROM table_14003108_1 WHERE average = 734</s> |
CREATE TABLE table_1147705_1 (engine_type VARCHAR, model VARCHAR) | SELECT COUNT(engine_type) FROM table_1147705_1 WHERE model = "2.4 AWD" | How many have are model 2.4 awd? | <s>[INST]How many have are model 2.4 awd? Context: CREATE TABLE table_1147705_1 (engine_type VARCHAR, model VARCHAR)[/INST]SELECT COUNT(engine_type) FROM table_1147705_1 WHERE model = "2.4 AWD"</s> |
CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_85 WHERE date = "february 5" | What is Score, when Date is February 5? | <s>[INST]What is Score, when Date is February 5? Context: CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_85 WHERE date = "february 5"</s> |
CREATE TABLE table_name_79 (episode_number INTEGER, air_date VARCHAR) | SELECT MIN(episode_number) FROM table_name_79 WHERE air_date = "20 july 2007" | What is the lowest of Episode Number that has a Air Date on 20 july 2007? | <s>[INST]What is the lowest of Episode Number that has a Air Date on 20 july 2007? Context: CREATE TABLE table_name_79 (episode_number INTEGER, air_date VARCHAR)[/INST]SELECT MIN(episode_number) FROM table_name_79 WHERE air_date = "20 july 2007"</s> |
CREATE TABLE table_name_21 (name VARCHAR, birth VARCHAR) | SELECT name FROM table_name_21 WHERE birth = "16 august 1401" | Who has a birth of 16 august 1401? | <s>[INST]Who has a birth of 16 august 1401? Context: CREATE TABLE table_name_21 (name VARCHAR, birth VARCHAR)[/INST]SELECT name FROM table_name_21 WHERE birth = "16 august 1401"</s> |
CREATE TABLE table_22834834_12 (year INTEGER) | SELECT MAX(year) FROM table_22834834_12 | What is the latest year that data is available for? | <s>[INST]What is the latest year that data is available for? Context: CREATE TABLE table_22834834_12 (year INTEGER)[/INST]SELECT MAX(year) FROM table_22834834_12</s> |
CREATE TABLE table_name_80 (year INTEGER, attendance INTEGER) | SELECT AVG(year) FROM table_name_80 WHERE attendance < 28 OFFSET 505 | How many years have less than 28,505 attendance? | <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> |
CREATE TABLE CARS_DATA (Id VARCHAR, horsepower VARCHAR); CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR) | SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower LIMIT 1 | Which model of the car has the minimum horsepower? | <s>[INST]Which model of the car has the minimum horsepower? Context: CREATE TABLE CARS_DATA (Id VARCHAR, horsepower VARCHAR); CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR)[/INST]SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower LIMIT 1</s> |
CREATE TABLE table_name_2 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_2 WHERE date = "26 march 1996" | Name the catalog for 26 march 1996 | <s>[INST]Name the catalog for 26 march 1996 Context: CREATE TABLE table_name_2 (catalog VARCHAR, date VARCHAR)[/INST]SELECT catalog FROM table_name_2 WHERE date = "26 march 1996"</s> |
CREATE TABLE department (head VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, EmployeeID VARCHAR) | SELECT T2.name, T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head = T2.EmployeeID GROUP BY departmentID ORDER BY COUNT(departmentID) LIMIT 1 | what is the name and position of the head whose department has least number of employees? | <s>[INST]what is the name and position of the head whose department has least number of employees? Context: CREATE TABLE department (head VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, EmployeeID VARCHAR)[/INST]SELECT T2.name, T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head = T2.EmployeeID GROUP BY departmentID ORDER BY COUNT(departmentID) LIMIT 1</s> |
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR) | SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+15%" | What are the International tourist arrivals (2010) where change from 2010 to 2011 is +15% | <s>[INST]What are the International tourist arrivals (2010) where change from 2010 to 2011 is +15% Context: CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR)[/INST]SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+15%"</s> |
CREATE TABLE table_2167226_3 (to_par VARCHAR, winning_score VARCHAR) | SELECT to_par FROM table_2167226_3 WHERE winning_score = 74 - 67 - 71 - 73 = 285 | What is the to par with the winning score of 74-67-71-73=285? | <s>[INST]What is the to par with the winning score of 74-67-71-73=285? Context: CREATE TABLE table_2167226_3 (to_par VARCHAR, winning_score VARCHAR)[/INST]SELECT to_par FROM table_2167226_3 WHERE winning_score = 74 - 67 - 71 - 73 = 285</s> |
CREATE TABLE table_name_52 (race VARCHAR, length VARCHAR) | SELECT race FROM table_name_52 WHERE length = "12 hours" | What race is 12 hours in length? | <s>[INST]What race is 12 hours in length? Context: CREATE TABLE table_name_52 (race VARCHAR, length VARCHAR)[/INST]SELECT race FROM table_name_52 WHERE length = "12 hours"</s> |
CREATE TABLE table_name_24 (march VARCHAR, points VARCHAR) | SELECT COUNT(march) FROM table_name_24 WHERE points = 85 | How much March has Points of 85? | <s>[INST]How much March has Points of 85? Context: CREATE TABLE table_name_24 (march VARCHAR, points VARCHAR)[/INST]SELECT COUNT(march) FROM table_name_24 WHERE points = 85</s> |
CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) | SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) DESC LIMIT 1 | Find the movies with the highest average rating. Return the movie titles and average rating. | <s>[INST]Find the movies with the highest average rating. Return the movie titles and average rating. Context: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)[/INST]SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) DESC LIMIT 1</s> |
CREATE TABLE table_name_41 (catalog_nr VARCHAR, title VARCHAR, format VARCHAR, label VARCHAR) | SELECT catalog_nr FROM table_name_41 WHERE format = "stereo lp" AND label = "epic" AND title = "for little ones" | What is the Catalog-Nr of the Epic Label Stereo LP named For Little Ones? | <s>[INST]What is the Catalog-Nr of the Epic Label Stereo LP named For Little Ones? Context: CREATE TABLE table_name_41 (catalog_nr VARCHAR, title VARCHAR, format VARCHAR, label VARCHAR)[/INST]SELECT catalog_nr FROM table_name_41 WHERE format = "stereo lp" AND label = "epic" AND title = "for little ones"</s> |
CREATE TABLE table_name_41 (result VARCHAR, stadium VARCHAR) | SELECT result FROM table_name_41 WHERE stadium = "odsal stadium" | What is the result of the game at Odsal Stadium? | <s>[INST]What is the result of the game at Odsal Stadium? Context: CREATE TABLE table_name_41 (result VARCHAR, stadium VARCHAR)[/INST]SELECT result FROM table_name_41 WHERE stadium = "odsal stadium"</s> |
CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR) | SELECT _percentage FROM table_1108394_47 WHERE the_bronx = "133" | The candidate who received 133 votes in the Bronx won what percentage overall? | <s>[INST]The candidate who received 133 votes in the Bronx won what percentage overall? Context: CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR)[/INST]SELECT _percentage FROM table_1108394_47 WHERE the_bronx = "133"</s> |
CREATE TABLE table_22754310_1 (margin INTEGER, party VARCHAR, winner VARCHAR) | SELECT MAX(margin) FROM table_22754310_1 WHERE party = "NCO" AND winner = "P. Ramachandran" | Name the most margin for nco party and p. ramachandran won | <s>[INST]Name the most margin for nco party and p. ramachandran won Context: CREATE TABLE table_22754310_1 (margin INTEGER, party VARCHAR, winner VARCHAR)[/INST]SELECT MAX(margin) FROM table_22754310_1 WHERE party = "NCO" AND winner = "P. Ramachandran"</s> |
CREATE TABLE table_1012730_1 (poles INTEGER, avg_finish VARCHAR) | SELECT MAX(poles) FROM table_1012730_1 WHERE avg_finish = "19.1" | How many poles had an average finish of 19.1? | <s>[INST]How many poles had an average finish of 19.1? Context: CREATE TABLE table_1012730_1 (poles INTEGER, avg_finish VARCHAR)[/INST]SELECT MAX(poles) FROM table_1012730_1 WHERE avg_finish = "19.1"</s> |
CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, category VARCHAR) | SELECT participants_recipients FROM table_29644931_1 WHERE category = "Best Newcomer" | Which films participated when the category was Best Newcomer? | <s>[INST]Which films participated when the category was Best Newcomer? Context: CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, category VARCHAR)[/INST]SELECT participants_recipients FROM table_29644931_1 WHERE category = "Best Newcomer"</s> |
CREATE TABLE table_26429658_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT COUNT(written_by) FROM table_26429658_1 WHERE directed_by = "Arlene Sanford" | How many episodes were directed by Arlene Sanford? | <s>[INST]How many episodes were directed by Arlene Sanford? Context: CREATE TABLE table_26429658_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_26429658_1 WHERE directed_by = "Arlene Sanford"</s> |
CREATE TABLE table_name_71 (year INTEGER, venue VARCHAR, event VARCHAR) | SELECT MIN(year) FROM table_name_71 WHERE venue = "santiago, chile" AND event = "400 m hurdles" | What was the earliest year for the 400 M Hurdles in Santiago, Chile? | <s>[INST]What was the earliest year for the 400 M Hurdles in Santiago, Chile? Context: CREATE TABLE table_name_71 (year INTEGER, venue VARCHAR, event VARCHAR)[/INST]SELECT MIN(year) FROM table_name_71 WHERE venue = "santiago, chile" AND event = "400 m hurdles"</s> |
CREATE TABLE table_name_98 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_98 WHERE catalog = "7243 8 49494 2 6" | Which Label has a Catalog of 7243 8 49494 2 6? | <s>[INST]Which Label has a Catalog of 7243 8 49494 2 6? Context: CREATE TABLE table_name_98 (label VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_98 WHERE catalog = "7243 8 49494 2 6"</s> |
CREATE TABLE table_name_85 (city VARCHAR, score VARCHAR, venue VARCHAR) | SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth" | Which City has a Score smaller than 30, and a Venue of aigburth? | <s>[INST]Which City has a Score smaller than 30, and a Venue of aigburth? Context: CREATE TABLE table_name_85 (city VARCHAR, score VARCHAR, venue VARCHAR)[/INST]SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth"</s> |
CREATE TABLE table_name_68 (lead_tpt VARCHAR, bass VARCHAR, alto_1 VARCHAR) | SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett" | Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett | <s>[INST]Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett Context: CREATE TABLE table_name_68 (lead_tpt VARCHAR, bass VARCHAR, alto_1 VARCHAR)[/INST]SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett"</s> |
CREATE TABLE table_name_22 (finalists VARCHAR, club VARCHAR) | SELECT finalists FROM table_name_22 WHERE club = "győri" | Who Finalists has a Club of győri? | <s>[INST]Who Finalists has a Club of győri? Context: CREATE TABLE table_name_22 (finalists VARCHAR, club VARCHAR)[/INST]SELECT finalists FROM table_name_22 WHERE club = "győri"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.