context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_35 (longitude VARCHAR, name VARCHAR) | SELECT longitude FROM table_name_35 WHERE name = "angerona tholus" | What is the longitude of Angerona Tholus? | <s>[INST]What is the longitude of Angerona Tholus? Context: CREATE TABLE table_name_35 (longitude VARCHAR, name VARCHAR)[/INST]SELECT longitude FROM table_name_35 WHERE name = "angerona tholus"</s> |
CREATE TABLE table_name_38 (owner VARCHAR, branding VARCHAR) | SELECT owner FROM table_name_38 WHERE branding = "rock 97.7" | What is the name of the owner of rock 97.7? | <s>[INST]What is the name of the owner of rock 97.7? Context: CREATE TABLE table_name_38 (owner VARCHAR, branding VARCHAR)[/INST]SELECT owner FROM table_name_38 WHERE branding = "rock 97.7"</s> |
CREATE TABLE table_name_87 (goals_scored INTEGER, loses VARCHAR, wins VARCHAR, goals_conceded VARCHAR) | SELECT MAX(goals_scored) FROM table_name_87 WHERE wins < 13 AND goals_conceded > 86 AND loses > 32 | What is the maximum goals score with less than 13 wins, greater than 86 goals were conceded, and more than 32 games lost? | <s>[INST]What is the maximum goals score with less than 13 wins, greater than 86 goals were conceded, and more than 32 games lost? Context: CREATE TABLE table_name_87 (goals_scored INTEGER, loses VARCHAR, wins VARCHAR, goals_conceded VARCHAR)[/INST]SELECT MAX(goals_scored) FROM table_name_87 WHERE wins < 13 AND goals_c... |
CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR) | SELECT wins FROM table_name_44 WHERE points = 217 | How many wins does the driver with 217 points have? | <s>[INST]How many wins does the driver with 217 points have? Context: CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR)[/INST]SELECT wins FROM table_name_44 WHERE points = 217</s> |
CREATE TABLE table_23385853_1 (rally_base VARCHAR, rally_name VARCHAR) | SELECT rally_base FROM table_23385853_1 WHERE rally_name = "Rallye de France Alsace" | Name the rally base for rallye de france alsace | <s>[INST]Name the rally base for rallye de france alsace Context: CREATE TABLE table_23385853_1 (rally_base VARCHAR, rally_name VARCHAR)[/INST]SELECT rally_base FROM table_23385853_1 WHERE rally_name = "Rallye de France Alsace"</s> |
CREATE TABLE table_name_81 (station VARCHAR, genre VARCHAR, language VARCHAR) | SELECT station FROM table_name_81 WHERE genre = "talk music" AND language = "malay english" | What station has a genre of talk music and is in Malay English language? | <s>[INST]What station has a genre of talk music and is in Malay English language? Context: CREATE TABLE table_name_81 (station VARCHAR, genre VARCHAR, language VARCHAR)[/INST]SELECT station FROM table_name_81 WHERE genre = "talk music" AND language = "malay english"</s> |
CREATE TABLE table_name_38 (award VARCHAR, result VARCHAR, year VARCHAR) | SELECT award FROM table_name_38 WHERE result = "nominated" AND year > 2011 | Name the award for nominated result and year after 2011 | <s>[INST]Name the award for nominated result and year after 2011 Context: CREATE TABLE table_name_38 (award VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT award FROM table_name_38 WHERE result = "nominated" AND year > 2011</s> |
CREATE TABLE table_name_39 (year_named INTEGER, name VARCHAR) | SELECT MAX(year_named) FROM table_name_39 WHERE name = "ganga valles" | What is the Year named of the Ganga Valles? | <s>[INST]What is the Year named of the Ganga Valles? Context: CREATE TABLE table_name_39 (year_named INTEGER, name VARCHAR)[/INST]SELECT MAX(year_named) FROM table_name_39 WHERE name = "ganga valles"</s> |
CREATE TABLE table_name_84 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_84 WHERE record = "10-8-1" | What is the location of the match with the record 10-8-1? | <s>[INST]What is the location of the match with the record 10-8-1? Context: CREATE TABLE table_name_84 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_84 WHERE record = "10-8-1"</s> |
CREATE TABLE table_name_31 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_31 WHERE date = "14 january 1973" | Which game was on 14 January 1973? | <s>[INST]Which game was on 14 January 1973? Context: CREATE TABLE table_name_31 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_31 WHERE date = "14 january 1973"</s> |
CREATE TABLE table_1507423_4 (avg_finish VARCHAR, avg_start VARCHAR) | SELECT avg_finish FROM table_1507423_4 WHERE avg_start = "18.4" | What was the average finish when the average start was 18.4? | <s>[INST]What was the average finish when the average start was 18.4? Context: CREATE TABLE table_1507423_4 (avg_finish VARCHAR, avg_start VARCHAR)[/INST]SELECT avg_finish FROM table_1507423_4 WHERE avg_start = "18.4"</s> |
CREATE TABLE table_name_66 (date VARCHAR, round VARCHAR) | SELECT date FROM table_name_66 WHERE round = "second round" | What is the date of the second round? | <s>[INST]What is the date of the second round? Context: CREATE TABLE table_name_66 (date VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE round = "second round"</s> |
CREATE TABLE table_name_11 (paper_type VARCHAR, first_day_cover_cancellation VARCHAR) | SELECT paper_type FROM table_name_11 WHERE first_day_cover_cancellation = "ottawa, on" | What is the Paper Type with a First Day Cover Cancellation with ottawa, on? | <s>[INST]What is the Paper Type with a First Day Cover Cancellation with ottawa, on? Context: CREATE TABLE table_name_11 (paper_type VARCHAR, first_day_cover_cancellation VARCHAR)[/INST]SELECT paper_type FROM table_name_11 WHERE first_day_cover_cancellation = "ottawa, on"</s> |
CREATE TABLE table_120778_2 (percent_yes VARCHAR, voted_yes VARCHAR) | SELECT percent_yes FROM table_120778_2 WHERE voted_yes = 2410119 | what's the percent yes where voted yes is 2410119 | <s>[INST] what's the percent yes where voted yes is 2410119 Context: CREATE TABLE table_120778_2 (percent_yes VARCHAR, voted_yes VARCHAR)[/INST]SELECT percent_yes FROM table_120778_2 WHERE voted_yes = 2410119</s> |
CREATE TABLE table_15261_1 (part_number VARCHAR, s_spec_number VARCHAR) | SELECT part_number FROM table_15261_1 WHERE s_spec_number = "SK096" | What is the part number for s-spec number sk096? | <s>[INST]What is the part number for s-spec number sk096? Context: CREATE TABLE table_15261_1 (part_number VARCHAR, s_spec_number VARCHAR)[/INST]SELECT part_number FROM table_15261_1 WHERE s_spec_number = "SK096"</s> |
CREATE TABLE table_10815352_1 (total_attendance VARCHAR, season VARCHAR) | SELECT COUNT(total_attendance) FROM table_10815352_1 WHERE season = "2010" | What's the total attendance of the leagues in season of 2010? | <s>[INST]What's the total attendance of the leagues in season of 2010? Context: CREATE TABLE table_10815352_1 (total_attendance VARCHAR, season VARCHAR)[/INST]SELECT COUNT(total_attendance) FROM table_10815352_1 WHERE season = "2010"</s> |
CREATE TABLE table_name_52 (game INTEGER, date VARCHAR) | SELECT SUM(game) FROM table_name_52 WHERE date = "february 28" | What is the sum of Game on february 28? | <s>[INST]What is the sum of Game on february 28? Context: CREATE TABLE table_name_52 (game INTEGER, date VARCHAR)[/INST]SELECT SUM(game) FROM table_name_52 WHERE date = "february 28"</s> |
CREATE TABLE table_name_68 (population VARCHAR, member_countries VARCHAR) | SELECT population FROM table_name_68 WHERE member_countries = "existing members (1973)" | What is the Population of the nation that has a Member countries consisting of existing members (1973)? | <s>[INST]What is the Population of the nation that has a Member countries consisting of existing members (1973)? Context: CREATE TABLE table_name_68 (population VARCHAR, member_countries VARCHAR)[/INST]SELECT population FROM table_name_68 WHERE member_countries = "existing members (1973)"</s> |
CREATE TABLE table_name_17 (republican_ticket VARCHAR, socialist_ticket VARCHAR) | SELECT republican_ticket FROM table_name_17 WHERE socialist_ticket = "louis waldman" | What is the name on the Republican ticket when the Socialist ticket was louis waldman? | <s>[INST]What is the name on the Republican ticket when the Socialist ticket was louis waldman? Context: CREATE TABLE table_name_17 (republican_ticket VARCHAR, socialist_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_17 WHERE socialist_ticket = "louis waldman"</s> |
CREATE TABLE table_name_89 (to_par VARCHAR, winner VARCHAR) | SELECT to_par FROM table_name_89 WHERE winner = "gary player" | What did winner Gary Player par? | <s>[INST]What did winner Gary Player par? Context: CREATE TABLE table_name_89 (to_par VARCHAR, winner VARCHAR)[/INST]SELECT to_par FROM table_name_89 WHERE winner = "gary player"</s> |
CREATE TABLE Player (pName VARCHAR) | SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%' | Find the players whose names contain letter 'a'. | <s>[INST]Find the players whose names contain letter 'a'. Context: CREATE TABLE Player (pName VARCHAR)[/INST]SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'</s> |
CREATE TABLE table_18646432_4 (written_by VARCHAR, original_air_date VARCHAR) | SELECT written_by FROM table_18646432_4 WHERE original_air_date = "September 29, 1999" | Who wrote the episode originally aired on September 29, 1999? | <s>[INST]Who wrote the episode originally aired on September 29, 1999? Context: CREATE TABLE table_18646432_4 (written_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT written_by FROM table_18646432_4 WHERE original_air_date = "September 29, 1999"</s> |
CREATE TABLE table_name_24 (country VARCHAR, abbreviation VARCHAR, assets_us$billion VARCHAR, inception VARCHAR) | SELECT country FROM table_name_24 WHERE assets_us$billion = "x" AND inception = "2007" AND abbreviation = "adic" | Which country has assets of x, an inception of 2007, and an abbreviation of adic? | <s>[INST]Which country has assets of x, an inception of 2007, and an abbreviation of adic? Context: CREATE TABLE table_name_24 (country VARCHAR, abbreviation VARCHAR, assets_us$billion VARCHAR, inception VARCHAR)[/INST]SELECT country FROM table_name_24 WHERE assets_us$billion = "x" AND inception = "2007" AND abbreviati... |
CREATE TABLE table_name_39 (overall_rank INTEGER, share VARCHAR, timeslot_rank VARCHAR) | SELECT AVG(overall_rank) FROM table_name_39 WHERE share = 6 AND timeslot_rank < 4 | What is the rank of the episode with a share of 6 and timeslot rank smaller than 4? | <s>[INST]What is the rank of the episode with a share of 6 and timeslot rank smaller than 4? Context: CREATE TABLE table_name_39 (overall_rank INTEGER, share VARCHAR, timeslot_rank VARCHAR)[/INST]SELECT AVG(overall_rank) FROM table_name_39 WHERE share = 6 AND timeslot_rank < 4</s> |
CREATE TABLE table_name_64 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_64 WHERE away_team = "st kilda" | What is the home team score when st kilda is the away team? | <s>[INST]What is the home team score when st kilda is the away team? Context: CREATE TABLE table_name_64 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_64 WHERE away_team = "st kilda"</s> |
CREATE TABLE table_29152820_1 (directed_by VARCHAR, written_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_29152820_1 WHERE written_by = "Eli Attie" AND production_code = "2T5018" | Who directed the episode that is written by Eli Attie and production code is 2t5018? | <s>[INST]Who directed the episode that is written by Eli Attie and production code is 2t5018? Context: CREATE TABLE table_29152820_1 (directed_by VARCHAR, written_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_29152820_1 WHERE written_by = "Eli Attie" AND production_code = "2T5018"</s> |
CREATE TABLE table_name_77 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR) | SELECT SUM(events) FROM table_name_77 WHERE top_10 = 2 AND cuts_made > 5 | How many events does the tournament with a top-10 of 2 and more than 5 cuts have? | <s>[INST]How many events does the tournament with a top-10 of 2 and more than 5 cuts have? Context: CREATE TABLE table_name_77 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR)[/INST]SELECT SUM(events) FROM table_name_77 WHERE top_10 = 2 AND cuts_made > 5</s> |
CREATE TABLE table_name_42 (type VARCHAR, year VARCHAR, title VARCHAR) | SELECT type FROM table_name_42 WHERE year < 1968 AND title = "stretchin' out" | What is the type earlier than 1968, and a Title of stretchin' out? | <s>[INST]What is the type earlier than 1968, and a Title of stretchin' out? Context: CREATE TABLE table_name_42 (type VARCHAR, year VARCHAR, title VARCHAR)[/INST]SELECT type FROM table_name_42 WHERE year < 1968 AND title = "stretchin' out"</s> |
CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR) | SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439 | Tell me the lowest closed for capacity of 62,439 | <s>[INST]Tell me the lowest closed for capacity of 62,439 Context: CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR)[/INST]SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439</s> |
CREATE TABLE table_1300525_1 (population INTEGER, simplified VARCHAR) | SELECT MAX(population) FROM table_1300525_1 WHERE simplified = "铅山县" | How many people live in 铅山县? | <s>[INST]How many people live in 铅山县? Context: CREATE TABLE table_1300525_1 (population INTEGER, simplified VARCHAR)[/INST]SELECT MAX(population) FROM table_1300525_1 WHERE simplified = "铅山县"</s> |
CREATE TABLE table_name_57 (year_opened VARCHAR, coaster_name VARCHAR) | SELECT year_opened FROM table_name_57 WHERE coaster_name = "le monstre" | Which year opened has le monstre coaster? | <s>[INST]Which year opened has le monstre coaster? Context: CREATE TABLE table_name_57 (year_opened VARCHAR, coaster_name VARCHAR)[/INST]SELECT year_opened FROM table_name_57 WHERE coaster_name = "le monstre"</s> |
CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_67 WHERE tie_no = "40" | What team was the away team when the tie no is 40? | <s>[INST]What team was the away team when the tie no is 40? Context: CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_67 WHERE tie_no = "40"</s> |
CREATE TABLE table_2409041_5 (production_code INTEGER, no_in_series VARCHAR) | SELECT MIN(production_code) FROM table_2409041_5 WHERE no_in_series = 86 | What is the production code for episode number 86 in the series? | <s>[INST]What is the production code for episode number 86 in the series? Context: CREATE TABLE table_2409041_5 (production_code INTEGER, no_in_series VARCHAR)[/INST]SELECT MIN(production_code) FROM table_2409041_5 WHERE no_in_series = 86</s> |
CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR) | SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = "2.1" | Name the viewers for 2.1 rating | <s>[INST]Name the viewers for 2.1 rating Context: CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)[/INST]SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = "2.1"</s> |
CREATE TABLE table_2374338_2 (germans VARCHAR, slovaks VARCHAR) | SELECT COUNT(germans) FROM table_2374338_2 WHERE slovaks = "0.11%" | How many values for Germans occurs when value for Slovaks is 0.11%? | <s>[INST]How many values for Germans occurs when value for Slovaks is 0.11%? Context: CREATE TABLE table_2374338_2 (germans VARCHAR, slovaks VARCHAR)[/INST]SELECT COUNT(germans) FROM table_2374338_2 WHERE slovaks = "0.11%"</s> |
CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde" | What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent? | <s>[INST]What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent? Context: CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde"</s> |
CREATE TABLE table_21795650_1 (f_laps INTEGER, series VARCHAR) | SELECT MIN(f_laps) FROM table_21795650_1 WHERE series = "Italian Formula Renault 2.0 Winter series" | What is the minimum number of f/laps in the Italian Formula Renault 2.0 Winter Series? | <s>[INST]What is the minimum number of f/laps in the Italian Formula Renault 2.0 Winter Series? Context: CREATE TABLE table_21795650_1 (f_laps INTEGER, series VARCHAR)[/INST]SELECT MIN(f_laps) FROM table_21795650_1 WHERE series = "Italian Formula Renault 2.0 Winter series"</s> |
CREATE TABLE table_name_89 (points INTEGER, year VARCHAR, chassis VARCHAR) | SELECT MIN(points) FROM table_name_89 WHERE year = 1992 AND chassis = "minardi m192" | What are the lowest points from 1992 with a Chassis of Minardi m192? | <s>[INST]What are the lowest points from 1992 with a Chassis of Minardi m192? Context: CREATE TABLE table_name_89 (points INTEGER, year VARCHAR, chassis VARCHAR)[/INST]SELECT MIN(points) FROM table_name_89 WHERE year = 1992 AND chassis = "minardi m192"</s> |
CREATE TABLE table_name_37 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_37 WHERE to_par = "+11" | What is Country, when To Par is "+11"? | <s>[INST]What is Country, when To Par is "+11"? Context: CREATE TABLE table_name_37 (country VARCHAR, to_par VARCHAR)[/INST]SELECT country FROM table_name_37 WHERE to_par = "+11"</s> |
CREATE TABLE table_1610496_3 (gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR) | SELECT gdp_per_capita_adjusted__$_ FROM table_1610496_3 WHERE population__millions_ = "37.376" | What is the adjusted GDP per capita when the population is 37.376 million? | <s>[INST]What is the adjusted GDP per capita when the population is 37.376 million? Context: CREATE TABLE table_1610496_3 (gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR)[/INST]SELECT gdp_per_capita_adjusted__$_ FROM table_1610496_3 WHERE population__millions_ = "37.376"</s> |
CREATE TABLE table_25107064_2 (Ends INTEGER, pf VARCHAR) | SELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf = 78 | Name the least ends won for pf being 78 | <s>[INST]Name the least ends won for pf being 78 Context: CREATE TABLE table_25107064_2 (Ends INTEGER, pf VARCHAR)[/INST]SELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf = 78</s> |
CREATE TABLE table_11803648_17 (round INTEGER, position VARCHAR) | SELECT MIN(round) FROM table_11803648_17 WHERE position = "Forward" | WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED? | <s>[INST]WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED? Context: CREATE TABLE table_11803648_17 (round INTEGER, position VARCHAR)[/INST]SELECT MIN(round) FROM table_11803648_17 WHERE position = "Forward"</s> |
CREATE TABLE table_name_20 (left_office VARCHAR, minister VARCHAR) | SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia" | Tell me the left office for mirko tremaglia | <s>[INST]Tell me the left office for mirko tremaglia Context: CREATE TABLE table_name_20 (left_office VARCHAR, minister VARCHAR)[/INST]SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia"</s> |
CREATE TABLE table_25461946_5 (score VARCHAR, team VARCHAR) | SELECT score FROM table_25461946_5 WHERE team = "Virginia Tech" | What was the final score when the Temple Owls beat Virginia Tech? | <s>[INST]What was the final score when the Temple Owls beat Virginia Tech? Context: CREATE TABLE table_25461946_5 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_25461946_5 WHERE team = "Virginia Tech"</s> |
CREATE TABLE table_11748792_2 (tuesday VARCHAR, series VARCHAR) | SELECT tuesday FROM table_11748792_2 WHERE series = "Celebrity Big Brother 8" | Who is the Tuesday presenter of Celebrity Big Brother 8? | <s>[INST]Who is the Tuesday presenter of Celebrity Big Brother 8? Context: CREATE TABLE table_11748792_2 (tuesday VARCHAR, series VARCHAR)[/INST]SELECT tuesday FROM table_11748792_2 WHERE series = "Celebrity Big Brother 8"</s> |
CREATE TABLE table_2668352_19 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668352_19 WHERE incumbent = "James Pleasants" | What party does James Pleasants belong to? | <s>[INST]What party does James Pleasants belong to? Context: CREATE TABLE table_2668352_19 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_2668352_19 WHERE incumbent = "James Pleasants"</s> |
CREATE TABLE table_name_16 (year_10_5th_quad VARCHAR, open_1st_viii VARCHAR, year_10_3rd_quad VARCHAR) | SELECT year_10_5th_quad FROM table_name_16 WHERE open_1st_viii = "nc" AND year_10_3rd_quad = "nc" | What is the Year 10 5th Quads with NC as Open 1st VIII and NC as a Year 10 3rd Quads? | <s>[INST]What is the Year 10 5th Quads with NC as Open 1st VIII and NC as a Year 10 3rd Quads? Context: CREATE TABLE table_name_16 (year_10_5th_quad VARCHAR, open_1st_viii VARCHAR, year_10_3rd_quad VARCHAR)[/INST]SELECT year_10_5th_quad FROM table_name_16 WHERE open_1st_viii = "nc" AND year_10_3rd_quad = "nc"</s> |
CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR) | SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares" | What is the Location when the individual was josé maria cañizares? | <s>[INST]What is the Location when the individual was josé maria cañizares? Context: CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR)[/INST]SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares"</s> |
CREATE TABLE table_name_86 (labour INTEGER, lib_dem INTEGER) | SELECT MAX(labour) FROM table_name_86 WHERE lib_dem > 21 | Name the highest Labour with Lib Dem larger than 21? | <s>[INST]Name the highest Labour with Lib Dem larger than 21? Context: CREATE TABLE table_name_86 (labour INTEGER, lib_dem INTEGER)[/INST]SELECT MAX(labour) FROM table_name_86 WHERE lib_dem > 21</s> |
CREATE TABLE table_1342292_45 (result VARCHAR, incumbent VARCHAR) | SELECT COUNT(result) FROM table_1342292_45 WHERE incumbent = "Dave E. Satterfield, Jr." | In how many districts is the incumbent Dave E. Satterfield, Jr. | <s>[INST]In how many districts is the incumbent Dave E. Satterfield, Jr. Context: CREATE TABLE table_1342292_45 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(result) FROM table_1342292_45 WHERE incumbent = "Dave E. Satterfield, Jr."</s> |
CREATE TABLE table_name_5 (director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director FROM table_name_5 WHERE film_title_used_in_nomination = "floating life" | Who was the director that had a film titled "Floating Life"? | <s>[INST]Who was the director that had a film titled "Floating Life"? Context: CREATE TABLE table_name_5 (director VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT director FROM table_name_5 WHERE film_title_used_in_nomination = "floating life"</s> |
CREATE TABLE table_name_43 (language VARCHAR, frequency VARCHAR, issn VARCHAR) | SELECT language FROM table_name_43 WHERE frequency = "3 times per year" AND issn = "1136-7385" | What is the language for a journal that has a frequency of 3 times per year and has an ISSN number of 1136-7385? | <s>[INST]What is the language for a journal that has a frequency of 3 times per year and has an ISSN number of 1136-7385? Context: CREATE TABLE table_name_43 (language VARCHAR, frequency VARCHAR, issn VARCHAR)[/INST]SELECT language FROM table_name_43 WHERE frequency = "3 times per year" AND issn = "1136-7385"</s> |
CREATE TABLE table_name_83 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_83 WHERE to_par = "–6" | Which player has a To par of –6? | <s>[INST]Which player has a To par of –6? Context: CREATE TABLE table_name_83 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_83 WHERE to_par = "–6"</s> |
CREATE TABLE table_14009909_1 (counties_represented VARCHAR, first_elected VARCHAR) | SELECT counties_represented FROM table_14009909_1 WHERE first_elected = 2006 | Which country has a delegate who was first elected in 2006? | <s>[INST]Which country has a delegate who was first elected in 2006? Context: CREATE TABLE table_14009909_1 (counties_represented VARCHAR, first_elected VARCHAR)[/INST]SELECT counties_represented FROM table_14009909_1 WHERE first_elected = 2006</s> |
CREATE TABLE customers (town_city VARCHAR, customer_type_code VARCHAR) | SELECT town_city FROM customers WHERE customer_type_code = "Good Credit Rating" GROUP BY town_city ORDER BY COUNT(*) LIMIT 1 | Which city has the least number of customers whose type code is "Good Credit Rating"? | <s>[INST]Which city has the least number of customers whose type code is "Good Credit Rating"? Context: CREATE TABLE customers (town_city VARCHAR, customer_type_code VARCHAR)[/INST]SELECT town_city FROM customers WHERE customer_type_code = "Good Credit Rating" GROUP BY town_city ORDER BY COUNT(*) LIMIT 1</s> |
CREATE TABLE table_name_31 (date VARCHAR, competition VARCHAR, score VARCHAR) | SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-0" | What was the date of the friendly competition with a score of 4-0? | <s>[INST]What was the date of the friendly competition with a score of 4-0? Context: CREATE TABLE table_name_31 (date VARCHAR, competition VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-0"</s> |
CREATE TABLE table_name_31 (goals INTEGER, matches INTEGER) | SELECT SUM(goals) FROM table_name_31 WHERE matches < 29 | What is the sum of Goals, when Matches is less than 29? | <s>[INST]What is the sum of Goals, when Matches is less than 29? Context: CREATE TABLE table_name_31 (goals INTEGER, matches INTEGER)[/INST]SELECT SUM(goals) FROM table_name_31 WHERE matches < 29</s> |
CREATE TABLE table_name_24 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_24 WHERE away_team = "hawthorn" | Who was the Away team at Hawthorn? | <s>[INST]Who was the Away team at Hawthorn? Context: CREATE TABLE table_name_24 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_24 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_name_59 (points INTEGER, year VARCHAR) | SELECT MIN(points) FROM table_name_59 WHERE year = 1954 | Which line has the lowest amount of points and a year of 1954? | <s>[INST]Which line has the lowest amount of points and a year of 1954? Context: CREATE TABLE table_name_59 (points INTEGER, year VARCHAR)[/INST]SELECT MIN(points) FROM table_name_59 WHERE year = 1954</s> |
CREATE TABLE table_name_70 (finished INTEGER, post INTEGER) | SELECT MIN(finished) FROM table_name_70 WHERE post < 2 | What is the lowest Finished, when Post is less than 2? | <s>[INST]What is the lowest Finished, when Post is less than 2? Context: CREATE TABLE table_name_70 (finished INTEGER, post INTEGER)[/INST]SELECT MIN(finished) FROM table_name_70 WHERE post < 2</s> |
CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_89 WHERE score = "72-63" | WHAT IS THE OPPONENT WITH A SCORE OF 72-63? | <s>[INST]WHAT IS THE OPPONENT WITH A SCORE OF 72-63? Context: CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_89 WHERE score = "72-63"</s> |
CREATE TABLE table_1999350_1 (playoffs VARCHAR, open_canada_cup VARCHAR, regular_season VARCHAR) | SELECT playoffs FROM table_1999350_1 WHERE open_canada_cup = "N/A" AND regular_season = "2nd, New England" | What is the playoffs result in years where Open Canada Cup was "N/A" and regular season result was "2nd, New England"? | <s>[INST]What is the playoffs result in years where Open Canada Cup was "N/A" and regular season result was "2nd, New England"? Context: CREATE TABLE table_1999350_1 (playoffs VARCHAR, open_canada_cup VARCHAR, regular_season VARCHAR)[/INST]SELECT playoffs FROM table_1999350_1 WHERE open_canada_cup = "N/A" AND regular_s... |
CREATE TABLE table_name_71 (minister VARCHAR, term_end VARCHAR) | SELECT minister FROM table_name_71 WHERE term_end = "10 march 1974" | Who is the minister with a term end on 10 March 1974? | <s>[INST]Who is the minister with a term end on 10 March 1974? Context: CREATE TABLE table_name_71 (minister VARCHAR, term_end VARCHAR)[/INST]SELECT minister FROM table_name_71 WHERE term_end = "10 march 1974"</s> |
CREATE TABLE table_name_61 (name VARCHAR, pick__number VARCHAR, overall VARCHAR) | SELECT name FROM table_name_61 WHERE pick__number = 25 AND overall = 207 | Pick # of 25, and an Overall of 207 has what name? | <s>[INST]Pick # of 25, and an Overall of 207 has what name? Context: CREATE TABLE table_name_61 (name VARCHAR, pick__number VARCHAR, overall VARCHAR)[/INST]SELECT name FROM table_name_61 WHERE pick__number = 25 AND overall = 207</s> |
CREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_50 WHERE away_team = "richmond" | On what date was Richmond hosted as the away team? | <s>[INST]On what date was Richmond hosted as the away team? Context: CREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_50 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_34 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_34 WHERE away_team = "wigan athletic" | What is the Tie number of when Wigan Athletic was the away team? | <s>[INST]What is the Tie number of when Wigan Athletic was the away team? Context: CREATE TABLE table_name_34 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_34 WHERE away_team = "wigan athletic"</s> |
CREATE TABLE table_name_94 (draw INTEGER, lost VARCHAR, points VARCHAR) | SELECT MAX(draw) FROM table_name_94 WHERE lost = 6 AND points < 15 | What is the highest number of draws with 6 losses and less than 15 points? | <s>[INST]What is the highest number of draws with 6 losses and less than 15 points? Context: CREATE TABLE table_name_94 (draw INTEGER, lost VARCHAR, points VARCHAR)[/INST]SELECT MAX(draw) FROM table_name_94 WHERE lost = 6 AND points < 15</s> |
CREATE TABLE table_name_11 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_11 WHERE home_team = "richmond" | What is the home teamscore for Richmond? | <s>[INST]What is the home teamscore for Richmond? Context: CREATE TABLE table_name_11 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_11 WHERE home_team = "richmond"</s> |
CREATE TABLE table_name_41 (laps VARCHAR, driver VARCHAR) | SELECT laps FROM table_name_41 WHERE driver = "jackie oliver" | How many laps did Jackie Oliver do? | <s>[INST]How many laps did Jackie Oliver do? Context: CREATE TABLE table_name_41 (laps VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_name_41 WHERE driver = "jackie oliver"</s> |
CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_25 WHERE record = "43.66 m" | What is the date of the games that saw a record of 43.66 m? | <s>[INST]What is the date of the games that saw a record of 43.66 m? Context: CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE record = "43.66 m"</s> |
CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR) | SELECT country FROM table_name_2 WHERE place = "mänttä" | Name the country that has mänttä | <s>[INST]Name the country that has mänttä Context: CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR)[/INST]SELECT country FROM table_name_2 WHERE place = "mänttä"</s> |
CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR) | SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'International Finance') | What is the title of the prerequisite class of International Finance course? | <s>[INST]What is the title of the prerequisite class of International Finance course? Context: CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR)[/INST]SELECT title FROM course WHERE course_id IN (SEL... |
CREATE TABLE table_name_93 (player VARCHAR, date VARCHAR) | SELECT player FROM table_name_93 WHERE date = "july 6, 1949" | Which player is associated with the date July 6, 1949? | <s>[INST]Which player is associated with the date July 6, 1949? Context: CREATE TABLE table_name_93 (player VARCHAR, date VARCHAR)[/INST]SELECT player FROM table_name_93 WHERE date = "july 6, 1949"</s> |
CREATE TABLE table_name_49 (type VARCHAR, title VARCHAR) | SELECT type FROM table_name_49 WHERE title = "so alive" | which Type has a Title of so alive? | <s>[INST]which Type has a Title of so alive? Context: CREATE TABLE table_name_49 (type VARCHAR, title VARCHAR)[/INST]SELECT type FROM table_name_49 WHERE title = "so alive"</s> |
CREATE TABLE table_name_9 (event VARCHAR, winner VARCHAR) | SELECT event FROM table_name_9 WHERE winner = "mark teltscher" | What event did Mark Teltscher win? | <s>[INST]What event did Mark Teltscher win? Context: CREATE TABLE table_name_9 (event VARCHAR, winner VARCHAR)[/INST]SELECT event FROM table_name_9 WHERE winner = "mark teltscher"</s> |
CREATE TABLE table_name_36 (date VARCHAR, matches VARCHAR) | SELECT date FROM table_name_36 WHERE matches = 1 | What was the date for a round that only had 1 match? | <s>[INST]What was the date for a round that only had 1 match? Context: CREATE TABLE table_name_36 (date VARCHAR, matches VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE matches = 1</s> |
CREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR) | SELECT college FROM table_name_74 WHERE round > 9 AND player = "butch webster" | WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER? | <s>[INST]WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER? Context: CREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_74 WHERE round > 9 AND player = "butch webster"</s> |
CREATE TABLE table_name_6 (year_of_marriage INTEGER, her_age VARCHAR, his_age VARCHAR) | SELECT AVG(year_of_marriage) FROM table_name_6 WHERE her_age > 19 AND his_age = 30 | What is the mean year of marriage when her age was more than 19 and his age was 30? | <s>[INST]What is the mean year of marriage when her age was more than 19 and his age was 30? Context: CREATE TABLE table_name_6 (year_of_marriage INTEGER, her_age VARCHAR, his_age VARCHAR)[/INST]SELECT AVG(year_of_marriage) FROM table_name_6 WHERE her_age > 19 AND his_age = 30</s> |
CREATE TABLE table_name_82 (max_torque__nm__at_rpm VARCHAR, model VARCHAR) | SELECT max_torque__nm__at_rpm FROM table_name_82 WHERE model = "1.4 16v" | What is the max torque of model 1.4 16v? | <s>[INST]What is the max torque of model 1.4 16v? Context: CREATE TABLE table_name_82 (max_torque__nm__at_rpm VARCHAR, model VARCHAR)[/INST]SELECT max_torque__nm__at_rpm FROM table_name_82 WHERE model = "1.4 16v"</s> |
CREATE TABLE table_name_75 (dist__f_ VARCHAR, race VARCHAR) | SELECT dist__f_ FROM table_name_75 WHERE race = "irish derby" | Which Dist (f) has a Race of irish derby? | <s>[INST]Which Dist (f) has a Race of irish derby? Context: CREATE TABLE table_name_75 (dist__f_ VARCHAR, race VARCHAR)[/INST]SELECT dist__f_ FROM table_name_75 WHERE race = "irish derby"</s> |
CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_10 WHERE home_team = "fitzroy" | What was the score of the Away team that played against the Home team of Fitzroy? | <s>[INST]What was the score of the Away team that played against the Home team of Fitzroy? Context: CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_10 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls" | What was the Winning Score when Betsy Rawls was the Runner(s)-up? | <s>[INST]What was the Winning Score when Betsy Rawls was the Runner(s)-up? Context: CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls"</s> |
CREATE TABLE table_name_82 (rounds VARCHAR, entrant VARCHAR) | SELECT rounds FROM table_name_82 WHERE entrant = "stanley brm" | Name the rounds for stanley brm | <s>[INST]Name the rounds for stanley brm Context: CREATE TABLE table_name_82 (rounds VARCHAR, entrant VARCHAR)[/INST]SELECT rounds FROM table_name_82 WHERE entrant = "stanley brm"</s> |
CREATE TABLE table_name_26 (attendance INTEGER, home VARCHAR, points VARCHAR) | SELECT SUM(attendance) FROM table_name_26 WHERE home = "detroit" AND points > 33 | WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33? | <s>[INST]WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33? Context: CREATE TABLE table_name_26 (attendance INTEGER, home VARCHAR, points VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_26 WHERE home = "detroit" AND points > 33</s> |
CREATE TABLE table_name_43 (malay_ethnic_group VARCHAR) | SELECT malay_ethnic_group FROM table_name_43 WHERE 1931 = "65,104" | What ethnic group is 65,104 in 1931? | <s>[INST]What ethnic group is 65,104 in 1931? Context: CREATE TABLE table_name_43 (malay_ethnic_group VARCHAR)[/INST]SELECT malay_ethnic_group FROM table_name_43 WHERE 1931 = "65,104"</s> |
CREATE TABLE table_name_48 (result VARCHAR, year VARCHAR) | SELECT result FROM table_name_48 WHERE year = 2013 | What was the Result in 2013? | <s>[INST]What was the Result in 2013? Context: CREATE TABLE table_name_48 (result VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_48 WHERE year = 2013</s> |
CREATE TABLE table_name_7 (league VARCHAR, player VARCHAR) | SELECT league FROM table_name_7 WHERE player = "ian schultz" | What is the league of player ian schultz? | <s>[INST]What is the league of player ian schultz? Context: CREATE TABLE table_name_7 (league VARCHAR, player VARCHAR)[/INST]SELECT league FROM table_name_7 WHERE player = "ian schultz"</s> |
CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_78 WHERE game = 31 | What was the record of the game for game 31? | <s>[INST]What was the record of the game for game 31? Context: CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_78 WHERE game = 31</s> |
CREATE TABLE table_name_91 (round INTEGER, position VARCHAR, player VARCHAR) | SELECT MAX(round) FROM table_name_91 WHERE position = "tackle" AND player = "fred neilsen" | What is the highest Round that has a Position of Tackle and the Player Fred Neilsen? | <s>[INST]What is the highest Round that has a Position of Tackle and the Player Fred Neilsen? Context: CREATE TABLE table_name_91 (round INTEGER, position VARCHAR, player VARCHAR)[/INST]SELECT MAX(round) FROM table_name_91 WHERE position = "tackle" AND player = "fred neilsen"</s> |
CREATE TABLE table_name_56 (third VARCHAR, nation VARCHAR) | SELECT third FROM table_name_56 WHERE nation = "germany" | Who is the third alternate for Germany? | <s>[INST]Who is the third alternate for Germany? Context: CREATE TABLE table_name_56 (third VARCHAR, nation VARCHAR)[/INST]SELECT third FROM table_name_56 WHERE nation = "germany"</s> |
CREATE TABLE table_1341930_33 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341930_33 WHERE incumbent = "Herbert Covington Bonner" | what's the party with incumbent being herbert covington bonner | <s>[INST]what's the party with incumbent being herbert covington bonner Context: CREATE TABLE table_1341930_33 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341930_33 WHERE incumbent = "Herbert Covington Bonner"</s> |
CREATE TABLE table_name_93 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_93 WHERE date = "january 1974" | What region goes along with January 1974? | <s>[INST]What region goes along with January 1974? Context: CREATE TABLE table_name_93 (region VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_93 WHERE date = "january 1974"</s> |
CREATE TABLE table_name_68 (played VARCHAR, goal_difference VARCHAR, goals_against VARCHAR) | SELECT COUNT(played) FROM table_name_68 WHERE goal_difference = 11 AND goals_against > 44 | What is the total number of played for the goals against over 44 and a goal difference of 11? | <s>[INST]What is the total number of played for the goals against over 44 and a goal difference of 11? Context: CREATE TABLE table_name_68 (played VARCHAR, goal_difference VARCHAR, goals_against VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_68 WHERE goal_difference = 11 AND goals_against > 44</s> |
CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_32 WHERE venue = "arden street oval" | What is the size of the smallest crowd that watched a game at Arden Street Oval? | <s>[INST]What is the size of the smallest crowd that watched a game at Arden Street Oval? Context: CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_32 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR) | SELECT result FROM table_name_33 WHERE nominated_work = "marlene" AND award = "olivier award" | When Marlene was nominated for the Olivier Award, what was the result? | <s>[INST]When Marlene was nominated for the Olivier Award, what was the result? Context: CREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR)[/INST]SELECT result FROM table_name_33 WHERE nominated_work = "marlene" AND award = "olivier award"</s> |
CREATE TABLE table_18788823_5 (position_in_table VARCHAR, outgoing_manager VARCHAR) | SELECT COUNT(position_in_table) FROM table_18788823_5 WHERE outgoing_manager = "Keith Downing" | How many times did Keith Downing depart a position? | <s>[INST]How many times did Keith Downing depart a position? Context: CREATE TABLE table_18788823_5 (position_in_table VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT COUNT(position_in_table) FROM table_18788823_5 WHERE outgoing_manager = "Keith Downing"</s> |
CREATE TABLE Customers_cards (card_type_code VARCHAR, customer_id VARCHAR) | SELECT card_type_code, COUNT(DISTINCT customer_id) FROM Customers_cards GROUP BY card_type_code | Show all card type codes and the number of customers holding cards in each type. | <s>[INST]Show all card type codes and the number of customers holding cards in each type. Context: CREATE TABLE Customers_cards (card_type_code VARCHAR, customer_id VARCHAR)[/INST]SELECT card_type_code, COUNT(DISTINCT customer_id) FROM Customers_cards GROUP BY card_type_code</s> |
CREATE TABLE table_21977704_1 (driver VARCHAR, engine VARCHAR) | SELECT driver FROM table_21977704_1 WHERE engine = "Talbot L6" | Name the driver for talbot l6 | <s>[INST]Name the driver for talbot l6 Context: CREATE TABLE table_21977704_1 (driver VARCHAR, engine VARCHAR)[/INST]SELECT driver FROM table_21977704_1 WHERE engine = "Talbot L6"</s> |
CREATE TABLE table_name_91 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_91 WHERE player = "cleveland mccrae" | How many round values are associated with Cleveland McCrae? | <s>[INST]How many round values are associated with Cleveland McCrae? Context: CREATE TABLE table_name_91 (round VARCHAR, player VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_91 WHERE player = "cleveland mccrae"</s> |
CREATE TABLE table_name_78 (attendance INTEGER, visitor VARCHAR) | SELECT AVG(attendance) FROM table_name_78 WHERE visitor = "dallas" | Name the average attendance with dallas visitor | <s>[INST]Name the average attendance with dallas visitor Context: CREATE TABLE table_name_78 (attendance INTEGER, visitor VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_78 WHERE visitor = "dallas"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.