answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT game_cost FROM table_243664_1 WHERE real_life_eventual_outcome = "Merged with New York Central to form Penn Central"
|
Name the game cost for merged with new york central to form penn central
|
CREATE TABLE table_243664_1 (game_cost VARCHAR, real_life_eventual_outcome VARCHAR)
|
SELECT MAX(round) FROM table_name_10 WHERE college_junior_club_team__league_ = "torpedo yaroslavl (rus)"
|
Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)?
|
CREATE TABLE table_name_10 (round INTEGER, college_junior_club_team__league_ VARCHAR)
|
SELECT driver FROM table_28046929_2 WHERE co_driver = "Paulo Babo"
|
who is the other person where the assistant is paulo babo
|
CREATE TABLE table_28046929_2 (driver VARCHAR, co_driver VARCHAR)
|
SELECT college FROM table_20649850_1 WHERE position = "OL"
|
Where did the ol go to college?
|
CREATE TABLE table_20649850_1 (college VARCHAR, position VARCHAR)
|
SELECT chinese FROM table_name_7 WHERE chapter > 4 AND english_translation = "food transformations"
|
Can you tell me the Chinese that has the Chapter larger than 4, and the English Translation of food transformations?
|
CREATE TABLE table_name_7 (chinese VARCHAR, chapter VARCHAR, english_translation VARCHAR)
|
SELECT release_date FROM table_name_98 WHERE developer_s_ = "masthead studios"
|
When did Masthead Studios release their game?
|
CREATE TABLE table_name_98 (release_date VARCHAR, developer_s_ VARCHAR)
|
SELECT Pilot_name FROM pilot ORDER BY Rank
|
List the names of pilots in ascending order of rank.
|
CREATE TABLE pilot (Pilot_name VARCHAR, Rank VARCHAR)
|
SELECT second FROM table_name_18 WHERE third = "mikkel krause"
|
Who is the second when Mikkel Krause is the third?
|
CREATE TABLE table_name_18 (second VARCHAR, third VARCHAR)
|
SELECT date FROM table_name_76 WHERE home_team = "torquay united"
|
What date was the game that home team torquay united played?
|
CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR)
|
SELECT player FROM table_14342480_15 WHERE touchdowns = 14
|
Which player scored 14 touchdowns?
|
CREATE TABLE table_14342480_15 (player VARCHAR, touchdowns VARCHAR)
|
SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID ORDER BY T2.Year DESC
|
Show names of actors in descending order of the year their musical is awarded.
|
CREATE TABLE musical (Musical_ID VARCHAR, Year VARCHAR); CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR)
|
SELECT COUNT(winning__percentage) FROM table_name_92 WHERE seasons = 2 AND coach = "guy lowman"
|
how many times is the seasons 2 and the coach guy lowman?
|
CREATE TABLE table_name_92 (winning__percentage VARCHAR, seasons VARCHAR, coach VARCHAR)
|
SELECT AVG(density__inh_kmΒ²_) FROM table_name_33 WHERE land_area__hectares_ = 123.02 AND code > 2356
|
What is the average density with a land area of 123.02, and a Code larger than 2356?
|
CREATE TABLE table_name_33 (density__inh_kmΒ²_ INTEGER, land_area__hectares_ VARCHAR, code VARCHAR)
|
SELECT score FROM table_name_49 WHERE date = "august 25"
|
What score has august 25 as the date?
|
CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)
|
SELECT division_one FROM table_name_61 WHERE division_two = "hereford lads club colts"
|
What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?
|
CREATE TABLE table_name_61 (division_one VARCHAR, division_two VARCHAR)
|
SELECT MIN(grid) FROM table_name_6 WHERE time_retired = "collision" AND driver = "pedro diniz"
|
What is the smallest grid with collision as the Time/Retired for pedro diniz?
|
CREATE TABLE table_name_6 (grid INTEGER, time_retired VARCHAR, driver VARCHAR)
|
SELECT DISTINCT building_description FROM Apartment_Buildings
|
Show all distinct building descriptions.
|
CREATE TABLE Apartment_Buildings (building_description VARCHAR)
|
SELECT MAX(laps) FROM table_name_76 WHERE time_retired = "differential"
|
What is the highest number of laps when the Time/Retired is differential?
|
CREATE TABLE table_name_76 (laps INTEGER, time_retired VARCHAR)
|
SELECT MIN(game) FROM table_name_95 WHERE date = "february 28"
|
What was the first game played on February 28?
|
CREATE TABLE table_name_95 (game INTEGER, date VARCHAR)
|
SELECT drawn FROM table_17941032_2 WHERE "played" = "played"
|
How many draws were there in played games?
|
CREATE TABLE table_17941032_2 (drawn VARCHAR)
|
SELECT COUNT(money___) AS $__ FROM table_name_94 WHERE country = "united states" AND player = "byron nelson"
|
How much does it cost for United States and Byron nelson?
|
CREATE TABLE table_name_94 (money___ VARCHAR, country VARCHAR, player VARCHAR)
|
SELECT difference FROM table_name_66 WHERE points > 10 AND drawn < 2
|
What difference has a points greater than 10, and a drawn less than 2?
|
CREATE TABLE table_name_66 (difference VARCHAR, points VARCHAR, drawn VARCHAR)
|
SELECT name FROM table_16799784_14 WHERE longitude = "246.0E"
|
What is the name of feature with a longitude 246.0e?
|
CREATE TABLE table_16799784_14 (name VARCHAR, longitude VARCHAR)
|
SELECT date FROM table_name_93 WHERE home = "tampa bay" AND decision = "ramo" AND record = "24β27β6"
|
What was the date of the 24β27β6 Lightning home game against Tampa Bay that had a decision of Ramo?
|
CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR, home VARCHAR, decision VARCHAR)
|
SELECT AVG(cuts_made) FROM table_name_33 WHERE top_5 = 0 AND top_10 = 1 AND events < 12
|
What is the number of cuts made when the top-5 is 0, top-10 is 1 and events are fewer than 12?
|
CREATE TABLE table_name_33 (cuts_made INTEGER, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR)
|
SELECT SUM(yards_per_attempt) FROM table_name_17 WHERE net_yards > 631
|
How many yards per attempt have net yards greater than 631?
|
CREATE TABLE table_name_17 (yards_per_attempt INTEGER, net_yards INTEGER)
|
SELECT high_assists FROM table_23281862_5 WHERE record = "4-3"
|
Name the high assists for 4-3
|
CREATE TABLE table_23281862_5 (high_assists VARCHAR, record VARCHAR)
|
SELECT model FROM table_name_37 WHERE top_speed = "231km/h (143mph)"
|
Which model has a top speed of 231km/h (143mph)?
|
CREATE TABLE table_name_37 (model VARCHAR, top_speed VARCHAR)
|
SELECT games FROM table_name_72 WHERE standing = "involuntary suspension of season (hurricane rita)"
|
What are the games with an Involuntary suspension of Season (hurricane Rita)?
|
CREATE TABLE table_name_72 (games VARCHAR, standing VARCHAR)
|
SELECT partner FROM table_26309085_1 WHERE year = 1989
|
Who was his partner in 1989?
|
CREATE TABLE table_26309085_1 (partner VARCHAR, year VARCHAR)
|
SELECT score FROM table_name_48 WHERE set_2 = "15:21"
|
What is the score for Set 2 at 15:21?
|
CREATE TABLE table_name_48 (score VARCHAR, set_2 VARCHAR)
|
SELECT black FROM table_name_87 WHERE white = "anand" AND moves = 20 AND opening = "e15 queen's indian defence"
|
Who was the opponent of Anand in the match with 20 moves that opened with E15 Queen's Indian Defence?
|
CREATE TABLE table_name_87 (black VARCHAR, opening VARCHAR, white VARCHAR, moves VARCHAR)
|
SELECT SUM(first_season) FROM table_name_71 WHERE wins = 1537 AND seasons > 109
|
What is the total of First Season games with 1537 Wins and a Season greater than 109?
|
CREATE TABLE table_name_71 (first_season INTEGER, wins VARCHAR, seasons VARCHAR)
|
SELECT mens_singles FROM table_12193259_1 WHERE season = "1944/1945"
|
Name the mens singles for 1944/1945
|
CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR)
|
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1927"
|
Who won the 250cc in 1927?
|
CREATE TABLE table_name_31 (year VARCHAR)
|
SELECT partial_thromboplastin_time FROM table_221653_1 WHERE prothrombin_time = "Prolonged" AND bleeding_time = "Prolonged"
|
What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged?
|
CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
|
SELECT SUM(lane) FROM table_name_64 WHERE mark = "47.02" AND heat > 5
|
What is the total Lane with a Mark of 47.02, and a Heat higher than 5?
|
CREATE TABLE table_name_64 (lane INTEGER, mark VARCHAR, heat VARCHAR)
|
SELECT MIN(bronze) FROM table_name_56 WHERE total = 3 AND silver > 1 AND gold < 1
|
What is the lowest value for bronze with a total of 3 and a value for silver greater than 1 while the value of gold is smaller than 1?
|
CREATE TABLE table_name_56 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
|
SELECT COUNT(losses) FROM table_name_50 WHERE played > 30
|
What is the total number of losses for the over 30 games played?
|
CREATE TABLE table_name_50 (losses VARCHAR, played INTEGER)
|
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965"
|
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?
|
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)
|
SELECT country FROM table_name_68 WHERE iata = "blq"
|
What country is the IATA BLQ located in?
|
CREATE TABLE table_name_68 (country VARCHAR, iata VARCHAR)
|
SELECT fcc_info FROM table_name_37 WHERE frequency_mhz < 97.3 AND call_sign = "w237br"
|
Name the FCC info for frequency Mhz less than 97.3 and call sign of w237br
|
CREATE TABLE table_name_37 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
|
SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1
|
Name the total number of yards for avg of 9 and rec of 1
|
CREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR)
|
SELECT wind__m_s_ FROM table_1231316_4 WHERE country = "Trinidad and Tobago"
|
What was the stats of Trinidad and Tobago
|
CREATE TABLE table_1231316_4 (wind__m_s_ VARCHAR, country VARCHAR)
|
SELECT T2.Name, T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID
|
Show the names of members and the location of the performances they attended.
|
CREATE TABLE performance (Location VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR)
|
SELECT classification FROM table_12936521_2 WHERE nickname = "Dolphins"
|
What's the classification of the institution nicknamed Dolphins?
|
CREATE TABLE table_12936521_2 (classification VARCHAR, nickname VARCHAR)
|
SELECT area_1891__statute_acres_ FROM table_14925084_1 WHERE administrative_county = "Flintshire"
|
Name the area for administrative county being flintshire
|
CREATE TABLE table_14925084_1 (area_1891__statute_acres_ VARCHAR, administrative_county VARCHAR)
|
SELECT score FROM table_name_94 WHERE competition = "super league xii" AND date = "15/04/07"
|
On 15/04/07 in the competition Super League XII, what was the score?
|
CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR)
|
SELECT Rank IN Respective AS divisions FROM table_name_60 WHERE capacity = "4100"
|
What Rank in Respective Divisions has a capacity of 4100?
|
CREATE TABLE table_name_60 (Rank VARCHAR, capacity VARCHAR)
|
SELECT displacement_ & _configuration FROM table_name_68 WHERE car_model = "panamera 4s"
|
What displacement & configuration does the car model Panamera 4s have?
|
CREATE TABLE table_name_68 (displacement_ VARCHAR, _configuration VARCHAR, car_model VARCHAR)
|
SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = "sone"
|
What is the name of the diety for the river of sone?
|
CREATE TABLE table_name_16 (name_of_deity VARCHAR, name_of_the_river VARCHAR)
|
SELECT episodes FROM table_name_13 WHERE japanese_title = "γγ6γ§3ε2εδΈεε½γ¦γη·"
|
What episodes had the title γγ6γ§3ε2εδΈεε½γ¦γη· in Japanese?
|
CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR)
|
SELECT to_par FROM table_name_15 WHERE year_s__won = "1983"
|
Which To par has a Year(s) won of 1983?
|
CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR)
|
SELECT COUNT(distance___ly__) FROM table_name_34 WHERE constellation = "draco"
|
What is the total number of Distance ( ly ), when Constellation is "Draco"?
|
CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR)
|
SELECT date FROM table_name_53 WHERE method = "knockout" AND round > 2 AND opponent = "barry prior"
|
When did the opponent knockout Barry Prior in more than 2 rounds?
|
CREATE TABLE table_name_53 (date VARCHAR, opponent VARCHAR, method VARCHAR, round VARCHAR)
|
SELECT finish FROM table_name_32 WHERE race = "kentucky derby"
|
What was the finish of the Kentucky Derby?
|
CREATE TABLE table_name_32 (finish VARCHAR, race VARCHAR)
|
SELECT outcome FROM table_name_58 WHERE tournament = "dunlop world challenge"
|
Name the outcome for dunlop world challenge
|
CREATE TABLE table_name_58 (outcome VARCHAR, tournament VARCHAR)
|
SELECT to_par FROM table_name_51 WHERE score = 75 - 70 = 145 AND country = "new zealand"
|
What is the To par of the Player from New Zealand who had a Score of 75-70=145?
|
CREATE TABLE table_name_51 (to_par VARCHAR, country VARCHAR, score VARCHAR)
|
SELECT home_team FROM table_name_72 WHERE away_team = "bradford city"
|
What is the home team that Bradford City is playing against?
|
CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
|
SELECT penalty FROM table_name_13 WHERE average > 9.662 AND total > 9.706
|
What was the penalty for the gymnast with average above 9.662 and total is more than 9.706?
|
CREATE TABLE table_name_13 (penalty VARCHAR, average VARCHAR, total VARCHAR)
|
SELECT torque FROM table_name_37 WHERE model = "2.0 bitdi (cr) dpf" AND years = "2010β"
|
What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010β?
|
CREATE TABLE table_name_37 (torque VARCHAR, model VARCHAR, years VARCHAR)
|
SELECT lineup FROM table_name_43 WHERE assist_pass = "carli lloyd" AND competition = "2010 concacaf world cup qualifying β group stage"
|
Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying β group stage?
|
CREATE TABLE table_name_43 (lineup VARCHAR, assist_pass VARCHAR, competition VARCHAR)
|
SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 4
|
How many cars have more than 4 cylinders?
|
CREATE TABLE CARS_DATA (Cylinders INTEGER)
|
SELECT county FROM table_23248420_1 WHERE population = 31901
|
When 31901 is the population what is the county?
|
CREATE TABLE table_23248420_1 (county VARCHAR, population VARCHAR)
|
SELECT SUM(losses) FROM table_name_56 WHERE team = "montreal hockey club" AND goals_against > 15
|
What is the sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against?
|
CREATE TABLE table_name_56 (losses INTEGER, team VARCHAR, goals_against VARCHAR)
|
SELECT tournament_venue__city_ FROM table_28365816_2 WHERE conference = "Missouri Valley conference"
|
What tournament venue is listed during the Missouri Valley Conference?
|
CREATE TABLE table_28365816_2 (tournament_venue__city_ VARCHAR, conference VARCHAR)
|
SELECT external_link FROM table_21563298_1 WHERE location = "Brechin"
|
What school is in Brechin?
|
CREATE TABLE table_21563298_1 (external_link VARCHAR, location VARCHAR)
|
SELECT MIN(wins) FROM table_name_15 WHERE byes < 2
|
What is the lowest wins with less than 2 Byes?
|
CREATE TABLE table_name_15 (wins INTEGER, byes INTEGER)
|
SELECT score FROM table_name_8 WHERE opponent = "montreal canadiens"
|
What was the score when the opponent was Montreal Canadiens?
|
CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR)
|
SELECT MAX(attempts) FROM table_name_53 WHERE net_yards < 631 AND touchdowns = 2
|
What are the highest attempts that have net yards less than 631, and 2 for the touchdowns?
|
CREATE TABLE table_name_53 (attempts INTEGER, net_yards VARCHAR, touchdowns VARCHAR)
|
SELECT to_par FROM table_name_25 WHERE score = 71 - 69 - 68 = 208
|
What is the To par of the Player with a Score of 71-69-68=208?
|
CREATE TABLE table_name_25 (to_par VARCHAR, score VARCHAR)
|
SELECT game_site FROM table_name_70 WHERE record = "9β1"
|
Record of 9β1 had what game site?
|
CREATE TABLE table_name_70 (game_site VARCHAR, record VARCHAR)
|
SELECT days_held FROM table_name_2 WHERE reign = "1" AND wrestlers = "eden black"
|
What days held has 1 as the reign with eden black as the wrestlers?
|
CREATE TABLE table_name_2 (days_held VARCHAR, reign VARCHAR, wrestlers VARCHAR)
|
SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257
|
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257
|
CREATE TABLE table_name_94 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR)
|
SELECT air_date FROM table_name_33 WHERE episode_number = 5
|
What was the air date of episode 5?
|
CREATE TABLE table_name_33 (air_date VARCHAR, episode_number VARCHAR)
|
SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat'
|
Find the id of students who do not have a cat pet.
|
CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR)
|
SELECT home FROM table_name_20 WHERE date = "december 5"
|
On December 5 what team played their home game?
|
CREATE TABLE table_name_20 (home VARCHAR, date VARCHAR)
|
SELECT team_1 FROM table_name_46 WHERE team_2 = "union douala"
|
What Team 1 has union douala as Team 2?
|
CREATE TABLE table_name_46 (team_1 VARCHAR, team_2 VARCHAR)
|
SELECT COUNT(record) FROM table_18904831_5 WHERE score = "W 70-66"
|
How many different records were there in the games that ended in w 70-66?
|
CREATE TABLE table_18904831_5 (record VARCHAR, score VARCHAR)
|
SELECT canadian_airdate FROM table_12294557_3 WHERE us_airdate = "May 1, 2009"
|
what are all the Canadian air dates where the u.s. air date is may 1, 2009
|
CREATE TABLE table_12294557_3 (canadian_airdate VARCHAR, us_airdate VARCHAR)
|
SELECT SUM(rank) FROM table_name_12 WHERE total = 3 AND nation = "australia"
|
What is the sum of rank when total is 3 and the nation is Australia?
|
CREATE TABLE table_name_12 (rank INTEGER, total VARCHAR, nation VARCHAR)
|
SELECT AVG(prom__m_) FROM table_name_75 WHERE height__m_ > 733 AND class = "hewitt" AND peak = "kirk fell east top"
|
What is the average prom (m) when the height (m) is more than 733, the class is Hewitt, and the peak is Kirk Fell East Top?
|
CREATE TABLE table_name_75 (prom__m_ INTEGER, peak VARCHAR, height__m_ VARCHAR, class VARCHAR)
|
SELECT runner_up FROM table_name_59 WHERE host = "monroe county sports commission"
|
What was the Runner-up in the Monroe County Sports Commission?
|
CREATE TABLE table_name_59 (runner_up VARCHAR, host VARCHAR)
|
SELECT established FROM table_name_61 WHERE club = "guelph rangers"
|
Which Established has a Club of guelph rangers?
|
CREATE TABLE table_name_61 (established VARCHAR, club VARCHAR)
|
SELECT home FROM table_name_34 WHERE time = "12:00"
|
What is the Home with a Time that is 12:00?
|
CREATE TABLE table_name_34 (home VARCHAR, time VARCHAR)
|
SELECT AVG(bronze) FROM table_name_23 WHERE team = "northwest territories" AND gold > 34
|
what is the average bronze when the team is northwest territories and gold is more than 34?
|
CREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR)
|
SELECT venue FROM table_name_95 WHERE competition = "1966 fifa world cup qualification" AND date = "may 7, 1965"
|
What venue held the 1966 fifa world cup qualification on may 7, 1965?
|
CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR)
|
SELECT away_team FROM table_name_12 WHERE home_team = "perth wildcats"
|
Who is the away team that played home team of Perth Wildcats?
|
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
|
SELECT result FROM table_name_10 WHERE round = "r3"
|
What was the result for round r3?
|
CREATE TABLE table_name_10 (result VARCHAR, round VARCHAR)
|
SELECT date FROM table_name_97 WHERE score = "123-112"
|
When was the score 123-112?
|
CREATE TABLE table_name_97 (date VARCHAR, score VARCHAR)
|
SELECT team FROM table_name_22 WHERE start = 8 AND year < 2008
|
Which team had a start of 8 in years under 2008?
|
CREATE TABLE table_name_22 (team VARCHAR, start VARCHAR, year VARCHAR)
|
SELECT asia FROM table_19017269_5 WHERE latin_america_caribbean = "783 (7.5%)"
|
what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)?
|
CREATE TABLE table_19017269_5 (asia VARCHAR, latin_america_caribbean VARCHAR)
|
SELECT MIN(tier) FROM table_name_99 WHERE turkish_cup = "group stage" AND pos < 7
|
What is the lowest tier for a position smaller than 7 for a Turkish Cup group stage?
|
CREATE TABLE table_name_99 (tier INTEGER, turkish_cup VARCHAR, pos VARCHAR)
|
SELECT COUNT(points) FROM table_name_39 WHERE team = "herdez competition" AND grid > 1
|
What was Herdez Competition's total points with a grid larger than 1?
|
CREATE TABLE table_name_39 (points VARCHAR, team VARCHAR, grid VARCHAR)
|
SELECT COUNT(*) FROM COURSES
|
How many courses are there in total?
|
CREATE TABLE COURSES (Id VARCHAR)
|
SELECT visiting_team FROM table_name_59 WHERE date = "october 4"
|
Tell me the visiting team for october 4
|
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
|
SELECT COUNT(number_of_seasons_in_meistriliiga) FROM table_name_17 WHERE club = "kuressaare" AND first_season_in_top_division > 2000
|
How many seasons in Meistriliiga when the club was kuressaare also had a first season in top division of more than 2000?
|
CREATE TABLE table_name_17 (number_of_seasons_in_meistriliiga VARCHAR, club VARCHAR, first_season_in_top_division VARCHAR)
|
SELECT driver FROM table_name_37 WHERE grid > 2 AND constructor = "bmw sauber" AND time_retired = "+15.037"
|
Who drives a BMW Sauber with a Grid larger than 2 and a Time/Retired of +15.037?
|
CREATE TABLE table_name_37 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
|
SELECT years FROM table_name_11 WHERE pct < 0.389 AND lost < 12 AND name = "dwane morrison"
|
What years did Dwane Morrison had a pct less than 0.389 and losses less than 12?
|
CREATE TABLE table_name_11 (years VARCHAR, name VARCHAR, pct VARCHAR, lost VARCHAR)
|
SELECT gender FROM table_name_53 WHERE area = "swannanoa"
|
What Gender has the area of swannanoa?
|
CREATE TABLE table_name_53 (gender VARCHAR, area VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.