text
stringlengths
293
1.24k
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (year_opened INTEGER, span_feet VARCHAR, span_metres VARCHAR) ### Question: What is the sum of Year opened when the span feet is more than 1247, and the spam metres is 384? ### Answer: SELECT SUM(year_opened) FROM table_name_13 WHERE span_feet > 1247 AND span_metres = 384
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17355933_1 (title VARCHAR, directed_by VARCHAR) ### Question: Which season titles were directed by Laura Innes? ### Answer: SELECT title FROM table_17355933_1 WHERE directed_by = "Laura Innes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (position VARCHAR, nominated_work VARCHAR, award VARCHAR) ### Question: What was the position that the nominated work La Quinta Esencia, which also won an award for best CD coverbox, won? ### Answer: SELECT position FROM table_name_18 WHERE nominated_work = "la quinta esencia" AND award = "best cd coverbox"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team when the away team was Hawthorn? ### Answer: SELECT home_team FROM table_name_15 WHERE away_team = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR) ### Question: What is the inegi code for mexicali with 13,700 km area? ### Answer: SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR) ### Question: What is the Rank of the Athletes with a Time of 3:43.491? ### Answer: SELECT COUNT(rank) FROM table_name_21 WHERE time = "3:43.491"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1637041_2 (avg_start VARCHAR, position VARCHAR) ### Question: How many years did he finish in 59th? ### Answer: SELECT COUNT(avg_start) FROM table_1637041_2 WHERE position = "59th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (points VARCHAR, rank VARCHAR, draw VARCHAR) ### Question: What is the total number of points for the song that was ranked 6th and had a draw number smaller than 5? ### Answer: SELECT COUNT(points) FROM table_name_23 WHERE rank = "6th" AND draw < 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16494599_10 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) ### Question: During what years did athletes who attended school in Minnesota play for the Grizzlies? ### Answer: SELECT years_for_grizzlies FROM table_16494599_10 WHERE school_club_team = "Minnesota"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (constructor VARCHAR, team VARCHAR) ### Question: Who is the Constructor for the Trac Racing Team? ### Answer: SELECT constructor FROM table_name_56 WHERE team = "trac racing team"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (final_position___vuelta VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR) ### Question: What is the final Vuelta position associated with a final Giro position over 39 and a final Tour position of 90? ### Answer: SELECT final_position___vuelta FROM table_name_26 WHERE final_position___giro > 39 AND final_position___tour = 90
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2342078_6 (directed_by VARCHAR, written_by VARCHAR) ### Question: Name who drected the episode written by george tibbles ### Answer: SELECT directed_by FROM table_2342078_6 WHERE written_by = "George Tibbles"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (attendance INTEGER, home VARCHAR) ### Question: What was the attendance of the match with motagua as the home team? ### Answer: SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (draws INTEGER, position VARCHAR, goals_against VARCHAR) ### Question: Which Draws have a Position of 16, and less than 58 Goals against? ### Answer: SELECT MIN(draws) FROM table_name_63 WHERE position = 16 AND goals_against < 58
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_43 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) ### Question: How many entries are there for cyrillic name other names where settlement is idvor? ### Answer: SELECT COUNT(cyrillic_name_other_names) FROM table_2562572_43 WHERE settlement = "Idvor"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (reign_began VARCHAR, country VARCHAR, reign_ended VARCHAR) ### Question: Whose reign began in Vietnam and ended in October 1005? ### Answer: SELECT reign_began FROM table_name_79 WHERE country = "vietnam" AND reign_ended = "october 1005"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (country VARCHAR, place VARCHAR, player VARCHAR) ### Question: What country has t6 as the place, with sean o'hair as the player? ### Answer: SELECT country FROM table_name_88 WHERE place = "t6" AND player = "sean o'hair"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12032893_1 (_number VARCHAR, high_school VARCHAR) ### Question: Crockett High School had which number(#)? ### Answer: SELECT _number FROM table_12032893_1 WHERE high_school = "Crockett"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (first_elected VARCHAR, district VARCHAR, result VARCHAR, party VARCHAR) ### Question: How much First elected has a Result of re-elected, and a Party of republican, and a District of illinois 4? ### Answer: SELECT COUNT(first_elected) FROM table_name_76 WHERE result = "re-elected" AND party = "republican" AND district = "illinois 4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR) ### Question: On which date was the venue of vfl park used? ### Answer: SELECT date FROM table_name_37 WHERE venue = "vfl park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (location VARCHAR, record VARCHAR) ### Question: Where was the game played when the Buffalo Bills had a record of 8-8? ### Answer: SELECT location FROM table_name_80 WHERE record = "8-8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (year VARCHAR, notes VARCHAR, competition VARCHAR) ### Question: what is the year when the notes is 5000 m and the competition is world junior championships in athletics? ### Answer: SELECT COUNT(year) FROM table_name_36 WHERE notes = "5000 m" AND competition = "world junior championships in athletics"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (cardiff_win VARCHAR, draw INTEGER) ### Question: How many cardiff wins have a draw greater than 27? ### Answer: SELECT COUNT(cardiff_win) FROM table_name_26 WHERE draw > 27
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_261642_3 (r__ω_km_ VARCHAR, frequency__hz_ VARCHAR) ### Question: What is the r (ω/km) when the frequency is 10k? ### Answer: SELECT r__ω_km_ FROM table_261642_3 WHERE frequency__hz_ = "10k"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR) ### Question: What race after round 6 did Graham Rahal win with a pole position of graham rahal? ### Answer: SELECT race_name FROM table_name_59 WHERE winning_driver = "graham rahal" AND round > 6 AND pole_position = "graham rahal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26200568_16 (losses INTEGER, club VARCHAR) ### Question: How many losses does Central Blues have? ### Answer: SELECT MAX(losses) FROM table_26200568_16 WHERE club = "Central Blues"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341423_32 (party VARCHAR, district VARCHAR) ### Question: Name the number of party for new york 29 ### Answer: SELECT COUNT(party) FROM table_1341423_32 WHERE district = "New York 29"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (japanese_title VARCHAR, average_ratings VARCHAR) ### Question: What Japanese title had average ratings at 9.1%? ### Answer: SELECT japanese_title FROM table_name_67 WHERE average_ratings = "9.1%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (adelaide VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR) ### Question: Which Adelaide's Melbourne, Sydney, and Gold Coast were all no? ### Answer: SELECT adelaide FROM table_name_30 WHERE melbourne = "no" AND sydney = "no" AND gold_coast = "no"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (date_of_departure VARCHAR, replaced_by VARCHAR) ### Question: When was the departure date when a manager was replaced by Bojan Prašnikar? ### Answer: SELECT date_of_departure FROM table_name_41 WHERE replaced_by = "bojan prašnikar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Dogs (age INTEGER) ### Question: How many dogs have an age below the average? ### Answer: SELECT COUNT(*) FROM Dogs WHERE age < (SELECT AVG(age) FROM Dogs)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (game INTEGER, record VARCHAR) ### Question: Which Game is the highest one that has a Record of 4-3-6? ### Answer: SELECT MAX(game) FROM table_name_83 WHERE record = "4-3-6"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (video VARCHAR, psip_short_name VARCHAR) ### Question: What is the video associated with a short name of KSTCDT2? ### Answer: SELECT video FROM table_name_36 WHERE psip_short_name = "kstcdt2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) ### Question: What was the score on April 8? ### Answer: SELECT score FROM table_name_39 WHERE date = "april 8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (play_by_play VARCHAR, studio_host VARCHAR) ### Question: Who gave the play by play commentary with studio host Ward Cornell? ### Answer: SELECT play_by_play FROM table_name_89 WHERE studio_host = "ward cornell"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (runner_s__up VARCHAR, date VARCHAR) ### Question: On the Date of 2 Aug 2009, who was the Runner(s)-up? ### Answer: SELECT runner_s__up FROM table_name_52 WHERE date = "2 aug 2009"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21977704_1 (chassis VARCHAR, constructor VARCHAR) ### Question: Name the chassis for alta ### Answer: SELECT chassis FROM table_21977704_1 WHERE constructor = "Alta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR) ### Question: what is the date when the tie no is 9? ### Answer: SELECT date FROM table_name_46 WHERE tie_no = "9"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (season VARCHAR, ufl_cup VARCHAR) ### Question: Which Season has a UFL Cup of quarter-finals? ### Answer: SELECT season FROM table_name_42 WHERE ufl_cup = "quarter-finals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR) ### Question: What is the Japanese orthography for the English name National Farmers Academy? ### Answer: SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = "National Farmers Academy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (rank VARCHAR, rider VARCHAR) ### Question: What was Martin Geiger's rank? ### Answer: SELECT rank FROM table_name_95 WHERE rider = "martin geiger"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (car INTEGER, yards INTEGER) ### Question: What is the lowest car with more than 122 yards? ### Answer: SELECT MIN(car) FROM table_name_37 WHERE yards > 122
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (opponent VARCHAR, time VARCHAR) ### Question: Who was the opponent with the time 3:59? ### Answer: SELECT opponent FROM table_name_52 WHERE time = "3:59"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (Id VARCHAR) ### Question: What is 2007, when 2003 is "85"? ### Answer: SELECT 2007 FROM table_name_37 WHERE 2003 = "85"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR) ### Question: How many times did the team achieve an overrall record of mu, 21-19? ### Answer: SELECT COUNT(last_5_meetings) FROM table_16201038_4 WHERE overall_record = "MU, 21-19"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1520559_1 (venue VARCHAR, champion VARCHAR) ### Question: At what venues did Lorena Ochoa win the championship? ### Answer: SELECT venue FROM table_1520559_1 WHERE champion = "Lorena Ochoa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26769_1 (country_or_territory_with_flag VARCHAR, population_density_per_km² VARCHAR) ### Question: What was the country with a population density per km² of 3.5/km² (/sqmi)? ### Answer: SELECT country_or_territory_with_flag FROM table_26769_1 WHERE population_density_per_km² = "3.5/km² (/sqmi)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (country VARCHAR, city VARCHAR) ### Question: Which country is Wellington located in? ### Answer: SELECT country FROM table_name_48 WHERE city = "wellington"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (high_points VARCHAR, game VARCHAR, high_assists VARCHAR) ### Question: What is High Points, when Game is less than 10, and when High Assists is "Chauncey Billups (8)"? ### Answer: SELECT high_points FROM table_name_18 WHERE game < 10 AND high_assists = "chauncey billups (8)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19753079_35 (party VARCHAR, candidates VARCHAR) ### Question: Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4% ### Answer: SELECT party FROM table_19753079_35 WHERE candidates = "Yvette Clarke (D) 90.6% Hugh Carr (R) 9.4%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (pct INTEGER, independent VARCHAR, years VARCHAR) ### Question: What is the lowest PCT when Old Dominion is the independent and the years is more than 4? ### Answer: SELECT MIN(pct) FROM table_name_54 WHERE independent = "old dominion" AND years > 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) ### Question: When south Melbourne was the home team, what was the away team? ### Answer: SELECT away_team FROM table_name_53 WHERE home_team = "south melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1458412_1 (team_s_ VARCHAR, winnings VARCHAR) ### Question: What is the total amount o teams where winnings is $1,752,299? ### Answer: SELECT COUNT(team_s_) FROM table_1458412_1 WHERE winnings = "$1,752,299"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (points INTEGER, position VARCHAR) ### Question: How many Points has a Position of 8? ### Answer: SELECT AVG(points) FROM table_name_45 WHERE position = 8
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15984957_2 (game INTEGER, opponent VARCHAR) ### Question: How many games were against the los angeles rams? ### Answer: SELECT MIN(game) FROM table_15984957_2 WHERE opponent = "Los Angeles Rams"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (appeared INTEGER, rr_w_rate INTEGER) ### Question: What's the total appeared that has an RR Rate less than 0.17? ### Answer: SELECT SUM(appeared) FROM table_name_95 WHERE rr_w_rate < 0.17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (result VARCHAR, week VARCHAR, opponent VARCHAR) ### Question: What is the Result of the game after Week 10 against Philadelphia Eagles? ### Answer: SELECT result FROM table_name_26 WHERE week > 10 AND opponent = "philadelphia eagles"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE customers (phone_number VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR, date_complaint_raised VARCHAR) ### Question: What is the phone number of the customer who has filed the most recent complaint? ### Answer: SELECT t1.phone_number FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id ORDER BY t2.date_complaint_raised DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (events INTEGER, tournament VARCHAR, cuts_made VARCHAR) ### Question: What is the total number of events the Open Championship has with less than 0 cuts? ### Answer: SELECT SUM(events) FROM table_name_50 WHERE tournament = "the open championship" AND cuts_made < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14465924_1 (population__people_ VARCHAR, area__km_2__ VARCHAR) ### Question: Name the population of people for area being 24.35 ### Answer: SELECT population__people_ FROM table_14465924_1 WHERE area__km_2__ = "24.35"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (position VARCHAR, mls_team VARCHAR) ### Question: What is the position of the Colorado Rapids team? ### Answer: SELECT position FROM table_name_38 WHERE mls_team = "colorado rapids"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (laps INTEGER, driver VARCHAR, grid VARCHAR) ### Question: what is the least laps for driver gerhard berger with a grid more than 6? ### Answer: SELECT MIN(laps) FROM table_name_35 WHERE driver = "gerhard berger" AND grid > 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR) ### Question: Who used Ford v8 and Jordan 191 after 1990 and got 8 points? ### Answer: SELECT entrant FROM table_name_50 WHERE year > 1990 AND engine = "ford v8" AND points = 8 AND chassis = "jordan 191"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (election_winner VARCHAR, incumbent VARCHAR, state VARCHAR) ### Question: Who was the election winner with a BJP incumbent in Chhattisgarh? ### Answer: SELECT election_winner FROM table_name_77 WHERE incumbent = "bjp" AND state = "chhattisgarh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (week_5 VARCHAR, week_3 VARCHAR) ### Question: When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5? ### Answer: SELECT week_5 FROM table_name_96 WHERE week_3 = "cathi o'malley"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (away_team VARCHAR) ### Question: What was Footscray's score as the away team? ### Answer: SELECT away_team AS score FROM table_name_94 WHERE away_team = "footscray"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (school_club_team VARCHAR, pick VARCHAR) ### Question: What is School/Club Team, when Pick is 9 (via Hamilton)? ### Answer: SELECT school_club_team FROM table_name_38 WHERE pick = "9 (via hamilton)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR) ### Question: What the episode count for Ben 10: Alien Force Volume 8 on DVD? ### Answer: SELECT episode_count FROM table_name_90 WHERE dvd_title = "ben 10: alien force volume 8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, silver VARCHAR) ### Question: What is the total number of bronze when gold is less than 1 and silver is more than 1? ### Answer: SELECT SUM(bronze) FROM table_name_53 WHERE gold < 1 AND silver > 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (khtml VARCHAR, gecko VARCHAR) ### Question: For the item that has a Gecko of 'font', what is the KHTML value? ### Answer: SELECT khtml FROM table_name_11 WHERE gecko = "font"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24784769_1 (round3 VARCHAR, total_points VARCHAR) ### Question: How many points did the team who had 325 total points have in round 3? ### Answer: SELECT round3 FROM table_24784769_1 WHERE total_points = 325
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (surface VARCHAR, date VARCHAR) ### Question: Which surface has a Date of 22 august 2006? ### Answer: SELECT surface FROM table_name_57 WHERE date = "22 august 2006"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR) ### Question: Which FCC info has a City of license of burley, idaho, and a Frequency MHz of 89.5? ### Answer: SELECT fcc_info FROM table_name_65 WHERE city_of_license = "burley, idaho" AND frequency_mhz = 89.5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) ### Question: Which home teams had Geelong as the away team? ### Answer: SELECT home_team FROM table_name_19 WHERE away_team = "geelong"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_85 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR) ### Question: What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals? ### Answer: SELECT MIN(total) FROM table_name_85 WHERE rank < 4 AND silver > 0 AND gold < 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR) ### Question: What is the Attendance number when the Opponent was purdue? ### Answer: SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27091128_2 (replaced_by VARCHAR, date_of_appointment VARCHAR) ### Question: Which manager was appointed on 08.06.2010? ### Answer: SELECT replaced_by FROM table_27091128_2 WHERE date_of_appointment = "08.06.2010"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: What is the date of the game in a week earlier than 10 played in Texas stadium agains the Atlanta Falcons? ### Answer: SELECT date FROM table_name_92 WHERE week < 10 AND game_site = "texas stadium" AND opponent = "atlanta falcons"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1456056_1 (country VARCHAR) ### Question: Name the minimum for 2500-3000 ft for scotland ### Answer: SELECT MIN(2500 AS _3000ft) FROM table_1456056_1 WHERE country = "Scotland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) ### Question: Tell me the lowest Laps with a time/retired of +2 Laps and Grid of 20 ### Answer: SELECT MIN(laps) FROM table_name_46 WHERE time_retired = "+2 laps" AND grid = 20
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR) ### Question: What was the score for Groves High School when the high assist was Giovanni Riley (9)? ### Answer: SELECT score FROM table_name_21 WHERE location_attendance = "groves high school" AND high_assists = "giovanni riley (9)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22481967_1 (builder VARCHAR, date VARCHAR) ### Question: List the builder from 1930. ### Answer: SELECT builder FROM table_22481967_1 WHERE date = "1930"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (combined VARCHAR, overall INTEGER) ### Question: What is the combined of the overalls less than 34? ### Answer: SELECT combined FROM table_name_82 WHERE overall < 34
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR) ### Question: Who got the loss for the game ending in a record of 55-41? ### Answer: SELECT loss FROM table_name_74 WHERE record = "55-41"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1447085_1 (per_capita_income VARCHAR, county VARCHAR) ### Question: What is the per capita income for Fayette County? ### Answer: SELECT per_capita_income FROM table_1447085_1 WHERE county = "Fayette county"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (position VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR) ### Question: What position is the player from the United States play for the Grizzlies from 2000-2001? ### Answer: SELECT position FROM table_name_90 WHERE nationality = "united states" AND years_for_grizzlies = "2000-2001"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (name VARCHAR, status VARCHAR, first_performance VARCHAR) ### Question: what's the name with final cast status and first performance on 12 november 2011? ### Answer: SELECT name FROM table_name_68 WHERE status = "final cast" AND first_performance = "12 november 2011"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (Id VARCHAR) ### Question: What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003? ### Answer: SELECT 2005 FROM table_name_48 WHERE 2011 = "q2" AND 2012 = "q1" AND 2003 = "1r"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26166836_3 (month_held VARCHAR, road_race VARCHAR) ### Question: How many times a year is the Paris 20k road race held? ### Answer: SELECT COUNT(month_held) FROM table_26166836_3 WHERE road_race = "Paris 20K"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR) ### Question: On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show? ### Answer: SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR) ### Question: What country was Ernie Els from? ### Answer: SELECT country FROM table_name_80 WHERE player = "ernie els"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents (document_type_code VARCHAR, document_name VARCHAR, document_description VARCHAR) ### Question: List the document type code, document name, and document description for the document with name 'Noel CV' or name 'King Book'. ### Answer: SELECT document_type_code, document_name, document_description FROM Documents WHERE document_name = 'Noel CV' OR document_name = 'King Book'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR) ### Question: Show the id of each employee and the number of document destruction authorised by that employee. ### Answer: SELECT Destruction_Authorised_by_Employee_ID, COUNT(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (venue VARCHAR, crowd INTEGER) ### Question: Which venue exceeded a crowd size of 33,642? ### Answer: SELECT venue FROM table_name_26 WHERE crowd > 33 OFFSET 642
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341453_51 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Who's the incumbent in the district that first elected in 1969? ### Answer: SELECT incumbent FROM table_1341453_51 WHERE first_elected = 1969
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (season INTEGER, first_broadcast VARCHAR) ### Question: What is the average Season, when First Broadcast is January 23, 1981? ### Answer: SELECT AVG(season) FROM table_name_14 WHERE first_broadcast = "january 23, 1981"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27716091_1 (directed_by VARCHAR, production_code VARCHAR) ### Question: who put on the show where the numbers were 227424 ### Answer: SELECT directed_by FROM table_27716091_1 WHERE production_code = 227424
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (attendance VARCHAR, week VARCHAR) ### Question: What was the Attendance on Week 10? ### Answer: SELECT attendance FROM table_name_34 WHERE week = 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE country (Name VARCHAR, Country_ID VARCHAR); CREATE TABLE roller_coaster (Name VARCHAR, Country_ID VARCHAR) ### Question: Show the names of roller coasters and names of country they are in. ### Answer: SELECT T2.Name, T1.Name FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR) ### Question: Who was the winner with a mountain stage type on 22 May? ### Answer: SELECT winner FROM table_name_81 WHERE type = "mountain stage" AND date = "22 may"