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_45 (laps VARCHAR, rider VARCHAR, grid VARCHAR)
### Question:
What is the total number of laps done by Massimo Roccoli when his grid was smaller than 4?
### Answer:
SELECT COUNT(laps) FROM table_name_45 WHERE rider = "massimo roccoli" AND grid < 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_17 (north_american_release_date VARCHAR, japanese_release_date VARCHAR)
### Question:
What is North American Release Date, when Japanese Release Date is "2011-06-23"?
### Answer:
SELECT north_american_release_date FROM table_name_17 WHERE japanese_release_date = "2011-06-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 (week_7_oct_12 VARCHAR, week_11_nov_9 VARCHAR)
### Question:
Which Week 7 Oct 12 has a Week 11 Nov 9 of week 11 nov 9?
### Answer:
SELECT week_7_oct_12 FROM table_name_15 WHERE week_11_nov_9 = "week 11 nov 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_19763199_5 (song VARCHAR, artist VARCHAR)
### Question:
Name the number of song for julia bermejo
### Answer:
SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Julia Bermejo" |
Below is an context that describes a sql 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 (team VARCHAR, school VARCHAR)
### Question:
What is the name of the School of the Sussex Tech's Team?
### Answer:
SELECT team FROM table_name_29 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 tryout (pPos VARCHAR)
### Question:
How many students whose are playing the role of goalie?
### Answer:
SELECT COUNT(*) FROM tryout WHERE pPos = 'goalie' |
Below is an context that describes a sql 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 (team VARCHAR, ratt VARCHAR)
### Question:
What was the team with a ratt of 57?
### Answer:
SELECT team FROM table_name_18 WHERE ratt = "57" |
Below is an context that describes a sql 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 (player VARCHAR, rank VARCHAR)
### Question:
What player has the rank 2011?
### Answer:
SELECT player FROM table_name_97 WHERE rank = 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_27298240_28 (present VARCHAR)
### Question:
What is in 1st place when present is mogu?
### Answer:
SELECT 1 AS st FROM table_27298240_28 WHERE present = "mogu" |
Below is an context that describes a sql 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 (format VARCHAR, catalog VARCHAR)
### Question:
What is the Format of the release with Catalog number RTRADLP491?
### Answer:
SELECT format FROM table_name_15 WHERE catalog = "rtradlp491" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23286223_5 (game VARCHAR, high_rebounds VARCHAR)
### Question:
What's the number of the game in which Carlos Boozer (8) did the high rebounds?
### Answer:
SELECT game FROM table_23286223_5 WHERE high_rebounds = "Carlos Boozer (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_73 (crowd INTEGER, venue VARCHAR)
### Question:
What is the lowest crowd number at the venue MCG?
### Answer:
SELECT MIN(crowd) FROM table_name_73 WHERE venue = "mcg" |
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR)
### Question:
What was the Loss when the Record was 50-54?
### Answer:
SELECT loss FROM table_name_46 WHERE record = "50-54" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24257833_4 (minor_version VARCHAR, release_date VARCHAR)
### Question:
What was the minor version released on April 16, 2008?
### Answer:
SELECT minor_version FROM table_24257833_4 WHERE release_date = "April 16, 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Professionals (professional_id VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)
### Question:
How many professionals did not operate any treatment on dogs?
### Answer:
SELECT COUNT(*) FROM Professionals WHERE NOT professional_id IN (SELECT professional_id FROM Treatments) |
Below is an context that describes a sql 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 (date VARCHAR, series VARCHAR)
### Question:
What is Date, when Series is ATCC Round 5?
### Answer:
SELECT date FROM table_name_1 WHERE series = "atcc round 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_63 (terry_kilrea__dropped_out_ VARCHAR, polling_firm VARCHAR, bob_chiarelli VARCHAR)
### Question:
What are the polling dates for polling firm Holinshed when Terry Kilrea dropped out and Bob Chiarelli has 22.5%?
### Answer:
SELECT terry_kilrea__dropped_out_ FROM table_name_63 WHERE polling_firm = "holinshed" AND bob_chiarelli = "22.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_13 (swimsuit VARCHAR, evening_gown VARCHAR)
### Question:
what is the swimsuit score when evening gown score is 9.165 (3)?
### Answer:
SELECT swimsuit FROM table_name_13 WHERE evening_gown = "9.165 (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_11 (partnering VARCHAR, score VARCHAR)
### Question:
Which Partnering has a Score of 7–6 7 , 6–1?
### Answer:
SELECT partnering FROM table_name_11 WHERE score = "7–6 7 , 6–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_58 (lane INTEGER, nationality VARCHAR)
### Question:
How many lanes have a Nationality of iceland?
### Answer:
SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13618584_1 (elected VARCHAR)
### Question:
What was the 2007 result in the district where the incumbent was elected in 1996?
### Answer:
SELECT 2007 AS _result FROM table_13618584_1 WHERE elected = 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_93 (tracks VARCHAR, density VARCHAR)
### Question:
How many tracks have a single density?
### Answer:
SELECT COUNT(tracks) FROM table_name_93 WHERE density = "single" |
Below is an context that describes a sql 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 (against INTEGER, opposing_teams VARCHAR)
### Question:
What is the largest Against with an Opposing Teams of wales?
### Answer:
SELECT MAX(against) FROM table_name_71 WHERE opposing_teams = "wales" |
Below is an context that describes a sql 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 (overall INTEGER, name VARCHAR)
### Question:
WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER?
### Answer:
SELECT AVG(overall) FROM table_name_56 WHERE name = "mark fischer" |
Below is an context that describes a sql 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 (natural_wood_keyboard VARCHAR, model VARCHAR)
### Question:
Which Natural Wood Keyboard has a CLP380 ?
### Answer:
SELECT natural_wood_keyboard FROM table_name_21 WHERE model = "clp380" |
Below is an context that describes a sql 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 (wins VARCHAR, losses VARCHAR)
### Question:
How many wins did they have when they had 5 losses?
### Answer:
SELECT wins FROM table_name_80 WHERE 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_20 (area INTEGER, english_name VARCHAR)
### Question:
What's the average area for the xinluo district?
### Answer:
SELECT AVG(area) FROM table_name_20 WHERE english_name = "xinluo district" |
Below is an context that describes a sql 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 (example VARCHAR, consonant_final_stem VARCHAR)
### Question:
What example for did- is shown for a Consonant final stem of -ø?
### Answer:
SELECT example AS :_did_ FROM table_name_84 WHERE consonant_final_stem = "-ø" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR)
### Question:
What is the highest planetary mass having an RV (cm/s) of 65 and a Period (days) less than 21?
### Answer:
SELECT MAX(planetary_mass___m) AS ⊕__ FROM table_name_5 WHERE rv__cm_s_ = 65 AND period__days_ < 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_70 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
### Question:
Which team played their first leg at home with an aggregate score of 3-4?
### Answer:
SELECT home__1st_leg_ FROM table_name_70 WHERE aggregate = "3-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_62 (nation VARCHAR, athlete VARCHAR, medal_count VARCHAR)
### Question:
What nation has paavo nurmi as the athlete, with a medal count less than 12?
### Answer:
SELECT nation FROM table_name_62 WHERE athlete = "paavo nurmi" AND medal_count < 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_31 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR, player VARCHAR)
### Question:
What's the number of touchdowns that there are 0 field goals, less than 5 points, and had Joe Maddock playing?
### Answer:
SELECT SUM(touchdowns) FROM table_name_31 WHERE field_goals = 0 AND player = "joe maddock" AND points < 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_68 (venue VARCHAR, date VARCHAR)
### Question:
Which venue has a Date of 28 july 2007?
### Answer:
SELECT venue FROM table_name_68 WHERE date = "28 july 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_54 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
### Question:
Who were the opponents in the final in which the score was 6–1, 1–6, 4–6?
### Answer:
SELECT opponents_in_the_final FROM table_name_54 WHERE score_in_the_final = "6–1, 1–6, 4–6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (year INTEGER, attendance INTEGER)
### Question:
How many years have less than 28,505 attendance?
### Answer:
SELECT AVG(year) FROM table_name_80 WHERE attendance < 28 OFFSET 505 |
Below is an context that describes a sql 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 (viewers VARCHAR, event VARCHAR)
### Question:
What is Viewers, when Event is Johnson Vs. Moraga?
### Answer:
SELECT viewers FROM table_name_1 WHERE event = "johnson vs. moraga" |
Below is an context that describes a sql 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 (report VARCHAR, away_team VARCHAR)
### Question:
What was the away team for the New Zealand breakers?
### Answer:
SELECT report FROM table_name_59 WHERE away_team = "new zealand breakers" |
Below is an context that describes a sql 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 (game INTEGER, time VARCHAR, attendance VARCHAR)
### Question:
When was the last game that had a time of 2:46 and attendance of more than 57,533?
### Answer:
SELECT MAX(game) FROM table_name_27 WHERE time = "2:46" AND attendance > 57 OFFSET 533 |
Below is an context that describes a sql 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 (right_ascension___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR, apparent_magnitude VARCHAR)
### Question:
Tell me the right ascensuon for object type of globular cluster and apparent magnitude of 8.5 and NGC number of 6273
### Answer:
SELECT right_ascension___j2000__ FROM table_name_2 WHERE object_type = "globular cluster" AND apparent_magnitude = 8.5 AND ngc_number = 6273 |
Below is an context that describes a sql 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 (apps INTEGER, rank VARCHAR, goals VARCHAR)
### Question:
What are the apps for less than 61 goals and before rank 6?
### Answer:
SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 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_30 (opposing_team VARCHAR, status VARCHAR)
### Question:
What was the opposing team for the second test?
### Answer:
SELECT opposing_team FROM table_name_30 WHERE status = "second test" |
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR, game VARCHAR, points VARCHAR)
### Question:
Which Record has a Game smaller than 19, and Points smaller than 19, and a Score of 4–6?
### Answer:
SELECT record FROM table_name_24 WHERE game < 19 AND points < 19 AND score = "4–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_83 (gold INTEGER, nation VARCHAR, total VARCHAR)
### Question:
How many Gold medals did Great Britain with a Total of more than 2 medals receive?
### Answer:
SELECT MIN(gold) FROM table_name_83 WHERE nation = "great britain" AND total > 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_10 (country_of_origin VARCHAR, year_of_intro VARCHAR)
### Question:
What is Country of Origin, when Year of Intro is 1977?
### Answer:
SELECT country_of_origin FROM table_name_10 WHERE year_of_intro = 1977 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (all_time INTEGER, amateur_era INTEGER)
### Question:
What is the sum of All-Time, when Amateur Era is less than 0?
### Answer:
SELECT SUM(all_time) FROM table_name_39 WHERE amateur_era < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (losing_bp VARCHAR, played VARCHAR, lost VARCHAR)
### Question:
Can you tell me the Losing BP that has Played of 22, and the Lost of 5?
### Answer:
SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "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_50 (opponent VARCHAR, date VARCHAR)
### Question:
Who was the opponent on June 3?
### Answer:
SELECT opponent FROM table_name_50 WHERE date = "june 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_32 (date VARCHAR, loss VARCHAR)
### Question:
What was the date of the game that had a loss of Willis (0–1)?
### Answer:
SELECT date FROM table_name_32 WHERE loss = "willis (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_84 (hanzi VARCHAR, name VARCHAR)
### Question:
Which hanzi's name is nmtv mongolian satellite television?
### Answer:
SELECT hanzi FROM table_name_84 WHERE name = "nmtv mongolian satellite television" |
Below is an context that describes a sql 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 (frequency VARCHAR, number VARCHAR)
### Question:
What is the frequency of number 161?
### Answer:
SELECT frequency FROM table_name_59 WHERE number = 161 |
Below is an context that describes a sql 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 (total VARCHAR, player VARCHAR)
### Question:
What is Tony Jacklin's total?
### Answer:
SELECT total FROM table_name_33 WHERE player = "tony jacklin" |
Below is an context that describes a sql 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 (points__pts_ INTEGER, won__pg_ VARCHAR, goals_scored__gf_ VARCHAR)
### Question:
What is the points for a team with more than 9 wins and more than 40 goals?
### Answer:
SELECT SUM(points__pts_) FROM table_name_84 WHERE won__pg_ > 9 AND goals_scored__gf_ > 40 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR)
### Question:
Name the score for moscow, ussr 15 february 1971
### Answer:
SELECT score_in_the_final FROM table_name_57 WHERE location = "moscow, ussr" AND date = "15 february 1971" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19294812_2 (tie_no VARCHAR, team_1 VARCHAR)
### Question:
How many tie no have team 1 as borac banja luka?
### Answer:
SELECT tie_no FROM table_19294812_2 WHERE team_1 = "Borac Banja Luka" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12164707_1 (mixed_doubles VARCHAR, mens_singles VARCHAR)
### Question:
How many Mixed Doubles won when Oliver Pongratz won the Men's Singles?
### Answer:
SELECT COUNT(mixed_doubles) FROM table_12164707_1 WHERE mens_singles = "Oliver Pongratz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27441210_17 (number_one_single_s_ VARCHAR, artist VARCHAR)
### Question:
What number-one single is performed by artist Pep's?
### Answer:
SELECT number_one_single_s_ FROM table_27441210_17 WHERE artist = "Pep's" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)
### Question:
Which score has a record of 18-21-7?
### Answer:
SELECT score FROM table_name_36 WHERE record = "18-21-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 Rating (rID VARCHAR, stars VARCHAR)
### Question:
find the ids of reviewers who did not give 4 star.
### Answer:
SELECT rID FROM Rating EXCEPT SELECT rID FROM Rating WHERE stars = 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_16 (try_bonus VARCHAR, tries_for VARCHAR)
### Question:
What is the try bonus for the team with 67 tries for?
### Answer:
SELECT try_bonus FROM table_name_16 WHERE tries_for = "67" |
Below is an context that describes a sql 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 (place VARCHAR, to_par VARCHAR)
### Question:
What is the Place of the Player with a +3 To par?
### Answer:
SELECT place FROM table_name_19 WHERE to_par = "+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_16751596_2 (republican VARCHAR, dates_administered VARCHAR)
### Question:
Name the republican steve sauerberg for august 12, 2008
### Answer:
SELECT republican AS :_steve_sauerberg FROM table_16751596_2 WHERE dates_administered = "August 12, 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (netflix VARCHAR, series_ep VARCHAR)
### Question:
What is the Netflix number having a series episode of 1-01?
### Answer:
SELECT netflix FROM table_name_47 WHERE series_ep = "1-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_name_52 (floors INTEGER, street_address VARCHAR)
### Question:
How many floors does the building on 800 Boylston Street have?
### Answer:
SELECT MAX(floors) FROM table_name_52 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_64 (link VARCHAR, date_of_polling VARCHAR)
### Question:
What is the link for january 31 – february 3, 2011?
### Answer:
SELECT link FROM table_name_64 WHERE date_of_polling = "january 31 – february 3, 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_15869204_5 (high_assists VARCHAR, date VARCHAR)
### Question:
Name the high assists for december 14
### Answer:
SELECT high_assists FROM table_15869204_5 WHERE date = "December 14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Engineer_Visits (Id VARCHAR)
### Question:
Which engineer has visited the most times? Show the engineer id, first name and last name.
### Answer:
SELECT T1.engineer_id, T1.first_name, T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 GROUP BY T1.engineer_id 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_29012710_1 (number_of_dairy_cows INTEGER)
### Question:
what is the least amount of cattle head
### Answer:
SELECT MIN(number_of_dairy_cows) FROM table_29012710_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_50 (score VARCHAR, tie_no VARCHAR)
### Question:
What is the score for the game with an 11 tie number?
### Answer:
SELECT score FROM table_name_50 WHERE tie_no = "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_95 (rec INTEGER, opponent VARCHAR, average VARCHAR, s_touchdown VARCHAR)
### Question:
Which Rec has an Average smaller than 32, and a Touchdown smaller than 3, and an Opponent of oregon state?
### Answer:
SELECT SUM(rec) FROM table_name_95 WHERE average < 32 AND s_touchdown < 3 AND opponent = "oregon state" |
Below is an context that describes a sql 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 (matches INTEGER, round VARCHAR)
### Question:
What is the highest number of matches that has a round of Third Round?
### Answer:
SELECT MAX(matches) FROM table_name_22 WHERE round = "third round" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14496232_2 (mens_singles VARCHAR, womens_singles VARCHAR, mixed_doubles VARCHAR)
### Question:
Name the mens singles when womens singles is wang lin and mixed doubles is joachim fischer nielsen christinna pedersen
### Answer:
SELECT mens_singles FROM table_14496232_2 WHERE womens_singles = "Wang Lin" AND mixed_doubles = "Joachim Fischer Nielsen Christinna Pedersen" |
Below is an context that describes a sql 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 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, ngc_number VARCHAR, constellation VARCHAR)
### Question:
What is the right ascension (J2000) with a Declination (J2000) of °12′43″, is a constellation of dorado, and has an NGC number larger than 2068?
### Answer:
SELECT right_ascension___j2000__ FROM table_name_55 WHERE ngc_number > 2068 AND constellation = "dorado" AND declination___j2000__ = "°12′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 movie (movie_id VARCHAR, year VARCHAR); CREATE TABLE culture_company (company_name VARCHAR, movie_id VARCHAR)
### Question:
Show all company names with a movie directed in year 1999.
### Answer:
SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id WHERE T1.year = 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_7 (points_for VARCHAR, try_diff VARCHAR)
### Question:
What is points when try diff is +23?
### Answer:
SELECT points_for FROM table_name_7 WHERE try_diff = "+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_27713583_2 (date VARCHAR, high_assists VARCHAR)
### Question:
what is the date of the game that the high assists is raymond felton (4)?
### Answer:
SELECT date FROM table_27713583_2 WHERE high_assists = "Raymond Felton (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_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR)
### Question:
What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city?
### Answer:
SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "cardiff city" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR)
### Question:
Phil Mickelson has what To par?
### Answer:
SELECT to_par FROM table_name_47 WHERE player = "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_91 (license VARCHAR, name VARCHAR)
### Question:
What is the license for Jriver Media Center?
### Answer:
SELECT license FROM table_name_91 WHERE name = "jriver media center" |
Below is an context that describes a sql 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 (score VARCHAR, leading_scorer VARCHAR)
### Question:
What score has tim duncan (27) as the leading scorer?
### Answer:
SELECT score FROM table_name_96 WHERE leading_scorer = "tim duncan (27)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16729930_17 (memory VARCHAR, model_number VARCHAR)
### Question:
Name the memory for meodel number for atom e640t
### Answer:
SELECT memory FROM table_16729930_17 WHERE model_number = "Atom E640T" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24329520_4 (fate_in_1832 VARCHAR, county VARCHAR)
### Question:
Name the fate in 1832 for pembrokeshire
### Answer:
SELECT fate_in_1832 FROM table_24329520_4 WHERE county = "Pembrokeshire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1139087_2 (constructor VARCHAR, grand_prix VARCHAR)
### Question:
What is the make of the car that won the brazilian grand prix?
### Answer:
SELECT constructor FROM table_1139087_2 WHERE grand_prix = "Brazilian grand_prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR)
### Question:
When was millwall the home team?
### Answer:
SELECT date FROM table_name_11 WHERE home_team = "millwall" |
Below is an context that describes a sql 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 (wrestler VARCHAR, elimination VARCHAR)
### Question:
Who's the wrestler with an elimination of 1?
### Answer:
SELECT wrestler FROM table_name_6 WHERE elimination = "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_98 (_percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR)
### Question:
What is the % (1960) of the county with a % (2040) of 3.4?
### Answer:
SELECT COUNT(_percentage__1960_) FROM table_name_98 WHERE _percentage__2040_ = 3.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_10 (contestant VARCHAR, start_bmi VARCHAR)
### Question:
What contestant had a starting BMI of 42.2?
### Answer:
SELECT contestant FROM table_name_10 WHERE start_bmi = 42.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_91 (label VARCHAR, catalog VARCHAR, date VARCHAR)
### Question:
Which label has a catalog of y8hr 1006 in 1972?
### Answer:
SELECT label FROM table_name_91 WHERE catalog = "y8hr 1006" AND date = "1972" |
Below is an context that describes a sql 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 (release_date VARCHAR, director VARCHAR, title VARCHAR)
### Question:
When was Tree Cornered Tweety, directed by Friz Freleng, released?
### Answer:
SELECT release_date FROM table_name_35 WHERE director = "friz freleng" AND title = "tree cornered tweety" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25711913_8 (starter VARCHAR, player VARCHAR)
### Question:
Was Magoffin a starting player?
### Answer:
SELECT starter FROM table_25711913_8 WHERE player = "Magoffin" |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
On August 10, what was the record against the Expos?
### Answer:
SELECT record FROM table_name_21 WHERE opponent = "expos" AND date = "august 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_93 (points_against VARCHAR, tries_against VARCHAR, lost VARCHAR)
### Question:
What point against has tries against of 77, and a lost of 16?
### Answer:
SELECT points_against FROM table_name_93 WHERE tries_against = "77" AND lost = "16" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (tier VARCHAR, runner_up VARCHAR)
### Question:
What is the Tier when the runner-up is chanda rubin caroline vis?
### Answer:
SELECT tier FROM table_name_95 WHERE runner_up = "chanda rubin caroline vis" |
Below is an context that describes a sql 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 (plan_name VARCHAR, monthly_price_incl_vat__czk VARCHAR)
### Question:
What plan has monthly prices of 300, 500, 750, 1000?
### Answer:
SELECT plan_name FROM table_name_14 WHERE monthly_price_incl_vat__czk = "300, 500, 750, 1000" |
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game when the record was 58–47?
### Answer:
SELECT score FROM table_name_12 WHERE record = "58–47" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR, opponents VARCHAR)
### Question:
What is Date, when Score is "0-2", and when Opponents is "Bayer Leverkusen"?
### Answer:
SELECT date FROM table_name_4 WHERE score = "0-2" AND opponents = "bayer leverkusen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (events INTEGER, top_5 VARCHAR, wins VARCHAR, top_25 VARCHAR)
### Question:
What was the sum of Events, when Wins were less than 1, when Top-25 was 3, and when Top-5 was less than 1?
### Answer:
SELECT SUM(events) FROM table_name_57 WHERE wins < 1 AND top_25 = 3 AND top_5 < 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_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR)
### Question:
what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb
### Answer:
SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25287007_2 (november_3 VARCHAR, august_21_22 VARCHAR)
### Question:
During November 3 where august 21-22 is august 21, 2017?
### Answer:
SELECT november_3 FROM table_25287007_2 WHERE august_21_22 = "August 21, 2017" |
Below is an context that describes a sql 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 (gold INTEGER, total INTEGER)
### Question:
How many total golds do teams have when the total medals is less than 1?
### Answer:
SELECT SUM(gold) FROM table_name_79 WHERE 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_17941032_1 (points_against VARCHAR, tries_for VARCHAR)
### Question:
When 17 is the tries for what is the points against?
### Answer:
SELECT points_against FROM table_17941032_1 WHERE tries_for = "17" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.