context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_70 (rank INTEGER, earnings__$__ INTEGER) | Who is the highest ranked player that has earnings below 395,386? | SELECT MAX(rank) FROM table_name_70 WHERE earnings__$__ < 395 OFFSET 386 |
CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER, designation VARCHAR) | Name the least clock rate mhz when designation is rimm 4200 | SELECT MIN(clock_rate__mhz_) FROM table_142573_1 WHERE designation = "RIMM 4200" |
CREATE TABLE table_name_48 (grid INTEGER, rider VARCHAR, laps VARCHAR) | What is the grid number for troy corser with under 22 laps? | SELECT SUM(grid) FROM table_name_48 WHERE rider = "troy corser" AND laps < 22 |
CREATE TABLE table_14254419_3 (elementary_schools VARCHAR, principal__2013_2014_ VARCHAR) | Which elementary schools list Cort Monroe as the principal from 2013 to 2014? | SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe" |
CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR) | How many laps for robin montgomerie-charrington, and a Grid smaller than 15? | SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 15 |
CREATE TABLE table_14288212_1 (win INTEGER, played VARCHAR) | For teams that played 5 games, what was the smallest number of wins? | SELECT MIN(win) FROM table_14288212_1 WHERE played = 5 |
CREATE TABLE table_142950_1 (research_funding__ VARCHAR, gained_university_status VARCHAR) | How many members gained university status in 1900? | SELECT COUNT(research_funding__) AS £, 000 AS _ FROM table_142950_1 WHERE gained_university_status = 1900 |
CREATE TABLE table_name_59 (nomination VARCHAR, year VARCHAR, result VARCHAR) | Name the nomination in 2011 that won | SELECT nomination FROM table_name_59 WHERE year = 2011 AND result = "won" |
CREATE TABLE table_142950_1 (total_number_of_students VARCHAR, vice_chancellor VARCHAR) | How many members have professor edward acton as vice-chancellor? | SELECT COUNT(total_number_of_students) FROM table_142950_1 WHERE vice_chancellor = "Professor Edward Acton" |
CREATE TABLE table_142950_1 (established INTEGER, location VARCHAR) | What is the year leicester was established? | SELECT MAX(established) FROM table_142950_1 WHERE location = "Leicester" |
CREATE TABLE table_name_80 (english_title VARCHAR, year VARCHAR, role VARCHAR) | What is the english title of the film before 1999 with a role of kim da-rim? | SELECT english_title FROM table_name_80 WHERE year < 1999 AND role = "kim da-rim" |
CREATE TABLE table_14310205_1 (team VARCHAR, conmebol_1996 VARCHAR) | what is the number of teams where conmebol 1996 did not qualify? | SELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 = "did not qualify" |
CREATE TABLE table_14312471_7 (home_team VARCHAR, ground VARCHAR) | Who has the home ground Aami stadium? | SELECT home_team FROM table_14312471_7 WHERE ground = "AAMI Stadium" |
CREATE TABLE table_name_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR) | What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway? | SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = "cargo ship" AND nationality = "norway" |
CREATE TABLE table_14330096_4 (title VARCHAR, director VARCHAR, writer VARCHAR) | Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer? | SELECT title FROM table_14330096_4 WHERE director = "Patrick Lau" AND writer = "Lisa Holdsworth" |
CREATE TABLE table_143352_1 (accounting_closure_date INTEGER, agr_power_station VARCHAR) | What is the Closure date of Hunterston B | SELECT MIN(accounting_closure_date) FROM table_143352_1 WHERE agr_power_station = "Hunterston B" |
CREATE TABLE table_143352_1 (connected_to_grid VARCHAR, agr_power_station VARCHAR) | How many power stations are connected to grid at Heysham 2 | SELECT COUNT(connected_to_grid) FROM table_143352_1 WHERE agr_power_station = "Heysham 2" |
CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR) | What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth? | SELECT AVG(height__m_) FROM table_name_45 WHERE class = "hewitt" AND prom__m_ < 86 AND peak = "gragareth" |
CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR) | In which movie is Selva Nambi a co-singer? | SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi" |
CREATE TABLE table_name_60 (year VARCHAR, nominee VARCHAR) | How many years was Best Musical Revival nominated? | SELECT COUNT(year) FROM table_name_60 WHERE nominee = "best musical revival" |
CREATE TABLE table_name_95 (award VARCHAR, category VARCHAR, nominee VARCHAR) | What award was Denis Lawson nominated for in the Best Actor in a Musical category? | SELECT award FROM table_name_95 WHERE category = "best actor in a musical" AND nominee = "denis lawson" |
CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, comedian VARCHAR) | Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian? | SELECT COUNT(uk_co_presenter) FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND comedian = "Russell Kane" |
CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR) | What is the highest crowd number of the game where the away team was south melbourne? | SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne" |
CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR) | What is the famous for where the finished is 5th? | SELECT famous_for FROM table_14345690_5 WHERE finished = "5th" |
CREATE TABLE table_name_22 (final_position___round VARCHAR, competition VARCHAR) | Tell me the final position for fa community shield | SELECT final_position___round FROM table_name_22 WHERE competition = "fa community shield" |
CREATE TABLE table_14363116_1 (birth_date VARCHAR, shirt_no VARCHAR) | Name the birth date for shirt number 7 | SELECT birth_date FROM table_14363116_1 WHERE shirt_no = 7 |
CREATE TABLE table_name_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR) | what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy? | SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = "hydra" AND object_type = "spiral galaxy" |
CREATE TABLE table_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR) | What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)? | SELECT club FROM table_name_97 WHERE national_cup = "turkish basketball cup" AND european_cup = "fiba eurochallenge (3rd tier)" |
CREATE TABLE table_1439096_1 (title VARCHAR, original_air_date__atv_ VARCHAR) | What is the title of the episode with the original air date of 28 September 1969? | SELECT title FROM table_1439096_1 WHERE original_air_date__atv_ = "28 September 1969" |
CREATE TABLE table_14407512_4 (nationality VARCHAR) | What was the length of the jumper representing FIN, in meters? | SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = "FIN" |
CREATE TABLE table_name_28 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential? | SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = "differential" |
CREATE TABLE table_14425454_1 (home_team VARCHAR, time VARCHAR) | How many home team scores have a time of 4:40 PM? | SELECT COUNT(home_team) AS score FROM table_14425454_1 WHERE time = "4:40 PM" |
CREATE TABLE table_1444201_1 (year_model VARCHAR, engine VARCHAR, model VARCHAR) | Name the year model for 4-cyl straight engine dohc 16v and 1.5 crdi | SELECT year_model FROM table_1444201_1 WHERE engine = "4-cyl Straight engine DOHC 16V" AND model = "1.5 CRDi" |
CREATE TABLE table_14489821_1 (team VARCHAR) | how many points did the argentinos juniors team score during the 1986-87 season? | SELECT 1986 AS _87 FROM table_14489821_1 WHERE team = "Argentinos Juniors" |
CREATE TABLE table_14496232_2 (mens_singles VARCHAR, womens_singles VARCHAR, mixed_doubles VARCHAR) | Name the mens singles when womens singles is wang lin and mixed doubles is joachim fischer nielsen christinna pedersen | SELECT mens_singles FROM table_14496232_2 WHERE womens_singles = "Wang Lin" AND mixed_doubles = "Joachim Fischer Nielsen Christinna Pedersen" |
CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, tour VARCHAR) | Name the mixed doubles when tour is hong kong super series | SELECT mixed_doubles FROM table_14496232_2 WHERE tour = "Hong Kong Super Series" |
CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR) | What's the earliest year that had a category of best supporting actress at the asian film awards? | SELECT MIN(year) FROM table_name_46 WHERE category = "best supporting actress" AND award = "asian film awards" |
CREATE TABLE table_name_88 (final_position___round VARCHAR, competition VARCHAR) | What is the final position/round of the UEFA cup? | SELECT final_position___round FROM table_name_88 WHERE competition = "uefa cup" |
CREATE TABLE table_name_13 (publisher VARCHAR, title VARCHAR) | Who published Weird War Tales? | SELECT publisher FROM table_name_13 WHERE title = "weird war tales" |
CREATE TABLE table_14562722_1 (directed_by VARCHAR, written_by VARCHAR) | Who directed all the episodes that were written by aaron ehasz & john o'bryan? | SELECT directed_by FROM table_14562722_1 WHERE written_by = "Aaron Ehasz & John O'Bryan" |
CREATE TABLE table_name_91 (region VARCHAR, date VARCHAR, format VARCHAR) | What's the region for an item on November 10, 2007 that's a cd? | SELECT region FROM table_name_91 WHERE date = "november 10, 2007" AND format = "cd" |
CREATE TABLE table_14562722_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) | What was the airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan? | SELECT original_air_date FROM table_14562722_1 WHERE directed_by = "Giancarlo Volpe" AND written_by = "John O'Bryan" |
CREATE TABLE table_14570857_1 (situation VARCHAR, original_us_airdate VARCHAR) | Which situation has an original u.s. airdate of December 5, 2007? | SELECT situation FROM table_14570857_1 WHERE original_us_airdate = "December 5, 2007" |
CREATE TABLE table_name_1 (catalog VARCHAR, region VARCHAR, label VARCHAR, date VARCHAR) | What's the catalog number for a December 11, 2007 record from columbia formatted in a that's from Canada? | SELECT catalog FROM table_name_1 WHERE label = "columbia" AND date = "december 11, 2007" AND region = "canada" |
CREATE TABLE table_name_42 (constructor VARCHAR, driver VARCHAR, free_practice_driver_s_ VARCHAR, chassis VARCHAR) | who is the constructor when the free practice driver(s) is n/a, the chassis is 005 and the driver is takuma sato? | SELECT constructor FROM table_name_42 WHERE free_practice_driver_s_ = "n/a" AND chassis = "005" AND driver = "takuma sato" |
CREATE TABLE table_name_41 (constructor VARCHAR, driver VARCHAR) | who is the constructor when the driver is juan pablo montoya? | SELECT constructor FROM table_name_41 WHERE driver = "juan pablo montoya" |
CREATE TABLE table_14601528_2 (class_a VARCHAR, class_aAAAA VARCHAR, Pearland VARCHAR) | Name the class a for pearland | SELECT class_a FROM table_14601528_2 WHERE class_aAAAA = Pearland |
CREATE TABLE table_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR) | Name the class aaaaa for 2005-06 | SELECT class_aAAAA FROM table_14601528_2 WHERE school_year = "2005-06" |
CREATE TABLE table_name_79 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) | Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta? | SELECT time_retired FROM table_name_79 WHERE laps > 51 AND driver = "cristiano da matta" |
CREATE TABLE table_name_57 (ties INTEGER, team VARCHAR, goals_against VARCHAR) | How many ties did the Montreal Victorias have with a GA of less than 24? | SELECT MAX(ties) FROM table_name_57 WHERE team = "montreal victorias" AND goals_against < 24 |
CREATE TABLE table_14598_9 (literate_persons___percentage_ VARCHAR, india_state_ut VARCHAR) | What is the percentage of literate people where india is andaman and Nicobar Islands? | SELECT literate_persons___percentage_ FROM table_14598_9 WHERE india_state_ut = "Andaman and Nicobar Islands" |
CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR) | What are all the school years where class AAAA is in Gregory-Portland? | SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland |
CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR) | What are all the AAA classes in the school years of 2004-05? | SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2004-05" |
CREATE TABLE table_name_21 (away_team VARCHAR, home_team VARCHAR) | What is the score of the away team who played home team Hawthorn? | SELECT away_team AS score FROM table_name_21 WHERE home_team = "hawthorn" |
CREATE TABLE table_name_44 (crowd VARCHAR, away_team VARCHAR) | How many people attended the game where Fitzroy was the away team? | SELECT COUNT(crowd) FROM table_name_44 WHERE away_team = "fitzroy" |
CREATE TABLE table_14638077_2 (winning_driver VARCHAR, pole_position VARCHAR, race_name VARCHAR) | who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200 | SELECT winning_driver FROM table_14638077_2 WHERE pole_position = "Paul Tracy" AND race_name = "Miller Genuine Draft 200" |
CREATE TABLE table_name_40 (date VARCHAR, nationality VARCHAR, event VARCHAR) | What was the date of the discus throw for Bulgaria? | SELECT date FROM table_name_40 WHERE nationality = "bulgaria" AND event = "discus throw" |
CREATE TABLE table_14637853_3 (directed_by VARCHAR, original_air_date VARCHAR) | who directed with original air date being november18,1995 | SELECT directed_by FROM table_14637853_3 WHERE original_air_date = "November18,1995" |
CREATE TABLE table_name_69 (losses INTEGER, point_differential VARCHAR, points_for VARCHAR, games_played VARCHAR) | What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34? | SELECT MAX(losses) FROM table_name_69 WHERE points_for < 79 AND games_played = 10 AND point_differential < 34 |
CREATE TABLE table_name_85 (player VARCHAR, date_of_birth__age_when_delisted_ VARCHAR) | Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)? | SELECT player FROM table_name_85 WHERE date_of_birth__age_when_delisted_ = "13 february 1987 (aged 24)" |
CREATE TABLE table_14650162_1 (college VARCHAR, pick__number VARCHAR) | How many colleges did pick number 269 attend? | SELECT COUNT(college) FROM table_14650162_1 WHERE pick__number = 269 |
CREATE TABLE table_14650162_1 (position VARCHAR, college VARCHAR) | What is the position of the player whose college is Western Kentucky? | SELECT position FROM table_14650162_1 WHERE college = "Western Kentucky" |
CREATE TABLE table_name_74 (treasurer VARCHAR, president VARCHAR) | Which treasurer has a President of sebastian ihler? | SELECT treasurer FROM table_name_74 WHERE president = "sebastian ihler" |
CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR) | Which college was the wide receiver whose pick was less than 130.0 picked from? | SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0 |
CREATE TABLE table_name_7 (tournament VARCHAR, score VARCHAR) | Which tournament had a score of 7–5, 2–6, 7–6? | SELECT tournament FROM table_name_7 WHERE score = "7–5, 2–6, 7–6" |
CREATE TABLE table_14655985_1 (player VARCHAR, pick__number VARCHAR) | who is the the player where pick # is 64 | SELECT player FROM table_14655985_1 WHERE pick__number = 64 |
CREATE TABLE table_name_24 (score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR) | What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up? | SELECT score FROM table_name_24 WHERE winners = "galatasaray" AND runners_up = "trabzonspor" AND year = 1990 |
CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, revenue_per_capita VARCHAR) | How many numbers were recorded under revenue when revenue per capita was $6,126? | SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE revenue_per_capita = "$6,126" |
CREATE TABLE table_14700336_1 (spending_per_capita VARCHAR, revenue_per_capita VARCHAR) | What was the spending per capita when the revenue per capita was $7,755? | SELECT spending_per_capita FROM table_14700336_1 WHERE revenue_per_capita = "$7,755" |
CREATE TABLE table_14700336_1 (presidential_majority_2000_2004 VARCHAR, presidential_majority_2012 VARCHAR) | What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting? | SELECT presidential_majority_2000_2004 FROM table_14700336_1 WHERE presidential_majority_2012 = "Non-voting" |
CREATE TABLE table_name_26 (area__km²_ INTEGER, total__km²_ VARCHAR, province VARCHAR, comune VARCHAR) | What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than 121.14 km2? | SELECT MIN(area__km²_) FROM table_name_26 WHERE province = "napoli" AND comune = "piano di sorrento" AND total__km²_ < 121.14 |
CREATE TABLE table_14710984_2 (points_classification VARCHAR, winner VARCHAR) | Who won the points classifications in the stage where Matteo Priamo was the winner? | SELECT COUNT(points_classification) FROM table_14710984_2 WHERE winner = "Matteo Priamo" |
CREATE TABLE table_1473672_2 (pick__number INTEGER, college_junior_club_team VARCHAR) | What is the pick# for the medicine hat tigers (wchl)? | SELECT MIN(pick__number) FROM table_1473672_2 WHERE college_junior_club_team = "Medicine Hat Tigers (WCHL)" |
CREATE TABLE table_name_31 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR) | I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s | SELECT SUM(ngc_number) FROM table_name_31 WHERE object_type = "spiral galaxy" AND right_ascension___j2000__ = "08h14m40.4s" |
CREATE TABLE table_name_59 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR) | Tell me the right ascension for open cluster and NGC number more than 2547 | SELECT right_ascension___j2000__ FROM table_name_59 WHERE object_type = "open cluster" AND ngc_number > 2547 |
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR) | Which nationality is the player from the Philadelphia Flyers? | SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers" |
CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR) | Which Venue has an Away team of south melbourne? | SELECT venue FROM table_name_89 WHERE away_team = "south melbourne" |
CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR) | What Home team plays at the princes park Venue? | SELECT home_team FROM table_name_29 WHERE venue = "princes park" |
CREATE TABLE table_name_24 (date VARCHAR, scored VARCHAR, competition VARCHAR) | What date did Sigurd Rushfeldt score less than 2 points in the UEFA Euro 2004 qualifying competition? | SELECT date FROM table_name_24 WHERE scored < 2 AND competition = "uefa euro 2004 qualifying" |
CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR) | What is the tournament on February 17, 2002? | SELECT tournament FROM table_name_21 WHERE date = "february 17, 2002" |
CREATE TABLE table_14752049_2 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | What are the changes (2010 to 2011) where the International Tourist Arrivals is 1.7 million? | SELECT change__2010_to_2011_ FROM table_14752049_2 WHERE international_tourist_arrivals__2011_ = "1.7 million" |
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR) | What are the International tourist arrivals (2010) where change from 2010 to 2011 is +15% | SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+15%" |
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) | How many international tourist arrivals were in Senegal in 2011? | SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = "Senegal" |
CREATE TABLE table_name_18 (team VARCHAR, speed VARCHAR) | What's the name of the team that went 113.316mph? | SELECT team FROM table_name_18 WHERE speed = "113.316mph" |
CREATE TABLE table_name_41 (high_assists VARCHAR, high_rebounds VARCHAR) | For boozer (13) what is the high assists and high rebounds? | SELECT high_assists FROM table_name_41 WHERE high_rebounds = "boozer (13)" |
CREATE TABLE table_14754471_1 (enrollment VARCHAR, hispanic___percentage_ VARCHAR) | What is the enrollment amount where Hispanic (%) is 3.6? | SELECT enrollment FROM table_14754471_1 WHERE hispanic___percentage_ = "3.6" |
CREATE TABLE table_name_80 (club VARCHAR, name VARCHAR) | Which club is associated with Hafiz Abu Sujad? | SELECT club FROM table_name_80 WHERE name = "hafiz abu sujad" |
CREATE TABLE table_name_52 (bronze VARCHAR, rank VARCHAR, total VARCHAR, nation VARCHAR) | What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4? | SELECT COUNT(bronze) FROM table_name_52 WHERE total < 3 AND nation = "poland" AND rank > 4 |
CREATE TABLE table_name_4 (laps INTEGER, driver VARCHAR, grid VARCHAR) | When the driver peter gethin has a grid less than 25, what is the average number of laps? | SELECT AVG(laps) FROM table_name_4 WHERE driver = "peter gethin" AND grid < 25 |
CREATE TABLE table_name_79 (authority VARCHAR, roll VARCHAR, area VARCHAR) | What's the authority when the roll is less than 234 for the massey east area? | SELECT authority FROM table_name_79 WHERE roll < 234 AND area = "massey east" |
CREATE TABLE table_14853156_2 (earnings___ VARCHAR, best_finish VARCHAR, scoring_average VARCHAR) | How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average? | SELECT COUNT(earnings___) AS $__ FROM table_14853156_2 WHERE best_finish = "T2" AND scoring_average = "71.25" |
CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) | Name the points classification for mark renshaw and team csc | SELECT points_classification FROM table_14856023_18 WHERE general_classification = "Mark Renshaw" AND team_classification = "Team CSC" |
CREATE TABLE table_name_77 (silver INTEGER, gold VARCHAR, bronze VARCHAR, sport VARCHAR) | What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze? | SELECT MIN(silver) FROM table_name_77 WHERE bronze > 1 AND sport = "total" AND gold < 1 |
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR) | What is the score of the game with an 11-32-11 record? | SELECT score FROM table_name_40 WHERE record = "11-32-11" |
CREATE TABLE table_name_72 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) | What is the time or retired time for timo glock with under 70 laps and a grid number greater than 15? | SELECT time_retired FROM table_name_72 WHERE laps < 70 AND grid > 15 AND driver = "timo glock" |
CREATE TABLE table_name_73 (tonnage INTEGER, type_of_ship VARCHAR, date_entered_service VARCHAR) | what is the sum of tonnage when the type of ship is twin screw ro-ro motorship and the date entered service is 11 february 1983? | SELECT SUM(tonnage) FROM table_name_73 WHERE type_of_ship = "twin screw ro-ro motorship" AND date_entered_service = "11 february 1983" |
CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR) | What are the records when Elzbieta Urbanczik competed? | SELECT record FROM table_14884844_2 WHERE athletes = "Elzbieta Urbanczik" |
CREATE TABLE table_name_2 (date VARCHAR, edition VARCHAR, opponent VARCHAR) | When was the 1991 world group I with the opponent of Li Fang? | SELECT date FROM table_name_2 WHERE edition = "1991 world group i" AND opponent = "li fang" |
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR, mens_singles VARCHAR) | Name the number of years for womens doubles being diana koleva emilia dimitrova and jeliazko valkov | SELECT COUNT(year) FROM table_14903491_1 WHERE womens_doubles = "Diana Koleva Emilia Dimitrova" AND mens_singles = "Jeliazko Valkov" |
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR) | Name the year for womens doubles being raina tzvetkova emilia dimitrova | SELECT year FROM table_14903491_1 WHERE womens_doubles = "Raina Tzvetkova Emilia Dimitrova" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.