context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_94 (label VARCHAR, format VARCHAR, region VARCHAR) | SELECT label FROM table_name_94 WHERE format = "compact disc" AND region = "united kingdom" | What label is formatted as compact disc and has United Kingdom as its region? | <s>[INST]What label is formatted as compact disc and has United Kingdom as its region? Context: CREATE TABLE table_name_94 (label VARCHAR, format VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_94 WHERE format = "compact disc" AND region = "united kingdom"</s> |
CREATE TABLE table_14389782_2 (ties VARCHAR, games_started VARCHAR) | SELECT COUNT(ties) FROM table_14389782_2 WHERE games_started = 36 | How many ties were there for game 36 started? | <s>[INST]How many ties were there for game 36 started? Context: CREATE TABLE table_14389782_2 (ties VARCHAR, games_started VARCHAR)[/INST]SELECT COUNT(ties) FROM table_14389782_2 WHERE games_started = 36</s> |
CREATE TABLE table_name_84 (opponents VARCHAR, competition VARCHAR) | SELECT opponents FROM table_name_84 WHERE competition = "football league trophy" | Who was the opponent at the Football League Trophy competition? | <s>[INST]Who was the opponent at the Football League Trophy competition? Context: CREATE TABLE table_name_84 (opponents VARCHAR, competition VARCHAR)[/INST]SELECT opponents FROM table_name_84 WHERE competition = "football league trophy"</s> |
CREATE TABLE table_name_84 (class VARCHAR, quantity VARCHAR, number_s_ VARCHAR) | SELECT class FROM table_name_84 WHERE quantity < 10 AND number_s_ = "names" | Which class has fewer than 10 and number(s) names? | <s>[INST]Which class has fewer than 10 and number(s) names? Context: CREATE TABLE table_name_84 (class VARCHAR, quantity VARCHAR, number_s_ VARCHAR)[/INST]SELECT class FROM table_name_84 WHERE quantity < 10 AND number_s_ = "names"</s> |
CREATE TABLE table_name_80 (drawn INTEGER, team VARCHAR, lost VARCHAR) | SELECT MAX(drawn) FROM table_name_80 WHERE team = "corinthians" AND lost > 15 | Team of corinthians, and a Lost larger than 15 has which highest drawn? | <s>[INST]Team of corinthians, and a Lost larger than 15 has which highest drawn? Context: CREATE TABLE table_name_80 (drawn INTEGER, team VARCHAR, lost VARCHAR)[/INST]SELECT MAX(drawn) FROM table_name_80 WHERE team = "corinthians" AND lost > 15</s> |
CREATE TABLE table_name_96 (laps INTEGER, driver VARCHAR) | SELECT AVG(laps) FROM table_name_96 WHERE driver = "ricardo sperafico" | Driver Ricardo Sperafico has what as his average laps? | <s>[INST]Driver Ricardo Sperafico has what as his average laps? Context: CREATE TABLE table_name_96 (laps INTEGER, driver VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_96 WHERE driver = "ricardo sperafico"</s> |
CREATE TABLE table_19072602_5 (match_no VARCHAR, team_europe VARCHAR) | SELECT COUNT(match_no) FROM table_19072602_5 WHERE team_europe = "Osku Palermaa" | When osku palermaa is on the europe team how many match numbers are there? | <s>[INST]When osku palermaa is on the europe team how many match numbers are there? Context: CREATE TABLE table_19072602_5 (match_no VARCHAR, team_europe VARCHAR)[/INST]SELECT COUNT(match_no) FROM table_19072602_5 WHERE team_europe = "Osku Palermaa"</s> |
CREATE TABLE camera_lens (focal_length_mm INTEGER) | SELECT COUNT(*) FROM camera_lens WHERE focal_length_mm > 15 | How many camera lenses have a focal length longer than 15 mm? | <s>[INST]How many camera lenses have a focal length longer than 15 mm? Context: CREATE TABLE camera_lens (focal_length_mm INTEGER)[/INST]SELECT COUNT(*) FROM camera_lens WHERE focal_length_mm > 15</s> |
CREATE TABLE table_name_14 (time VARCHAR, method VARCHAR) | SELECT time FROM table_name_14 WHERE method = "submission (knees)" | What is Time, when Method is "submission (knees)"? | <s>[INST]What is Time, when Method is "submission (knees)"? Context: CREATE TABLE table_name_14 (time VARCHAR, method VARCHAR)[/INST]SELECT time FROM table_name_14 WHERE method = "submission (knees)"</s> |
CREATE TABLE table_243664_1 (game_cost VARCHAR, real_life_eventual_outcome VARCHAR) | SELECT game_cost FROM table_243664_1 WHERE real_life_eventual_outcome = "Merged with New York Central to form Penn Central" | Name the game cost for merged with new york central to form penn central | <s>[INST]Name the game cost for merged with new york central to form penn central Context: CREATE TABLE table_243664_1 (game_cost VARCHAR, real_life_eventual_outcome VARCHAR)[/INST]SELECT game_cost FROM table_243664_1 WHERE real_life_eventual_outcome = "Merged with New York Central to form Penn Central"</s> |
CREATE TABLE table_11691212_2 (lap_by_lap VARCHAR, viewers VARCHAR) | SELECT lap_by_lap FROM table_11691212_2 WHERE viewers = "13.4 million" | Who narrated the lap-by-lap to a 13.4 million audience? | <s>[INST]Who narrated the lap-by-lap to a 13.4 million audience? Context: CREATE TABLE table_11691212_2 (lap_by_lap VARCHAR, viewers VARCHAR)[/INST]SELECT lap_by_lap FROM table_11691212_2 WHERE viewers = "13.4 million"</s> |
CREATE TABLE table_name_66 (position VARCHAR, drawn VARCHAR, played VARCHAR) | SELECT COUNT(position) FROM table_name_66 WHERE drawn > 7 AND played < 40 | What is the total number of positions for teams with more than 7 draws and under 40 played? | <s>[INST]What is the total number of positions for teams with more than 7 draws and under 40 played? Context: CREATE TABLE table_name_66 (position VARCHAR, drawn VARCHAR, played VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_66 WHERE drawn > 7 AND played < 40</s> |
CREATE TABLE table_name_53 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_53 WHERE date = "october 22, 1976" | What was the score of the game that took place on october 22, 1976? | <s>[INST]What was the score of the game that took place on october 22, 1976? Context: CREATE TABLE table_name_53 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_53 WHERE date = "october 22, 1976"</s> |
CREATE TABLE table_1751142_2 (level INTEGER) | SELECT MAX(level) FROM table_1751142_2 | What is the highest possible level? | <s>[INST]What is the highest possible level? Context: CREATE TABLE table_1751142_2 (level INTEGER)[/INST]SELECT MAX(level) FROM table_1751142_2</s> |
CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_61 WHERE venue = "junction oval" | What was the smallest crowd at junction oval? | <s>[INST]What was the smallest crowd at junction oval? Context: CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_61 WHERE venue = "junction oval"</s> |
CREATE TABLE loan (branch_id VARCHAR); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR) | SELECT DISTINCT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id | Find the name of bank branches that provided some loans. | <s>[INST]Find the name of bank branches that provided some loans. Context: CREATE TABLE loan (branch_id VARCHAR); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR)[/INST]SELECT DISTINCT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id</s> |
CREATE TABLE table_name_73 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_73 WHERE home_team = "footscray" | Which Venue is the one for the footscray Home team? | <s>[INST]Which Venue is the one for the footscray Home team? Context: CREATE TABLE table_name_73 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_73 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_76 (d3_compatible VARCHAR, availability VARCHAR, name VARCHAR) | SELECT d3_compatible FROM table_name_76 WHERE availability = "yes" AND name = "wode jukebox" | Tell me the D3 compatible for availability of yes for wode jukebox | <s>[INST]Tell me the D3 compatible for availability of yes for wode jukebox Context: CREATE TABLE table_name_76 (d3_compatible VARCHAR, availability VARCHAR, name VARCHAR)[/INST]SELECT d3_compatible FROM table_name_76 WHERE availability = "yes" AND name = "wode jukebox"</s> |
CREATE TABLE table_name_5 (name VARCHAR) | SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva" | What is the 4.45 for Yelena Isinbayeva? | <s>[INST]What is the 4.45 for Yelena Isinbayeva? Context: CREATE TABLE table_name_5 (name VARCHAR)[/INST]SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva"</s> |
CREATE TABLE table_name_31 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_31 WHERE record = "1-4" | What is the Location Attendance with a Record that is 1-4? | <s>[INST]What is the Location Attendance with a Record that is 1-4? Context: CREATE TABLE table_name_31 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_name_31 WHERE record = "1-4"</s> |
CREATE TABLE table_name_79 (track VARCHAR, year VARCHAR) | SELECT track FROM table_name_79 WHERE year = "1979" | What is the name of the track that hosted the Swedish Grand Prix in 1979? | <s>[INST]What is the name of the track that hosted the Swedish Grand Prix in 1979? Context: CREATE TABLE table_name_79 (track VARCHAR, year VARCHAR)[/INST]SELECT track FROM table_name_79 WHERE year = "1979"</s> |
CREATE TABLE table_25740548_2 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_25740548_2 WHERE written_by = "Matthew Lau" | Who was the director for episodes that were written be Matthew Lau? | <s>[INST]Who was the director for episodes that were written be Matthew Lau? Context: CREATE TABLE table_25740548_2 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_25740548_2 WHERE written_by = "Matthew Lau"</s> |
CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, driver VARCHAR) | SELECT engine FROM table_name_99 WHERE entrant = "scuderia ferrari" AND driver = "raymond sommer" | Which engine has the entrant scuderia ferrari and is driven by Raymond Sommer? | <s>[INST]Which engine has the entrant scuderia ferrari and is driven by Raymond Sommer? Context: CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, driver VARCHAR)[/INST]SELECT engine FROM table_name_99 WHERE entrant = "scuderia ferrari" AND driver = "raymond sommer"</s> |
CREATE TABLE table_name_63 (formula VARCHAR, refractive_index_es__5893nm VARCHAR) | SELECT formula FROM table_name_63 WHERE refractive_index_es__5893nm = "1.97" | Which formula has a refractive index 589.3 at 1.97? | <s>[INST]Which formula has a refractive index 589.3 at 1.97? Context: CREATE TABLE table_name_63 (formula VARCHAR, refractive_index_es__5893nm VARCHAR)[/INST]SELECT formula FROM table_name_63 WHERE refractive_index_es__5893nm = "1.97"</s> |
CREATE TABLE table_name_10 (number VARCHAR, name VARCHAR, builder VARCHAR, date VARCHAR) | SELECT COUNT(number) FROM table_name_10 WHERE builder = "ruston hornsby" AND date = 1961 AND name = "topsy" | What number has the builder ruston hornsby, the date 1961, and the name Topsy? | <s>[INST]What number has the builder ruston hornsby, the date 1961, and the name Topsy? Context: CREATE TABLE table_name_10 (number VARCHAR, name VARCHAR, builder VARCHAR, date VARCHAR)[/INST]SELECT COUNT(number) FROM table_name_10 WHERE builder = "ruston hornsby" AND date = 1961 AND name = "topsy"</s> |
CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_52 WHERE date = "november 24, 1991" | Which Opponent has a Date of november 24, 1991? | <s>[INST]Which Opponent has a Date of november 24, 1991? Context: CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_52 WHERE date = "november 24, 1991"</s> |
CREATE TABLE table_name_80 (tournament VARCHAR) | SELECT 2010 FROM table_name_80 WHERE tournament = "australian open" | Which 2010 has a Tournament of australian open? | <s>[INST]Which 2010 has a Tournament of australian open? Context: CREATE TABLE table_name_80 (tournament VARCHAR)[/INST]SELECT 2010 FROM table_name_80 WHERE tournament = "australian open"</s> |
CREATE TABLE table_name_16 (gender VARCHAR, decile VARCHAR, name VARCHAR) | SELECT gender FROM table_name_16 WHERE decile > 1 AND name = "south auckland seventh-day adventist school" | Which gender had a decile of more than 1 and featured the South Auckland Seventh-Day Adventist School? | <s>[INST]Which gender had a decile of more than 1 and featured the South Auckland Seventh-Day Adventist School? Context: CREATE TABLE table_name_16 (gender VARCHAR, decile VARCHAR, name VARCHAR)[/INST]SELECT gender FROM table_name_16 WHERE decile > 1 AND name = "south auckland seventh-day adventist school"</s> |
CREATE TABLE table_name_56 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_56 WHERE circuit = "eastern creek raceway" | The Eastern Creek Raceway circuit is on what date? | <s>[INST]The Eastern Creek Raceway circuit is on what date? Context: CREATE TABLE table_name_56 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE circuit = "eastern creek raceway"</s> |
CREATE TABLE table_name_70 (team VARCHAR, qual_1 VARCHAR) | SELECT team FROM table_name_70 WHERE qual_1 = "1:16.417" | What is Team, when Qual 1 is 1:16.417? | <s>[INST]What is Team, when Qual 1 is 1:16.417? Context: CREATE TABLE table_name_70 (team VARCHAR, qual_1 VARCHAR)[/INST]SELECT team FROM table_name_70 WHERE qual_1 = "1:16.417"</s> |
CREATE TABLE table_16912000_13 (kr_td VARCHAR, mfg_lg VARCHAR) | SELECT kr_td FROM table_16912000_13 WHERE mfg_lg = 64 | What is the kr td when mfg lg is 64? | <s>[INST]What is the kr td when mfg lg is 64? Context: CREATE TABLE table_16912000_13 (kr_td VARCHAR, mfg_lg VARCHAR)[/INST]SELECT kr_td FROM table_16912000_13 WHERE mfg_lg = 64</s> |
CREATE TABLE table_name_56 (ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_class FROM table_name_56 WHERE location = "monon" | What is the IHSAA class in monon? | <s>[INST]What is the IHSAA class in monon? Context: CREATE TABLE table_name_56 (ihsaa_class VARCHAR, location VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_56 WHERE location = "monon"</s> |
CREATE TABLE table_name_54 (shuttle_run__sec_ VARCHAR, points VARCHAR) | SELECT shuttle_run__sec_ FROM table_name_54 WHERE points = 2 | How many seconds is a shuttle run that give 2 points? | <s>[INST]How many seconds is a shuttle run that give 2 points? Context: CREATE TABLE table_name_54 (shuttle_run__sec_ VARCHAR, points VARCHAR)[/INST]SELECT shuttle_run__sec_ FROM table_name_54 WHERE points = 2</s> |
CREATE TABLE table_name_96 (losses INTEGER, wins VARCHAR, rank VARCHAR, team VARCHAR) | SELECT MIN(losses) FROM table_name_96 WHERE rank < 3 AND team = "united states" AND wins > 6 | What is the lowest amount of losses the United States, ranked higher than 3 with more than 6 wins, have? | <s>[INST]What is the lowest amount of losses the United States, ranked higher than 3 with more than 6 wins, have? Context: CREATE TABLE table_name_96 (losses INTEGER, wins VARCHAR, rank VARCHAR, team VARCHAR)[/INST]SELECT MIN(losses) FROM table_name_96 WHERE rank < 3 AND team = "united states" AND wins > 6</s> |
CREATE TABLE table_1342149_6 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1342149_6 WHERE first_elected = "1946" | Who was the first elected incumbent in the 1946 election? | <s>[INST]Who was the first elected incumbent in the 1946 election? Context: CREATE TABLE table_1342149_6 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_1342149_6 WHERE first_elected = "1946"</s> |
CREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR) | SELECT AVG(year) FROM table_name_92 WHERE result = "nominated" AND film_series = "thirst" AND award = "best actress" AND group = "baeksang arts awards" | What is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards? | <s>[INST]What is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards? Context: CREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR)[/INST]SELECT AVG(year) FROM table_name_92 WHERE result = "nominated" AND film_series ... |
CREATE TABLE table_19753079_36 (result VARCHAR, district VARCHAR) | SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7" | Name the result for north carolina 7 | <s>[INST]Name the result for north carolina 7 Context: CREATE TABLE table_19753079_36 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7"</s> |
CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_99 WHERE score = 69 - 71 - 66 = 206 | What is the Country of the Player with a Score of 69-71-66=206? | <s>[INST]What is the Country of the Player with a Score of 69-71-66=206? Context: CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_99 WHERE score = 69 - 71 - 66 = 206</s> |
CREATE TABLE table_2941848_10 (pregame_hosts VARCHAR, pregame_analysts VARCHAR, year VARCHAR) | SELECT pregame_hosts FROM table_2941848_10 WHERE pregame_analysts = "Dave Campbell" AND year = 2001 | Who is the pregame host when the pregame analysts is Dave Campbell and the year is 2001? | <s>[INST]Who is the pregame host when the pregame analysts is Dave Campbell and the year is 2001? Context: CREATE TABLE table_2941848_10 (pregame_hosts VARCHAR, pregame_analysts VARCHAR, year VARCHAR)[/INST]SELECT pregame_hosts FROM table_2941848_10 WHERE pregame_analysts = "Dave Campbell" AND year = 2001</s> |
CREATE TABLE table_name_9 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR) | SELECT name FROM table_name_9 WHERE overall > 164 AND pick__number > 2 AND position = "running back" AND round = 16 | Which name has an overall number of more than 164, when the pick number is more than 2, the position is running back, and the round is 16? | <s>[INST]Which name has an overall number of more than 164, when the pick number is more than 2, the position is running back, and the round is 16? Context: CREATE TABLE table_name_9 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR)[/INST]SELECT name FROM table_name_9 WHERE overall ... |
CREATE TABLE table_name_20 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_20 WHERE college = "vanderbilt" | Which player went to Vanderbilt? | <s>[INST]Which player went to Vanderbilt? Context: CREATE TABLE table_name_20 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_20 WHERE college = "vanderbilt"</s> |
CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | SELECT SUM(bronze) FROM table_name_9 WHERE rank = "10" AND gold < 0 | How many bronzes had a rank of 10 and 0 gold? | <s>[INST]How many bronzes had a rank of 10 and 0 gold? Context: CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, gold VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_9 WHERE rank = "10" AND gold < 0</s> |
CREATE TABLE table_11948857_1 (county_s__represented VARCHAR, member_senator VARCHAR) | SELECT county_s__represented FROM table_11948857_1 WHERE member_senator = "C. Anthony Muse" | What is the county for senator C. Anthony Muse? | <s>[INST]What is the county for senator C. Anthony Muse? Context: CREATE TABLE table_11948857_1 (county_s__represented VARCHAR, member_senator VARCHAR)[/INST]SELECT county_s__represented FROM table_11948857_1 WHERE member_senator = "C. Anthony Muse"</s> |
CREATE TABLE table_name_15 (wins INTEGER, events VARCHAR, top_5 VARCHAR) | SELECT SUM(wins) FROM table_name_15 WHERE events = 13 AND top_5 < 1 | what is the sum of wins when events is 13 and top-5 is less than 1? | <s>[INST]what is the sum of wins when events is 13 and top-5 is less than 1? Context: CREATE TABLE table_name_15 (wins INTEGER, events VARCHAR, top_5 VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_15 WHERE events = 13 AND top_5 < 1</s> |
CREATE TABLE table_name_57 (total INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT MAX(total) FROM table_name_57 WHERE rank < 4 AND nation = "tunisia (tun)" AND gold < 2 | What is the highest Total with a Rank that is smaller than 4 and a Nation of tunisia (tun) with a Gold that is smaller than 2? | <s>[INST]What is the highest Total with a Rank that is smaller than 4 and a Nation of tunisia (tun) with a Gold that is smaller than 2? Context: CREATE TABLE table_name_57 (total INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)[/INST]SELECT MAX(total) FROM table_name_57 WHERE rank < 4 AND nation = "tunisia (tun)" A... |
CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR, salary VARCHAR) | SELECT name FROM instructor WHERE dept_name = 'Statistics' ORDER BY salary LIMIT 1 | what is the name of the instructor who is in Statistics department and earns the lowest salary? | <s>[INST]what is the name of the instructor who is in Statistics department and earns the lowest salary? Context: CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR, salary VARCHAR)[/INST]SELECT name FROM instructor WHERE dept_name = 'Statistics' ORDER BY salary LIMIT 1</s> |
CREATE TABLE table_name_96 (permanent_account VARCHAR, updated_in_past_30_days VARCHAR) | SELECT permanent_account FROM table_name_96 WHERE updated_in_past_30_days = "10324" | What is Permanent Account, when Updated In Past 30 Days is 10324? | <s>[INST]What is Permanent Account, when Updated In Past 30 Days is 10324? Context: CREATE TABLE table_name_96 (permanent_account VARCHAR, updated_in_past_30_days VARCHAR)[/INST]SELECT permanent_account FROM table_name_96 WHERE updated_in_past_30_days = "10324"</s> |
CREATE TABLE table_name_64 (attendance INTEGER, result VARCHAR) | SELECT MAX(attendance) FROM table_name_64 WHERE result = "l 23-20" | What was the highest attendance of games that resulted in L 23-20? | <s>[INST]What was the highest attendance of games that resulted in L 23-20? Context: CREATE TABLE table_name_64 (attendance INTEGER, result VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_64 WHERE result = "l 23-20"</s> |
CREATE TABLE table_14573770_4 (winners INTEGER, nation VARCHAR) | SELECT MAX(winners) FROM table_14573770_4 WHERE nation = "Argentina" | How many times did argentina win? | <s>[INST]How many times did argentina win? Context: CREATE TABLE table_14573770_4 (winners INTEGER, nation VARCHAR)[/INST]SELECT MAX(winners) FROM table_14573770_4 WHERE nation = "Argentina"</s> |
CREATE TABLE table_27986200_3 (aggregate_score VARCHAR, proceed_to_quarter_final VARCHAR) | SELECT aggregate_score FROM table_27986200_3 WHERE proceed_to_quarter_final = "Montauban" | What was the aggregate score for Montauban? | <s>[INST]What was the aggregate score for Montauban? Context: CREATE TABLE table_27986200_3 (aggregate_score VARCHAR, proceed_to_quarter_final VARCHAR)[/INST]SELECT aggregate_score FROM table_27986200_3 WHERE proceed_to_quarter_final = "Montauban"</s> |
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR) | SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Prolonged" | Is prothrombin time long when thromboplastin is prolonged? | <s>[INST]Is prothrombin time long when thromboplastin is prolonged? Context: CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)[/INST]SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Prolong... |
CREATE TABLE table_name_46 (partner VARCHAR, opponents_in_the_final VARCHAR) | SELECT partner FROM table_name_46 WHERE opponents_in_the_final = "františek čermák michal mertiňák" | Name the partner for opponents of františek čermák michal mertiňák | <s>[INST]Name the partner for opponents of františek čermák michal mertiňák Context: CREATE TABLE table_name_46 (partner VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_46 WHERE opponents_in_the_final = "františek čermák michal mertiňák"</s> |
CREATE TABLE table_name_60 (year INTEGER, chassis VARCHAR, points VARCHAR) | SELECT MIN(year) FROM table_name_60 WHERE chassis = "mp4-17d" AND points < 142 | What is the earliest year with a mp4-17d chassis and less than 142 points. | <s>[INST]What is the earliest year with a mp4-17d chassis and less than 142 points. Context: CREATE TABLE table_name_60 (year INTEGER, chassis VARCHAR, points VARCHAR)[/INST]SELECT MIN(year) FROM table_name_60 WHERE chassis = "mp4-17d" AND points < 142</s> |
CREATE TABLE table_name_22 (population_1961 INTEGER, administrative_county VARCHAR, population_1891 VARCHAR) | SELECT SUM(population_1961) FROM table_name_22 WHERE administrative_county = "west sussex" AND population_1891 < 120 OFFSET 952 | What is the Population 1961 of West Sussex with a Population of 120,952 or less? | <s>[INST]What is the Population 1961 of West Sussex with a Population of 120,952 or less? Context: CREATE TABLE table_name_22 (population_1961 INTEGER, administrative_county VARCHAR, population_1891 VARCHAR)[/INST]SELECT SUM(population_1961) FROM table_name_22 WHERE administrative_county = "west sussex" AND population_... |
CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_64 WHERE score = "58-4" | Which competition ended with a score of 58-4? | <s>[INST]Which competition ended with a score of 58-4? Context: CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_64 WHERE score = "58-4"</s> |
CREATE TABLE table_22815568_2 (status VARCHAR, population VARCHAR) | SELECT COUNT(status) FROM table_22815568_2 WHERE population = 90565 | How many status' are there with a population of 90565? | <s>[INST]How many status' are there with a population of 90565? Context: CREATE TABLE table_22815568_2 (status VARCHAR, population VARCHAR)[/INST]SELECT COUNT(status) FROM table_22815568_2 WHERE population = 90565</s> |
CREATE TABLE table_1342338_3 (first_elected VARCHAR, result VARCHAR) | SELECT first_elected FROM table_1342338_3 WHERE result = "Lost renomination" | How many in lost renomination results were elected first? | <s>[INST]How many in lost renomination results were elected first? Context: CREATE TABLE table_1342338_3 (first_elected VARCHAR, result VARCHAR)[/INST]SELECT first_elected FROM table_1342338_3 WHERE result = "Lost renomination"</s> |
CREATE TABLE table_name_55 (ground VARCHAR, home_team VARCHAR) | SELECT ground FROM table_name_55 WHERE home_team = "carlton" | What was the Home team Carlton's Ground? | <s>[INST]What was the Home team Carlton's Ground? Context: CREATE TABLE table_name_55 (ground VARCHAR, home_team VARCHAR)[/INST]SELECT ground FROM table_name_55 WHERE home_team = "carlton"</s> |
CREATE TABLE table_name_38 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_38 WHERE result = "17-1" | What competition has 17-1 as the result? | <s>[INST]What competition has 17-1 as the result? Context: CREATE TABLE table_name_38 (competition VARCHAR, result VARCHAR)[/INST]SELECT competition FROM table_name_38 WHERE result = "17-1"</s> |
CREATE TABLE table_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR) | SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203" | What was the max character (per page row) of the encoding with a bit rate of 6.203? | <s>[INST]What was the max character (per page row) of the encoding with a bit rate of 6.203? Context: CREATE TABLE table_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)[/INST]SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203"</s> |
CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_25 WHERE venue = "princes park" | Who was the home team at princes park? | <s>[INST]Who was the home team at princes park? Context: CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_25 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR) | SELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < "4" AND rank = "4" | What Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4? | <s>[INST]What Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4? Context: CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < "4" AND rank... |
CREATE TABLE table_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR) | SELECT date_of_appointment FROM table_27383390_4 WHERE position_in_table = 16 | When is the date of appointment when the position in table is 16? | <s>[INST]When is the date of appointment when the position in table is 16? Context: CREATE TABLE table_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR)[/INST]SELECT date_of_appointment FROM table_27383390_4 WHERE position_in_table = 16</s> |
CREATE TABLE table_12340907_1 (total_costs__2005_ VARCHAR, municipality VARCHAR) | SELECT total_costs__2005_ FROM table_12340907_1 WHERE municipality = "Coldstream" | What is the value of total costs (2005) in the Coldstream municipality? | <s>[INST]What is the value of total costs (2005) in the Coldstream municipality? Context: CREATE TABLE table_12340907_1 (total_costs__2005_ VARCHAR, municipality VARCHAR)[/INST]SELECT total_costs__2005_ FROM table_12340907_1 WHERE municipality = "Coldstream"</s> |
CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_21 WHERE player = "larry mize" | What country is Larry Mize from? | <s>[INST]What country is Larry Mize from? Context: CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_21 WHERE player = "larry mize"</s> |
CREATE TABLE table_name_8 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR) | SELECT MAX(evening_gown) FROM table_name_8 WHERE average = 9.531 AND swimsuit < 9.449 | What is the highest evening gown with an average of 9.531 and swimsuit smaller than 9.449? | <s>[INST]What is the highest evening gown with an average of 9.531 and swimsuit smaller than 9.449? Context: CREATE TABLE table_name_8 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR)[/INST]SELECT MAX(evening_gown) FROM table_name_8 WHERE average = 9.531 AND swimsuit < 9.449</s> |
CREATE TABLE table_name_28 (launched VARCHAR, completed VARCHAR) | SELECT launched FROM table_name_28 WHERE completed = "1 july 1936" | What is the launched date of the destroyer completed 1 July 1936? | <s>[INST]What is the launched date of the destroyer completed 1 July 1936? Context: CREATE TABLE table_name_28 (launched VARCHAR, completed VARCHAR)[/INST]SELECT launched FROM table_name_28 WHERE completed = "1 july 1936"</s> |
CREATE TABLE table_name_4 (games INTEGER, rank VARCHAR, rebounds VARCHAR) | SELECT MIN(games) FROM table_name_4 WHERE rank > 1 AND rebounds > 212 | How few games are there for a rank more than 1 and more than 212 rebounds? | <s>[INST]How few games are there for a rank more than 1 and more than 212 rebounds? Context: CREATE TABLE table_name_4 (games INTEGER, rank VARCHAR, rebounds VARCHAR)[/INST]SELECT MIN(games) FROM table_name_4 WHERE rank > 1 AND rebounds > 212</s> |
CREATE TABLE table_name_34 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_34 WHERE venue = "glenferrie oval" | What away team played at Glenferrie Oval? | <s>[INST]What away team played at Glenferrie Oval? Context: CREATE TABLE table_name_34 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_34 WHERE venue = "glenferrie oval"</s> |
CREATE TABLE table_name_93 (built VARCHAR, builder VARCHAR) | SELECT built FROM table_name_93 WHERE builder = "stephenson" | What year was Stephenson the builder? | <s>[INST]What year was Stephenson the builder? Context: CREATE TABLE table_name_93 (built VARCHAR, builder VARCHAR)[/INST]SELECT built FROM table_name_93 WHERE builder = "stephenson"</s> |
CREATE TABLE table_name_78 (record VARCHAR, arena VARCHAR) | SELECT record FROM table_name_78 WHERE arena = "palasport olimpico" | What is the record at Palasport Olimpico? | <s>[INST]What is the record at Palasport Olimpico? Context: CREATE TABLE table_name_78 (record VARCHAR, arena VARCHAR)[/INST]SELECT record FROM table_name_78 WHERE arena = "palasport olimpico"</s> |
CREATE TABLE table_1277350_7 (saturday_day_seven VARCHAR, thursday_day_five VARCHAR) | SELECT saturday_day_seven FROM table_1277350_7 WHERE thursday_day_five = "ሐሙስ hamus" | What is saturday day seven when thursday day five is ሐሙስ hamus? | <s>[INST]What is saturday day seven when thursday day five is ሐሙስ hamus? Context: CREATE TABLE table_1277350_7 (saturday_day_seven VARCHAR, thursday_day_five VARCHAR)[/INST]SELECT saturday_day_seven FROM table_1277350_7 WHERE thursday_day_five = "ሐሙስ hamus"</s> |
CREATE TABLE membership_register_branch (name VARCHAR, city VARCHAR, branch_id VARCHAR); CREATE TABLE branch (name VARCHAR, city VARCHAR, branch_id VARCHAR) | SELECT name, city FROM branch WHERE NOT branch_id IN (SELECT branch_id FROM membership_register_branch) | List the branch name and city without any registered members. | <s>[INST]List the branch name and city without any registered members. Context: CREATE TABLE membership_register_branch (name VARCHAR, city VARCHAR, branch_id VARCHAR); CREATE TABLE branch (name VARCHAR, city VARCHAR, branch_id VARCHAR)[/INST]SELECT name, city FROM branch WHERE NOT branch_id IN (SELECT branch_id FROM m... |
CREATE TABLE table_name_52 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_52 WHERE record = "32–34" | What was the loss of the game when the record was 32–34? | <s>[INST]What was the loss of the game when the record was 32–34? Context: CREATE TABLE table_name_52 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_52 WHERE record = "32–34"</s> |
CREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR) | SELECT position FROM table_name_69 WHERE venue = "rome" AND time < 40.2 | What position has a time less than 40.2 at the rome venue? | <s>[INST]What position has a time less than 40.2 at the rome venue? Context: CREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR)[/INST]SELECT position FROM table_name_69 WHERE venue = "rome" AND time < 40.2</s> |
CREATE TABLE table_name_19 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_19 WHERE date = "11/11/01" | What is the attendance for the date of 11/11/01? | <s>[INST]What is the attendance for the date of 11/11/01? Context: CREATE TABLE table_name_19 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_19 WHERE date = "11/11/01"</s> |
CREATE TABLE Invoices (invoice_number VARCHAR, invoice_date VARCHAR); CREATE TABLE Financial_transactions (invoice_number VARCHAR) | SELECT T2.invoice_number, T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number = T2.invoice_number GROUP BY T1.invoice_number ORDER BY COUNT(*) DESC LIMIT 1 | What is the invoice number and invoice date for the invoice with most number of transactions? | <s>[INST]What is the invoice number and invoice date for the invoice with most number of transactions? Context: CREATE TABLE Invoices (invoice_number VARCHAR, invoice_date VARCHAR); CREATE TABLE Financial_transactions (invoice_number VARCHAR)[/INST]SELECT T2.invoice_number, T2.invoice_date FROM Financial_transactions A... |
CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR) | SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2003 EuroBasket" | How many rebounds per game did he have at the 2003 eurobasket? | <s>[INST]How many rebounds per game did he have at the 2003 eurobasket? Context: CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)[/INST]SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2003 EuroBasket"</s> |
CREATE TABLE table_25649467_2 (series__number VARCHAR, season__number VARCHAR) | SELECT COUNT(series__number) FROM table_25649467_2 WHERE season__number = 12 | When 12 is the season number how many series numbers are there? | <s>[INST]When 12 is the season number how many series numbers are there? Context: CREATE TABLE table_25649467_2 (series__number VARCHAR, season__number VARCHAR)[/INST]SELECT COUNT(series__number) FROM table_25649467_2 WHERE season__number = 12</s> |
CREATE TABLE table_name_5 (result VARCHAR, distance VARCHAR, weight__kg_ VARCHAR) | SELECT result FROM table_name_5 WHERE distance = "1200m" AND weight__kg_ = 55.5 | Name The Result that has a Distance of 1200m, and a Weight (kg) of 55.5? | <s>[INST]Name The Result that has a Distance of 1200m, and a Weight (kg) of 55.5? Context: CREATE TABLE table_name_5 (result VARCHAR, distance VARCHAR, weight__kg_ VARCHAR)[/INST]SELECT result FROM table_name_5 WHERE distance = "1200m" AND weight__kg_ = 55.5</s> |
CREATE TABLE table_26387382_1 (power__mw·hr_yr_ VARCHAR, location__county_ VARCHAR) | SELECT power__mw·hr_yr_ FROM table_26387382_1 WHERE location__county_ = "Centre" | What locations are considered centre? | <s>[INST]What locations are considered centre? Context: CREATE TABLE table_26387382_1 (power__mw·hr_yr_ VARCHAR, location__county_ VARCHAR)[/INST]SELECT power__mw·hr_yr_ FROM table_26387382_1 WHERE location__county_ = "Centre"</s> |
CREATE TABLE table_10284385_1 (party VARCHAR, date_of_birth VARCHAR) | SELECT party FROM table_10284385_1 WHERE date_of_birth = "November 10, 1880" | Which politican party has a birthday of November 10, 1880 | <s>[INST]Which politican party has a birthday of November 10, 1880 Context: CREATE TABLE table_10284385_1 (party VARCHAR, date_of_birth VARCHAR)[/INST]SELECT party FROM table_10284385_1 WHERE date_of_birth = "November 10, 1880"</s> |
CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_45 WHERE date = "24 july 2011" | Name the opponents for 24 july 2011 | <s>[INST]Name the opponents for 24 july 2011 Context: CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR)[/INST]SELECT opponents FROM table_name_45 WHERE date = "24 july 2011"</s> |
CREATE TABLE table_name_39 (fastest_lap VARCHAR, grand_prix VARCHAR) | SELECT fastest_lap FROM table_name_39 WHERE grand_prix = "brazilian grand prix" | Name the fastest lap for the brazilian grand prix | <s>[INST]Name the fastest lap for the brazilian grand prix Context: CREATE TABLE table_name_39 (fastest_lap VARCHAR, grand_prix VARCHAR)[/INST]SELECT fastest_lap FROM table_name_39 WHERE grand_prix = "brazilian grand prix"</s> |
CREATE TABLE table_name_49 (television_service VARCHAR, content VARCHAR) | SELECT television_service FROM table_name_49 WHERE content = "general television" | Which Television service has a Content of general television? | <s>[INST]Which Television service has a Content of general television? Context: CREATE TABLE table_name_49 (television_service VARCHAR, content VARCHAR)[/INST]SELECT television_service FROM table_name_49 WHERE content = "general television"</s> |
CREATE TABLE table_12837_1 (days_with_rain__year_summer_ VARCHAR, city_town VARCHAR) | SELECT days_with_rain__year_summer_ FROM table_12837_1 WHERE city_town = "Santiago de Compostela" | What is the days with rain figure for the city of Santiago de Compostela? | <s>[INST]What is the days with rain figure for the city of Santiago de Compostela? Context: CREATE TABLE table_12837_1 (days_with_rain__year_summer_ VARCHAR, city_town VARCHAR)[/INST]SELECT days_with_rain__year_summer_ FROM table_12837_1 WHERE city_town = "Santiago de Compostela"</s> |
CREATE TABLE table_15887683_1 (package_option VARCHAR, television_service VARCHAR) | SELECT package_option FROM table_15887683_1 WHERE television_service = "Rai 3" | What are the package/options when the TV service is rai 3? | <s>[INST]What are the package/options when the TV service is rai 3? Context: CREATE TABLE table_15887683_1 (package_option VARCHAR, television_service VARCHAR)[/INST]SELECT package_option FROM table_15887683_1 WHERE television_service = "Rai 3"</s> |
CREATE TABLE table_name_40 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_vacancy FROM table_name_40 WHERE manner_of_departure = "mutual consent" AND outgoing_manager = "svetozar šapurić" | What was the date of vacancy of svetozar šapurić who departed with mutual consent? | <s>[INST]What was the date of vacancy of svetozar šapurić who departed with mutual consent? Context: CREATE TABLE table_name_40 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_vacancy FROM table_name_40 WHERE manner_of_departure = "mutual consent" AND outgoing_manag... |
CREATE TABLE table_name_43 (college VARCHAR, team VARCHAR) | SELECT college FROM table_name_43 WHERE team = "new york jets" | The New York Jets picked someone from what college? | <s>[INST]The New York Jets picked someone from what college? Context: CREATE TABLE table_name_43 (college VARCHAR, team VARCHAR)[/INST]SELECT college FROM table_name_43 WHERE team = "new york jets"</s> |
CREATE TABLE LOTS (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE TRANSACTIONS_LOTS (transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, share_count INTEGER) | SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.share_count < 50 | What are the lot details of lots associated with transactions with share count smaller than 50? | <s>[INST]What are the lot details of lots associated with transactions with share count smaller than 50? Context: CREATE TABLE LOTS (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE TRANSACTIONS_LOTS (transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, share_count INTEGER)[/INST]SELECT T1.lot_... |
CREATE TABLE table_name_83 (left_office VARCHAR, minister VARCHAR) | SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia" | Tell me the left office for enrico la loggia | <s>[INST]Tell me the left office for enrico la loggia Context: CREATE TABLE table_name_83 (left_office VARCHAR, minister VARCHAR)[/INST]SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia"</s> |
CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR) | SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the name of the high schooler who has the greatest number of likes? | <s>[INST]What is the name of the high schooler who has the greatest number of likes? Context: CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)[/INST]SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC... |
CREATE TABLE table_name_98 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_98 WHERE event = "ufc 44" | The UFC 44 event has what method? | <s>[INST]The UFC 44 event has what method? Context: CREATE TABLE table_name_98 (method VARCHAR, event VARCHAR)[/INST]SELECT method FROM table_name_98 WHERE event = "ufc 44"</s> |
CREATE TABLE table_24781886_3 (title VARCHAR, _number VARCHAR) | SELECT title FROM table_24781886_3 WHERE _number = 9 | When 9 is the number what is the title? | <s>[INST]When 9 is the number what is the title? Context: CREATE TABLE table_24781886_3 (title VARCHAR, _number VARCHAR)[/INST]SELECT title FROM table_24781886_3 WHERE _number = 9</s> |
CREATE TABLE table_name_28 (greek_designation VARCHAR, city VARCHAR) | SELECT greek_designation FROM table_name_28 WHERE city = "riverside" | What's the greek designation of the city riverside? | <s>[INST]What's the greek designation of the city riverside? Context: CREATE TABLE table_name_28 (greek_designation VARCHAR, city VARCHAR)[/INST]SELECT greek_designation FROM table_name_28 WHERE city = "riverside"</s> |
CREATE TABLE table_11210576_4 (character VARCHAR, fate VARCHAR) | SELECT character FROM table_11210576_4 WHERE fate = "Deceased: Knife Wound" | what's the character with fate being deceased: knife wound | <s>[INST]what's the character with fate being deceased: knife wound Context: CREATE TABLE table_11210576_4 (character VARCHAR, fate VARCHAR)[/INST]SELECT character FROM table_11210576_4 WHERE fate = "Deceased: Knife Wound"</s> |
CREATE TABLE table_name_16 (lane VARCHAR, heat INTEGER) | SELECT COUNT(lane) FROM table_name_16 WHERE heat > 7 | What is the total lane for a heat larger than 7? | <s>[INST]What is the total lane for a heat larger than 7? Context: CREATE TABLE table_name_16 (lane VARCHAR, heat INTEGER)[/INST]SELECT COUNT(lane) FROM table_name_16 WHERE heat > 7</s> |
CREATE TABLE table_name_23 (byte_string VARCHAR, max_memory__kwords_ VARCHAR, floating_point VARCHAR, memory_map VARCHAR, decimal VARCHAR) | SELECT byte_string FROM table_name_23 WHERE memory_map = "standard" AND decimal = "standard" AND floating_point = "standard" AND max_memory__kwords_ < 512 | What is the value for the byte string when the memory map, decimal, and floating points are all standard and the max memory is smaller than 512? | <s>[INST]What is the value for the byte string when the memory map, decimal, and floating points are all standard and the max memory is smaller than 512? Context: CREATE TABLE table_name_23 (byte_string VARCHAR, max_memory__kwords_ VARCHAR, floating_point VARCHAR, memory_map VARCHAR, decimal VARCHAR)[/INST]SELECT byte_... |
CREATE TABLE table_name_37 (constructor VARCHAR, chassis VARCHAR) | SELECT constructor FROM table_name_37 WHERE chassis = "fw20" | Who was the constructor for a FW20 chassis? | <s>[INST]Who was the constructor for a FW20 chassis? Context: CREATE TABLE table_name_37 (constructor VARCHAR, chassis VARCHAR)[/INST]SELECT constructor FROM table_name_37 WHERE chassis = "fw20"</s> |
CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR) | SELECT score FROM table_name_68 WHERE year > 1980 AND margin_of_victory = "2 strokes" AND country = "united states" AND player = "jim furyk" | Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk? | <s>[INST]Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk? Context: CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE yea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.