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_56 (holding VARCHAR, component VARCHAR) ### Question: What is the holding of the customers? ### Answer: SELECT holding FROM table_name_56 WHERE component = "customers"
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 (game VARCHAR, score VARCHAR, january VARCHAR) ### Question: How many games have a Score of 3–0, and a January larger than 12? ### Answer: SELECT COUNT(game) FROM table_name_16 WHERE score = "3–0" AND january > 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_75 (year_commissioned INTEGER, gross_head__metres_ VARCHAR, average_annual_output__million_kwh_ VARCHAR) ### Question: What is the Year commissioned of the power station with a Gross head of 60 metres and Average annual output of less than 59 million KWh? ### Answer: SELECT MAX(year_commissioned) FROM table_name_75 WHERE gross_head__metres_ = 60 AND average_annual_output__million_kwh_ < 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_19 (team_1 VARCHAR) ### Question: What is the first leg of team 1 for Hardware stars? ### Answer: SELECT 1 AS st_leg FROM table_name_19 WHERE team_1 = "hardware stars"
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 (score VARCHAR, opponent VARCHAR, record VARCHAR) ### Question: Which score has an Opponent of white sox, and a Record of 2-0? ### Answer: SELECT score FROM table_name_92 WHERE opponent = "white sox" AND record = "2-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_name_46 (week VARCHAR, date VARCHAR) ### Question: September 23, 1973 landed on which week of the season? ### Answer: SELECT week FROM table_name_46 WHERE date = "september 23, 1973"
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 (significand VARCHAR, number_of_decimal_digits VARCHAR, total_bits VARCHAR) ### Question: What's the total number of signicand with ~34.0 decimal digits and more than 128 total bits? ### Answer: SELECT COUNT(significand) FROM table_name_41 WHERE number_of_decimal_digits = "~34.0" AND total_bits > 128
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_2241841_1 (laps VARCHAR, race_time VARCHAR) ### Question: In the race with a winning time of 4:17:18, how many laps were run? ### Answer: SELECT laps FROM table_2241841_1 WHERE race_time = "4:17:18"
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 (constructor VARCHAR, grid VARCHAR) ### Question: What is the name of the constructor for Grid 1? ### Answer: SELECT constructor FROM table_name_11 WHERE 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 table_name_25 (eliminated_contestant VARCHAR, date_premiered__2009_ VARCHAR) ### Question: What eliminated contestant has October 10, 2009 as the date premiered? ### Answer: SELECT eliminated_contestant FROM table_name_25 WHERE date_premiered__2009_ = "october 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_84 (competition VARCHAR, venue VARCHAR) ### Question: What competition was played at Shay Stadium? ### Answer: SELECT competition FROM table_name_84 WHERE venue = "shay stadium"
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 (rank INTEGER, year VARCHAR, moving_from VARCHAR) ### Question: Moving from Nancy after 2005, what is listed as the lowest rank? ### Answer: SELECT MIN(rank) FROM table_name_37 WHERE year > 2005 AND moving_from = "nancy"
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_14630796_1 (class_a VARCHAR, class_aAAA VARCHAR, Carthage VARCHAR) ### Question: Name the class a for carthage ### Answer: SELECT class_a FROM table_14630796_1 WHERE class_aAAA = Carthage
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_2062148_3 (group VARCHAR, race VARCHAR) ### Question: What group was the Hollindale Stakes in? ### Answer: SELECT group FROM table_2062148_3 WHERE race = "Hollindale Stakes"
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 (location VARCHAR, time VARCHAR) ### Question: Where was the fight that took a time of 1:37? ### Answer: SELECT location FROM table_name_94 WHERE time = "1:37"
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 (date VARCHAR, fastest_lap VARCHAR, race VARCHAR) ### Question: Tell me the date for jody scheckter being the fastest lap at the french grand prix ### Answer: SELECT date FROM table_name_14 WHERE fastest_lap = "jody scheckter" AND race = "french grand prix"
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 (entrant VARCHAR, chassis VARCHAR) ### Question: What is the name of the entrant with a chassis of m185b m186? ### Answer: SELECT entrant FROM table_name_65 WHERE chassis = "m185b m186"
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 (player VARCHAR, total VARCHAR) ### Question: What player has a total of 290 points? ### Answer: SELECT player FROM table_name_46 WHERE total = 290
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 (location VARCHAR, country VARCHAR) ### Question: Which location is in the Belgian Congo Tanganyika? ### Answer: SELECT location FROM table_name_49 WHERE country = "belgian congo tanganyika"
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 (result VARCHAR, competition VARCHAR, goal VARCHAR) ### Question: Name the result for uncaf nations cup 2009 and 6 goal ### Answer: SELECT result FROM table_name_3 WHERE competition = "uncaf nations cup 2009" AND goal = 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_54 (best VARCHAR, qual_1 VARCHAR) ### Question: What is the best time of the team that had a qualifying 1 time of 1:01.043? ### Answer: SELECT best FROM table_name_54 WHERE qual_1 = "1:01.043"
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_24 (podiums INTEGER, finishes VARCHAR, starts VARCHAR) ### Question: What is the average number of podiums for drivers with under 12 finishes and under 1 start? ### Answer: SELECT AVG(podiums) FROM table_name_24 WHERE finishes < 12 AND starts < 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_77 (overall INTEGER, executive_appointments VARCHAR, background VARCHAR) ### Question: What's the most overall when the executive appointments were 28 and the background was smaller than 37? ### Answer: SELECT MAX(overall) FROM table_name_77 WHERE executive_appointments = 28 AND background < 37
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 review (name VARCHAR, u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR) ### Question: Find the names of users who did not leave any review. ### Answer: SELECT name FROM useracct WHERE NOT u_id IN (SELECT u_id FROM review)
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_27374004_4 (date_of_appointment VARCHAR, replaced_by VARCHAR) ### Question: When was the date of appointment by Hugo Broos? ### Answer: SELECT date_of_appointment FROM table_27374004_4 WHERE replaced_by = "Hugo Broos"
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_1733457_1 (kerry_number INTEGER, others_number VARCHAR) ### Question: Name the maximum kerry # for where others is 47 ### Answer: SELECT MAX(kerry_number) FROM table_1733457_1 WHERE others_number = 47
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 problems (problem_id VARCHAR, date_problem_reported INTEGER) ### Question: What are the ids of the problems which are reported before 1978-06-26? ### Answer: SELECT problem_id FROM problems WHERE date_problem_reported < "1978-06-26"
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 (venue VARCHAR, date VARCHAR) ### Question: What was the Venue in 2003? ### Answer: SELECT venue FROM table_name_16 WHERE date = "2003"
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 (pairing VARCHAR, binomial VARCHAR) ### Question: Binomial of θ(1) has what pairing? ### Answer: SELECT pairing FROM table_name_68 WHERE binomial = "θ(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_66 (bronze INTEGER, gold VARCHAR, rank VARCHAR) ### Question: How many bronzes for nations with over 22 golds and ranked under 2? ### Answer: SELECT MAX(bronze) FROM table_name_66 WHERE gold > 22 AND 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_98 (game_site VARCHAR, attendance VARCHAR) ### Question: Where did the Jet's play with an attendance of 11,309? ### Answer: SELECT game_site FROM table_name_98 WHERE attendance = "11,309"
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_1784514_1 (capital VARCHAR, voivodeship_after_1569 VARCHAR) ### Question: How many capitals had brest litovsk voivodeship as voivodeship after 1569? ### Answer: SELECT COUNT(capital) FROM table_1784514_1 WHERE voivodeship_after_1569 = "Brest Litovsk Voivodeship"
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 (spanish VARCHAR, english VARCHAR) ### Question: what is the spanish word for garden ### Answer: SELECT spanish FROM table_name_83 WHERE english = "garden"
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_11884814_3 (swimsuit VARCHAR, interview VARCHAR) ### Question: What is the swimsuit score when the interview was 9.74? ### Answer: SELECT swimsuit FROM table_11884814_3 WHERE interview = "9.74"
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_20 (league INTEGER, name VARCHAR, total VARCHAR) ### Question: What is average for Benito Lorenzi league when total is smaller than 143? ### Answer: SELECT AVG(league) FROM table_name_20 WHERE name = "benito lorenzi" AND total < 143
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 (location VARCHAR, record VARCHAR) ### Question: What is the location for the 23-17 record? ### Answer: SELECT location FROM table_name_67 WHERE record = "23-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_15 (retail_name VARCHAR, digital_analog_signal VARCHAR, chipset_based_on VARCHAR) ### Question: What is the Retail name with a Digital/analog signal with analog, and a Chipset based on with radeon 9600? ### Answer: SELECT retail_name FROM table_name_15 WHERE digital_analog_signal = "analog" AND chipset_based_on = "radeon 9600"
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 (nba_draft VARCHAR, player VARCHAR) ### Question: What was the nba draft for al-farouq aminu? ### Answer: SELECT nba_draft FROM table_name_53 WHERE player = "al-farouq aminu"
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 (fa_cup INTEGER, name VARCHAR, total VARCHAR) ### Question: What is the average number of goals scored in the FA Cup by Whelan where he had more than 7 total goals? ### Answer: SELECT AVG(fa_cup) FROM table_name_72 WHERE name = "whelan" AND total > 7
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 (mintage VARCHAR, weight VARCHAR, theme VARCHAR) ### Question: What is the Mintage of the 12.61 g Weight Ruby-Throated Hummingbird? ### Answer: SELECT COUNT(mintage) FROM table_name_88 WHERE weight = "12.61 g" AND theme = "ruby-throated hummingbird"
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 (career_win_loss VARCHAR, tournament VARCHAR) ### Question: What is the win-loss when 2008 has a value of Q1 at Australian Open? ### Answer: SELECT career_win_loss FROM table_name_65 WHERE 2008 = "q1" AND tournament = "australian open"
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 (played INTEGER, lost VARCHAR, goals_against VARCHAR, team VARCHAR) ### Question: What is the average Played, when Goals Against is less than 63, when Team is "Nelson", and when Lost is greater than 16? ### Answer: SELECT AVG(played) FROM table_name_18 WHERE goals_against < 63 AND team = "nelson" AND lost > 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_72 (date VARCHAR, venue VARCHAR, score VARCHAR) ### Question: When was the game at the boulevard that ended with an 8-8 score? ### Answer: SELECT date FROM table_name_72 WHERE venue = "the boulevard" AND score = "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_52 (gold INTEGER, silver VARCHAR, bronze VARCHAR) ### Question: What is the lowest Gold, when Silver is 0, and when Bronze is 2? ### Answer: SELECT MIN(gold) FROM table_name_52 WHERE silver = 0 AND bronze = 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_84 (school_club_team VARCHAR, name VARCHAR, acquisition_via VARCHAR, position VARCHAR) ### Question: What team acquired as a rookie draft in the position of guard Dennis Miranda? ### Answer: SELECT school_club_team FROM table_name_84 WHERE acquisition_via = "rookie draft" AND position = "guard" AND name = "dennis miranda"
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 (episode_title VARCHAR, original_airdate VARCHAR) ### Question: What is the title of the episode that originally aired on March 31, 2008? ### Answer: SELECT episode_title FROM table_name_1 WHERE original_airdate = "march 31, 2008"
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_33 (name VARCHAR, qual_2 VARCHAR) ### Question: What name has a qual 2 of 1:46.025? ### Answer: SELECT name FROM table_name_33 WHERE qual_2 = "1:46.025"
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 (margin INTEGER, score VARCHAR) ### Question: What was the margin of the score 52-12? ### Answer: SELECT SUM(margin) FROM table_name_14 WHERE score = "52-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_36 (stolen_ends_against VARCHAR, blank_ends_f_a VARCHAR, country VARCHAR) ### Question: What is the stolen ends against for a bank ends f/a of 4/7, and a country of china? ### Answer: SELECT stolen_ends_against FROM table_name_36 WHERE blank_ends_f_a = "4/7" AND country = "china"
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 (name VARCHAR, season VARCHAR, acquisition_via VARCHAR) ### Question: What is the name from the 2002 season, and acquired via free agency? ### Answer: SELECT name FROM table_name_80 WHERE season = "2002" AND acquisition_via = "free agency"
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 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) ### Question: What is the FCC info of the w214ba call sign with a frequency below 96.3? ### Answer: SELECT fcc_info FROM table_name_64 WHERE frequency_mhz < 96.3 AND call_sign = "w214ba"
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 (name VARCHAR, episode_number VARCHAR) ### Question: Which contestant was associated with episode 34? ### Answer: SELECT name FROM table_name_30 WHERE episode_number = "episode 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_10682862_68 (standard INTEGER, first_title VARCHAR) ### Question: What's the standard of the country who won its first title in 1992? ### Answer: SELECT MAX(standard) FROM table_10682862_68 WHERE first_title = 1992
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 (intake INTEGER, faith VARCHAR, dcsf_number VARCHAR) ### Question: Can you tell me the sum of Intake that has the Faith of rc, and the DCSF number larger than 2428? ### Answer: SELECT SUM(intake) FROM table_name_54 WHERE faith = "rc" AND dcsf_number > 2428
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_78 (date_of_vacancy VARCHAR, team VARCHAR) ### Question: What was the day of vacancy for vitória de guimarães? ### Answer: SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães"
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_27713583_2 (date VARCHAR, high_points VARCHAR) ### Question: What is the date the high points was by toney douglas (23)? ### Answer: SELECT date FROM table_27713583_2 WHERE high_points = "Toney Douglas (23)"
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 (week INTEGER, attendance VARCHAR) ### Question: How many weeks have an Attendance of 62,289? ### Answer: SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289
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 (name VARCHAR, latitude VARCHAR, year_named VARCHAR, diameter__km_ VARCHAR) ### Question: What name was given in 1994 when the diameter (km) was larger than 125 and the latitude was 30.0s? ### Answer: SELECT name FROM table_name_46 WHERE year_named = 1994 AND diameter__km_ > 125 AND latitude = "30.0s"
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_33 (segment_d VARCHAR, episode VARCHAR, segment_c VARCHAR) ### Question: What segment d is associated with an episode number above 16 and a segment c of laser eye surgery? ### Answer: SELECT segment_d FROM table_name_33 WHERE episode > 16 AND segment_c = "laser eye surgery"
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 (to_par VARCHAR, winner VARCHAR) ### Question: What did winner Gary Player par? ### Answer: SELECT to_par FROM table_name_89 WHERE winner = "gary player"
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_2840500_4 (position VARCHAR, player VARCHAR) ### Question: How many draft pick positions did Matt Bradley have? ### Answer: SELECT COUNT(position) FROM table_2840500_4 WHERE player = "Matt Bradley"
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 (score VARCHAR, opponent VARCHAR, surface VARCHAR, year VARCHAR) ### Question: What was the score on a clay surface in a year later than 2006 with David Ferrer as an opponent? ### Answer: SELECT score FROM table_name_43 WHERE surface = "clay" AND year > 2006 AND opponent = "david ferrer"
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_1998037_9 (year_s_ INTEGER, spokesperson VARCHAR) ### Question: What is the year when the spoksperson is Ruslana? ### Answer: SELECT MIN(year_s_) FROM table_1998037_9 WHERE spokesperson = "Ruslana"
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_22 (erp_w VARCHAR, call_sign VARCHAR) ### Question: What is the ERP W for K236AM? ### Answer: SELECT erp_w FROM table_name_22 WHERE call_sign = "k236am"
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_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR) ### Question: What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface? ### Answer: SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay"
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 (mountains_classification VARCHAR, points_classification VARCHAR, general_classification VARCHAR) ### Question: What's the mountains classification when the points classification is Alessandro Petacchi and the general classification is Danilo Di Luca? ### Answer: SELECT mountains_classification FROM table_name_26 WHERE points_classification = "alessandro petacchi" AND general_classification = "danilo di luca"
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 (method VARCHAR, result VARCHAR, date VARCHAR) ### Question: what is the method when the result is loss on january 19, 2008? ### Answer: SELECT method FROM table_name_30 WHERE result = "loss" AND date = "january 19, 2008"
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 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR) ### Question: Which driver retired from a collision after 41 laps? ### Answer: SELECT driver FROM table_name_54 WHERE time_retired = "collision" AND laps = "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_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR) ### Question: What school did the linebacker who was drafted after round 8 come from? ### Answer: SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker"
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_66 (date_of_birth VARCHAR, begin_date VARCHAR) ### Question: What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902? ### Answer: SELECT date_of_birth FROM table_name_66 WHERE begin_date = "april 24, 1902"
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_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR) ### Question: What is the award for the Star Awards earlier than 2005 and the result is won? ### Answer: SELECT award FROM table_name_31 WHERE organisation = "star awards" AND year < 2005 AND result = "won"
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 (attendance INTEGER, score VARCHAR) ### Question: What is the sum of attendance when the score was 2:0? ### Answer: SELECT SUM(attendance) FROM table_name_80 WHERE score = "2: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_name_38 (week VARCHAR, opponent VARCHAR) ### Question: What is the total for the week in the game against the Chicago Bears ### Answer: SELECT COUNT(week) FROM table_name_38 WHERE opponent = "chicago bears"
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 (winning_driver VARCHAR, race VARCHAR) ### Question: Who was the winning driver for the Dutch Grand Prix? ### Answer: SELECT winning_driver FROM table_name_25 WHERE race = "dutch grand prix"
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_20297668_1 (yarn_type__us_ VARCHAR, standard_yarn_weight_system VARCHAR) ### Question: Name the yarn type for standard yarn weight system for 3 or light ### Answer: SELECT yarn_type__us_ FROM table_20297668_1 WHERE standard_yarn_weight_system = "3 or Light"
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_2182170_1 (car_s_ VARCHAR, driver_s_ VARCHAR) ### Question: What type of car does Jeff Fuller drive? ### Answer: SELECT car_s_ FROM table_2182170_1 WHERE driver_s_ = "Jeff Fuller"
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_19744915_3 (scoreboard VARCHAR, karen VARCHAR) ### Question: what is the scoreboard when karen was 4.5 ### Answer: SELECT scoreboard FROM table_19744915_3 WHERE karen = "4.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_53 (season VARCHAR, wins VARCHAR, loses VARCHAR, competition VARCHAR) ### Question: How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4? ### Answer: SELECT COUNT(season) FROM table_name_53 WHERE loses > 1 AND competition = "fiba europe cup" AND wins < 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_14139408_1 (pts VARCHAR, position VARCHAR) ### Question: what's the pts with position being nc ### Answer: SELECT pts FROM table_14139408_1 WHERE position = "NC"
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 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) ### Question: Who was the home team on April 13, 2008 when Itabuna was the away team? ### Answer: SELECT home_team FROM table_name_80 WHERE date = "april 13, 2008" AND away_team = "itabuna"
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 Faculty (FacID VARCHAR); CREATE TABLE Faculty_participates_in (FacID VARCHAR) ### Question: Show the ids of the faculty who don't participate in any activity. ### Answer: SELECT FacID FROM Faculty EXCEPT SELECT FacID FROM Faculty_participates_in
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 (goals_l_c_e_ VARCHAR, nat VARCHAR, name VARCHAR) ### Question: What are the goals for Pelletieri in ARG? ### Answer: SELECT goals_l_c_e_ FROM table_name_18 WHERE nat = "arg" AND name = "pelletieri"
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 (years_of_operation VARCHAR, client VARCHAR) ### Question: What years was soc a client? ### Answer: SELECT years_of_operation FROM table_name_88 WHERE client = "soc"
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 (start VARCHAR, rank VARCHAR, laps VARCHAR) ### Question: What was the start result with a Rank of 7 and more than 100 laps? ### Answer: SELECT start FROM table_name_15 WHERE rank = "7" AND laps > 100
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 (born_died VARCHAR, term_end VARCHAR) ### Question: What is Born-Died, when Term End is 19 January 1943? ### Answer: SELECT born_died FROM table_name_60 WHERE term_end = "19 january 1943"
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 (results¹ VARCHAR, opponent VARCHAR) ### Question: What were the results against the game against Egypt? ### Answer: SELECT results¹ FROM table_name_84 WHERE opponent = "egypt"
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_22 (studio_s_ VARCHAR, year VARCHAR, movie VARCHAR) ### Question: Which Studio has the Year of 2012 listed and the Movie, Dabangg? ### Answer: SELECT studio_s_ FROM table_name_22 WHERE year = 2012 AND movie = "dabangg"
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 (cashes VARCHAR, match_play VARCHAR, events VARCHAR) ### Question: Which Cashes has a Match Play smaller than 13, and a Events of 7? ### Answer: SELECT COUNT(cashes) FROM table_name_97 WHERE match_play < 13 AND events = 7
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 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) ### Question: In which city is the station licensed whose frequency MHz is higher than 102.3 and whose call sign is K292EU? ### Answer: SELECT city_of_license FROM table_name_28 WHERE frequency_mhz > 102.3 AND call_sign = "k292eu"
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 (date VARCHAR, competition VARCHAR, result VARCHAR) ### Question: Name the Date has a Competition of welsh rugby union challenge trophy and a Result of 34-34? Question 1 ### Answer: SELECT date FROM table_name_72 WHERE competition = "welsh rugby union challenge trophy" AND result = "34-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 student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR) ### Question: List the clubs having "Davis Steven" as a member. ### Answer: SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Davis" AND t3.lname = "Steven"
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_1341738_36 (party VARCHAR, first_elected VARCHAR) ### Question: What was the party of the first elected candidate in 1954? ### Answer: SELECT party FROM table_1341738_36 WHERE first_elected = 1954
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_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR) ### Question: What's the smallest season for Montreal that's greater than 5,100 for capacity? ### Answer: SELECT MIN(first_season) FROM table_name_8 WHERE city = "montreal" AND capacity > 5 OFFSET 100
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 (recnet VARCHAR, identifier VARCHAR) ### Question: What's the RECNet when the identifier is cbf-fm-20? ### Answer: SELECT recnet FROM table_name_38 WHERE identifier = "cbf-fm-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_16 (result VARCHAR, district VARCHAR, party VARCHAR, first_elected VARCHAR) ### Question: Which republican was first elected in 1886 in the district of ohio 17? ### Answer: SELECT result FROM table_name_16 WHERE party = "republican" AND first_elected = "1886" AND district = "ohio 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_52 (year_made VARCHAR, class VARCHAR) ### Question: Name the year for hercules ### Answer: SELECT year_made FROM table_name_52 WHERE class = "hercules"
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 (name VARCHAR, investigation VARCHAR) ### Question: Tell me the naame of Investigation of thrombus imaging ### Answer: SELECT name FROM table_name_19 WHERE investigation = "thrombus imaging"
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_31 (speed INTEGER, year VARCHAR, passengers VARCHAR) ### Question: What is the average speed for ships before 1974 with over 1.73 passengers? ### Answer: SELECT AVG(speed) FROM table_name_31 WHERE year < 1974 AND passengers > 1.73
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_23235767_4 (year VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR) ### Question: Name the year for clay for boston and guillermo vilas ### Answer: SELECT year FROM table_23235767_4 WHERE surface = "Clay" AND championship = "Boston" AND opponent_in_the_final = "Guillermo Vilas"
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 (top_25 INTEGER, tournament VARCHAR, top_5 VARCHAR) ### Question: Name the sum of top-25 for pga championship and top-5 less than 1 ### Answer: SELECT SUM(top_25) FROM table_name_21 WHERE tournament = "pga championship" AND top_5 < 1