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_99 (date VARCHAR, company_name VARCHAR, hardware_model VARCHAR)
### Question:
When did Samsung Electronics Co LTD make the GT-i9100?
### Answer:
SELECT date FROM table_name_99 WHERE company_name = "samsung electronics co ltd" AND hardware_model = "gt-i9100" |
Below is an context that describes a sql 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 (number_of_doses VARCHAR, vaccine VARCHAR)
### Question:
How many doses for the bacillus calmette-guérin?
### Answer:
SELECT number_of_doses FROM table_name_13 WHERE vaccine = "bacillus calmette-guérin" |
Below is an context that describes a sql 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 (score1 VARCHAR, competition_or_tour VARCHAR, match VARCHAR)
### Question:
What is the score of the competition of friendly, at match 7?
### Answer:
SELECT score1 FROM table_name_53 WHERE competition_or_tour = "friendly" AND match = 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_2509202_2 (guanay_municipality VARCHAR, combaya_municipality VARCHAR)
### Question:
What is the number for the guanay municipality when combaya municipality is 0?
### Answer:
SELECT guanay_municipality FROM table_2509202_2 WHERE combaya_municipality = "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_78 (years_as_tallest VARCHAR, name VARCHAR)
### Question:
How many years as tallest building was the Tenth Presbyterian Church?
### Answer:
SELECT years_as_tallest FROM table_name_78 WHERE name = "tenth presbyterian church" |
Below is an context that describes a sql 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 (city_of_license VARCHAR, call_sign VARCHAR)
### Question:
Which City of license has a Call sign of k241an?
### Answer:
SELECT city_of_license FROM table_name_68 WHERE call_sign = "k241an" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2251578_4 (province VARCHAR, district VARCHAR)
### Question:
Which province is in the district of San Antonio de Chuca?
### Answer:
SELECT province FROM table_2251578_4 WHERE district = "San Antonio de Chuca" |
Below is an context that describes a sql 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 (away_team VARCHAR, crowd INTEGER)
### Question:
Which away team has an attendance of more than 17,000?
### Answer:
SELECT away_team FROM table_name_30 WHERE crowd > 17 OFFSET 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_28677723_10 (christer_tornell INTEGER, karianne_gulliksen VARCHAR)
### Question:
What is listed under chister tornell when karianne gulliksen is 7?
### Answer:
SELECT MIN(christer_tornell) FROM table_28677723_10 WHERE karianne_gulliksen = 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_65 (date VARCHAR, time VARCHAR)
### Question:
When was a game played at 7:00 pm?
### Answer:
SELECT date FROM table_name_65 WHERE time = "7:00 pm" |
Below is an context that describes a sql 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 (byes VARCHAR, against VARCHAR, losses VARCHAR)
### Question:
Which Byes have an Against smaller than 1466, and Losses smaller than 6?
### Answer:
SELECT byes FROM table_name_91 WHERE against < 1466 AND losses < 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_24 (semi_final_heat_host VARCHAR, national_final_main_host VARCHAR, national_final_co_host VARCHAR)
### Question:
What was the host for the semi final heat, when Terry Wogan was the National Final main host, and Gaby Roslin was the National Final co-host?
### Answer:
SELECT semi_final_heat_host FROM table_name_24 WHERE national_final_main_host = "terry wogan" AND national_final_co_host = "gaby roslin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26920192_5 (round VARCHAR, series VARCHAR, circuit VARCHAR)
### Question:
How many times is the series italian and the circuit is valencia?
### Answer:
SELECT COUNT(round) FROM table_26920192_5 WHERE series = "Italian" AND circuit = "Valencia" |
Below is an context that describes a sql 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 VARCHAR, catalog VARCHAR)
### Question:
What is the dage of catalog asw 28033?
### Answer:
SELECT date FROM table_name_68 WHERE catalog = "asw 28033" |
Below is an context that describes a sql 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, athlete VARCHAR)
### Question:
On what Date of the race was Nesta Carter the Athlete?
### Answer:
SELECT date FROM table_name_46 WHERE athlete = "nesta carter" |
Below is an context that describes a sql 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 (winning_driver VARCHAR, constructor VARCHAR, race_name VARCHAR)
### Question:
What driver won in the xv grand prix de l'albigeois in a vehicle by ferrari?
### Answer:
SELECT winning_driver FROM table_name_95 WHERE constructor = "ferrari" AND race_name = "xv grand prix de l'albigeois" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20325360_2 (rank VARCHAR)
### Question:
The country, competing in the Mr. International competition, that holds a rank of 3, has how many 2nd runners up?
### Answer:
SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 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_2322716_2 (written_by VARCHAR, prod_code VARCHAR)
### Question:
Name the written by for prod code being 206
### Answer:
SELECT written_by FROM table_2322716_2 WHERE prod_code = 206 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24330912_1 (cuts_made INTEGER, top_10s VARCHAR)
### Question:
When 0 is the top 10's what is the highest amount of cuts made?
### Answer:
SELECT MAX(cuts_made) FROM table_24330912_1 WHERE top_10s = 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_20010140_10 (high_points VARCHAR, date VARCHAR)
### Question:
how many high points where date is february 19
### Answer:
SELECT COUNT(high_points) FROM table_20010140_10 WHERE date = "February 19" |
Below is an context that describes a sql 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 (dob VARCHAR, surname VARCHAR)
### Question:
When is Collins' DOB?
### Answer:
SELECT dob FROM table_name_22 WHERE surname = "collins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22904780_1 (original_air_date VARCHAR, rank__week_ VARCHAR)
### Question:
List the original air date for week 5.
### Answer:
SELECT original_air_date FROM table_22904780_1 WHERE rank__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_2822193_1 (poles INTEGER, races VARCHAR)
### Question:
How many poles are there with 2 races?
### Answer:
SELECT MAX(poles) FROM table_2822193_1 WHERE races = 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_71 (rank INTEGER, rider VARCHAR)
### Question:
How many ranks have michael russell as the rider?
### Answer:
SELECT SUM(rank) FROM table_name_71 WHERE rider = "michael russell" |
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR)
### Question:
Which Competition has the Date July 1, 2000?
### Answer:
SELECT competition FROM table_name_17 WHERE date = "july 1, 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_65 (last_season VARCHAR, team VARCHAR)
### Question:
What is the last season the Worcester Wolves played?
### Answer:
SELECT last_season FROM table_name_65 WHERE team = "worcester wolves" |
Below is an context that describes a sql 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 (time VARCHAR, team VARCHAR, rider VARCHAR)
### Question:
What was the time for Peter Berwick of Team Suzuki?
### Answer:
SELECT time FROM table_name_75 WHERE team = "suzuki" AND rider = "peter berwick" |
Below is an context that describes a sql 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 (try_bonus VARCHAR, points_for VARCHAR)
### Question:
What was the try bonus when the points for was 608?
### Answer:
SELECT try_bonus FROM table_name_56 WHERE points_for = "608" |
Below is an context that describes a sql 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 (winners VARCHAR, venue VARCHAR)
### Question:
Who took the winning slot at the Vojens venue?
### Answer:
SELECT winners FROM table_name_29 WHERE venue = "vojens" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2266990_2 (classification VARCHAR, title VARCHAR)
### Question:
What classifications does Fish Rap live! has?
### Answer:
SELECT classification FROM table_2266990_2 WHERE title = "Fish Rap Live!" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14871601_1 (conceded INTEGER, team VARCHAR)
### Question:
What is the smallest conceded value for the team 12 De Octubre?
### Answer:
SELECT MIN(conceded) FROM table_14871601_1 WHERE team = "12 de Octubre" |
Below is an context that describes a sql 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 (result VARCHAR, goal INTEGER)
### Question:
What's the result of a goal larger than 4?
### Answer:
SELECT result FROM table_name_59 WHERE goal > 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_18904831_6 (date VARCHAR, high_rebounds VARCHAR)
### Question:
When mcwilliams-franklin (8) has the highest rebounds what is the date?
### Answer:
SELECT date FROM table_18904831_6 WHERE high_rebounds = "McWilliams-Franklin (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_81 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR)
### Question:
Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?
### Answer:
SELECT MIN(touchdowns) FROM table_name_81 WHERE points = 5 AND field_goals > 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_76 (date VARCHAR, opponent VARCHAR)
### Question:
On what Date was Wales the Opponent?
### Answer:
SELECT date FROM table_name_76 WHERE opponent = "wales" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (to_par VARCHAR, total VARCHAR, finish VARCHAR)
### Question:
What is To par, when Total is less than 297, and when Finish is "1"?
### Answer:
SELECT to_par FROM table_name_37 WHERE total < 297 AND finish = "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_8 (score VARCHAR, home VARCHAR, record VARCHAR)
### Question:
What is the Score when the Home team is Chicago Black Hawks and the Record is 3-3?
### Answer:
SELECT score FROM table_name_8 WHERE home = "chicago black hawks" AND record = "3-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_52 (grid INTEGER, time_retired VARCHAR)
### Question:
What's the smallest grid for Time/Retired of +22.687?
### Answer:
SELECT MIN(grid) FROM table_name_52 WHERE time_retired = "+22.687" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19982699_1 (dvd_release VARCHAR, director VARCHAR)
### Question:
When was the dvd release directed by Billy O'Brien?
### Answer:
SELECT dvd_release FROM table_19982699_1 WHERE director = "Billy O'Brien" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20860739_1 (round VARCHAR, college VARCHAR)
### Question:
How many rounds did Virginia have?
### Answer:
SELECT round FROM table_20860739_1 WHERE college = "Virginia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23281862_6 (high_rebounds VARCHAR, high_points VARCHAR)
### Question:
Who did the high rebounds in the game where Carl Landry (23) did the most high points?
### Answer:
SELECT high_rebounds FROM table_23281862_6 WHERE high_points = "Carl Landry (23)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10812938_5 (pick__number INTEGER, college VARCHAR)
### Question:
What's the pick number of the player from New Mexico?
### Answer:
SELECT MAX(pick__number) FROM table_10812938_5 WHERE college = "New Mexico" |
Below is an context that describes a sql 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 (opened VARCHAR, major_series VARCHAR)
### Question:
What shows for opened for the Nascar Major Series?
### Answer:
SELECT opened FROM table_name_84 WHERE major_series = "nascar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21550897_1 (original_air_date VARCHAR, _number VARCHAR)
### Question:
How many times did episode 6 originally air?
### Answer:
SELECT COUNT(original_air_date) FROM table_21550897_1 WHERE _number = 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_2374338_2 (serbs VARCHAR, hungarians VARCHAR)
### Question:
What is every value for Serbs if value for Hungarians is 9.26%?
### Answer:
SELECT serbs FROM table_2374338_2 WHERE hungarians = "9.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_97 (tournament VARCHAR)
### Question:
What Tournament of canada happened in 1998?
### Answer:
SELECT 1998 FROM table_name_97 WHERE tournament = "canada" |
Below is an context that describes a sql 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 (played INTEGER, team VARCHAR)
### Question:
What is the highest amount of plays for fluminense?
### Answer:
SELECT MAX(played) FROM table_name_97 WHERE team = "fluminense" |
Below is an context that describes a sql 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 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_title VARCHAR)
### Question:
What title was used in the nomination of the Spanish language film Traffic?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_43 WHERE language = "spanish" AND original_title = "traffic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30007505_1 (total INTEGER, country_territory VARCHAR)
### Question:
Name the most total for south korea
### Answer:
SELECT MAX(total) FROM table_30007505_1 WHERE country_territory = "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_99 (chorley INTEGER, preston VARCHAR, west_lancashire VARCHAR)
### Question:
What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire?
### Answer:
SELECT MIN(chorley) FROM table_name_99 WHERE preston = 6 AND west_lancashire < 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_65 (name VARCHAR, area VARCHAR)
### Question:
Which name has an Area of makarewa?
### Answer:
SELECT name FROM table_name_65 WHERE area = "makarewa" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What is the home teams score when north melbourne is the away team?
### Answer:
SELECT home_team AS score FROM table_name_87 WHERE away_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20195922_3 (odds_of_winning__1in_ VARCHAR, divisions VARCHAR)
### Question:
How many odd of winning have 6th as the division?
### Answer:
SELECT odds_of_winning__1in_ FROM table_20195922_3 WHERE divisions = "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_1425948_1 (number_in_fleet INTEGER, chassis_manufacturer VARCHAR, fleet_numbers VARCHAR)
### Question:
what is smallest number in fleet for chassis manufacturer Scania and fleet numbers is 3230?
### Answer:
SELECT MIN(number_in_fleet) FROM table_1425948_1 WHERE chassis_manufacturer = "Scania" AND fleet_numbers = "3230" |
Below is an context that describes a sql 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 (finish INTEGER, year VARCHAR, manufacturer VARCHAR, start VARCHAR)
### Question:
Before 2008, if the Manufacturer is dodge and the start is under 9, what's the highest finish time?
### Answer:
SELECT MAX(finish) FROM table_name_17 WHERE manufacturer = "dodge" AND start < 9 AND year < 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_49 (name VARCHAR, goals VARCHAR)
### Question:
Which name had 6 goals?
### Answer:
SELECT name FROM table_name_49 WHERE goals = 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_23918997_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who were all the writers whose episodes had 0.97 million viewers?
### Answer:
SELECT written_by FROM table_23918997_1 WHERE us_viewers__million_ = "0.97" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE course (title VARCHAR, dept_name VARCHAR)
### Question:
Find the title of course that is provided by both Statistics and Psychology departments.
### Answer:
SELECT title FROM course WHERE dept_name = 'Statistics' INTERSECT SELECT title FROM course WHERE dept_name = 'Psychology' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)
### Question:
What is the Alpha 2 code for the area also known as TCA?
### Answer:
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = "TCA" |
Below is an context that describes a sql 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 (founded INTEGER, municipality VARCHAR, population__2010_ VARCHAR)
### Question:
In what year was Yauco, which had over 42,043 people in 2010, founded?
### Answer:
SELECT AVG(founded) FROM table_name_9 WHERE municipality = "yauco" AND population__2010_ > 42 OFFSET 043 |
Below is an context that describes a sql 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 (home_team VARCHAR, crowd INTEGER)
### Question:
When the Crowd was larger than 25,000. what was the Home Team score?
### Answer:
SELECT home_team AS score FROM table_name_44 WHERE crowd > 25 OFFSET 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_74 (player VARCHAR, school_club_team VARCHAR)
### Question:
Which player attended school at Georgia Tech?
### Answer:
SELECT player FROM table_name_74 WHERE school_club_team = "georgia tech" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (overall INTEGER, school_club_team VARCHAR, round VARCHAR)
### Question:
What is the average overall rank of all players drafted from Duke after round 9?
### Answer:
SELECT AVG(overall) FROM table_name_49 WHERE school_club_team = "duke" AND round > 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_84 (points INTEGER, entrant VARCHAR, year VARCHAR)
### Question:
Before the year 1988, what is the lowest number of points that entrant Coloni SpA scored?
### Answer:
SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988 |
Below is an context that describes a sql 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 (grid INTEGER, driver VARCHAR)
### Question:
Which Grid did Alain Prost drive on?
### Answer:
SELECT SUM(grid) FROM table_name_39 WHERE driver = "alain prost" |
Below is an context that describes a sql 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 (byes INTEGER, against VARCHAR, losses VARCHAR, ballarat_fl VARCHAR)
### Question:
What is the largest byes with lost games of 4 and Ballarat FL of Melton and the against less than 1819?
### Answer:
SELECT MAX(byes) FROM table_name_3 WHERE losses = 4 AND ballarat_fl = "melton" AND against < 1819 |
Below is an context that describes a sql 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 (finish VARCHAR, country VARCHAR)
### Question:
What was the finish for England?
### Answer:
SELECT finish FROM table_name_76 WHERE country = "england" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, doubles_w_l VARCHAR, total_w_l VARCHAR)
### Question:
what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1
### Answer:
SELECT COUNT(singles_w_l) FROM table_10023387_1 WHERE doubles_w_l = "0–0" AND total_w_l = "3–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_52 (label VARCHAR, date VARCHAR)
### Question:
Which label has a date of 1987?
### Answer:
SELECT label FROM table_name_52 WHERE date = "1987" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_242813_2 (league VARCHAR, strikeouts VARCHAR)
### Question:
Name the league for strikeouts being 451
### Answer:
SELECT league FROM table_242813_2 WHERE strikeouts = 451 |
Below is an context that describes a sql 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 (attendance INTEGER, record VARCHAR)
### Question:
What was the attendance when their record stood at 0-2-2?
### Answer:
SELECT SUM(attendance) FROM table_name_5 WHERE record = "0-2-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_52 (opponent VARCHAR, score VARCHAR)
### Question:
Which Opponent has a Score of 3–6, 5–7?
### Answer:
SELECT opponent FROM table_name_52 WHERE score = "3–6, 5–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_256286_43 (_percentage_yes VARCHAR, type VARCHAR)
### Question:
What is every value for %yes when type is ref?
### Answer:
SELECT _percentage_yes FROM table_256286_43 WHERE type = "Ref" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Faculty (Rank VARCHAR, building VARCHAR)
### Question:
How many Professors are in building NEB?
### Answer:
SELECT COUNT(*) FROM Faculty WHERE Rank = "Professor" AND building = "NEB" |
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, school VARCHAR)
### Question:
What is the IHSAA class for Tipton?
### Answer:
SELECT ihsaa_class FROM table_name_3 WHERE school = "tipton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16078390_2 (location VARCHAR, team_nickname VARCHAR)
### Question:
Where is the university located that's nicknamed the Wolves?
### Answer:
SELECT location FROM table_16078390_2 WHERE team_nickname = "Wolves" |
Below is an context that describes a sql 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 (year INTEGER, chassis VARCHAR)
### Question:
What's the top year with the Chassis ats hs1?
### Answer:
SELECT MAX(year) FROM table_name_33 WHERE chassis = "ats hs1" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is Tournament, when 1996 is "1R", and when 1990 is "SF"?
### Answer:
SELECT tournament FROM table_name_92 WHERE 1996 = "1r" AND 1990 = "sf" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (week VARCHAR, date VARCHAR)
### Question:
What week was it on November 19, 1995?
### Answer:
SELECT week FROM table_name_87 WHERE date = "november 19, 1995" |
Below is an context that describes a sql 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 (psip_short_name VARCHAR, channel INTEGER)
### Question:
What is the short name for a channelgreater than 63.4?
### Answer:
SELECT psip_short_name FROM table_name_55 WHERE channel > 63.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_61 (qual VARCHAR, start VARCHAR)
### Question:
Name the qual with start of totals
### Answer:
SELECT qual FROM table_name_61 WHERE start = "totals" |
Below is an context that describes a sql 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 (title VARCHAR, original_air_date VARCHAR, season__number VARCHAR, directed_by VARCHAR)
### Question:
What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov?
### Answer:
SELECT title FROM table_name_69 WHERE season__number < 10 AND directed_by = "milan cheylov" AND original_air_date = "september 29, 1997" |
Below is an context that describes a sql 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 (episodes INTEGER, tv_station VARCHAR, romaji_title VARCHAR)
### Question:
What is the episode on Fuji TV titled Absolute Boyfriend?
### Answer:
SELECT MIN(episodes) FROM table_name_98 WHERE tv_station = "fuji tv" AND romaji_title = "absolute boyfriend" |
Below is an context that describes a sql 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 (high_points VARCHAR, high_rebounds VARCHAR)
### Question:
What is the High points of charles oakley , kevin willis (11)?
### Answer:
SELECT high_points FROM table_name_55 WHERE high_rebounds = "charles oakley , kevin willis (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_78 (name VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)
### Question:
What Name has a Winning constructor of bugatti, and a Winning driver of louis chiron?
### Answer:
SELECT name FROM table_name_78 WHERE winning_constructor = "bugatti" AND winning_driver = "louis chiron" |
Below is an context that describes a sql 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 (sr VARCHAR, average VARCHAR, runs_scored VARCHAR)
### Question:
Which S.R. has a Average smaller than 23.63 Runs Scored of 49?
### Answer:
SELECT sr FROM table_name_46 WHERE average < 23.63 AND runs_scored = 49 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15412381_5 (wheels VARCHAR, lms_nos VARCHAR)
### Question:
How many figures are there for wheels for LMS numbers 16377-9?
### Answer:
SELECT COUNT(wheels) FROM table_15412381_5 WHERE lms_nos = "16377-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_21146729_6 (series__number VARCHAR, original_airdate VARCHAR)
### Question:
How many of the series # when the original airdate is september 25, 1967?
### Answer:
SELECT COUNT(series__number) FROM table_21146729_6 WHERE original_airdate = "September 25, 1967" |
Below is an context that describes a sql 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 (game INTEGER, high_points VARCHAR, team VARCHAR)
### Question:
What is the sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"?
### Answer:
SELECT SUM(game) FROM table_name_35 WHERE high_points = "d. mckey (24)" AND team = "@ dallas mavericks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29152820_1 (no_in_season VARCHAR, no_in_series VARCHAR)
### Question:
How many episodes are 122 in the series?
### Answer:
SELECT COUNT(no_in_season) FROM table_29152820_1 WHERE no_in_series = 122 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR)
### Question:
Name the total for jamie carragher
### Answer:
SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher" |
Below is an context that describes a sql 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 (acquis_chapters_open_closed VARCHAR, membership_application VARCHAR)
### Question:
What is the acquis chapter open/closed dates with a membership application in 2009-04-28?
### Answer:
SELECT acquis_chapters_open_closed FROM table_name_44 WHERE membership_application = "2009-04-28" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25539502_1 (season INTEGER, podiums VARCHAR)
### Question:
What is the latest season where he had 1 podium?
### Answer:
SELECT MAX(season) FROM table_25539502_1 WHERE podiums = 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_14 (goals_for INTEGER, goals_against VARCHAR, points VARCHAR, position VARCHAR)
### Question:
What is the sum of the goals with less than 30 points, a position less than 10, and more than 57 goals against?
### Answer:
SELECT SUM(goals_for) FROM table_name_14 WHERE points < 30 AND position < 10 AND goals_against > 57 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (weblink VARCHAR, college_or_campus_name VARCHAR)
### Question:
What Weblink has a College or Campus Name of anna university college of engineering tindivanam?
### Answer:
SELECT weblink FROM table_name_76 WHERE college_or_campus_name = "anna university college of engineering tindivanam" |
Below is an context that describes a sql 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 (total INTEGER, nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
What is the average Total, when Bronze is greater than 0, when Silver is greater than 0, when Gold is greater than 2, and when Nation is Soviet Union?
### Answer:
SELECT AVG(total) FROM table_name_75 WHERE bronze > 0 AND silver > 0 AND gold > 2 AND nation = "soviet union" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (qual_1 VARCHAR, qual_2 VARCHAR, best VARCHAR)
### Question:
What is the qual 1 when the qual 2 has no time and the best is 1:16.776?
### Answer:
SELECT qual_1 FROM table_name_94 WHERE qual_2 = "no time" AND best = "1:16.776" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (tournament VARCHAR, opponent VARCHAR)
### Question:
In what tournament did Cipolla face Sergio Roitman?
### Answer:
SELECT tournament FROM table_name_5 WHERE opponent = "sergio roitman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26313243_1 (fsi_2012 VARCHAR, cpi_2012 VARCHAR)
### Question:
Name the fsi 2012 for 42.7 cpi
### Answer:
SELECT fsi_2012 FROM table_26313243_1 WHERE cpi_2012 = "42.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_25604014_9 (directed_by VARCHAR, production_code VARCHAR)
### Question:
Name who directed the production code 1l10
### Answer:
SELECT directed_by FROM table_25604014_9 WHERE production_code = "1L10" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.