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_2104176_1 (coast_guard_cross VARCHAR, distinguished_service_cross VARCHAR)
### Question:
What is the coast guard cross when you recieve the navy distinguished service medal?
### Answer:
SELECT coast_guard_cross FROM table_2104176_1 WHERE distinguished_service_cross = "Navy Distinguished Service Medal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (sport VARCHAR, league VARCHAR, city VARCHAR, venue VARCHAR)
### Question:
Which sport was held in Huntsville at the Von Braun Center as part of the Southern Indoor Football League?
### Answer:
SELECT sport FROM table_name_76 WHERE city = "huntsville" AND venue = "von braun center" AND league = "southern indoor football league" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10874596_1 (director VARCHAR, original_title VARCHAR)
### Question:
Who were the directors of the film with the original title o.k.?
### Answer:
SELECT director FROM table_10874596_1 WHERE original_title = "o.k." |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the away team score when the home team was the Brisbane Lions?
### Answer:
SELECT away_team AS score FROM table_name_83 WHERE home_team = "brisbane 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_44 (party VARCHAR, representative VARCHAR)
### Question:
Which party has Peter A. Quinn as a representative?
### Answer:
SELECT party FROM table_name_44 WHERE representative = "peter a. quinn" |
Below is an context that describes a sql 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 (class VARCHAR, position VARCHAR)
### Question:
What is the class for the position of lg?
### Answer:
SELECT class FROM table_name_4 WHERE position = "lg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14342367_11 (points INTEGER)
### Question:
Who scored the most points?
### Answer:
SELECT MAX(points) FROM table_14342367_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_28243323_1 (club_name VARCHAR, writer_composer VARCHAR)
### Question:
Name the team that has a song writer named larry spokes.
### Answer:
SELECT club_name FROM table_28243323_1 WHERE writer_composer = "Larry Spokes" |
Below is an context that describes a sql 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 (role VARCHAR, pick__number VARCHAR)
### Question:
What is Pick #18's Role?
### Answer:
SELECT role FROM table_name_4 WHERE pick__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_41 (place__posición_ INTEGER, points__pts_ VARCHAR, played__pj_ VARCHAR)
### Question:
What was the top place with over 24 points and more than 14 played?
### Answer:
SELECT MAX(place__posición_) FROM table_name_41 WHERE points__pts_ > 24 AND played__pj_ > 14 |
Below is an context that describes a sql 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 (length VARCHAR, date VARCHAR)
### Question:
what was the length of the game on may 19
### Answer:
SELECT length FROM table_name_10 WHERE date = "may 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_27700375_11 (high_rebounds VARCHAR, team VARCHAR)
### Question:
Name the high rebounds for charlotte
### Answer:
SELECT high_rebounds FROM table_27700375_11 WHERE team = "Charlotte" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21829580_1 (average_grade VARCHAR, song VARCHAR)
### Question:
Name the average grade for şımarık tarkan
### Answer:
SELECT average_grade FROM table_21829580_1 WHERE song = "Şımarık Tarkan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1756284_1 (bush_number INTEGER)
### Question:
What was the highest vote number for Bush?
### Answer:
SELECT MAX(bush_number) FROM table_1756284_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_26013618_1 (nsg_nr VARCHAR, district___town VARCHAR, area__ha_ VARCHAR)
### Question:
How many reserves are in Herzogtum Lauenburg with an area of 123,14?
### Answer:
SELECT COUNT(nsg_nr) FROM table_26013618_1 WHERE district___town = "Herzogtum Lauenburg" AND area__ha_ = "123,14" |
Below is an context that describes a sql 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 (record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR, draws VARCHAR, wins VARCHAR, matches VARCHAR)
### Question:
What is the draw record (%) total for clubs with more than 3 wins with 10 matches and more than 1 draw?
### Answer:
SELECT COUNT(record___percentage__)[draw_ = _05_wins] FROM table_name_91 WHERE wins > 3 AND matches = 10 AND draws > 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (date VARCHAR, tournament VARCHAR)
### Question:
What is the date of the Greater Greensboro Chrysler Classic?
### Answer:
SELECT date FROM table_name_88 WHERE tournament = "greater greensboro chrysler 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_name_38 (silver INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
what is the silver when the nation is syria (syr) and gold is more than 0?
### Answer:
SELECT SUM(silver) FROM table_name_38 WHERE nation = "syria (syr)" AND 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_name_3 (speed VARCHAR, construction_begun VARCHAR, expected_start_of_revenue_services VARCHAR)
### Question:
What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015?
### Answer:
SELECT speed FROM table_name_3 WHERE construction_begun = "2010" AND expected_start_of_revenue_services = 2015 |
Below is an context that describes a sql 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 (venue VARCHAR, score VARCHAR, date VARCHAR)
### Question:
What is the venue when the score is 1 goal, and the date is August 27, 1980?
### Answer:
SELECT venue FROM table_name_94 WHERE score = "1 goal" AND date = "august 27, 1980" |
Below is an context that describes a sql 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 (area VARCHAR, name VARCHAR)
### Question:
What is the area of Mangamahu primary school?
### Answer:
SELECT area FROM table_name_54 WHERE name = "mangamahu primary 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 school (Enrollment INTEGER)
### Question:
What is the average enrollment of schools?
### Answer:
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_name_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
### Question:
Which highest pick number had Akeem Dent as a name and where the overall was less than 91?
### Answer:
SELECT MAX(pick__number) FROM table_name_24 WHERE name = "akeem dent" AND overall < 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_name_78 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
What tournament had a hard surface on February 25, 1996?
### Answer:
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND date = "february 25, 1996" |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
What is the Winnipeg Jets record?
### Answer:
SELECT record FROM table_name_51 WHERE opponent = "winnipeg jets" |
Below is an context that describes a sql 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 (player VARCHAR, hometown_school VARCHAR, pick VARCHAR, position VARCHAR)
### Question:
Which player was picked before 13, in a P position, and is from Georgia Tech?
### Answer:
SELECT player FROM table_name_98 WHERE pick < 13 AND position = "p" AND hometown_school = "georgia tech" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (date VARCHAR, race VARCHAR)
### Question:
On what date did Contac 12 Hours of Sebring take place?
### Answer:
SELECT date FROM table_name_21 WHERE race = "contac 12 hours of sebring" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24096813_15 (frequency VARCHAR, part_number_s_ VARCHAR)
### Question:
What's the frequency of the model with part number TT80503300?
### Answer:
SELECT frequency FROM table_24096813_15 WHERE part_number_s_ = "TT80503300" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2159571_2 (reason_for_change VARCHAR, district VARCHAR)
### Question:
What is every reason for change for the Washington 3rd District?
### Answer:
SELECT reason_for_change FROM table_2159571_2 WHERE district = "Washington 3rd" |
Below is an context that describes a sql 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 (gold VARCHAR, silver VARCHAR, total VARCHAR)
### Question:
What is the total number of Gold, when Silver is 2, and when Total is less than 7?
### Answer:
SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 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_92 (champion VARCHAR, runner_up VARCHAR)
### Question:
What champion has north melbourne as the runner-up?
### Answer:
SELECT champion FROM table_name_92 WHERE runner_up = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14903999_1 (mens_singles VARCHAR, mens_doubles VARCHAR, womens_singles VARCHAR)
### Question:
Who won mens singles the year sveinn logi sölvason tryggvi nilsen won mens doubles and elsa nielsen won womens singles
### Answer:
SELECT mens_singles FROM table_14903999_1 WHERE mens_doubles = "Sveinn Logi Sölvason Tryggvi Nilsen" AND womens_singles = "Elsa Nielsen" |
Below is an context that describes a sql 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 (home_team VARCHAR)
### Question:
What is the score for Collingwood as the home team?
### Answer:
SELECT home_team AS score FROM table_name_85 WHERE home_team = "collingwood" |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
What player has 69-70-68-73=280 as the score?
### Answer:
SELECT player FROM table_name_52 WHERE score = 69 - 70 - 68 - 73 = 280 |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is the result from 2003 from the US Open?
### Answer:
SELECT 2003 FROM table_name_80 WHERE tournament = "us open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1507423_5 (top_10 INTEGER, team_s_ VARCHAR)
### Question:
Where does team #55/#83 robby gordon motorsports rank in the top 10?
### Answer:
SELECT MAX(top_10) FROM table_1507423_5 WHERE team_s_ = "#55/#83 Robby Gordon Motorsports" |
Below is an context that describes a sql 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 (losses INTEGER, draws VARCHAR, against VARCHAR)
### Question:
What is the most games lost when the against is greater than 1401, and the draws greater than 0?
### Answer:
SELECT MAX(losses) FROM table_name_9 WHERE draws > 0 AND against > 1401 |
Below is an context that describes a sql 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 (gold_medals INTEGER, total_medals VARCHAR, bronze_medals VARCHAR, silver_medals VARCHAR)
### Question:
Name the average gold medals when the bronze medals was less than 1, silver medals being 0 and total medals more than 1
### Answer:
SELECT AVG(gold_medals) FROM table_name_82 WHERE bronze_medals < 1 AND silver_medals = 0 AND total_medals > 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_58 (losses INTEGER, draws INTEGER)
### Question:
How many Losses have Draws larger than 0?
### Answer:
SELECT MAX(losses) FROM table_name_58 WHERE draws > 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_24334163_1 (Winners INTEGER, total_money_won VARCHAR)
### Question:
What is the highest amount of group legs won when the prize money was £21,850?
### Answer:
SELECT MAX(Winners) AS group_legs_won FROM table_24334163_1 WHERE total_money_won = "£21,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_3 (rank VARCHAR, name VARCHAR)
### Question:
What is the rank of Skanskaskrapan?
### Answer:
SELECT rank FROM table_name_3 WHERE name = "skanskaskrapan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1500146_1 (rhel_release_date VARCHAR, scientific_linux_release VARCHAR)
### Question:
When is the rhel release date when scientific linux release is 3.0.4
### Answer:
SELECT rhel_release_date FROM table_1500146_1 WHERE scientific_linux_release = "3.0.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_26967904_2 (chambering VARCHAR, f_bolt___kgf__ VARCHAR)
### Question:
What is the chambering for the 8339 f bolt ( kgf )?
### Answer:
SELECT chambering FROM table_26967904_2 WHERE f_bolt___kgf__ = 8339 |
Below is an context that describes a sql 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 (particle VARCHAR, rest_mass_mev___c_2 VARCHAR)
### Question:
Which Particle has a Rest mass MeV/c 2 of 1383.7±1.0?
### Answer:
SELECT particle FROM table_name_11 WHERE rest_mass_mev___c_2 = "1383.7±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_15887683_3 (package_option VARCHAR, television_service VARCHAR)
### Question:
What package offers Fox Sports HD?
### Answer:
SELECT package_option FROM table_15887683_3 WHERE television_service = "FOX Sports HD" |
Below is an context that describes a sql 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 (player VARCHAR, pba_team VARCHAR)
### Question:
Which player has a PBA team of Red Bull Thunder?
### Answer:
SELECT player FROM table_name_5 WHERE pba_team = "red bull thunder" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22050544_1 (event__number VARCHAR, winner VARCHAR)
### Question:
What is the event # when the winner is what is 7x6?
### Answer:
SELECT event__number FROM table_22050544_1 WHERE winner = "what is 7x6" |
Below is an context that describes a sql 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 (score VARCHAR, away_team VARCHAR)
### Question:
What was the score for the Perth Wildcats as away team?
### Answer:
SELECT score FROM table_name_38 WHERE away_team = "perth 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_75 (score VARCHAR, team_2 VARCHAR)
### Question:
When Team 2 was USL Dunkerque (D2), what was the score
### Answer:
SELECT score FROM table_name_75 WHERE team_2 = "usl dunkerque (d2)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24776075_2 (week INTEGER, date VARCHAR)
### Question:
The game on Saturday, May 25 took place on which week?
### Answer:
SELECT MIN(week) FROM table_24776075_2 WHERE date = "Saturday, May 25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (winning_team VARCHAR, most_laps_led VARCHAR)
### Question:
What is Winning Team, when Most Laps Led is Alex Tagliani?
### Answer:
SELECT winning_team FROM table_name_21 WHERE most_laps_led = "alex tagliani" |
Below is an context that describes a sql 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 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR, gold_coast VARCHAR)
### Question:
Which Adelaide has Perth no, Gold Coast no, and Sydney yes?
### Answer:
SELECT adelaide FROM table_name_13 WHERE perth = "no" AND gold_coast = "yes" AND sydney = "yes" |
Below is an context that describes a sql 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 (frequency_mhz INTEGER, city_of_license VARCHAR)
### Question:
What is the average frequency MHz for license of eastville, virginia?
### Answer:
SELECT AVG(frequency_mhz) FROM table_name_24 WHERE city_of_license = "eastville, virginia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28490105_1 (supporting VARCHAR, gt_winning_car VARCHAR)
### Question:
Who was supporting in the round when the gt winning car was dino crescentini?
### Answer:
SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = "Dino Crescentini" |
Below is an context that describes a sql 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 (lost VARCHAR, points VARCHAR)
### Question:
What is the number of lost with 2 points?
### Answer:
SELECT COUNT(lost) FROM table_name_70 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_67 (known_for VARCHAR, entered VARCHAR, celebrity VARCHAR)
### Question:
What was Freddie Starr, who entered on Day 1, known for?
### Answer:
SELECT known_for FROM table_name_67 WHERE entered = "day 1" AND celebrity = "freddie starr" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11303072_9 (player VARCHAR, rank VARCHAR)
### Question:
What are the players whose rank is 2?
### Answer:
SELECT player FROM table_11303072_9 WHERE rank = 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_16 (phoneme VARCHAR, realization VARCHAR)
### Question:
Name the phoneme when the realizationis [ɑ]
### Answer:
SELECT phoneme FROM table_name_16 WHERE realization = "[ɑ]" |
Below is an context that describes a sql 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 (hpfs VARCHAR, refs VARCHAR)
### Question:
Which HPFS has a no for ReFS?
### Answer:
SELECT hpfs FROM table_name_51 WHERE refs = "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_21378339_5 (artist VARCHAR, panel_points VARCHAR)
### Question:
Name the number of artists for panel points being 5
### Answer:
SELECT COUNT(artist) FROM table_21378339_5 WHERE panel_points = 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_32 (name VARCHAR, time VARCHAR, rank VARCHAR, lane VARCHAR)
### Question:
Who had a larger rank than 3, less than 6 lanes, and a time of 1:58.15?
### Answer:
SELECT name FROM table_name_32 WHERE rank > 3 AND lane < 6 AND time = "1:58.15" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (visitor VARCHAR, game VARCHAR, attendance VARCHAR)
### Question:
Who was the visiting team in the game sometime after number 29 that had 18,584 atttendees?
### Answer:
SELECT visitor FROM table_name_28 WHERE game > 29 AND attendance > 18 OFFSET 584 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Claims (Date_Claim_Made VARCHAR, Amount_Settled INTEGER)
### Question:
Among all the claims, which settlements have a claimed amount that is no more than the average? List the claim start date.
### Answer:
SELECT Date_Claim_Made FROM Claims WHERE Amount_Settled <= (SELECT AVG(Amount_Settled) FROM Claims) |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
What was the score of the match against roger federer on April 3, 2006?
### Answer:
SELECT score FROM table_name_44 WHERE opponent = "roger federer" AND date = "april 3, 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_16275828_4 (sanction VARCHAR, track_name VARCHAR)
### Question:
Who sanctioned the event at fayette county speedway?
### Answer:
SELECT sanction FROM table_16275828_4 WHERE track_name = "Fayette County Speedway" |
Below is an context that describes a sql 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 (round VARCHAR, loser VARCHAR)
### Question:
In which round was Barbara Hawcroft the loser?
### Answer:
SELECT round FROM table_name_84 WHERE loser = "barbara hawcroft" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (roll VARCHAR, name VARCHAR)
### Question:
What is the roll number for East Gore School?
### Answer:
SELECT COUNT(roll) FROM table_name_21 WHERE name = "east gore 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_name_91 (party VARCHAR, district VARCHAR)
### Question:
What party has the South Carolina 2 district?
### Answer:
SELECT party FROM table_name_91 WHERE district = "south carolina 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_63 (rank VARCHAR, mountain_peak VARCHAR)
### Question:
what is the rank when the mountain peak is isthmus peak?
### Answer:
SELECT rank FROM table_name_63 WHERE mountain_peak = "isthmus peak" |
Below is an context that describes a sql 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 (rich_savage VARCHAR, jody_wagner VARCHAR)
### Question:
What is the Rich Savage percentage in the poll with Jody Wagner at 30%?
### Answer:
SELECT rich_savage FROM table_name_90 WHERE jody_wagner = "30%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR)
### Question:
What city is 103.3 FM licensed in?
### Answer:
SELECT city_of_license FROM table_name_61 WHERE frequency = "103.3 fm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11622255_1 (tournament VARCHAR, winner VARCHAR)
### Question:
what's the tournament where winner is raymond floyd (1)
### Answer:
SELECT tournament FROM table_11622255_1 WHERE winner = "Raymond Floyd (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_92 (gold INTEGER, bronze VARCHAR, total VARCHAR)
### Question:
Which Gold has a Bronze larger than 1, and a Total larger than 80?
### Answer:
SELECT SUM(gold) FROM table_name_92 WHERE bronze > 1 AND total > 80 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2182573_2 (top_5 INTEGER, avg_start VARCHAR)
### Question:
What was the best top five result when the average start is 28.5?
### Answer:
SELECT MAX(top_5) FROM table_2182573_2 WHERE avg_start = "28.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_27700375_6 (game INTEGER, location_attendance VARCHAR)
### Question:
Which game number was located in Prudential Center 15,086?
### Answer:
SELECT MIN(game) FROM table_27700375_6 WHERE location_attendance = "Prudential Center 15,086" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21721351_18 (position VARCHAR, player VARCHAR)
### Question:
How many positions is player Tom Glavine?
### Answer:
SELECT COUNT(position) FROM table_21721351_18 WHERE player = "Tom Glavine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342359_39 (candidates VARCHAR, district VARCHAR)
### Question:
Name the candidate for south carolina 1?
### Answer:
SELECT candidates FROM table_1342359_39 WHERE district = "South Carolina 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_20 (date VARCHAR, field VARCHAR)
### Question:
What days were games played at Hofstra Stadium?
### Answer:
SELECT date FROM table_name_20 WHERE field = "hofstra 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_18 (distance VARCHAR, year VARCHAR)
### Question:
What is the distance in 2006?
### Answer:
SELECT distance FROM table_name_18 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_1990460_1 (open_cup VARCHAR, year VARCHAR)
### Question:
What's the team's status in the Open Cup in 2006?
### Answer:
SELECT open_cup FROM table_1990460_1 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_55 (week INTEGER, date VARCHAR)
### Question:
What week was September 24, 2000 on?
### Answer:
SELECT SUM(week) FROM table_name_55 WHERE date = "september 24, 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_94 (scorers VARCHAR, opponents VARCHAR, round VARCHAR)
### Question:
Who were the scorers in the semi-final round where oldham athletic were the opponents?
### Answer:
SELECT scorers FROM table_name_94 WHERE opponents = "oldham athletic" AND round = "semi-final" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Which tournament in 2012 had a 2007 and 2011 finishes of "A"?
### Answer:
SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE orchestra (Major_Record_Format VARCHAR)
### Question:
Please show the record formats of orchestras in ascending order of count.
### Answer:
SELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) |
Below is an context that describes a sql 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 (date VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR)
### Question:
What is Date, when Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is Leanne Tander?
### Answer:
SELECT date FROM table_name_81 WHERE fastest_lap = "james winslow" AND race = 1 AND winning_driver = "leanne tander" |
Below is an context that describes a sql 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 (time_retired VARCHAR, driver VARCHAR)
### Question:
I want the time/retired for eddie irvine
### Answer:
SELECT time_retired FROM table_name_83 WHERE driver = "eddie irvine" |
Below is an context that describes a sql 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 (average INTEGER, goalkeeper VARCHAR, matches VARCHAR)
### Question:
What is the average of the team who has Jacobo as a goalkeeper and has played more than 32 matches?
### Answer:
SELECT AVG(average) FROM table_name_14 WHERE goalkeeper = "jacobo" AND matches > 32 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (nationality VARCHAR, pick VARCHAR, school_club_team VARCHAR)
### Question:
What is the nationality of the player from Drexel who had a pick larger than 183?
### Answer:
SELECT nationality FROM table_name_9 WHERE pick > 183 AND school_club_team = "drexel" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR)
### Question:
Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock
### Answer:
SELECT COUNT(gt_20_winning_team) FROM table_27561503_2 WHERE sports_20_winning_team = "#16 Trans Ocean Motors" AND circuit = "Castle Rock" |
Below is an context that describes a sql 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 (week INTEGER, attendance VARCHAR)
### Question:
what is the week there were 41,604 people in attendance?
### Answer:
SELECT AVG(week) FROM table_name_62 WHERE attendance = 41 OFFSET 604 |
Below is an context that describes a sql 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 (round INTEGER, record VARCHAR)
### Question:
What is the smallest round to have a record of 4-0?
### Answer:
SELECT MIN(round) FROM table_name_95 WHERE record = "4-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 (density___km²_ VARCHAR, hanzi VARCHAR)
### Question:
What is the density of 昌黎县?
### Answer:
SELECT density___km²_ FROM table_name_34 WHERE hanzi = "昌黎县" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (model VARCHAR, digital VARCHAR, tuner VARCHAR)
### Question:
I want the model for digital of dvb-t (cx22702) and tuner of thomson dtt75105
### Answer:
SELECT model FROM table_name_7 WHERE digital = "dvb-t (cx22702)" AND tuner = "thomson dtt75105" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13834298_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
Whatis the original title for lion's den?
### Answer:
SELECT original_title FROM table_13834298_1 WHERE film_title_used_in_nomination = "Lion's Den" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
If north melbourne played as the home team, who was the away team they played?
### Answer:
SELECT away_team FROM table_name_93 WHERE home_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR)
### Question:
What is the first year that Mario Lemieux from Canada won playing center?
### Answer:
SELECT MIN(year) FROM table_name_21 WHERE country = "canada" AND position = "center" AND player = "mario lemieux" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR)
### Question:
what's the numer of jamaicans granted british citizenship with naturalisation by residence being 927
### Answer:
SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = 927 |
Below is an context that describes a sql 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 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
### Question:
Who is the constructor when the chassis is talbot-lago t26c and the driver is charles pozzi?
### Answer:
SELECT constructor FROM table_name_78 WHERE chassis = "talbot-lago t26c" AND driver = "charles pozzi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22893781_5 (team VARCHAR, date VARCHAR)
### Question:
Who was he opponent on december 11?
### Answer:
SELECT team FROM table_22893781_5 WHERE date = "December 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_27700375_7 (date VARCHAR, game VARCHAR)
### Question:
what is the date of the game 23?
### Answer:
SELECT date FROM table_27700375_7 WHERE game = 23 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.