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_70 (wins INTEGER, events INTEGER)
### Question:
Which Wins is the lowest one that has Events larger than 30?
### Answer:
SELECT MIN(wins) FROM table_name_70 WHERE events > 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_36 (clean_ VARCHAR, _jerk VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR)
### Question:
What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of –?
### Answer:
SELECT clean_ & _jerk FROM table_name_36 WHERE bodyweight < 76.55 AND total__kg_ = "–" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10321124_1 (salmonella VARCHAR, escherichia VARCHAR)
### Question:
what's the salmonella with escherichia being espd
### Answer:
SELECT salmonella FROM table_10321124_1 WHERE escherichia = "EspD" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22916979_5 (density VARCHAR, densest_incorporated_place VARCHAR)
### Question:
Name the density for pennsbury village
### Answer:
SELECT density FROM table_22916979_5 WHERE densest_incorporated_place = "Pennsbury Village" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE exhibition (theme VARCHAR, YEAR VARCHAR, ticket_price INTEGER)
### Question:
Show theme and year for all exhibitions with ticket prices lower than 15.
### Answer:
SELECT theme, YEAR FROM exhibition WHERE ticket_price < 15 |
Below is an context that describes a sql 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 (assists INTEGER, rank VARCHAR, games VARCHAR)
### Question:
What is the largest number of assists for the second rank when there were less than 2 games?
### Answer:
SELECT MAX(assists) FROM table_name_71 WHERE rank = 2 AND games < 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_43 (actor VARCHAR, year VARCHAR)
### Question:
Which actor won in 1966?
### Answer:
SELECT actor FROM table_name_43 WHERE year = 1966 |
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR)
### Question:
What was the record of the game with a score of 12–6?
### Answer:
SELECT record FROM table_name_76 WHERE score = "12–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_9 (apogee VARCHAR, designation VARCHAR)
### Question:
What is Apogee, when Designation is Prognoz 6?
### Answer:
SELECT apogee FROM table_name_9 WHERE designation = "prognoz 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_59 (location VARCHAR, record VARCHAR)
### Question:
Which Location has a Record of 0-1?
### Answer:
SELECT location FROM table_name_59 WHERE record = "0-1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16279520_1 (title VARCHAR, release VARCHAR)
### Question:
What is the title of the 1.1 realease?
### Answer:
SELECT title FROM table_16279520_1 WHERE release = "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_33 (equatorial_diameter VARCHAR, body VARCHAR)
### Question:
What is the Equatorial diameter of the Body: ceres?
### Answer:
SELECT equatorial_diameter FROM table_name_33 WHERE body = "ceres" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (date VARCHAR, home_team VARCHAR)
### Question:
What was the date of the footscray home game?
### Answer:
SELECT date FROM table_name_46 WHERE home_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341718_36 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Incumbent Bill Harsha was the winner in an election in which the candidates were who?
### Answer:
SELECT candidates FROM table_1341718_36 WHERE incumbent = "Bill Harsha" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR, commission_pct VARCHAR)
### Question:
What are the full name (first and last name) and salary for all employees who does not have any value for commission?
### Answer:
SELECT first_name, last_name, salary FROM employees WHERE commission_pct = "null" |
Below is an context that describes a sql 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 (region INTEGER, area__km_2__ VARCHAR, population VARCHAR)
### Question:
What is the average region that has an Area (km 2 ) of 451.79, and a Population under 496,257?
### Answer:
SELECT AVG(region) FROM table_name_43 WHERE area__km_2__ = 451.79 AND population < 496 OFFSET 257 |
Below is an context that describes a sql 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 (frequency VARCHAR, power VARCHAR, channel VARCHAR)
### Question:
On channel 32, when the power is 32 kW horizontal, what is the frequency?
### Answer:
SELECT frequency FROM table_name_32 WHERE power = "32 kw horizontal" AND channel = 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_name_23 (Id VARCHAR)
### Question:
What is the 1996 when the 1994 is A, the 2003 is A, and the 2001 is 1R?
### Answer:
SELECT 1996 FROM table_name_23 WHERE 1994 = "a" AND 2003 = "a" AND 2001 = "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_71 (candidates VARCHAR, seats_won VARCHAR, _percentage_of_vote VARCHAR, election VARCHAR)
### Question:
How many candidates had 0 percent of the vote in 1999?
### Answer:
SELECT COUNT(candidates) FROM table_name_71 WHERE _percentage_of_vote = 0 AND election = 1999 AND seats_won > 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_74 (rank VARCHAR, country VARCHAR)
### Question:
What rank is Germany?
### Answer:
SELECT rank FROM table_name_74 WHERE country = "germany" |
Below is an context that describes a sql 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 (seat_percentage VARCHAR, vote_percentage VARCHAR)
### Question:
What is the seat percentage when vote percentage is 2.4% (-8.3)?
### Answer:
SELECT seat_percentage FROM table_name_73 WHERE vote_percentage = "2.4% (-8.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_18821196_1 (weekly_schedule VARCHAR, tv_network_s_ VARCHAR)
### Question:
What is every weekly schedule of TV network Viasat 4?
### Answer:
SELECT weekly_schedule FROM table_18821196_1 WHERE tv_network_s_ = "Viasat 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_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)
### Question:
what is the most amount of cattle where they live in british columbia
### Answer:
SELECT MAX(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "British Columbia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (date INTEGER, tournament VARCHAR)
### Question:
Name the date of Tournament of paris indoor , france?
### Answer:
SELECT SUM(date) FROM table_name_23 WHERE tournament = "paris indoor , france" |
Below is an context that describes a sql 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 (silver INTEGER, total INTEGER)
### Question:
What is the highest number of silver medals for a team with total less than 1?
### Answer:
SELECT MAX(silver) FROM table_name_32 WHERE total < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (class VARCHAR, part_4 VARCHAR)
### Question:
What is the class for Geholfen Gedroschen in part 4?
### Answer:
SELECT class FROM table_name_26 WHERE part_4 = "geholfen gedroschen" |
Below is an context that describes a sql 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 (matches VARCHAR, _percentage_won VARCHAR)
### Question:
Which Match has the percentage won 52.38?
### Answer:
SELECT matches FROM table_name_77 WHERE _percentage_won = "52.38" |
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR)
### Question:
Which Date had an Opponent of buffalo bills?
### Answer:
SELECT date FROM table_name_50 WHERE opponent = "buffalo bills" |
Below is an context that describes a sql 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 (team_1 VARCHAR)
### Question:
What is the 1st leg of team 1 Liverpool?
### Answer:
SELECT 1 AS st_leg FROM table_name_24 WHERE team_1 = "liverpool" |
Below is an context that describes a sql 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 (school VARCHAR, team VARCHAR)
### Question:
What is the school, when the Team is Senators?
### Answer:
SELECT school FROM table_name_56 WHERE team = "senators" |
Below is an context that describes a sql 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 (capital VARCHAR, area__km²_ VARCHAR)
### Question:
What capital has an area of 2166086?
### Answer:
SELECT capital FROM table_name_53 WHERE area__km²_ = 2166086 |
Below is an context that describes a sql 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 (type VARCHAR, aircraft VARCHAR)
### Question:
What aircraft type is the Casa C-212 Aviocar?
### Answer:
SELECT type FROM table_name_45 WHERE aircraft = "casa c-212 aviocar" |
Below is an context that describes a sql 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 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR)
### Question:
What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?
### Answer:
SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319 |
Below is an context that describes a sql 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 (score VARCHAR, venue VARCHAR)
### Question:
What was the Score in Gelora Sriwijaya Stadium?
### Answer:
SELECT score FROM table_name_47 WHERE venue = "gelora sriwijaya stadium" |
Below is an context that describes a sql 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 (team_name VARCHAR, losses VARCHAR, games VARCHAR)
### Question:
Who is the team that has played more than 18 games and has 6 losses?
### Answer:
SELECT team_name FROM table_name_97 WHERE losses = 6 AND games > 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 teacher (Name VARCHAR, Age VARCHAR)
### Question:
Show the name of teachers aged either 32 or 33?
### Answer:
SELECT Name FROM teacher WHERE Age = 32 OR Age = 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_44 (drafting_team VARCHAR, graduated VARCHAR, college_prior VARCHAR)
### Question:
Who drafted the player from Michigan after 2010?
### Answer:
SELECT drafting_team FROM table_name_44 WHERE graduated > 2010 AND college_prior = "michigan" |
Below is an context that describes a sql 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 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR)
### Question:
what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1
### Answer:
SELECT COUNT(wins) FROM table_name_85 WHERE games < 7 AND goals_for > 2 AND goals_against < 6 AND draws = 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_5 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)
### Question:
Which Termination of Mission has a Presentation of Credentials on October 29, 1981
### Answer:
SELECT termination_of_mission FROM table_name_5 WHERE presentation_of_credentials = "october 29, 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_18522916_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
### Question:
Name the date of vacancy for daniel uberti
### Answer:
SELECT date_of_vacancy FROM table_18522916_5 WHERE outgoing_manager = "Daniel Uberti" |
Below is an context that describes a sql 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 (result VARCHAR, kick_off VARCHAR)
### Question:
WHAT WAS THE SCORE OF THE GAME WITH A 2007-03-06, 20:45 KICKOFF?
### Answer:
SELECT result FROM table_name_50 WHERE kick_off = "2007-03-06, 20:45" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (playoffs VARCHAR, open_cup VARCHAR)
### Question:
What Playoffs had an Open Cup of 3rd round?
### Answer:
SELECT playoffs FROM table_name_83 WHERE open_cup = "3rd round" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (partner VARCHAR, surface VARCHAR, opponents VARCHAR)
### Question:
What was the partner of the team that faced the guillermo garcía-lópez albert portas on clay?
### Answer:
SELECT partner FROM table_name_45 WHERE surface = "clay" AND opponents = "guillermo garcía-lópez albert portas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (name VARCHAR, location VARCHAR)
### Question:
What is the name of a location in Nigeria?
### Answer:
SELECT name FROM table_name_28 WHERE location = "nigeria" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14139408_1 (pts VARCHAR, class VARCHAR, poles VARCHAR, motorcycle VARCHAR)
### Question:
what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc
### Answer:
SELECT pts FROM table_14139408_1 WHERE poles < 1.0 AND motorcycle = "Aprilia" AND class = "250cc" |
Below is an context that describes a sql 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 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
Name the Player who has a To par of –2 and a Score of 69-73=142?
### Answer:
SELECT player FROM table_name_74 WHERE to_par = "–2" AND score = 69 - 73 = 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_1193568_1 (election_date VARCHAR, electorate VARCHAR)
### Question:
what's the election date where electorate is omata
### Answer:
SELECT election_date FROM table_1193568_1 WHERE electorate = "Omata" |
Below is an context that describes a sql 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 (division VARCHAR, wins VARCHAR)
### Question:
What is the division with wins of 2?
### Answer:
SELECT division FROM table_name_76 WHERE wins = "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_66 (score VARCHAR, date VARCHAR)
### Question:
what is the score on november 15
### Answer:
SELECT score FROM table_name_66 WHERE date = "november 15" |
Below is an context that describes a sql 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 (facility_id INTEGER, city_of_license VARCHAR, erp_kw VARCHAR)
### Question:
What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5?
### Answer:
SELECT MAX(facility_id) FROM table_name_52 WHERE city_of_license = "wheeling" AND erp_kw < 4.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_98 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)
### Question:
Name the winning driver for mobilecast impul and twin ring motegi
### Answer:
SELECT winning_driver FROM table_name_98 WHERE winning_team = "mobilecast impul" AND circuit = "twin ring motegi" |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
Which golfer had a score of 68-70-68-66=272?
### Answer:
SELECT player FROM table_name_3 WHERE score = 68 - 70 - 68 - 66 = 272 |
Below is an context that describes a sql 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 (number_of_episodes VARCHAR, notes VARCHAR)
### Question:
What is Number Of Episodes, when Notes is "Moved to run a farm with boyfriend Jake."?
### Answer:
SELECT number_of_episodes FROM table_name_74 WHERE notes = "moved to run a farm with boyfriend jake." |
Below is an context that describes a sql 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 (height VARCHAR, current_club VARCHAR, player VARCHAR)
### Question:
What is the height of Patrick Femerling, of the Alba Berlin club?
### Answer:
SELECT COUNT(height) FROM table_name_36 WHERE current_club = "alba berlin" AND player = "patrick femerling" |
Below is an context that describes a sql 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 (engine VARCHAR, team VARCHAR)
### Question:
What engine did Dick Simon Racing use?
### Answer:
SELECT engine FROM table_name_21 WHERE team = "dick simon racing" |
Below is an context that describes a sql 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 (name VARCHAR, moving_to VARCHAR)
### Question:
Who is moving to Triestina?
### Answer:
SELECT name FROM table_name_21 WHERE moving_to = "triestina" |
Below is an context that describes a sql 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 (result VARCHAR, score VARCHAR)
### Question:
Which result has a Score of 30-44?
### Answer:
SELECT result FROM table_name_51 WHERE score = "30-44" |
Below is an context that describes a sql 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 (loser VARCHAR, winner VARCHAR)
### Question:
What is the Loser when the winner was los angeles lakers (10)?
### Answer:
SELECT loser FROM table_name_18 WHERE winner = "los angeles lakers (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_5 (round VARCHAR, time VARCHAR, location VARCHAR)
### Question:
What Round has a Time of n/a, in rio de janeiro , brazil?
### Answer:
SELECT round FROM table_name_5 WHERE time = "n/a" AND location = "rio de janeiro , brazil" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1965650_7 (college_junior_club_team VARCHAR, player VARCHAR)
### Question:
Who did Dan Follet play for before the draft?
### Answer:
SELECT college_junior_club_team FROM table_1965650_7 WHERE player = "Dan Follet" |
Below is an context that describes a sql 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 (away_team VARCHAR, tie_no VARCHAR)
### Question:
What is the away team of the game with tie number 31?
### Answer:
SELECT away_team FROM table_name_33 WHERE tie_no = "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 artist (country VARCHAR)
### Question:
What are all distinct country for artists?
### Answer:
SELECT DISTINCT country FROM artist |
Below is an context that describes a sql 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 (frequency_mhz VARCHAR, city_of_license VARCHAR)
### Question:
What is surfside beach, SC frequency?
### Answer:
SELECT frequency_mhz FROM table_name_79 WHERE city_of_license = "surfside beach, sc" |
Below is an context that describes a sql 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 (population__2010_11_01_ VARCHAR, hanzi VARCHAR)
### Question:
What is the population for the area that has a Hanzi of 延寿县?
### Answer:
SELECT population__2010_11_01_ FROM table_name_30 WHERE 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_name_75 (rank VARCHAR, class VARCHAR, points VARCHAR, chassis VARCHAR)
### Question:
What is the rank with more than 123 points, an audi r8 chassis, and a lmp900 class?
### Answer:
SELECT rank FROM table_name_75 WHERE points > 123 AND chassis = "audi r8" AND class = "lmp900" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (prime_mover VARCHAR, model VARCHAR)
### Question:
What is Prime Mover of Model FM CFA-16-4?
### Answer:
SELECT prime_mover FROM table_name_87 WHERE model = "fm cfa-16-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_34 (city VARCHAR, province VARCHAR)
### Question:
Which city is in Cantabria?
### Answer:
SELECT city FROM table_name_34 WHERE province = "cantabria" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24938621_3 (production_code VARCHAR, us_viewers__million_ VARCHAR)
### Question:
What is the production code of the episode that had 5.43 million viewers?
### Answer:
SELECT production_code FROM table_24938621_3 WHERE us_viewers__million_ = "5.43" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341604_22 (incumbent VARCHAR, district VARCHAR)
### Question:
what's the incumbent with district being massachusetts 2
### Answer:
SELECT incumbent FROM table_1341604_22 WHERE district = "Massachusetts 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_256286_8 (type VARCHAR, _percentage_yes VARCHAR)
### Question:
What was the type of ballot measures if the % of yes vote is 32.47%?
### Answer:
SELECT type FROM table_256286_8 WHERE _percentage_yes = "32.47%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (score VARCHAR, points VARCHAR, home VARCHAR)
### Question:
Which Score has Points smaller than 67, and a Home of calgary flames?
### Answer:
SELECT score FROM table_name_45 WHERE points < 67 AND home = "calgary flames" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR)
### Question:
Name the result for ursinus college
### Answer:
SELECT result FROM table_21094951_1 WHERE opponent = "Ursinus College" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (pos INTEGER, car__number VARCHAR)
### Question:
What was the average position of car number 59?
### Answer:
SELECT AVG(pos) FROM table_name_82 WHERE car__number = 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_7 (winner VARCHAR, date VARCHAR)
### Question:
What is the Winner of the Game on November 26?
### Answer:
SELECT winner FROM table_name_7 WHERE date = "november 26" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (venue VARCHAR, club VARCHAR, league VARCHAR, sport VARCHAR, championships__years_ VARCHAR)
### Question:
Which Venue has a Sport of baseball, Championships (Years) of 0, a League of milb, florida state league, and a Club of jupiter hammerheads?
### Answer:
SELECT venue FROM table_name_38 WHERE sport = "baseball" AND championships__years_ = "0" AND league = "milb, florida state league" AND club = "jupiter hammerheads" |
Below is an context that describes a sql 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 (rank VARCHAR, mountain_peak VARCHAR)
### Question:
Name the Rank of Rank Mountain Peak of crested butte pb?
### Answer:
SELECT rank FROM table_name_43 WHERE mountain_peak = "crested butte pb" |
Below is an context that describes a sql 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 (edition VARCHAR, result VARCHAR)
### Question:
What Edition had a Result of 6-3, 6-0, 6-2?
### Answer:
SELECT edition FROM table_name_45 WHERE result = "6-3, 6-0, 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 captain (rank VARCHAR, CLASS VARCHAR)
### Question:
Find the captain rank that has no captain in Third-rate ship of the line class.
### Answer:
SELECT rank FROM captain EXCEPT SELECT rank FROM captain WHERE CLASS = 'Third-rate ship of the line' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR)
### Question:
How many cards does customer Art Turcotte have?
### Answer:
SELECT COUNT(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (italian VARCHAR, english VARCHAR)
### Question:
What's the Italian Pluperfect when the English is We Had Heard?
### Answer:
SELECT italian FROM table_name_83 WHERE english = "we had heard" |
Below is an context that describes a sql 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 (round INTEGER, player VARCHAR)
### Question:
What is the lowest Round of joe patterson?
### Answer:
SELECT MIN(round) FROM table_name_79 WHERE player = "joe patterson" |
Below is an context that describes a sql 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 (year VARCHAR, yards VARCHAR)
### Question:
What year was 2,242 yards achieved?
### Answer:
SELECT year FROM table_name_68 WHERE yards = "2,242" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (score VARCHAR, date VARCHAR)
### Question:
Which score has a Date of october 29, 2008?
### Answer:
SELECT score FROM table_name_70 WHERE date = "october 29, 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (interview INTEGER, evening_gown INTEGER)
### Question:
What is the lowest interview of the contestant with an evening gown bigger than 9.343?
### Answer:
SELECT MIN(interview) FROM table_name_4 WHERE evening_gown > 9.343 |
Below is an context that describes a sql 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 (name VARCHAR, year_retired VARCHAR, position VARCHAR, team VARCHAR)
### Question:
Who was the player in Position G on the Petron Blaze Boosters and retired in 2000?
### Answer:
SELECT name FROM table_name_61 WHERE position = "g" AND team = "petron blaze boosters" AND year_retired = "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_87 (total INTEGER)
### Question:
What is the total of 2013 with 6th?
### Answer:
SELECT MAX(total) FROM table_name_87 WHERE 2013 = "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 CMI_Cross_References (source_system_code VARCHAR, master_customer_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Parking_Fines (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)
### Question:
Wat is the tax source system code and master customer id of the taxes related to each parking fine id?
### Answer:
SELECT T1.source_system_code, T1.master_customer_id, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Parking_Fines AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id |
Below is an context that describes a sql 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 (at_columbia VARCHAR, last_5_meetings VARCHAR)
### Question:
What is the record at Columbia when KU, 4-1 is the record for the last 5 minutes?
### Answer:
SELECT at_columbia FROM table_name_2 WHERE last_5_meetings = "ku, 4-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_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)
### Question:
What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?
### Answer:
SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = "2.0 tdi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (density__2005_ INTEGER, area__km²_ VARCHAR, population__2005_ VARCHAR)
### Question:
Which Density (2005) has an Area (km²) of 340086.7, and a Population (2005) smaller than 5926300?
### Answer:
SELECT SUM(density__2005_) FROM table_name_25 WHERE area__km²_ = 340086.7 AND population__2005_ < 5926300 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1231316_5 (date VARCHAR, nation VARCHAR)
### Question:
Nigeria competed on July2, 1999.
### Answer:
SELECT date FROM table_1231316_5 WHERE nation = "Nigeria" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR)
### Question:
What was the date of the game with a result of won 4-2?
### Answer:
SELECT date FROM table_name_15 WHERE result = "won 4-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 Rating (stars VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, director VARCHAR)
### Question:
For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars.
### Answer:
SELECT DISTINCT T3.name, T2.title, T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.director = T3.name |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1936678_1 (class_1 VARCHAR, best_uk_team VARCHAR, class_1a VARCHAR)
### Question:
Name the class 1-200 for university of hertfordshire for university of warwick
### Answer:
SELECT class_1 - 200 FROM table_1936678_1 WHERE best_uk_team = "University of Hertfordshire" AND class_1a = "University of Warwick" |
Below is an context that describes a 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 (won VARCHAR, try_bonus VARCHAR)
### Question:
HOW MANY GAMES HAD A WIN WITH A BONUS OF 11
### Answer:
SELECT won FROM table_12807904_3 WHERE try_bonus = "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_12 (round VARCHAR, club VARCHAR)
### Question:
What round did the spartak moscow club play?
### Answer:
SELECT round FROM table_name_12 WHERE club = "spartak moscow" |
Below is an context that describes a sql 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 (date VARCHAR, opposing_team VARCHAR)
### Question:
What day was United States the opposing team?
### Answer:
SELECT date FROM table_name_92 WHERE opposing_team = "united states" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21269143_1 (opponent VARCHAR, date VARCHAR)
### Question:
Name the total number of opponets for 05/09/2009
### Answer:
SELECT COUNT(opponent) FROM table_21269143_1 WHERE date = "05/09/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_79 (goals INTEGER, average VARCHAR, matches VARCHAR)
### Question:
For averages of 1.58 and matches under 38, what is the average number of goals?
### Answer:
SELECT AVG(goals) FROM table_name_79 WHERE average = 1.58 AND matches < 38 |
Below is an context that describes a sql 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 (laps VARCHAR, grid VARCHAR)
### Question:
How many laps were in grid 4?
### Answer:
SELECT laps FROM table_name_97 WHERE grid = 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.