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_82 (miss_universe_philippines VARCHAR, first_runner_up VARCHAR, binibining_pilipinas_world VARCHAR) ### Question: Who won Miss Universe Philippines when the first runner-up was Danielle Castaño and Janina San Miguel won Binibining Pilipinas-World? ### Answer: SELECT miss_universe_philippines FROM table_name_82 WHERE first_runner_up = "danielle castaño" AND binibining_pilipinas_world = "janina san miguel"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR) ### Question: When the quiabaya municipality is 2 what is the combaya municipality? ### Answer: SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "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_16383772_1 (nickname VARCHAR, school VARCHAR) ### Question: Name the total number of nicknames for st. bonaventure university ### Answer: SELECT COUNT(nickname) FROM table_16383772_1 WHERE school = "St. Bonaventure 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_17 (location VARCHAR, time VARCHAR, record VARCHAR) ### Question: What was the location of the bout that lasted 5:00 and led to a 6-2-1 record? ### Answer: SELECT location FROM table_name_17 WHERE time = "5:00" AND record = "6-2-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 (week INTEGER, result VARCHAR) ### Question: In what Week was the Result W 27-24? ### Answer: SELECT MAX(week) FROM table_name_1 WHERE result = "w 27-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_24039173_1 (capacity VARCHAR, team VARCHAR) ### Question: What is the capacity for Sangre Grande Ground, home of the North East Stars? ### Answer: SELECT COUNT(capacity) FROM table_24039173_1 WHERE team = "North East 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_64 (constituency VARCHAR, rank VARCHAR, result VARCHAR) ### Question: what is the constituency when the rank is less than 5 and the result is con hold? ### Answer: SELECT constituency FROM table_name_64 WHERE rank < 5 AND result = "con hold"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17503169_1 (democratic VARCHAR) ### Question: What was the 2008 election status when glenn nye was the running democrat? ### Answer: SELECT 2008 AS _status FROM table_17503169_1 WHERE democratic = "Glenn Nye"
Below is an context that describes a 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_4 (away_team VARCHAR, score VARCHAR, attendance VARCHAR) ### Question: What is the Away team at the game with a Score of 1 – 0 and Attendance of 1,791? ### Answer: SELECT away_team FROM table_name_4 WHERE score = "1 – 0" AND attendance = "1,791"
Below is an context that describes a 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 (lost INTEGER, played INTEGER) ### Question: Which loss had a player lower than 18? ### Answer: SELECT MIN(lost) FROM table_name_63 WHERE played < 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_76 (record VARCHAR, decision VARCHAR, game VARCHAR) ### Question: What is the record of game 42, which had a clemmensen decision? ### Answer: SELECT record FROM table_name_76 WHERE decision = "clemmensen" AND game = 42
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16390001_2 (evening_gown VARCHAR, average VARCHAR) ### Question: What are the evening gown scores of contestants whose average is 9.266? ### Answer: SELECT evening_gown FROM table_16390001_2 WHERE average = "9.266"
Below is an context that describes a 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 (two_mora_word VARCHAR, gloss VARCHAR, accented_mora VARCHAR) ### Question: What is the two-mora word with a low tone accented mora and a gloss of /˩kusuꜜri/ [kɯ̀sɯ́ɽì]? ### Answer: SELECT two_mora_word FROM table_name_53 WHERE NOT accented_mora = "low tone" AND gloss = "/˩kusuꜜri/ [kɯ̀sɯ́ɽì]"
Below is an context that describes a 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 (cardinalatial_order_and_title VARCHAR, elector VARCHAR) ### Question: What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated? ### Answer: SELECT cardinalatial_order_and_title FROM table_name_84 WHERE elector = "pedro martínez de luna y gotor"
Below is an context that describes a 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_73 (score VARCHAR, player VARCHAR) ### Question: What is the score for Darren Clarke? ### Answer: SELECT score FROM table_name_73 WHERE player = "darren clarke"
Below is an context that describes a 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_5 (to_par VARCHAR, player VARCHAR) ### Question: What is Tiger Woods' to par? ### Answer: SELECT to_par FROM table_name_5 WHERE player = "tiger woods"
Below is an context that describes a 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_32 (evening_gown INTEGER, average VARCHAR) ### Question: What is the mean evening gown number when the average is 8.686? ### Answer: SELECT AVG(evening_gown) FROM table_name_32 WHERE average = 8.686
Below is an context that describes a 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 (score VARCHAR, home VARCHAR) ### Question: What was the score of the game wehre the deportes savio were the home team? ### Answer: SELECT score FROM table_name_78 WHERE home = "deportes savio"
Below is an context that describes a 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 (points VARCHAR, tries_for VARCHAR) ### Question: WHAT IS THE POINTS WITH 55 TRIES? ### Answer: SELECT points FROM table_name_89 WHERE tries_for = "55"
Below is an context that describes a 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 (round INTEGER, opponent VARCHAR) ### Question: What is the highest round a fight lasted against masutatsu yano? ### Answer: SELECT MAX(round) FROM table_name_26 WHERE opponent = "masutatsu yano"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE market (Market_ID VARCHAR, Num_of_shops INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR) ### Question: Show the names of phones that are on market with number of shops greater than 50. ### Answer: SELECT T3.Name FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID WHERE T2.Num_of_shops > 50
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, western_rockingham_middle_school VARCHAR) ### Question: Name the james e. holmes for duane hensley ### Answer: SELECT james_e_holmes FROM table_25330991_3 WHERE western_rockingham_middle_school = "Duane Hensley"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE member (Membership_card VARCHAR) ### Question: How many members have the black membership card? ### Answer: SELECT COUNT(*) FROM member WHERE Membership_card = 'Black'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29332810_14 (young_rider_classification VARCHAR, aggressive_rider VARCHAR) ### Question: Where Luke Durbridge is the aggressive rider who is listed as the young rider classification? ### Answer: SELECT young_rider_classification FROM table_29332810_14 WHERE aggressive_rider = "Luke Durbridge"
Below is an context that describes a 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 (crowd INTEGER, away_team VARCHAR) ### Question: What was the largest crowd where Carlton was the away team? ### Answer: SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "carlton"
Below is an context that describes a 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 (record VARCHAR, game VARCHAR) ### Question: What was the rangers' record on Game 14? ### Answer: SELECT record FROM table_name_44 WHERE game = 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_name_85 (opponent VARCHAR, time VARCHAR) ### Question: Which opponent has a time of 2:35? ### Answer: SELECT opponent FROM table_name_85 WHERE time = "2: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_61 (gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) ### Question: What is the total number of golds having a total of 1, bronzes of 0, and from West Germany? ### Answer: SELECT COUNT(gold) FROM table_name_61 WHERE total = 1 AND bronze < 1 AND nation = "west germany"
Below is an context that describes a 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 (drawn VARCHAR, played VARCHAR, points VARCHAR) ### Question: What is the drawn that has 22 for played, and 96 for points? ### Answer: SELECT drawn FROM table_name_96 WHERE played = "22" AND points = "96"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_255812_1 (income_class__2007_ VARCHAR, mayor VARCHAR) ### Question: What are all the profits elegance (2007) in which mayor is ma. Ester a. Hamor ### Answer: SELECT income_class__2007_ FROM table_255812_1 WHERE mayor = "Ma. Ester A. Hamor"
Below is an context that describes a 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 (episode INTEGER, performer_4 VARCHAR) ### Question: What is the average episode number where jimmy mulville was the 4th performer? ### Answer: SELECT AVG(episode) FROM table_name_35 WHERE performer_4 = "jimmy mulville"
Below is an context that describes a 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 (director VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What is the Director of Gulf Stream Under the Iceberg? ### Answer: SELECT director FROM table_name_55 WHERE film_title_used_in_nomination = "gulf stream under the iceberg"
Below is an context that describes a 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 (record VARCHAR, week VARCHAR, date VARCHAR) ### Question: What was the record for a week below 13 on July 12? ### Answer: SELECT record FROM table_name_82 WHERE week < 13 AND date = "july 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_17340355_10 (high_assists VARCHAR, high_rebounds VARCHAR) ### Question: Who did the most assists when Matt Barnes (11) got the most rebounds? ### Answer: SELECT high_assists FROM table_17340355_10 WHERE high_rebounds = "Matt Barnes (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_name_23 (wins INTEGER, games VARCHAR, losses VARCHAR, teams VARCHAR) ### Question: what is the highest wins when the losses is less than 1, team is rams and the games is more than 8? ### Answer: SELECT MAX(wins) FROM table_name_23 WHERE losses < 1 AND teams = "rams" AND games > 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_81 (agg VARCHAR, team_1 VARCHAR) ### Question: What is Celta's Agg.? ### Answer: SELECT agg FROM table_name_81 WHERE team_1 = "celta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17275810_7 (manner_of_departure VARCHAR, replaced_by VARCHAR) ### Question: Name the manner of departure for elvio selighini ### Answer: SELECT manner_of_departure FROM table_17275810_7 WHERE replaced_by = "Elvio Selighini"
Below is an context that describes a 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 (episode_no VARCHAR, countries_visited VARCHAR) ### Question: Which episode number visited India? ### Answer: SELECT episode_no FROM table_name_56 WHERE countries_visited = "india"
Below is an context that describes a 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 (start_date VARCHAR, party VARCHAR, end_date VARCHAR) ### Question: Name the start date with lsap and end date of present day ### Answer: SELECT start_date FROM table_name_29 WHERE party = "lsap" AND end_date = "present day"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26736040_1 (no_in_series VARCHAR, directed_by VARCHAR) ### Question: How many entries for number in series when director is Bryan Cranston? ### Answer: SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by = "Bryan Cranston"
Below is an context that describes a 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 (visitor VARCHAR, decision VARCHAR, date VARCHAR) ### Question: Who was the visitor on november 14 with leclaire recording the decision? ### Answer: SELECT visitor FROM table_name_43 WHERE decision = "leclaire" AND date = "november 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_name_27 (opponent VARCHAR, attendance VARCHAR) ### Question: Who is the opponent of the game with 33,628 folks in attendance? ### Answer: SELECT opponent FROM table_name_27 WHERE attendance = "33,628"
Below is an context that describes a 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 (batsmen VARCHAR, wicket VARCHAR) ### Question: Who were the batsmen paired for wicket 7? ### Answer: SELECT batsmen FROM table_name_83 WHERE wicket = "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_18813011_6 (location_attendance VARCHAR, date VARCHAR) ### Question: What was the place and how many people attended the game on July 11? ### Answer: SELECT location_attendance FROM table_18813011_6 WHERE date = "July 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_15187735_4 (netflix VARCHAR, series_ep VARCHAR) ### Question: What is the netflix code where the series and episode are 4-11? ### Answer: SELECT netflix FROM table_15187735_4 WHERE series_ep = "4-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_name_71 (venue VARCHAR, date VARCHAR) ### Question: What was the venue for the game on 10-09-2012? ### Answer: SELECT venue FROM table_name_71 WHERE date = "10-09-2012"
Below is an context that describes a 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 (athlete VARCHAR, country VARCHAR) ### Question: Who was the athlete from Lithuania? ### Answer: SELECT athlete FROM table_name_87 WHERE country = "lithuania"
Below is an context that describes a 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 (country VARCHAR, town VARCHAR) ### Question: what country is dubai in ### Answer: SELECT country FROM table_name_50 WHERE town = "dubai"
Below is an context that describes a 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 (Id VARCHAR) ### Question: What is the 2013 value with a qf in 2011? ### Answer: SELECT 2013 FROM table_name_68 WHERE 2011 = "qf"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341690_9 (first_elected INTEGER) ### Question: What is the last year that someone is first elected? ### Answer: SELECT MAX(first_elected) FROM table_1341690_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_89 (title VARCHAR, leading_lady VARCHAR, role VARCHAR) ### Question: Name the title for marion burns leading lady and role of john mason ### Answer: SELECT title FROM table_name_89 WHERE leading_lady = "marion burns" AND role = "john mason"
Below is an context that describes a 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 (school_club_team VARCHAR, nationality VARCHAR, player VARCHAR) ### Question: What is the School/Club Team with a nationality of United States for Arron Afflalo? ### Answer: SELECT school_club_team FROM table_name_91 WHERE nationality = "united states" AND player = "arron afflalo"
Below is an context that describes a 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_5 (competition VARCHAR, year VARCHAR, venue VARCHAR) ### Question: Which Competition has a Year larger than 1990 in seville , spain? ### Answer: SELECT competition FROM table_name_5 WHERE year > 1990 AND venue = "seville , spain"
Below is an context that describes a 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 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR) ### Question: What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is No? ### Answer: SELECT reserved_instruments FROM table_name_95 WHERE conduct_of_litigation = "yes" AND probate_activities = "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_54 (region VARCHAR, label VARCHAR, catalog VARCHAR) ### Question: What is the region of the Alfa Records release with catalog ALCA-282? ### Answer: SELECT region FROM table_name_54 WHERE label = "alfa records" AND catalog = "alca-282"
Below is an context that describes a 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 (position VARCHAR, round VARCHAR, pick__number VARCHAR) ### Question: Which position has a pick # of 238 and a round above 3? ### Answer: SELECT position FROM table_name_45 WHERE round > 3 AND pick__number = 238
Below is an context that describes a 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 (school VARCHAR, team VARCHAR) ### Question: What school does the Blue Raiders belong to? ### Answer: SELECT school FROM table_name_16 WHERE team = "blue raiders"
Below is an context that describes 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 (Age INTEGER, StuID VARCHAR, Sex VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR) ### Question: Find the average age of female (sex is F) students who have secretary votes in the spring election cycle. ### Answer: SELECT AVG(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = SECRETARY_Vote WHERE T1.Sex = "F" AND T2.Election_Cycle = "Spring"
Below is an context that describes a 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 (party VARCHAR, name VARCHAR) ### Question: What is Party, when Name is Oudom Khattigna? ### Answer: SELECT party FROM table_name_8 WHERE name = "oudom khattigna"
Below is an context that describes a 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 (date VARCHAR, home VARCHAR) ### Question: What was the date of the Mavericks home game? ### Answer: SELECT date FROM table_name_25 WHERE home = "mavericks"
Below is an context that describes a 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 (home_team VARCHAR, away_team VARCHAR) ### Question: Which Home team has an Away team of everton? ### Answer: SELECT home_team FROM table_name_57 WHERE away_team = "everton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14940519_1 (week VARCHAR, game_site VARCHAR, opponent VARCHAR) ### Question: Name the number of week for game site being memorial stadium for buffalo bills ### Answer: SELECT COUNT(week) FROM table_14940519_1 WHERE game_site = "Memorial Stadium" AND opponent = "Buffalo Bills"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1140085_2 (rnd VARCHAR, pole_position VARCHAR, race VARCHAR) ### Question: how many times is the pole position niki lauda and the race is monaco grand prix? ### Answer: SELECT COUNT(rnd) FROM table_1140085_2 WHERE pole_position = "Niki Lauda" AND race = "Monaco 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_1859269_1 (new_entries_this_round VARCHAR, round VARCHAR) ### Question: If the round is the semi-finals, what are the new entries this round? ### Answer: SELECT new_entries_this_round FROM table_1859269_1 WHERE round = "Semi-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_name_84 (state VARCHAR, interview VARCHAR, evening_gown VARCHAR, swimsuit VARCHAR) ### Question: Name the state with an evening gown more than 8.86 and interview less than 8.7 and swimsuit less than 8.96 ### Answer: SELECT state FROM table_name_84 WHERE evening_gown > 8.86 AND swimsuit < 8.96 AND interview < 8.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_26160007_1 (exports VARCHAR, total_trade VARCHAR) ### Question: Where the total trade is 14,954.86, what are the exports? ### Answer: SELECT exports FROM table_26160007_1 WHERE total_trade = "14,954.86"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE stadium (name VARCHAR, location VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, Year VARCHAR) ### Question: Find the name and location of the stadiums which some concerts happened in the years of both 2014 and 2015. ### Answer: SELECT T2.name, T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name, T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015
Below is an context that describes a 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 (laps VARCHAR, time_retired VARCHAR) ### Question: What is the number of laps for the Time/Retired of +16.445? ### Answer: SELECT laps FROM table_name_76 WHERE time_retired = "+16.445"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10321124_1 (↓_function___genus_→ VARCHAR, shigella VARCHAR) ### Question: what's the ↓ function / genus → with shigella being spa32 ### Answer: SELECT ↓_function___genus_→ FROM table_10321124_1 WHERE shigella = "Spa32"
Below is an context that describes a 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_41 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) ### Question: What is the Deliblato village known as in Cyrillic? ### Answer: SELECT cyrillic_name_other_names FROM table_2562572_41 WHERE settlement = "Deliblato"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15824796_5 (original_air_date VARCHAR, season__number VARCHAR) ### Question: What is the original airdate when the season number is 4? ### Answer: SELECT original_air_date FROM table_15824796_5 WHERE season__number = 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_56 (height VARCHAR, weight VARCHAR) ### Question: What is the height of the player that weighs 240? ### Answer: SELECT height FROM table_name_56 WHERE weight = 240
Below is an context that describes a 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 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR) ### Question: Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003? ### Answer: SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 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_21 (opponent VARCHAR, attendance VARCHAR) ### Question: which team had a bye week? ### Answer: SELECT opponent FROM table_name_21 WHERE attendance = "bye"
Below is an context that describes a 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_4 (date VARCHAR, score VARCHAR) ### Question: When did the Score of 195 (-21) happen? ### Answer: SELECT date FROM table_name_4 WHERE score = "195 (-21)"
Below is an context that describes a 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 (platform_s_ VARCHAR, game VARCHAR) ### Question: What was the platform of Red Dead Redemption? ### Answer: SELECT platform_s_ FROM table_name_11 WHERE game = "red dead redemption"
Below is an context that describes a 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 (class VARCHAR, power VARCHAR) ### Question: What is Class, when Power is 78 Watts? ### Answer: SELECT class FROM table_name_15 WHERE power = "78 watts"
Below is an context that describes a 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_4 (total_matches INTEGER, points__percentage VARCHAR, points_won VARCHAR, year VARCHAR) ### Question: What is the total matches in 2002 where points won is larger than 1.5 and the points % is smaller than 50? ### Answer: SELECT MAX(total_matches) FROM table_name_4 WHERE points_won > 1.5 AND year = "2002" AND points__percentage < 50
Below is an context that describes a 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 (rank VARCHAR, country VARCHAR) ### Question: What rank was the team from Australia? ### Answer: SELECT COUNT(rank) FROM table_name_77 WHERE country = "australia"
Below is an context that describes a 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 (position VARCHAR, round VARCHAR, college VARCHAR) ### Question: Which Position has a Round smaller than 14, and a College of illinois? ### Answer: SELECT position FROM table_name_88 WHERE round < 14 AND college = "illinois"
Below is an context that describes a 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 (chassis VARCHAR, year VARCHAR) ### Question: What chassis has the year 1987? ### Answer: SELECT chassis FROM table_name_87 WHERE year = 1987
Below is an context that describes a 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 (ends VARCHAR, name VARCHAR, goals VARCHAR) ### Question: I want the total number of ends for filip šebo and Goals more than 2 ### Answer: SELECT COUNT(ends) FROM table_name_67 WHERE name = "filip šebo" AND goals > 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_13619053_9 (team VARCHAR, date VARCHAR) ### Question: Which team played on April 1? ### Answer: SELECT team FROM table_13619053_9 WHERE date = "April 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_90 (country VARCHAR, type VARCHAR, moving_from VARCHAR) ### Question: Name the country for 6-month loan and moving from of lens ### Answer: SELECT country FROM table_name_90 WHERE type = "6-month loan" AND moving_from = "lens"
Below is an context that describes a 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 (length VARCHAR, class VARCHAR, date VARCHAR) ### Question: Name the length for all class and date of march 18 ### Answer: SELECT length FROM table_name_63 WHERE class = "all" AND date = "march 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_14016079_1 (rd VARCHAR, circuit VARCHAR) ### Question: What round was held at the Queensland Raceway? ### Answer: SELECT rd FROM table_14016079_1 WHERE circuit = "Queensland Raceway"
Below is an context that describes a 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 (median_family_income VARCHAR, per_capita_income VARCHAR) ### Question: What is the median income for a family whose per capita income is $18,296? ### Answer: SELECT median_family_income FROM table_name_14 WHERE per_capita_income = "$18,296"
Below is an context that describes a 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 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) ### Question: What was the average number of laps completed by KTM riders, with times of +56.440 and grid values under 11? ### Answer: SELECT AVG(laps) FROM table_name_92 WHERE manufacturer = "ktm" AND time_retired = "+56.440" AND grid < 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 College (cName VARCHAR, enr VARCHAR, state VARCHAR) ### Question: Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA. ### Answer: SELECT cName, enr FROM College WHERE enr > 10000 AND state = "LA"
Below is an context that describes a 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 (competition VARCHAR, score VARCHAR) ### Question: What was the competition when the score was 3-0? ### Answer: SELECT competition FROM table_name_33 WHERE score = "3-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_22737506_1 (team_name VARCHAR, races VARCHAR) ### Question: When 1 (5) is the races what is the team name? ### Answer: SELECT team_name FROM table_22737506_1 WHERE races = "1 (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_60 (region VARCHAR, catalog__number VARCHAR) ### Question: What is the region for the album with a catalog number of 7567-83061-2? ### Answer: SELECT region FROM table_name_60 WHERE catalog__number = "7567-83061-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_39 (province VARCHAR, name VARCHAR) ### Question: Which province has Michael Kirby? ### Answer: SELECT province FROM table_name_39 WHERE name = "michael kirby"
Below is an context that describes a 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 (median_household_income VARCHAR, per_capita_income VARCHAR) ### Question: What is the median household income when the per capita is $21,585? ### Answer: SELECT median_household_income FROM table_name_56 WHERE per_capita_income = "$21,585"
Below is an context that describes a 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 (number_of_cars INTEGER, car__number VARCHAR, year_started VARCHAR, current_car VARCHAR) ### Question: WHAT IS THE HIGHEST # OF CARS WITH A START YEAR LESS THAN 2012, TBA CURRENT CAR, AND MORE THAN 1 CAR? ### Answer: SELECT MAX(number_of_cars) FROM table_name_95 WHERE year_started < 2012 AND current_car = "tba" AND car__number > 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_3 (opened INTEGER, category VARCHAR) ### Question: Which Opened has a Category of diesel light rail? ### Answer: SELECT MAX(opened) FROM table_name_3 WHERE category = "diesel light rail"
Below is an context that describes a 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 (attendance INTEGER, week VARCHAR) ### Question: What is the average attendance at a week 4 game? ### Answer: SELECT AVG(attendance) FROM table_name_97 WHERE week = 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_26267607_2 (winning_team VARCHAR, round VARCHAR) ### Question: In Round 6, who is the winning team? ### Answer: SELECT winning_team FROM table_26267607_2 WHERE round = "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_80 (team VARCHAR, points VARCHAR) ### Question: Which Team has Points of 15? ### Answer: SELECT team FROM table_name_80 WHERE points = "15"
Below is an context that describes a 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_32 (crowd INTEGER, home_team VARCHAR) ### Question: What was the lowest Crowd Size for the Home Team of North Melbourne? ### Answer: SELECT MIN(crowd) FROM table_name_32 WHERE home_team = "north melbourne"