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_68 (date INTEGER, score VARCHAR)
### Question:
Which Date has a Score of 7–6(3), 4–6, 6–2?
### Answer:
SELECT SUM(date) FROM table_name_68 WHERE score = "7–6(3), 4–6, 6–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_34 (school_club_team VARCHAR, player VARCHAR)
### Question:
Which School/Club Team did Andre Wakefield play for?
### Answer:
SELECT school_club_team FROM table_name_34 WHERE player = "andre wakefield" |
Below is an context that describes a sql 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 (nation VARCHAR, penalty_points VARCHAR, judge_e VARCHAR)
### Question:
what is the nation when the penalty points is less than 40.2 and judge e is 82.22?
### Answer:
SELECT nation FROM table_name_30 WHERE penalty_points < 40.2 AND judge_e = "82.22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (player VARCHAR, opposition VARCHAR)
### Question:
Which Player has an Opposition of clare?
### Answer:
SELECT player FROM table_name_11 WHERE opposition = "clare" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28138035_20 (year_location VARCHAR, mens_doubles VARCHAR)
### Question:
How many years did lin gaoyuan wu jiaji play mens doubles?
### Answer:
SELECT COUNT(year_location) FROM table_28138035_20 WHERE mens_doubles = "Lin Gaoyuan Wu Jiaji" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29163303_4 (opponent VARCHAR, score VARCHAR)
### Question:
How many times has the score been 6–4, 3–6, [11–13]?
### Answer:
SELECT COUNT(opponent) FROM table_29163303_4 WHERE score = "6–4, 3–6, [11–13]" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23284271_9 (location_attendance VARCHAR, record VARCHAR)
### Question:
List the stadium and number of people in attendance when the team record was 45-22.
### Answer:
SELECT COUNT(location_attendance) FROM table_23284271_9 WHERE record = "45-22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, opponent VARCHAR)
### Question:
Name the man of the maatch for sheffield scimitars
### Answer:
SELECT man_of_the_match FROM table_17120964_5 WHERE opponent = "Sheffield Scimitars" |
Below is an context that describes a sql 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 (issue VARCHAR, actual_title VARCHAR)
### Question:
What isssue has 7th heaven as an actual title?
### Answer:
SELECT issue FROM table_name_51 WHERE actual_title = "7th heaven" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2249029_1 (gdp_world_rank VARCHAR, asian_rank VARCHAR)
### Question:
Name the gdp world rank for asian rank being 20
### Answer:
SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = 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_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)
### Question:
What was the max character (per page row) of the encoding with a bit rate of 6.203?
### Answer:
SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203" |
Below is an context that describes a sql 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 (actor VARCHAR, character VARCHAR)
### Question:
who is the actor of the character ariadne oliver?
### Answer:
SELECT actor FROM table_name_62 WHERE character = "ariadne 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_18 (play VARCHAR, country VARCHAR)
### Question:
What play is from the country Belgium?
### Answer:
SELECT play FROM table_name_18 WHERE country = "belgium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR)
### Question:
What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás?
### Answer:
SELECT él___ella___usted FROM table_1977630_2 WHERE vos__ * _ = "muelas / molá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_57 (engine VARCHAR, rounds VARCHAR, driver VARCHAR)
### Question:
Name the engine with rounds of 7 with geki driver
### Answer:
SELECT engine FROM table_name_57 WHERE rounds = "7" AND driver = "geki" |
Below is an context that describes a sql 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 (composer VARCHAR, track INTEGER)
### Question:
Who is the composer on the tracks less than 4?
### Answer:
SELECT composer FROM table_name_36 WHERE track < 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_9 (year VARCHAR, total VARCHAR)
### Question:
What year was the total 9?
### Answer:
SELECT year FROM table_name_9 WHERE 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_name_49 (team__number1 VARCHAR)
### Question:
What is the second leg that has kk bosna?
### Answer:
SELECT 2 AS nd_leg FROM table_name_49 WHERE team__number1 = "kk bosna" |
Below is an context that describes a sql 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 (position VARCHAR, played VARCHAR, goals_against VARCHAR, points_1 VARCHAR)
### Question:
What is the total number of positions when there are more than 48 goals against, 1 of 29 points are played, and less than 34 games have been played?
### Answer:
SELECT COUNT(position) FROM table_name_61 WHERE goals_against > 48 AND points_1 = "29" AND played < 34 |
Below is an context that describes a 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_46 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR)
### Question:
What was the population in 2011 of the settlement with the cyrillic name of ватин?
### Answer:
SELECT MAX(population__2011_) FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_pos VARCHAR)
### Question:
when q1 pos is 8 what is the q1+q2 time?
### Answer:
SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_pos = 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_55 (race_4 VARCHAR, race_3 VARCHAR, race_2 VARCHAR)
### Question:
What's the value for race 4 when race 3 is dns and race 2 is 27?
### Answer:
SELECT race_4 FROM table_name_55 WHERE race_3 = "dns" AND race_2 = "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_11206916_1 (highest INTEGER, stadium VARCHAR)
### Question:
The gayfield park stadium had a highest attendance of what?
### Answer:
SELECT MAX(highest) FROM table_11206916_1 WHERE stadium = "Gayfield Park" |
Below is an context that describes a sql 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, game VARCHAR)
### Question:
On what date was game 2 played?
### Answer:
SELECT date FROM table_name_98 WHERE game = "game 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_1682026_6 (industry VARCHAR, market_value__billion_$_ VARCHAR)
### Question:
Which industry has a company with a market value of 80.3 billion?
### Answer:
SELECT industry FROM table_1682026_6 WHERE market_value__billion_$_ = "80.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_49 (nationality VARCHAR, name VARCHAR)
### Question:
What nation is Marion Buisson playing for?
### Answer:
SELECT nationality FROM table_name_49 WHERE name = "marion buisson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR)
### Question:
in which year the season was in 5th position
### Answer:
SELECT season FROM table_29697744_1 WHERE position = "5th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_191105_4 (episode_title VARCHAR, performed_by VARCHAR)
### Question:
What is the name of the episode performed by Essra Mohawk
### Answer:
SELECT episode_title FROM table_191105_4 WHERE performed_by = "Essra Mohawk" |
Below is an context that describes a sql 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 (selection INTEGER, player VARCHAR)
### Question:
Name the least selection for ron barnett
### Answer:
SELECT MIN(selection) FROM table_name_39 WHERE player = "ron barnett" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
What team was the opponent on 1990-10-21?
### Answer:
SELECT opponent FROM table_name_97 WHERE date = "1990-10-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_56 (city_of_license VARCHAR, age_watt VARCHAR)
### Question:
Name the city of license which has age Watt of 160 watts
### Answer:
SELECT city_of_license FROM table_name_56 WHERE age_watt = "160 watts" |
Below is an context that describes a sql 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 (week INTEGER, attendance VARCHAR)
### Question:
Which week was the team's bye week?
### Answer:
SELECT MAX(week) FROM table_name_78 WHERE attendance = "bye" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE railway (Builder VARCHAR, Railway_ID VARCHAR); CREATE TABLE train (Railway_ID VARCHAR, Name VARCHAR)
### Question:
Show the builder of railways associated with the trains named "Andaman Exp".
### Answer:
SELECT T1.Builder FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID WHERE T2.Name = "Andaman Exp" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1213511_3 (nhl_team VARCHAR, player VARCHAR)
### Question:
How many teams did Bob Peppler play for?
### Answer:
SELECT COUNT(nhl_team) FROM table_1213511_3 WHERE player = "Bob Peppler" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27734286_6 (record VARCHAR, game VARCHAR)
### Question:
List records for game 29.
### Answer:
SELECT record FROM table_27734286_6 WHERE game = 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_88 (label VARCHAR, format VARCHAR, catalog VARCHAR)
### Question:
What Label has a Format of cd, and a Catalog of crgd 86136?
### Answer:
SELECT label FROM table_name_88 WHERE format = "cd" AND catalog = "crgd 86136" |
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR)
### Question:
Which player is from Northern Ireland?
### Answer:
SELECT player FROM table_name_42 WHERE country = "northern ireland" |
Below is an context that describes a sql 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 (works_number VARCHAR, name VARCHAR)
### Question:
What is the work number for Victor?
### Answer:
SELECT works_number FROM table_name_80 WHERE name = "victor" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2361911_2 (regular_season VARCHAR, league VARCHAR, playoffs VARCHAR)
### Question:
Name the regular season for usisl d-3 pro league did not qualify
### Answer:
SELECT regular_season FROM table_2361911_2 WHERE league = "USISL D-3 Pro league" AND playoffs = "Did not qualify" |
Below is an context that describes a sql 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 (team VARCHAR, name VARCHAR)
### Question:
What team was Andrew Ranger in?
### Answer:
SELECT team FROM table_name_78 WHERE name = "andrew ranger" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26448179_2 (written_by VARCHAR, production_code VARCHAR)
### Question:
He wrote production number 102?
### Answer:
SELECT written_by FROM table_26448179_2 WHERE production_code = "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 tryout (cName VARCHAR, pPos VARCHAR)
### Question:
Find the names of schools that have some players in the mid position but not in the goalie position.
### Answer:
SELECT cName FROM tryout WHERE pPos = 'mid' EXCEPT SELECT cName 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_23248869_6 (high_assists VARCHAR, date VARCHAR)
### Question:
How many different people did different scores of high assists during the December 11 game?
### Answer:
SELECT COUNT(high_assists) FROM table_23248869_6 WHERE date = "December 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_27 (result VARCHAR, week VARCHAR)
### Question:
What was the result on week 1?
### Answer:
SELECT result FROM table_name_27 WHERE week = 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 (Leading VARCHAR, series VARCHAR)
### Question:
Who is the leading scorer of the wnba finals series?
### Answer:
SELECT Leading AS scorer FROM table_name_96 WHERE series = "wnba finals" |
Below is an context that describes a sql 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 (result_f___a VARCHAR, h___a VARCHAR, attendance VARCHAR)
### Question:
What is the result F-A with an H/A of h and more than 31,727 attending?
### Answer:
SELECT result_f___a FROM table_name_11 WHERE h___a = "h" AND attendance > 31 OFFSET 727 |
Below is an context that describes a sql 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 (d__max_ VARCHAR, morse_taper_number VARCHAR, c__max_ VARCHAR)
### Question:
With a Morse Taper number less than 3 and a C (max) of 59.5 what is the total of D (max)?
### Answer:
SELECT COUNT(d__max_) FROM table_name_59 WHERE morse_taper_number < 3 AND c__max_ = 59.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_78 (matches INTEGER, drawn VARCHAR, points VARCHAR, place VARCHAR)
### Question:
What is the highest Matches were the points were smaller than 8, the place was larger than 13, and the drawn is less than 1?
### Answer:
SELECT MAX(matches) FROM table_name_78 WHERE points < 8 AND place > 13 AND drawn < 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_53 (tournament VARCHAR, opponent_in_the_final VARCHAR)
### Question:
Which tournament had Lubomira Bacheva as the opponent in the final?
### Answer:
SELECT tournament FROM table_name_53 WHERE opponent_in_the_final = "lubomira bacheva" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1749567_2 (location VARCHAR, average_climb___percentage_ VARCHAR)
### Question:
Which race had an average climb of 40%?
### Answer:
SELECT location FROM table_1749567_2 WHERE average_climb___percentage_ = 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_27965906_2 (b_winning_car VARCHAR, ss_winning_car VARCHAR)
### Question:
Name the total number of b winning car and bobby archer, tommy archer
### Answer:
SELECT COUNT(b_winning_car) FROM table_27965906_2 WHERE ss_winning_car = "Bobby Archer, Tommy Archer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)
### Question:
What division record did the Spartans hold?
### Answer:
SELECT division_record FROM table_name_26 WHERE team = "spartans" |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR)
### Question:
When was the game played at Lake Oval?
### Answer:
SELECT date FROM table_name_56 WHERE venue = "lake 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_21100348_11 (innings INTEGER, rank VARCHAR)
### Question:
How many innings does rank 3 have?
### Answer:
SELECT MAX(innings) FROM table_21100348_11 WHERE rank = 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_78 (name VARCHAR, moving_from VARCHAR)
### Question:
What player was moving from manchester united?
### Answer:
SELECT name FROM table_name_78 WHERE moving_from = "manchester united" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR)
### Question:
What was the home teams score when the VFL played Princes Park?
### Answer:
SELECT home_team AS score FROM table_name_76 WHERE venue = "princes park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (opponent VARCHAR, loss VARCHAR)
### Question:
Which opponent has a loss of trout (7-4)?
### Answer:
SELECT opponent FROM table_name_53 WHERE loss = "trout (7-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_32 (country VARCHAR, density__per_km²_ VARCHAR)
### Question:
Which country has a density (per km²) of 6,814?
### Answer:
SELECT country FROM table_name_32 WHERE density__per_km²_ = "6,814" |
Below is an context that describes a sql 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 (pick INTEGER, player VARCHAR, round VARCHAR)
### Question:
When parnell dickinson was the player and the rounds were under 7, what's the highest pick?
### Answer:
SELECT MAX(pick) FROM table_name_57 WHERE player = "parnell dickinson" AND round < 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_31 (stand INTEGER, qual INTEGER)
### Question:
What is the sum of the stand with a qual more than 589?
### Answer:
SELECT SUM(stand) FROM table_name_31 WHERE qual > 589 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (transfers_out VARCHAR, country VARCHAR)
### Question:
What are the Transfers out for Peru?
### Answer:
SELECT transfers_out FROM table_name_76 WHERE country = "peru" |
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, to_par VARCHAR)
### Question:
What is Player, when Country is "United States", and when To Par is "WD"?
### Answer:
SELECT player FROM table_name_79 WHERE country = "united states" AND to_par = "wd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (score VARCHAR, tie_no VARCHAR)
### Question:
What is Score, when Tie No is "109"?
### Answer:
SELECT score FROM table_name_67 WHERE tie_no = "109" |
Below is an context that describes a sql 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 (score VARCHAR, country VARCHAR, player VARCHAR)
### Question:
What is the total number of Score, when Country is "United States", and when Player is "Lee Trevino"?
### Answer:
SELECT COUNT(score) FROM table_name_75 WHERE country = "united states" AND player = "lee trevino" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30121075_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR)
### Question:
What is the area when the poor law union is skibbereen and the townland is knockmore?
### Answer:
SELECT area__acres__ FROM table_30121075_1 WHERE poor_law_union = "Skibbereen" AND townland = "Knockmore" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2226817_7 (title VARCHAR, production_code VARCHAR)
### Question:
If the production code is 6.18, what was the episode title?
### Answer:
SELECT title FROM table_2226817_7 WHERE production_code = "6.18" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_214479_8 (y_ VARCHAR, _2008 VARCHAR, a VARCHAR, _2011 VARCHAR)
### Question:
What is the y = 2008 when y = 2011 is a = 3?
### Answer:
SELECT y_ = _2008 FROM table_214479_8 WHERE y_ = _2011 = a = 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_57 (attendance VARCHAR, opponent_number VARCHAR)
### Question:
How many were in attendance when they played vs. 12 Stanford?
### Answer:
SELECT attendance FROM table_name_57 WHERE opponent_number = "vs. 12 stanford" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE classroom (building VARCHAR)
### Question:
Count the number of rooms that are not in the Lamberton building.
### Answer:
SELECT COUNT(*) FROM classroom WHERE building <> 'Lamberton' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1859269_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR)
### Question:
If leagues entering this round is Süper Lig, what is the maximum amount of clubs remaining?
### Answer:
SELECT MAX(clubs_remaining) FROM table_1859269_1 WHERE leagues_entering_at_this_round = "Süper Lig" |
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR)
### Question:
How many people were in the crowd when Carlton was the away team?
### Answer:
SELECT COUNT(crowd) FROM table_name_43 WHERE away_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_77 (method VARCHAR, result VARCHAR, opponent VARCHAR)
### Question:
Which method resulting in a win against Ed Mahone?
### Answer:
SELECT method FROM table_name_77 WHERE result = "win" AND opponent = "ed mahone" |
Below is an context that describes a sql 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 (race_name VARCHAR, constructor VARCHAR, date VARCHAR)
### Question:
Tell me the race name for ferrari on 25 april
### Answer:
SELECT race_name FROM table_name_17 WHERE constructor = "ferrari" AND date = "25 april" |
Below is an context that describes a sql 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 (name VARCHAR, average VARCHAR)
### Question:
Which Name has an Average of 48.83?
### Answer:
SELECT name FROM table_name_47 WHERE average = 48.83 |
Below is an context that describes a sql 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 (team VARCHAR, high_points VARCHAR)
### Question:
What team had a high points of west (20)?
### Answer:
SELECT team FROM table_name_65 WHERE high_points = "west (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_23028629_2 (part_number_s_ VARCHAR, model_number VARCHAR)
### Question:
What is every part number with model number core i5-670?
### Answer:
SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = "Core i5-670" |
Below is an context that describes a sql 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 (surface VARCHAR, opponent VARCHAR)
### Question:
Which Surface had an Opponent of fernanda hermenegildo monika kochanova?
### Answer:
SELECT surface FROM table_name_57 WHERE opponent = "fernanda hermenegildo monika kochanova" |
Below is an context that describes a sql 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 (method VARCHAR, time VARCHAR)
### Question:
What was the method used when the time was 4:52?
### Answer:
SELECT method FROM table_name_49 WHERE time = "4:52" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10420426_1 (podiums VARCHAR, points VARCHAR)
### Question:
What is the podium for 144 points?
### Answer:
SELECT podiums FROM table_10420426_1 WHERE points = 144 |
Below is an context that describes a 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_3 (township VARCHAR, geo_id VARCHAR)
### Question:
What was the township with a geo ID of 3807116660?
### Answer:
SELECT township FROM table_18600760_3 WHERE geo_id = 3807116660 |
Below is an context that describes a sql 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 (round INTEGER, position VARCHAR, overall VARCHAR)
### Question:
What is the average round when there is a defensive back and an overall smaller than 199?
### Answer:
SELECT AVG(round) FROM table_name_49 WHERE position = "defensive back" AND overall < 199 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16227492_1 (attendance INTEGER, _number VARCHAR)
### Question:
Name the most attendance for number 4
### Answer:
SELECT MAX(attendance) FROM table_16227492_1 WHERE _number = 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_30 (home_team VARCHAR, venue VARCHAR)
### Question:
What did the home team score at MCG?
### Answer:
SELECT home_team AS score FROM table_name_30 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_65 (lost VARCHAR, losing_bp VARCHAR, try_bp VARCHAR)
### Question:
Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0?
### Answer:
SELECT lost FROM table_name_65 WHERE losing_bp = "5" AND try_bp = "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_2311410_1 (season VARCHAR, winning_profit___aud__ VARCHAR)
### Question:
What season had a winning profit of $15,000?
### Answer:
SELECT season FROM table_2311410_1 WHERE winning_profit___aud__ = "$15,000" |
Below is an context that describes a sql 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 (gold INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
What is the average number of golds for teams in rank 17 with more than 4 silver?
### Answer:
SELECT AVG(gold) FROM table_name_13 WHERE rank = "17" AND silver > 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_31 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
### Question:
Which player is Pick 33 and has a Nationality of USA?
### Answer:
SELECT player FROM table_name_31 WHERE nationality = "usa" AND pick = 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_60 (rank INTEGER, silver INTEGER)
### Question:
Which mean rank had a silver number smaller than 0?
### Answer:
SELECT AVG(rank) FROM table_name_60 WHERE 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_11 (score VARCHAR, competition VARCHAR)
### Question:
What score has friendly as the competition?
### Answer:
SELECT score FROM table_name_11 WHERE competition = "friendly" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE campuses (id VARCHAR, campus VARCHAR); CREATE TABLE csu_fees (campusfee VARCHAR, campus VARCHAR, year VARCHAR)
### Question:
Find the campus fee of "San Jose State University" in year 2000.
### Answer:
SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Jose State University" AND t1.year = 2000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (pos INTEGER, team VARCHAR, car__number VARCHAR)
### Question:
Which Pos has a Team of circle bar racing, and a Car # smaller than 14?
### Answer:
SELECT MAX(pos) FROM table_name_64 WHERE team = "circle bar racing" AND car__number < 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 table_name_64 (entries INTEGER, wins VARCHAR, percentage VARCHAR)
### Question:
Which driver has less than 37 wins and at 14.12%?
### Answer:
SELECT AVG(entries) FROM table_name_64 WHERE wins < 37 AND percentage = "14.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_2668199_2 (first_elected VARCHAR, district VARCHAR, result VARCHAR, party VARCHAR)
### Question:
How many times was the result was re-elected and the party was anti-masonic in the district Pennsylvania 24?
### Answer:
SELECT COUNT(first_elected) FROM table_2668199_2 WHERE result = "Re-elected" AND party = "Anti-Masonic" AND district = "Pennsylvania 24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)
### Question:
What laps have a Time of +28.778?
### Answer:
SELECT laps FROM table_name_37 WHERE time = "+28.778" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14748457_1 (lines_served VARCHAR, station_users_2008_9 VARCHAR)
### Question:
what are the lines served where station users is 210076?
### Answer:
SELECT lines_served FROM table_14748457_1 WHERE station_users_2008_9 = "210076" |
Below is an context that describes a sql 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 (record__conf_ VARCHAR, conference VARCHAR)
### Question:
What is the recorded conference that was a Wac Conference?
### Answer:
SELECT record__conf_ FROM table_name_73 WHERE conference = "wac" |
Below is an context that describes a sql 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 (displacement VARCHAR, power VARCHAR)
### Question:
What Displacement has 185hp (138kw) Power o
### Answer:
SELECT displacement FROM table_name_57 WHERE power = "185hp (138kw)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_21 (segment_a VARCHAR, series_ep VARCHAR)
### Question:
What are the titles of segment a for series episode 21-12?
### Answer:
SELECT segment_a FROM table_15187735_21 WHERE series_ep = "21-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_24195232_1 (location VARCHAR, team_name VARCHAR)
### Question:
What was the location for the team name of patriots?
### Answer:
SELECT location FROM table_24195232_1 WHERE team_name = "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_2 (away_team VARCHAR)
### Question:
When Richmond is the Away team, what did they score?
### Answer:
SELECT away_team AS score FROM table_name_2 WHERE away_team = "richmond" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.