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_43 (points INTEGER, chassis VARCHAR)
### Question:
What were the least points with a Coloni FC88 chassis?
### Answer:
SELECT MIN(points) FROM table_name_43 WHERE chassis = "coloni fc88"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE airports (city VARCHAR)
### Question:
How many cities are there that have more than 3 airports?
### Answer:
SELECT COUNT(*) FROM (SELECT city FROM airports GROUP BY city HAVING COUNT(*) > 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_14 (nationality VARCHAR, team VARCHAR, player VARCHAR)
### Question:
What's the nationality of Montreal Impact with Justin Mapp Category:articles with hcards as the player?
### Answer:
SELECT nationality FROM table_name_14 WHERE team = "montreal impact" AND player = "justin mapp 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_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR)
### Question:
what are all the open 1st viii with u15 6th iv being bgs
### Answer:
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE area_code_state (Id VARCHAR)
### Question:
How many states are there?
### Answer:
SELECT COUNT(*) FROM area_code_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_63 (season VARCHAR, second VARCHAR, lead VARCHAR, third VARCHAR)
### Question:
What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of carter rycroft?
### Answer:
SELECT season FROM table_name_63 WHERE lead = "don bartlett" AND third = "don walchuk" AND second = "carter rycroft"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24706337_1 (ottoman_sultan VARCHAR, treaty_at_the_end_of_the_war VARCHAR)
### Question:
Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)?
### Answer:
SELECT ottoman_sultan FROM table_24706337_1 WHERE treaty_at_the_end_of_the_war = "Treaty of Constantinople (1590)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE BOOKINGS (Id VARCHAR)
### Question:
How many bookings do we have?
### Answer:
SELECT COUNT(*) FROM BOOKINGS
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1717824_3 (pakistanis_admitted INTEGER, nepalis_admitted VARCHAR)
### Question:
What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627?
### Answer:
SELECT MAX(pakistanis_admitted) FROM table_1717824_3 WHERE nepalis_admitted = 627
|
Below is an context that describes a sql 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 (make VARCHAR, winnings VARCHAR, car__number VARCHAR, points VARCHAR)
### Question:
Which driver has a # smaller than 40, less than 151 points, and Winnings of $84,400?
### Answer:
SELECT make FROM table_name_17 WHERE car__number < 40 AND points < 151 AND winnings = "$84,400"
|
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 1993 value with a 1r in 1991 and sf in 1990?
### Answer:
SELECT 1993 FROM table_name_75 WHERE 1991 = "1r" AND 1990 = "sf"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342331_6 (candidates VARCHAR, first_elected VARCHAR, district VARCHAR)
### Question:
Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932?
### Answer:
SELECT candidates FROM table_1342331_6 WHERE first_elected = 1932 AND district = "California 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_5 (tournament VARCHAR)
### Question:
WHAT IS THE 2007 AT MADRID MASTERS?
### Answer:
SELECT 2007 FROM table_name_5 WHERE tournament = "madrid masters"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21796261_4 (final_score VARCHAR, date VARCHAR)
### Question:
What was the final score of the game played on July 10?
### Answer:
SELECT final_score FROM table_21796261_4 WHERE date = "July 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_96 (date VARCHAR, opponent VARCHAR)
### Question:
Which date featured the Boston Patriots as the opponent?
### Answer:
SELECT date FROM table_name_96 WHERE opponent = "boston patriots"
|
Below is an context that describes a sql 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 (official_name VARCHAR, census_ranking VARCHAR)
### Question:
What is the name of the place that has a census ranking of 1,229 of 5,008?
### Answer:
SELECT official_name FROM table_name_63 WHERE census_ranking = "1,229 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_14986292_1 (population__2010_census_ VARCHAR, population_2000_census VARCHAR)
### Question:
Name the population 2010 census for population 2000 census of 920599
### Answer:
SELECT population__2010_census_ FROM table_14986292_1 WHERE population_2000_census = 920599
|
Below is an context that describes a sql 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 (capital VARCHAR, hangul VARCHAR)
### Question:
What is the capital of the province with 양주 in Hangul?
### Answer:
SELECT capital FROM table_name_21 WHERE hangul = "양주"
|
Below is an context that describes a sql 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 (staying_councillors INTEGER, new_council VARCHAR, election_result VARCHAR, party VARCHAR)
### Question:
How many staying councillors were there when the election result was larger than 0, the new council less than 27 and the party conservatives?
### Answer:
SELECT AVG(staying_councillors) FROM table_name_42 WHERE election_result > 0 AND party = "conservatives" AND new_council < 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_name_52 (fa_trophy INTEGER, player VARCHAR, league VARCHAR)
### Question:
How many FA Trophy has a Player of mario walsh and a League larger than 17?
### Answer:
SELECT AVG(fa_trophy) FROM table_name_52 WHERE player = "mario walsh" AND league > 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_62 (location VARCHAR, game VARCHAR)
### Question:
Where was game 78 held?
### Answer:
SELECT location FROM table_name_62 WHERE game = 78
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26996293_7 (pick__number VARCHAR, player VARCHAR)
### Question:
How many times was player brian currie picked?
### Answer:
SELECT COUNT(pick__number) FROM table_26996293_7 WHERE player = "Brian Currie"
|
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What is the home team with scarborough as the away team?
### Answer:
SELECT home_team FROM table_name_50 WHERE away_team = "scarborough"
|
Below is an context that describes a sql 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 (tonnage INTEGER, nationality VARCHAR)
### Question:
What is the highest tonnage of the ship from norway?
### Answer:
SELECT MAX(tonnage) FROM table_name_71 WHERE nationality = "norway"
|
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
What is the venue when Geelong is the away team?
### Answer:
SELECT venue FROM table_name_27 WHERE away_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_80 (year VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR)
### Question:
What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category?
### Answer:
SELECT year FROM table_name_80 WHERE film = "bullets over broadway" AND category = "best supporting actress" AND actor = "jennifer tilly"
|
Below is an context that describes a sql 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 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
### Question:
What was the amount of laps for the vehicle manufactured by honda with a grid of 9?
### Answer:
SELECT laps FROM table_name_34 WHERE manufacturer = "honda" AND grid = "9"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (university_of_minnesota VARCHAR, rood_ VARCHAR, _taylor VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR)
### Question:
Rood & Taylor of o, and a Buechel & Manhart spelling (pronunciation) of o had what university of Minnesota?
### Answer:
SELECT university_of_minnesota FROM table_name_63 WHERE rood_ & _taylor = "o" AND buechel_ & _manhart_spelling__pronunciation_ = "o"
|
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR)
### Question:
What was the loss of the game when the record was 20-16?
### Answer:
SELECT loss FROM table_name_77 WHERE record = "20-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_17417383_6 (round_of_16 VARCHAR, quarterfinals VARCHAR, event VARCHAR)
### Question:
Name the round 16 for did not advance and light flyweight
### Answer:
SELECT round_of_16 FROM table_17417383_6 WHERE quarterfinals = "Did not advance" AND event = "Light flyweight"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27069503_2 (overall VARCHAR, conf_record VARCHAR)
### Question:
What was the overall record for the Pandas when their conference record was 4-1-1?
### Answer:
SELECT overall FROM table_27069503_2 WHERE conf_record = "4-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_name_96 (round INTEGER, time VARCHAR)
### Question:
What is the smallest round with a time of 1:12?
### Answer:
SELECT MIN(round) FROM table_name_96 WHERE time = "1: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_16795394_3 (points VARCHAR, team__number2 VARCHAR)
### Question:
If team two is Lanús, what was the total number of points?
### Answer:
SELECT COUNT(points) FROM table_16795394_3 WHERE team__number2 = "Lanú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_92 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR)
### Question:
What is the lowest score in the Highest score column when Master P was the Worst dancer(s), Drew Lachey was the Best dancer(s), and the Lowest score was under 8?
### Answer:
SELECT MIN(highest_score) FROM table_name_92 WHERE worst_dancer_s_ = "master p" AND best_dancer_s_ = "drew lachey" AND lowest_score < 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 Engineer_Visits (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR)
### Question:
Which engineers have never visited to maintain the assets? List the engineer first name and last name.
### Answer:
SELECT first_name, last_name FROM Maintenance_Engineers WHERE NOT engineer_id IN (SELECT engineer_id FROM Engineer_Visits)
|
Below is an context that describes a sql 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 (name VARCHAR, launch VARCHAR, hanzi VARCHAR)
### Question:
Which company launched in 1996 and has a Hanzi of 凤凰卫视中文台?
### Answer:
SELECT name FROM table_name_36 WHERE launch = "1996" AND hanzi = "凤凰卫视中文台"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24477075_1 (position VARCHAR, minutes VARCHAR)
### Question:
Name the position for 132 minutes
### Answer:
SELECT position FROM table_24477075_1 WHERE minutes = 132
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25318033_1 (races INTEGER)
### Question:
What is the lowest amount of races?
### Answer:
SELECT MIN(races) FROM table_25318033_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 (graphics VARCHAR, vram VARCHAR)
### Question:
Which graphics spec has a VRAM spec of 512MB?
### Answer:
SELECT graphics FROM table_name_43 WHERE vram = "512mb"
|
Below is an context that describes a sql 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 (week VARCHAR, date VARCHAR, attendance VARCHAR)
### Question:
What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220?
### Answer:
SELECT COUNT(week) FROM table_name_81 WHERE date = "november 5, 1973" AND attendance > 49 OFFSET 220
|
Below is an context that describes a sql 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 (date VARCHAR, name VARCHAR)
### Question:
What was the date for the French Grand Prix?
### Answer:
SELECT date FROM table_name_19 WHERE name = "french 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_37 (opponent VARCHAR, week VARCHAR)
### Question:
Who was the Opponent in Week 7?
### Answer:
SELECT opponent FROM table_name_37 WHERE week = 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_23286158_8 (record VARCHAR, location_attendance VARCHAR)
### Question:
Name the record for rose garden 20,565 attendance
### Answer:
SELECT record FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565"
|
Below is an context that describes a sql 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 (loans_received VARCHAR, _3q VARCHAR, total_debt VARCHAR)
### Question:
What was the amount of loans received with a total debt of $169,256?
### Answer:
SELECT loans_received, _3q FROM table_name_24 WHERE total_debt = "$169,256"
|
Below is an context that describes a sql 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 (save VARCHAR, attendance VARCHAR)
### Question:
What is the save of the game that 23,394 people attended?
### Answer:
SELECT save FROM table_name_49 WHERE attendance = "23,394"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20726262_4 (no_in_season INTEGER, usviewers__million_ VARCHAR)
### Question:
what is the maximum number in the season wher the us viewers is 2.59?
### Answer:
SELECT MAX(no_in_season) FROM table_20726262_4 WHERE usviewers__million_ = "2.59"
|
Below is an context that describes a sql 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 (height__ft_ INTEGER, floors VARCHAR, city VARCHAR, height__m_ VARCHAR)
### Question:
What is the smallest height (ft) of a building in Frankfurt with a height (m) of 257 and less than 55 floors?
### Answer:
SELECT MIN(height__ft_) FROM table_name_24 WHERE city = "frankfurt" AND height__m_ = 257 AND floors < 55
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342379_2 (first_elected INTEGER, incumbent VARCHAR)
### Question:
When was incumbent William B. Oliver first elected?
### Answer:
SELECT MAX(first_elected) FROM table_1342379_2 WHERE incumbent = "William B. Oliver"
|
Below is an context that describes a sql 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 (rider VARCHAR, rank VARCHAR, time VARCHAR)
### Question:
Rank smaller than 5, and a Time of 31’ 03.093 is what rider?
### Answer:
SELECT rider FROM table_name_8 WHERE rank < 5 AND time = "31’ 03.093"
|
Below is an context that describes a sql 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 (laps VARCHAR, grid VARCHAR)
### Question:
When the grid number is 10, what is the total number of laps?
### Answer:
SELECT COUNT(laps) FROM table_name_39 WHERE grid = 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_90 (competition VARCHAR, date VARCHAR)
### Question:
Which competition was played on 8 June 2005?
### Answer:
SELECT competition FROM table_name_90 WHERE date = "8 june 2005"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1231892_4 (number_in_series INTEGER, broadcast_order VARCHAR)
### Question:
What's the series number of the episode with a broadcast order s04 e07?
### Answer:
SELECT MAX(number_in_series) FROM table_1231892_4 WHERE broadcast_order = "S04 E07"
|
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What did the away team score at corio oval?
### Answer:
SELECT away_team AS score FROM table_name_58 WHERE venue = "corio oval"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (opponent VARCHAR, location_attendance VARCHAR)
### Question:
Who was the opponent at the game at Madison Square Garden?
### Answer:
SELECT opponent FROM table_name_19 WHERE location_attendance = "madison square garden"
|
Below is an context that describes a sql 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 (constructor VARCHAR, laps VARCHAR)
### Question:
What Constructor has 56 Laps?
### Answer:
SELECT constructor FROM table_name_13 WHERE laps = 56
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1590967_2 (episode_number INTEGER, air_date VARCHAR)
### Question:
Name the most episode numbers of 6 january 2006
### Answer:
SELECT MAX(episode_number) FROM table_1590967_2 WHERE air_date = "6 January 2006"
|
Below is an context that describes a sql 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 (voltage VARCHAR, model_number VARCHAR)
### Question:
What's the voltage for the pentium dual-core e2140?
### Answer:
SELECT voltage FROM table_name_49 WHERE model_number = "pentium dual-core e2140"
|
Below is an context that describes a sql 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 (result VARCHAR, distance VARCHAR, weight__kg_ VARCHAR)
### Question:
Name The Result that has a Distance of 1200m, and a Weight (kg) of 55.5?
### Answer:
SELECT result FROM table_name_5 WHERE distance = "1200m" AND weight__kg_ = 55.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_89 (laps INTEGER, time_retired VARCHAR)
### Question:
What is the average number of laps that were made when the race took a time of +48.325?
### Answer:
SELECT AVG(laps) FROM table_name_89 WHERE time_retired = "+48.325"
|
Below is an context that describes a sql 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 (works_number VARCHAR, date VARCHAR, number VARCHAR)
### Question:
What is the Works Number that has a Number of 153 in 1916?
### Answer:
SELECT works_number FROM table_name_39 WHERE date = "1916" AND number = "153"
|
Below is an context that describes a sql 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 (opponent VARCHAR, score VARCHAR)
### Question:
Who played against the Celtics when the final game score was 85-102?
### Answer:
SELECT opponent FROM table_name_18 WHERE score = "85-102"
|
Below is an context that describes a sql 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 (system VARCHAR, name VARCHAR)
### Question:
Which System's Name is Gemulator?
### Answer:
SELECT system FROM table_name_45 WHERE name = "gemulator"
|
Below is an context that describes a sql 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 (super_g VARCHAR, overall VARCHAR)
### Question:
What is the Super G value for the season that has an Overall score of 16?
### Answer:
SELECT super_g FROM table_name_8 WHERE overall = "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_41 (competition VARCHAR, date VARCHAR)
### Question:
Which competition was held on 14 November 2012?
### Answer:
SELECT competition FROM table_name_41 WHERE date = "14 november 2012"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (profession VARCHAR, city VARCHAR)
### Question:
What is the profession of the housemate from Leskovac city?
### Answer:
SELECT profession FROM table_name_90 WHERE city = "leskovac"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (goals_against VARCHAR, goals_for VARCHAR, ties VARCHAR)
### Question:
How many goals against were scored when the goals for is less than 48 with 0 ties?
### Answer:
SELECT COUNT(goals_against) FROM table_name_65 WHERE goals_for < 48 AND ties < 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 FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)
### Question:
What is the code of airport that has the highest number of flights?
### Answer:
SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode 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_49 (country VARCHAR, nominating_festival VARCHAR)
### Question:
What country was the prix uip ghent nominating festival?
### Answer:
SELECT country FROM table_name_49 WHERE nominating_festival = "prix uip ghent"
|
Below is an context that describes a sql 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, home VARCHAR, date VARCHAR)
### Question:
What is the Score on November 23, 1946 with Washington Capitols Home team?
### Answer:
SELECT score FROM table_name_91 WHERE home = "washington capitols" AND date = "november 23, 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_85 (total VARCHAR, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
### Question:
Portugal has how many total number of medals when there is 1 gold medal, and bronze medals are greater than 0?
### Answer:
SELECT COUNT(total) FROM table_name_85 WHERE gold = 1 AND nation = "portugal" 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_14242137_4 (oberliga_südwest VARCHAR, oberliga_bayern VARCHAR, season VARCHAR)
### Question:
Name the oberliga sudwest for spvgg unterhaching for 1988-89
### Answer:
SELECT oberliga_südwest FROM table_14242137_4 WHERE oberliga_bayern = "SpVgg Unterhaching" AND season = "1988-89"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10160447_1 (position VARCHAR, driver VARCHAR)
### Question:
what's the total number of position with driver robby gordon
### Answer:
SELECT COUNT(position) FROM table_10160447_1 WHERE driver = "Robby Gordon"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12715053_1 (trademark VARCHAR, molecular_target VARCHAR, clinical_status VARCHAR)
### Question:
How many trademarks list a molecular target of minor groove of dna and a clinical status value of phase i?
### Answer:
SELECT COUNT(trademark) FROM table_12715053_1 WHERE molecular_target = "Minor Groove of DNA" AND clinical_status = "Phase 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_4 (meet VARCHAR, event VARCHAR)
### Question:
What event had the 1500m freestyle?
### Answer:
SELECT meet FROM table_name_4 WHERE event = "1500m freestyle"
|
Below is an context that describes a sql 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, rounds VARCHAR, driver VARCHAR, tyres VARCHAR, chassis VARCHAR)
### Question:
What engine was used during the race driven by Jan Lammers using a chassis of d3 d4, making a tyre of g and rounds of 4-6?
### Answer:
SELECT engine FROM table_name_1 WHERE tyres = "g" AND chassis = "d3 d4" AND driver = "jan lammers" AND rounds = "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_69 (rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR)
### Question:
Name the rectifier for Det/Pre-amp of x and # tubes of 4
### Answer:
SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "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_54 (goals VARCHAR, player VARCHAR)
### Question:
How many goals were scored by Eugene Galeković?
### Answer:
SELECT goals FROM table_name_54 WHERE player = "eugene galeković"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22078972_2 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
### Question:
What's the series number of the episode seen by 17.04 million people in the US?
### Answer:
SELECT MAX(no_in_series) FROM table_22078972_2 WHERE us_viewers__millions_ = "17.04"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1615980_4 (tournament VARCHAR, winning_score VARCHAR)
### Question:
In what tournament was the winning score 68-67-65-66=266?
### Answer:
SELECT tournament FROM table_1615980_4 WHERE winning_score = 68 - 67 - 65 - 66 = 266
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16387653_1 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who was the away team playing at Carlton?
### Answer:
SELECT away_team FROM table_16387653_1 WHERE home_team = "Carlton"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What is the attendance at the game where San Jose was the visitor on May 4?
### Answer:
SELECT attendance FROM table_name_32 WHERE visitor = "san jose" AND date = "may 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_90 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)
### Question:
Who took the loss against the California Angels when the attendance was 10,886?
### Answer:
SELECT loss FROM table_name_90 WHERE opponent = "california angels" AND attendance = "10,886"
|
Below is an context that describes a sql 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 (title VARCHAR, arranger VARCHAR, length VARCHAR)
### Question:
What is the title track that is 3:50 and arranged by Tarek Akef?
### Answer:
SELECT title FROM table_name_59 WHERE arranger = "tarek akef" AND length = "3: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_52 (goals INTEGER, w_league VARCHAR)
### Question:
What is the lowest number of goals with 8 (2) w-leagues?
### Answer:
SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (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_10797636_1 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)
### Question:
What was the percent of slovenes 1951 for bach?
### Answer:
SELECT percent_of_slovenes_1951 FROM table_10797636_1 WHERE village__german_ = "Bach"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2126093_3 (winning_score VARCHAR, tournament VARCHAR)
### Question:
What was the winning score of the Vernal Ladies tournament?
### Answer:
SELECT winning_score FROM table_2126093_3 WHERE tournament = "Vernal Ladies"
|
Below is an context that describes a sql 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 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
### Question:
Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec?
### Answer:
SELECT class FROM table_name_21 WHERE frequency_mhz > 91.7 AND call_sign = "k272ec"
|
Below is an context that describes a sql 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 (driver VARCHAR, constructor VARCHAR, location VARCHAR)
### Question:
What is the name of the driver of the vehicle constructed by Bugatti in Anfa?
### Answer:
SELECT driver FROM table_name_2 WHERE constructor = "bugatti" AND location = "anfa"
|
Below is an context that describes a sql 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 (time VARCHAR, opponent VARCHAR, record VARCHAR)
### Question:
At what time was the game when they played the White Sox and had a record of 63-70?
### Answer:
SELECT time FROM table_name_81 WHERE opponent = "white sox" AND record = "63-70"
|
Below is an context that describes a sql 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 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR)
### Question:
what is the pick for alfred morris when the overall is less than 217, and the round is smaller than 6?
### Answer:
SELECT MAX(pick) FROM table_name_49 WHERE overall < 217 AND name = "alfred morris" AND round < 6
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24689168_5 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR)
### Question:
What was the 18 to 49 rating when 9.50 million watched?
### Answer:
SELECT rating__18_49_ FROM table_24689168_5 WHERE viewers__millions_ = "9.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_26173058_2 (amman VARCHAR, qadisiya VARCHAR)
### Question:
what is the place where the location is 2-1
### Answer:
SELECT amman FROM table_26173058_2 WHERE qadisiya = "2-1"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27374004_2 (club VARCHAR, chairman VARCHAR)
### Question:
What is the club when the chairman is roger lambrecht?
### Answer:
SELECT club FROM table_27374004_2 WHERE chairman = "Roger Lambrecht"
|
Below is an context that describes a sql 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 (longitude VARCHAR, latitude VARCHAR)
### Question:
What is the Longitude of the 61.0s Latitude?
### Answer:
SELECT longitude FROM table_name_27 WHERE latitude = "61.0s"
|
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
What is the date when Aston Villa is the away team?
### Answer:
SELECT date FROM table_name_98 WHERE away_team = "aston villa"
|
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR)
### Question:
What is the Country of the Player with a Score of 73-71-76-70=290?
### Answer:
SELECT country FROM table_name_58 WHERE score = 73 - 71 - 76 - 70 = 290
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24074130_5 (win_lose VARCHAR, against VARCHAR)
### Question:
What is every entry in the win/lose against Sweden?
### Answer:
SELECT win_lose FROM table_24074130_5 WHERE against = "Sweden"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1914090_2 (year INTEGER, europe VARCHAR)
### Question:
What is the latest year that Europe had 471895?
### Answer:
SELECT MAX(year) FROM table_1914090_2 WHERE europe = 471895
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19998428_3 (san_julián_municipality___percentage_ VARCHAR, san_antonio_de_lomerío_municipality___percentage_ VARCHAR)
### Question:
If the San Antonio de Lomerio municipality percentage is 5.480, what is the total percentage for the San Julian municipality?
### Answer:
SELECT COUNT(san_julián_municipality___percentage_) FROM table_19998428_3 WHERE san_antonio_de_lomerío_municipality___percentage_ = "5.480"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16278673_1 (municipality VARCHAR, population VARCHAR)
### Question:
Name the municpality for 57 populaton
### Answer:
SELECT municipality FROM table_16278673_1 WHERE population = "57"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.