question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
|
CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR)
|
SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"
|
What is the minimum manhunt beauty contest?
|
CREATE TABLE table_30018460_1 (manhunt_international INTEGER)
|
SELECT MIN(manhunt_international) FROM table_30018460_1
|
What round was Steve Stonebreaker drafted?
|
CREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR)
|
SELECT MAX(round) FROM table_10360656_1 WHERE player_name = "Steve Stonebreaker"
|
what is the total number of times the tournament was pga championship and evens is less than 4?
|
CREATE TABLE table_name_95 (top_5 VARCHAR, tournament VARCHAR, events VARCHAR)
|
SELECT COUNT(top_5) FROM table_name_95 WHERE tournament = "pga championship" AND events < 4
|
Name the number of poles for stefano livio category:articles with hcards
|
CREATE TABLE table_19001175_1 (poles VARCHAR, name VARCHAR)
|
SELECT COUNT(poles) FROM table_19001175_1 WHERE name = "Stefano Livio Category:Articles with hCards"
|
When days 1-86 is the duration how many names are there?
|
CREATE TABLE table_19061741_3 (name VARCHAR, duration VARCHAR)
|
SELECT COUNT(name) FROM table_19061741_3 WHERE duration = "Days 1-86"
|
How many singles tournaments did Ludovic Walter win?
|
CREATE TABLE table_11900378_1 (tournament VARCHAR, singles_champions VARCHAR)
|
SELECT COUNT(tournament) FROM table_11900378_1 WHERE singles_champions = "Ludovic Walter"
|
What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?
|
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)
|
SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"
|
When the attendance was 1568, who was man of the match?
|
CREATE TABLE table_17120964_7 (man_of_the_match VARCHAR, attendance VARCHAR)
|
SELECT man_of_the_match FROM table_17120964_7 WHERE attendance = 1568
|
What country has a total larger than 293, and a to par less than 17?
|
CREATE TABLE table_name_79 (country VARCHAR, total VARCHAR, to_par VARCHAR)
|
SELECT country FROM table_name_79 WHERE total > 293 AND to_par < 17
|
What director grossed $200,512,643
|
CREATE TABLE table_name_96 (director VARCHAR, gross VARCHAR)
|
SELECT director FROM table_name_96 WHERE gross = "$200,512,643"
|
How many status' are there with a population of 90565?
|
CREATE TABLE table_22815568_2 (status VARCHAR, population VARCHAR)
|
SELECT COUNT(status) FROM table_22815568_2 WHERE population = 90565
|
What is the name of the race in Kenya with a time of 30:27?
|
CREATE TABLE table_name_96 (race VARCHAR, nation VARCHAR, time VARCHAR)
|
SELECT race FROM table_name_96 WHERE nation = "kenya" AND time = "30:27"
|
Which customer status code has least number of customers?
|
CREATE TABLE Customers (customer_status_code VARCHAR)
|
SELECT customer_status_code FROM Customers GROUP BY customer_status_code ORDER BY COUNT(*) LIMIT 1
|
What is the round played on 13 October 1984?
|
CREATE TABLE table_name_41 (round VARCHAR, date VARCHAR)
|
SELECT round FROM table_name_41 WHERE date = "13 october 1984"
|
How many gold medals for Bulgaria (BUL) with 2 silvers and a less than 18 rank?
|
CREATE TABLE table_name_61 (gold INTEGER, rank VARCHAR, silver VARCHAR, nation VARCHAR)
|
SELECT SUM(gold) FROM table_name_61 WHERE silver = 2 AND nation = "bulgaria (bul)" AND rank < 18
|
What is the GVW for model 97H00?
|
CREATE TABLE table_20866024_4 (gvw__kg_ton_ VARCHAR, model_designation VARCHAR)
|
SELECT gvw__kg_ton_ FROM table_20866024_4 WHERE model_designation = "97H00"
|
What was the final of the New England Patriots game?
|
CREATE TABLE table_name_66 (result VARCHAR, opponent VARCHAR)
|
SELECT result FROM table_name_66 WHERE opponent = "new england patriots"
|
Name the mens singles for 1989
|
CREATE TABLE table_14903491_1 (mens_singles VARCHAR, year VARCHAR)
|
SELECT mens_singles FROM table_14903491_1 WHERE year = 1989
|
Name the days for current champions of dean ambrose
|
CREATE TABLE table_name_33 (days_held VARCHAR, current_champion_s_ VARCHAR)
|
SELECT days_held FROM table_name_33 WHERE current_champion_s_ = "dean ambrose"
|
Name the number of captains for barcelona
|
CREATE TABLE table_29398373_2 (captain VARCHAR, team VARCHAR)
|
SELECT COUNT(captain) FROM table_29398373_2 WHERE team = "Barcelona"
|
What is the number of races associated with Team ASM and 0 poles?
|
CREATE TABLE table_name_19 (races VARCHAR, poles VARCHAR, team VARCHAR)
|
SELECT races FROM table_name_19 WHERE poles = "0" AND team = "asm"
|
What is the Total medals for the Nation with 1 Silver and 0 Golds?
|
CREATE TABLE table_name_89 (total VARCHAR, silver VARCHAR, gold VARCHAR)
|
SELECT COUNT(total) FROM table_name_89 WHERE silver = 1 AND gold < 0
|
What was the last appearance of actor/actress is pam ferris?
|
CREATE TABLE table_25831483_1 (last_appearance VARCHAR, actor_actress VARCHAR)
|
SELECT last_appearance FROM table_25831483_1 WHERE actor_actress = "Pam Ferris"
|
What was the Category after 1991 with a Score of 7-5, 6-7, 6-2?
|
CREATE TABLE table_name_90 (category VARCHAR, year VARCHAR, score VARCHAR)
|
SELECT category FROM table_name_90 WHERE year > 1991 AND score = "7-5, 6-7, 6-2"
|
Name the team for chris duhon , nate robinson , david lee (3)
|
CREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR)
|
SELECT team FROM table_17060277_7 WHERE high_assists = "Chris Duhon , Nate Robinson , David Lee (3)"
|
What week was the game played at Robert f. Kennedy memorial stadium with more than 54,633 people in attendance?
|
CREATE TABLE table_name_71 (week VARCHAR, game_site VARCHAR, attendance VARCHAR)
|
SELECT COUNT(week) FROM table_name_71 WHERE game_site = "robert f. kennedy memorial stadium" AND attendance > 54 OFFSET 633
|
What was the lowest pick number with an overall 86?
|
CREATE TABLE table_name_77 (pick__number INTEGER, overall VARCHAR)
|
SELECT MIN(pick__number) FROM table_name_77 WHERE overall = 86
|
What is the payment method code used by the most orders?
|
CREATE TABLE INVOICES (payment_method_code VARCHAR)
|
SELECT payment_method_code FROM INVOICES GROUP BY payment_method_code ORDER BY COUNT(*) DESC LIMIT 1
|
What was the outcome of the game that had a week number of less than 2?
|
CREATE TABLE table_name_67 (result VARCHAR, week INTEGER)
|
SELECT result FROM table_name_67 WHERE week < 2
|
How many original air dates have U.S. Views (millions) of 19.49?
|
CREATE TABLE table_17758010_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT COUNT(original_air_date) FROM table_17758010_2 WHERE us_viewers__millions_ = "19.49"
|
which entrant after 1987 had 12 points and a benetton b188 chassis?
|
CREATE TABLE table_name_22 (entrant VARCHAR, points VARCHAR, year VARCHAR, chassis VARCHAR)
|
SELECT entrant FROM table_name_22 WHERE year > 1987 AND chassis = "benetton b188" AND points = 12
|
What school did the player that is 6-6 go to?
|
CREATE TABLE table_name_69 (school VARCHAR, height VARCHAR)
|
SELECT school FROM table_name_69 WHERE height = "6-6"
|
What is the sum of Against, when Opposing Teams is "South Africa", and when Status is "First Test"?
|
CREATE TABLE table_name_11 (against INTEGER, opposing_teams VARCHAR, status VARCHAR)
|
SELECT SUM(against) FROM table_name_11 WHERE opposing_teams = "south africa" AND status = "first test"
|
What is the total number of Points- when the Sets- is larger than 51?
|
CREATE TABLE table_name_56 (points_ VARCHAR, sets_ INTEGER)
|
SELECT COUNT(points_) FROM table_name_56 WHERE sets_ > 51
|
What is the T568A color for the cable with a white/orange stripe T568B color?
|
CREATE TABLE table_name_44 (t568a_color VARCHAR, t568b_color VARCHAR)
|
SELECT t568a_color FROM table_name_44 WHERE t568b_color = "white/orange stripe"
|
Name the area for north bay village
|
CREATE TABLE table_22916979_5 (metropolitan_area VARCHAR, densest_incorporated_place VARCHAR)
|
SELECT metropolitan_area FROM table_22916979_5 WHERE densest_incorporated_place = "North Bay Village"
|
Who directed the episode that had 6.76 million U.S. viewers?
|
CREATE TABLE table_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT directed_by FROM table_23242968_1 WHERE us_viewers__millions_ = "6.76"
|
Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21?
|
CREATE TABLE table_name_44 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR, company VARCHAR)
|
SELECT MIN(market_value__billion_) AS $_ FROM table_name_44 WHERE assets__billion_$_ > 276.81 AND company = "toyota" AND profits__billion_$_ > 17.21
|
How many clubs are involved when the clubs remaining are 2?
|
CREATE TABLE table_name_88 (clubs_involved INTEGER, clubs_remaining VARCHAR)
|
SELECT SUM(clubs_involved) FROM table_name_88 WHERE clubs_remaining = 2
|
Name the csa 4/16/09 for opinionway being 4/17/09 of 12%
|
CREATE TABLE table_name_17 (csa_4_16_09 VARCHAR, opinionway_4_17_09 VARCHAR)
|
SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = "12%"
|
what's the points against with won being 11
|
CREATE TABLE table_14058433_4 (points_against VARCHAR, won VARCHAR)
|
SELECT points_against FROM table_14058433_4 WHERE won = "11"
|
WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE?
|
CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)
|
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Helen Reino Kai-Riin Saluste"
|
What is the smallest population in a region greater than 9?
|
CREATE TABLE table_name_94 (population INTEGER, region INTEGER)
|
SELECT MIN(population) FROM table_name_94 WHERE region > 9
|
Where was the location and what was the attendance in the game that Anthony Parker (7) earned high assists?
|
CREATE TABLE table_17323092_8 (location_attendance VARCHAR, high_assists VARCHAR)
|
SELECT location_attendance FROM table_17323092_8 WHERE high_assists = "Anthony Parker (7)"
|
What is the highest result for Wallace Spearmon when the reaction time is greater than 0.167?
|
CREATE TABLE table_name_7 (result INTEGER, name VARCHAR, reaction_time VARCHAR)
|
SELECT MAX(result) FROM table_name_7 WHERE name = "wallace spearmon" AND reaction_time > 0.167
|
What were the scores when Jamie and Johns guest was Phillips Idowu?
|
CREATE TABLE table_29141354_2 (scores VARCHAR, jamie_and_johns_guest VARCHAR)
|
SELECT scores FROM table_29141354_2 WHERE jamie_and_johns_guest = "Phillips Idowu"
|
How much Gain has a Long of 29, and an Avg/G smaller than 33.7?
|
CREATE TABLE table_name_77 (gain VARCHAR, long VARCHAR, avg_g VARCHAR)
|
SELECT COUNT(gain) FROM table_name_77 WHERE long = 29 AND avg_g < 33.7
|
Nominee Neal Baer had what result?
|
CREATE TABLE table_name_23 (result VARCHAR, nominee_s_ VARCHAR)
|
SELECT result FROM table_name_23 WHERE nominee_s_ = "neal baer"
|
What Nationality has the Player of Marcus Walker?
|
CREATE TABLE table_name_19 (nationality VARCHAR, player VARCHAR)
|
SELECT nationality FROM table_name_19 WHERE player = "marcus walker"
|
What is the highest sales All Saints had?
|
CREATE TABLE table_name_51 (sales INTEGER, album_title VARCHAR)
|
SELECT MAX(sales) FROM table_name_51 WHERE album_title = "all saints"
|
what is the political affiliation of the texas 12 district
|
CREATE TABLE table_1341884_45 (party VARCHAR, district VARCHAR)
|
SELECT party FROM table_1341884_45 WHERE district = "Texas 12"
|
Who was the French Elector Elevated on 1288, May 16?
|
CREATE TABLE table_name_92 (elector VARCHAR, nationality VARCHAR, elevated VARCHAR)
|
SELECT elector FROM table_name_92 WHERE nationality = "french" AND elevated = "1288, may 16"
|
What is Country, when Score is "72-65=137"?
|
CREATE TABLE table_name_40 (country VARCHAR, score VARCHAR)
|
SELECT country FROM table_name_40 WHERE score = 72 - 65 = 137
|
What position was the team who had less then 63 goals against and less than 6 losses?
|
CREATE TABLE table_name_20 (position INTEGER, goals_against VARCHAR, lost VARCHAR)
|
SELECT AVG(position) FROM table_name_20 WHERE goals_against < 63 AND lost < 6
|
How many times has the student Linda Smith visited Subway?
|
CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Student (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
|
SELECT COUNT(*) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" AND Restaurant.ResName = "Subway"
|
What is the date of the event with a 1:54.00 time?
|
CREATE TABLE table_name_25 (date VARCHAR, time VARCHAR)
|
SELECT date FROM table_name_25 WHERE time = "1:54.00"
|
what game had a doubles round in 1979
|
CREATE TABLE table_name_92 (mixed_doubles VARCHAR, year VARCHAR)
|
SELECT mixed_doubles FROM table_name_92 WHERE year = 1979
|
What is Results, when First Elected is less than 1988?
|
CREATE TABLE table_name_93 (results VARCHAR, first_elected INTEGER)
|
SELECT results FROM table_name_93 WHERE first_elected < 1988
|
Name the nation where jeff barker is from
|
CREATE TABLE table_19730892_1 (nation VARCHAR, name VARCHAR)
|
SELECT nation FROM table_19730892_1 WHERE name = "Jeff Barker"
|
Which team had game 3?
|
CREATE TABLE table_name_73 (team VARCHAR, game VARCHAR)
|
SELECT team FROM table_name_73 WHERE game = 3
|
What is the 1st leg of cs sfaxien?
|
CREATE TABLE table_name_48 (team_2 VARCHAR)
|
SELECT 1 AS st_leg FROM table_name_48 WHERE team_2 = "cs sfaxien"
|
How many people attended when the away team was Richmond?
|
CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR)
|
SELECT SUM(crowd) FROM table_name_54 WHERE away_team = "richmond"
|
what is the highest gold when the rank is 12 for the nation vietnam?
|
CREATE TABLE table_name_18 (gold INTEGER, rank VARCHAR, nation VARCHAR)
|
SELECT MAX(gold) FROM table_name_18 WHERE rank = "12" AND nation = "vietnam"
|
Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12?
|
CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR)
|
SELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12
|
Which title is in Portuguese?
|
CREATE TABLE table_name_28 (title VARCHAR, language VARCHAR)
|
SELECT title FROM table_name_28 WHERE language = "portuguese"
|
Which Championship has a League Cup smaller than 0?
|
CREATE TABLE table_name_14 (championship INTEGER, league_cup INTEGER)
|
SELECT AVG(championship) FROM table_name_14 WHERE league_cup < 0
|
What is the country of Palmers Shipbuilding and Iron Company?
|
CREATE TABLE table_name_96 (country VARCHAR, builder VARCHAR)
|
SELECT country FROM table_name_96 WHERE builder = "palmers shipbuilding and iron company"
|
When wacker burghausen is the oberbayern a what is the schwaben?
|
CREATE TABLE table_23224961_1 (schwaben VARCHAR, oberbayern_a VARCHAR)
|
SELECT schwaben FROM table_23224961_1 WHERE oberbayern_a = "Wacker Burghausen"
|
When collingwood played as the home team who was the away team?
|
CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR)
|
SELECT away_team FROM table_name_88 WHERE home_team = "collingwood"
|
Which Place has a Score smaller than 72, and a To par of −1, and a Country of spain?
|
CREATE TABLE table_name_51 (place VARCHAR, country VARCHAR, score VARCHAR, to_par VARCHAR)
|
SELECT place FROM table_name_51 WHERE score < 72 AND to_par = "−1" AND country = "spain"
|
Find the emails of customers who has filed a complaints of the product with the most complaints.
|
CREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR)
|
SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id ORDER BY COUNT(*) LIMIT 1
|
What was the score for the game played at Sarge Frye Field?
|
CREATE TABLE table_name_15 (score VARCHAR, site_stadium VARCHAR)
|
SELECT score FROM table_name_15 WHERE site_stadium = "sarge frye field"
|
What are the average fastest lap speed in races held after 2004 grouped by race name and ordered by year?
|
CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR)
|
SELECT AVG(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year
|
What Wrestler has an Elimination of 7?
|
CREATE TABLE table_name_6 (wrestler VARCHAR, elimination VARCHAR)
|
SELECT wrestler FROM table_name_6 WHERE elimination = "7"
|
What is the School of the quarterback?
|
CREATE TABLE table_name_43 (school VARCHAR, position VARCHAR)
|
SELECT school FROM table_name_43 WHERE position = "quarterback"
|
What is the att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g?
|
CREATE TABLE table_name_16 (att_cmp_int VARCHAR, gp_gs VARCHAR, avg_g VARCHAR)
|
SELECT att_cmp_int FROM table_name_16 WHERE gp_gs = "12" AND avg_g = 174.3
|
What is the average population when deaths are 3 557 and crude death date is less than 11.9?
|
CREATE TABLE table_name_40 (average_population__x_1000_ INTEGER, deaths VARCHAR, crude_death_rate__per_1000_ VARCHAR)
|
SELECT AVG(average_population__x_1000_) FROM table_name_40 WHERE deaths = "3 557" AND crude_death_rate__per_1000_ < 11.9
|
What was the Michele Alboreto's engine?
|
CREATE TABLE table_name_22 (engine VARCHAR, driver VARCHAR)
|
SELECT engine FROM table_name_22 WHERE driver = "michele alboreto"
|
What is the figure for December 27 for ang tanging ina mo (last na 'to!)?
|
CREATE TABLE table_29217650_1 (december_27 VARCHAR, movies VARCHAR)
|
SELECT december_27 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)"
|
Which Outcome has a Score of 6–4, 6–4, 6–2?
|
CREATE TABLE table_name_19 (outcome VARCHAR, score VARCHAR)
|
SELECT outcome FROM table_name_19 WHERE score = "6–4, 6–4, 6–2"
|
What is the sum of Bronze when the rank is more than 11 and gold is less than 0?
|
CREATE TABLE table_name_47 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
|
SELECT SUM(bronze) FROM table_name_47 WHERE rank > 11 AND gold < 0
|
What is Score, when Leading Scorer is Tyrone Hill , 20 Points?
|
CREATE TABLE table_name_6 (score VARCHAR, leading_scorer VARCHAR)
|
SELECT score FROM table_name_6 WHERE leading_scorer = "tyrone hill , 20 points"
|
What is the total 1961 number of the plandište Macedonian population with a 1981 value greater than 1027?
|
CREATE TABLE table_name_47 (macedonian_population_in_vojvodina VARCHAR)
|
SELECT COUNT(1961) FROM table_name_47 WHERE macedonian_population_in_vojvodina = "plandište" AND 1981 > 1027
|
What is the Visitor on January 1?
|
CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR)
|
SELECT visitor FROM table_name_58 WHERE date = "january 1"
|
What day is the grand prix de trois-rivières?
|
CREATE TABLE table_name_30 (date VARCHAR, race_title VARCHAR)
|
SELECT date FROM table_name_30 WHERE race_title = "grand prix de trois-rivières"
|
Name the msot episode that was adapted by leon griffiths
|
CREATE TABLE table_15739098_1 (episode INTEGER, adapted_by VARCHAR)
|
SELECT MAX(episode) FROM table_15739098_1 WHERE adapted_by = "Leon Griffiths"
|
What was the score of the away team while playing at the arden street oval?
|
CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR)
|
SELECT away_team AS score FROM table_name_53 WHERE venue = "arden street oval"
|
Who is h.t. brewer when j.e. armstrong is a.j. wilson?
|
CREATE TABLE table_1320857_1 (ht_brewer VARCHAR, je_armstrong VARCHAR)
|
SELECT ht_brewer FROM table_1320857_1 WHERE je_armstrong = "A.J. Wilson"
|
What was the score in Round 3?
|
CREATE TABLE table_name_32 (record VARCHAR, round VARCHAR)
|
SELECT record FROM table_name_32 WHERE round = "3"
|
what's the record where result is l 24-10
|
CREATE TABLE table_11406866_2 (record VARCHAR, result VARCHAR)
|
SELECT record FROM table_11406866_2 WHERE result = "L 24-10"
|
what is the to par when the place is t10 and the score is 72-74-71-69=286?
|
CREATE TABLE table_name_26 (to_par VARCHAR, place VARCHAR, score VARCHAR)
|
SELECT to_par FROM table_name_26 WHERE place = "t10" AND score = 72 - 74 - 71 - 69 = 286
|
What is the Round when the number of fixtures is more than 2, and the Main date of 7 and 28 november 2007?
|
CREATE TABLE table_name_31 (round VARCHAR, number_of_fixtures VARCHAR, main_date VARCHAR)
|
SELECT round FROM table_name_31 WHERE number_of_fixtures > 2 AND main_date = "7 and 28 november 2007"
|
What is the date of week 11?
|
CREATE TABLE table_name_20 (date VARCHAR, week VARCHAR)
|
SELECT date FROM table_name_20 WHERE week = 11
|
What is the total of laps run by the driver with a grid under 17 and a time of +5.088?
|
CREATE TABLE table_name_3 (laps INTEGER, time VARCHAR, grid VARCHAR)
|
SELECT SUM(laps) FROM table_name_3 WHERE time = "+5.088" AND grid < 17
|
What score has fred couples as the player?
|
CREATE TABLE table_name_3 (score VARCHAR, player VARCHAR)
|
SELECT score FROM table_name_3 WHERE player = "fred couples"
|
Who's the captain of the team whose stadium is Gradski Stadion?
|
CREATE TABLE table_23214833_1 (team_captain VARCHAR, stadium VARCHAR)
|
SELECT team_captain FROM table_23214833_1 WHERE stadium = "Gradski Stadion"
|
How many wins were there for Washington State College with losses greater than 980 and a first season before 1906 and rank greater than 42?
|
CREATE TABLE table_name_29 (wins VARCHAR, rank VARCHAR, college VARCHAR, losses VARCHAR, first_season VARCHAR)
|
SELECT COUNT(wins) FROM table_name_29 WHERE losses > 980 AND first_season < 1906 AND college = "washington state" AND rank > 42
|
What is the high silver total for nations with 3 golds and under 5 bronzes?
|
CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
|
SELECT MAX(silver) FROM table_name_61 WHERE gold = 3 AND bronze < 5
|
What is the average number of wins for the Terang Club, when there are less than 0 draws?
|
CREATE TABLE table_name_43 (wins INTEGER, club VARCHAR, draws VARCHAR)
|
SELECT AVG(wins) FROM table_name_43 WHERE club = "terang" AND draws < 0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.