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_28243691_1 (enrollment VARCHAR, affiliation VARCHAR)
### Question:
What is the total enrollment for private/ disciples of christ?
### Answer:
SELECT enrollment FROM table_28243691_1 WHERE affiliation = "Private/ Disciples of Christ" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23819979_3 (last_match VARCHAR, final_place VARCHAR)
### Question:
Name the last match for argentina - estadio josé maría minella
### Answer:
SELECT last_match FROM table_23819979_3 WHERE final_place = "Argentina - Estadio José María Minella" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
Which Score has a To par larger than 17, and a Player of mike brady?
### Answer:
SELECT score FROM table_name_7 WHERE to_par > 17 AND player = "mike brady" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21501565_1 (order__number VARCHAR, original_artist VARCHAR)
### Question:
With an original artist names Bette Midler, what is the order number?
### Answer:
SELECT COUNT(order__number) FROM table_21501565_1 WHERE original_artist = "Bette Midler" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR)
### Question:
What did the away team score when they were playing collingwood?
### Answer:
SELECT away_team AS score FROM table_name_47 WHERE home_team = "collingwood" |
Below is an context that describes a sql 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 (class VARCHAR, horse VARCHAR, event VARCHAR, result VARCHAR)
### Question:
What is the class of Fabuleux 5 get less than 70.277 in the freestyle test?
### Answer:
SELECT class FROM table_name_11 WHERE event = "freestyle test" AND result < 70.277 AND horse = "fabuleux 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_48 (european_competitions VARCHAR, tier VARCHAR, pos VARCHAR)
### Question:
What European competitions have a tier of 2 and a position of 3?
### Answer:
SELECT european_competitions FROM table_name_48 WHERE tier = 2 AND pos = 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_21481509_4 (r1b1c__r_v88_ VARCHAR, total_percentage VARCHAR)
### Question:
What percentage is listed in column r1b1c (r-v88) for the 4.5% total percentage?
### Answer:
SELECT r1b1c__r_v88_ FROM table_21481509_4 WHERE total_percentage = "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_67 (region VARCHAR, date VARCHAR)
### Question:
Which Region has a Date of early september 1999?
### Answer:
SELECT region FROM table_name_67 WHERE date = "early september 1999" |
Below is an context that describes a sql 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 (try_diff VARCHAR, tries_for VARCHAR)
### Question:
Which Try diff has Tries for of 12?
### Answer:
SELECT try_diff FROM table_name_34 WHERE tries_for = 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_81 (pba_team VARCHAR, player VARCHAR)
### Question:
Name the PBA team for paolo mendoza
### Answer:
SELECT pba_team FROM table_name_81 WHERE player = "paolo mendoza" |
Below is an context that describes a sql 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 (location_attendance VARCHAR, date VARCHAR)
### Question:
What was the Location/Attendance on september 11?
### Answer:
SELECT location_attendance FROM table_name_3 WHERE date = "september 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_68 (school VARCHAR, round VARCHAR)
### Question:
what is the school for round 8?
### Answer:
SELECT school FROM table_name_68 WHERE round = 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_31 (round VARCHAR, fixtures VARCHAR)
### Question:
What is the Round when the value for Fixtures is 2?
### Answer:
SELECT round FROM table_name_31 WHERE fixtures = 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_63 (figures INTEGER, placings VARCHAR, total VARCHAR)
### Question:
Can you tell me the average Figures that has the Placings of 34, and the Total larger than 1247.51?
### Answer:
SELECT AVG(figures) FROM table_name_63 WHERE placings = 34 AND total > 1247.51 |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
Can you tell me the Score that has the Date of 05 dec?
### Answer:
SELECT score FROM table_name_28 WHERE date = "05 dec" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342370_12 (candidates VARCHAR, first_elected VARCHAR)
### Question:
Who were the candidates in the 1922 entry?
### Answer:
SELECT candidates FROM table_1342370_12 WHERE first_elected = 1922 |
Below is an context that describes a sql 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 (rank INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
What is the lowest Rank with more than 0 bronze, 8 silver, and a total of 19, with less than 9 gold?
### Answer:
SELECT MIN(rank) FROM table_name_23 WHERE bronze > 0 AND silver = 8 AND total = 19 AND gold < 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_27 (unit VARCHAR, pennant_number VARCHAR)
### Question:
Which unit has a Pennant Number of 82?
### Answer:
SELECT unit FROM table_name_27 WHERE pennant_number = 82 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26614365_1 (western VARCHAR, latin VARCHAR)
### Question:
What is the western word for "latrones" in Latin?
### Answer:
SELECT western FROM table_26614365_1 WHERE latin = "latrones" |
Below is an context that describes a sql 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 (season_outcome VARCHAR, school VARCHAR)
### Question:
What is the Season Outcome, when the School is Sussex Tech?
### Answer:
SELECT season_outcome FROM table_name_70 WHERE school = "sussex tech" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1015914_24 (we_two VARCHAR, case_suffix VARCHAR)
### Question:
What is we two when the case/suffix is loc.?
### Answer:
SELECT we_two FROM table_1015914_24 WHERE case_suffix = "loc." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR)
### Question:
How many locations are listed for the winner Temple?
### Answer:
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE tournament_winner = "Temple" |
Below is an context that describes a sql 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 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)
### Question:
What college or club did the round 9 draft pick from Canada come from?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = "canada" |
Below is an context that describes a sql 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 (champion VARCHAR, runner_up VARCHAR)
### Question:
Who won when Elon was the runner-up?
### Answer:
SELECT champion FROM table_name_53 WHERE runner_up = "elon" |
Below is an context that describes a sql 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 (wins VARCHAR, player VARCHAR, rank VARCHAR)
### Question:
How many wins for mike hill ranked below 4?
### Answer:
SELECT COUNT(wins) FROM table_name_49 WHERE player = "mike hill" AND rank < 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_20086138_1 (first_leg VARCHAR, opposition VARCHAR)
### Question:
What was the first leg result in the round against Norchi Dinamoeli?
### Answer:
SELECT first_leg FROM table_20086138_1 WHERE opposition = "Norchi Dinamoeli" |
Below is an context that describes a sql 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 (wins INTEGER, goals_for VARCHAR, losses VARCHAR)
### Question:
What team has the most wins with at least 18 goals and less than 5 losses?
### Answer:
SELECT MAX(wins) FROM table_name_85 WHERE goals_for = 18 AND losses < 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_54 (nation VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
Which nation won no bronze medals and a 1 medal total?
### Answer:
SELECT nation FROM table_name_54 WHERE total = 1 AND bronze < 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_17 (race VARCHAR, athlete VARCHAR)
### Question:
What is the name of the race when Lineth Chepkurui is the athlete?
### Answer:
SELECT race FROM table_name_17 WHERE athlete = "lineth chepkurui" |
Below is an context that describes a sql 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 (season VARCHAR, _number_of_episodes VARCHAR, date_released VARCHAR)
### Question:
What is Season, when # Of Episodes is "10", and when Date Released is "1 April 2010"?
### Answer:
SELECT season FROM table_name_97 WHERE _number_of_episodes = 10 AND date_released = "1 april 2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE manufacturer (num_of_shops INTEGER, Num_of_Factories INTEGER, open_year INTEGER)
### Question:
what is the average number of factories and maximum number of shops for manufacturers that opened before 1990.
### Answer:
SELECT MAX(num_of_shops), AVG(Num_of_Factories) FROM manufacturer WHERE open_year < 1990 |
Below is an context that describes a sql 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 (years VARCHAR, decile VARCHAR, area VARCHAR)
### Question:
What year has a decile more than 6, in the Waikouaiti area?
### Answer:
SELECT years FROM table_name_78 WHERE decile > 6 AND area = "waikouaiti" |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
Where did Melbourne play as the away team?
### Answer:
SELECT venue FROM table_name_95 WHERE away_team = "melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (odds VARCHAR, trainer VARCHAR)
### Question:
What are the Odds for Trainer Barclay Tagg?
### Answer:
SELECT odds FROM table_name_87 WHERE trainer = "barclay tagg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)
### Question:
What is the catalog number named callanetics: 10 years younger in 10 hours
### Answer:
SELECT catalog_number FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours" |
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR)
### Question:
What was the crowd size for the game where Footscray was the away team?
### Answer:
SELECT COUNT(crowd) FROM table_name_21 WHERE away_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15315276_1 (purse__ VARCHAR, champion VARCHAR)
### Question:
How many prizes were available when Jenny Shin became the champion?
### Answer:
SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13981938_1 (village VARCHAR, wine_style VARCHAR, vineyard_surface__2010_ VARCHAR)
### Question:
what's the village with wine style being red wine and vineyard surface (2010) being hectares (acres)
### Answer:
SELECT village FROM table_13981938_1 WHERE wine_style = "Red wine" AND vineyard_surface__2010_ = "hectares (acres)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11570261_1 (margin VARCHAR, runner_s__up VARCHAR)
### Question:
what's the margin where runner(s)-up is phil mickelson
### Answer:
SELECT margin FROM table_11570261_1 WHERE runner_s__up = "Phil Mickelson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (year INTEGER, title VARCHAR)
### Question:
What is the average year that has far cry vengeance as the title?
### Answer:
SELECT AVG(year) FROM table_name_93 WHERE title = "far cry vengeance" |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
What Record has an Opponent of vs washington wizards?
### Answer:
SELECT record FROM table_name_99 WHERE opponent = "vs washington wizards" |
Below is an context that describes a sql 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 (venue VARCHAR, third VARCHAR)
### Question:
What was the venue when Jack Hargreaves finished third?
### Answer:
SELECT venue FROM table_name_63 WHERE third = "jack hargreaves" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (chassis VARCHAR, year VARCHAR, engine VARCHAR)
### Question:
What chassis is used in 1989 with a cosworth engine?
### Answer:
SELECT chassis FROM table_name_2 WHERE year = 1989 AND engine = "cosworth" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22993636_2 (overall_record VARCHAR, team VARCHAR)
### Question:
What's LSU's overall record/
### Answer:
SELECT overall_record FROM table_22993636_2 WHERE team = "LSU" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_197286_4 (further_cities VARCHAR, direction VARCHAR, country VARCHAR)
### Question:
Name the further cities for east romania
### Answer:
SELECT further_cities FROM table_197286_4 WHERE direction = "East" AND country = "Romania" |
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR)
### Question:
What's the score when the tie number was 6?
### Answer:
SELECT score FROM table_name_35 WHERE tie_no = "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_14 (score VARCHAR, date VARCHAR)
### Question:
What is the score of the game on May 26?
### Answer:
SELECT score FROM table_name_14 WHERE date = "may 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_2140071_13 (season INTEGER)
### Question:
What is the minimum number of seasons?
### Answer:
SELECT MIN(season) FROM table_2140071_13 |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What is the record for the date of 12 december?
### Answer:
SELECT record FROM table_name_36 WHERE date = "12 december" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ VARCHAR, net_capacity__mw_ VARCHAR)
### Question:
List all the locations where net capacity is 950?
### Answer:
SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ FROM table_213088_1 WHERE net_capacity__mw_ = 950 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (court_surface VARCHAR, tournament VARCHAR)
### Question:
what is the court surface when the tournament is paris masters?
### Answer:
SELECT court_surface FROM table_name_47 WHERE tournament = "paris masters" |
Below is an context that describes a sql 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 (wins INTEGER, class VARCHAR, year VARCHAR)
### Question:
Name the Wins which has a Class of 350cc, and a Year smaller than 1973?
### Answer:
SELECT SUM(wins) FROM table_name_42 WHERE class = "350cc" AND year < 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 csu_fees (year VARCHAR); CREATE TABLE campuses (id VARCHAR)
### Question:
What is the campus fee of "San Francisco State University" in year 1996?
### Answer:
SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND T2.year = 1996 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1266602_1 (crew_chief VARCHAR, team VARCHAR)
### Question:
What's the total number of crew chiefs of the Fas Lane Racing team?
### Answer:
SELECT COUNT(crew_chief) FROM table_1266602_1 WHERE team = "FAS Lane Racing" |
Below is an context that describes a sql 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 (visitor VARCHAR, game__number VARCHAR, date VARCHAR)
### Question:
Which Visitor has a Game # larger than 62, and a Date of february 25?
### Answer:
SELECT visitor FROM table_name_99 WHERE game__number > 62 AND date = "february 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_27 (home_team VARCHAR)
### Question:
When the home team was footscray what did they score?
### Answer:
SELECT home_team AS score FROM table_name_27 WHERE home_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (network VARCHAR, play_by_play VARCHAR, year VARCHAR)
### Question:
What is the network with the play-by-play Marv Albert before 1994?
### Answer:
SELECT network FROM table_name_66 WHERE play_by_play = "marv albert" AND year < 1994 |
Below is an context that describes a sql 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 (rider VARCHAR, team VARCHAR)
### Question:
Who is the rider with a 399cc Kawasaki?
### Answer:
SELECT rider FROM table_name_94 WHERE team = "399cc kawasaki" |
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR)
### Question:
What was the score of the game against the San Diego Chargers?
### Answer:
SELECT SUM(week) FROM table_name_50 WHERE opponent = "san diego chargers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342013_41 (incumbent VARCHAR, candidates VARCHAR)
### Question:
Who is the incumbent candidate in the election of percy priest (d) 90.8% robert m. donihi (r) 9.2%?
### Answer:
SELECT incumbent FROM table_1342013_41 WHERE candidates = "Percy Priest (D) 90.8% Robert M. Donihi (R) 9.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_256286_18 (meas_num VARCHAR, type VARCHAR)
### Question:
what is the measure number for the init type?
### Answer:
SELECT meas_num FROM table_256286_18 WHERE type = "Init" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, condition VARCHAR)
### Question:
What was the bleeding time for the factor x deficiency as seen in amyloid purpura
### Answer:
SELECT bleeding_time FROM table_1099080_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura" |
Below is an context that describes a sql 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 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
### Question:
What entrant drove a car with a Moore chassis prior to 1953?
### Answer:
SELECT entrant FROM table_name_37 WHERE year < 1953 AND chassis = "moore" |
Below is an context that describes a sql 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 (track VARCHAR, recorded VARCHAR)
### Question:
How many tracks were Recorded 1964-01-08?
### Answer:
SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25740774_1 (f_laps VARCHAR, team VARCHAR)
### Question:
How many flaps are there for the team march 3 racing (1-4) top speed racing team (5-12)?
### Answer:
SELECT COUNT(f_laps) FROM table_25740774_1 WHERE team = "March 3 Racing (1-4) Top Speed Racing team (5-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_11677760_1 (college VARCHAR, school VARCHAR)
### Question:
what is the college for the player who's school is camden high school?
### Answer:
SELECT college FROM table_11677760_1 WHERE school = "Camden 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_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR)
### Question:
What is the percentage of others when the number for Bush is 1329?
### Answer:
SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 1329 |
Below is an context that describes a sql 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 (set_5 VARCHAR, set_1 VARCHAR)
### Question:
What is the set 5 with a 19-25 set 1?
### Answer:
SELECT set_5 FROM table_name_44 WHERE set_1 = "19-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_13619135_7 (location_attendance VARCHAR, team VARCHAR)
### Question:
Where did the team play and what was the attendance against new jersey?
### Answer:
SELECT location_attendance FROM table_13619135_7 WHERE team = "New Jersey" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27776266_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who directed the episode with an audience of 14.11 million?
### Answer:
SELECT directed_by FROM table_27776266_1 WHERE us_viewers__million_ = "14.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_24 (english_spelling VARCHAR, hebrew_word VARCHAR)
### Question:
How do you spell the Hebrew word יְהוֹשָפָט in English?
### Answer:
SELECT english_spelling FROM table_name_24 WHERE hebrew_word = "יְהוֹשָפָט" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140116_5 (winning_driver VARCHAR, race_name VARCHAR)
### Question:
Which driver won the race xiv eläintarhanajot?
### Answer:
SELECT winning_driver FROM table_1140116_5 WHERE race_name = "XIV Eläintarhanajot" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1886270_1 (built VARCHAR, withdrawn VARCHAR)
### Question:
When 2/1939 is the withdrawn when was it built?
### Answer:
SELECT built FROM table_1886270_1 WHERE withdrawn = "2/1939" |
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR)
### Question:
Who played on December 25, 1925?
### Answer:
SELECT competition FROM table_name_56 WHERE date = "december 25, 1925" |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR)
### Question:
On what Date was the Venue at Exhibition Stadium?
### Answer:
SELECT date FROM table_name_73 WHERE venue = "exhibition 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_24 (total INTEGER, nation VARCHAR, silver VARCHAR)
### Question:
what is the lowest total when the nation is sweden (swe) and silver is less than 0?
### Answer:
SELECT MIN(total) FROM table_name_24 WHERE nation = "sweden (swe)" AND silver < 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_48 (grid INTEGER, rider VARCHAR, laps VARCHAR)
### Question:
What is the grid number for troy corser with under 22 laps?
### Answer:
SELECT SUM(grid) FROM table_name_48 WHERE rider = "troy corser" AND laps < 22 |
Below is an context that describes a sql 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 (lane INTEGER, react VARCHAR)
### Question:
What is the lowest lane with a 0.216 react?
### Answer:
SELECT MIN(lane) FROM table_name_67 WHERE react = 0.216 |
Below is an context that describes a sql 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 (game INTEGER, team VARCHAR)
### Question:
What was the total score where Toronto was played?
### Answer:
SELECT SUM(game) FROM table_name_71 WHERE team = "toronto" |
Below is an context that describes a sql 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 (round INTEGER, time VARCHAR)
### Question:
What is the total number of Round that has a Time of 6:04?
### Answer:
SELECT SUM(round) FROM table_name_85 WHERE time = "6:04" |
Below is an context that describes a sql 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 (berlin VARCHAR, südwest VARCHAR, west VARCHAR)
### Question:
What was Berlin when fk pirmasens was Südwest and westfalia herne was west?
### Answer:
SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne" |
Below is an context that describes a sql 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 (round VARCHAR, name VARCHAR)
### Question:
Which Round has a Name of john goodyear?
### Answer:
SELECT round FROM table_name_55 WHERE name = "john goodyear" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (ethnic_group VARCHAR, muslims VARCHAR)
### Question:
Which ehtinc group consists of 93% muslims?
### Answer:
SELECT ethnic_group FROM table_name_58 WHERE muslims = "93%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (network VARCHAR, genre VARCHAR, origin_of_programming VARCHAR, service VARCHAR, language VARCHAR)
### Question:
Which Hindi network is based in India and uses dish service and shows general programming?
### Answer:
SELECT network FROM table_name_93 WHERE service = "dish" AND language = "hindi" AND origin_of_programming = "india" AND genre = "general" |
Below is an context that describes a sql 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 (receipts_per_arrival_2010__col_2___col_1____usd__ VARCHAR, selected_caribbean_and_n_latin_america_countries VARCHAR)
### Question:
What is the number of recepits per arrival in 2010 (col 2)/(col 1) USD with colombia (1) as the selected carribean and latin american country?
### Answer:
SELECT receipts_per_arrival_2010__col_2___col_1____usd__ FROM table_name_71 WHERE selected_caribbean_and_n_latin_america_countries = "colombia (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_89 (year INTEGER, name VARCHAR)
### Question:
What is the year that has a name with the Greek small letter sampi?
### Answer:
SELECT SUM(year) FROM table_name_89 WHERE name = "greek small letter sampi" |
Below is an context that describes a sql 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 (home_team VARCHAR, tie_no VARCHAR)
### Question:
What is the Home team of Tie no 2?
### Answer:
SELECT home_team FROM table_name_20 WHERE tie_no = "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 (sign INTEGER, total_bits VARCHAR, bits_precision VARCHAR, type VARCHAR)
### Question:
What's the sum of sign with more than 53 bits precision, double extended (80-bit) type, and more than 80 total bits?
### Answer:
SELECT SUM(sign) FROM table_name_98 WHERE bits_precision > 53 AND type = "double extended (80-bit)" AND total_bits > 80 |
Below is an context that describes a sql 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 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, perth VARCHAR, adelaide VARCHAR)
### Question:
Name the melbourne with perth, adelaide and auckland of no with sydney of yes
### Answer:
SELECT melbourne FROM table_name_38 WHERE perth = "no" AND adelaide = "no" AND auckland = "no" AND sydney = "yes" |
Below is an context that describes a sql 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 (hanzi VARCHAR, population__2004_est_ VARCHAR)
### Question:
Which Hanzi has a suburban population in 2004?
### Answer:
SELECT hanzi FROM table_name_95 WHERE population__2004_est_ = "suburban" |
Below is an context that describes a sql 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 (withdrawal VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR)
### Question:
what is the withdrawal when the lb&sc number is less than 16 and the s.r. number is 2011?
### Answer:
SELECT withdrawal FROM table_name_95 WHERE lb & sc_number < 16 AND sr_number = 2011 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26240481_1 (opponents_conference VARCHAR, result VARCHAR)
### Question:
Which opponents conference has the result L, 62-10?
### Answer:
SELECT opponents_conference FROM table_26240481_1 WHERE result = "L, 62-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_52 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)
### Question:
What is the Opponent when Todd Woodbridge was the runner-up, and a Date of 26 august 1996?
### Answer:
SELECT opponent FROM table_name_52 WHERE outcome = "runner-up" AND date = "26 august 1996" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12454156_1 (winner VARCHAR, losing_hand VARCHAR)
### Question:
Who is the winner where the losing hand is Ah 7s?
### Answer:
SELECT winner FROM table_12454156_1 WHERE losing_hand = "Ah 7s" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (owns VARCHAR, delivery_date VARCHAR)
### Question:
with delivery date of 2001 2001 what is the owns?
### Answer:
SELECT owns FROM table_name_93 WHERE delivery_date = "2001 2001" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR)
### Question:
What was the home team score at junction oval?
### Answer:
SELECT home_team AS score FROM table_name_86 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_75 (winning_score VARCHAR, championship VARCHAR, margin VARCHAR)
### Question:
What was the winning score in the u.s. women's open that was won by 5 strokes?
### Answer:
SELECT winning_score FROM table_name_75 WHERE championship = "u.s. women's open" AND margin = "5 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26826304_2 (weekly_rank_virgin_media INTEGER, air_date VARCHAR)
### Question:
What was the weekly rank by Virgin media for the title aired on May 20, 2010?
### Answer:
SELECT MIN(weekly_rank_virgin_media) FROM table_26826304_2 WHERE air_date = "May 20, 2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (_number_100 INTEGER, season VARCHAR, against VARCHAR)
### Question:
Which sum of # 100 has a Season of 1990, and an Against of warwickshire?
### Answer:
SELECT SUM(_number_100) FROM table_name_33 WHERE season = "1990" AND against = "warwickshire" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.