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_20669355_2 (height__ft_ VARCHAR, country VARCHAR)
### Question:
How tall is the contestant from Ecuador?
### Answer:
SELECT height__ft_ FROM table_20669355_2 WHERE country = "Ecuador" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_221315_3 (max_altitude__miles_ VARCHAR, pilot VARCHAR)
### Question:
What was the maximum altitude for Neil Armstrong?
### Answer:
SELECT max_altitude__miles_ FROM table_221315_3 WHERE pilot = "Neil Armstrong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23851574_2 (aper_in VARCHAR, built_used VARCHAR)
### Question:
Which aperture were built or used between 1987-2001?
### Answer:
SELECT aper_in FROM table_23851574_2 WHERE built_used = "1987-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_78 (verb_meaning VARCHAR, part_1 VARCHAR)
### Question:
What is the verb meaning for Saugen in part 1?
### Answer:
SELECT verb_meaning FROM table_name_78 WHERE part_1 = "saugen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11236195_2 (losingteam VARCHAR, season VARCHAR)
### Question:
What was the losing team in the 1993 season?
### Answer:
SELECT losingteam FROM table_11236195_2 WHERE season = 1993 |
Below is an context that describes a sql 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 (area__km_2__ INTEGER, population VARCHAR)
### Question:
What is the km2 area for the population of 311?
### Answer:
SELECT AVG(area__km_2__) FROM table_name_46 WHERE population = 311 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17641206_4 (original_airdate VARCHAR, viewership VARCHAR)
### Question:
What was the first airdate with a viewership of 4.77 million?
### Answer:
SELECT original_airdate FROM table_17641206_4 WHERE viewership = "4.77 million" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (date VARCHAR, description VARCHAR)
### Question:
What is the date of the British Rail class 111 tslrb description?
### Answer:
SELECT date FROM table_name_40 WHERE description = "british rail class 111 tslrb" |
Below is an context that describes a sql 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 (score VARCHAR, high_rebounds VARCHAR)
### Question:
What is Score, when High Rebounds is "Nolan (10)"?
### Answer:
SELECT score FROM table_name_61 WHERE high_rebounds = "nolan (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_28 (number VARCHAR, name VARCHAR)
### Question:
What number is Kuiper?
### Answer:
SELECT number FROM table_name_28 WHERE name = "kuiper" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27965906_2 (gt_winning_car VARCHAR, a_winning_car VARCHAR)
### Question:
Name the gt winning car for #88 team mitsubishi 88 mitsubishi starion
### Answer:
SELECT gt_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### Question:
What is the To par for Robert Allenby from Australia
### Answer:
SELECT to_par FROM table_name_6 WHERE country = "australia" AND player = "robert allenby" |
Below is an context that describes a sql 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 (network VARCHAR, rank VARCHAR, show VARCHAR)
### Question:
Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london?
### Answer:
SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2362486_1 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
### Question:
Who were the opponents in the final where the score was 6–4, 2–6, 6–4, 7–6(3)?
### Answer:
SELECT opponents_in_the_final FROM table_2362486_1 WHERE score_in_the_final = "6–4, 2–6, 6–4, 7–6(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_name_54 (player VARCHAR, round INTEGER)
### Question:
Which player has fewer than 2 rounds?
### Answer:
SELECT player FROM table_name_54 WHERE round < 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_2668336_19 (incumbent VARCHAR, candidates VARCHAR, result VARCHAR)
### Question:
Who were the incumbent(s) in the election featuring john murray (dr) 50.4% george denison (dr) 49.6% with a result of a retired democratic-republican hold?
### Answer:
SELECT incumbent FROM table_2668336_19 WHERE candidates = "John Murray (DR) 50.4% George Denison (DR) 49.6%" AND result = "Retired Democratic-Republican 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_name_21 (built VARCHAR, flag VARCHAR)
### Question:
What is the total of built with a flag of panama?
### Answer:
SELECT COUNT(built) FROM table_name_21 WHERE flag = "panama" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR)
### Question:
Who was the shooter with a score of 686.4?
### Answer:
SELECT shooter FROM table_name_59 WHERE score = "686.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_33 (years_in_toronto VARCHAR, player VARCHAR)
### Question:
What year(s) did Hakeem Olajuwon play Center for Toronto?
### Answer:
SELECT years_in_toronto FROM table_name_33 WHERE player = "hakeem olajuwon" |
Below is an context that describes a sql 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 (home_team VARCHAR)
### Question:
What was the score when geelong was the away team?
### Answer:
SELECT home_team AS score FROM table_name_45 WHERE home_team = "geelong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (home VARCHAR, date VARCHAR)
### Question:
What is the Home team on November 16, 1946?
### Answer:
SELECT home FROM table_name_38 WHERE date = "november 16, 1946" |
Below is an context that describes a sql 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 (official_name VARCHAR, census_ranking VARCHAR)
### Question:
What is Official Name, when Census Ranking is 769 of 5,008?
### Answer:
SELECT official_name FROM table_name_70 WHERE census_ranking = "769 of 5,008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19651669_1 (finalist VARCHAR, final_venue VARCHAR)
### Question:
Who was the finalist when the final venue was Varese?
### Answer:
SELECT finalist FROM table_19651669_1 WHERE final_venue = "Varese" |
Below is an context that describes a sql 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, total VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
Which of the largest ranks has a bronze number less than 1, a silver of 1, and a total that is more than 1?
### Answer:
SELECT MAX(rank) FROM table_name_37 WHERE bronze < 1 AND silver = 1 AND total > 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_32 (opponent VARCHAR, time VARCHAR)
### Question:
Who's the opponent with a time of 3:24?
### Answer:
SELECT opponent FROM table_name_32 WHERE time = "3:24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (final_score VARCHAR, game_site VARCHAR)
### Question:
What is the final score of the game that was at raymond james stadium?
### Answer:
SELECT final_score FROM table_name_42 WHERE game_site = "raymond james 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_21091162_1 (game INTEGER, opponent VARCHAR)
### Question:
How many games have Air Force as the opponent?
### Answer:
SELECT MAX(game) FROM table_21091162_1 WHERE opponent = "Air Force" |
Below is an context that describes a sql 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 (outcome VARCHAR, opponent VARCHAR)
### Question:
What was the outcome of the match against Magdalena Maleeva?
### Answer:
SELECT outcome FROM table_name_73 WHERE opponent = "magdalena maleeva" |
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR)
### Question:
What Method was used with opponent Kenneth Allen?
### Answer:
SELECT method FROM table_name_55 WHERE opponent = "kenneth allen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
Who directed the episode that was viewed by 2.50 million people in the U.S.?
### Answer:
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.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_17 (school VARCHAR, colors VARCHAR)
### Question:
What School has Colors of navy blue orange?
### Answer:
SELECT school FROM table_name_17 WHERE colors = "navy blue orange" |
Below is an context that describes a sql 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 (total INTEGER, gold VARCHAR, silver VARCHAR, sport VARCHAR)
### Question:
With more than 1 Gold and Silver and Total Sport, what is the Total?
### Answer:
SELECT AVG(total) FROM table_name_86 WHERE silver > 1 AND sport = "total" AND gold > 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_35 (result VARCHAR, attendance VARCHAR)
### Question:
What was the result of the game that had 77,702 people in attendance?
### Answer:
SELECT result FROM table_name_35 WHERE attendance = "77,702" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR)
### Question:
Who is the 2005 World AIDS Day Benefit "Dream" Cast when the Original Australian performer is Susan-Ann Walker?
### Answer:
SELECT 2005 AS _world_aids_day_benefit_dream_cast FROM table_1901751_1 WHERE original_australian_performer = "Susan-Ann Walker" |
Below is an context that describes a sql 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 (wins INTEGER, ties VARCHAR, losses VARCHAR, years VARCHAR)
### Question:
What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?
### Answer:
SELECT AVG(wins) FROM table_name_70 WHERE losses < 174 AND years = "1951 to 1956" AND ties < 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_1307572_1 (first_minting VARCHAR, mass VARCHAR)
### Question:
When was the coin with the mass of 3.7 g first minted?
### Answer:
SELECT first_minting FROM table_1307572_1 WHERE mass = "3.7 g" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15652027_1 (extortion_theft_3 VARCHAR, united_nations_mission VARCHAR)
### Question:
What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active?
### Answer:
SELECT extortion_theft_3 FROM table_15652027_1 WHERE united_nations_mission = "United Nations Observer Mission Uganda-Rwanda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (name VARCHAR, province VARCHAR, term_expires VARCHAR)
### Question:
Whose term expired in 1996 and was from the province of Central Highlands?
### Answer:
SELECT name FROM table_name_74 WHERE province = "central highlands" AND term_expires = 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_name_19 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
How much Grid has a Time/Retired of +0.785, and Laps larger than 29?
### Answer:
SELECT SUM(grid) FROM table_name_19 WHERE time_retired = "+0.785" AND laps > 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (losses INTEGER, goal_difference INTEGER)
### Question:
What is the losses when the goal difference is larger than 26?
### Answer:
SELECT MAX(losses) FROM table_name_45 WHERE goal_difference > 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_21 (fin_pos VARCHAR, grid VARCHAR)
### Question:
What was the finishing position for the car that started in grid 6?
### Answer:
SELECT fin_pos FROM table_name_21 WHERE grid = "6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)
### Question:
Name the largest ethnic group for kosančić
### Answer:
SELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE settlement = "Kosančić" |
Below is an context that describes a sql 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 (gender VARCHAR, decile VARCHAR, name VARCHAR)
### Question:
Which gender had a decile of more than 1 and featured the South Auckland Seventh-Day Adventist School?
### Answer:
SELECT gender FROM table_name_16 WHERE decile > 1 AND name = "south auckland seventh-day adventist 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_name_31 (total INTEGER, solo INTEGER)
### Question:
What is the high total for players with over 15 solo tackles?
### Answer:
SELECT MAX(total) FROM table_name_31 WHERE solo > 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_1825751_14 (hometown VARCHAR, pageant VARCHAR)
### Question:
Where is the miss global teen?
### Answer:
SELECT hometown FROM table_1825751_14 WHERE pageant = "Miss Global Teen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)
### Question:
If the parallel bars is 16.150, who is the gymnast?
### Answer:
SELECT gymnast FROM table_18662026_10 WHERE parallel_bars = "16.150" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13258972_2 (attendance VARCHAR, record VARCHAR)
### Question:
What was the attendance when the record was 1-1?
### Answer:
SELECT attendance FROM table_13258972_2 WHERE record = "1-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_28654454_5 (reunion_weight VARCHAR, lbs_lost_reunion VARCHAR)
### Question:
What is the reunion weight of the contestant that lost 52 lbs at the reunion?
### Answer:
SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_reunion = 52 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE WINE (Price VARCHAR, YEAR INTEGER)
### Question:
What are the prices of wines produced before the year of 2010?
### Answer:
SELECT Price FROM WINE WHERE YEAR < 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_75 (year VARCHAR, laps VARCHAR)
### Question:
What year had 134 laps?
### Answer:
SELECT year FROM table_name_75 WHERE laps = 134 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28523_2 (location VARCHAR, school VARCHAR)
### Question:
Where is the cunningham hill infant school located?
### Answer:
SELECT location FROM table_28523_2 WHERE school = "Cunningham Hill Infant 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_name_10 (ordered VARCHAR, name VARCHAR)
### Question:
How many ships are named Monge?
### Answer:
SELECT COUNT(ordered) FROM table_name_10 WHERE name = "monge" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE wedding (YEAR VARCHAR)
### Question:
How many weddings are there in year 2016?
### Answer:
SELECT COUNT(*) FROM wedding WHERE YEAR = 2016 |
Below is an context that describes a sql 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 (score VARCHAR, tournament VARCHAR)
### Question:
What is Score, when Tournament is "Tampere , Finland"?
### Answer:
SELECT score FROM table_name_24 WHERE tournament = "tampere , finland" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Which 2011's tournament was Indian Wells?
### Answer:
SELECT 2011 FROM table_name_24 WHERE tournament = "indian wells" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (attendance VARCHAR, home_team VARCHAR)
### Question:
What was the attendance at the West Ham United home game?
### Answer:
SELECT attendance FROM table_name_69 WHERE home_team = "west ham united" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14342480_5 (extra_points INTEGER, position VARCHAR)
### Question:
Name the most extra points for right halfback
### Answer:
SELECT MAX(extra_points) FROM table_14342480_5 WHERE position = "Right halfback" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24565004_7 (name VARCHAR, appearances¹ VARCHAR)
### Question:
Which player had 252 appearances
### Answer:
SELECT name FROM table_24565004_7 WHERE appearances¹ = 252 |
Below is an context that describes a sql 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 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR)
### Question:
How many Top 10s have Wins larger than 0, and Poles larger than 0?
### Answer:
SELECT COUNT(top_10) FROM table_name_35 WHERE wins > 0 AND poles > 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_96 (name VARCHAR, launched_by VARCHAR, propulsion VARCHAR, year VARCHAR)
### Question:
What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985?
### Answer:
SELECT name FROM table_name_96 WHERE propulsion = "turbojet" AND year > 1985 AND launched_by = "surface, sub" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15315816_1 (winners_share__$_ VARCHAR, year VARCHAR)
### Question:
How much are all winners share ($) in the year 2004?
### Answer:
SELECT winners_share__$_ FROM table_15315816_1 WHERE year = "2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR)
### Question:
On what date did the Lions play against the Tampa Bay Buccaneers?
### Answer:
SELECT date FROM table_name_66 WHERE opponent = "tampa bay buccaneers" |
Below is an context that describes a sql 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 (game INTEGER, score VARCHAR, record VARCHAR)
### Question:
What is the game associated with a score of 4 - 2, and a record of 25-39-9?
### Answer:
SELECT MAX(game) FROM table_name_81 WHERE score = "4 - 2" AND record = "25-39-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 Student_Tests_Taken (date_test_taken VARCHAR, test_result VARCHAR)
### Question:
Find the dates of the tests taken with result "Pass".
### Answer:
SELECT date_test_taken FROM Student_Tests_Taken WHERE test_result = "Pass" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1973816_1 (nickname VARCHAR, founded VARCHAR)
### Question:
What's the nickname of the students of the school founded in 1933?
### Answer:
SELECT nickname FROM table_1973816_1 WHERE founded = 1933 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22402438_7 (nationality VARCHAR, player VARCHAR)
### Question:
Which nationality is player John Garrett?
### Answer:
SELECT nationality FROM table_22402438_7 WHERE player = "John Garrett" |
Below is an context that describes a sql 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 (rank VARCHAR, name VARCHAR)
### Question:
What is the rank of the swimmer named Petria Thomas?
### Answer:
SELECT rank FROM table_name_34 WHERE name = "petria thomas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE club (Region VARCHAR)
### Question:
List the distinct region of clubs in ascending alphabetical order.
### Answer:
SELECT DISTINCT Region FROM club ORDER BY Region |
Below is an context that describes a sql 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 (webcast VARCHAR, website VARCHAR)
### Question:
Which Webcast has the digital1073.com website?
### Answer:
SELECT webcast FROM table_name_46 WHERE website = "digital1073.com" |
Below is an context that describes a sql 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 (name VARCHAR, authority VARCHAR, local_board VARCHAR)
### Question:
What name shows as private authority and hibiscus and bays local board ?
### Answer:
SELECT name FROM table_name_70 WHERE authority = "private" AND local_board = "hibiscus and bays" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)
### Question:
Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168?
### Answer:
SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168 |
Below is an context that describes a sql 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 (affiliation VARCHAR, enrollment INTEGER)
### Question:
Which Affiliation has an Enrollement larger than 502?
### Answer:
SELECT affiliation FROM table_name_54 WHERE enrollment > 502 |
Below is an context that describes a sql 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 (series_ep VARCHAR, segment_d VARCHAR)
### Question:
Name the series ep for darts
### Answer:
SELECT series_ep FROM table_name_27 WHERE segment_d = "darts" |
Below is an context that describes a sql 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 (club_province VARCHAR, date_of_birth__age_ VARCHAR)
### Question:
What is the club/province of the player born on 12 May 1984?
### Answer:
SELECT club_province FROM table_name_77 WHERE date_of_birth__age_ = "12 may 1984" |
Below is an context that describes a sql 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 (record VARCHAR, game VARCHAR, december VARCHAR)
### Question:
Game larger than 34, and a December smaller than 23 had what record?
### Answer:
SELECT record FROM table_name_20 WHERE game > 34 AND december < 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_15 (solidat__ INTEGER, purpose VARCHAR, hardness___brinell__ VARCHAR)
### Question:
What is the sum of Solidat (c) that's purpose is display type, heavy duty jobs, and a hardness (brinell) is smaller than 33?
### Answer:
SELECT SUM(solidat__) AS °c_ FROM table_name_15 WHERE purpose = "display type, heavy duty jobs" AND hardness___brinell__ < 33 |
Below is an context that describes a sql 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 (planet VARCHAR, radial_velocity__m_s_ INTEGER)
### Question:
What type of planet has a radial velocity of 45.2 m/s?
### Answer:
SELECT planet AS Type FROM table_name_56 WHERE radial_velocity__m_s_ > 45.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_48 (gold INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
What is the smallest number of gold medals a country with 1 bronze, and a total of 3 medals which is lower than rank 7?
### Answer:
SELECT MIN(gold) FROM table_name_48 WHERE bronze = 1 AND total = 3 AND rank > 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_1245350_1 (power VARCHAR, quattroporte_iv VARCHAR)
### Question:
What is the power of the 3.2i v8 32v?
### Answer:
SELECT power FROM table_1245350_1 WHERE quattroporte_iv = "3.2i V8 32v" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE invoices (billing_state VARCHAR, billing_country VARCHAR)
### Question:
List the state in the US with the most invoices.
### Answer:
SELECT billing_state, COUNT(*) FROM invoices WHERE billing_country = "USA" GROUP BY billing_state ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (points_for VARCHAR, club VARCHAR)
### Question:
What is the points for of Club of penallta rfc?
### Answer:
SELECT points_for FROM table_name_17 WHERE club = "penallta rfc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE body_builder (Id VARCHAR)
### Question:
Show all information about each body builder.
### Answer:
SELECT * FROM body_builder |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (station_number VARCHAR, location VARCHAR)
### Question:
What is the station number of the station at Dogsthorpe?
### Answer:
SELECT station_number FROM table_name_40 WHERE location = "dogsthorpe" |
Below is an context that describes a sql 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 (opponent VARCHAR, round VARCHAR)
### Question:
who was the opponent with round 17?
### Answer:
SELECT opponent FROM table_name_64 WHERE round = "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_79 (outcome VARCHAR, surface VARCHAR, tournament VARCHAR)
### Question:
Which Outcome has a Surface of clay, and a Tournament of morocco f5, rabat , morocco?
### Answer:
SELECT outcome FROM table_name_79 WHERE surface = "clay" AND tournament = "morocco f5, rabat , morocco" |
Below is an context that describes a sql 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 (season VARCHAR, points VARCHAR, finish VARCHAR)
### Question:
What season has a 6th north finish and more than 21 points?
### Answer:
SELECT season FROM table_name_18 WHERE points > 21 AND finish = "6th north" |
Below is an context that describes a sql 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 (score VARCHAR, winner VARCHAR)
### Question:
What was the score when Stefan Edberg won?
### Answer:
SELECT score FROM table_name_64 WHERE winner = "stefan edberg" |
Below is an context that describes a sql 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 (democrat VARCHAR, lead_margin VARCHAR)
### Question:
What is Democrat: Carl Levin, when Lead Margin is 22?
### Answer:
SELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 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_17 (foundation VARCHAR, enterprise VARCHAR)
### Question:
Which Foundation has an Enterprise of 2?
### Answer:
SELECT foundation FROM table_name_17 WHERE enterprise = "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_76 (date VARCHAR, label VARCHAR)
### Question:
What date is associated with the Spunk label?
### Answer:
SELECT date FROM table_name_76 WHERE label = "spunk" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14656147_2 (attendance INTEGER)
### Question:
Find the least value of attendance?
### Answer:
SELECT MIN(attendance) FROM table_14656147_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_25 (attendance INTEGER, date VARCHAR)
### Question:
What is the highest Attendance, when Date is "Oct. 26"?
### Answer:
SELECT MAX(attendance) FROM table_name_25 WHERE date = "oct. 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_11926114_1 (rank INTEGER, peak VARCHAR)
### Question:
What numbr on the list had a peak rating of 42?
### Answer:
SELECT MIN(rank) FROM table_11926114_1 WHERE peak = 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_name_21 (value__ VARCHAR, team VARCHAR, revenue__$m_ VARCHAR, rank VARCHAR)
### Question:
Name the total number of value for revenue more than 193 and rank less than 12 for manchester united
### Answer:
SELECT COUNT(value__) AS $m_ FROM table_name_21 WHERE revenue__$m_ > 193 AND rank < 12 AND team = "manchester united" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
What is Opponent, when Date is 17 September 1998?
### Answer:
SELECT opponent FROM table_name_76 WHERE date = "17 september 1998" |
Below is an context that describes a sql 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 (grid INTEGER, laps VARCHAR, time VARCHAR)
### Question:
Which Grid has Laps smaller than 24, and a Time of retirement?
### Answer:
SELECT MIN(grid) FROM table_name_64 WHERE laps < 24 AND time = "retirement" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE CAR_MAKERS (Country VARCHAR); CREATE TABLE COUNTRIES (CountryName VARCHAR, CountryId VARCHAR)
### Question:
Which of the countries has the most car makers? List the country name.
### Answer:
SELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId GROUP BY T1.Country ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11602313_4 (frequency VARCHAR, model_number VARCHAR)
### Question:
What frequency is the pentium dual-core t3200?
### Answer:
SELECT frequency FROM table_11602313_4 WHERE model_number = "Pentium Dual-Core T3200" |
Below is an context that describes a sql 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 (attendance VARCHAR, home_team VARCHAR)
### Question:
What was the attendance when Nuneaton Borough was the home team?
### Answer:
SELECT attendance FROM table_name_44 WHERE home_team = "nuneaton borough" |
Below is an context that describes a sql 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 (population__2004_ INTEGER, households VARCHAR)
### Question:
What is the lowest 2004 population when there were 5158 households?
### Answer:
SELECT MIN(population__2004_) FROM table_name_8 WHERE households = 5158 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.