context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE Timed_Locations_of_Things (Location_Code VARCHAR, thing_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, service_details VARCHAR) | SELECT COUNT(DISTINCT T2.Location_Code) FROM Things AS T1 JOIN Timed_Locations_of_Things AS T2 ON T1.thing_id = T2.thing_id WHERE T1.service_details = 'Unsatisfied' | How many distinct locations have the things with service detail 'Unsatisfied' been located in? | <s>[INST]How many distinct locations have the things with service detail 'Unsatisfied' been located in? Context: CREATE TABLE Timed_Locations_of_Things (Location_Code VARCHAR, thing_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, service_details VARCHAR)[/INST]SELECT COUNT(DISTINCT T2.Location_Code) FROM Things AS ... |
CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR) | SELECT t1.product_id, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code JOIN product_characteristics AS t3 ON t1.product_id = t3.product_id GROUP BY t1.product_id HAVING COUNT(*) >= 2 | Find the id and color description of the products with at least 2 characteristics. | <s>[INST]Find the id and color description of the products with at least 2 characteristics. Context: CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR)[/INST]SELECT t1.product_... |
CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR) | SELECT status FROM table_name_33 WHERE date = "10/05/1975" | What is Status, when Date is 10/05/1975? | <s>[INST]What is Status, when Date is 10/05/1975? Context: CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)[/INST]SELECT status FROM table_name_33 WHERE date = "10/05/1975"</s> |
CREATE TABLE list (grade VARCHAR, classroom VARCHAR) | SELECT DISTINCT grade FROM list WHERE classroom = 105 | Find the grade studying in room 105. | <s>[INST]Find the grade studying in room 105. Context: CREATE TABLE list (grade VARCHAR, classroom VARCHAR)[/INST]SELECT DISTINCT grade FROM list WHERE classroom = 105</s> |
CREATE TABLE table_name_91 (Id VARCHAR) | SELECT MIN(2007) FROM table_name_91 WHERE 2004 = 78 AND 2006 < 80 | Which 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80? | <s>[INST]Which 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80? Context: CREATE TABLE table_name_91 (Id VARCHAR)[/INST]SELECT MIN(2007) FROM table_name_91 WHERE 2004 = 78 AND 2006 < 80</s> |
CREATE TABLE table_26041144_10 (innings INTEGER, average VARCHAR) | SELECT MIN(innings) FROM table_26041144_10 WHERE average = "32.3" | How many innings are there when the average is 32.3? | <s>[INST]How many innings are there when the average is 32.3? Context: CREATE TABLE table_26041144_10 (innings INTEGER, average VARCHAR)[/INST]SELECT MIN(innings) FROM table_26041144_10 WHERE average = "32.3"</s> |
CREATE TABLE table_name_47 (draw INTEGER, against VARCHAR, losses VARCHAR, matches VARCHAR) | SELECT AVG(draw) FROM table_name_47 WHERE losses < 35 AND matches = 136 AND against < 146 | How many draws have less than 35 losses with 136 matches and less than 146 against? | <s>[INST]How many draws have less than 35 losses with 136 matches and less than 146 against? Context: CREATE TABLE table_name_47 (draw INTEGER, against VARCHAR, losses VARCHAR, matches VARCHAR)[/INST]SELECT AVG(draw) FROM table_name_47 WHERE losses < 35 AND matches = 136 AND against < 146</s> |
CREATE TABLE table_name_63 (body_width_mm INTEGER, lead_pitch_mm VARCHAR, part_number VARCHAR) | SELECT MIN(body_width_mm) FROM table_name_63 WHERE lead_pitch_mm < 0.55 AND part_number = "tsop48" | Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Part Number of tsop48? | <s>[INST]Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Part Number of tsop48? Context: CREATE TABLE table_name_63 (body_width_mm INTEGER, lead_pitch_mm VARCHAR, part_number VARCHAR)[/INST]SELECT MIN(body_width_mm) FROM table_name_63 WHERE lead_pitch_mm < 0.55 AND part_number = "tsop48"</s> |
CREATE TABLE country (continent VARCHAR) | SELECT COUNT(*) FROM country WHERE continent = "Asia" | how many countries are in Asia? | <s>[INST]how many countries are in Asia? Context: CREATE TABLE country (continent VARCHAR)[/INST]SELECT COUNT(*) FROM country WHERE continent = "Asia"</s> |
CREATE TABLE table_13805432_2 (song_title VARCHAR, artist VARCHAR) | SELECT song_title FROM table_13805432_2 WHERE artist = "Pat Boone" | what's the song title with artbeingt being pat boone | <s>[INST]what's the song title with artbeingt being pat boone Context: CREATE TABLE table_13805432_2 (song_title VARCHAR, artist VARCHAR)[/INST]SELECT song_title FROM table_13805432_2 WHERE artist = "Pat Boone"</s> |
CREATE TABLE table_name_11 (venue VARCHAR, competition VARCHAR, date VARCHAR) | SELECT venue FROM table_name_11 WHERE competition = "2004 afc asian cup qualification" AND date = "november 18, 2003" | Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003? | <s>[INST]Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003? Context: CREATE TABLE table_name_11 (venue VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_11 WHERE competition = "2004 afc asian cup qualification" AND date = "november 18, 2003"</s> |
CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR) | SELECT COUNT(DISTINCT t1.clubname) 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 t3.fname = "Eric" AND t3.lname = "Tai" | How many clubs does the student named "Eric Tai" belong to? | <s>[INST]How many clubs does the student named "Eric Tai" belong to? Context: CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)[/INST]SELECT COUNT(DISTINCT t1.clubname) FROM club AS t1 JOI... |
CREATE TABLE table_name_32 (event VARCHAR) | SELECT 2007 AS _08 FROM table_name_32 WHERE event = "autumn gold" | What is the 2007–08 when the event was autumn gold? | <s>[INST]What is the 2007–08 when the event was autumn gold? Context: CREATE TABLE table_name_32 (event VARCHAR)[/INST]SELECT 2007 AS _08 FROM table_name_32 WHERE event = "autumn gold"</s> |
CREATE TABLE table_1694492_2 (reason_for_change VARCHAR, district VARCHAR) | SELECT reason_for_change FROM table_1694492_2 WHERE district = "New York 10th" | In district New York 10th, what was the reason for change? | <s>[INST]In district New York 10th, what was the reason for change? Context: CREATE TABLE table_1694492_2 (reason_for_change VARCHAR, district VARCHAR)[/INST]SELECT reason_for_change FROM table_1694492_2 WHERE district = "New York 10th"</s> |
CREATE TABLE table_name_86 (year INTEGER, engine VARCHAR) | SELECT AVG(year) FROM table_name_86 WHERE engine = "maserati straight-4" | What is the average year for Maserati Straight-4 Engines? | <s>[INST]What is the average year for Maserati Straight-4 Engines? Context: CREATE TABLE table_name_86 (year INTEGER, engine VARCHAR)[/INST]SELECT AVG(year) FROM table_name_86 WHERE engine = "maserati straight-4"</s> |
CREATE TABLE table_name_72 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_72 WHERE country = "south africa" | What place did the golfer take whose country is South Africa? | <s>[INST]What place did the golfer take whose country is South Africa? Context: CREATE TABLE table_name_72 (place VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_72 WHERE country = "south africa"</s> |
CREATE TABLE table_name_51 (pick INTEGER, round VARCHAR, school_college VARCHAR) | SELECT MAX(pick) FROM table_name_51 WHERE round = 5 AND school_college = "western illinois" | Highest round 5 pick from western illinois? | <s>[INST]Highest round 5 pick from western illinois? Context: CREATE TABLE table_name_51 (pick INTEGER, round VARCHAR, school_college VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_51 WHERE round = 5 AND school_college = "western illinois"</s> |
CREATE TABLE editor (Age VARCHAR) | SELECT Age, COUNT(*) FROM editor GROUP BY Age | What are the different ages of editors? Show each age along with the number of editors of that age. | <s>[INST]What are the different ages of editors? Show each age along with the number of editors of that age. Context: CREATE TABLE editor (Age VARCHAR)[/INST]SELECT Age, COUNT(*) FROM editor GROUP BY Age</s> |
CREATE TABLE table_name_24 (position VARCHAR, pick VARCHAR, college VARCHAR) | SELECT position FROM table_name_24 WHERE pick < 15 AND college = "rice" | What position did the player from Rice College play who was picked under 15? | <s>[INST]What position did the player from Rice College play who was picked under 15? Context: CREATE TABLE table_name_24 (position VARCHAR, pick VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_name_24 WHERE pick < 15 AND college = "rice"</s> |
CREATE TABLE table_1140116_6 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_1140116_6 WHERE circuit = "Halle-Saale-Schleife" | What is the date on which a race was run at Halle-Saale-Schleife circuit? | <s>[INST]What is the date on which a race was run at Halle-Saale-Schleife circuit? Context: CREATE TABLE table_1140116_6 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_1140116_6 WHERE circuit = "Halle-Saale-Schleife"</s> |
CREATE TABLE company (Id VARCHAR) | SELECT COUNT(*) FROM company | How many gas companies are there? | <s>[INST]How many gas companies are there? Context: CREATE TABLE company (Id VARCHAR)[/INST]SELECT COUNT(*) FROM company</s> |
CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_91 WHERE score = 70 - 73 - 69 = 212 | Who had a score of 70-73-69=212? | <s>[INST]Who had a score of 70-73-69=212? Context: CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_91 WHERE score = 70 - 73 - 69 = 212</s> |
CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_52 WHERE player = "steve pate" | What is the Place when Steve Pate was the player? | <s>[INST]What is the Place when Steve Pate was the player? Context: CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_52 WHERE player = "steve pate"</s> |
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER) | SELECT first_name, last_name, salary FROM employees WHERE salary < 6000 | List the full name (first and last name), and salary for those employees who earn below 6000. | <s>[INST]List the full name (first and last name), and salary for those employees who earn below 6000. Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER)[/INST]SELECT first_name, last_name, salary FROM employees WHERE salary < 6000</s> |
CREATE TABLE table_name_67 (format VARCHAR, region VARCHAR, date VARCHAR) | SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 2008" | Tell me the format for worldwide region july 22, 2008 | <s>[INST]Tell me the format for worldwide region july 22, 2008 Context: CREATE TABLE table_name_67 (format VARCHAR, region VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 2008"</s> |
CREATE TABLE table_name_67 (support_category VARCHAR, round VARCHAR) | SELECT support_category FROM table_name_67 WHERE round = 9 | Which Support Category had a Round score of 9? | <s>[INST]Which Support Category had a Round score of 9? Context: CREATE TABLE table_name_67 (support_category VARCHAR, round VARCHAR)[/INST]SELECT support_category FROM table_name_67 WHERE round = 9</s> |
CREATE TABLE table_21172539_1 (original_air_date VARCHAR, no_in_season VARCHAR) | SELECT original_air_date FROM table_21172539_1 WHERE no_in_season = 15 | What date did episode 15 of the season originally air? | <s>[INST]What date did episode 15 of the season originally air? Context: CREATE TABLE table_21172539_1 (original_air_date VARCHAR, no_in_season VARCHAR)[/INST]SELECT original_air_date FROM table_21172539_1 WHERE no_in_season = 15</s> |
CREATE TABLE table_1802522_3 (vacator VARCHAR, successor VARCHAR) | SELECT COUNT(vacator) FROM table_1802522_3 WHERE successor = "Joseph H. Bottum (R)" | How many vacant seats were filled by newcomer Joseph H. Bottum (r)? | <s>[INST]How many vacant seats were filled by newcomer Joseph H. Bottum (r)? Context: CREATE TABLE table_1802522_3 (vacator VARCHAR, successor VARCHAR)[/INST]SELECT COUNT(vacator) FROM table_1802522_3 WHERE successor = "Joseph H. Bottum (R)"</s> |
CREATE TABLE table_name_90 (laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_90 WHERE time_retired = "+1.906" | How many laps did the team with a time/retired of +1.906 have? | <s>[INST]How many laps did the team with a time/retired of +1.906 have? Context: CREATE TABLE table_name_90 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_90 WHERE time_retired = "+1.906"</s> |
CREATE TABLE table_name_73 (screen_size__inch_ VARCHAR, intro_year VARCHAR, model VARCHAR) | SELECT screen_size__inch_ FROM table_name_73 WHERE intro_year = "2006" AND model = "iliad" | Name the size of the screen that came out in 2006 and is iliad | <s>[INST]Name the size of the screen that came out in 2006 and is iliad Context: CREATE TABLE table_name_73 (screen_size__inch_ VARCHAR, intro_year VARCHAR, model VARCHAR)[/INST]SELECT screen_size__inch_ FROM table_name_73 WHERE intro_year = "2006" AND model = "iliad"</s> |
CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR) | SELECT COUNT(DISTINCT T3.title) FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE t1.type = "Studio" | Find the number of songs in all the studio albums. | <s>[INST]Find the number of songs in all the studio albums. Context: CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)[/INST]SELECT COUNT(DISTINCT T3.title) FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN ... |
CREATE TABLE table_name_26 (weight VARCHAR, name_v_t_e VARCHAR) | SELECT weight FROM table_name_26 WHERE name_v_t_e = "duško pijetlović category:articles with hcards" | What is the weight of the v t e of duško pijetlović category:articles with hcards? | <s>[INST]What is the weight of the v t e of duško pijetlović category:articles with hcards? Context: CREATE TABLE table_name_26 (weight VARCHAR, name_v_t_e VARCHAR)[/INST]SELECT weight FROM table_name_26 WHERE name_v_t_e = "duško pijetlović category:articles with hcards"</s> |
CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR) | SELECT school FROM table_name_79 WHERE team_name = "pirates" | What school has a team called the Pirates? | <s>[INST]What school has a team called the Pirates? Context: CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR)[/INST]SELECT school FROM table_name_79 WHERE team_name = "pirates"</s> |
CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_17 WHERE date = "april 14" | Which opponent was present on April 14? | <s>[INST]Which opponent was present on April 14? Context: CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_17 WHERE date = "april 14"</s> |
CREATE TABLE table_26842217_8 (attendance VARCHAR, site VARCHAR) | SELECT COUNT(attendance) FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC" | How many times was the site wallace wade stadium • durham, nc? | <s>[INST]How many times was the site wallace wade stadium • durham, nc? Context: CREATE TABLE table_26842217_8 (attendance VARCHAR, site VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC"</s> |
CREATE TABLE table_name_48 (virtues VARCHAR, psycho_social_crisis VARCHAR) | SELECT virtues FROM table_name_48 WHERE psycho_social_crisis = "intimacy vs. isolation" | What Virtue looks at the intimacy vs. isolation crisis? | <s>[INST]What Virtue looks at the intimacy vs. isolation crisis? Context: CREATE TABLE table_name_48 (virtues VARCHAR, psycho_social_crisis VARCHAR)[/INST]SELECT virtues FROM table_name_48 WHERE psycho_social_crisis = "intimacy vs. isolation"</s> |
CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_95 WHERE grid = 8 | What is the time/retired for grid 8? | <s>[INST]What is the time/retired for grid 8? Context: CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_95 WHERE grid = 8</s> |
CREATE TABLE table_name_65 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_65 WHERE record = "46-84" | What was the loss of the game when the record was 46-84? | <s>[INST]What was the loss of the game when the record was 46-84? Context: CREATE TABLE table_name_65 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_65 WHERE record = "46-84"</s> |
CREATE TABLE table_name_88 (years_of_operation VARCHAR, client VARCHAR) | SELECT years_of_operation FROM table_name_88 WHERE client = "soc" | What years was soc a client? | <s>[INST]What years was soc a client? Context: CREATE TABLE table_name_88 (years_of_operation VARCHAR, client VARCHAR)[/INST]SELECT years_of_operation FROM table_name_88 WHERE client = "soc"</s> |
CREATE TABLE table_name_15 (votes INTEGER, governorate VARCHAR) | SELECT AVG(votes) FROM table_name_15 WHERE governorate = "hewler" | Which Votes has a Governorate of hewler? | <s>[INST]Which Votes has a Governorate of hewler? Context: CREATE TABLE table_name_15 (votes INTEGER, governorate VARCHAR)[/INST]SELECT AVG(votes) FROM table_name_15 WHERE governorate = "hewler"</s> |
CREATE TABLE table_17001658_10 (high_rebounds VARCHAR, high_assists VARCHAR) | SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "Raymond Felton (12)" | For High Assists of Raymond Felton (12), who were the High rebounds? | <s>[INST]For High Assists of Raymond Felton (12), who were the High rebounds? Context: CREATE TABLE table_17001658_10 (high_rebounds VARCHAR, high_assists VARCHAR)[/INST]SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "Raymond Felton (12)"</s> |
CREATE TABLE table_name_17 (score VARCHAR, away_team VARCHAR, date VARCHAR) | SELECT score FROM table_name_17 WHERE away_team = "b3" AND date = "august 12, 2014" | How much did the away team b3 score on August 12, 2014? | <s>[INST]How much did the away team b3 score on August 12, 2014? Context: CREATE TABLE table_name_17 (score VARCHAR, away_team VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE away_team = "b3" AND date = "august 12, 2014"</s> |
CREATE TABLE list (classroom VARCHAR, grade VARCHAR) | SELECT classroom, COUNT(*) FROM list WHERE grade = "4" GROUP BY classroom | Report the total number of students for each fourth-grade classroom. | <s>[INST]Report the total number of students for each fourth-grade classroom. Context: CREATE TABLE list (classroom VARCHAR, grade VARCHAR)[/INST]SELECT classroom, COUNT(*) FROM list WHERE grade = "4" GROUP BY classroom</s> |
CREATE TABLE table_name_43 (mls_cup INTEGER, other VARCHAR, total VARCHAR) | SELECT AVG(mls_cup) FROM table_name_43 WHERE other > 9 AND total < 72 | Which MLS Cup has another larger than 9, and a Total smaller than 72? | <s>[INST]Which MLS Cup has another larger than 9, and a Total smaller than 72? Context: CREATE TABLE table_name_43 (mls_cup INTEGER, other VARCHAR, total VARCHAR)[/INST]SELECT AVG(mls_cup) FROM table_name_43 WHERE other > 9 AND total < 72</s> |
CREATE TABLE table_name_27 (date_joined VARCHAR, from__club_ VARCHAR) | SELECT date_joined FROM table_name_27 WHERE from__club_ = "santo andré" | What date did the player from Santo André debut? | <s>[INST]What date did the player from Santo André debut? Context: CREATE TABLE table_name_27 (date_joined VARCHAR, from__club_ VARCHAR)[/INST]SELECT date_joined FROM table_name_27 WHERE from__club_ = "santo andré"</s> |
CREATE TABLE table_143352_1 (accounting_closure_date INTEGER, agr_power_station VARCHAR) | SELECT MIN(accounting_closure_date) FROM table_143352_1 WHERE agr_power_station = "Hunterston B" | What is the Closure date of Hunterston B | <s>[INST]What is the Closure date of Hunterston B Context: CREATE TABLE table_143352_1 (accounting_closure_date INTEGER, agr_power_station VARCHAR)[/INST]SELECT MIN(accounting_closure_date) FROM table_143352_1 WHERE agr_power_station = "Hunterston B"</s> |
CREATE TABLE table_name_88 (year VARCHAR, score VARCHAR) | SELECT year FROM table_name_88 WHERE score = "5–7, 4–6, 6–3, 1–6" | Which Year has a Score of 5–7, 4–6, 6–3, 1–6? | <s>[INST]Which Year has a Score of 5–7, 4–6, 6–3, 1–6? Context: CREATE TABLE table_name_88 (year VARCHAR, score VARCHAR)[/INST]SELECT year FROM table_name_88 WHERE score = "5–7, 4–6, 6–3, 1–6"</s> |
CREATE TABLE table_19744915_14 (couple VARCHAR, average VARCHAR) | SELECT couple FROM table_19744915_14 WHERE average = "15.9" | What is the couples name where the average is 15.9? | <s>[INST]What is the couples name where the average is 15.9? Context: CREATE TABLE table_19744915_14 (couple VARCHAR, average VARCHAR)[/INST]SELECT couple FROM table_19744915_14 WHERE average = "15.9"</s> |
CREATE TABLE table_name_51 (points VARCHAR, tries VARCHAR, appearance VARCHAR) | SELECT COUNT(points) FROM table_name_51 WHERE tries = 0 AND appearance < 0 | How many times is tries 0 and appearance less than 0? | <s>[INST]How many times is tries 0 and appearance less than 0? Context: CREATE TABLE table_name_51 (points VARCHAR, tries VARCHAR, appearance VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_51 WHERE tries = 0 AND appearance < 0</s> |
CREATE TABLE table_name_43 (george_hw_bush VARCHAR, pat_robertson VARCHAR, bob_dole VARCHAR) | SELECT george_hw_bush FROM table_name_43 WHERE pat_robertson = "19%" AND bob_dole = "26%" | When Pat Robertson had 19%, and Bob Dole had 26%, what did George H.W. Bush have? | <s>[INST]When Pat Robertson had 19%, and Bob Dole had 26%, what did George H.W. Bush have? Context: CREATE TABLE table_name_43 (george_hw_bush VARCHAR, pat_robertson VARCHAR, bob_dole VARCHAR)[/INST]SELECT george_hw_bush FROM table_name_43 WHERE pat_robertson = "19%" AND bob_dole = "26%"</s> |
CREATE TABLE table_name_54 (attendance VARCHAR, score VARCHAR, loss VARCHAR) | SELECT COUNT(attendance) FROM table_name_54 WHERE score = "7-3" AND loss = "worrell (0-1)" | How many people were in attendance when the Washington Nationals had a score of 7-3 and a loss of Worrell (0-1)? | <s>[INST]How many people were in attendance when the Washington Nationals had a score of 7-3 and a loss of Worrell (0-1)? Context: CREATE TABLE table_name_54 (attendance VARCHAR, score VARCHAR, loss VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_54 WHERE score = "7-3" AND loss = "worrell (0-1)"</s> |
CREATE TABLE table_name_13 (round INTEGER, name VARCHAR) | SELECT AVG(round) FROM table_name_13 WHERE name = "bob randall" | What is the round for bob randall? | <s>[INST]What is the round for bob randall? Context: CREATE TABLE table_name_13 (round INTEGER, name VARCHAR)[/INST]SELECT AVG(round) FROM table_name_13 WHERE name = "bob randall"</s> |
CREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR) | SELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = "fresvik" | What is the church in the Sub-Parish of Fresvik called? | <s>[INST]What is the church in the Sub-Parish of Fresvik called? Context: CREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR)[/INST]SELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = "fresvik"</s> |
CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR) | SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = "November 21, 1993" | What episode number originally aired on November 21, 1993? | <s>[INST]What episode number originally aired on November 21, 1993? Context: CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR)[/INST]SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = "November 21, 1993"</s> |
CREATE TABLE table_name_45 (losses VARCHAR, name VARCHAR) | SELECT COUNT(losses) FROM table_name_45 WHERE name = "blair kiel" | How many Losses have a Name of blair kiel? | <s>[INST]How many Losses have a Name of blair kiel? Context: CREATE TABLE table_name_45 (losses VARCHAR, name VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_45 WHERE name = "blair kiel"</s> |
CREATE TABLE table_21977704_1 (no INTEGER, entrant VARCHAR, driver VARCHAR) | SELECT MAX(no) FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Benedicto Campos" | Name the most number for automóvil club argentino for benedicto campos | <s>[INST]Name the most number for automóvil club argentino for benedicto campos Context: CREATE TABLE table_21977704_1 (no INTEGER, entrant VARCHAR, driver VARCHAR)[/INST]SELECT MAX(no) FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Benedicto Campos"</s> |
CREATE TABLE table_name_2 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_2 WHERE home_team = "footscray" | What was Footscray's score when it played as the home team? | <s>[INST]What was Footscray's score when it played as the home team? Context: CREATE TABLE table_name_2 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_2 WHERE home_team = "footscray"</s> |
CREATE TABLE table_2108684_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) | SELECT viewers__in_millions_ FROM table_2108684_1 WHERE run_time = "25:22" | How many million viewers watched the episode with a run time of 25:22? | <s>[INST]How many million viewers watched the episode with a run time of 25:22? Context: CREATE TABLE table_2108684_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)[/INST]SELECT viewers__in_millions_ FROM table_2108684_1 WHERE run_time = "25:22"</s> |
CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_38 WHERE venue = "junction oval" | What was the away team's score in Junction Oval? | <s>[INST]What was the away team's score in Junction Oval? Context: CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_38 WHERE venue = "junction oval"</s> |
CREATE TABLE table_25058562_2 (height VARCHAR, player VARCHAR) | SELECT height FROM table_25058562_2 WHERE player = "Asko Esna" | Name the height for asko esna | <s>[INST]Name the height for asko esna Context: CREATE TABLE table_25058562_2 (height VARCHAR, player VARCHAR)[/INST]SELECT height FROM table_25058562_2 WHERE player = "Asko Esna"</s> |
CREATE TABLE table_name_77 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_77 WHERE date = "1/17/1980" | What is the record on 1/17/1980? | <s>[INST]What is the record on 1/17/1980? Context: CREATE TABLE table_name_77 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_77 WHERE date = "1/17/1980"</s> |
CREATE TABLE table_29743928_5 (int_caps INTEGER) | SELECT MIN(int_caps) FROM table_29743928_5 | What is the lowest value for int. caps? | <s>[INST]What is the lowest value for int. caps? Context: CREATE TABLE table_29743928_5 (int_caps INTEGER)[/INST]SELECT MIN(int_caps) FROM table_29743928_5</s> |
CREATE TABLE table_name_67 (network VARCHAR, viewers VARCHAR) | SELECT network FROM table_name_67 WHERE viewers = "16.0 million" | Which Network has 16.0 million Viewers? | <s>[INST]Which Network has 16.0 million Viewers? Context: CREATE TABLE table_name_67 (network VARCHAR, viewers VARCHAR)[/INST]SELECT network FROM table_name_67 WHERE viewers = "16.0 million"</s> |
CREATE TABLE table_1942366_9 (high VARCHAR, low VARCHAR) | SELECT STRUCT(high) FROM table_1942366_9 WHERE STRUCT(low) = "250.5" | What's the C_{high} when the C_{low} value is 250.5? | <s>[INST]What's the C_{high} when the C_{low} value is 250.5? Context: CREATE TABLE table_1942366_9 (high VARCHAR, low VARCHAR)[/INST]SELECT STRUCT(high) FROM table_1942366_9 WHERE STRUCT(low) = "250.5"</s> |
CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_35 WHERE date = "6 february 2008" | What was the score on 6 February 2008? | <s>[INST]What was the score on 6 February 2008? Context: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_35 WHERE date = "6 february 2008"</s> |
CREATE TABLE table_27003186_3 (no_party_preference VARCHAR, other VARCHAR) | SELECT no_party_preference FROM table_27003186_3 WHERE other = "10.1%" | What is the no party preference when other is 10.1%? | <s>[INST]What is the no party preference when other is 10.1%? Context: CREATE TABLE table_27003186_3 (no_party_preference VARCHAR, other VARCHAR)[/INST]SELECT no_party_preference FROM table_27003186_3 WHERE other = "10.1%"</s> |
CREATE TABLE table_name_47 (b_score INTEGER, position VARCHAR, total VARCHAR) | SELECT AVG(b_score) FROM table_name_47 WHERE position = "2nd" AND total < 15.525 | Can you tell me the average B Score that has the Position of 2nd, and the Total smaller than 15.525? | <s>[INST]Can you tell me the average B Score that has the Position of 2nd, and the Total smaller than 15.525? Context: CREATE TABLE table_name_47 (b_score INTEGER, position VARCHAR, total VARCHAR)[/INST]SELECT AVG(b_score) FROM table_name_47 WHERE position = "2nd" AND total < 15.525</s> |
CREATE TABLE Rooms (decor VARCHAR, basePrice INTEGER) | SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor | Find the number of rooms with price higher than 120 for different decor. | <s>[INST]Find the number of rooms with price higher than 120 for different decor. Context: CREATE TABLE Rooms (decor VARCHAR, basePrice INTEGER)[/INST]SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor</s> |
CREATE TABLE table_name_3 (time___et__ VARCHAR, opponent VARCHAR) | SELECT time___et__ FROM table_name_3 WHERE opponent = "new england patriots" | When is the Opponent of new england patriots? | <s>[INST]When is the Opponent of new england patriots? Context: CREATE TABLE table_name_3 (time___et__ VARCHAR, opponent VARCHAR)[/INST]SELECT time___et__ FROM table_name_3 WHERE opponent = "new england patriots"</s> |
CREATE TABLE table_20026849_1 (network VARCHAR, destination VARCHAR) | SELECT network FROM table_20026849_1 WHERE destination = "Australia" | What network showed the season with Australia as the destination? | <s>[INST]What network showed the season with Australia as the destination? Context: CREATE TABLE table_20026849_1 (network VARCHAR, destination VARCHAR)[/INST]SELECT network FROM table_20026849_1 WHERE destination = "Australia"</s> |
CREATE TABLE table_name_29 (years VARCHAR, representative VARCHAR) | SELECT years FROM table_name_29 WHERE representative = "walter evans" | When was Walter Evans a representative? | <s>[INST]When was Walter Evans a representative? Context: CREATE TABLE table_name_29 (years VARCHAR, representative VARCHAR)[/INST]SELECT years FROM table_name_29 WHERE representative = "walter evans"</s> |
CREATE TABLE table_name_35 (table_diameter VARCHAR, crown_height VARCHAR) | SELECT table_diameter FROM table_name_35 WHERE crown_height = "14.45%" | Which Table diameter has a Crown height of 14.45%? | <s>[INST]Which Table diameter has a Crown height of 14.45%? Context: CREATE TABLE table_name_35 (table_diameter VARCHAR, crown_height VARCHAR)[/INST]SELECT table_diameter FROM table_name_35 WHERE crown_height = "14.45%"</s> |
CREATE TABLE table_27973624_1 (number_of_fixtures VARCHAR, new_entries_this_round VARCHAR) | SELECT COUNT(number_of_fixtures) FROM table_27973624_1 WHERE new_entries_this_round = "none" | How many times is the new entries this round is none? | <s>[INST]How many times is the new entries this round is none? Context: CREATE TABLE table_27973624_1 (number_of_fixtures VARCHAR, new_entries_this_round VARCHAR)[/INST]SELECT COUNT(number_of_fixtures) FROM table_27973624_1 WHERE new_entries_this_round = "none"</s> |
CREATE TABLE table_name_51 (overall INTEGER, college VARCHAR, round VARCHAR) | SELECT MIN(overall) FROM table_name_51 WHERE college = "arkansas" AND round > 3 | What's the lowest Overall average that has a College of Arkansas, and a Round larger than 3? | <s>[INST]What's the lowest Overall average that has a College of Arkansas, and a Round larger than 3? Context: CREATE TABLE table_name_51 (overall INTEGER, college VARCHAR, round VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_51 WHERE college = "arkansas" AND round > 3</s> |
CREATE TABLE table_name_29 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT status FROM table_name_29 WHERE co_contestant__yaar_vs_pyaar_ = "tina parekh" | Which Status has a Co-contestant (Yaar vs. Pyaar) of tina parekh? | <s>[INST]Which Status has a Co-contestant (Yaar vs. Pyaar) of tina parekh? Context: CREATE TABLE table_name_29 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT status FROM table_name_29 WHERE co_contestant__yaar_vs_pyaar_ = "tina parekh"</s> |
CREATE TABLE table_name_57 (location VARCHAR, students VARCHAR, year_opened VARCHAR) | SELECT location FROM table_name_57 WHERE students = "na" AND year_opened = "2005" | What location was the campus opened in 2005 with students listed as na? | <s>[INST]What location was the campus opened in 2005 with students listed as na? Context: CREATE TABLE table_name_57 (location VARCHAR, students VARCHAR, year_opened VARCHAR)[/INST]SELECT location FROM table_name_57 WHERE students = "na" AND year_opened = "2005"</s> |
CREATE TABLE table_name_56 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_56 WHERE venue = "mcg" | Who was the away team when the VFL played at MCG? | <s>[INST]Who was the away team when the VFL played at MCG? Context: CREATE TABLE table_name_56 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_56 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_22 WHERE venue = "kardinia park" | at kardinia park, what was the away team's score? | <s>[INST]at kardinia park, what was the away team's score? Context: CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_22 WHERE venue = "kardinia park"</s> |
CREATE TABLE table_name_12 (date_outgoing VARCHAR, outgoing_manager VARCHAR) | SELECT date_outgoing FROM table_name_12 WHERE outgoing_manager = "peter butler" | When did Peter Butler leave his team? | <s>[INST]When did Peter Butler leave his team? Context: CREATE TABLE table_name_12 (date_outgoing VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_outgoing FROM table_name_12 WHERE outgoing_manager = "peter butler"</s> |
CREATE TABLE table_name_60 (original_airing VARCHAR, audience_share__average_ VARCHAR) | SELECT original_airing FROM table_name_60 WHERE audience_share__average_ = "8%" | Where the audience share is 8%, what is the original airing? | <s>[INST]Where the audience share is 8%, what is the original airing? Context: CREATE TABLE table_name_60 (original_airing VARCHAR, audience_share__average_ VARCHAR)[/INST]SELECT original_airing FROM table_name_60 WHERE audience_share__average_ = "8%"</s> |
CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_68 WHERE home_team = "hawthorn" | Who was Hawthorn's away opponent? | <s>[INST]Who was Hawthorn's away opponent? Context: CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_68 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_45 (Id VARCHAR) | SELECT 2008 FROM table_name_45 WHERE 2007 = "career statistics" | WHAT IS THE 2008 PERFORMANCE WITH A 2007 CAREER STATISTICS? | <s>[INST]WHAT IS THE 2008 PERFORMANCE WITH A 2007 CAREER STATISTICS? Context: CREATE TABLE table_name_45 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_45 WHERE 2007 = "career statistics"</s> |
CREATE TABLE table_name_24 (tyre VARCHAR, team VARCHAR, drivers VARCHAR) | SELECT tyre FROM table_name_24 WHERE team = "real racing with leon" AND drivers = "koudai tsukakoshi" | What is the tyre of real racing with leon team member koudai tsukakoshi? | <s>[INST]What is the tyre of real racing with leon team member koudai tsukakoshi? Context: CREATE TABLE table_name_24 (tyre VARCHAR, team VARCHAR, drivers VARCHAR)[/INST]SELECT tyre FROM table_name_24 WHERE team = "real racing with leon" AND drivers = "koudai tsukakoshi"</s> |
CREATE TABLE table_name_3 (federal_state VARCHAR, representatives_of_national_average VARCHAR) | SELECT federal_state FROM table_name_3 WHERE representatives_of_national_average = "6" | Which federal state has 6 representatives of national average? | <s>[INST]Which federal state has 6 representatives of national average? Context: CREATE TABLE table_name_3 (federal_state VARCHAR, representatives_of_national_average VARCHAR)[/INST]SELECT federal_state FROM table_name_3 WHERE representatives_of_national_average = "6"</s> |
CREATE TABLE table_22355_35 (silver INTEGER) | SELECT MIN(silver) FROM table_22355_35 | which is the minimun amount of silver medals? | <s>[INST]which is the minimun amount of silver medals? Context: CREATE TABLE table_22355_35 (silver INTEGER)[/INST]SELECT MIN(silver) FROM table_22355_35</s> |
CREATE TABLE table_name_24 (house VARCHAR, what VARCHAR, three VARCHAR) | SELECT house FROM table_name_24 WHERE what = "ano" AND three = "tulo" | What is "house", when "what" is "ano", and when "three" is "tulo"? | <s>[INST]What is "house", when "what" is "ano", and when "three" is "tulo"? Context: CREATE TABLE table_name_24 (house VARCHAR, what VARCHAR, three VARCHAR)[/INST]SELECT house FROM table_name_24 WHERE what = "ano" AND three = "tulo"</s> |
CREATE TABLE table_name_63 (draws INTEGER, season VARCHAR, wins VARCHAR) | SELECT MAX(draws) FROM table_name_63 WHERE season > 1926 AND wins < 0 | What is the highest Draws for a season later than 1926 with less than 0 wins? | <s>[INST]What is the highest Draws for a season later than 1926 with less than 0 wins? Context: CREATE TABLE table_name_63 (draws INTEGER, season VARCHAR, wins VARCHAR)[/INST]SELECT MAX(draws) FROM table_name_63 WHERE season > 1926 AND wins < 0</s> |
CREATE TABLE table_name_11 (pci_express VARCHAR, memory VARCHAR, sound VARCHAR) | SELECT pci_express FROM table_name_11 WHERE memory = "ddr 266/333/400 registered/ecc" AND sound = "enhanced ac'97 2.3" | Which PCI-Express has a DDR 266/333/400 Registered/ECC memory and Enhanced AC'97 2.3 sound? | <s>[INST]Which PCI-Express has a DDR 266/333/400 Registered/ECC memory and Enhanced AC'97 2.3 sound? Context: CREATE TABLE table_name_11 (pci_express VARCHAR, memory VARCHAR, sound VARCHAR)[/INST]SELECT pci_express FROM table_name_11 WHERE memory = "ddr 266/333/400 registered/ecc" AND sound = "enhanced ac'97 2.3"</s> |
CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) | SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirchen" AND stage = "7" | What's the mountains classification of Stage 7 when Kim Kirchen was the general classification? | <s>[INST]What's the mountains classification of Stage 7 when Kim Kirchen was the general classification? Context: CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)[/INST]SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirc... |
CREATE TABLE table_13337302_16 (dismissals VARCHAR, player VARCHAR) | SELECT dismissals FROM table_13337302_16 WHERE player = "Peter McGlashan" | How many dismissals did the player Peter McGlashan have? | <s>[INST]How many dismissals did the player Peter McGlashan have? Context: CREATE TABLE table_13337302_16 (dismissals VARCHAR, player VARCHAR)[/INST]SELECT dismissals FROM table_13337302_16 WHERE player = "Peter McGlashan"</s> |
CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR) | SELECT high_assists FROM table_17355408_4 WHERE high_points = "Chauncey Billups , Carmelo Anthony (18)" | Name the high assists for chauncey billups , carmelo anthony (18) | <s>[INST]Name the high assists for chauncey billups , carmelo anthony (18) Context: CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR)[/INST]SELECT high_assists FROM table_17355408_4 WHERE high_points = "Chauncey Billups , Carmelo Anthony (18)"</s> |
CREATE TABLE table_name_98 (fastest_lap VARCHAR, race VARCHAR) | SELECT fastest_lap FROM table_name_98 WHERE race = "monaco grand prix" | Who had the fastest lap in the Monaco Grand Prix? | <s>[INST]Who had the fastest lap in the Monaco Grand Prix? Context: CREATE TABLE table_name_98 (fastest_lap VARCHAR, race VARCHAR)[/INST]SELECT fastest_lap FROM table_name_98 WHERE race = "monaco grand prix"</s> |
CREATE TABLE table_name_83 (power__kw_ VARCHAR, location VARCHAR) | SELECT power__kw_ FROM table_name_83 WHERE location = "cebu" | What is the Power (kW) for the station located in Cebu? | <s>[INST]What is the Power (kW) for the station located in Cebu? Context: CREATE TABLE table_name_83 (power__kw_ VARCHAR, location VARCHAR)[/INST]SELECT power__kw_ FROM table_name_83 WHERE location = "cebu"</s> |
CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, penance VARCHAR) | SELECT permanence_of_the_body FROM table_11609814_1 WHERE penance = "the undifferenced" | what's the permanence of the body where penance is the undifferenced | <s>[INST] what's the permanence of the body where penance is the undifferenced Context: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, penance VARCHAR)[/INST]SELECT permanence_of_the_body FROM table_11609814_1 WHERE penance = "the undifferenced"</s> |
CREATE TABLE table_name_67 (january VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT COUNT(january) FROM table_name_67 WHERE game < 37 AND opponent = "detroit red wings" | How much January has a Game smaller than 37, and an Opponent of detroit red wings? | <s>[INST]How much January has a Game smaller than 37, and an Opponent of detroit red wings? Context: CREATE TABLE table_name_67 (january VARCHAR, game VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(january) FROM table_name_67 WHERE game < 37 AND opponent = "detroit red wings"</s> |
CREATE TABLE table_name_83 (draws INTEGER, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR) | SELECT SUM(draws) FROM table_name_83 WHERE wins > 7 AND wimmera_fl = "nhill" AND losses > 8 | How many Draws have Wins larger than 7, and a Wimmera FL of nhill, and Losses larger than 8? | <s>[INST]How many Draws have Wins larger than 7, and a Wimmera FL of nhill, and Losses larger than 8? Context: CREATE TABLE table_name_83 (draws INTEGER, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_83 WHERE wins > 7 AND wimmera_fl = "nhill" AND losses > 8</s> |
CREATE TABLE table_name_42 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_42 WHERE date = "4 apr 1997" | The competition that took place on 4 Apr 1997 ended with what as the score? | <s>[INST]The competition that took place on 4 Apr 1997 ended with what as the score? Context: CREATE TABLE table_name_42 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_42 WHERE date = "4 apr 1997"</s> |
CREATE TABLE table_name_5 (pct VARCHAR, years VARCHAR, team VARCHAR) | SELECT COUNT(pct) FROM table_name_5 WHERE years > 100 AND team = "akron" | What is Akron's highest Pct in 100 years? | <s>[INST]What is Akron's highest Pct in 100 years? Context: CREATE TABLE table_name_5 (pct VARCHAR, years VARCHAR, team VARCHAR)[/INST]SELECT COUNT(pct) FROM table_name_5 WHERE years > 100 AND team = "akron"</s> |
CREATE TABLE table_name_83 (school VARCHAR, county VARCHAR) | SELECT school FROM table_name_83 WHERE county = "46 laporte" | County of 46 laporte is what school? | <s>[INST]County of 46 laporte is what school? Context: CREATE TABLE table_name_83 (school VARCHAR, county VARCHAR)[/INST]SELECT school FROM table_name_83 WHERE county = "46 laporte"</s> |
CREATE TABLE table_name_62 (tracking_method VARCHAR, supported_databases VARCHAR, name VARCHAR) | SELECT tracking_method FROM table_name_62 WHERE supported_databases = "mysql" AND name = "open web analytics" | Which tracking method supports MySQL databases and is named Open Web Analytics? | <s>[INST]Which tracking method supports MySQL databases and is named Open Web Analytics? Context: CREATE TABLE table_name_62 (tracking_method VARCHAR, supported_databases VARCHAR, name VARCHAR)[/INST]SELECT tracking_method FROM table_name_62 WHERE supported_databases = "mysql" AND name = "open web analytics"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.