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_66 (class VARCHAR, year VARCHAR, points VARCHAR)
### Question:
What class before 1990 has points of 33?
### Answer:
SELECT class FROM table_name_66 WHERE year < 1990 AND points = 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_72 (fastest_lap VARCHAR, circuit VARCHAR)
### Question:
What is the fastest lap in the Le Mans Bugatti circuit?
### Answer:
SELECT fastest_lap FROM table_name_72 WHERE circuit = "le mans bugatti"
|
Below is an context that describes a sql 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 (attendance INTEGER, venue VARCHAR, date VARCHAR)
### Question:
What is the average Attendance, when Venue is "A", and when Date is "5 January 2005"?
### Answer:
SELECT AVG(attendance) FROM table_name_65 WHERE venue = "a" AND date = "5 january 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_88 (time_retired VARCHAR, grid VARCHAR)
### Question:
What is the grid 13 time score?
### Answer:
SELECT time_retired FROM table_name_88 WHERE grid = 13
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (name VARCHAR, city VARCHAR, floors VARCHAR)
### Question:
What building in Louisville had more than 35 floors?
### Answer:
SELECT name FROM table_name_56 WHERE city = "louisville" AND floors > 35
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)
### Question:
Which player had a draft before 1975 and before round 6?
### Answer:
SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 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_81 (position VARCHAR, birthplace VARCHAR)
### Question:
What is the Position of the person with a birthplace of phoenix, new york?
### Answer:
SELECT position FROM table_name_81 WHERE birthplace = "phoenix, new york"
|
Below is an context that describes a sql 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 (named VARCHAR, latitude VARCHAR)
### Question:
Tell me the named for latitude of 6.4
### Answer:
SELECT named AS after FROM table_name_61 WHERE latitude = 6.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_44 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR)
### Question:
What league is from the United States and a round smaller than 12.
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_44 WHERE nationality = "united states" AND round < 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_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
What's the original title of The New Land?
### Answer:
SELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = "The New Land"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, wrestler VARCHAR)
### Question:
What was the method of elimination for Kofi Kingston/
### Answer:
SELECT method_of_elimination FROM table_24628683_2 WHERE wrestler = "Kofi Kingston"
|
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
Who played in lake oval while away?
### Answer:
SELECT away_team FROM table_name_69 WHERE venue = "lake oval"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, supercopa_1995 VARCHAR, team VARCHAR)
### Question:
which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ?
### Answer:
SELECT copa_libertadores_1996 FROM table_name_10 WHERE supercopa_1995 = "round 1" AND team = "argentinos juniors"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR)
### Question:
What is the result in oakland?
### Answer:
SELECT result FROM table_name_11 WHERE venue = "oakland"
|
Below is an context that describes a 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 (player VARCHAR, college VARCHAR)
### Question:
What player went to Ohio State College?
### Answer:
SELECT player FROM table_10812938_5 WHERE college = "Ohio State"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17632217_2 (fourth_placed VARCHAR, total_wins VARCHAR, third_place VARCHAR, winners VARCHAR)
### Question:
Who was placed fourth when third was Beijing Guoan and the winner was Dalian Wanda and wins total was 4?
### Answer:
SELECT fourth_placed FROM table_17632217_2 WHERE third_place = "Beijing Guoan" AND winners = "Dalian Wanda" AND total_wins = 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_97 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
Tell me the time/retired for Laps larger than 63 and has a grid of 20
### Answer:
SELECT time_retired FROM table_name_97 WHERE laps > 63 AND grid = 20
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12441518_1 (portrayed_by VARCHAR, character VARCHAR)
### Question:
How many people named Nick Lucas are on the show?
### Answer:
SELECT COUNT(portrayed_by) FROM table_12441518_1 WHERE character = "Nick Lucas"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27091128_3 (date_of_vacancy VARCHAR, team VARCHAR)
### Question:
When was the date of vacancy for the manager of Kartalspor?
### Answer:
SELECT date_of_vacancy FROM table_27091128_3 WHERE team = "Kartalspor"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employee (emp_fname VARCHAR, emp_jobcode VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)
### Question:
What are the first names of the professors who do not teach a class.
### Answer:
SELECT emp_fname FROM employee WHERE emp_jobcode = 'PROF' EXCEPT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num
|
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Question:
before week 12 what was the attendance on 1983-11-21?
### Answer:
SELECT SUM(attendance) FROM table_name_22 WHERE date = "1983-11-21" AND week < 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_1213511_7 (pick__number VARCHAR, nhl_team VARCHAR)
### Question:
what is the total number of pick # where nhl team is philadelphia flyers
### Answer:
SELECT COUNT(pick__number) FROM table_1213511_7 WHERE nhl_team = "Philadelphia Flyers"
|
Below is an context that describes a sql 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 (type VARCHAR, name VARCHAR)
### Question:
What type is Kevin Muscat?
### Answer:
SELECT type FROM table_name_35 WHERE name = "kevin muscat"
|
Below is an context that describes a sql 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 (opponent VARCHAR, away VARCHAR, home VARCHAR)
### Question:
Which Opponent has an Away of 1–1, and a Home of 3–3?
### Answer:
SELECT opponent FROM table_name_25 WHERE away = "1–1" AND home = "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 conductor (Name VARCHAR, Conductor_ID VARCHAR); CREATE TABLE orchestra (Orchestra VARCHAR, Conductor_ID VARCHAR)
### Question:
Show the names of conductors and the orchestras they have conducted.
### Answer:
SELECT T1.Name, T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_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_90 (goals VARCHAR, years_at_club VARCHAR)
### Question:
What were the goals for the player whose years at club were 1908–1911, 1913–1919?
### Answer:
SELECT goals FROM table_name_90 WHERE years_at_club = "1908–1911, 1913–1919"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668378_18 (party VARCHAR, incumbent VARCHAR)
### Question:
What party represents the district with incumbent matthew clay?
### Answer:
SELECT party FROM table_2668378_18 WHERE incumbent = "Matthew Clay"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16799784_4 (name VARCHAR, longitude VARCHAR)
### Question:
Where is longitude 202.9e?
### Answer:
SELECT name FROM table_16799784_4 WHERE longitude = "202.9E"
|
Below is an context that describes a sql 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 (date VARCHAR, winning_driver VARCHAR)
### Question:
What Date has a Winning driver of ugo sivocci?
### Answer:
SELECT date FROM table_name_61 WHERE winning_driver = "ugo sivocci"
|
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
### Question:
What Opponents in the final had a match in 1984 with a Score in the final of 7–6, 6–1?
### Answer:
SELECT opponents_in_the_final FROM table_name_77 WHERE date = 1984 AND score_in_the_final = "7–6, 6–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_83 (venue VARCHAR, year VARCHAR, position VARCHAR)
### Question:
Name the venue for 2nd position of year before 2008
### Answer:
SELECT venue FROM table_name_83 WHERE year < 2008 AND position = "2nd"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23385853_19 (pos INTEGER, points VARCHAR)
### Question:
What is the lowest position for a driver with 2 points?
### Answer:
SELECT MAX(pos) FROM table_23385853_19 WHERE points = 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_77 (rank INTEGER, lane INTEGER)
### Question:
What's the top rank that's lane is smaller than 1?
### Answer:
SELECT MAX(rank) FROM table_name_77 WHERE lane < 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_1 (value VARCHAR, first_issued VARCHAR, reverse VARCHAR)
### Question:
How much was a Reverse of guitar of agustín pío barrios before 1998?
### Answer:
SELECT value FROM table_name_1 WHERE first_issued < 1998 AND reverse = "guitar of agustín pío barrios"
|
Below is an context that describes a sql 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 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR)
### Question:
who is the home team when tie no is less than 7 and the away team is havant & waterlooville?
### Answer:
SELECT home_team FROM table_name_24 WHERE tie_no < 7 AND away_team = "havant & waterlooville"
|
Below is an context that describes a sql 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 (silver INTEGER, nation VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
How many Silver medals did the Nation of Croatia receive with a Total medal of more than 1?
### Answer:
SELECT MIN(silver) FROM table_name_3 WHERE bronze = 1 AND total > 1 AND nation = "croatia"
|
Below is an context that describes a sql 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 (rank INTEGER, bronze INTEGER)
### Question:
What is the rank with 0 bronze?
### Answer:
SELECT AVG(rank) FROM table_name_9 WHERE bronze < 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_22801331_1 (result VARCHAR, record VARCHAR)
### Question:
What was the result against the team which the Cowboys have a 6-2 record against?
### Answer:
SELECT result FROM table_22801331_1 WHERE record = "6-2"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (player VARCHAR, money___£__ VARCHAR, country VARCHAR)
### Question:
What player has money of (£) 159,500, and france is the country?
### Answer:
SELECT player FROM table_name_99 WHERE money___£__ = "159,500" AND country = "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_13 (pick__number INTEGER, college VARCHAR)
### Question:
What is cornell's lowest pick number?
### Answer:
SELECT MIN(pick__number) FROM table_name_13 WHERE college = "cornell"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (second VARCHAR, third VARCHAR)
### Question:
Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)?
### Answer:
SELECT second FROM table_name_80 WHERE third = "kelly wood (e) anna sloan (jr)"
|
Below is an context that describes a sql 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 (height VARCHAR, weight VARCHAR, year VARCHAR, position VARCHAR)
### Question:
What is the Height of the Sophomore Guard weighing 185?
### Answer:
SELECT height FROM table_name_54 WHERE year = "sophomore" AND position = "guard" AND weight = 185
|
Below is an context that describes a sql 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 (home_away VARCHAR, opponent VARCHAR, field VARCHAR)
### Question:
Was the game against the Rattlers at the United Sports Training Center a home game or an away game?
### Answer:
SELECT home_away FROM table_name_96 WHERE opponent = "rattlers" AND field = "united sports training center"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (political_group VARCHAR, name VARCHAR)
### Question:
What is the Political group for p. maelius capitolinus?
### Answer:
SELECT political_group FROM table_name_58 WHERE name = "p. maelius capitolinus"
|
Below is an context that describes a sql 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 (total_deaths VARCHAR, total_casualties VARCHAR)
### Question:
How many deaths were there when the total casualties were 6?
### Answer:
SELECT total_deaths FROM table_name_33 WHERE total_casualties = "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_49 (record VARCHAR, date VARCHAR)
### Question:
What record has January 27 for the date?
### Answer:
SELECT record FROM table_name_49 WHERE date = "january 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_63 (current_map VARCHAR, namesake VARCHAR)
### Question:
What is the current map designation of the feature which was named for discovery rupes?
### Answer:
SELECT current_map FROM table_name_63 WHERE namesake = "discovery rupes"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (competition VARCHAR, date VARCHAR)
### Question:
What was the Competition on November 16, 2007?
### Answer:
SELECT competition FROM table_name_64 WHERE date = "november 16, 2007"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (apps INTEGER, player VARCHAR, goals VARCHAR)
### Question:
How many Apps did Player Gilberto with more than 1 Goals have?
### Answer:
SELECT AVG(apps) FROM table_name_64 WHERE player = "gilberto" AND goals > 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_94 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)
### Question:
Name the award won for category of choice tv villain in years after 2008
### Answer:
SELECT award FROM table_name_94 WHERE result = "won" AND category = "choice tv villain" 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 Student (Fname VARCHAR, Lname VARCHAR, Major VARCHAR)
### Question:
List all students' first names and last names who majored in 600.
### Answer:
SELECT Fname, Lname FROM Student WHERE Major = 600
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (population VARCHAR, official_name VARCHAR)
### Question:
What is saint-andré's population?
### Answer:
SELECT population FROM table_name_62 WHERE official_name = "saint-andré"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24747844_2 (money_list_rank INTEGER, best_finish VARCHAR)
### Question:
What is the minimum money list rank for the players having a best finish of T9?
### Answer:
SELECT MIN(money_list_rank) FROM table_24747844_2 WHERE best_finish = "T9"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE country (GovernmentForm VARCHAR)
### Question:
How many countries have a republic as their form of government?
### Answer:
SELECT COUNT(*) FROM country WHERE GovernmentForm = "Republic"
|
Below is an context that describes a sql 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 (school VARCHAR, team VARCHAR)
### Question:
The wildcats belong to what school?
### Answer:
SELECT school FROM table_name_38 WHERE team = "wildcats"
|
Below is an context that describes a sql 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 (erp_w INTEGER, frequency_mhz INTEGER)
### Question:
What is the average value for ERP W when frequency is more than 100.1?
### Answer:
SELECT AVG(erp_w) FROM table_name_6 WHERE frequency_mhz > 100.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_28 (date VARCHAR, decision VARCHAR, visitor VARCHAR)
### Question:
What is the date of the game where Dipietro earned a decision and Carolina was the visiting team?
### Answer:
SELECT date FROM table_name_28 WHERE decision = "dipietro" AND visitor = "carolina"
|
Below is an context that describes a sql 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 (bronze VARCHAR, year VARCHAR)
### Question:
Who won bronze is 2006?
### Answer:
SELECT bronze FROM table_name_7 WHERE year = 2006
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (date VARCHAR, visiting_team VARCHAR, result VARCHAR)
### Question:
When was the game that had the St. Louis Rams as visiting team and resulted in a score of 26-0?
### Answer:
SELECT date FROM table_name_49 WHERE visiting_team = "st. louis rams" AND result = "26-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_2 (driving_force_gt VARCHAR, g27_racing_wheel VARCHAR, gt_force VARCHAR, driving_force_pro VARCHAR)
### Question:
GT Force of no, and a Driving Force Pro of no, and a G27 Racing Wheel of no has what driving force gt?
### Answer:
SELECT driving_force_gt FROM table_name_2 WHERE gt_force = "no" AND driving_force_pro = "no" AND g27_racing_wheel = "no"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (d_42 VARCHAR, d_47 VARCHAR)
### Question:
What is the D42 associated with a D47 of d 27?
### Answer:
SELECT d_42 FROM table_name_31 WHERE d_47 = "d 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_53 (grid VARCHAR, time_retired VARCHAR)
### Question:
What is the total grid of the team with a time/retired of +7.346?
### Answer:
SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.346"
|
Below is an context that describes a sql 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 (Severe INTEGER, season VARCHAR, tropical_lows VARCHAR)
### Question:
What is the least amount of severe tropical cyclones for the 1992–93 season and the tropical Lows smaller than 6?
### Answer:
SELECT MIN(Severe) AS tropical_cyclones FROM table_name_61 WHERE season = "1992–93" AND tropical_lows < 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_15 (away_team VARCHAR, venue VARCHAR)
### Question:
When the VFL played at Junction Oval what was the away score?
### Answer:
SELECT away_team AS score FROM table_name_15 WHERE venue = "junction oval"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (number_of_episodes INTEGER, airing_date VARCHAR)
### Question:
What is the lowest number of episodes in a series with an airing date of 12 jan- 6 feb?
### Answer:
SELECT MIN(number_of_episodes) FROM table_name_22 WHERE airing_date = "12 jan- 6 feb"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (tournament VARCHAR, date VARCHAR)
### Question:
what is the tournament on july 23, 2006?
### Answer:
SELECT tournament FROM table_name_11 WHERE date = "july 23, 2006"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (tv_station VARCHAR, average_ratings VARCHAR)
### Question:
Which TV Station has Average Ratings of 16.89%?
### Answer:
SELECT tv_station FROM table_name_54 WHERE average_ratings = "16.89%"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE services (service_type_code VARCHAR, organization_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, organization_details VARCHAR)
### Question:
What is the distinct service types that are provided by the organization which has detail 'Denesik and Sons Party'?
### Answer:
SELECT DISTINCT T1.service_type_code FROM services AS T1 JOIN organizations AS T2 ON T1.organization_id = T2.organization_id WHERE T2.organization_details = 'Denesik and Sons Party'
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1370559_1 (pf INTEGER)
### Question:
What is the lowest PF?
### Answer:
SELECT MIN(pf) FROM table_1370559_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_1140076_2 (constructor VARCHAR, date VARCHAR)
### Question:
What is the constructor for 9 May?
### Answer:
SELECT constructor FROM table_1140076_2 WHERE date = "9 May"
|
Below is an context that describes a sql 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 (player VARCHAR, bowling VARCHAR)
### Question:
What bowler has a record of 4-15?
### Answer:
SELECT player FROM table_name_97 WHERE bowling = "4-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_11963601_11 (high_points VARCHAR, date VARCHAR)
### Question:
Who was the high scorer and how much did they score in the game on May 3?
### Answer:
SELECT high_points FROM table_11963601_11 WHERE date = "May 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_51 (silver INTEGER, bronze INTEGER)
### Question:
What is the smallest number of silver medals for a nation with fewer than 1 bronze?
### Answer:
SELECT MIN(silver) FROM table_name_51 WHERE bronze < 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_11 (year INTEGER, participation_as VARCHAR)
### Question:
Participation as of actor, film editor has what average year?
### Answer:
SELECT AVG(year) FROM table_name_11 WHERE participation_as = "actor, film editor"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (team VARCHAR, college VARCHAR)
### Question:
Who is the team for Washington College?
### Answer:
SELECT team FROM table_name_1 WHERE college = "washington"
|
Below is an context that describes a sql 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 (notes VARCHAR, time VARCHAR)
### Question:
what is the notes for the time 6:05.21?
### Answer:
SELECT notes FROM table_name_77 WHERE time = "6:05.21"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR, silver VARCHAR)
### Question:
What is the total number of bronze medals of the nation with 4 total medals and 1 silver?
### Answer:
SELECT COUNT(bronze) FROM table_name_89 WHERE total = 4 AND silver = 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_24910733_1 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who is the director when the writter is Andrea Newman?
### Answer:
SELECT directed_by FROM table_24910733_1 WHERE written_by = "Andrea Newman"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_174266_6 (two_years INTEGER, unknown INTEGER)
### Question:
If unknown is larger than 1.0, what is the maximum two year amount?
### Answer:
SELECT MAX(two_years) FROM table_174266_6 WHERE unknown > 1.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_7 (covered_song VARCHAR, album VARCHAR)
### Question:
What is the name of the Covered Song when the Album shows cover version iii?
### Answer:
SELECT covered_song FROM table_name_7 WHERE album = "cover version iii"
|
Below is an context that describes a sql 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 (air_date VARCHAR)
### Question:
What is the total number of ratings among the 18 to 49 group that was aired on January 7, 2009?
### Answer:
SELECT COUNT(18 AS _49) FROM table_name_47 WHERE air_date = "january 7, 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_3 (time___et__ VARCHAR, opponent VARCHAR)
### Question:
When is the Opponent of new england patriots?
### Answer:
SELECT time___et__ FROM table_name_3 WHERE opponent = "new england patriots"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (podium VARCHAR, race VARCHAR, flap VARCHAR)
### Question:
On Race 14 when the FLap is larger than 1, what is the podium number?
### Answer:
SELECT COUNT(podium) FROM table_name_42 WHERE race = 14 AND flap > 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_2 (females_rank INTEGER, state VARCHAR, females___percentage_ VARCHAR, hiv_awareness__males_percentage_ VARCHAR)
### Question:
Which Females Rank is the highest one that has Females (%) larger than 53, and an HIV awareness (males%) smaller than 89, and a State of odisha?
### Answer:
SELECT MAX(females_rank) FROM table_name_2 WHERE females___percentage_ > 53 AND hiv_awareness__males_percentage_ < 89 AND state = "odisha"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14489821_1 (team VARCHAR)
### Question:
how many points did the argentinos juniors team score during the 1986-87 season?
### Answer:
SELECT 1986 AS _87 FROM table_14489821_1 WHERE team = "Argentinos Juniors"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE driver (name VARCHAR, age VARCHAR)
### Question:
Show the name of drivers in descending order of age.
### Answer:
SELECT name FROM driver ORDER BY age DESC
|
Below is an context that describes a sql 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 (affiliation VARCHAR, player VARCHAR)
### Question:
Tell me the affiliation for diego walsh
### Answer:
SELECT affiliation FROM table_name_87 WHERE player = "diego walsh"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25691838_8 (introductory_phrase VARCHAR, guest VARCHAR)
### Question:
How many introductory phrases were there on David Finkel's guest episode?
### Answer:
SELECT COUNT(introductory_phrase) FROM table_25691838_8 WHERE guest = "David Finkel"
|
Below is an context that describes a sql 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 (goals INTEGER, rank VARCHAR, goal_ratio VARCHAR)
### Question:
What is the largest value for goals in rank over 3 with goal ration of 0.54?
### Answer:
SELECT MAX(goals) FROM table_name_53 WHERE rank > 3 AND goal_ratio = 0.54
|
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What was 2009, when 2001 was, "not masters series"?
### Answer:
SELECT 2009 FROM table_name_5 WHERE 2001 = "not masters series"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677100_3 (mlb_draft VARCHAR, player VARCHAR)
### Question:
What's Shion Newton's MLB draft result?
### Answer:
SELECT mlb_draft FROM table_11677100_3 WHERE player = "Shion Newton"
|
Below is an context that describes a sql 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 (goals_against INTEGER, goals_for VARCHAR, points VARCHAR, wins VARCHAR)
### Question:
How many goals against were scored when the points were smaller than 13, the wins were smaller than 3, and the goals for were smaller than 15?
### Answer:
SELECT SUM(goals_against) FROM table_name_73 WHERE points < 13 AND wins < 3 AND goals_for < 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_24913533_4 (rebounds INTEGER, steals VARCHAR)
### Question:
What is the maximum number of rebounds for players having exactly 35 steals?
### Answer:
SELECT MAX(rebounds) FROM table_24913533_4 WHERE steals = 35
|
Below is an context that describes a sql 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 (record VARCHAR, game VARCHAR, date VARCHAR)
### Question:
What is the record of the game with a game number greater than 24 on December 19?
### Answer:
SELECT record FROM table_name_32 WHERE game > 24 AND date = "december 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 school (mascot VARCHAR, enrollment INTEGER)
### Question:
What are the mascots for schools with enrollments above the average?
### Answer:
SELECT mascot FROM school WHERE enrollment > (SELECT AVG(enrollment) FROM school)
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2486023_1 (mixed_doubles VARCHAR, year VARCHAR)
### Question:
Who played Mixed Doubles in 1991?
### Answer:
SELECT mixed_doubles FROM table_2486023_1 WHERE year = 1991
|
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR, opponent VARCHAR)
### Question:
What date was the match against leonardo tavares with a score of 6–4, 6–4?
### Answer:
SELECT date FROM table_name_4 WHERE score = "6–4, 6–4" AND opponent = "leonardo tavares"
|
Below is an context that describes a sql 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 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR)
### Question:
Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104?
### Answer:
SELECT AVG(matches) FROM table_name_67 WHERE rank < 5 AND years = "1995–2003" AND goals < 104
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22053239_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
How many of the writers had 5.35 viewers?
### Answer:
SELECT COUNT(written_by) FROM table_22053239_1 WHERE us_viewers__millions_ = "5.35"
|
Below is an context that describes a sql 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 (player VARCHAR, score INTEGER)
### Question:
Who scored more than 72?
### Answer:
SELECT player FROM table_name_28 WHERE score > 72
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.