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_28005809_2 (sdlp INTEGER, council VARCHAR) ### Question: What is the SDLP of Belfast? ### Answer: SELECT MAX(sdlp) FROM table_28005809_2 WHERE council = "Belfast"
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_27539808_5 (location_attendance VARCHAR, december VARCHAR) ### Question: What is the location and attendance total from the game on December 1? ### Answer: SELECT location_attendance FROM table_27539808_5 WHERE december = 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_23284271_10 (high_points VARCHAR, record VARCHAR) ### Question: Who has the high points when 53-27 is the record? ### Answer: SELECT high_points FROM table_23284271_10 WHERE record = "53-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_name_80 (height_ft___m VARCHAR, floors VARCHAR) ### Question: Name the height with 9 floors ### Answer: SELECT height_ft___m FROM table_name_80 WHERE floors = 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_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR) ### Question: Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of everton crawford? ### Answer: SELECT location FROM table_name_99 WHERE rules = "thai boxing" AND round = "n/a" AND opponent = "everton crawford"
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_1243601_1 (division VARCHAR, year VARCHAR) ### Question: How many divisions were listed in 2006? ### Answer: SELECT COUNT(division) FROM table_1243601_1 WHERE year = "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_1140083_2 (fastest_lap VARCHAR, location VARCHAR) ### Question: The Dijon-prenois had how many fastest laps? ### Answer: SELECT COUNT(fastest_lap) FROM table_1140083_2 WHERE location = "Dijon-Prenois"
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_25646820_2 (points VARCHAR, player VARCHAR) ### Question: Name the points for donald boor ### Answer: SELECT points FROM table_25646820_2 WHERE player = "Donald Boor"
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_49 (date INTEGER, game VARCHAR, opponent VARCHAR) ### Question: What is the latest date for a game over 69 with a St. Louis Blues opponent? ### Answer: SELECT MAX(date) FROM table_name_49 WHERE game > 69 AND opponent = "st. louis 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 Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) ### Question: What are the ids of the movies that are not reviewed by Brittany Harris. ### Answer: SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = "Brittany Harris"
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_20325360_2 (rank VARCHAR) ### Question: For the country that holds a rank of 2, in the Mr. International Competition, what is the total number of competitors listed as 2nd runner ups? ### Answer: SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 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_69 (team VARCHAR, winner VARCHAR, circuit VARCHAR) ### Question: Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit? ### Answer: SELECT team FROM table_name_69 WHERE winner = "craig lowndes" AND circuit = "phillip island grand prix circuit"
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 (shot_pct VARCHAR, skip VARCHAR) ### Question: What is Madeleine Dupont's shot pct.? ### Answer: SELECT shot_pct FROM table_name_96 WHERE skip = "madeleine dupont"
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 (nationality VARCHAR, college VARCHAR) ### Question: What nationality is the player from the College of Cincinnati? ### Answer: SELECT nationality FROM table_name_6 WHERE college = "cincinnati"
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_21007615_1 (record VARCHAR, sun_devils_points VARCHAR) ### Question: What was the record for the Sun Devils when they scored 44 points? ### Answer: SELECT record FROM table_21007615_1 WHERE sun_devils_points = 44
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_15187735_4 (netflix VARCHAR, episode VARCHAR) ### Question: What is the netflix code for episode 46? ### Answer: SELECT netflix FROM table_15187735_4 WHERE episode = 46
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 departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER) ### Question: Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200. ### Answer: SELECT * FROM employees WHERE NOT department_id IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)
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_15315276_1 (tournament_location VARCHAR, champion VARCHAR) ### Question: Where was the tournament located when Misun Cho won the championship? ### Answer: SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho"
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_97 (gold VARCHAR, bronze VARCHAR, sport VARCHAR) ### Question: What is the winner of gold that also has ↓ 1 in the sport of cycling? ### Answer: SELECT gold FROM table_name_97 WHERE bronze = "↓ 1" AND sport = "cycling"
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_72 (area__km_2__ INTEGER, code VARCHAR, region VARCHAR) ### Question: What is the largest area with a Code of 66097, and a Region larger than 6? ### Answer: SELECT MAX(area__km_2__) FROM table_name_72 WHERE code = 66097 AND region > 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_74 (victory_margin__in_lengths_ VARCHAR, time VARCHAR, finish VARCHAR, jockey VARCHAR) ### Question: What was the victory margin for a finish of 1st with a rider of Kent Desormeaux, with a time of 1:35.66? ### Answer: SELECT victory_margin__in_lengths_ FROM table_name_74 WHERE finish = "1st" AND jockey = "kent desormeaux" AND time = "1:35.66"
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_44 (total_receipts VARCHAR, candidate VARCHAR) ### Question: Tell me the total receipts for tom tancredo ### Answer: SELECT total_receipts FROM table_name_44 WHERE candidate = "tom tancredo"
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 (name VARCHAR, locale VARCHAR) ### Question: what is the name of the holland locale ### Answer: SELECT name FROM table_name_83 WHERE locale = "holland"
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 (throws VARCHAR, first VARCHAR) ### Question: How many throws does PJ have? ### Answer: SELECT throws FROM table_name_39 WHERE first = "pj"
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 (position VARCHAR, player VARCHAR) ### Question: What is the position of Dale Craigwell? ### Answer: SELECT position FROM table_name_67 WHERE player = "dale craigwell"
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 (record VARCHAR, home VARCHAR) ### Question: What is the record for the NY Rangers? ### Answer: SELECT record FROM table_name_92 WHERE home = "ny rangers"
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_3 (gold_medals VARCHAR, ensemble VARCHAR, bronze_medals VARCHAR) ### Question: When the Mandarins won more than 1 bronze medals, how many gold medals did they win? ### Answer: SELECT COUNT(gold_medals) FROM table_name_3 WHERE ensemble = "mandarins" AND bronze_medals > 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_10960039_6 (college VARCHAR, player VARCHAR) ### Question: What schools did lenard semajuste play for? ### Answer: SELECT college FROM table_10960039_6 WHERE player = "Lenard Semajuste"
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 (label VARCHAR, region VARCHAR, date VARCHAR) ### Question: Which label had a Japan region and a date of November 3, 2004? ### Answer: SELECT label FROM table_name_53 WHERE region = "japan" AND date = "november 3, 2004"
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 (goals_for INTEGER, played INTEGER) ### Question: Which lowest goals for number had a played number of less than 34? ### Answer: SELECT MIN(goals_for) FROM table_name_95 WHERE played < 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_1571238_2 (fourth_place INTEGER, team VARCHAR) ### Question: When the team is lake superior state how many times did they place fourth? ### Answer: SELECT MIN(fourth_place) FROM table_1571238_2 WHERE team = "Lake Superior State"
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 (fa_cup_apps VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, league_apps VARCHAR) ### Question: What FA cup apps has a total larger than 12 and league apps larger than 38, and FA Cup goals larger than 1? ### Answer: SELECT COUNT(fa_cup_apps) FROM table_name_50 WHERE total_apps > 12 AND league_apps > 38 AND fa_cup_goals > 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_1 (away_team VARCHAR, venue VARCHAR) ### Question: Who is the away side at junction oval? ### Answer: SELECT away_team FROM table_name_1 WHERE venue = "junction oval"
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 (parent_magazine VARCHAR, title VARCHAR) ### Question: What is the parent magazine for Dengeki 5pb.? ### Answer: SELECT parent_magazine FROM table_name_42 WHERE title = "dengeki 5pb."
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_16 (laps INTEGER, points VARCHAR, grid VARCHAR) ### Question: Who has the lowest laps with 29 points on 1 grid? ### Answer: SELECT MIN(laps) FROM table_name_16 WHERE points = 29 AND grid < 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 pilot (Name VARCHAR, Age VARCHAR) ### Question: List names of all pilot aged 30 or younger in descending alphabetical order. ### Answer: SELECT Name FROM pilot WHERE Age <= 30 ORDER BY Name DESC
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_11677691_2 (position VARCHAR, school VARCHAR) ### Question: WHAT POSITION DOES THE PLAYER FROM SOUTH POINTE HIGH SCHOOL PLAY? ### Answer: SELECT position FROM table_11677691_2 WHERE school = "South Pointe High school"
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_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR) ### Question: What activities does Clear Channel Entertainment Facilitation Limited engage in? ### Answer: SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED"
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 (date VARCHAR, opponent VARCHAR) ### Question: What date has new england patriots as the opponent? ### Answer: SELECT date FROM table_name_26 WHERE opponent = "new england patriots"
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_75 (against INTEGER, ballarat_fl VARCHAR, wins VARCHAR) ### Question: What is the sum of against in Ballarat FL of East Point and wins less than 16? ### Answer: SELECT SUM(against) FROM table_name_75 WHERE ballarat_fl = "east point" AND wins < 16
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 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR) ### Question: What is the sum of byes for losses larger than 14 for a Portland DFL of westerns? ### Answer: SELECT SUM(byes) FROM table_name_11 WHERE portland_dfl = "westerns" AND losses > 14
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_262476_3 (founded INTEGER, institution VARCHAR) ### Question: When was alfred university founded? ### Answer: SELECT MAX(founded) FROM table_262476_3 WHERE institution = "Alfred University"
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_43 (power VARCHAR, capacity VARCHAR) ### Question: what is the power when the capacity is 898cc? ### Answer: SELECT power FROM table_name_43 WHERE capacity = "898cc"
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_84 (songwriter_s_ VARCHAR, production_credits VARCHAR, track VARCHAR) ### Question: Who was the songwriter for Track 4, produced by nigel wright and john smits? ### Answer: SELECT songwriter_s_ FROM table_name_84 WHERE production_credits = "nigel wright and john smits" AND track = 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_34 (circuit VARCHAR, winner VARCHAR, series VARCHAR) ### Question: What is the Circuit in the ATCC Round 1 Series with Winner Jim Richards? ### Answer: SELECT circuit FROM table_name_34 WHERE winner = "jim richards" AND series = "atcc round 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_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR) ### Question: How many first downs did the bills have when their opponent had 6 ### Answer: SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 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_28 (votes VARCHAR, candidate VARCHAR, counties VARCHAR) ### Question: What is the number of votes when Ron Paul is the candidate with less than 0 counties? ### Answer: SELECT COUNT(votes) FROM table_name_28 WHERE candidate = "ron paul" AND counties < 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_27712702_11 (game INTEGER, record VARCHAR) ### Question: what was the game number where the record was 46–24? ### Answer: SELECT MIN(game) FROM table_27712702_11 WHERE record = "46–24"
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 (power VARCHAR, chassis_code VARCHAR) ### Question: What is the power of the Chassis code w123.130? ### Answer: SELECT power FROM table_name_67 WHERE chassis_code = "w123.130"
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_20319085_2 (coach VARCHAR, conference_record VARCHAR) ### Question: Who coached the team in the season with a 6-1 conference record? ### Answer: SELECT coach FROM table_20319085_2 WHERE conference_record = "6-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_70 (height__m_ INTEGER, location VARCHAR, height__ft_ VARCHAR) ### Question: What is the lowest height in meters for the building located in mailänder straße 1, sachsenhausen-süd, with a height shorter than 328.1 ft? ### Answer: SELECT MIN(height__m_) FROM table_name_70 WHERE location = "mailänder straße 1, sachsenhausen-süd" AND height__ft_ < 328.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_54 (issue_date_s_ VARCHAR, artist VARCHAR) ### Question: What date did the song by jennifer lopez get issued? ### Answer: SELECT issue_date_s_ FROM table_name_54 WHERE artist = "jennifer lopez"
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_10818465_1 (ga_date VARCHAR, processor_frequency VARCHAR) ### Question: What ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have? ### Answer: SELECT ga_date FROM table_10818465_1 WHERE processor_frequency = "1.0, 1.2, 1.4GHz"
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_22753439_1 (party VARCHAR, winner VARCHAR) ### Question: What is every party with a winner of P. Chidambaram? ### Answer: SELECT party AS a FROM table_22753439_1 WHERE winner = "P. Chidambaram"
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_61 (week INTEGER, attendance VARCHAR) ### Question: What is the week with attendance of 73,572? ### Answer: SELECT MAX(week) FROM table_name_61 WHERE attendance = "73,572"
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 (played VARCHAR, club VARCHAR) ### Question: What is listed under Played that has a Club of Morriston RFC? ### Answer: SELECT played FROM table_name_35 WHERE club = "morriston rfc"
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_1754531_4 (domestic_mail VARCHAR, total_freight_and_mail VARCHAR) ### Question: Name the total number of domestic mail for 7853 for total frieght and mail ### Answer: SELECT COUNT(domestic_mail) FROM table_1754531_4 WHERE total_freight_and_mail = 7853
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_71 (ag VARCHAR, d3 VARCHAR) ### Question: What is the AG value associated with a D3&4 of 41? ### Answer: SELECT ag FROM table_name_71 WHERE d3 & 4 = "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 Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (rID VARCHAR) ### Question: Find the names of all reviewers who have contributed three or more ratings. ### Answer: SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID GROUP BY T1.rID HAVING COUNT(*) >= 3
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_29546218_3 (skip__club_ VARCHAR, pf VARCHAR) ### Question: What is the total mumber of skip (club) entries when the pf is 40? ### Answer: SELECT COUNT(skip__club_) FROM table_29546218_3 WHERE pf = 40
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 Player (pName VARCHAR) ### Question: Find the players whose names contain letter 'a'. ### Answer: SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'
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_18278508_2 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) ### Question: Who performed with Tina Parekh? ### Answer: SELECT main_contestant FROM table_18278508_2 WHERE co_contestant__yaar_vs_pyaar_ = "Tina Parekh"
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 (district VARCHAR, constituency_number VARCHAR) ### Question: What district has 98 constituencies? ### Answer: SELECT district FROM table_name_54 WHERE constituency_number = "98"
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_28 (_percentage_of_1_rep_max_last_set_ VARCHAR, set_4 VARCHAR) ### Question: How many % of 1 Rep Max(Last Set) has a Set 4 of 145lb x 5reps? ### Answer: SELECT _percentage_of_1_rep_max_last_set_ FROM table_name_28 WHERE set_4 = "145lb x 5reps"
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 song (Singer_ID VARCHAR, Sales INTEGER); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR) ### Question: Show distinct names of singers that have songs with sales more than 300000. ### Answer: SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000
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_55 (date VARCHAR, goal VARCHAR) ### Question: Which date has 3 as the goal? ### Answer: SELECT date FROM table_name_55 WHERE goal = 3
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_13713206_1 (games_played VARCHAR, goals_for_against VARCHAR) ### Question: How many games has the club with 29-24 goals for/against score played? ### Answer: SELECT games_played FROM table_13713206_1 WHERE goals_for_against = "29-24"
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_21249915_1 (department VARCHAR, small__100ha_ VARCHAR) ### Question: Which department has a small of 11370? ### Answer: SELECT department FROM table_21249915_1 WHERE small__100ha_ = 11370
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 Flight (flno VARCHAR, origin VARCHAR) ### Question: Show all flight number from Los Angeles. ### Answer: SELECT flno FROM Flight WHERE origin = "Los Angeles"
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_60 (suburb VARCHAR, roll VARCHAR) ### Question: What is the name of the suburb with a roll of 741? ### Answer: SELECT suburb FROM table_name_60 WHERE roll = 741
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_25 (la_crescenta__montrose VARCHAR, pasadena VARCHAR) ### Question: When Pasadena is at 10%, what is La Crescenta-Montrose? ### Answer: SELECT la_crescenta__montrose FROM table_name_25 WHERE pasadena = "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 table_name_6 (live_births_2006 INTEGER, county VARCHAR, tfr_2006 VARCHAR) ### Question: In 2006, what is the highest number for Live births in the County of Cumbria that has a TFR larger than 1.76? ### Answer: SELECT MAX(live_births_2006) FROM table_name_6 WHERE county = "cumbria" AND tfr_2006 > 1.76
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_24415627_2 (entered_senate VARCHAR, senator VARCHAR) ### Question: On what date did congressman joseph tydings enter take his seat? ### Answer: SELECT entered_senate FROM table_24415627_2 WHERE senator = "Joseph Tydings"
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_27721131_6 (team VARCHAR, date VARCHAR) ### Question: What is the team they played on november 25? ### Answer: SELECT team FROM table_27721131_6 WHERE date = "November 25"
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_61 (high_assists VARCHAR, date VARCHAR) ### Question: What were the high assist on january 2? ### Answer: SELECT high_assists FROM table_name_61 WHERE date = "january 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_15059783_1 (team_classification VARCHAR, combination_classification VARCHAR, points_classification VARCHAR) ### Question: How many teams have a combination classification of Alejandro Valverde and a Points classification of Alessandro Petacchi? ### Answer: SELECT COUNT(team_classification) FROM table_15059783_1 WHERE combination_classification = "Alejandro Valverde" AND points_classification = "Alessandro Petacchi"
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 (score VARCHAR, player VARCHAR) ### Question: What is the score for Todd Hamilton? ### Answer: SELECT score FROM table_name_52 WHERE player = "todd 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_18600760_13 (longitude VARCHAR, water__sqmi_ VARCHAR) ### Question: What longitudes associated with a water (sqmi) area of 0.068? ### Answer: SELECT longitude FROM table_18600760_13 WHERE water__sqmi_ = "0.068"
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_29 (round INTEGER, name VARCHAR, pick VARCHAR) ### Question: What's the average round Red Bryant was drafted with a pick larger than 121? ### Answer: SELECT AVG(round) FROM table_name_29 WHERE name = "red bryant" AND pick > 121
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 (label VARCHAR, catalogue VARCHAR) ### Question: What label has RTRADLP 346 as catalogue? ### Answer: SELECT label FROM table_name_90 WHERE catalogue = "rtradlp 346"
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_40 (district VARCHAR, incumbent VARCHAR) ### Question: What district is Jim Moran the incumbent for. ### Answer: SELECT district FROM table_name_40 WHERE incumbent = "jim moran"
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_91 (draw INTEGER, performer VARCHAR) ### Question: How many draws did gary o'shaughnessy have? ### Answer: SELECT SUM(draw) FROM table_name_91 WHERE performer = "gary o'shaughnessy"
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 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: What is the time/retired for the car with over 9 laps and a grid of 6? ### Answer: SELECT time_retired FROM table_name_42 WHERE laps > 9 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_28005100_1 (no VARCHAR, title VARCHAR) ### Question: How many numbers are there for kam wa7ed fina? ### Answer: SELECT COUNT(no) FROM table_28005100_1 WHERE title = "Kam Wa7ed Fina"
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_27050732_7 (delegate VARCHAR, district VARCHAR) ### Question: Who represents district 41? ### Answer: SELECT delegate FROM table_27050732_7 WHERE district = "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_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR) ### Question: Which is the earliest founded day school to have entered the competition after 1958? ### Answer: SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958
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 (start VARCHAR, finish VARCHAR) ### Question: Name the start for finish being 21st ### Answer: SELECT start FROM table_name_39 WHERE finish = "21st"
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 (position VARCHAR, player VARCHAR) ### Question: What is Thad Jemison's position? ### Answer: SELECT position FROM table_name_85 WHERE player = "thad jemison"
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 product (product VARCHAR) ### Question: Find all the product whose name contains the word "Scanner". ### Answer: SELECT product FROM product WHERE product LIKE "%Scanner%"
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_9 (name VARCHAR, locomotive VARCHAR) ### Question: What is the name for the locomotive n474? ### Answer: SELECT name FROM table_name_9 WHERE locomotive = "n474"
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_87 (goals INTEGER, player VARCHAR) ### Question: How many goals does mitsuo kato have? ### Answer: SELECT MAX(goals) FROM table_name_87 WHERE player = "mitsuo kato"
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 (attendance VARCHAR, h___a VARCHAR, opponents VARCHAR) ### Question: What's the total attendance for H/A of A and opponents of wolverhampton wanderers? ### Answer: SELECT COUNT(attendance) FROM table_name_42 WHERE h___a = "a" AND opponents = "wolverhampton wanderers"
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_27094070_4 (overall_gms VARCHAR, overall_avg VARCHAR) ### Question: How many games had an average of 12796? ### Answer: SELECT COUNT(overall_gms) FROM table_27094070_4 WHERE overall_avg = 12796
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 (seasons VARCHAR, goals VARCHAR, lost VARCHAR) ### Question: How many seasons have goals of 261-338 with more than 111 losses? ### Answer: SELECT COUNT(seasons) FROM table_name_77 WHERE goals = "261-338" AND lost > 111
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_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR) ### Question: When there are 7.5 million viewers what is the archive? ### Answer: SELECT archive FROM table_2102945_1 WHERE viewers__in_millions_ = "7.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_14418812_1 (opponent VARCHAR, week VARCHAR) ### Question: Name the opponent for week 12 ### Answer: SELECT opponent FROM table_14418812_1 WHERE week = 12
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 (record VARCHAR, years VARCHAR) ### Question: what is the record for years 2006-11? ### Answer: SELECT record FROM table_name_92 WHERE years = "2006-11"
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_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR) ### Question: What is the total number of television channels when one of the radio stations is onda madrid? ### Answer: SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Onda Madrid"
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_20360535_4 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) ### Question: what is the original air date of the episode directed by Ben Jones and written by Steven Melching? ### Answer: SELECT original_air_date FROM table_20360535_4 WHERE directed_by = "Ben Jones" AND written_by = "Steven Melching"
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_14325653_2 (publisher_s_ VARCHAR, video_game VARCHAR) ### Question: Name the total number of publishers for flushed away ### Answer: SELECT COUNT(publisher_s_) FROM table_14325653_2 WHERE video_game = "Flushed Away"