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_38 (evening_gown INTEGER, interview VARCHAR, average VARCHAR, swimsuit VARCHAR)
### Question:
Name the most evening gown for average less than 8.793 with interview of 8.51 and swimsuit less than 8.12
### Answer:
SELECT MAX(evening_gown) FROM table_name_38 WHERE average < 8.793 AND swimsuit < 8.12 AND interview = 8.51 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24620684_2 (vehicle VARCHAR, epa_rated_combined_fuel_economy VARCHAR)
### Question:
When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type?
### Answer:
SELECT vehicle FROM table_24620684_2 WHERE epa_rated_combined_fuel_economy = "102 mpg-e (33kW-hrs/100mi)" |
Below is an context that describes a sql 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 (team VARCHAR, driver VARCHAR, laps VARCHAR, points VARCHAR)
### Question:
When Patrick Carpentier is driving and has less than 19 points with 90 laps, what team is racing?
### Answer:
SELECT team FROM table_name_43 WHERE laps = 90 AND points < 19 AND driver = "patrick carpentier" |
Below is an context that describes a sql 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 (rank INTEGER, silver VARCHAR, bronze VARCHAR)
### Question:
What is the highest rank a team with 1 silver and less than 5 bronze medals has?
### Answer:
SELECT MAX(rank) FROM table_name_66 WHERE silver = 1 AND bronze < 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_22848931_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
### Question:
Name the outgoing manager for 10 june 2009
### Answer:
SELECT COUNT(outgoing_manager) FROM table_22848931_3 WHERE date_of_vacancy = "10 June 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_13 (wkts VARCHAR, econ VARCHAR)
### Question:
Tell me the wkts for econ of 4.23
### Answer:
SELECT wkts FROM table_name_13 WHERE econ = "4.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_name_52 (game_site VARCHAR, opponent VARCHAR)
### Question:
where was the game site when the opponent was san diego chargers?
### Answer:
SELECT game_site FROM table_name_52 WHERE opponent = "san diego chargers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22903773_2 (date VARCHAR, record VARCHAR)
### Question:
What game date had a record of 17-7?
### Answer:
SELECT date FROM table_22903773_2 WHERE record = "17-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_84 (margin_of_victory VARCHAR, tournament VARCHAR)
### Question:
What was the Margin of victory in the southwest golf classic Tournament?
### Answer:
SELECT margin_of_victory FROM table_name_84 WHERE tournament = "southwest golf classic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26309085_1 (surface VARCHAR, partner VARCHAR)
### Question:
What was the surface when he played with John Alexander?
### Answer:
SELECT surface FROM table_26309085_1 WHERE partner = "John Alexander" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE debate (Venue VARCHAR, Num_of_Audience VARCHAR)
### Question:
List the venues of debates in ascending order of the number of audience.
### Answer:
SELECT Venue FROM debate ORDER BY Num_of_Audience |
Below is an context that describes a sql 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 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)
### Question:
What is the name of the stone found in Andhra Pradesh, India?
### Answer:
SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh" |
Below is an context that describes a sql 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 (overall INTEGER, name VARCHAR, pick VARCHAR)
### Question:
When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick found?
### Answer:
SELECT MAX(overall) FROM table_name_15 WHERE name = "chris horton" AND pick < 42 |
Below is an context that describes a sql 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 (round INTEGER, time VARCHAR)
### Question:
What is the highest Round that lasted 1:44?
### Answer:
SELECT MAX(round) FROM table_name_94 WHERE time = "1: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_13464416_4 (high_points VARCHAR, game VARCHAR)
### Question:
Who were the high point scorers in game 7?
### Answer:
SELECT high_points FROM table_13464416_4 WHERE game = 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_82 (opponent VARCHAR, loss VARCHAR)
### Question:
Who was the opponent at the game that had a loss of Leonard (7–8)?
### Answer:
SELECT opponent FROM table_name_82 WHERE loss = "leonard (7–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_23 (date VARCHAR, country VARCHAR)
### Question:
What was the date of the tournament held in Indonesia?
### Answer:
SELECT date FROM table_name_23 WHERE country = "indonesia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR)
### Question:
How many laps have an average speed (mph) of 140.22?
### Answer:
SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = "140.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_22583466_5 (race_caller VARCHAR, year VARCHAR)
### Question:
Who called the race in 1978?
### Answer:
SELECT race_caller FROM table_22583466_5 WHERE year = 1978 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (points VARCHAR, chassis VARCHAR, entrant VARCHAR, year VARCHAR)
### Question:
Name the total number of points for beta team march 1975 and chassis of march 751
### Answer:
SELECT COUNT(points) FROM table_name_86 WHERE entrant = "beta team march" AND year = 1975 AND chassis = "march 751" |
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR, date VARCHAR)
### Question:
Name the lowest Crowd of hisense arena on 8 february?
### Answer:
SELECT MIN(crowd) FROM table_name_29 WHERE venue = "hisense arena" AND date = "8 february" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
### Question:
Who has a grid smaller than 24, less than 61 laps, and a ferrari constructor?
### Answer:
SELECT driver FROM table_name_74 WHERE grid < 24 AND laps < 61 AND constructor = "ferrari" |
Below is an context that describes a sql 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 (record VARCHAR, week VARCHAR, date VARCHAR)
### Question:
What was the record in a week less than 13 on November 9, 2003?
### Answer:
SELECT record FROM table_name_69 WHERE week < 13 AND date = "november 9, 2003" |
Below is an context that describes a sql 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 (runs VARCHAR, venue VARCHAR, player VARCHAR)
### Question:
Name the Runs that has a Venue of bellerive oval , hobart, and a Player of travis birt?
### Answer:
SELECT runs FROM table_name_2 WHERE venue = "bellerive oval , hobart" AND player = "travis birt" |
Below is an context that describes a sql 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 (rider VARCHAR, year VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR)
### Question:
Who is the rider with less than 50 final position-tours and less than 11 final position-vuelta before 2008?
### Answer:
SELECT rider FROM table_name_50 WHERE final_position___tour < 50 AND final_position___vuelta < 11 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_54 (front_side_bus VARCHAR, model_number VARCHAR)
### Question:
What is the Front Side Bus for Model Number c3 850?
### Answer:
SELECT front_side_bus FROM table_name_54 WHERE model_number = "c3 850" |
Below is an context that describes a sql 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 (income_inequality_1994_2011__latest_available_ VARCHAR, country VARCHAR)
### Question:
What is the current income inequality for the country of Seychelles?
### Answer:
SELECT income_inequality_1994_2011__latest_available_ FROM table_name_15 WHERE country = "seychelles" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1973729_1 (joined INTEGER, nickname VARCHAR)
### Question:
In what year did the Lions join?
### Answer:
SELECT MIN(joined) FROM table_1973729_1 WHERE nickname = "Lions" |
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR)
### Question:
What was the attendance when they played at Dallas Cowboys?
### Answer:
SELECT attendance FROM table_name_69 WHERE opponent = "at dallas cowboys" |
Below is an context that describes a sql 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 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)
### Question:
What's the capacity that has the highest greater than 1,763 and is at Hampden Park?
### Answer:
SELECT MIN(capacity) FROM table_name_37 WHERE stadium = "hampden park" AND highest > 1 OFFSET 763 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR)
### Question:
Who is the top goalscorer for the season 2010-11?
### Answer:
SELECT top_goalscorer FROM table_2429942_2 WHERE season = "2010-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_33 (gold INTEGER, silver VARCHAR, edition VARCHAR)
### Question:
What is the lowest VIII Edition Gold with a Silver of 4?
### Answer:
SELECT MIN(gold) FROM table_name_33 WHERE silver = 4 AND edition = "viii" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16278602_1 (seat_of_administration VARCHAR, largest_city VARCHAR)
### Question:
In the region where Roskilde is the largest city, what is the seat of administration?
### Answer:
SELECT seat_of_administration FROM table_16278602_1 WHERE largest_city = "Roskilde" |
Below is an context that describes a sql 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 (winner VARCHAR, runner_up VARCHAR)
### Question:
What team was the winner when the runner-up shows both teams awarded championship after a draw.?
### Answer:
SELECT winner FROM table_name_26 WHERE runner_up = "both teams awarded championship after a draw." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR)
### Question:
How many Extra Points were scored by the Player who had 5 Points and less than 1 Touchdowns?
### Answer:
SELECT MIN(extra_points) FROM table_name_6 WHERE points = 5 AND touchdowns < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR)
### Question:
What was the date of the Mariners game when they had a record of 53–17?
### Answer:
SELECT date FROM table_name_49 WHERE record = "53–17" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR)
### Question:
What is the content of la7 television service?
### Answer:
SELECT content FROM table_15887683_1 WHERE television_service = "LA7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE management (temporary_acting VARCHAR)
### Question:
How many acting statuses are there?
### Answer:
SELECT COUNT(DISTINCT temporary_acting) FROM management |
Below is an context that describes a sql 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 (character VARCHAR, original_west_end_cast VARCHAR)
### Question:
What character did Katie Rowley Jones play in the Original West End Cast?
### Answer:
SELECT character FROM table_name_22 WHERE original_west_end_cast = "katie rowley jones" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR)
### Question:
How many Laps have a Time/Retired of +1:42.517, and a Grid larger than 33?
### Answer:
SELECT COUNT(laps) FROM table_name_67 WHERE time_retired = "+1:42.517" AND grid > 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 city (Name VARCHAR, County_ID VARCHAR); CREATE TABLE county_public_safety (Name VARCHAR, County_ID VARCHAR)
### Question:
Show names of cities and names of counties they are in.
### Answer:
SELECT T1.Name, T2.Name FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_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 professor (prof_high_degree VARCHAR, emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR)
### Question:
Find the first names and degree of all professors who are teaching some class in Computer Info. Systems department.
### Answer:
SELECT DISTINCT T2.emp_fname, T3.prof_high_degree FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Computer Info. Systems' |
Below is an context that describes a sql 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 (tongyong VARCHAR, hanyu VARCHAR)
### Question:
Where in Tongyong is Hanyu Sanmin?
### Answer:
SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE city (city VARCHAR, regional_population VARCHAR)
### Question:
Which three cities have the largest regional population?
### Answer:
SELECT city FROM city ORDER BY regional_population DESC LIMIT 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_4 (race_3 VARCHAR, round VARCHAR)
### Question:
What Race 3 is Round 5?
### Answer:
SELECT race_3 FROM table_name_4 WHERE round = "round 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_91 (psychological_dependence VARCHAR, pleasure VARCHAR, mean VARCHAR)
### Question:
What is the total number of Psychological Dependence, when Pleasure is "2.3", and when Mean is less than 1.9300000000000002?
### Answer:
SELECT COUNT(psychological_dependence) FROM table_name_91 WHERE pleasure = 2.3 AND mean < 1.9300000000000002 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (score VARCHAR, set_3 VARCHAR)
### Question:
What was the overall score when the score of set 3 was 29–27?
### Answer:
SELECT score FROM table_name_63 WHERE set_3 = "29–27" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (official_name VARCHAR, area_km_2 VARCHAR)
### Question:
With an area km 2 of 343.95 what is the official name?
### Answer:
SELECT official_name FROM table_name_38 WHERE area_km_2 = 343.95 |
Below is an context that describes a sql 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 (score VARCHAR, place VARCHAR)
### Question:
What was the score when the place was t8?
### Answer:
SELECT score FROM table_name_96 WHERE place = "t8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (visitor VARCHAR, date VARCHAR)
### Question:
What team was the visitor on 3/2?
### Answer:
SELECT visitor FROM table_name_72 WHERE date = "3/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_54 (circuit VARCHAR, winning_driver VARCHAR)
### Question:
Which circuit did françois eysermann win ?
### Answer:
SELECT circuit FROM table_name_54 WHERE winning_driver = "françois eysermann" |
Below is an context that describes a sql 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 (laps VARCHAR, grid VARCHAR)
### Question:
What is the total laps for grid 19?
### Answer:
SELECT COUNT(laps) FROM table_name_24 WHERE grid = 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_15 (chassis VARCHAR, rounds VARCHAR, entrant VARCHAR)
### Question:
Which chassis had Rounds of 7, and an Entrant of Ecurie Rosier?
### Answer:
SELECT chassis FROM table_name_15 WHERE rounds = "7" AND entrant = "ecurie rosier" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR)
### Question:
How many mens doubles took place in 1970/1971?
### Answer:
SELECT COUNT(mens_doubles) FROM table_12266757_1 WHERE season = "1970/1971" |
Below is an context that describes a sql 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 (rank VARCHAR, floors VARCHAR)
### Question:
What ranking is the structure with 01.0 87 floors?
### Answer:
SELECT rank FROM table_name_51 WHERE floors = "01.0 87" |
Below is an context that describes a sql 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 (position VARCHAR, nationality VARCHAR, player VARCHAR)
### Question:
What's the position when the player was Justin Mapp Category:articles with hcards with a United States nationality?
### Answer:
SELECT position FROM table_name_36 WHERE nationality = "united states" AND player = "justin mapp category:articles with hcards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR)
### Question:
What is the total number of rounds that Joe Barnes was picked?
### Answer:
SELECT COUNT(round) FROM table_name_34 WHERE player = "joe barnes" |
Below is an context that describes a sql 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 (south_marquesan VARCHAR, sāmoan VARCHAR)
### Question:
What kind of South Marquesan has a Sāmoan of /matua/?
### Answer:
SELECT south_marquesan FROM table_name_67 WHERE sāmoan = "/matua/" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2196127_1 (miles__km_ VARCHAR, race_time VARCHAR)
### Question:
How many numbers were recorded under miles for the 3:00:46 race time?
### Answer:
SELECT COUNT(miles__km_) FROM table_2196127_1 WHERE race_time = "3:00:46" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (wicket VARCHAR, batting_partners VARCHAR, fielding_team VARCHAR)
### Question:
What was the wicket ranking for the match featuring partners Mohammad Azharuddin and Ajay Jadeja and also a fielding team of Sri Lanka?
### Answer:
SELECT wicket FROM table_name_93 WHERE batting_partners = "mohammad azharuddin and ajay jadeja" AND fielding_team = "sri lanka" |
Below is an context that describes a sql 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 (leading_scorer VARCHAR, score VARCHAR)
### Question:
What Leading scorer had a Score of 80–112?
### Answer:
SELECT leading_scorer FROM table_name_98 WHERE score = "80–112" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2603017_2 (ba___running_bear VARCHAR, b___bishop VARCHAR)
### Question:
what is ba - running bear where b - bishop is rn - running stag?
### Answer:
SELECT ba___running_bear FROM table_2603017_2 WHERE b___bishop = "RN - Running Stag" |
Below is an context that describes a sql 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 (name VARCHAR, number_of_electorates__2009_ INTEGER)
### Question:
Which Name has a Number of electorates (2009) greater than 188,799?
### Answer:
SELECT name FROM table_name_56 WHERE number_of_electorates__2009_ > 188 OFFSET 799 |
Below is an context that describes 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, course_id VARCHAR); CREATE TABLE SECTION (course_id VARCHAR)
### Question:
What is the title of the course that was offered at building Chandler during the fall semester in the year of 2010?
### Answer:
SELECT T1.title FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE building = 'Chandler' AND semester = 'Fall' AND YEAR = 2010 |
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR, date VARCHAR)
### Question:
What is the Result of Week larger than 3 on 1971-11-07?
### Answer:
SELECT result FROM table_name_94 WHERE week > 3 AND date = "1971-11-07" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
when was the episode with production code "2arg01" originally aired?
### Answer:
SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG01" |
Below is an context that describes a sql 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 (country VARCHAR, location VARCHAR)
### Question:
What country in Kunlong in?
### Answer:
SELECT country FROM table_name_46 WHERE location = "kunlong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1603807_2 (status VARCHAR, line VARCHAR)
### Question:
What is the status of the airport line?
### Answer:
SELECT status FROM table_1603807_2 WHERE line = "Airport 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 table_name_31 (artist VARCHAR, year VARCHAR, composer VARCHAR)
### Question:
What artist shows 2007 and composer of Hayko?
### Answer:
SELECT artist FROM table_name_31 WHERE year = 2007 AND composer = "hayko" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, date_in_service VARCHAR)
### Question:
Who was the turbine manufacturer of the wind farm that started service on 2005?
### Answer:
SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (eliminated_by VARCHAR, elimination VARCHAR)
### Question:
Who's the eliminated by when the elimination was 1?
### Answer:
SELECT eliminated_by FROM table_name_61 WHERE elimination = "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_262560_2 (institution VARCHAR, joined VARCHAR, left VARCHAR)
### Question:
What school joined the conference in 1996-97 and left it in 2011-12?
### Answer:
SELECT institution FROM table_262560_2 WHERE joined = "1996-97" AND left = "2011-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_name_16 (place VARCHAR, country VARCHAR)
### Question:
What place has Wales as a country?
### Answer:
SELECT place FROM table_name_16 WHERE country = "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_83 (industry VARCHAR, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
### Question:
For which industry was the profit smaller than 14.2 billion and the assets larger than 2,467.9 billion?
### Answer:
SELECT industry FROM table_name_83 WHERE profits__billion_$_ < 14.2 AND assets__billion_$_ > 2 OFFSET 467.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_9 (took_office INTEGER, deputy_prime_minister VARCHAR)
### Question:
What year did deputy prime minister Mariano Rajoy Brey take office?
### Answer:
SELECT SUM(took_office) FROM table_name_9 WHERE deputy_prime_minister = "mariano rajoy brey" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, date_left VARCHAR)
### Question:
Who is the earliest graduate of the school? List the first name, middle name and last name.
### Answer:
SELECT first_name, middle_name, last_name FROM Students ORDER BY date_left LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (november INTEGER, game INTEGER)
### Question:
What is the sum of November, when Game is greater than 23?
### Answer:
SELECT SUM(november) FROM table_name_40 WHERE game > 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_name_23 (result VARCHAR, rank_number VARCHAR, date VARCHAR)
### Question:
What was the result for Rank 2 on December 6, 1969?
### Answer:
SELECT result FROM table_name_23 WHERE rank_number = "2" AND date = "december 6, 1969" |
Below is an context that describes a sql 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 (set_2 VARCHAR, set_3 VARCHAR, time VARCHAR)
### Question:
Which Set 2 has a Set 3 of 25–20, and a Time of 13:45?
### Answer:
SELECT set_2 FROM table_name_5 WHERE set_3 = "25–20" AND time = "13: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_51 (rank VARCHAR, qual VARCHAR)
### Question:
How did Johnnie Parsons finish when his qualifying time was 135.328?
### Answer:
SELECT rank FROM table_name_51 WHERE qual = "135.328" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Student (fname VARCHAR, lname VARCHAR, StuID VARCHAR); CREATE TABLE Participates_in (StuID VARCHAR)
### Question:
What is the first and last name of the student participating in the most activities?
### Answer:
SELECT T1.fname, T1.lname FROM Student AS T1 JOIN Participates_in AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (grid VARCHAR, driver VARCHAR)
### Question:
How many grid numbers were there for the driver Giancarlo Fisichella?
### Answer:
SELECT COUNT(grid) FROM table_name_3 WHERE driver = "giancarlo fisichella" |
Below is an context that describes a sql 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 (react INTEGER, points VARCHAR)
### Question:
If a country has 1008 points what's their reaction time?
### Answer:
SELECT MAX(react) FROM table_name_84 WHERE points = 1008 |
Below is an context that describes a sql 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 (time___et__ VARCHAR, record VARCHAR)
### Question:
What time was the game played that had a record of 0–2–0?
### Answer:
SELECT time___et__ FROM table_name_56 WHERE record = "0–2–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_17 (result VARCHAR, round VARCHAR)
### Question:
What is the result when the round shows 34?
### Answer:
SELECT result FROM table_name_17 WHERE round = 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_name_16 (club VARCHAR, points_for VARCHAR)
### Question:
Which club has 275 points?
### Answer:
SELECT club FROM table_name_16 WHERE points_for = "275" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28628309_9 (category VARCHAR, player VARCHAR)
### Question:
What are the names of the categories when the player is olsen racela?
### Answer:
SELECT category FROM table_28628309_9 WHERE player = "Olsen Racela" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19948664_2 (author___editor___source VARCHAR, ranking_la__2_ VARCHAR)
### Question:
What was the author/editor/source when the l.a. ranking was 1st?
### Answer:
SELECT author___editor___source FROM table_19948664_2 WHERE ranking_la__2_ = "1st" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (pick INTEGER, player VARCHAR, round VARCHAR)
### Question:
What is the pick for Mickey Johnson with fewer than 4 rounds?
### Answer:
SELECT SUM(pick) FROM table_name_19 WHERE player = "mickey johnson" AND round < 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_1566850_9 (centerfold_model VARCHAR)
### Question:
Who was asked 20 questions in the issue where the centerfold is Marliece Andrada?
### Answer:
SELECT 20 AS _questions FROM table_1566850_9 WHERE centerfold_model = "Marliece Andrada" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE votes (state VARCHAR)
### Question:
What are the number of votes from state 'NY' or 'CA'?
### Answer:
SELECT COUNT(*) FROM votes WHERE state = 'NY' OR state = 'CA' |
Below is an context that describes a sql 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 (label VARCHAR, date VARCHAR, catalog VARCHAR)
### Question:
Which label had a catalog of 54513 in 1988?
### Answer:
SELECT label FROM table_name_47 WHERE date = "1988" AND catalog = "54513" |
Below is an context that describes a sql 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 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
### Question:
In what City/State did John Bowe win at Phillip Island Grand Prix Circuit?
### Answer:
SELECT city___state FROM table_name_12 WHERE winner = "john bowe" AND circuit = "phillip island grand prix circuit" |
Below is an context that describes a sql 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 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)
### Question:
Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams?
### Answer:
SELECT description FROM table_name_8 WHERE year_of_issue = 1983 AND thickness = "1.7mm" AND weight = "3.50grams" |
Below is an context that describes a sql 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 (stories INTEGER, height__m_ VARCHAR, location VARCHAR, year_of_completion VARCHAR)
### Question:
What is the largest number of stories in Recife completed later than 2007 with a height less than 135 meters?
### Answer:
SELECT MAX(stories) FROM table_name_38 WHERE location = "recife" AND year_of_completion > 2007 AND height__m_ < 135 |
Below is an context that describes a sql 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 (home__2nd_leg_ VARCHAR)
### Question:
What was the score on the first leg when gimnasia de mendoza played at home for the second leg?
### Answer:
SELECT 1 AS st_leg FROM table_name_57 WHERE home__2nd_leg_ = "gimnasia de mendoza" |
Below is an context that describes a sql 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 (language VARCHAR, television_service VARCHAR)
### Question:
What is the Language that has sky tg 24 active as the Television service?
### Answer:
SELECT language FROM table_name_83 WHERE television_service = "sky tg 24 active" |
Below is an context that describes a sql 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 (games INTEGER, season VARCHAR, average VARCHAR)
### Question:
What is the maximum number of games when the season is more recent than 2001 and the average is less than 10,838?
### Answer:
SELECT MAX(games) FROM table_name_90 WHERE season > 2001 AND average < 10 OFFSET 838 |
Below is an context that describes a sql 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 (artist VARCHAR, place VARCHAR, points VARCHAR)
### Question:
Which artist had a place larger than 1 with 229 points?
### Answer:
SELECT artist FROM table_name_51 WHERE place > 1 AND points = 229 |
Below is an context that describes a sql 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 (fsb_ht_frequency__mhz_ VARCHAR, sata VARCHAR, memory VARCHAR)
### Question:
Which FSB/HT frequency (MHz) has a SATA larger than 6 and DDR 266/333/400 Registered/ECC memory?
### Answer:
SELECT fsb_ht_frequency__mhz_ FROM table_name_79 WHERE sata > 6 AND memory = "ddr 266/333/400 registered/ecc" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.