context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_4 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_4 WHERE place = "t10" | Who was the player who placed t10? | <s>[INST]Who was the player who placed t10? Context: CREATE TABLE table_name_4 (player VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_4 WHERE place = "t10"</s> |
CREATE TABLE table_2140071_10 (coach VARCHAR, premier_date VARCHAR) | SELECT coach FROM table_2140071_10 WHERE premier_date = "May 20, 2010" | Name the coach for may 20, 2010 | <s>[INST]Name the coach for may 20, 2010 Context: CREATE TABLE table_2140071_10 (coach VARCHAR, premier_date VARCHAR)[/INST]SELECT coach FROM table_2140071_10 WHERE premier_date = "May 20, 2010"</s> |
CREATE TABLE table_name_3 (entrant VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_3 WHERE year = 1971 | Who was the entrant in 1971? | <s>[INST]Who was the entrant in 1971? Context: CREATE TABLE table_name_3 (entrant VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_3 WHERE year = 1971</s> |
CREATE TABLE documents (document_code VARCHAR, document_name VARCHAR); CREATE TABLE document_sections (section_title VARCHAR, document_code VARCHAR) | SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code WHERE t1.document_name = "David CV" | What are all the section titles of the document named "David CV"? | <s>[INST]What are all the section titles of the document named "David CV"? Context: CREATE TABLE documents (document_code VARCHAR, document_name VARCHAR); CREATE TABLE document_sections (section_title VARCHAR, document_code VARCHAR)[/INST]SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.d... |
CREATE TABLE table_name_56 (thickness VARCHAR, diameter VARCHAR) | SELECT thickness FROM table_name_56 WHERE diameter = "21.9mm" | Which Thickness has a Diameter of 21.9mm? | <s>[INST]Which Thickness has a Diameter of 21.9mm? Context: CREATE TABLE table_name_56 (thickness VARCHAR, diameter VARCHAR)[/INST]SELECT thickness FROM table_name_56 WHERE diameter = "21.9mm"</s> |
CREATE TABLE table_name_19 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_19 WHERE home_team = "st kilda" | Which Date has a Home team of st kilda? | <s>[INST]Which Date has a Home team of st kilda? Context: CREATE TABLE table_name_19 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_19 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR, points VARCHAR, draw VARCHAR) | SELECT SUM(lost) FROM table_name_69 WHERE points > 28 AND draw = 5 AND place < 1 | What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1? | <s>[INST]What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1? Context: CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR, points VARCHAR, draw VARCHAR)[/INST]SELECT SUM(lost) FROM table_name_69 WHERE points > 28 AND draw = 5 AND place < 1</s> |
CREATE TABLE table_name_17 (finish VARCHAR, laps INTEGER) | SELECT finish FROM table_name_17 WHERE laps > 200 | Name the finish with Laps more than 200 | <s>[INST]Name the finish with Laps more than 200 Context: CREATE TABLE table_name_17 (finish VARCHAR, laps INTEGER)[/INST]SELECT finish FROM table_name_17 WHERE laps > 200</s> |
CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR) | SELECT elevator FROM table_name_25 WHERE elevated = "1378, september 18" AND order = "cardinal-priest" AND elector = "poncello orsini" | What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini? | <s>[INST]What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini? Context: CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR)[/INST]SELECT elevator FROM table_name_25 WHERE elevated = "1378, september 18" AND ... |
CREATE TABLE table_29273390_1 (no_in_season INTEGER) | SELECT MIN(no_in_season) FROM table_29273390_1 | What is the least amount in each season? | <s>[INST]What is the least amount in each season? Context: CREATE TABLE table_29273390_1 (no_in_season INTEGER)[/INST]SELECT MIN(no_in_season) FROM table_29273390_1</s> |
CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR) | SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Tana and Stuart" | How many ranks by average for the couple Tana and Stuart? | <s>[INST]How many ranks by average for the couple Tana and Stuart? Context: CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR)[/INST]SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Tana and Stuart"</s> |
CREATE TABLE table_name_40 (top_5 INTEGER, cuts_made INTEGER) | SELECT MAX(top_5) FROM table_name_40 WHERE cuts_made > 39 | what is the highest top-5 when cuts made is more than 39? | <s>[INST]what is the highest top-5 when cuts made is more than 39? Context: CREATE TABLE table_name_40 (top_5 INTEGER, cuts_made INTEGER)[/INST]SELECT MAX(top_5) FROM table_name_40 WHERE cuts_made > 39</s> |
CREATE TABLE table_name_19 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_19 WHERE venue = "vfl park" | What is the away team score at vfl park? | <s>[INST]What is the away team score at vfl park? Context: CREATE TABLE table_name_19 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_19 WHERE venue = "vfl park"</s> |
CREATE TABLE table_name_51 (losses VARCHAR, goals_against VARCHAR, goal_difference VARCHAR, draws VARCHAR) | SELECT COUNT(losses) FROM table_name_51 WHERE goal_difference = 5 AND draws > 10 AND goals_against = 43 | How many losses are there with 5 goal differences, drew more than 10 times, and 43 goals against? | <s>[INST]How many losses are there with 5 goal differences, drew more than 10 times, and 43 goals against? Context: CREATE TABLE table_name_51 (losses VARCHAR, goals_against VARCHAR, goal_difference VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_51 WHERE goal_difference = 5 AND draws > 10 AND goals_... |
CREATE TABLE table_name_86 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR, constructor VARCHAR, tyre VARCHAR) | SELECT entrant FROM table_name_86 WHERE constructor = "maserati" AND tyre = "p" AND chassis = "250f a6gcm" AND driver = "luigi villoresi" | Can you say what was the entrant of maserati built item with a Tyre of p with a chassis of 250f a6gcm that was driven by Luigi Villoresi? | <s>[INST]Can you say what was the entrant of maserati built item with a Tyre of p with a chassis of 250f a6gcm that was driven by Luigi Villoresi? Context: CREATE TABLE table_name_86 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR, constructor VARCHAR, tyre VARCHAR)[/INST]SELECT entrant FROM table_name_86 WHERE const... |
CREATE TABLE table_23802822_1 (sector VARCHAR, establishments VARCHAR) | SELECT sector FROM table_23802822_1 WHERE establishments = 110313 | What is the sector is the establishment is 110313? | <s>[INST]What is the sector is the establishment is 110313? Context: CREATE TABLE table_23802822_1 (sector VARCHAR, establishments VARCHAR)[/INST]SELECT sector FROM table_23802822_1 WHERE establishments = 110313</s> |
CREATE TABLE table_name_57 (network VARCHAR, studio_host VARCHAR) | SELECT network FROM table_name_57 WHERE studio_host = "john wells" | Which network had the host of john wells? | <s>[INST]Which network had the host of john wells? Context: CREATE TABLE table_name_57 (network VARCHAR, studio_host VARCHAR)[/INST]SELECT network FROM table_name_57 WHERE studio_host = "john wells"</s> |
CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_33 WHERE score = "0-0" | On what date was the score 0-0? | <s>[INST]On what date was the score 0-0? Context: CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE score = "0-0"</s> |
CREATE TABLE table_name_49 (played VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT played FROM table_name_49 WHERE drawn = "0" AND points = "33" | What is the number of matches played for the team with 0 draws and 33 points? | <s>[INST]What is the number of matches played for the team with 0 draws and 33 points? Context: CREATE TABLE table_name_49 (played VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT played FROM table_name_49 WHERE drawn = "0" AND points = "33"</s> |
CREATE TABLE table_name_88 (actor VARCHAR, number_of_episodes VARCHAR) | SELECT actor FROM table_name_88 WHERE number_of_episodes = "117 episodes" | What is Actor, when Number Of Episodes is "117 Episodes"? | <s>[INST]What is Actor, when Number Of Episodes is "117 Episodes"? Context: CREATE TABLE table_name_88 (actor VARCHAR, number_of_episodes VARCHAR)[/INST]SELECT actor FROM table_name_88 WHERE number_of_episodes = "117 episodes"</s> |
CREATE TABLE table_name_67 (total_enrollment VARCHAR, institution_name VARCHAR) | SELECT total_enrollment FROM table_name_67 WHERE institution_name = "howard payne university" | What is Howard Payne University's total enrollment? | <s>[INST]What is Howard Payne University's total enrollment? Context: CREATE TABLE table_name_67 (total_enrollment VARCHAR, institution_name VARCHAR)[/INST]SELECT total_enrollment FROM table_name_67 WHERE institution_name = "howard payne university"</s> |
CREATE TABLE table_name_71 (position_in_1999 VARCHAR, venue VARCHAR) | SELECT position_in_1999 FROM table_name_71 WHERE venue = "central, gomel" | What is the position of the team that played at the venue, Central, Gomel? | <s>[INST]What is the position of the team that played at the venue, Central, Gomel? Context: CREATE TABLE table_name_71 (position_in_1999 VARCHAR, venue VARCHAR)[/INST]SELECT position_in_1999 FROM table_name_71 WHERE venue = "central, gomel"</s> |
CREATE TABLE table_name_93 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_name_93 WHERE player = "dimelon westfield" | What is the pick # for Dimelon Westfield? | <s>[INST]What is the pick # for Dimelon Westfield? Context: CREATE TABLE table_name_93 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_name_93 WHERE player = "dimelon westfield"</s> |
CREATE TABLE table_name_62 (defending_forces VARCHAR, population VARCHAR) | SELECT defending_forces FROM table_name_62 WHERE population = "230" | Which defending forces has a population of 230? | <s>[INST]Which defending forces has a population of 230? Context: CREATE TABLE table_name_62 (defending_forces VARCHAR, population VARCHAR)[/INST]SELECT defending_forces FROM table_name_62 WHERE population = "230"</s> |
CREATE TABLE table_name_67 (name VARCHAR, took_office VARCHAR) | SELECT name FROM table_name_67 WHERE took_office = "march 4, 1875" | Who has Took Office of march 4, 1875? | <s>[INST]Who has Took Office of march 4, 1875? Context: CREATE TABLE table_name_67 (name VARCHAR, took_office VARCHAR)[/INST]SELECT name FROM table_name_67 WHERE took_office = "march 4, 1875"</s> |
CREATE TABLE table_18933037_3 (mission_target VARCHAR, cause_of_loss VARCHAR) | SELECT mission_target FROM table_18933037_3 WHERE cause_of_loss = "Hit by SAM at 38,500 feet just after bomb release" | When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target? | <s>[INST]When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target? Context: CREATE TABLE table_18933037_3 (mission_target VARCHAR, cause_of_loss VARCHAR)[/INST]SELECT mission_target FROM table_18933037_3 WHERE cause_of_loss = "Hit by SAM at 38,500 feet just after bomb rele... |
CREATE TABLE table_16729457_16 (driver___passenger VARCHAR, position VARCHAR) | SELECT driver___passenger FROM table_16729457_16 WHERE position = 6 | Name the driver/passenger for 6 position | <s>[INST]Name the driver/passenger for 6 position Context: CREATE TABLE table_16729457_16 (driver___passenger VARCHAR, position VARCHAR)[/INST]SELECT driver___passenger FROM table_16729457_16 WHERE position = 6</s> |
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR, position VARCHAR) | SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t2.position = "CTO" | Who is the "CTO" of club "Hopkins Student Enterprises"? Show the first name and last name. | <s>[INST]Who is the "CTO" of club "Hopkins Student Enterprises"? Show the first name and last name. Context: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR, position VARCHAR)[/INST]SELEC... |
CREATE TABLE table_name_58 (tournament VARCHAR, top_25 VARCHAR, events VARCHAR, top_5 VARCHAR) | SELECT tournament FROM table_name_58 WHERE events > 11 AND top_5 = 0 AND top_25 = 2 | What is the name of the tournament with 11 or more events a top-5 of 0 and a top-25 of 2? | <s>[INST]What is the name of the tournament with 11 or more events a top-5 of 0 and a top-25 of 2? Context: CREATE TABLE table_name_58 (tournament VARCHAR, top_25 VARCHAR, events VARCHAR, top_5 VARCHAR)[/INST]SELECT tournament FROM table_name_58 WHERE events > 11 AND top_5 = 0 AND top_25 = 2</s> |
CREATE TABLE table_name_41 (decision VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_41 WHERE visitor = "philadelphia" | Who recorded the decision when philadelphia was away? | <s>[INST]Who recorded the decision when philadelphia was away? Context: CREATE TABLE table_name_41 (decision VARCHAR, visitor VARCHAR)[/INST]SELECT decision FROM table_name_41 WHERE visitor = "philadelphia"</s> |
CREATE TABLE table_name_77 (democrat VARCHAR, poll_source VARCHAR, lead_margin VARCHAR) | SELECT democrat AS :_tom_harkin FROM table_name_77 WHERE poll_source = "rasmussen reports" AND lead_margin = 14 | What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14? | <s>[INST]What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14? Context: CREATE TABLE table_name_77 (democrat VARCHAR, poll_source VARCHAR, lead_margin VARCHAR)[/INST]SELECT democrat AS :_tom_harkin FROM table_name_77 WHERE poll_source = "rasmussen reports" AND... |
CREATE TABLE table_name_17 (date VARCHAR, circuit VARCHAR, winning_constructor VARCHAR) | SELECT date FROM table_name_17 WHERE circuit = "madonie" AND winning_constructor = "bugatti" | In the circuit of Madonie, what was the date that had the winning constructor Bugatti? | <s>[INST]In the circuit of Madonie, what was the date that had the winning constructor Bugatti? Context: CREATE TABLE table_name_17 (date VARCHAR, circuit VARCHAR, winning_constructor VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE circuit = "madonie" AND winning_constructor = "bugatti"</s> |
CREATE TABLE table_name_44 (lost INTEGER, pct VARCHAR, years VARCHAR) | SELECT MIN(lost) FROM table_name_44 WHERE pct < 0.625 AND years < 3 | What is the low loss total for teams with under 3 years and a less than 0.625% winning percentage? | <s>[INST]What is the low loss total for teams with under 3 years and a less than 0.625% winning percentage? Context: CREATE TABLE table_name_44 (lost INTEGER, pct VARCHAR, years VARCHAR)[/INST]SELECT MIN(lost) FROM table_name_44 WHERE pct < 0.625 AND years < 3</s> |
CREATE TABLE table_26866519_1 (original_airdate VARCHAR, season__number VARCHAR) | SELECT original_airdate FROM table_26866519_1 WHERE season__number = 20 | What are the original air date(s) for season episode 20? | <s>[INST]What are the original air date(s) for season episode 20? Context: CREATE TABLE table_26866519_1 (original_airdate VARCHAR, season__number VARCHAR)[/INST]SELECT original_airdate FROM table_26866519_1 WHERE season__number = 20</s> |
CREATE TABLE table_name_90 (team VARCHAR, car__number VARCHAR, make VARCHAR, pos VARCHAR) | SELECT team FROM table_name_90 WHERE make = "chevrolet" AND pos < 7 AND car__number = 88 | Who is the team of the Chevrolet, and has a position less than 7, for car # 88? | <s>[INST]Who is the team of the Chevrolet, and has a position less than 7, for car # 88? Context: CREATE TABLE table_name_90 (team VARCHAR, car__number VARCHAR, make VARCHAR, pos VARCHAR)[/INST]SELECT team FROM table_name_90 WHERE make = "chevrolet" AND pos < 7 AND car__number = 88</s> |
CREATE TABLE table_name_17 (clubs VARCHAR, stadium VARCHAR) | SELECT clubs FROM table_name_17 WHERE stadium = "evgrapi shevardnadze stadium" | What clubs are in the evgrapi shevardnadze stadium? | <s>[INST]What clubs are in the evgrapi shevardnadze stadium? Context: CREATE TABLE table_name_17 (clubs VARCHAR, stadium VARCHAR)[/INST]SELECT clubs FROM table_name_17 WHERE stadium = "evgrapi shevardnadze stadium"</s> |
CREATE TABLE table_name_57 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_57 WHERE date = "1987" | What is Label, when Date is 1987? | <s>[INST]What is Label, when Date is 1987? Context: CREATE TABLE table_name_57 (label VARCHAR, date VARCHAR)[/INST]SELECT label FROM table_name_57 WHERE date = "1987"</s> |
CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR) | SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo" | What is the average goals less than 41 that goalkeeper Claudio Bravo had? | <s>[INST]What is the average goals less than 41 that goalkeeper Claudio Bravo had? Context: CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)[/INST]SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo"</s> |
CREATE TABLE table_1008653_9 (country___endonym__ VARCHAR, capital___endonym__ VARCHAR) | SELECT COUNT(country___endonym__) FROM table_1008653_9 WHERE capital___endonym__ = "Jakarta" | How many countries (endonym) has the capital (endonym) of Jakarta? | <s>[INST]How many countries (endonym) has the capital (endonym) of Jakarta? Context: CREATE TABLE table_1008653_9 (country___endonym__ VARCHAR, capital___endonym__ VARCHAR)[/INST]SELECT COUNT(country___endonym__) FROM table_1008653_9 WHERE capital___endonym__ = "Jakarta"</s> |
CREATE TABLE table_name_45 (opponent VARCHAR, overs VARCHAR) | SELECT opponent FROM table_name_45 WHERE overs = 3.3 | Who was the opponent when Steven Smith had 3.3 overs? | <s>[INST]Who was the opponent when Steven Smith had 3.3 overs? Context: CREATE TABLE table_name_45 (opponent VARCHAR, overs VARCHAR)[/INST]SELECT opponent FROM table_name_45 WHERE overs = 3.3</s> |
CREATE TABLE table_name_97 (goals_for VARCHAR, wins VARCHAR, goal_difference VARCHAR) | SELECT goals_for FROM table_name_97 WHERE wins < 14 AND goal_difference < -4 | What is the number of goals with less than 14 wins and a goal difference less than -4? | <s>[INST]What is the number of goals with less than 14 wins and a goal difference less than -4? Context: CREATE TABLE table_name_97 (goals_for VARCHAR, wins VARCHAR, goal_difference VARCHAR)[/INST]SELECT goals_for FROM table_name_97 WHERE wins < 14 AND goal_difference < -4</s> |
CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_76 WHERE date = 1989 | What is the Opponent of the game in 1989? | <s>[INST]What is the Opponent of the game in 1989? Context: CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_76 WHERE date = 1989</s> |
CREATE TABLE table_27050336_7 (delegate VARCHAR, counties_represented VARCHAR, committee VARCHAR, party VARCHAR) | SELECT delegate FROM table_27050336_7 WHERE committee = "Judiciary" AND party = "Democratic" AND counties_represented = "Montgomery" | For democratic party, countries represented is montgomery and where committee is judiciary mention all the delegate name. | <s>[INST]For democratic party, countries represented is montgomery and where committee is judiciary mention all the delegate name. Context: CREATE TABLE table_27050336_7 (delegate VARCHAR, counties_represented VARCHAR, committee VARCHAR, party VARCHAR)[/INST]SELECT delegate FROM table_27050336_7 WHERE committee = "Judi... |
CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_1 WHERE team = "minnesota" | Where was the location attendance when Minnesota played? | <s>[INST]Where was the location attendance when Minnesota played? Context: CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_name_1 WHERE team = "minnesota"</s> |
CREATE TABLE table_name_47 (career_sr VARCHAR) | SELECT career_sr FROM table_name_47 WHERE 1989 = "a" AND 1997 = "f" | What was the career SR with a value of A in 1980 and F in 1997? | <s>[INST]What was the career SR with a value of A in 1980 and F in 1997? Context: CREATE TABLE table_name_47 (career_sr VARCHAR)[/INST]SELECT career_sr FROM table_name_47 WHERE 1989 = "a" AND 1997 = "f"</s> |
CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "carlton" | I want to know the crowd with a home team of carlton | <s>[INST]I want to know the crowd with a home team of carlton Context: CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "carlton"</s> |
CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, game VARCHAR) | SELECT score FROM table_name_29 WHERE date > 7 AND game = 82 | What is Score, when Date is greater than 7, and when Game is "82"? | <s>[INST]What is Score, when Date is greater than 7, and when Game is "82"? Context: CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_29 WHERE date > 7 AND game = 82</s> |
CREATE TABLE table_name_62 (number VARCHAR, school_club_team VARCHAR) | SELECT COUNT(number) FROM table_name_62 WHERE school_club_team = "de la salle" | How many total players came from the school/club team of De La Salle? | <s>[INST]How many total players came from the school/club team of De La Salle? Context: CREATE TABLE table_name_62 (number VARCHAR, school_club_team VARCHAR)[/INST]SELECT COUNT(number) FROM table_name_62 WHERE school_club_team = "de la salle"</s> |
CREATE TABLE table_name_7 (pick INTEGER, draft VARCHAR, player VARCHAR) | SELECT MIN(pick) FROM table_name_7 WHERE draft < 1991 AND player = "tom sasso category:articles with hcards" | What is the lowest Pick, when Draft is less than 1991, and when Player is "Tom Sasso Category:Articles with hCards"? | <s>[INST]What is the lowest Pick, when Draft is less than 1991, and when Player is "Tom Sasso Category:Articles with hCards"? Context: CREATE TABLE table_name_7 (pick INTEGER, draft VARCHAR, player VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_7 WHERE draft < 1991 AND player = "tom sasso category:articles with hcards... |
CREATE TABLE table_15353123_1 (pick__number INTEGER) | SELECT MIN(pick__number) FROM table_15353123_1 | Who was the highest pick | <s>[INST]Who was the highest pick Context: CREATE TABLE table_15353123_1 (pick__number INTEGER)[/INST]SELECT MIN(pick__number) FROM table_15353123_1</s> |
CREATE TABLE table_29296103_10 (tournament VARCHAR, runner_up VARCHAR) | SELECT tournament FROM table_29296103_10 WHERE runner_up = "Paul Annacone Eric Korita" | Which tournament was runner-up paul annacone eric korita? | <s>[INST]Which tournament was runner-up paul annacone eric korita? Context: CREATE TABLE table_29296103_10 (tournament VARCHAR, runner_up VARCHAR)[/INST]SELECT tournament FROM table_29296103_10 WHERE runner_up = "Paul Annacone Eric Korita"</s> |
CREATE TABLE table_name_55 (year INTEGER, chassis VARCHAR) | SELECT SUM(year) FROM table_name_55 WHERE chassis = "rial arc2" | What year was a Rial Arc2 chassis used? | <s>[INST]What year was a Rial Arc2 chassis used? Context: CREATE TABLE table_name_55 (year INTEGER, chassis VARCHAR)[/INST]SELECT SUM(year) FROM table_name_55 WHERE chassis = "rial arc2"</s> |
CREATE TABLE medication (code VARCHAR, Brand VARCHAR); CREATE TABLE prescribes (physician VARCHAR, medication VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, employeeid VARCHAR) | SELECT DISTINCT T1.name, T1.position FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.Brand = "X" | Find the name and position of physicians who prescribe some medication whose brand is X? | <s>[INST]Find the name and position of physicians who prescribe some medication whose brand is X? Context: CREATE TABLE medication (code VARCHAR, Brand VARCHAR); CREATE TABLE prescribes (physician VARCHAR, medication VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, employeeid VARCHAR)[/INST]SELECT DIST... |
CREATE TABLE table_name_13 (season INTEGER, runner_up VARCHAR) | SELECT MIN(season) FROM table_name_13 WHERE runner_up = "aisha jefcoate" | What is the earliest season where Aisha Jefcoate was the runner-up? | <s>[INST]What is the earliest season where Aisha Jefcoate was the runner-up? Context: CREATE TABLE table_name_13 (season INTEGER, runner_up VARCHAR)[/INST]SELECT MIN(season) FROM table_name_13 WHERE runner_up = "aisha jefcoate"</s> |
CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR) | SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.4%" | What episode has average ratings of 7.4%? | <s>[INST]What episode has average ratings of 7.4%? Context: CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR)[/INST]SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.4%"</s> |
CREATE TABLE table_name_73 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_name_73 WHERE director = "ting shan-si" AND film_title_used_in_nomination = "the 800 heroes" | What is the Original Title, when Director is "Ting Shan-Si", and when Film Title Used In Nomination is "The 800 Heroes"? | <s>[INST]What is the Original Title, when Director is "Ting Shan-Si", and when Film Title Used In Nomination is "The 800 Heroes"? Context: CREATE TABLE table_name_73 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_name_73 WHERE director = "ting sh... |
CREATE TABLE table_name_84 (time VARCHAR, date VARCHAR) | SELECT time FROM table_name_84 WHERE date = "may 9" | What Time has Date of May 9? | <s>[INST]What Time has Date of May 9? Context: CREATE TABLE table_name_84 (time VARCHAR, date VARCHAR)[/INST]SELECT time FROM table_name_84 WHERE date = "may 9"</s> |
CREATE TABLE table_11959669_6 (team VARCHAR, score VARCHAR) | SELECT team FROM table_11959669_6 WHERE score = "88–86" | What is the team when the score is 88–86? | <s>[INST]What is the team when the score is 88–86? Context: CREATE TABLE table_11959669_6 (team VARCHAR, score VARCHAR)[/INST]SELECT team FROM table_11959669_6 WHERE score = "88–86"</s> |
CREATE TABLE table_18424435_5 (directed_by VARCHAR, us_air_date VARCHAR) | SELECT directed_by FROM table_18424435_5 WHERE us_air_date = "July 29, 2011" | Who directed the episode that aired on July 29, 2011? | <s>[INST]Who directed the episode that aired on July 29, 2011? Context: CREATE TABLE table_18424435_5 (directed_by VARCHAR, us_air_date VARCHAR)[/INST]SELECT directed_by FROM table_18424435_5 WHERE us_air_date = "July 29, 2011"</s> |
CREATE TABLE table_name_80 (date_of_birth VARCHAR, party VARCHAR, house_term VARCHAR) | SELECT date_of_birth FROM table_name_80 WHERE party = "republican" AND house_term = "1863-1865" | What was the date of birth of a republican member of the United States House of Representatives who held the term of 1863-1865? | <s>[INST]What was the date of birth of a republican member of the United States House of Representatives who held the term of 1863-1865? Context: CREATE TABLE table_name_80 (date_of_birth VARCHAR, party VARCHAR, house_term VARCHAR)[/INST]SELECT date_of_birth FROM table_name_80 WHERE party = "republican" AND house_term ... |
CREATE TABLE table_name_70 (date VARCHAR, decision VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_70 WHERE decision = "lehtonen" AND attendance > 17 OFFSET 731 | What was the date of the game with a decision of Lehtonen and attended by more than 17,731 people? | <s>[INST]What was the date of the game with a decision of Lehtonen and attended by more than 17,731 people? Context: CREATE TABLE table_name_70 (date VARCHAR, decision VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE decision = "lehtonen" AND attendance > 17 OFFSET 731</s> |
CREATE TABLE table_name_71 (developer VARCHAR, title VARCHAR) | SELECT developer FROM table_name_71 WHERE title = "vigilance" | Who was the developer for Vigilance? | <s>[INST]Who was the developer for Vigilance? Context: CREATE TABLE table_name_71 (developer VARCHAR, title VARCHAR)[/INST]SELECT developer FROM table_name_71 WHERE title = "vigilance"</s> |
CREATE TABLE table_name_95 (league_goals INTEGER, league_apps VARCHAR, league_cup_goals VARCHAR) | SELECT AVG(league_goals) FROM table_name_95 WHERE league_apps = "16 (1)" AND league_cup_goals < 0 | What is the league goals when the league cup goals is less than 0 and 16 (1) league apps? | <s>[INST]What is the league goals when the league cup goals is less than 0 and 16 (1) league apps? Context: CREATE TABLE table_name_95 (league_goals INTEGER, league_apps VARCHAR, league_cup_goals VARCHAR)[/INST]SELECT AVG(league_goals) FROM table_name_95 WHERE league_apps = "16 (1)" AND league_cup_goals < 0</s> |
CREATE TABLE table_157826_1 (population VARCHAR, city_town VARCHAR) | SELECT COUNT(population) FROM table_157826_1 WHERE city_town = "Arendal" | What is the total population in the city/town of Arendal? | <s>[INST]What is the total population in the city/town of Arendal? Context: CREATE TABLE table_157826_1 (population VARCHAR, city_town VARCHAR)[/INST]SELECT COUNT(population) FROM table_157826_1 WHERE city_town = "Arendal"</s> |
CREATE TABLE table_1505809_2 (Ends VARCHAR, blank_ends VARCHAR) | SELECT Ends AS lost FROM table_1505809_2 WHERE blank_ends = 9 | What is the value of Ends Lost when Blank Ends is 9. | <s>[INST]What is the value of Ends Lost when Blank Ends is 9. Context: CREATE TABLE table_1505809_2 (Ends VARCHAR, blank_ends VARCHAR)[/INST]SELECT Ends AS lost FROM table_1505809_2 WHERE blank_ends = 9</s> |
CREATE TABLE table_name_94 (entrant VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_94 WHERE chassis = "maserati 250f" AND year = 1954 | What entrant had a chassis of Maserati 250f in 1954? | <s>[INST]What entrant had a chassis of Maserati 250f in 1954? Context: CREATE TABLE table_name_94 (entrant VARCHAR, chassis VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_94 WHERE chassis = "maserati 250f" AND year = 1954</s> |
CREATE TABLE table_name_86 (goals__2008_ VARCHAR, age_at_debut VARCHAR, games__2008_ VARCHAR, debut_round VARCHAR) | SELECT COUNT(goals__2008_) FROM table_name_86 WHERE games__2008_ < 11 AND debut_round > 15 AND age_at_debut = "20 years, 71 days" | What is the total number of goals that have games under 11, debut round over 15, and age of 20 years, 71 days? | <s>[INST]What is the total number of goals that have games under 11, debut round over 15, and age of 20 years, 71 days? Context: CREATE TABLE table_name_86 (goals__2008_ VARCHAR, age_at_debut VARCHAR, games__2008_ VARCHAR, debut_round VARCHAR)[/INST]SELECT COUNT(goals__2008_) FROM table_name_86 WHERE games__2008_ < 11 ... |
CREATE TABLE table_name_91 (gymnast VARCHAR, vault VARCHAR, floor_exercise VARCHAR, balance_beam VARCHAR, total VARCHAR) | SELECT gymnast FROM table_name_91 WHERE balance_beam > 8.687 AND total < 38.049 AND floor_exercise < 9.462 AND vault < 9.275 | Which gymnast had a balance beam larger than 8.687, had a total less than 38.049, had a floor exercise less than 9.462, and a vault less than 9.275? | <s>[INST]Which gymnast had a balance beam larger than 8.687, had a total less than 38.049, had a floor exercise less than 9.462, and a vault less than 9.275? Context: CREATE TABLE table_name_91 (gymnast VARCHAR, vault VARCHAR, floor_exercise VARCHAR, balance_beam VARCHAR, total VARCHAR)[/INST]SELECT gymnast FROM table_... |
CREATE TABLE table_15621965_7 (player VARCHAR, school_club_team VARCHAR) | SELECT COUNT(player) FROM table_15621965_7 WHERE school_club_team = "Notre Dame" | How many players belong to Notre Dame? | <s>[INST]How many players belong to Notre Dame? Context: CREATE TABLE table_15621965_7 (player VARCHAR, school_club_team VARCHAR)[/INST]SELECT COUNT(player) FROM table_15621965_7 WHERE school_club_team = "Notre Dame"</s> |
CREATE TABLE table_1341718_14 (candidates VARCHAR, district VARCHAR) | SELECT COUNT(candidates) FROM table_1341718_14 WHERE district = "Illinois 18" | how many times was it the district illinois 18? | <s>[INST]how many times was it the district illinois 18? Context: CREATE TABLE table_1341718_14 (candidates VARCHAR, district VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1341718_14 WHERE district = "Illinois 18"</s> |
CREATE TABLE table_name_77 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie oval" | What is the crowd total for glenferrie oval? | <s>[INST]What is the crowd total for glenferrie oval? Context: CREATE TABLE table_name_77 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie oval"</s> |
CREATE TABLE table_name_54 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_54 WHERE tournament = "bob hope desert classic" | What is the Margin of victory at the Bob Hope Desert Classic Tournament? | <s>[INST]What is the Margin of victory at the Bob Hope Desert Classic Tournament? Context: CREATE TABLE table_name_54 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_54 WHERE tournament = "bob hope desert classic"</s> |
CREATE TABLE table_name_98 (engine_† VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR) | SELECT engine_† FROM table_name_98 WHERE rounds = "all" AND tyre = "m" AND driver = "david coulthard" | what is the engine when the rounds ar all, the tyre is m and the driver is david coulthard? | <s>[INST]what is the engine when the rounds ar all, the tyre is m and the driver is david coulthard? Context: CREATE TABLE table_name_98 (engine_† VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR)[/INST]SELECT engine_† FROM table_name_98 WHERE rounds = "all" AND tyre = "m" AND driver = "david coulthard"</s> |
CREATE TABLE table_name_11 (year INTEGER, player_name VARCHAR) | SELECT SUM(year) FROM table_name_11 WHERE player_name = "mark barron" | I want the sum of year for mark barron | <s>[INST]I want the sum of year for mark barron Context: CREATE TABLE table_name_11 (year INTEGER, player_name VARCHAR)[/INST]SELECT SUM(year) FROM table_name_11 WHERE player_name = "mark barron"</s> |
CREATE TABLE table_name_43 (losses VARCHAR, byes VARCHAR, wins VARCHAR, golden_rivers VARCHAR) | SELECT COUNT(losses) FROM table_name_43 WHERE wins < 12 AND golden_rivers = "ultima" AND byes > 2 | How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2? | <s>[INST]How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2? Context: CREATE TABLE table_name_43 (losses VARCHAR, byes VARCHAR, wins VARCHAR, golden_rivers VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_43 WHERE wins < 12 AND golden_rivers = "ultima" AND byes > ... |
CREATE TABLE table_name_79 (city___state VARCHAR, event_circuit VARCHAR) | SELECT city___state FROM table_name_79 WHERE event_circuit = "hidden valley raceway" | What city is the hidden valley raceway in? | <s>[INST]What city is the hidden valley raceway in? Context: CREATE TABLE table_name_79 (city___state VARCHAR, event_circuit VARCHAR)[/INST]SELECT city___state FROM table_name_79 WHERE event_circuit = "hidden valley raceway"</s> |
CREATE TABLE table_name_78 (name VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR) | SELECT name FROM table_name_78 WHERE winning_constructor = "bugatti" AND winning_driver = "louis chiron" | What Name has a Winning constructor of bugatti, and a Winning driver of louis chiron? | <s>[INST]What Name has a Winning constructor of bugatti, and a Winning driver of louis chiron? Context: CREATE TABLE table_name_78 (name VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)[/INST]SELECT name FROM table_name_78 WHERE winning_constructor = "bugatti" AND winning_driver = "louis chiron"</s> |
CREATE TABLE table_name_1 (round INTEGER, overall VARCHAR, name VARCHAR) | SELECT AVG(round) FROM table_name_1 WHERE overall > 310 AND name = "billy hicks" | What is the average number of rounds for billy hicks who had an overall pick number bigger than 310? | <s>[INST]What is the average number of rounds for billy hicks who had an overall pick number bigger than 310? Context: CREATE TABLE table_name_1 (round INTEGER, overall VARCHAR, name VARCHAR)[/INST]SELECT AVG(round) FROM table_name_1 WHERE overall > 310 AND name = "billy hicks"</s> |
CREATE TABLE table_name_62 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT COUNT(gold) FROM table_name_62 WHERE bronze < 5 AND silver > 1 AND rank > 8 | How many golds does the nation having a rank of 8, fewer than 5 bronzes and more than 1 silver have? | <s>[INST]How many golds does the nation having a rank of 8, fewer than 5 bronzes and more than 1 silver have? Context: CREATE TABLE table_name_62 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_62 WHERE bronze < 5 AND silver > 1 AND rank > 8</s> |
CREATE TABLE table_name_35 (grand_slam VARCHAR, winner VARCHAR, year VARCHAR, round VARCHAR) | SELECT grand_slam FROM table_name_35 WHERE year = 1987 AND round = "first round" AND winner = "ivan lendl" | What is the grand slam in 1987, when round shows first round, and Ivan Lendl won? | <s>[INST]What is the grand slam in 1987, when round shows first round, and Ivan Lendl won? Context: CREATE TABLE table_name_35 (grand_slam VARCHAR, winner VARCHAR, year VARCHAR, round VARCHAR)[/INST]SELECT grand_slam FROM table_name_35 WHERE year = 1987 AND round = "first round" AND winner = "ivan lendl"</s> |
CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_43 WHERE away_team = "melbourne" | I want to know the average crowd for away team of melbourne | <s>[INST]I want to know the average crowd for away team of melbourne Context: CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_43 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_22815568_6 (county VARCHAR, unemployment_rate VARCHAR) | SELECT county FROM table_22815568_6 WHERE unemployment_rate = "4.8%" | What county is the unemployment rate 4.8%? | <s>[INST]What county is the unemployment rate 4.8%? Context: CREATE TABLE table_22815568_6 (county VARCHAR, unemployment_rate VARCHAR)[/INST]SELECT county FROM table_22815568_6 WHERE unemployment_rate = "4.8%"</s> |
CREATE TABLE table_name_66 (genes INTEGER, species VARCHAR) | SELECT MIN(genes) FROM table_name_66 WHERE species = "rubrobacter xylanophilus" | What is the lowest number of genes in Rubrobacter Xylanophilus? | <s>[INST]What is the lowest number of genes in Rubrobacter Xylanophilus? Context: CREATE TABLE table_name_66 (genes INTEGER, species VARCHAR)[/INST]SELECT MIN(genes) FROM table_name_66 WHERE species = "rubrobacter xylanophilus"</s> |
CREATE TABLE table_name_4 (gold INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MIN(gold) FROM table_name_4 WHERE silver = 4 AND bronze > 4 | What is the fewest gold medals for the nation with 4 silvers and more than 4 bronze? | <s>[INST]What is the fewest gold medals for the nation with 4 silvers and more than 4 bronze? Context: CREATE TABLE table_name_4 (gold INTEGER, silver VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_4 WHERE silver = 4 AND bronze > 4</s> |
CREATE TABLE table_27218002_2 (originalairdate VARCHAR, ratings VARCHAR) | SELECT originalairdate FROM table_27218002_2 WHERE ratings = "1.37 Million" | What date did the epiode that had 1.37 million as the rating originally air? | <s>[INST]What date did the epiode that had 1.37 million as the rating originally air? Context: CREATE TABLE table_27218002_2 (originalairdate VARCHAR, ratings VARCHAR)[/INST]SELECT originalairdate FROM table_27218002_2 WHERE ratings = "1.37 Million"</s> |
CREATE TABLE table_name_89 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_89 WHERE player = "rives mcbee" | What is Country, when Player is "Rives McBee"? | <s>[INST]What is Country, when Player is "Rives McBee"? Context: CREATE TABLE table_name_89 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_89 WHERE player = "rives mcbee"</s> |
CREATE TABLE table_name_6 (position INTEGER, losses VARCHAR, conceded VARCHAR, draws VARCHAR) | SELECT MIN(position) FROM table_name_6 WHERE conceded > 16 AND draws = 3 AND losses > 3 | What's the lowest Position with a Conceded that's larger than 16, Draws of 3, and Losses that's larger than 3? | <s>[INST]What's the lowest Position with a Conceded that's larger than 16, Draws of 3, and Losses that's larger than 3? Context: CREATE TABLE table_name_6 (position INTEGER, losses VARCHAR, conceded VARCHAR, draws VARCHAR)[/INST]SELECT MIN(position) FROM table_name_6 WHERE conceded > 16 AND draws = 3 AND losses > 3</s> |
CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR) | SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b" | Name the sumof points for year less than 1994 and chassis of lola lc89b | <s>[INST]Name the sumof points for year less than 1994 and chassis of lola lc89b Context: CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR)[/INST]SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b"</s> |
CREATE TABLE table_18600760_15 (water__sqmi_ VARCHAR, county VARCHAR, geo_id VARCHAR) | SELECT water__sqmi_ FROM table_18600760_15 WHERE county = "Ramsey" AND geo_id > 3807159460.0 | How many square miles of water is in Ramsey County with a geo id larger than 3807159460.0? | <s>[INST]How many square miles of water is in Ramsey County with a geo id larger than 3807159460.0? Context: CREATE TABLE table_18600760_15 (water__sqmi_ VARCHAR, county VARCHAR, geo_id VARCHAR)[/INST]SELECT water__sqmi_ FROM table_18600760_15 WHERE county = "Ramsey" AND geo_id > 3807159460.0</s> |
CREATE TABLE table_2668169_2 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668169_2 WHERE incumbent = "Mathias Morris" | Which party does the incumbent Mathias Morris belong to? | <s>[INST]Which party does the incumbent Mathias Morris belong to? Context: CREATE TABLE table_2668169_2 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_2668169_2 WHERE incumbent = "Mathias Morris"</s> |
CREATE TABLE table_name_16 (call_sign VARCHAR, city_of_license VARCHAR) | SELECT call_sign FROM table_name_16 WHERE city_of_license = "spring valley, nevada" | What is the call sign of the translator in Spring Valley, Nevada? | <s>[INST]What is the call sign of the translator in Spring Valley, Nevada? Context: CREATE TABLE table_name_16 (call_sign VARCHAR, city_of_license VARCHAR)[/INST]SELECT call_sign FROM table_name_16 WHERE city_of_license = "spring valley, nevada"</s> |
CREATE TABLE table_1342359_39 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342359_39 WHERE district = "South Carolina 4" | What is the result for south carolina 4? | <s>[INST]What is the result for south carolina 4? Context: CREATE TABLE table_1342359_39 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1342359_39 WHERE district = "South Carolina 4"</s> |
CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR) | SELECT v_band FROM table_186468_1 WHERE k_band = "5.5" | When 5.5 is the l-band what is the v-band? | <s>[INST]When 5.5 is the l-band what is the v-band? Context: CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR)[/INST]SELECT v_band FROM table_186468_1 WHERE k_band = "5.5"</s> |
CREATE TABLE table_name_25 (side VARCHAR, inscription VARCHAR) | SELECT side FROM table_name_25 WHERE inscription = "vischer" | Which side has Vischer as the inscription? | <s>[INST]Which side has Vischer as the inscription? Context: CREATE TABLE table_name_25 (side VARCHAR, inscription VARCHAR)[/INST]SELECT side FROM table_name_25 WHERE inscription = "vischer"</s> |
CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, home__2nd_leg_ VARCHAR) | SELECT home__1st_leg_ FROM table_14219514_2 WHERE home__2nd_leg_ = "Temperley" | When temperley is the home (2nd leg) what is the home (1st leg)? | <s>[INST]When temperley is the home (2nd leg) what is the home (1st leg)? Context: CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, home__2nd_leg_ VARCHAR)[/INST]SELECT home__1st_leg_ FROM table_14219514_2 WHERE home__2nd_leg_ = "Temperley"</s> |
CREATE TABLE table_name_93 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_93 WHERE time = "2:22.32" | What is the Location of the Event with a Time of 2:22.32? | <s>[INST]What is the Location of the Event with a Time of 2:22.32? Context: CREATE TABLE table_name_93 (location VARCHAR, time VARCHAR)[/INST]SELECT location FROM table_name_93 WHERE time = "2:22.32"</s> |
CREATE TABLE table_name_75 (exaltation VARCHAR, detriment VARCHAR, sign VARCHAR) | SELECT exaltation FROM table_name_75 WHERE detriment = "saturn" AND sign = "cancer" | Which exaltation has a detriment of Saturn and Cancer as a sign? | <s>[INST]Which exaltation has a detriment of Saturn and Cancer as a sign? Context: CREATE TABLE table_name_75 (exaltation VARCHAR, detriment VARCHAR, sign VARCHAR)[/INST]SELECT exaltation FROM table_name_75 WHERE detriment = "saturn" AND sign = "cancer"</s> |
CREATE TABLE table_name_76 (date VARCHAR, partner VARCHAR) | SELECT date FROM table_name_76 WHERE partner = "peter nyborg" | When did he play with peter nyborg? | <s>[INST]When did he play with peter nyborg? Context: CREATE TABLE table_name_76 (date VARCHAR, partner VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE partner = "peter nyborg"</s> |
CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR) | SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms" | Name the being for having things of language, religions, work, customs, values, norms? | <s>[INST]Name the being for having things of language, religions, work, customs, values, norms? Context: CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR)[/INST]SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms"</s> |
CREATE TABLE table_name_40 (position INTEGER, total VARCHAR, a_score VARCHAR) | SELECT MIN(position) FROM table_name_40 WHERE total < 16.65 AND a_score = 7.4 | What is the Position of the person with a total less than 16.65 and an A score of 7.4? | <s>[INST]What is the Position of the person with a total less than 16.65 and an A score of 7.4? Context: CREATE TABLE table_name_40 (position INTEGER, total VARCHAR, a_score VARCHAR)[/INST]SELECT MIN(position) FROM table_name_40 WHERE total < 16.65 AND a_score = 7.4</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.