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_28 (to_par VARCHAR, total VARCHAR, finish VARCHAR)
### Question:
Which To par has a Total larger than 283, and a Finish of t12?
### Answer:
SELECT to_par FROM table_name_28 WHERE total > 283 AND finish = "t12"
|
Below is an context that describes a sql 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 (player VARCHAR, school VARCHAR)
### Question:
who is the player when the school is spring hs (spring, texas)?
### Answer:
SELECT player FROM table_name_24 WHERE school = "spring hs (spring, texas)"
|
Below is an context that describes a sql 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 (rice_ VARCHAR, b_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
### Question:
What is the rice amount when the potato amount is 79?
### Answer:
SELECT rice_[b_] FROM table_name_7 WHERE potato_[d_] = "79"
|
Below is an context that describes a sql 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 (rank VARCHAR, goals VARCHAR, matches VARCHAR)
### Question:
What is the total number of Rank with 100 goals, and less than 300 matches?
### Answer:
SELECT COUNT(rank) FROM table_name_3 WHERE goals = 100 AND matches < 300
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE company (main_industry VARCHAR, market_value INTEGER)
### Question:
List the main industry with highest total market value and its number of companies.
### Answer:
SELECT main_industry, COUNT(*) FROM company GROUP BY main_industry ORDER BY SUM(market_value) 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_43 (player VARCHAR, year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)
### Question:
If 1967 is the winning year and a player has a total recorded as wd with a To par under 16, what's the players name?
### Answer:
SELECT player FROM table_name_43 WHERE total = "wd" AND to_par < 16 AND year_s__won = "1967"
|
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR)
### Question:
What is the largest week with the Atlanta Falcons as the opponent?
### Answer:
SELECT MAX(week) FROM table_name_90 WHERE opponent = "atlanta falcons"
|
Below is an context that describes a sql 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 (points_2 INTEGER, position VARCHAR, goal_average_1 VARCHAR, goals_against VARCHAR)
### Question:
Which Points 2 has a Goal Average 1 larger than 1.17, a Goals Against larger than 48, and a Position larger than 6?
### Answer:
SELECT SUM(points_2) FROM table_name_64 WHERE goal_average_1 > 1.17 AND goals_against > 48 AND position > 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_61 (opponent VARCHAR, game VARCHAR, score VARCHAR)
### Question:
Looking only at matches occurring after Game 51, who was the opponent for the game that ended with a score of 99-129?
### Answer:
SELECT opponent FROM table_name_61 WHERE game > 51 AND score = "99-129"
|
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, record VARCHAR)
### Question:
Which Score has Opponent of mariners and a Record of 24–25?
### Answer:
SELECT score FROM table_name_91 WHERE opponent = "mariners" AND record = "24–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_1341522_13 (party VARCHAR, incumbent VARCHAR)
### Question:
What party is Sanford Bishop a member of?
### Answer:
SELECT party FROM table_1341522_13 WHERE incumbent = "Sanford Bishop"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27539272_5 (record VARCHAR, score VARCHAR)
### Question:
what is the record that had a score of 5-3?
### Answer:
SELECT record FROM table_27539272_5 WHERE score = "5-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_62 (notes VARCHAR, venue VARCHAR)
### Question:
What were the notes when the Venue was Turin, Italy?
### Answer:
SELECT notes FROM table_name_62 WHERE venue = "turin, italy"
|
Below is an context that describes a sql 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 (role VARCHAR, actor VARCHAR)
### Question:
What role is Kevin Bishop the actor?
### Answer:
SELECT role FROM table_name_18 WHERE actor = "kevin bishop"
|
Below is an context that describes a sql 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 (award VARCHAR, result VARCHAR)
### Question:
What's the award for #100?
### Answer:
SELECT award FROM table_name_84 WHERE result = "#100"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR)
### Question:
What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,000, and a Result of w52-0?
### Answer:
SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "20,000" AND result = "w52-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_73 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What is the lowest number of silvers for countries in rank 12 with more than 0 bronze?
### Answer:
SELECT MIN(silver) FROM table_name_73 WHERE rank = "12" AND bronze > 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_22 (ground VARCHAR, score VARCHAR)
### Question:
Where was the game played the ended with a score of 62-69?
### Answer:
SELECT ground FROM table_name_22 WHERE score = "62-69"
|
Below is an context that describes a sql 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 (director_s_ VARCHAR, writer_s_ VARCHAR)
### Question:
Who was the director that worked with Dana Dorian as the writer?
### Answer:
SELECT director_s_ FROM table_name_44 WHERE writer_s_ = "dana dorian"
|
Below is an context that describes a sql 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 (average INTEGER, played VARCHAR)
### Question:
What is the sum of Average, when 2006 is "36/40", and when Played is greater than 126?
### Answer:
SELECT SUM(average) FROM table_name_64 WHERE 2006 = "36/40" AND played > 126
|
Below is an context that describes a 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_21 (segment_c VARCHAR, segment_d VARCHAR)
### Question:
What are the titles of segment c when segment d is motorcycle brake locks?
### Answer:
SELECT segment_c FROM table_15187735_21 WHERE segment_d = "Motorcycle Brake Locks"
|
Below is an context that describes a sql 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 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)
### Question:
Which School/Club Team has a Round larger than 3, and a Player of sammy okpro?
### Answer:
SELECT school_club_team FROM table_name_15 WHERE round > 3 AND player = "sammy okpro"
|
Below is an context that describes a sql 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 (laps INTEGER, driver VARCHAR, grid VARCHAR)
### Question:
What is the average laps for lorenzo bandini with a grid under 3?
### Answer:
SELECT AVG(laps) FROM table_name_91 WHERE driver = "lorenzo bandini" AND grid < 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_80 (cast VARCHAR, director VARCHAR)
### Question:
Tell me the cast for b. reeves eason and joseph kane
### Answer:
SELECT cast FROM table_name_80 WHERE director = "b. reeves eason and joseph kane"
|
Below is an context that describes a sql 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 (centerfold_model VARCHAR, date VARCHAR)
### Question:
Which Centerfold model has a Date of 3-01?
### Answer:
SELECT centerfold_model FROM table_name_54 WHERE date = "3-01"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24910733_2 (share VARCHAR, air_date VARCHAR)
### Question:
How many share figures are there for the episode that aired on October 17, 2007?
### Answer:
SELECT COUNT(share) FROM table_24910733_2 WHERE air_date = "October 17, 2007"
|
Below is an context that describes a sql 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 (reverse VARCHAR, color VARCHAR)
### Question:
What reverse has a color of green?
### Answer:
SELECT reverse FROM table_name_33 WHERE color = "green"
|
Below is an context that describes a sql 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 (first_party VARCHAR, second_member VARCHAR, election VARCHAR)
### Question:
What is the first party with second member Hon. Rowland Hill, in the 1857 election?
### Answer:
SELECT first_party FROM table_name_18 WHERE second_member = "hon. rowland hill" AND election = "1857"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11464746_1 (composition VARCHAR, house_name VARCHAR)
### Question:
What is the benue house made of?
### Answer:
SELECT composition FROM table_11464746_1 WHERE house_name = "Benue"
|
Below is an context that describes a sql 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 (round INTEGER, result VARCHAR)
### Question:
Which highest Round has a Result of loss?
### Answer:
SELECT MAX(round) FROM table_name_27 WHERE result = "loss"
|
Below is an context that describes a sql 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 (engine VARCHAR, chassis VARCHAR, entrant VARCHAR)
### Question:
What was the Engine, when the Chassis was Bugatti T51, and when the Entrant was a Private Entry?
### Answer:
SELECT engine FROM table_name_1 WHERE chassis = "bugatti t51" AND entrant = "private entry"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11654169_1 (population_in_1000__1931_ VARCHAR, voivodeship_separate_city VARCHAR)
### Question:
What is the population in the city of Pomorskie?
### Answer:
SELECT population_in_1000__1931_ FROM table_11654169_1 WHERE voivodeship_separate_city = "pomorskie"
|
Below is an context that describes a sql 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 (episode_title VARCHAR, countries_visited VARCHAR)
### Question:
Which episode title featured a visit to the country of Cuba?
### Answer:
SELECT episode_title FROM table_name_26 WHERE countries_visited = "cuba"
|
Below is an context that describes a sql 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 (season VARCHAR, apps VARCHAR)
### Question:
What season did he have 7 appearances?
### Answer:
SELECT season FROM table_name_91 WHERE apps = 7
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (opposing_teams VARCHAR, status VARCHAR, date VARCHAR)
### Question:
What is Opposing Teams, when Status is "Test Match", and when Date is "25/11/2000"?
### Answer:
SELECT opposing_teams FROM table_name_96 WHERE status = "test match" AND date = "25/11/2000"
|
Below is an context that describes a sql 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 (team VARCHAR, home_city VARCHAR)
### Question:
What team has a home city of Koprivnica?
### Answer:
SELECT team FROM table_name_77 WHERE home_city = "koprivnica"
|
Below is an context that describes a sql 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 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR)
### Question:
What is the IHSAA Football Class for county 67 putnam at Greencastle?
### Answer:
SELECT ihsaa_football_class FROM table_name_16 WHERE county = "67 putnam" AND school = "greencastle"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR); CREATE TABLE MINOR_IN (DNO VARCHAR)
### Question:
Find the name of the department that has the biggest number of students minored in?
### Answer:
SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO 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_2 (shuji_kondo VARCHAR, pepe_michinoku VARCHAR)
### Question:
What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)?
### Answer:
SELECT shuji_kondo FROM table_name_2 WHERE pepe_michinoku = "sabin (14:43)"
|
Below is an context that describes a sql 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 (home_team VARCHAR)
### Question:
What was Footscray's score when it played as the home team?
### Answer:
SELECT home_team AS score FROM table_name_2 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_1973816_2 (founded VARCHAR, institution VARCHAR)
### Question:
When was Daniel Webster College founded?
### Answer:
SELECT founded FROM table_1973816_2 WHERE institution = "Daniel Webster College"
|
Below is an context that describes a sql 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 (opponent VARCHAR, attendance VARCHAR)
### Question:
What team was the opponent when there were 27,321 in attendance?
### Answer:
SELECT opponent FROM table_name_86 WHERE attendance = "27,321"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25642873_2 (touchdowns INTEGER, player VARCHAR)
### Question:
How many touchdowns did Sam Babcock get?
### Answer:
SELECT MAX(touchdowns) FROM table_25642873_2 WHERE player = "Sam Babcock"
|
Below is an context that describes a sql 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 (voltage VARCHAR, model_number VARCHAR)
### Question:
What is the Voltage for Model Number c3 866?
### Answer:
SELECT voltage FROM table_name_21 WHERE model_number = "c3 866"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11964263_13 (high_points VARCHAR, location_attendance VARCHAR)
### Question:
Name the high points for toyota center 18,269?
### Answer:
SELECT high_points FROM table_11964263_13 WHERE location_attendance = "Toyota Center 18,269"
|
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What is the score on March 17?
### Answer:
SELECT score FROM table_name_10 WHERE date = "march 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_222666_1 (period_of_validity VARCHAR, former_country_name VARCHAR)
### Question:
Name the total number for period of validity for upper volta
### Answer:
SELECT COUNT(period_of_validity) FROM table_222666_1 WHERE former_country_name = "Upper Volta"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17140608_11 (score VARCHAR, date VARCHAR)
### Question:
What score(s) were recorded on april 28?
### Answer:
SELECT score FROM table_17140608_11 WHERE date = "April 28"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29391888_1 (original_air_date VARCHAR, season__number VARCHAR)
### Question:
What is the original air date for the season# 2?
### Answer:
SELECT original_air_date FROM table_29391888_1 WHERE season__number = 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_67 (january VARCHAR, game VARCHAR, opponent VARCHAR)
### Question:
How much January has a Game smaller than 37, and an Opponent of detroit red wings?
### Answer:
SELECT COUNT(january) FROM table_name_67 WHERE game < 37 AND opponent = "detroit red wings"
|
Below is an context that describes a sql 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 (district_residence VARCHAR, name VARCHAR)
### Question:
Name of choice b. Randell is the name of which District Residence?
### Answer:
SELECT district_residence FROM table_name_4 WHERE name = "choice b. randell"
|
Below is an context that describes a sql 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 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
### Question:
What was the highest number of bronze medals when there were a total of 4 medals, 1 silver medals, and less than 2 medals?
### Answer:
SELECT MAX(bronze) FROM table_name_99 WHERE total = 4 AND silver = 1 AND gold < 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_51 (game INTEGER, january VARCHAR)
### Question:
Which Game is the highest that has a January of 28?
### Answer:
SELECT MAX(game) FROM table_name_51 WHERE january = 28
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (location VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)
### Question:
Winchester Community school, which plays IHSAA class AA football, is located where?
### Answer:
SELECT location FROM table_name_99 WHERE ihsaa_football_class = "aa" AND school = "winchester community"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Sportsinfo (StuID VARCHAR, gamesplayed INTEGER)
### Question:
Show all student IDs with the number of sports and total number of games played
### Answer:
SELECT StuID, COUNT(*), SUM(gamesplayed) FROM Sportsinfo GROUP BY StuID
|
Below is an context that describes a sql 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 (total INTEGER, place VARCHAR, draw VARCHAR)
### Question:
Which average Total has a Place smaller than 2, and a Draw smaller than 5?
### Answer:
SELECT AVG(total) FROM table_name_99 WHERE place < 2 AND draw < 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_71 (player VARCHAR, to_par VARCHAR)
### Question:
Who is the player with a to par of +1?
### Answer:
SELECT player FROM table_name_71 WHERE to_par = "+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_17522854_6 (country VARCHAR)
### Question:
How many 3rd ru does Costa Rica have?
### Answer:
SELECT MAX(3 AS rd_ru) FROM table_17522854_6 WHERE country = "Costa Rica"
|
Below is an context that describes a sql 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 (elevation__m_ VARCHAR, prominence__m_ INTEGER)
### Question:
How much Elevation (m) has a Prominence (m) larger than 2,876?
### Answer:
SELECT COUNT(elevation__m_) FROM table_name_18 WHERE prominence__m_ > 2 OFFSET 876
|
Below is an context that describes a sql 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 (place_of_action VARCHAR, service VARCHAR, rank VARCHAR)
### Question:
Name the place of action for the marine corps and corporal rank
### Answer:
SELECT place_of_action FROM table_name_45 WHERE service = "marine corps" AND rank = "corporal"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE school (school_name VARCHAR, LOCATION VARCHAR, mascot VARCHAR)
### Question:
List the name, location, mascot for all schools.
### Answer:
SELECT school_name, LOCATION, mascot FROM 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_81 (age_on_mission INTEGER, name VARCHAR)
### Question:
What is the lowest age of an astronaut named Stu Roosa?
### Answer:
SELECT MIN(age_on_mission) FROM table_name_81 WHERE name = "stu roosa"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2583036_1 (camera VARCHAR, exposures VARCHAR)
### Question:
how many times was the exposures 53?
### Answer:
SELECT COUNT(camera) FROM table_2583036_1 WHERE exposures = 53
|
Below is an context that describes a sql 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 (floors INTEGER, street_address VARCHAR)
### Question:
There is a building at 800 Boylston Street, how many floors does it have?
### Answer:
SELECT SUM(floors) FROM table_name_81 WHERE street_address = "800 boylston street"
|
Below is an context that describes a sql 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 (recipient VARCHAR, director_s_ VARCHAR)
### Question:
What is the name of the recipient when the director was Susan Jacobson?
### Answer:
SELECT recipient FROM table_name_31 WHERE director_s_ = "susan jacobson"
|
Below is an context that describes a sql 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 (score VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
What was Olga Govortsova's goal when she played on a clay surface on 26 May 2012?
### Answer:
SELECT score FROM table_name_84 WHERE surface = "clay" AND date = "26 may 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_14940519_1 (opponent VARCHAR, date VARCHAR)
### Question:
Name the opponent for october 2, 1983
### Answer:
SELECT opponent FROM table_14940519_1 WHERE date = "October 2, 1983"
|
Below is an context that describes a sql 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 (uni_number VARCHAR, bats VARCHAR, position VARCHAR)
### Question:
How many Uni numbers have Bats of s, and a Position of utl?
### Answer:
SELECT COUNT(uni_number) FROM table_name_31 WHERE bats = "s" AND position = "utl"
|
Below is an context that describes a sql 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 (drawn INTEGER, points VARCHAR, against VARCHAR)
### Question:
Which Drawn has a Points of 6, and a Against larger than 16?
### Answer:
SELECT SUM(drawn) FROM table_name_17 WHERE points = 6 AND against > 16
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11622255_1 (purse__ INTEGER, tournament VARCHAR)
### Question:
what is the minimum purse( $ ) where tournament is ko olina senior invitational
### Answer:
SELECT MIN(purse__) AS $__ FROM table_11622255_1 WHERE tournament = "Ko Olina Senior Invitational"
|
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
Which Score has a Record of 36–61?
### Answer:
SELECT score FROM table_name_29 WHERE record = "36–61"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (year INTEGER, location VARCHAR)
### Question:
What's the lowest Year with the Location of Bangkok?
### Answer:
SELECT MIN(year) FROM table_name_22 WHERE location = "bangkok"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR)
### Question:
What was the NCAA Tournament record after the June 26 game?
### Answer:
SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 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_32 (tournament VARCHAR)
### Question:
Name the tournament for 2012 grand slam tournaments
### Answer:
SELECT tournament FROM table_name_32 WHERE 2012 = "grand slam tournaments"
|
Below is an context that describes a sql 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 (team VARCHAR, coach VARCHAR)
### Question:
Which team has coach John Kosmina?
### Answer:
SELECT team FROM table_name_82 WHERE coach = "john kosmina"
|
Below is an context that describes a sql 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 (hometown VARCHAR, year VARCHAR, club VARCHAR)
### Question:
What hometown was FR Year, and ha Brown's Gymnastics club?
### Answer:
SELECT hometown FROM table_name_20 WHERE year = "fr" AND club = "brown's gymnastics"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24096813_15 (voltage VARCHAR, part_number_s_ VARCHAR)
### Question:
What's the voltage of the model with part number TT80503300?
### Answer:
SELECT voltage FROM table_24096813_15 WHERE part_number_s_ = "TT80503300"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342249_32 (result VARCHAR, district VARCHAR)
### Question:
Name the result for new york 1
### Answer:
SELECT result FROM table_1342249_32 WHERE district = "New York 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_12 (general_classification VARCHAR, stage VARCHAR, mountains_classification VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR)
### Question:
Who had the general classification when the trofeo fast team was Mapei-Bricobi, the points classification went to Mariano Piccoli and the mountains classification went to Marco Pantani in stage 22?
### Answer:
SELECT general_classification FROM table_name_12 WHERE trofeo_fast_team = "mapei-bricobi" AND points_classification = "mariano piccoli" AND mountains_classification = "marco pantani" AND stage = "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_42 (story VARCHAR, date VARCHAR)
### Question:
What is the title of the story published on October 19, 2011?
### Answer:
SELECT story FROM table_name_42 WHERE date = "october 19, 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_name_49 (date VARCHAR, score_f_a VARCHAR, opponents VARCHAR)
### Question:
Score F–A of 2–0, and a Opponents of walsall has what date?
### Answer:
SELECT date FROM table_name_49 WHERE score_f_a = "2–0" AND opponents = "walsall"
|
Below is an context that describes a sql 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 (score VARCHAR, home_team VARCHAR)
### Question:
What score has notts county as the home team?
### Answer:
SELECT score FROM table_name_23 WHERE home_team = "notts county"
|
Below is an context that describes a sql 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 (dance VARCHAR, worst_dancer_s_ VARCHAR, worst_score VARCHAR)
### Question:
What is the dance that has priscilla presley is the worst dancer(s), and the worst score of 21?
### Answer:
SELECT dance FROM table_name_68 WHERE worst_dancer_s_ = "priscilla presley" AND worst_score = "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_8 (league VARCHAR, play_offs VARCHAR, name VARCHAR)
### Question:
What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?
### Answer:
SELECT COUNT(league) AS Cup FROM table_name_8 WHERE play_offs > 2 AND name = "mitch cook category:articles with hcards"
|
Below is an context that describes a sql 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 (gold INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
When rank is 7 and silver is less than 0, what is the total gold?
### Answer:
SELECT SUM(gold) FROM table_name_17 WHERE rank = "7" 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_24 (tournament VARCHAR)
### Question:
In 1983 what is the tournament that is 0 / 1?
### Answer:
SELECT tournament FROM table_name_24 WHERE 1983 = "0 / 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_10 (score VARCHAR, home VARCHAR)
### Question:
What was the score when Edmonton was the home team?
### Answer:
SELECT score FROM table_name_10 WHERE home = "edmonton"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1067134_1 (_number_of_ep INTEGER)
### Question:
What is the least amount of season epidsodes?
### Answer:
SELECT MIN(_number_of_ep) FROM table_1067134_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 department_stores (dept_store_id VARCHAR, store_name VARCHAR); CREATE TABLE departments (dept_store_id VARCHAR, department_name VARCHAR)
### Question:
What is the id and name of the department store that has both marketing and managing department?
### Answer:
SELECT T2.dept_store_id, T2.store_name FROM departments AS T1 JOIN department_stores AS T2 ON T1.dept_store_id = T2.dept_store_id WHERE T1.department_name = "marketing" INTERSECT SELECT T2.dept_store_id, T2.store_name FROM departments AS T1 JOIN department_stores AS T2 ON T1.dept_store_id = T2.dept_store_id WHERE T1.department_name = "managing"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (rate VARCHAR, ryds VARCHAR)
### Question:
What was the rate for 73 RYds?
### Answer:
SELECT rate FROM table_name_22 WHERE ryds = "73"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668416_18 (incumbent VARCHAR, district VARCHAR)
### Question:
If the district is Virginia 8, who is the Incumbent?
### Answer:
SELECT incumbent FROM table_2668416_18 WHERE district = "Virginia 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_9 (event VARCHAR)
### Question:
What is the value in 2008-09 for the Autumn Gold event?
### Answer:
SELECT 2008 AS _09 FROM table_name_9 WHERE event = "autumn gold"
|
Below is an context that describes a sql 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 (icao VARCHAR, airport VARCHAR)
### Question:
Name the ICAO for lilongwe international airport
### Answer:
SELECT icao FROM table_name_74 WHERE airport = "lilongwe international airport"
|
Below is an context that describes a sql 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 (type VARCHAR, country VARCHAR)
### Question:
What is thr type in Aut country?
### Answer:
SELECT type FROM table_name_81 WHERE country = "aut"
|
Below is an context that describes a sql 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 (democratic_ticket VARCHAR, office VARCHAR)
### Question:
The person who is on the Democratic ticket for the position of Office of U.S. Senator was who?
### Answer:
SELECT democratic_ticket FROM table_name_68 WHERE office = "u.s. senator"
|
Below is an context that describes a sql 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 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR)
### Question:
What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat?
### Answer:
SELECT saturated_fat FROM table_name_94 WHERE total_fat = "100g" AND polyunsaturated_fat = "11g"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR)
### Question:
Which owner has a description of Mark 1 CK and is dated 1953?
### Answer:
SELECT owner_s_ FROM table_name_30 WHERE date = 1953 AND description = "mark 1 ck"
|
Below is an context that describes a sql 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 (enrollment_08_09 INTEGER, previous_counference VARCHAR, ihsaa_class VARCHAR)
### Question:
What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A?
### Answer:
SELECT AVG(enrollment_08_09) FROM table_name_28 WHERE previous_counference = "lake" AND ihsaa_class = "3a"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13079788_3 (date VARCHAR, gtc_winner VARCHAR, gt3_winner VARCHAR)
### Question:
what are all the date for gtc winners graeme mundy jamie smyth and gt3 winners hector lester tim mullen
### Answer:
SELECT date FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND gt3_winner = "Hector Lester Tim Mullen"
|
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR)
### Question:
What is the country with a 68-73-69=210 score?
### Answer:
SELECT country FROM table_name_91 WHERE score = 68 - 73 - 69 = 210
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.