context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_55 (round INTEGER, player VARCHAR) | SELECT MIN(round) FROM table_name_55 WHERE player = "will wilcox" | What is the lowest round number in which Will Wilcox was selected? | <s>[INST]What is the lowest round number in which Will Wilcox was selected? Context: CREATE TABLE table_name_55 (round INTEGER, player VARCHAR)[/INST]SELECT MIN(round) FROM table_name_55 WHERE player = "will wilcox"</s> |
CREATE TABLE table_name_83 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_83 WHERE away_team = "collingwood" | What is the scoreof the away team Collingwood? | <s>[INST]What is the scoreof the away team Collingwood? Context: CREATE TABLE table_name_83 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_83 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_name_96 (marine_organism_α VARCHAR, disease_area VARCHAR, clinical_trials_β VARCHAR) | SELECT marine_organism_α FROM table_name_96 WHERE disease_area = "cancer" AND clinical_trials_β = "4/4" | What is the organism that has a disease area of cancer and has 4/4 clinical trial b? | <s>[INST]What is the organism that has a disease area of cancer and has 4/4 clinical trial b? Context: CREATE TABLE table_name_96 (marine_organism_α VARCHAR, disease_area VARCHAR, clinical_trials_β VARCHAR)[/INST]SELECT marine_organism_α FROM table_name_96 WHERE disease_area = "cancer" AND clinical_trials_β = "4/4"</s> |
CREATE TABLE table_name_29 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_29 WHERE attendance = "3,416" | What is Score, when Attendance is 3,416? | <s>[INST]What is Score, when Attendance is 3,416? Context: CREATE TABLE table_name_29 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_29 WHERE attendance = "3,416"</s> |
CREATE TABLE table_10935548_1 (production_code VARCHAR, written_by VARCHAR, original_air_date VARCHAR) | SELECT production_code FROM table_10935548_1 WHERE written_by = "José Molina" AND original_air_date = "October 12, 2004" | What is the production code of the episode written by José Molina that aired on October 12, 2004? | <s>[INST]What is the production code of the episode written by José Molina that aired on October 12, 2004? Context: CREATE TABLE table_10935548_1 (production_code VARCHAR, written_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT production_code FROM table_10935548_1 WHERE written_by = "José Molina" AND original_air_date = "October 12, 2004"</s> |
CREATE TABLE table_27599216_6 (institution VARCHAR, football_stadium VARCHAR) | SELECT COUNT(institution) FROM table_27599216_6 WHERE football_stadium = "Mosaic Stadium" | How many institutions are shown for the football stadium of mosaic stadium? | <s>[INST]How many institutions are shown for the football stadium of mosaic stadium? Context: CREATE TABLE table_27599216_6 (institution VARCHAR, football_stadium VARCHAR)[/INST]SELECT COUNT(institution) FROM table_27599216_6 WHERE football_stadium = "Mosaic Stadium"</s> |
CREATE TABLE table_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR) | SELECT country FROM table_24486462_1 WHERE compulsory_deduction = "29.3%" | What country has a compulsory deduction of 29.3%? | <s>[INST]What country has a compulsory deduction of 29.3%? Context: CREATE TABLE table_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR)[/INST]SELECT country FROM table_24486462_1 WHERE compulsory_deduction = "29.3%"</s> |
CREATE TABLE CUSTOMERS (Id VARCHAR) | SELECT COUNT(*) FROM CUSTOMERS | How many customers do we have? | <s>[INST]How many customers do we have? Context: CREATE TABLE CUSTOMERS (Id VARCHAR)[/INST]SELECT COUNT(*) FROM CUSTOMERS</s> |
CREATE TABLE table_name_85 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_85 WHERE winning_score = 66 - 68 - 70 - 70 = 274 | Which tournament won with a score of 66-68-70-70=274? | <s>[INST]Which tournament won with a score of 66-68-70-70=274? Context: CREATE TABLE table_name_85 (tournament VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_name_85 WHERE winning_score = 66 - 68 - 70 - 70 = 274</s> |
CREATE TABLE table_1161065_28 (up_down VARCHAR, hosted VARCHAR) | SELECT up_down FROM table_1161065_28 WHERE hosted = 7 | What is the up/down at the venue that hosted 7 games? | <s>[INST]What is the up/down at the venue that hosted 7 games? Context: CREATE TABLE table_1161065_28 (up_down VARCHAR, hosted VARCHAR)[/INST]SELECT up_down FROM table_1161065_28 WHERE hosted = 7</s> |
CREATE TABLE table_22893781_6 (score VARCHAR, location_attendance VARCHAR) | SELECT score FROM table_22893781_6 WHERE location_attendance = "Madison Square Garden 18,828" | Name the score for madison square garden 18,828 | <s>[INST]Name the score for madison square garden 18,828 Context: CREATE TABLE table_22893781_6 (score VARCHAR, location_attendance VARCHAR)[/INST]SELECT score FROM table_22893781_6 WHERE location_attendance = "Madison Square Garden 18,828"</s> |
CREATE TABLE table_name_74 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_74 WHERE date = "november 27, 1994" | What was the score of the Chiefs November 27, 1994 game? | <s>[INST]What was the score of the Chiefs November 27, 1994 game? Context: CREATE TABLE table_name_74 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_74 WHERE date = "november 27, 1994"</s> |
CREATE TABLE table_name_74 (podiums VARCHAR, series VARCHAR) | SELECT podiums FROM table_name_74 WHERE series = "world rally championship" | What Podiums listing has a World Rally Championship series entry? | <s>[INST]What Podiums listing has a World Rally Championship series entry? Context: CREATE TABLE table_name_74 (podiums VARCHAR, series VARCHAR)[/INST]SELECT podiums FROM table_name_74 WHERE series = "world rally championship"</s> |
CREATE TABLE table_name_73 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR) | SELECT prohibition_ticket FROM table_name_73 WHERE greenback_ticket = "thomas armstrong" | Who was on the Prohibition ticket when Thomas Armstrong ran on the Greenback ticket? | <s>[INST]Who was on the Prohibition ticket when Thomas Armstrong ran on the Greenback ticket? Context: CREATE TABLE table_name_73 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR)[/INST]SELECT prohibition_ticket FROM table_name_73 WHERE greenback_ticket = "thomas armstrong"</s> |
CREATE TABLE table_25401874_1 (number VARCHAR, assists VARCHAR) | SELECT COUNT(number) FROM table_25401874_1 WHERE assists = 10 | How many numbers belong to the player with 10 assists? | <s>[INST]How many numbers belong to the player with 10 assists? Context: CREATE TABLE table_25401874_1 (number VARCHAR, assists VARCHAR)[/INST]SELECT COUNT(number) FROM table_25401874_1 WHERE assists = 10</s> |
CREATE TABLE table_name_48 (total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR) | SELECT MAX(total_votes) FROM table_name_48 WHERE _percentage_of_popular_vote = "0.86%" AND _number_of_seats_won > 0 | Can you tell me the highest Total votes that has the % of popular vote of 0.86%, and the # of seats won larger than 0? | <s>[INST]Can you tell me the highest Total votes that has the % of popular vote of 0.86%, and the # of seats won larger than 0? Context: CREATE TABLE table_name_48 (total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)[/INST]SELECT MAX(total_votes) FROM table_name_48 WHERE _percentage_of_popular_vote = "0.86%" AND _number_of_seats_won > 0</s> |
CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR) | SELECT others_percentage FROM table_1304443_2 WHERE bush_percentage = "51.6%" | What's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes? | <s>[INST]What's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes? Context: CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR)[/INST]SELECT others_percentage FROM table_1304443_2 WHERE bush_percentage = "51.6%"</s> |
CREATE TABLE Certificate (eid VARCHAR) | SELECT COUNT(DISTINCT eid) FROM Certificate | How many employees have certificate. | <s>[INST]How many employees have certificate. Context: CREATE TABLE Certificate (eid VARCHAR)[/INST]SELECT COUNT(DISTINCT eid) FROM Certificate</s> |
CREATE TABLE table_name_95 (standard_cost__usd_ VARCHAR, creator VARCHAR) | SELECT standard_cost__usd_ FROM table_name_95 WHERE creator = "kwin team" | What is the Standard cost (USD) of Kwin team creator? | <s>[INST]What is the Standard cost (USD) of Kwin team creator? Context: CREATE TABLE table_name_95 (standard_cost__usd_ VARCHAR, creator VARCHAR)[/INST]SELECT standard_cost__usd_ FROM table_name_95 WHERE creator = "kwin team"</s> |
CREATE TABLE table_name_85 (week_6 VARCHAR, week_3 VARCHAR, week_7 VARCHAR) | SELECT week_6 FROM table_name_85 WHERE week_3 = "25" AND week_7 = "eliminated" | Name the week 6 when week 3 is 25 and week 7 is eliminated | <s>[INST]Name the week 6 when week 3 is 25 and week 7 is eliminated Context: CREATE TABLE table_name_85 (week_6 VARCHAR, week_3 VARCHAR, week_7 VARCHAR)[/INST]SELECT week_6 FROM table_name_85 WHERE week_3 = "25" AND week_7 = "eliminated"</s> |
CREATE TABLE table_name_77 (home VARCHAR, record VARCHAR) | SELECT home FROM table_name_77 WHERE record = "7–5–2" | Where was home with a record of 7–5–2? | <s>[INST]Where was home with a record of 7–5–2? Context: CREATE TABLE table_name_77 (home VARCHAR, record VARCHAR)[/INST]SELECT home FROM table_name_77 WHERE record = "7–5–2"</s> |
CREATE TABLE table_name_72 (capacity__mw_ INTEGER, state_province VARCHAR) | SELECT SUM(capacity__mw_) FROM table_name_72 WHERE state_province = "gansu" | What is the total capacity (MW) of the windfarm located in the state/province of Gansu? | <s>[INST]What is the total capacity (MW) of the windfarm located in the state/province of Gansu? Context: CREATE TABLE table_name_72 (capacity__mw_ INTEGER, state_province VARCHAR)[/INST]SELECT SUM(capacity__mw_) FROM table_name_72 WHERE state_province = "gansu"</s> |
CREATE TABLE table_11964154_9 (game INTEGER, high_points VARCHAR) | SELECT MAX(game) FROM table_11964154_9 WHERE high_points = "Mickaël Gelabale (21)" | what is the maximum game where high points is mickaël gelabale (21) | <s>[INST]what is the maximum game where high points is mickaël gelabale (21) Context: CREATE TABLE table_11964154_9 (game INTEGER, high_points VARCHAR)[/INST]SELECT MAX(game) FROM table_11964154_9 WHERE high_points = "Mickaël Gelabale (21)"</s> |
CREATE TABLE table_name_48 (last_10_meetings VARCHAR, at_norman VARCHAR) | SELECT last_10_meetings FROM table_name_48 WHERE at_norman = "ou, 18-6" | What is the Last 10 Meetings when Norman is ou, 18-6? | <s>[INST]What is the Last 10 Meetings when Norman is ou, 18-6? Context: CREATE TABLE table_name_48 (last_10_meetings VARCHAR, at_norman VARCHAR)[/INST]SELECT last_10_meetings FROM table_name_48 WHERE at_norman = "ou, 18-6"</s> |
CREATE TABLE table_23215145_2 (team VARCHAR) | SELECT 2005 AS _06_points FROM table_23215145_2 WHERE team = "Worcester" | If the team is Worcester, what is the 2005-2006 points? | <s>[INST]If the team is Worcester, what is the 2005-2006 points? Context: CREATE TABLE table_23215145_2 (team VARCHAR)[/INST]SELECT 2005 AS _06_points FROM table_23215145_2 WHERE team = "Worcester"</s> |
CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR) | SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 38 | What is the draw number of the song with a place lower than 6 and more than 38 votes? | <s>[INST]What is the draw number of the song with a place lower than 6 and more than 38 votes? Context: CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR)[/INST]SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 38</s> |
CREATE TABLE table_2190919_3 (team_s_ VARCHAR, avg_start VARCHAR) | SELECT team_s_ FROM table_2190919_3 WHERE avg_start = "11.8" | If the average start is 11.8, what was the team name? | <s>[INST]If the average start is 11.8, what was the team name? Context: CREATE TABLE table_2190919_3 (team_s_ VARCHAR, avg_start VARCHAR)[/INST]SELECT team_s_ FROM table_2190919_3 WHERE avg_start = "11.8"</s> |
CREATE TABLE table_name_96 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_96 WHERE result = "w 23–17" | WHEN has a Result of w 23–17? | <s>[INST]WHEN has a Result of w 23–17? Context: CREATE TABLE table_name_96 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_96 WHERE result = "w 23–17"</s> |
CREATE TABLE table_name_7 (score VARCHAR, visitor VARCHAR, points VARCHAR) | SELECT score FROM table_name_7 WHERE visitor = "pittsburgh" AND points > 18 | What is Score, when Visitor is "Pittsburgh", and when Points is greater than 18? | <s>[INST]What is Score, when Visitor is "Pittsburgh", and when Points is greater than 18? Context: CREATE TABLE table_name_7 (score VARCHAR, visitor VARCHAR, points VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE visitor = "pittsburgh" AND points > 18</s> |
CREATE TABLE table_name_53 (grid VARCHAR, time_retired VARCHAR) | SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.346" | What is the total grid of the team with a time/retired of +7.346? | <s>[INST]What is the total grid of the team with a time/retired of +7.346? Context: CREATE TABLE table_name_53 (grid VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.346"</s> |
CREATE TABLE table_name_5 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR) | SELECT time_retired FROM table_name_5 WHERE laps < 24 AND manufacturer = "aprilia" AND grid < 12 AND rider = "ángel rodríguez" | Which Time/Retired has Laps smaller than 24, and a Manufacturer of aprilia, and a Grid smaller than 12, and a Rider of ángel rodríguez? | <s>[INST]Which Time/Retired has Laps smaller than 24, and a Manufacturer of aprilia, and a Grid smaller than 12, and a Rider of ángel rodríguez? Context: CREATE TABLE table_name_5 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)[/INST]SELECT time_retired FROM table_name_5 WHERE laps < 24 AND manufacturer = "aprilia" AND grid < 12 AND rider = "ángel rodríguez"</s> |
CREATE TABLE table_name_26 (city_of_license VARCHAR, frequency_mhz VARCHAR) | SELECT city_of_license FROM table_name_26 WHERE frequency_mhz = "90.3 fm" | Tell me the city of license with frequency of Mhz of 90.3 fm | <s>[INST]Tell me the city of license with frequency of Mhz of 90.3 fm Context: CREATE TABLE table_name_26 (city_of_license VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT city_of_license FROM table_name_26 WHERE frequency_mhz = "90.3 fm"</s> |
CREATE TABLE table_name_78 (psoe VARCHAR, polling_firm VARCHAR) | SELECT psoe FROM table_name_78 WHERE polling_firm = "local elections" | What is the PSOE for the Local Elections polling firm? | <s>[INST]What is the PSOE for the Local Elections polling firm? Context: CREATE TABLE table_name_78 (psoe VARCHAR, polling_firm VARCHAR)[/INST]SELECT psoe FROM table_name_78 WHERE polling_firm = "local elections"</s> |
CREATE TABLE table_1909647_2 (starts INTEGER, avg_finish VARCHAR) | SELECT MIN(starts) FROM table_1909647_2 WHERE avg_finish = "19.3" | What's the number of starts in the year with 19.3 average finish? | <s>[INST]What's the number of starts in the year with 19.3 average finish? Context: CREATE TABLE table_1909647_2 (starts INTEGER, avg_finish VARCHAR)[/INST]SELECT MIN(starts) FROM table_1909647_2 WHERE avg_finish = "19.3"</s> |
CREATE TABLE table_name_81 (result VARCHAR, category VARCHAR) | SELECT result FROM table_name_81 WHERE category = "best actor in a musical" | What was the result of the Best Actor in a Musical category? | <s>[INST]What was the result of the Best Actor in a Musical category? Context: CREATE TABLE table_name_81 (result VARCHAR, category VARCHAR)[/INST]SELECT result FROM table_name_81 WHERE category = "best actor in a musical"</s> |
CREATE TABLE table_name_17 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_17 WHERE date = "april 22" | What was the score on April 22? | <s>[INST]What was the score on April 22? Context: CREATE TABLE table_name_17 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE date = "april 22"</s> |
CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, character VARCHAR) | SELECT indianapolis_concerts FROM table_17085724_1 WHERE character = "Dr. Alexandre Manette" | Name the indanapolis concerts for dr. alexandre manette | <s>[INST]Name the indanapolis concerts for dr. alexandre manette Context: CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, character VARCHAR)[/INST]SELECT indianapolis_concerts FROM table_17085724_1 WHERE character = "Dr. Alexandre Manette"</s> |
CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_20 WHERE player = "joe deane" | What team does Joe Deane play for? | <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> |
CREATE TABLE table_name_1 (total INTEGER, country VARCHAR, year_s__won VARCHAR) | SELECT MIN(total) FROM table_name_1 WHERE country = "united states" AND year_s__won = "2000 , 2005 , 2006" | What is United States total in the year(s) won of 2000 , 2005 , 2006? | <s>[INST]What is United States total in the year(s) won of 2000 , 2005 , 2006? Context: CREATE TABLE table_name_1 (total INTEGER, country VARCHAR, year_s__won VARCHAR)[/INST]SELECT MIN(total) FROM table_name_1 WHERE country = "united states" AND year_s__won = "2000 , 2005 , 2006"</s> |
CREATE TABLE table_21576644_2 (mens_2nd_xi VARCHAR, mens_1st_xi VARCHAR) | SELECT mens_2nd_xi FROM table_21576644_2 WHERE mens_1st_xi = "6th, South Division 2" | When 6th, south division 2 is the mens 1st xi what is the mens 2nd xi? | <s>[INST]When 6th, south division 2 is the mens 1st xi what is the mens 2nd xi? Context: CREATE TABLE table_21576644_2 (mens_2nd_xi VARCHAR, mens_1st_xi VARCHAR)[/INST]SELECT mens_2nd_xi FROM table_21576644_2 WHERE mens_1st_xi = "6th, South Division 2"</s> |
CREATE TABLE table_name_30 (diameter__km_ VARCHAR, name VARCHAR) | SELECT diameter__km_ FROM table_name_30 WHERE name = "kaiwan fluctus" | What's the diameter of kaiwan fluctus? | <s>[INST]What's the diameter of kaiwan fluctus? Context: CREATE TABLE table_name_30 (diameter__km_ VARCHAR, name VARCHAR)[/INST]SELECT diameter__km_ FROM table_name_30 WHERE name = "kaiwan fluctus"</s> |
CREATE TABLE table_27501030_8 (march VARCHAR, opponent VARCHAR) | SELECT COUNT(march) FROM table_27501030_8 WHERE opponent = "Pittsburgh Penguins" | How many times did they play the pittsburgh penguins? | <s>[INST]How many times did they play the pittsburgh penguins? Context: CREATE TABLE table_27501030_8 (march VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(march) FROM table_27501030_8 WHERE opponent = "Pittsburgh Penguins"</s> |
CREATE TABLE table_name_48 (total INTEGER, UEfa_cup VARCHAR) | SELECT SUM(total) FROM table_name_48 WHERE UEfa_cup = 4 | What is the sum of totals associated with a UEFA Cup score of 4? | <s>[INST]What is the sum of totals associated with a UEFA Cup score of 4? Context: CREATE TABLE table_name_48 (total INTEGER, UEfa_cup VARCHAR)[/INST]SELECT SUM(total) FROM table_name_48 WHERE UEfa_cup = 4</s> |
CREATE TABLE table_name_72 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_72 WHERE home_team = "collingwood" | Who played Collingwood? | <s>[INST]Who played Collingwood? Context: CREATE TABLE table_name_72 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_72 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_22265261_1 (age VARCHAR, sp VARCHAR) | SELECT COUNT(age) FROM table_22265261_1 WHERE sp = "200/1" | How old was the horse when the SP was 200/1? | <s>[INST]How old was the horse when the SP was 200/1? Context: CREATE TABLE table_22265261_1 (age VARCHAR, sp VARCHAR)[/INST]SELECT COUNT(age) FROM table_22265261_1 WHERE sp = "200/1"</s> |
CREATE TABLE table_20722805_1 (mccain_number INTEGER, obama_percentage VARCHAR) | SELECT MIN(mccain_number) FROM table_20722805_1 WHERE obama_percentage = "48.35%" | What was McCain's vote when Obama had 48.35% | <s>[INST]What was McCain's vote when Obama had 48.35% Context: CREATE TABLE table_20722805_1 (mccain_number INTEGER, obama_percentage VARCHAR)[/INST]SELECT MIN(mccain_number) FROM table_20722805_1 WHERE obama_percentage = "48.35%"</s> |
CREATE TABLE table_name_96 (joined INTEGER, institution VARCHAR, enrollment VARCHAR) | SELECT MAX(joined) FROM table_name_96 WHERE institution = "abraham baldwin agricultural college" AND enrollment < 3 OFFSET 284 | Which Joined has an Institution of abraham baldwin agricultural college, and an Enrollment smaller than 3,284? | <s>[INST]Which Joined has an Institution of abraham baldwin agricultural college, and an Enrollment smaller than 3,284? Context: CREATE TABLE table_name_96 (joined INTEGER, institution VARCHAR, enrollment VARCHAR)[/INST]SELECT MAX(joined) FROM table_name_96 WHERE institution = "abraham baldwin agricultural college" AND enrollment < 3 OFFSET 284</s> |
CREATE TABLE table_name_46 (nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_46 WHERE total > 4 AND bronze < 4 | Name the nation when bronze is less than 4 and the total is more than 4 | <s>[INST]Name the nation when bronze is less than 4 and the total is more than 4 Context: CREATE TABLE table_name_46 (nation VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT nation FROM table_name_46 WHERE total > 4 AND bronze < 4</s> |
CREATE TABLE table_name_87 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR) | SELECT MIN(pick) FROM table_name_87 WHERE overall > 328 AND name = "pat shires" AND round > 29 | What is the minimum pick that drafted Pat Shires, with a round greater than 29 and an overall greater than 328? | <s>[INST]What is the minimum pick that drafted Pat Shires, with a round greater than 29 and an overall greater than 328? Context: CREATE TABLE table_name_87 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_87 WHERE overall > 328 AND name = "pat shires" AND round > 29</s> |
CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR) | SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.dept_name = 'Accounting' INTERSECT SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.dept_name = 'Computer Info. Systems' | Find the first name of student who is taking classes from accounting and Computer Info. Systems departments | <s>[INST]Find the first name of student who is taking classes from accounting and Computer Info. Systems departments Context: CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR)[/INST]SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.dept_name = 'Accounting' INTERSECT SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.dept_name = 'Computer Info. Systems'</s> |
CREATE TABLE table_15187735_9 (segment_c VARCHAR, segment_d VARCHAR) | SELECT COUNT(segment_c) FROM table_15187735_9 WHERE segment_d = "Pedal Steel Guitars" | How many times was leather introduced before pedal steel guitars in episode 111? | <s>[INST]How many times was leather introduced before pedal steel guitars in episode 111? Context: CREATE TABLE table_15187735_9 (segment_c VARCHAR, segment_d VARCHAR)[/INST]SELECT COUNT(segment_c) FROM table_15187735_9 WHERE segment_d = "Pedal Steel Guitars"</s> |
CREATE TABLE table_name_79 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_79 WHERE bronze = 3 AND total > 4 | What is the average number of silver medals of the nation with 3 bronzes and more than 4 total medals? | <s>[INST]What is the average number of silver medals of the nation with 3 bronzes and more than 4 total medals? Context: CREATE TABLE table_name_79 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_79 WHERE bronze = 3 AND total > 4</s> |
CREATE TABLE table_name_54 (roger_françois VARCHAR, world_record VARCHAR) | SELECT roger_françois FROM table_name_54 WHERE world_record = "total" | What is the total amount of world records for Roger Francois? | <s>[INST]What is the total amount of world records for Roger Francois? Context: CREATE TABLE table_name_54 (roger_françois VARCHAR, world_record VARCHAR)[/INST]SELECT roger_françois FROM table_name_54 WHERE world_record = "total"</s> |
CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE perpetrator (Killed INTEGER, People_ID VARCHAR) | SELECT SUM(T2.Killed) FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 1.84 | What is the total kills of the perpetrators with height more than 1.84. | <s>[INST]What is the total kills of the perpetrators with height more than 1.84. Context: CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE perpetrator (Killed INTEGER, People_ID VARCHAR)[/INST]SELECT SUM(T2.Killed) FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 1.84</s> |
CREATE TABLE table_1341930_33 (party VARCHAR, candidates VARCHAR) | SELECT COUNT(party) FROM table_1341930_33 WHERE candidates = "Alton Lennon (D) 89.0% C. Dana Malpass (R) 11.0%" | how many party with candidates being alton lennon (d) 89.0% c. dana malpass (r) 11.0% | <s>[INST] how many party with candidates being alton lennon (d) 89.0% c. dana malpass (r) 11.0% Context: CREATE TABLE table_1341930_33 (party VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341930_33 WHERE candidates = "Alton Lennon (D) 89.0% C. Dana Malpass (R) 11.0%"</s> |
CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_6 WHERE opponent = "carlos moyà" | What is the date of the tournament with carlos moyà as the opponent? | <s>[INST]What is the date of the tournament with carlos moyà as the opponent? Context: CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE opponent = "carlos moyà"</s> |
CREATE TABLE table_name_23 (song VARCHAR, film VARCHAR, year VARCHAR, music_director VARCHAR) | SELECT song FROM table_name_23 WHERE year < 2013 AND music_director = "yuvan shankar raja" AND film = "billa ii" | Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii | <s>[INST]Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii Context: CREATE TABLE table_name_23 (song VARCHAR, film VARCHAR, year VARCHAR, music_director VARCHAR)[/INST]SELECT song FROM table_name_23 WHERE year < 2013 AND music_director = "yuvan shankar raja" AND film = "billa ii"</s> |
CREATE TABLE table_22754491_1 (margin INTEGER, winner VARCHAR) | SELECT MAX(margin) FROM table_22754491_1 WHERE winner = "K. Balathandayutham" | What is the margin when k. balathandayutham is the winner? | <s>[INST]What is the margin when k. balathandayutham is the winner? Context: CREATE TABLE table_22754491_1 (margin INTEGER, winner VARCHAR)[/INST]SELECT MAX(margin) FROM table_22754491_1 WHERE winner = "K. Balathandayutham"</s> |
CREATE TABLE product (product VARCHAR, max_page_size VARCHAR, pages_per_minute_color VARCHAR) | SELECT product FROM product WHERE max_page_size = "A4" OR pages_per_minute_color < 5 | Find products with max page size as "A4" or pages per minute color smaller than 5. | <s>[INST]Find products with max page size as "A4" or pages per minute color smaller than 5. Context: CREATE TABLE product (product VARCHAR, max_page_size VARCHAR, pages_per_minute_color VARCHAR)[/INST]SELECT product FROM product WHERE max_page_size = "A4" OR pages_per_minute_color < 5</s> |
CREATE TABLE table_name_79 (transfer_window VARCHAR, country VARCHAR, transfer_fee VARCHAR) | SELECT transfer_window FROM table_name_79 WHERE country = "bra" AND transfer_fee = "£3.4m" | What transfer window has bra as the country, with £3.4m as the transfer fee? | <s>[INST]What transfer window has bra as the country, with £3.4m as the transfer fee? Context: CREATE TABLE table_name_79 (transfer_window VARCHAR, country VARCHAR, transfer_fee VARCHAR)[/INST]SELECT transfer_window FROM table_name_79 WHERE country = "bra" AND transfer_fee = "£3.4m"</s> |
CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR); CREATE TABLE station (station_id VARCHAR, location VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, train_id VARCHAR) | SELECT T3.name, T3.time FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T2.location = 'London' ORDER BY T3.time DESC | Show all train names and times in stations in London in descending order by train time. | <s>[INST]Show all train names and times in stations in London in descending order by train time. Context: CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR); CREATE TABLE station (station_id VARCHAR, location VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, train_id VARCHAR)[/INST]SELECT T3.name, T3.time FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T2.location = 'London' ORDER BY T3.time DESC</s> |
CREATE TABLE table_name_40 (games_played INTEGER, position VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR) | SELECT MIN(games_played) FROM table_name_40 WHERE goals_conceded > 25 AND goals_scored > 17 AND position = 7 | What is the lowest number of games played of the club with more than 25 goals conceded, more than 17 goals scored, and a position of 7? | <s>[INST]What is the lowest number of games played of the club with more than 25 goals conceded, more than 17 goals scored, and a position of 7? Context: CREATE TABLE table_name_40 (games_played INTEGER, position VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR)[/INST]SELECT MIN(games_played) FROM table_name_40 WHERE goals_conceded > 25 AND goals_scored > 17 AND position = 7</s> |
CREATE TABLE table_1341865_20 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1341865_20 WHERE district = "Louisiana 4" | How many candidates were elected in the Louisiana 4 district? | <s>[INST]How many candidates were elected in the Louisiana 4 district? Context: CREATE TABLE table_1341865_20 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1341865_20 WHERE district = "Louisiana 4"</s> |
CREATE TABLE Employee (name VARCHAR, salary VARCHAR) | SELECT name, salary FROM Employee ORDER BY salary | Show name and salary for all employees sorted by salary. | <s>[INST]Show name and salary for all employees sorted by salary. Context: CREATE TABLE Employee (name VARCHAR, salary VARCHAR)[/INST]SELECT name, salary FROM Employee ORDER BY salary</s> |
CREATE TABLE table_name_12 (class VARCHAR, erp_w VARCHAR) | SELECT class FROM table_name_12 WHERE erp_w = 500 | What is the class for the ERP W of 500? | <s>[INST]What is the class for the ERP W of 500? Context: CREATE TABLE table_name_12 (class VARCHAR, erp_w VARCHAR)[/INST]SELECT class FROM table_name_12 WHERE erp_w = 500</s> |
CREATE TABLE table_name_15 (attendance VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_15 WHERE opponent = "cincinnati bengals" | How many people attended the game against the cincinnati bengals? | <s>[INST]How many people attended the game against the cincinnati bengals? Context: CREATE TABLE table_name_15 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_15 WHERE opponent = "cincinnati bengals"</s> |
CREATE TABLE table_name_16 (nominee VARCHAR, award VARCHAR) | SELECT nominee FROM table_name_16 WHERE award = "tony award" | Who was the nominee having a Tony award? | <s>[INST]Who was the nominee having a Tony award? Context: CREATE TABLE table_name_16 (nominee VARCHAR, award VARCHAR)[/INST]SELECT nominee FROM table_name_16 WHERE award = "tony award"</s> |
CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_57 WHERE date = "march 3, 2008" | What was the score on March 3, 2008? | <s>[INST]What was the score on March 3, 2008? Context: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_57 WHERE date = "march 3, 2008"</s> |
CREATE TABLE table_name_71 (goals_for INTEGER, played VARCHAR, position VARCHAR, losses VARCHAR) | SELECT MAX(goals_for) FROM table_name_71 WHERE position > 8 AND losses = 12 AND played < 30 | What is the highest amount of goals in the position after 8, 12 losses, and played less than 30 games? | <s>[INST]What is the highest amount of goals in the position after 8, 12 losses, and played less than 30 games? Context: CREATE TABLE table_name_71 (goals_for INTEGER, played VARCHAR, position VARCHAR, losses VARCHAR)[/INST]SELECT MAX(goals_for) FROM table_name_71 WHERE position > 8 AND losses = 12 AND played < 30</s> |
CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_73 WHERE away_team = "geelong" | What day did Geelong play as the away team? | <s>[INST]What day did Geelong play as the away team? Context: CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_73 WHERE away_team = "geelong"</s> |
CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR) | SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = "2007-current" AND engine_family = "MaxxForce 5" | The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout? | <s>[INST]The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout? Context: CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR)[/INST]SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = "2007-current" AND engine_family = "MaxxForce 5"</s> |
CREATE TABLE table_name_49 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_49 WHERE place = "t2" AND country = "united states" | Which player from the United States is in a place of T2? | <s>[INST]Which player from the United States is in a place of T2? Context: CREATE TABLE table_name_49 (player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_49 WHERE place = "t2" AND country = "united states"</s> |
CREATE TABLE table_27730_9 (ijekavian VARCHAR, ikavian VARCHAR) | SELECT ijekavian FROM table_27730_9 WHERE ikavian = "grijati" | What's the ijekavian translation of the ikavian word grijati? | <s>[INST]What's the ijekavian translation of the ikavian word grijati? Context: CREATE TABLE table_27730_9 (ijekavian VARCHAR, ikavian VARCHAR)[/INST]SELECT ijekavian FROM table_27730_9 WHERE ikavian = "grijati"</s> |
CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_38 WHERE venue = "princes park" | What was the away team's score at Princes Park? | <s>[INST]What was the away team's score at Princes Park? Context: CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_38 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_55 (venue VARCHAR, position VARCHAR) | SELECT venue FROM table_name_55 WHERE position = "7th" | What venue did he finish 7th? | <s>[INST]What venue did he finish 7th? Context: CREATE TABLE table_name_55 (venue VARCHAR, position VARCHAR)[/INST]SELECT venue FROM table_name_55 WHERE position = "7th"</s> |
CREATE TABLE table_14118521_1 (duration VARCHAR, mission VARCHAR) | SELECT duration FROM table_14118521_1 WHERE mission = "STS-87" | what's the duration with mission being sts-87 | <s>[INST]what's the duration with mission being sts-87 Context: CREATE TABLE table_14118521_1 (duration VARCHAR, mission VARCHAR)[/INST]SELECT duration FROM table_14118521_1 WHERE mission = "STS-87"</s> |
CREATE TABLE table_1473672_7 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_1473672_7 WHERE player = "Serge Beaudoin" | Serge Beaudoin was drafted when in the 1972 NHL draft | <s>[INST]Serge Beaudoin was drafted when in the 1972 NHL draft Context: CREATE TABLE table_1473672_7 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_1473672_7 WHERE player = "Serge Beaudoin"</s> |
CREATE TABLE table_174491_1 (fis_nordic_world_ski_championships VARCHAR, country VARCHAR, holmenkollen VARCHAR) | SELECT fis_nordic_world_ski_championships FROM table_174491_1 WHERE country = "Norway" AND holmenkollen = "1958" | What year did the man from Norway who won the Holmenkollen in 1958 win the FIS Nordic World Ski Championships? | <s>[INST]What year did the man from Norway who won the Holmenkollen in 1958 win the FIS Nordic World Ski Championships? Context: CREATE TABLE table_174491_1 (fis_nordic_world_ski_championships VARCHAR, country VARCHAR, holmenkollen VARCHAR)[/INST]SELECT fis_nordic_world_ski_championships FROM table_174491_1 WHERE country = "Norway" AND holmenkollen = "1958"</s> |
CREATE TABLE table_name_74 (year INTEGER, nominee VARCHAR, result VARCHAR) | SELECT MIN(year) FROM table_name_74 WHERE nominee = "indonesian idol" AND result = "won" | What was the earliest year that Indonesian Idol won? | <s>[INST]What was the earliest year that Indonesian Idol won? Context: CREATE TABLE table_name_74 (year INTEGER, nominee VARCHAR, result VARCHAR)[/INST]SELECT MIN(year) FROM table_name_74 WHERE nominee = "indonesian idol" AND result = "won"</s> |
CREATE TABLE table_name_16 (no_result VARCHAR, wins VARCHAR, losses VARCHAR, played VARCHAR) | SELECT COUNT(no_result) FROM table_name_16 WHERE losses > 1 AND played = 38 AND wins < 19 | Name the total number of no result for losses more than 1 and played of 38 and wins less than 19 | <s>[INST]Name the total number of no result for losses more than 1 and played of 38 and wins less than 19 Context: CREATE TABLE table_name_16 (no_result VARCHAR, wins VARCHAR, losses VARCHAR, played VARCHAR)[/INST]SELECT COUNT(no_result) FROM table_name_16 WHERE losses > 1 AND played = 38 AND wins < 19</s> |
CREATE TABLE table_name_2 (d_46_√ VARCHAR, d_43_√ VARCHAR) | SELECT d_46_√ FROM table_name_2 WHERE d_43_√ = "r 3" | What is the D 46 √ with a D 43 √ with r 3? | <s>[INST]What is the D 46 √ with a D 43 √ with r 3? Context: CREATE TABLE table_name_2 (d_46_√ VARCHAR, d_43_√ VARCHAR)[/INST]SELECT d_46_√ FROM table_name_2 WHERE d_43_√ = "r 3"</s> |
CREATE TABLE table_name_22 (built VARCHAR, fuel__trans VARCHAR) | SELECT built FROM table_name_22 WHERE fuel__trans = "diesel-electric" | What is the manufacturer, found under the Built column, that made locomotives with a Fuel/Trans of diesel-electric? | <s>[INST]What is the manufacturer, found under the Built column, that made locomotives with a Fuel/Trans of diesel-electric? Context: CREATE TABLE table_name_22 (built VARCHAR, fuel__trans VARCHAR)[/INST]SELECT built FROM table_name_22 WHERE fuel__trans = "diesel-electric"</s> |
CREATE TABLE table_name_57 (batting_style VARCHAR, player VARCHAR) | SELECT batting_style FROM table_name_57 WHERE player = "heath streak" | Name the batting style for heath streak | <s>[INST]Name the batting style for heath streak Context: CREATE TABLE table_name_57 (batting_style VARCHAR, player VARCHAR)[/INST]SELECT batting_style FROM table_name_57 WHERE player = "heath streak"</s> |
CREATE TABLE table_name_95 (nominated_work VARCHAR, year INTEGER) | SELECT nominated_work FROM table_name_95 WHERE year < 2003 | What was the Nominated Work earlier than 2003? | <s>[INST]What was the Nominated Work earlier than 2003? Context: CREATE TABLE table_name_95 (nominated_work VARCHAR, year INTEGER)[/INST]SELECT nominated_work FROM table_name_95 WHERE year < 2003</s> |
CREATE TABLE table_name_95 (english_title VARCHAR, original_title VARCHAR) | SELECT english_title FROM table_name_95 WHERE original_title = "the crying game" | What's the English title listed that has an Original title of The Crying Game? | <s>[INST]What's the English title listed that has an Original title of The Crying Game? Context: CREATE TABLE table_name_95 (english_title VARCHAR, original_title VARCHAR)[/INST]SELECT english_title FROM table_name_95 WHERE original_title = "the crying game"</s> |
CREATE TABLE table_name_90 (division VARCHAR, appearances VARCHAR, conference VARCHAR, wins VARCHAR) | SELECT division FROM table_name_90 WHERE conference = "afc" AND wins = 10 AND appearances > 18 | Which division in the AFC Conference had a total of 10 wins and appeared more than 18 times? | <s>[INST]Which division in the AFC Conference had a total of 10 wins and appeared more than 18 times? Context: CREATE TABLE table_name_90 (division VARCHAR, appearances VARCHAR, conference VARCHAR, wins VARCHAR)[/INST]SELECT division FROM table_name_90 WHERE conference = "afc" AND wins = 10 AND appearances > 18</s> |
CREATE TABLE table_2562572_43 (type VARCHAR, population__2011_ VARCHAR) | SELECT type FROM table_2562572_43 WHERE population__2011_ = 1004 | What is the type for the population in 2011 of 1004? | <s>[INST]What is the type for the population in 2011 of 1004? Context: CREATE TABLE table_2562572_43 (type VARCHAR, population__2011_ VARCHAR)[/INST]SELECT type FROM table_2562572_43 WHERE population__2011_ = 1004</s> |
CREATE TABLE table_20799587_1 (mccain_number INTEGER, county VARCHAR) | SELECT MIN(mccain_number) FROM table_20799587_1 WHERE county = "Scott" | How many votes did McCain get in Scott? | <s>[INST]How many votes did McCain get in Scott? Context: CREATE TABLE table_20799587_1 (mccain_number INTEGER, county VARCHAR)[/INST]SELECT MIN(mccain_number) FROM table_20799587_1 WHERE county = "Scott"</s> |
CREATE TABLE table_1341672_10 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341672_10 WHERE district = "Florida 8" | who are the candidates where the district is florida 8? | <s>[INST]who are the candidates where the district is florida 8? Context: CREATE TABLE table_1341672_10 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1341672_10 WHERE district = "Florida 8"</s> |
CREATE TABLE table_name_49 (pos VARCHAR, driver VARCHAR, car__number VARCHAR) | SELECT COUNT(pos) FROM table_name_49 WHERE driver = "todd bodine" AND car__number > 30 | How many Pos have a Driver of todd bodine, and a Car # larger than 30? | <s>[INST]How many Pos have a Driver of todd bodine, and a Car # larger than 30? Context: CREATE TABLE table_name_49 (pos VARCHAR, driver VARCHAR, car__number VARCHAR)[/INST]SELECT COUNT(pos) FROM table_name_49 WHERE driver = "todd bodine" AND car__number > 30</s> |
CREATE TABLE table_name_23 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_23 WHERE date = "may 19, 1976" | Which City has a Date of may 19, 1976? | <s>[INST]Which City has a Date of may 19, 1976? Context: CREATE TABLE table_name_23 (city VARCHAR, date VARCHAR)[/INST]SELECT city FROM table_name_23 WHERE date = "may 19, 1976"</s> |
CREATE TABLE table_name_26 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR) | SELECT number_stayed_in_southeast FROM table_name_26 WHERE total_number_emigrated_or_forcibly_removed = "over 4,000" | Which Number stayed in Southeast has over 4,000 emigrated or forcibly removed? | <s>[INST]Which Number stayed in Southeast has over 4,000 emigrated or forcibly removed? Context: CREATE TABLE table_name_26 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR)[/INST]SELECT number_stayed_in_southeast FROM table_name_26 WHERE total_number_emigrated_or_forcibly_removed = "over 4,000"</s> |
CREATE TABLE table_10701133_1 (title VARCHAR, original_air_date VARCHAR) | SELECT title FROM table_10701133_1 WHERE original_air_date = "May15,2008" | What is the title when original air date is may15,2008? | <s>[INST]What is the title when original air date is may15,2008? Context: CREATE TABLE table_10701133_1 (title VARCHAR, original_air_date VARCHAR)[/INST]SELECT title FROM table_10701133_1 WHERE original_air_date = "May15,2008"</s> |
CREATE TABLE table_name_62 (round INTEGER, event VARCHAR) | SELECT SUM(round) FROM table_name_62 WHERE event = "bellator 72" | How many rounds did the match go for the Bellator 72 event? | <s>[INST]How many rounds did the match go for the Bellator 72 event? Context: CREATE TABLE table_name_62 (round INTEGER, event VARCHAR)[/INST]SELECT SUM(round) FROM table_name_62 WHERE event = "bellator 72"</s> |
CREATE TABLE table_18710512_3 (record_label VARCHAR, single VARCHAR) | SELECT record_label FROM table_18710512_3 WHERE single = "I Can't Stay" | What record label corresponds to the single "I can't stay"? | <s>[INST]What record label corresponds to the single "I can't stay"? Context: CREATE TABLE table_18710512_3 (record_label VARCHAR, single VARCHAR)[/INST]SELECT record_label FROM table_18710512_3 WHERE single = "I Can't Stay"</s> |
CREATE TABLE table_name_19 (win__percentage VARCHAR) | SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games" | What is the win percentage for the 2012 of olympic games? | <s>[INST]What is the win percentage for the 2012 of olympic games? Context: CREATE TABLE table_name_19 (win__percentage VARCHAR)[/INST]SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games"</s> |
CREATE TABLE table_name_21 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_21 WHERE opponent = "virginia tech" | How many people attended when Wake Forest played Virginia Tech? | <s>[INST]How many people attended when Wake Forest played Virginia Tech? Context: CREATE TABLE table_name_21 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_21 WHERE opponent = "virginia tech"</s> |
CREATE TABLE table_18813011_6 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_18813011_6 WHERE date = "July 26" | Who had the most assist and how many on July 26? | <s>[INST]Who had the most assist and how many on July 26? Context: CREATE TABLE table_18813011_6 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_18813011_6 WHERE date = "July 26"</s> |
CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR) | SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "6 children" AND allowed_recipients = "no data" | What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients? | <s>[INST]What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients? Context: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)[/INST]SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "6 children" AND allowed_recipients = "no data"</s> |
CREATE TABLE table_name_72 (s_barangay INTEGER, area___has__ INTEGER) | SELECT SUM(s_barangay) FROM table_name_72 WHERE area___has__ > 865.13 | What is the total of Barangay with an area larger than 865.13? | <s>[INST]What is the total of Barangay with an area larger than 865.13? Context: CREATE TABLE table_name_72 (s_barangay INTEGER, area___has__ INTEGER)[/INST]SELECT SUM(s_barangay) FROM table_name_72 WHERE area___has__ > 865.13</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.