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_47 (genre VARCHAR, country_of_origin VARCHAR, artist VARCHAR)
### Question:
What was the genre of Queen (an artist from the United Kingdom)?
### Answer:
SELECT genre FROM table_name_47 WHERE country_of_origin = "united kingdom" AND artist = "queen" |
Below is an context that describes a sql 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 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR)
### Question:
Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?
### Answer:
SELECT surname FROM table_name_73 WHERE bats = "r" AND position = "p" AND dob = "20 may 1989" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Degree_Programs (degree_program_id VARCHAR); CREATE TABLE Student_Enrolment (semester_id VARCHAR, degree_program_id VARCHAR)
### Question:
Find the semester when both Master students and Bachelor students got enrolled in.
### Answer:
SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor' |
Below is an context that describes a sql 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 (rank VARCHAR, gold VARCHAR, silver VARCHAR)
### Question:
What is the rank of the games that had 9 gold and 9 silvers?
### Answer:
SELECT rank FROM table_name_47 WHERE gold = "9" AND silver = "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_11604804_5 (founded VARCHAR, color VARCHAR)
### Question:
What was the founding of navy blue?
### Answer:
SELECT founded FROM table_11604804_5 WHERE color = "Navy Blue" |
Below is an context that describes a sql 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 (round INTEGER, winner VARCHAR)
### Question:
What is the average number of rounds for winner Rafael Cavalcante?
### Answer:
SELECT AVG(round) FROM table_name_37 WHERE winner = "rafael cavalcante" |
Below is an context that describes a sql 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 (date VARCHAR, winner VARCHAR)
### Question:
Ram Vaswani was a winner on what date?
### Answer:
SELECT date FROM table_name_91 WHERE winner = "ram vaswani" |
Below is an context that describes a sql 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:
What is the away team at victoria park?
### Answer:
SELECT away_team FROM table_name_69 WHERE venue = "victoria park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19722664_5 (blocks INTEGER, rebounds VARCHAR)
### Question:
What is the maximum number of blocks where rebounds equal 35?
### Answer:
SELECT MAX(blocks) FROM table_19722664_5 WHERE rebounds = 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_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR)
### Question:
What is the total sum of the player from the United States who won in 1986?
### Answer:
SELECT SUM(total) FROM table_name_52 WHERE country = "united states" AND year_s__won = "1986" |
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, silver VARCHAR)
### Question:
What's the average bronze with a total number of medals being 1, with more than 0 silvers?
### Answer:
SELECT AVG(bronze) FROM table_name_25 WHERE total = 1 AND silver > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (points INTEGER, top_goal_scorer VARCHAR, final_standing VARCHAR)
### Question:
What is the highest points when the top goal scorer was Khaled Msakni (10), and the final standing is less than 12?
### Answer:
SELECT MAX(points) FROM table_name_95 WHERE top_goal_scorer = "khaled msakni (10)" AND final_standing < 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_96 (record VARCHAR, attendance VARCHAR)
### Question:
What is the record for the game that shows the Rose Garden 20,126 as attendance?
### Answer:
SELECT record FROM table_name_96 WHERE attendance = "rose garden 20,126" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
What was the opposing team for the game on August 29?
### Answer:
SELECT opponent FROM table_name_28 WHERE date = "august 29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (total INTEGER, gold VARCHAR, bronze VARCHAR)
### Question:
What is the smallest total that has 11 golds and bronzes over 2?
### Answer:
SELECT MIN(total) FROM table_name_42 WHERE gold = 11 AND bronze > 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_50 (class_aAA VARCHAR, school_year VARCHAR)
### Question:
what AAA class has a school year of 1989-90?
### Answer:
SELECT class_aAA FROM table_name_50 WHERE school_year = "1989-90" |
Below is an context that describes a sql 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 (venue VARCHAR, home_team VARCHAR)
### Question:
If the home team was footscray which venue did they play it?
### Answer:
SELECT venue FROM table_name_53 WHERE home_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR)
### Question:
Which municipality's area is outer circle south and smaller than 368 km in Akershus County with more than 14,398 people?
### Answer:
SELECT municipality FROM table_name_2 WHERE area = "outer circle south" AND area_km² < 368 AND county = "akershus" AND population > 14 OFFSET 398 |
Below is an context that describes a sql 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 (wins VARCHAR, events VARCHAR, rank VARCHAR)
### Question:
How many win total which has the rank smaller than 3 and events smaller than 22
### Answer:
SELECT COUNT(wins) FROM table_name_71 WHERE events < 22 AND 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_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
### Question:
Who left a position on 29 May?
### Answer:
SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "29 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_56 (class_aAAAA VARCHAR, school_year VARCHAR)
### Question:
what AAAAA class has the school year of 1990-91?
### Answer:
SELECT class_aAAAA FROM table_name_56 WHERE school_year = "1990-91" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10935548_1 (production_code VARCHAR, written_by VARCHAR, original_air_date VARCHAR)
### Question:
What is the production code of the episode written by José Molina that aired on October 12, 2004?
### Answer:
SELECT production_code FROM table_10935548_1 WHERE written_by = "José Molina" AND original_air_date = "October 12, 2004" |
Below is an context that describes a sql 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 (match INTEGER, draw INTEGER)
### Question:
What is the sum for the match with a draw less than 0?
### Answer:
SELECT SUM(match) FROM table_name_73 WHERE draw < 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_34 (set_1 VARCHAR, set_3 VARCHAR)
### Question:
What is the Set 1 when Set 3 was 25–15?
### Answer:
SELECT set_1 FROM table_name_34 WHERE set_3 = "25–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_15887683_4 (country VARCHAR, television_service VARCHAR)
### Question:
What country has the Sky Calcio 2 tv service?
### Answer:
SELECT country FROM table_15887683_4 WHERE television_service = "Sky Calcio 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_28196105_1 (written_by VARCHAR, _number VARCHAR)
### Question:
Who wrote episode number 18?
### Answer:
SELECT written_by FROM table_28196105_1 WHERE _number = 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (set_3 VARCHAR, total VARCHAR, time VARCHAR, score VARCHAR)
### Question:
Which set 3 has a Time of 10:00, and a Score of 3–2, and a Total of 113–102?
### Answer:
SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3–2" AND total = "113–102" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (year INTEGER, to_par VARCHAR)
### Question:
Which Year is the lowest one that has a To par of –1?
### Answer:
SELECT MIN(year) FROM table_name_93 WHERE to_par = "–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_55 (competition VARCHAR, venue VARCHAR)
### Question:
What competition has a venue in Hampden Park, Glasgow?
### Answer:
SELECT competition FROM table_name_55 WHERE venue = "hampden park, glasgow" |
Below is an context that describes a sql 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 (bronze INTEGER, gold INTEGER)
### Question:
What's the lowest bronze medal amount that has fewer than 0 gold?
### Answer:
SELECT MIN(bronze) FROM table_name_55 WHERE gold < 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_2589963_1 (founded INTEGER, color VARCHAR)
### Question:
What year was the school with green and white colors founded?
### Answer:
SELECT MAX(founded) FROM table_2589963_1 WHERE color = "Green and White" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_255602_1 (no_of_barangays INTEGER, type VARCHAR)
### Question:
What is the minimum number of barangays where the type is component city?
### Answer:
SELECT MIN(no_of_barangays) FROM table_255602_1 WHERE type = "Component City" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11608735_3 (state_ VARCHAR, _federal VARCHAR, property_taxes VARCHAR)
### Question:
Name the state and federal when property taxes is 17,199,210
### Answer:
SELECT state_ & _federal FROM table_11608735_3 WHERE property_taxes = "17,199,210" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE projects (code VARCHAR, name VARCHAR); CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)
### Question:
Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'.
### Answer:
SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'Matter of Time' INTERSECT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'A Puzzling Parallax' |
Below is an context that describes a sql 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 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR)
### Question:
What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart?
### Answer:
SELECT gp_winner FROM table_name_30 WHERE place = "genk" AND race_winners = "ben adriaenssen / ben van den bogaart" |
Below is an context that describes a sql 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 (seasons VARCHAR, name VARCHAR)
### Question:
How many seasons did Charles C. Farrell coach?
### Answer:
SELECT COUNT(seasons) FROM table_name_56 WHERE name = "charles c. farrell" |
Below is an context that describes a sql 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, set_1 VARCHAR)
### Question:
What is Date, when Set 1 is "20:22"?
### Answer:
SELECT date FROM table_name_49 WHERE set_1 = "20:22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (opponent VARCHAR, site VARCHAR)
### Question:
Who was the opponent when they played at the legion field • birmingham, al site?
### Answer:
SELECT opponent FROM table_name_7 WHERE site = "legion field • birmingham, al" |
Below is an context that describes a sql 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 (democratic_ticket VARCHAR, socialist_ticket VARCHAR)
### Question:
Which Democrtic candidate ran against the Socialist candidate Edna Mitchell Blue?
### Answer:
SELECT democratic_ticket FROM table_name_71 WHERE socialist_ticket = "edna mitchell blue" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What shows for 2006 when 2000 is 1r, 1996 is A, and Tournament is Cincinnati Masters?
### Answer:
SELECT 2006 FROM table_name_65 WHERE 2000 = "1r" AND 1996 = "a" AND tournament = "cincinnati masters" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
On what date was the Blue Jays record 60-56?
### Answer:
SELECT date FROM table_name_25 WHERE record = "60-56" |
Below is an context that describes a sql 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 (report VARCHAR, venue VARCHAR)
### Question:
What is the report for Challenge Stadium?
### Answer:
SELECT report FROM table_name_29 WHERE venue = "challenge stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (total INTEGER, nationality VARCHAR, latest_win VARCHAR)
### Question:
What was the lowest total for Italy when the latest win is 1950?
### Answer:
SELECT MIN(total) FROM table_name_43 WHERE nationality = "italy" AND latest_win = 1950 |
Below is an context that describes a sql 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 (lead VARCHAR, second VARCHAR, third VARCHAR)
### Question:
What is the lead with a second of Vicki Adams and a third of Anna Sloan?
### Answer:
SELECT lead FROM table_name_74 WHERE second = "vicki adams" AND third = "anna sloan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29332810_14 (sprint_classification VARCHAR, winner VARCHAR)
### Question:
Who is the sprint classification where Francisco Ventoso wins?
### Answer:
SELECT sprint_classification FROM table_29332810_14 WHERE winner = "Francisco Ventoso" |
Below is an context that describes a sql 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 (visitor VARCHAR, record VARCHAR)
### Question:
Who was the visitor when the record was 24–14–2?
### Answer:
SELECT visitor FROM table_name_69 WHERE record = "24–14–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_40 (manufacturer VARCHAR, type VARCHAR)
### Question:
Which manufacturer made a locomotive with a type of 4-6-4t?
### Answer:
SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10568553_1 (milepost VARCHAR, street_names VARCHAR)
### Question:
How many mileposts are there on Anne Street?
### Answer:
SELECT COUNT(milepost) FROM table_10568553_1 WHERE street_names = "Anne Street" |
Below is an context that describes a sql 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 (rank VARCHAR)
### Question:
what is the ranking for 2010 production of 2,903,000?
### Answer:
SELECT rank FROM table_name_52 WHERE 2010 = "2,903,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_88 (result VARCHAR, award VARCHAR, category VARCHAR)
### Question:
Which production won the drama desk award as well as the category of outstanding sound design?
### Answer:
SELECT result FROM table_name_88 WHERE award = "drama desk award" AND category = "outstanding sound design" |
Below is an context that describes a sql 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 (genre VARCHAR, developer VARCHAR)
### Question:
In what genre did Microvision develop a game?
### Answer:
SELECT genre FROM table_name_49 WHERE developer = "microvision" |
Below is an context that describes a sql 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 (tie_no VARCHAR, home_team VARCHAR)
### Question:
Which Tie is from birmingham city?
### Answer:
SELECT tie_no FROM table_name_97 WHERE home_team = "birmingham city" |
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR)
### Question:
What was the attendance for the game against miami dolphins?
### Answer:
SELECT attendance FROM table_name_68 WHERE opponent = "miami dolphins" |
Below is an context that describes a sql 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 (Lieutenant VARCHAR, left_office VARCHAR)
### Question:
Who was lieutenant governor to the governor that left office on October 16, 2000?
### Answer:
SELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = "october 16, 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_79 (name VARCHAR, floors VARCHAR, city VARCHAR, completion VARCHAR)
### Question:
What building is in Shenzhen, have less than 115 floors, and was completed before 2017?
### Answer:
SELECT name FROM table_name_79 WHERE city = "shenzhen" AND completion < 2017 AND floors < 115 |
Below is an context that describes a sql 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 (elector VARCHAR, faction VARCHAR, nationality VARCHAR)
### Question:
Who was the Prato Elector with a faction of Italian?
### Answer:
SELECT elector FROM table_name_51 WHERE faction = "italian" AND nationality = "prato" |
Below is an context that describes a sql 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 (paper_type VARCHAR, illustration VARCHAR)
### Question:
What is the Paper Type with an Illustration with martin dee, ubc public affairs?
### Answer:
SELECT paper_type FROM table_name_51 WHERE illustration = "martin dee, ubc public affairs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR, venue VARCHAR)
### Question:
What is Score, when Competition is "ECQG5", and when Venue is "Hampden Park , Glasgow (H)"?
### Answer:
SELECT score FROM table_name_18 WHERE competition = "ecqg5" AND venue = "hampden park , glasgow (h)" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
When the venue was punt road oval, what was the Home teams score?
### Answer:
SELECT home_team AS score FROM table_name_74 WHERE venue = "punt road 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_26 (share_of_votes VARCHAR, election VARCHAR)
### Question:
What percentage of votes did the candidate win in the election of 1969?
### Answer:
SELECT share_of_votes FROM table_name_26 WHERE election = 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_85 (european_competitions VARCHAR, pos VARCHAR)
### Question:
Which European competitions have a Pos of 6?
### Answer:
SELECT european_competitions FROM table_name_85 WHERE pos = 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_86 (date VARCHAR, number_ VARCHAR, _name VARCHAR)
### Question:
What is the date with identifying number of No. 37817?
### Answer:
SELECT date FROM table_name_86 WHERE number_ & _name = "no. 37817" |
Below is an context that describes a sql 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 (type VARCHAR, tunnel VARCHAR)
### Question:
What Type of Tunnel is the Downhill Tunnel?
### Answer:
SELECT type FROM table_name_78 WHERE tunnel = "downhill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29506171_2 (money_list_rank VARCHAR, top_10s VARCHAR)
### Question:
What was the money list rank for Reid in the year that she had 0 top 10s?
### Answer:
SELECT money_list_rank FROM table_29506171_2 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_name_78 (title VARCHAR, series__number VARCHAR, production_code VARCHAR)
### Question:
Tell me the title for the production code less than 706 with series number more than 175
### Answer:
SELECT title FROM table_name_78 WHERE series__number > 175 AND production_code < 706 |
Below is an context that describes a sql 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 (heat INTEGER, time VARCHAR, lane VARCHAR)
### Question:
What is the lowest heat that had a time of 1:02.85 in a lane larger than 7?
### Answer:
SELECT MIN(heat) FROM table_name_40 WHERE time = "1:02.85" AND lane > 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_27712451_6 (high_rebounds VARCHAR, date VARCHAR)
### Question:
How many high rebounds took place on December 8?
### Answer:
SELECT COUNT(high_rebounds) FROM table_27712451_6 WHERE date = "December 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_40 (week INTEGER, date VARCHAR)
### Question:
Which week was on october 30, 1983?
### Answer:
SELECT SUM(week) FROM table_name_40 WHERE date = "october 30, 1983" |
Below is an context that describes a sql 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 (music VARCHAR, score VARCHAR, style VARCHAR)
### Question:
Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha?
### Answer:
SELECT music FROM table_name_22 WHERE score = "30 (10, 10, 10)" AND style = "cha-cha-cha" |
Below is an context that describes a sql 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 (drawn INTEGER, lost VARCHAR, points VARCHAR)
### Question:
What is the average number of losses for teams with under 4 losses and under 21 points?
### Answer:
SELECT AVG(drawn) FROM table_name_95 WHERE lost < 4 AND points < 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_49 (e_score VARCHAR, total VARCHAR, a_score VARCHAR)
### Question:
What is the total number of E scores when the total score was 19.7 and the A score was more than 6?
### Answer:
SELECT COUNT(e_score) FROM table_name_49 WHERE total = 19.7 AND a_score > 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_28 (location VARCHAR, county VARCHAR)
### Question:
What is the Location with a county of 30 Hancock?
### Answer:
SELECT location FROM table_name_28 WHERE county = "30 hancock" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (total VARCHAR, gymnast VARCHAR, b_score VARCHAR)
### Question:
What is the total for Chen Yibing ( chn ), when his B Score was smaller than 9.225?
### Answer:
SELECT COUNT(total) FROM table_name_87 WHERE gymnast = "chen yibing ( chn )" AND b_score < 9.225 |
Below is an context that describes a sql 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 (marplan VARCHAR, gallup VARCHAR)
### Question:
What is Marplan, when Gallup is 1.5%
### Answer:
SELECT marplan FROM table_name_55 WHERE gallup = "1.5%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (event VARCHAR, opponent VARCHAR)
### Question:
What event did Diego Saraiva fight jorge gurgel?
### Answer:
SELECT event FROM table_name_98 WHERE opponent = "jorge gurgel" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
When did Geelong play as the home team?
### Answer:
SELECT date FROM table_name_89 WHERE home_team = "geelong" |
Below is an context that describes a sql 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 (city VARCHAR, arena VARCHAR)
### Question:
What city is Kara Ali Acar Sport Hall located in?
### Answer:
SELECT city FROM table_name_4 WHERE arena = "kara ali acar sport hall" |
Below is an context that describes a sql 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 (award VARCHAR, recipient VARCHAR)
### Question:
What award did Charlie Productions Ltd receive?
### Answer:
SELECT award FROM table_name_14 WHERE recipient = "charlie productions ltd" |
Below is an context that describes a sql 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 (base VARCHAR, play VARCHAR)
### Question:
what is the base when the play is thesmophoriazusae?
### Answer:
SELECT base FROM table_name_67 WHERE play = "thesmophoriazusae" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (Id VARCHAR)
### Question:
What is the 1980 value with a 1r in 1984 and a 1r in 1981?
### Answer:
SELECT 1980 FROM table_name_48 WHERE 1984 = "1r" AND 1981 = "1r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (length___ft__ VARCHAR, name VARCHAR)
### Question:
What is the length in feet of the Jiangzhou arch?
### Answer:
SELECT length___ft__ FROM table_name_7 WHERE name = "jiangzhou arch" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25518547_2 (player VARCHAR, affiliation VARCHAR)
### Question:
How many players have an affiliation with University of Maryland?
### Answer:
SELECT COUNT(player) FROM table_25518547_2 WHERE affiliation = "University of Maryland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15313204_1 (records VARCHAR, pct VARCHAR)
### Question:
What are the record(s) for the team with a winning percentage of .464?
### Answer:
SELECT records FROM table_15313204_1 WHERE pct = ".464" |
Below is an context that describes a sql 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 (date VARCHAR, visitor VARCHAR)
### Question:
What day did philadelphia visit?
### Answer:
SELECT date FROM table_name_31 WHERE visitor = "philadelphia" |
Below is an context that describes a sql 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 (university_of_dublin VARCHAR, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR, nominated_by_the_taoiseach VARCHAR)
### Question:
What is the total for University of Dublin, having a panel of 0 for agricultural, was nominated by Taoiseach more than 0, and an industrial and commercial panel less than 0?
### Answer:
SELECT COUNT(university_of_dublin) FROM table_name_94 WHERE agricultural_panel = 0 AND nominated_by_the_taoiseach > 0 AND industrial_and_commercial_panel < 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_33 (wins INTEGER, tournament VARCHAR, events VARCHAR)
### Question:
For more than 3 events in the PGA Championship, what is the fewest number of wins?
### Answer:
SELECT MIN(wins) FROM table_name_33 WHERE tournament = "pga championship" AND events > 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 Aircraft (aid VARCHAR, distance INTEGER)
### Question:
Show ids for all aircrafts with more than 1000 distance.
### Answer:
SELECT aid FROM Aircraft WHERE distance > 1000 |
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR)
### Question:
What is the smallest crowd at victoria park?
### Answer:
SELECT MIN(crowd) FROM table_name_22 WHERE venue = "victoria park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR)
### Question:
What was the result in the election in which the incumbent was Denver S. Church?
### Answer:
SELECT result FROM table_1342331_6 WHERE incumbent = "Denver S. 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_55 (country VARCHAR, director_s_ VARCHAR)
### Question:
Julio Robledo represents which country?
### Answer:
SELECT country FROM table_name_55 WHERE director_s_ = "julio robledo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19210674_1 (finale VARCHAR, english_title VARCHAR)
### Question:
How many different finales had the English title "Beyond the Realm of Conscience"?
### Answer:
SELECT COUNT(finale) FROM table_19210674_1 WHERE english_title = "Beyond the Realm of Conscience" |
Below is an context that describes a sql 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 (podiums INTEGER, races VARCHAR, final_placing VARCHAR, season VARCHAR)
### Question:
What is the sum of podiums of the teams with a final placing of 14th, seasons after 2008, and less than 1 races?
### Answer:
SELECT SUM(podiums) FROM table_name_92 WHERE final_placing = "14th" AND season > 2008 AND races < 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_30058355_3 (fri_26_aug VARCHAR, mon_22_aug VARCHAR)
### Question:
What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mph?
### Answer:
SELECT fri_26_aug FROM table_30058355_3 WHERE mon_22_aug = "32' 25.72 69.809mph" |
Below is an context that describes a sql 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 (college VARCHAR, round VARCHAR, pick VARCHAR)
### Question:
What is College, when Round is greater than 1, and when Pick is greater than 163?
### Answer:
SELECT college FROM table_name_11 WHERE round > 1 AND pick > 163 |
Below is an context that describes a sql 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 (total VARCHAR, player VARCHAR)
### Question:
What was Mark O'Meara's total?
### Answer:
SELECT total FROM table_name_40 WHERE player = "mark o'meara" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (gnu_linux VARCHAR, haiku VARCHAR, client VARCHAR)
### Question:
Which GNU/Linux had no haiku and a client of airdc++?
### Answer:
SELECT gnu_linux FROM table_name_60 WHERE haiku = "no" AND client = "airdc++" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (location VARCHAR, game VARCHAR)
### Question:
What is Location, when Game is 42?
### Answer:
SELECT location FROM table_name_70 WHERE game = 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_90 (gender VARCHAR, years VARCHAR, decile VARCHAR, area VARCHAR)
### Question:
Which gender has a Decile of 8, an Area of taradale, and Years of 1–13?
### Answer:
SELECT gender FROM table_name_90 WHERE decile = 8 AND area = "taradale" AND years = "1–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_28190534_1 (constructor VARCHAR, driver VARCHAR)
### Question:
Name the constructor for b. bira
### Answer:
SELECT constructor FROM table_28190534_1 WHERE driver = "B. Bira" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23211041_5 (team VARCHAR, date VARCHAR)
### Question:
What team was played on november 24?
### Answer:
SELECT team FROM table_23211041_5 WHERE date = "November 24" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.