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_61 (losses VARCHAR, school VARCHAR, conference VARCHAR, games VARCHAR, wins VARCHAR)
### Question:
What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School?
### Answer:
SELECT COUNT(losses) FROM table_name_61 WHERE games < 14 AND wins < 3 AND conference = "maac" AND school = "fairfield" |
Below is an context that describes a sql 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 (year INTEGER, manager VARCHAR, finish VARCHAR)
### Question:
Name the least year for gene hassell manager and 6th finish
### Answer:
SELECT MIN(year) FROM table_name_98 WHERE manager = "gene hassell" AND finish = "6th" |
Below is an context that describes a sql 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 (year INTEGER, date VARCHAR)
### Question:
Which Year has a Date of 14 February?
### Answer:
SELECT MIN(year) FROM table_name_11 WHERE date = "14 february" |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR)
### Question:
Which Score has an Opponent of @ buffalo sabres?
### Answer:
SELECT score FROM table_name_13 WHERE opponent = "@ buffalo sabres" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12807904_3 (points_for VARCHAR, lost VARCHAR)
### Question:
HOW MANY GAMES WERE LOST BY 12 POINTS?
### Answer:
SELECT COUNT(points_for) FROM table_12807904_3 WHERE lost = "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_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR)
### Question:
When +18.1 is the ± yes side 2008 percentage what is the percentage of against?
### Answer:
SELECT against___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+18.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_82 (runs VARCHAR, inns INTEGER)
### Question:
What is the total number of runs for the player with fewer than 9 Inns?
### Answer:
SELECT COUNT(runs) FROM table_name_82 WHERE inns < 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_75 (attendance INTEGER, result VARCHAR, week VARCHAR)
### Question:
Which Attendance has a Result of w 23-21, and a Week smaller than 5?
### Answer:
SELECT AVG(attendance) FROM table_name_75 WHERE result = "w 23-21" AND week < 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_2 (mountain_peak VARCHAR, rank VARCHAR)
### Question:
Name the Mountain Peak which has a Rank of 62?
### Answer:
SELECT mountain_peak FROM table_name_2 WHERE rank = 62 |
Below is an context that describes a sql 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 (bachelorette VARCHAR, winner VARCHAR)
### Question:
Who was the bachelorette of the season where ian mckee was the winner?
### Answer:
SELECT bachelorette FROM table_name_20 WHERE winner = "ian mckee" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (round VARCHAR, college VARCHAR, overall VARCHAR)
### Question:
In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech?
### Answer:
SELECT COUNT(round) FROM table_name_66 WHERE college = "virginia tech" AND overall > 306 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, personal_name VARCHAR)
### Question:
List the dates of enrollment and completion of the student with personal name "Karson".
### Answer:
SELECT T1.date_of_enrolment, T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.personal_name = "Karson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE documents (document_type_code VARCHAR)
### Question:
What document types have more than 2 corresponding documents?
### Answer:
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 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_61 (plautdietsch VARCHAR, dutch VARCHAR)
### Question:
Which Plautdietsch has Dutch of maken?
### Answer:
SELECT plautdietsch FROM table_name_61 WHERE dutch = "maken" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23662272_4 (couple VARCHAR, total_points_earned VARCHAR)
### Question:
What is the name of the couple if the total points earned is 161?
### Answer:
SELECT couple FROM table_23662272_4 WHERE total_points_earned = 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_50 (h_a_n VARCHAR, date VARCHAR)
### Question:
What is H/A/N, when Date is October 31?
### Answer:
SELECT h_a_n FROM table_name_50 WHERE date = "october 31" |
Below is an context that describes a sql 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 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
### Question:
What is the average bronze medal when gold is greater than 0, and there is less than 0 silver medals?
### Answer:
SELECT AVG(bronze) FROM table_name_86 WHERE gold > 0 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_33 (catalogue VARCHAR, song_title VARCHAR)
### Question:
Name the catalogue with song title of love me tonight
### Answer:
SELECT catalogue FROM table_name_33 WHERE song_title = "love me tonight" |
Below is an context that describes a sql 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 (nationality VARCHAR, pick VARCHAR)
### Question:
What Nationality is the Pick that is 116?
### Answer:
SELECT nationality FROM table_name_92 WHERE pick = 116 |
Below is an context that describes a sql 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 (entrant VARCHAR, points VARCHAR, year VARCHAR)
### Question:
Who has 0 points in 1974?
### Answer:
SELECT entrant FROM table_name_3 WHERE points = 0 AND year = 1974 |
Below is an context that describes a sql 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 (game INTEGER, record VARCHAR)
### Question:
What is the lowest game number that has a Record of 3–33?
### Answer:
SELECT MIN(game) FROM table_name_93 WHERE record = "3–33" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
### Question:
what is the score when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012?
### Answer:
SELECT score FROM table_name_32 WHERE venue = "stade général seyni kountché, niamey" AND competition = "friendly" AND date = "9 october 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_97 (cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR)
### Question:
When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable?
### Answer:
SELECT cancelable FROM table_name_97 WHERE bubbles = "no" AND category = "miscellaneous" AND type = "propertychange" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_35 (population__2011_ VARCHAR, settlement VARCHAR)
### Question:
Name the total number of population 2011 for perlez
### Answer:
SELECT COUNT(population__2011_) FROM table_2562572_35 WHERE settlement = "Perlez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE user_profiles (followers INTEGER)
### Question:
Find the maximum and total number of followers of all users.
### Answer:
SELECT MAX(followers), SUM(followers) FROM user_profiles |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26842217_8 (attendance VARCHAR, site VARCHAR)
### Question:
How many times was the site wallace wade stadium • durham, nc?
### Answer:
SELECT COUNT(attendance) FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC" |
Below is an context that describes a sql 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, speed VARCHAR)
### Question:
What's the name of the team that went 113.316mph?
### Answer:
SELECT team FROM table_name_18 WHERE speed = "113.316mph" |
Below is an context that describes a sql 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 (date VARCHAR, round VARCHAR)
### Question:
what is the date when the round is sf?
### Answer:
SELECT date FROM table_name_52 WHERE round = "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_name_35 (week VARCHAR, attendance VARCHAR)
### Question:
Which Week has an Attendance of 63,447?
### Answer:
SELECT week FROM table_name_35 WHERE attendance = "63,447" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (cars_per_set INTEGER, year_built VARCHAR, number VARCHAR)
### Question:
What is the smallest number for Cars per Set built in 1977-1979 larger than 32?
### Answer:
SELECT MIN(cars_per_set) FROM table_name_88 WHERE year_built = "1977-1979" AND number > 32 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17004367_3 (weekly_rank VARCHAR, total VARCHAR)
### Question:
what is the number of weekly rank where the total is 1980000?
### Answer:
SELECT COUNT(weekly_rank) FROM table_17004367_3 WHERE total = 1980000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2175685_1 (team VARCHAR, race_time VARCHAR)
### Question:
What team won when the race time was 3:12:30?
### Answer:
SELECT team FROM table_2175685_1 WHERE race_time = "3:12:30" |
Below is an context that describes a sql 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 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
Who retired at lap 77 and was grid 11?
### Answer:
SELECT time_retired FROM table_name_22 WHERE laps = "77" AND grid = "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_54 (february INTEGER, record VARCHAR, game VARCHAR)
### Question:
What is the lowest February, when Record is "21-30-11", and when Game is greater than 62?
### Answer:
SELECT MIN(february) FROM table_name_54 WHERE record = "21-30-11" AND game > 62 |
Below is an context that describes a sql 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 (locomotive VARCHAR, gauge VARCHAR, serial_no VARCHAR)
### Question:
What is the locomotive with a standard gauge and a serial number of 83-1015?
### Answer:
SELECT locomotive FROM table_name_74 WHERE gauge = "standard" AND serial_no = "83-1015" |
Below is an context that describes a sql 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 (surface VARCHAR, opponent VARCHAR)
### Question:
What was the surface for the opponent Marcos Baghdatis?
### Answer:
SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, modern_english_day_name VARCHAR)
### Question:
how many different meanings does Wednesday have?
### Answer:
SELECT COUNT(english_day_name_meaning) FROM table_2624098_1 WHERE modern_english_day_name = "Wednesday" |
Below is an context that describes a sql 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 (stadium VARCHAR, host_team VARCHAR)
### Question:
What is the Stadium that hosts the team Jacksonville Jaguars?
### Answer:
SELECT stadium FROM table_name_1 WHERE host_team = "jacksonville jaguars" |
Below is an context that describes a sql 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 (tier INTEGER, postseason VARCHAR)
### Question:
What is the total number of tiers for the postseason of semifinalist?
### Answer:
SELECT SUM(tier) FROM table_name_45 WHERE postseason = "semifinalist" |
Below is an context that describes a sql 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, away_team VARCHAR)
### Question:
On what date does Essendon play as the away team?
### Answer:
SELECT date FROM table_name_19 WHERE away_team = "essendon" |
Below is an context that describes a sql 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 (height VARCHAR)
### Question:
What is the 1.93 that is 2.05 in height?
### Answer:
SELECT 193 FROM table_name_77 WHERE height = 2.05 |
Below is an context that describes a sql 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 (date_of_official_foundation_of_municipality VARCHAR)
### Question:
What is the total number in 2006, which has an official foundation of municipality of 1918?
### Answer:
SELECT COUNT(2006) FROM table_name_95 WHERE date_of_official_foundation_of_municipality = 1918 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27922491_20 (economy VARCHAR)
### Question:
How many 4wi were recorded by the player with an economy of 4.17?
### Answer:
SELECT 4 AS wi FROM table_27922491_20 WHERE economy = "4.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_13 (team VARCHAR)
### Question:
What is 2006, when Team is "Tacuary"?
### Answer:
SELECT 2006 FROM table_name_13 WHERE team = "tacuary" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Which 2011 has a 2010 of 1r, and a 2009 of 1r?
### Answer:
SELECT 2011 FROM table_name_99 WHERE 2010 = "1r" AND 2009 = "1r" |
Below is an context that describes a sql 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 (population__2008_ INTEGER, created VARCHAR, county VARCHAR)
### Question:
What is the highest population (2008) created earlier than 1857, and the county was Sinoe?
### Answer:
SELECT MAX(population__2008_) FROM table_name_69 WHERE created < 1857 AND county = "sinoe" |
Below is an context that describes a sql 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 (rank INTEGER, opposition VARCHAR, total VARCHAR)
### Question:
What is the average rank of the match where offaly was the opposition and the total was greater than 9?
### Answer:
SELECT AVG(rank) FROM table_name_5 WHERE opposition = "offaly" AND total > 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_19246_1 (standard VARCHAR, launch_date__ddmmyyyy_ VARCHAR)
### Question:
How many standards are there, when the launch date was 17.04.2006?
### Answer:
SELECT COUNT(standard) FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "17.04.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_41 (total INTEGER, bronze VARCHAR, silver VARCHAR)
### Question:
What is the total for the team with 0 bronze and 3 silver?
### Answer:
SELECT SUM(total) FROM table_name_41 WHERE bronze = 0 AND silver = 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_27 (capacity VARCHAR, venue VARCHAR)
### Question:
What is the capacity number for Yunost?
### Answer:
SELECT COUNT(capacity) FROM table_name_27 WHERE venue = "yunost" |
Below is an context that describes a sql 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 (location VARCHAR, wrestler VARCHAR)
### Question:
What is chris jones' location?
### Answer:
SELECT location FROM table_name_77 WHERE wrestler = "chris jones" |
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR)
### Question:
What is Method, when Opponent is "Thiago Alves"?
### Answer:
SELECT method FROM table_name_19 WHERE opponent = "thiago alves" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (total VARCHAR, round_1_ VARCHAR, _2a_points VARCHAR)
### Question:
Name the total number of total when round 1 +2A points of 19.620
### Answer:
SELECT COUNT(total) FROM table_name_48 WHERE round_1_ + _2a_points = "19.620" |
Below is an context that describes a sql 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 (audition_city VARCHAR, callback_venue VARCHAR)
### Question:
Which audition city held callbacks at Amelia Island Plantation?
### Answer:
SELECT audition_city FROM table_name_81 WHERE callback_venue = "amelia island plantation" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11274401_3 (rating VARCHAR, air_date VARCHAR)
### Question:
What's the rating of the episode originally aired on May 5, 2009?
### Answer:
SELECT rating FROM table_11274401_3 WHERE air_date = "May 5, 2009" |
Below is an context that describes a sql 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 (seats VARCHAR, _percentage_of_votes VARCHAR)
### Question:
Regarding the seats that casted 8.1% of the vote how many seats were held?
### Answer:
SELECT seats FROM table_name_71 WHERE _percentage_of_votes = "8.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 store (TYPE VARCHAR)
### Question:
Find all types of store and number of them.
### Answer:
SELECT TYPE, COUNT(*) FROM store GROUP BY TYPE |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE people (name VARCHAR, height VARCHAR)
### Question:
find the names of people who are taller than 200 or lower than 190.
### Answer:
SELECT name FROM people WHERE height > 200 OR height < 190 |
Below is an context that describes a sql 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 (club VARCHAR, season VARCHAR, away_result VARCHAR, round VARCHAR)
### Question:
Away result of 1–1, and a Round of 1r, and a Season of 1967-68 involves what club?
### Answer:
SELECT club FROM table_name_92 WHERE away_result = "1–1" AND round = "1r" AND season = "1967-68" |
Below is an context that describes a sql 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 (season VARCHAR, position VARCHAR)
### Question:
Which season was 2nd position?
### Answer:
SELECT season FROM table_name_84 WHERE position = "2nd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10408617_5 (tariff_code VARCHAR, bts_retail_price__regulated_ VARCHAR)
### Question:
How many tariff codes have a bts retail price of 2.553p/min?
### Answer:
SELECT COUNT(tariff_code) FROM table_10408617_5 WHERE bts_retail_price__regulated_ = "2.553p/min" |
Below is an context that describes a sql 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 (race_title VARCHAR, team VARCHAR, circuit VARCHAR)
### Question:
What is the race title of the Oran Park raceway circuit with team jps team bmw?
### Answer:
SELECT race_title FROM table_name_8 WHERE team = "jps team bmw" AND circuit = "oran park raceway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18600760_9 (longitude VARCHAR, ansi_code VARCHAR)
### Question:
What is the longitude of the township at ANSI code 1759682?
### Answer:
SELECT longitude FROM table_18600760_9 WHERE ansi_code = 1759682 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_5 (college VARCHAR, player VARCHAR)
### Question:
Which college does the player John Theus associate with?
### Answer:
SELECT college FROM table_11677691_5 WHERE player = "John Theus" |
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR)
### Question:
Which method was used when Rafael Cavalcante was the opponent?
### Answer:
SELECT method FROM table_name_2 WHERE opponent = "rafael cavalcante" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1305623_20 (total_medals INTEGER)
### Question:
What was the smallest total number of medals?
### Answer:
SELECT MIN(total_medals) FROM table_1305623_20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22385461_6 (start___utc__ VARCHAR, end__utc_ VARCHAR)
### Question:
What is the start date and time of the walk that ends March 28, 2005, 11:31?
### Answer:
SELECT start___utc__ FROM table_22385461_6 WHERE end__utc_ = "March 28, 2005, 11:31" |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
Where was the game held when Fitzroy was the away team?
### Answer:
SELECT venue FROM table_name_24 WHERE away_team = "fitzroy" |
Below is an context that describes a sql 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 (nation VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
### Question:
Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2?
### Answer:
SELECT nation FROM table_name_77 WHERE silver < 16 AND bronze > 6 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_7 (tournament VARCHAR)
### Question:
What is 1998, when 1992 is "A", and when Tournament is "Hamburg Masters"?
### Answer:
SELECT 1998 FROM table_name_7 WHERE 1992 = "a" AND tournament = "hamburg masters" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR)
### Question:
What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins?
### Answer:
SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 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_11253290_2 (rank__night_ INTEGER, viewers__millions_ VARCHAR)
### Question:
What is the lowest rank (night) for having viewers (millions) 5.25?
### Answer:
SELECT MIN(rank__night_) FROM table_11253290_2 WHERE viewers__millions_ = "5.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_12438767_1 (network VARCHAR, dates_aired VARCHAR)
### Question:
How many networks aired the franchise in 1981 only?
### Answer:
SELECT COUNT(network) FROM table_12438767_1 WHERE dates_aired = "1981" |
Below is an context that describes a sql 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 (icao VARCHAR, iata VARCHAR)
### Question:
What is the ICAO when the IATA is tgg?
### Answer:
SELECT icao FROM table_name_79 WHERE iata = "tgg" |
Below is an context that describes a sql 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 INTEGER, games_played INTEGER)
### Question:
How many points on average are there for less than 5 games played?
### Answer:
SELECT AVG(points) FROM table_name_84 WHERE games_played < 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_32 (date VARCHAR, team VARCHAR)
### Question:
What day did Phoenix play?
### Answer:
SELECT date FROM table_name_32 WHERE team = "phoenix" |
Below is an context that describes a sql 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 (date_released VARCHAR, _number_of_discs INTEGER)
### Question:
What Date Released, when # Of Discs is greater than 4?
### Answer:
SELECT date_released FROM table_name_33 WHERE _number_of_discs > 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_1 (name VARCHAR, avg_g VARCHAR)
### Question:
what is the name when avg/g is 13.7?
### Answer:
SELECT name FROM table_name_1 WHERE avg_g = 13.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_79 (score VARCHAR, january VARCHAR, record VARCHAR)
### Question:
Which Score has January larger than 18 and a Record of 35–15–1?
### Answer:
SELECT score FROM table_name_79 WHERE january > 18 AND record = "35–15–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_29 (nominated_work VARCHAR, category VARCHAR)
### Question:
What is the Nominated work of popularity award (actor in a motion picture)?
### Answer:
SELECT nominated_work FROM table_name_29 WHERE category = "popularity award (actor in a motion picture)" |
Below is an context that describes a sql 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 (lane VARCHAR, name VARCHAR)
### Question:
What lane was Emily Seebohm in?
### Answer:
SELECT COUNT(lane) FROM table_name_2 WHERE name = "emily seebohm" |
Below is an context that describes a sql 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 (attendance VARCHAR, tie_no VARCHAR)
### Question:
What is the Attendance of Tie no 3?
### Answer:
SELECT attendance FROM table_name_10 WHERE tie_no = "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_48 (goals_against VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR)
### Question:
How many Goals against have Wins larger than 12, and a Club of ud las palmas, and a Position larger than 5?
### Answer:
SELECT COUNT(goals_against) FROM table_name_48 WHERE wins > 12 AND club = "ud las palmas" AND position > 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_37 (score VARCHAR, date VARCHAR)
### Question:
I want the score for 28 march 1979
### Answer:
SELECT score FROM table_name_37 WHERE date = "28 march 1979" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13282157_3 (points VARCHAR, country VARCHAR)
### Question:
Name the number of points for south korea
### Answer:
SELECT COUNT(points) FROM table_13282157_3 WHERE country = "South Korea" |
Below is an context that describes a sql 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 (average INTEGER, state VARCHAR, swimsuit VARCHAR)
### Question:
What is the highest mean number for Texas when the swimsuit stat was more than 8.839?
### Answer:
SELECT MAX(average) FROM table_name_45 WHERE state = "texas" AND swimsuit > 8.839 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (attendance INTEGER, date VARCHAR)
### Question:
What is the average Attendance, when the Date is September 17, 1981?
### Answer:
SELECT AVG(attendance) FROM table_name_78 WHERE date = "september 17, 1981" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR)
### Question:
what is the place when the score is 70-72=142?
### Answer:
SELECT place FROM table_name_48 WHERE score = 70 - 72 = 142 |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What is the record of the game on March 21?
### Answer:
SELECT record FROM table_name_38 WHERE date = "march 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_91 (rank INTEGER, gold INTEGER)
### Question:
What is the number for rank when gold is less than 0?
### Answer:
SELECT SUM(rank) FROM table_name_91 WHERE gold < 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_24143253_2 (cause_of_death VARCHAR, name VARCHAR)
### Question:
How did Stella Farentino die?
### Answer:
SELECT cause_of_death FROM table_24143253_2 WHERE name = "Stella Farentino" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (country VARCHAR, lane VARCHAR)
### Question:
Tell me the country for lane of 6
### Answer:
SELECT country FROM table_name_66 WHERE lane = 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_19 (place VARCHAR, country VARCHAR)
### Question:
Where did Japan place?
### Answer:
SELECT place FROM table_name_19 WHERE country = "japan" |
Below is an context that describes a sql 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 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR)
### Question:
What is the s default argument without a pseudorandom number generation and no eval function?
### Answer:
SELECT s_default_argument FROM table_name_37 WHERE pseudorandom_number_generation = "no" AND eval_function = "no" |
Below is an context that describes a sql 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, week VARCHAR, result VARCHAR)
### Question:
What is the Opponent of the game after Week 3 with a Result of L 10–6?
### Answer:
SELECT opponent FROM table_name_86 WHERE week > 3 AND result = "l 10–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_47 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
### Question:
What is the sum of Bronze when the rank is more than 11 and gold is less than 0?
### Answer:
SELECT SUM(bronze) FROM table_name_47 WHERE rank > 11 AND gold < 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_3 (date VARCHAR, catalog VARCHAR)
### Question:
On what date was the record with catalog ALCA-275 released?
### Answer:
SELECT date FROM table_name_3 WHERE catalog = "alca-275" |
Below is an context that describes a sql 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 (memory VARCHAR, socket VARCHAR, turbo VARCHAR)
### Question:
What is the memory with a socket g1 and a 1/1/6/9 turbo?
### Answer:
SELECT memory FROM table_name_93 WHERE socket = "socket g1" AND turbo = "1/1/6/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_44 (game INTEGER, record VARCHAR, november VARCHAR)
### Question:
What is the highest game number when the rangers had a record of 11-11-1 and the date was after November 29?
### Answer:
SELECT MAX(game) FROM table_name_44 WHERE record = "11-11-1" AND november > 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (prize_money VARCHAR, matches VARCHAR, new_entries_this_round VARCHAR)
### Question:
What is the prize money amount after match 1, with 102 new entries to the round?
### Answer:
SELECT prize_money FROM table_name_40 WHERE matches > 1 AND new_entries_this_round = "102" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.