question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What was the finishing time of Stage SS6? | CREATE TABLE table_name_63 (time VARCHAR, stage VARCHAR) | SELECT time FROM table_name_63 WHERE stage = "ss6" |
How large is the fleet size of the airline with the IATA code of 5j? | CREATE TABLE table_15637071_1 (fleet_size VARCHAR, iata VARCHAR) | SELECT COUNT(fleet_size) FROM table_15637071_1 WHERE iata = "5J" |
What is Country, when Player is "Rives McBee"? | CREATE TABLE table_name_89 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_89 WHERE player = "rives mcbee" |
who isthe jockey in 10th position? | CREATE TABLE table_25429986_1 (jockey VARCHAR, position VARCHAR) | SELECT jockey FROM table_25429986_1 WHERE position = "10th" |
How many total cuts were made in events with more than 0 wins and exactly 0 top-5s? | CREATE TABLE table_name_91 (cuts_made VARCHAR, top_5 VARCHAR, wins VARCHAR) | SELECT COUNT(cuts_made) FROM table_name_91 WHERE top_5 = 0 AND wins > 0 |
What is the Constituency number for Meerut? | CREATE TABLE table_name_8 (constituency_number VARCHAR, name VARCHAR) | SELECT constituency_number FROM table_name_8 WHERE name = "meerut" |
Show all payment method codes and the number of orders for each code. | CREATE TABLE INVOICES (payment_method_code VARCHAR) | SELECT payment_method_code, COUNT(*) FROM INVOICES GROUP BY payment_method_code |
What is the max speed of the unit with an 8+4 quantity built before 1971? | CREATE TABLE table_name_22 (max_speed__km_h_ INTEGER, quantity_built VARCHAR, year_built VARCHAR) | SELECT SUM(max_speed__km_h_) FROM table_name_22 WHERE quantity_built = "8+4" AND year_built < 1971 |
How many postseason titles has Nebraska received? | CREATE TABLE table_name_20 (postseason VARCHAR, team VARCHAR) | SELECT postseason FROM table_name_20 WHERE team = "nebraska" |
Which Country has a To par smaller than 6, and a Money ($) larger than 700, and a Score of 69-73-70-71=283? | CREATE TABLE table_name_18 (country VARCHAR, to_par VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT country FROM table_name_18 WHERE to_par < 6 AND money___$__ > 700 AND score = 69 - 73 - 70 - 71 = 283 |
What Competition has an Event of 4x100 m relay and has the Time of 38.89? | CREATE TABLE table_name_77 (competition VARCHAR, event VARCHAR, time VARCHAR) | SELECT competition FROM table_name_77 WHERE event = "4x100 m relay" AND time = "38.89" |
How many locations did the game that was on April 8 take place at? | CREATE TABLE table_27733909_10 (location_attendance VARCHAR, date VARCHAR) | SELECT COUNT(location_attendance) FROM table_27733909_10 WHERE date = "April 8" |
What location is listed from 2005-2010? | CREATE TABLE table_26476336_2 (location VARCHAR, years VARCHAR) | SELECT location FROM table_26476336_2 WHERE years = "2005-2010" |
How many division titles are there when the win pc is .558? | CREATE TABLE table_19451173_1 (division_titles VARCHAR, win_pct VARCHAR) | SELECT division_titles FROM table_19451173_1 WHERE win_pct = ".558" |
In what tournament was the winning score –10 (68-71-69-70=278)? | CREATE TABLE table_name_21 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_21 WHERE winning_score = –10(68 - 71 - 69 - 70 = 278) |
What shareholder has 2.55 percent of votes? | CREATE TABLE table_206419_3 (shareholder VARCHAR, percent_of_votes VARCHAR) | SELECT shareholder FROM table_206419_3 WHERE percent_of_votes = "2.55" |
What is the most recent season where the Denim Demons placed 3rd? | CREATE TABLE table_29619494_2 (season INTEGER, denim_demons VARCHAR) | SELECT MAX(season) FROM table_29619494_2 WHERE denim_demons = "3rd" |
What is the Score that has a To standard of –3, and a Player of Jim Furyk? | CREATE TABLE table_name_15 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_15 WHERE to_par = "–3" AND player = "jim furyk" |
Which outcome has a Surface of clay and a Score of 4–6, 7–5, 2–6? | CREATE TABLE table_name_50 (outcome VARCHAR, surface VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_50 WHERE surface = "clay" AND score = "4–6, 7–5, 2–6" |
What is the Record for April 15? | CREATE TABLE table_name_45 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_45 WHERE date = "april 15" |
In what division did they place 4th? | CREATE TABLE table_name_27 (division VARCHAR, position VARCHAR) | SELECT division FROM table_name_27 WHERE position = "4th" |
How many sports do we have? | CREATE TABLE Sportsinfo (sportname VARCHAR) | SELECT COUNT(DISTINCT sportname) FROM Sportsinfo |
What is Ernie Els' Score? | CREATE TABLE table_name_43 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_43 WHERE player = "ernie els" |
What was the attendance in the gave versus the Brewers with a score of 9–6? | CREATE TABLE table_name_43 (attendance VARCHAR, opponent VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_43 WHERE opponent = "brewers" AND score = "9–6" |
What Poll was on April 14 of 13? | CREATE TABLE table_name_71 (poll VARCHAR, april_14 VARCHAR) | SELECT poll FROM table_name_71 WHERE april_14 = "13" |
What cities are in sweden on this list? | CREATE TABLE table_28005160_2 (city VARCHAR, country VARCHAR) | SELECT city FROM table_28005160_2 WHERE country = "Sweden" |
What is the Süskən village with a Malax village meşəbaş? | CREATE TABLE table_name_25 (süskən VARCHAR, malax VARCHAR) | SELECT süskən FROM table_name_25 WHERE malax = "meşəbaş" |
What is the total number of rounds that Joe Barnes was picked? | CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_34 WHERE player = "joe barnes" |
what is the time/retired when the laps is less than 4? | CREATE TABLE table_name_23 (time_retired VARCHAR, laps INTEGER) | SELECT time_retired FROM table_name_23 WHERE laps < 4 |
Which player was selected in rounds under 3? | CREATE TABLE table_name_33 (player VARCHAR, round INTEGER) | SELECT player FROM table_name_33 WHERE round < 3 |
What was the election date for H. Brent Coles? | CREATE TABLE table_1329532_2 (date_of_election VARCHAR, appointed_successor VARCHAR) | SELECT date_of_election FROM table_1329532_2 WHERE appointed_successor = "H. Brent Coles" |
What is the barony of mountcotton? | CREATE TABLE table_30120605_1 (barony VARCHAR, townland VARCHAR) | SELECT barony FROM table_30120605_1 WHERE townland = "Mountcotton" |
Name the winner with mountains classification of franco pellizotti and combativity award of martijn maaskant | CREATE TABLE table_name_5 (winner VARCHAR, mountains_classification VARCHAR, combativity_award VARCHAR) | SELECT winner FROM table_name_5 WHERE mountains_classification = "franco pellizotti" AND combativity_award = "martijn maaskant" |
What is the sum of Points when the against is less than 24 and played is less than 20? | CREATE TABLE table_name_66 (points INTEGER, against VARCHAR, played VARCHAR) | SELECT SUM(points) FROM table_name_66 WHERE against < 24 AND played < 20 |
What is the lowest number of field goals when the points were less than 5? | CREATE TABLE table_name_53 (field_goals INTEGER, points INTEGER) | SELECT MIN(field_goals) FROM table_name_53 WHERE points < 5 |
What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had? | CREATE TABLE table_name_96 (goals_against INTEGER, club VARCHAR, ga_average VARCHAR) | SELECT MAX(goals_against) FROM table_name_96 WHERE club = "dallas burn" AND ga_average > 1.46 |
Which Tournament has a Margin of victory of 7 strokes | CREATE TABLE table_name_38 (tournament VARCHAR, margin_of_victory VARCHAR) | SELECT tournament FROM table_name_38 WHERE margin_of_victory = "7 strokes" |
What episode did actor Daniel Macpherson's character have the rank of Detective Senior Constable | CREATE TABLE table_name_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR) | SELECT episodes FROM table_name_46 WHERE rank = "detective senior constable" AND actor_actress = "daniel macpherson" |
What is the score of game 4? | CREATE TABLE table_27756014_1 (score VARCHAR, game VARCHAR) | SELECT score FROM table_27756014_1 WHERE game = 4 |
What is the 1961 total of the Macedonian population with a 1971 number of 3325 and a 1991 value greater than 3177? | CREATE TABLE table_name_15 (number_1971 VARCHAR) | SELECT COUNT(1961) FROM table_name_15 WHERE number_1971 = 3325 AND 1991 > 3177 |
Whats teo fabi average lap time while having less than 9 grids? | CREATE TABLE table_name_79 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_79 WHERE driver = "teo fabi" AND grid < 9 |
Who was the away captain at Brisbane Cricket Ground? | CREATE TABLE table_name_34 (away_captain VARCHAR, venue VARCHAR) | SELECT away_captain FROM table_name_34 WHERE venue = "brisbane cricket ground" |
Which genbank id's variant is abd1a? | CREATE TABLE table_name_41 (genbank_id VARCHAR, variant_id VARCHAR) | SELECT genbank_id FROM table_name_41 WHERE variant_id = "abd1a" |
What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4? | CREATE TABLE table_name_12 (draws INTEGER, losses VARCHAR, byes VARCHAR) | SELECT MIN(draws) FROM table_name_12 WHERE losses = 0 AND byes > 4 |
what is 1980 when 1978 is 2.3? | CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 1980 FROM table_name_22 WHERE 1978 = "2.3" |
Who was the leader at the summit for the race in 2005? | CREATE TABLE table_name_23 (leader_at_the_summit VARCHAR, year VARCHAR) | SELECT leader_at_the_summit FROM table_name_23 WHERE year = 2005 |
Which Year is the lowest one that has an Athlete of markus thalmann, and a Time of 23:28:24? | CREATE TABLE table_name_76 (year INTEGER, athlete VARCHAR, time VARCHAR) | SELECT MIN(year) FROM table_name_76 WHERE athlete = "markus thalmann" AND time = "23:28:24" |
Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2? | CREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR) | SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2" |
With a total of 11, what is the score points? | CREATE TABLE table_name_32 (score_points VARCHAR, total VARCHAR) | SELECT score_points FROM table_name_32 WHERE total = "11" |
Which Date has a Tournament of national jewish hospital open, and a Runner(s)-up of pat bradley? | CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_95 WHERE tournament = "national jewish hospital open" AND runner_s__up = "pat bradley" |
What is the highest season# for the writer Daegan Fryklind? | CREATE TABLE table_25131572_3 (season__number INTEGER, written_by VARCHAR) | SELECT MAX(season__number) FROM table_25131572_3 WHERE written_by = "Daegan Fryklind" |
what is the name when the constituency number is 150? | CREATE TABLE table_name_70 (name VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_70 WHERE constituency_number = "150" |
What is the total attendance at games against the New York Mets with a record of 18-18? | CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18" |
Return the names and ids of all products whose price is between 600 and 700. | CREATE TABLE products (product_name VARCHAR, product_id VARCHAR, product_price INTEGER) | SELECT product_name, product_id FROM products WHERE product_price BETWEEN 600 AND 700 |
Show the average and maximum damage for all storms with max speed higher than 1000. | CREATE TABLE storm (damage_millions_USD INTEGER, max_speed INTEGER) | SELECT AVG(damage_millions_USD), MAX(damage_millions_USD) FROM storm WHERE max_speed > 1000 |
What is Brand, when Frequency is "640"? | CREATE TABLE table_name_68 (brand VARCHAR, frequency VARCHAR) | SELECT brand FROM table_name_68 WHERE frequency = 640 |
Which foot ball team played soccer at wooster, and Gold in Ashland? | CREATE TABLE table_name_2 (football VARCHAR, soccer VARCHAR, golf VARCHAR) | SELECT football FROM table_name_2 WHERE soccer = "wooster" AND golf = "ashland" |
What engine did Riccardo Patrese use? | CREATE TABLE table_name_12 (engine VARCHAR, driver VARCHAR) | SELECT engine FROM table_name_12 WHERE driver = "riccardo patrese" |
List the names of phones that are not on any market. | CREATE TABLE phone (Name VARCHAR, Phone_id VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Name VARCHAR, Phone_id VARCHAR, Phone_ID VARCHAR) | SELECT Name FROM phone WHERE NOT Phone_id IN (SELECT Phone_ID FROM phone_market) |
What team(s) did they play on march 9? | CREATE TABLE table_17311783_9 (team VARCHAR, date VARCHAR) | SELECT team FROM table_17311783_9 WHERE date = "March 9" |
Name the high points for toyota center 18,269? | CREATE TABLE table_11964263_13 (high_points VARCHAR, location_attendance VARCHAR) | SELECT high_points FROM table_11964263_13 WHERE location_attendance = "Toyota Center 18,269" |
Who was the Away team at Hawthorn? | CREATE TABLE table_name_24 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_24 WHERE away_team = "hawthorn" |
What entrant has a year earlier than 1960 and a veritas straight-6 engine? | CREATE TABLE table_name_77 (entrant VARCHAR, year VARCHAR, engine VARCHAR) | SELECT entrant FROM table_name_77 WHERE year < 1960 AND engine = "veritas straight-6" |
What is the least first elected for jeff busby? | CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby" |
Name the team with Laps of 333 | CREATE TABLE table_name_92 (team VARCHAR, laps VARCHAR) | SELECT team FROM table_name_92 WHERE laps = 333 |
When SSC-R is the opponent what is the name? | CREATE TABLE table_name_70 (name VARCHAR, opponent VARCHAR) | SELECT name FROM table_name_70 WHERE opponent = "ssc-r" |
Name the Team which has a Time/Retired of contact, and a Grid smaller than 17? | CREATE TABLE table_name_87 (team VARCHAR, time_retired VARCHAR, grid VARCHAR) | SELECT team FROM table_name_87 WHERE time_retired = "contact" AND grid < 17 |
Name the number of years for womens doubles being diana koleva emilia dimitrova and jeliazko valkov | CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR, mens_singles VARCHAR) | SELECT COUNT(year) FROM table_14903491_1 WHERE womens_doubles = "Diana Koleva Emilia Dimitrova" AND mens_singles = "Jeliazko Valkov" |
How many gold medals for a nation with rank less than 5, more than 0 silvers and a total of 2 medals? | CREATE TABLE table_name_27 (gold INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR) | SELECT AVG(gold) FROM table_name_27 WHERE rank < 5 AND silver > 0 AND total = 2 |
What nationality is the swimmer that is in the lane that is less than 2? | CREATE TABLE table_name_3 (nationality VARCHAR, lane INTEGER) | SELECT nationality FROM table_name_3 WHERE lane < 2 |
What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played? | CREATE TABLE table_name_20 (position VARCHAR, played VARCHAR, points VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_20 WHERE points > 2 AND lost > 4 AND played < 10 |
What was the score for the home team who plays their matches at the mcg venue? | CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_4 WHERE venue = "mcg" |
What is the lowest cuts made that had a Top-25 less than 6 and wins greater than 0? | CREATE TABLE table_name_63 (cuts_made INTEGER, top_25 VARCHAR, wins VARCHAR) | SELECT MIN(cuts_made) FROM table_name_63 WHERE top_25 < 6 AND wins < 0 |
Name the percentage which has females of 2 | CREATE TABLE table_name_17 (percentage___percentage_ VARCHAR, females VARCHAR) | SELECT percentage___percentage_ FROM table_name_17 WHERE females = "2" |
What is the fleet number for the model with Serial number 68056? | CREATE TABLE table_name_27 (fleet_number_s_ VARCHAR, serial_numbers VARCHAR) | SELECT fleet_number_s_ FROM table_name_27 WHERE serial_numbers = "68056" |
What tournament has a 3r in 1983? | CREATE TABLE table_name_81 (tournament VARCHAR) | SELECT tournament FROM table_name_81 WHERE 1983 = "3r" |
What is the total number of picks for the position of OL? | CREATE TABLE table_name_87 (pick__number INTEGER, position VARCHAR) | SELECT SUM(pick__number) FROM table_name_87 WHERE position = "ol" |
meadowlands sports complex is the circuit at which city/location? | CREATE TABLE table_10707142_2 (city_location VARCHAR, circuit VARCHAR) | SELECT city_location FROM table_10707142_2 WHERE circuit = "Meadowlands Sports Complex" |
What is the lowest car with more than 122 yards? | CREATE TABLE table_name_37 (car INTEGER, yards INTEGER) | SELECT MIN(car) FROM table_name_37 WHERE yards > 122 |
What is the airport name for airport 'AKO'? | CREATE TABLE AIRPORTS (AirportName VARCHAR, AirportCode VARCHAR) | SELECT AirportName FROM AIRPORTS WHERE AirportCode = "AKO" |
Which fleet was named Orenburg? | CREATE TABLE table_name_87 (fleet VARCHAR, name VARCHAR) | SELECT fleet FROM table_name_87 WHERE name = "orenburg" |
What number of Points are shown for Team Paulistano where the Drawn is less than 2 and the Against is less than 15? | CREATE TABLE table_name_95 (points VARCHAR, against VARCHAR, drawn VARCHAR, team VARCHAR) | SELECT COUNT(points) FROM table_name_95 WHERE drawn < 2 AND team = "paulistano" AND against < 15 |
On what surface was the 26 August 2001 tournament played? | CREATE TABLE table_name_68 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_68 WHERE date = "26 august 2001" |
How many people attended the September 14, 1968 game? | CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_28 WHERE date = "september 14, 1968" |
For the Entrant of Sasol Jordan, add up all the points with a Year larger than 1993. | CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, entrant VARCHAR) | SELECT SUM(points) FROM table_name_53 WHERE year > 1993 AND entrant = "sasol jordan" |
What was the record in the game in which Jeff Green (14) did the most high rebounds? | CREATE TABLE table_23286112_6 (record VARCHAR, high_rebounds VARCHAR) | SELECT record FROM table_23286112_6 WHERE high_rebounds = "Jeff Green (14)" |
How many roller coasters are there? | CREATE TABLE roller_coaster (Id VARCHAR) | SELECT COUNT(*) FROM roller_coaster |
Which Rams opponent had a record of 2-3? | CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_87 WHERE record = "2-3" |
What is the pick number for School of lsu? | CREATE TABLE table_name_7 (pick INTEGER, school VARCHAR) | SELECT SUM(pick) FROM table_name_7 WHERE school = "lsu" |
Who is the player with a +3 to par and a 74-71-68=213 score? | CREATE TABLE table_name_42 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_42 WHERE to_par = "+3" AND score = 74 - 71 - 68 = 213 |
Name the Partner which is in 1979, and Opponents in the final of heinz günthardt bob hewitt? | CREATE TABLE table_name_68 (partner VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR) | SELECT partner FROM table_name_68 WHERE date = 1979 AND opponents_in_the_final = "heinz günthardt bob hewitt" |
Name the march 27-29 for november 3 being 133 | CREATE TABLE table_1708610_3 (march_27_29 VARCHAR, november_3 VARCHAR) | SELECT march_27_29 FROM table_1708610_3 WHERE november_3 = "133" |
When did the Grand Prix de Monaco race? | CREATE TABLE table_name_13 (date VARCHAR, race_title VARCHAR) | SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco" |
How many losses does Cross Keys RFC have? | CREATE TABLE table_1676073_13 (lost VARCHAR, club VARCHAR) | SELECT COUNT(lost) FROM table_1676073_13 WHERE club = "Cross Keys RFC" |
When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there? | CREATE TABLE table_1825751_4 (miss_universe_philippines VARCHAR, binibining_pilipinas_international VARCHAR) | SELECT COUNT(miss_universe_philippines) FROM table_1825751_4 WHERE binibining_pilipinas_international = "Margaret Ann Bayot" |
Who won the Men's Doubles when Karina de Wit won the Women's Singles? | CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR) | SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = "Karina de Wit" |
What is the Canada singles in 1979 with a US A.C. of 24? | CREATE TABLE table_name_75 (canada_singles VARCHAR, year VARCHAR, us_ac VARCHAR) | SELECT canada_singles FROM table_name_75 WHERE year = 1979 AND us_ac = "24" |
What is the Total for the Player who won in 1936? | CREATE TABLE table_name_66 (total VARCHAR, year_s__won VARCHAR) | SELECT COUNT(total) FROM table_name_66 WHERE year_s__won = "1936" |
What is every code and location where the launch site condition and owner is obliterated? | CREATE TABLE table_22282917_26 (code_ VARCHAR, _location VARCHAR, launch_site_condition_owner VARCHAR) | SELECT code_ & _location FROM table_22282917_26 WHERE launch_site_condition_owner = "Obliterated" |
What is the sum of revenue in Hong Kong with a rank greater than 42, less than $3.46 billion in assets, and greater than $0.17 billion in profits? | CREATE TABLE table_name_98 (revenue__bn INTEGER, rank VARCHAR, profit__bn$_ VARCHAR, assets__bn$_ VARCHAR, headquarters VARCHAR) | SELECT SUM(revenue__bn) AS $_ FROM table_name_98 WHERE assets__bn$_ < 3.46 AND headquarters = "hong kong" AND profit__bn$_ > 0.17 AND rank > 42 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.