question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
List the first name middle name and last name of all staff. | CREATE TABLE Staff (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR) | SELECT first_name, middle_name, last_name FROM Staff |
What is the smallest Satu Mare value associated with Baia Mare over 523? | CREATE TABLE table_name_37 (satu_mare INTEGER, baia_mare INTEGER) | SELECT MIN(satu_mare) FROM table_name_37 WHERE baia_mare > 523 |
What nationality is Mark Hirth from Michigan State University (NCAA)? | CREATE TABLE table_name_24 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_24 WHERE college_junior_club_team = "michigan state university (ncaa)" AND player = "mark hirth" |
Which Year is the lowest one that has a Length of 3:50? | CREATE TABLE table_name_17 (year INTEGER, length VARCHAR) | SELECT MIN(year) FROM table_name_17 WHERE length = "3:50" |
Which Position has a Competition of european race walking cup? | CREATE TABLE table_name_32 (position VARCHAR, competition VARCHAR) | SELECT position FROM table_name_32 WHERE competition = "european race walking cup" |
When Bunky Henry of the United States scored higher than 68 and his To par was e, what was his place? | CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR, score VARCHAR, to_par VARCHAR) | SELECT place FROM table_name_14 WHERE score > 68 AND to_par = "e" AND player = "bunky henry" |
How many king beds are there? | CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR) | SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King' |
Which celebrity was famous for being a rapper? | CREATE TABLE table_name_23 (celebrity VARCHAR, famous_for VARCHAR) | SELECT celebrity FROM table_name_23 WHERE famous_for = "rapper" |
How many ships for the nation with grand total of 20? | CREATE TABLE table_name_13 (s_motor_ship___s_naval_trawler VARCHAR, grand_total VARCHAR) | SELECT s_motor_ship___s_naval_trawler FROM table_name_13 WHERE grand_total = 20 |
Which Surface had an Opponent of fernanda hermenegildo monika kochanova? | CREATE TABLE table_name_57 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_57 WHERE opponent = "fernanda hermenegildo monika kochanova" |
Which Surface has a Week of march 1? | CREATE TABLE table_name_95 (surface VARCHAR, week VARCHAR) | SELECT surface FROM table_name_95 WHERE week = "march 1" |
What is the name, location and seating for the most recently opened track? | CREATE TABLE track (name VARCHAR, LOCATION VARCHAR, seating VARCHAR, year_opened VARCHAR) | SELECT name, LOCATION, seating FROM track ORDER BY year_opened DESC LIMIT 1 |
What is Year(s) Won, when Finish is "T31", and when Player is "Nick Price"? | CREATE TABLE table_name_65 (year_s__won VARCHAR, finish VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_65 WHERE finish = "t31" AND player = "nick price" |
If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size? | CREATE TABLE table_26211058_1 (specimen_weight_size VARCHAR, calculated_activity___ci__ VARCHAR) | SELECT specimen_weight_size FROM table_26211058_1 WHERE calculated_activity___ci__ = "4.96×10 −11" |
What is the name of a building that has 52 floors? | CREATE TABLE table_name_87 (name VARCHAR, floors VARCHAR) | SELECT name FROM table_name_87 WHERE floors = 52 |
How many party classifications are there for the senator from Canton? | CREATE TABLE table_26129220_2 (party VARCHAR, residence VARCHAR) | SELECT party FROM table_26129220_2 WHERE residence = "Canton" |
Name the record with opponent of bos and loss of morris | CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR) | SELECT record FROM table_name_37 WHERE opponent = "bos" AND loss = "morris" |
What termini does the route with a population Area of aguilares have? | CREATE TABLE table_name_40 (termini VARCHAR, population_area VARCHAR) | SELECT termini FROM table_name_40 WHERE population_area = "aguilares" |
What is the total bronze from Puerto Rico with a total of less than 1? | CREATE TABLE table_name_27 (bronze INTEGER, nation VARCHAR, total VARCHAR) | SELECT SUM(bronze) FROM table_name_27 WHERE nation = "puerto rico" AND total < 1 |
What is the title released on 24 July 2005? | CREATE TABLE table_name_87 (title VARCHAR, release_date VARCHAR) | SELECT title FROM table_name_87 WHERE release_date = "24 july 2005" |
How many people attended the game on February 3, 2008? | CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_34 WHERE date = "february 3, 2008" |
What is the Location when the time was 11:55? | CREATE TABLE table_name_22 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_22 WHERE time = "11:55" |
What was the 18 to 49 rating when 9.50 million watched? | CREATE TABLE table_24689168_5 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR) | SELECT rating__18_49_ FROM table_24689168_5 WHERE viewers__millions_ = "9.50" |
How many losses have more than 45,036 attendance? | CREATE TABLE table_name_50 (loss VARCHAR, attendance INTEGER) | SELECT loss FROM table_name_50 WHERE attendance > 45 OFFSET 036 |
who is the featuring when the series sorted is 6eb/b? | CREATE TABLE table_name_38 (featuring VARCHAR, series_sorted VARCHAR) | SELECT featuring FROM table_name_38 WHERE series_sorted = "6eb/b" |
How much Gold has a Nation of mongolia, and a Total larger than 18? | CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR) | SELECT SUM(gold) FROM table_name_37 WHERE nation = "mongolia" AND total > 18 |
What was the earliest year for the Ligier Gitanes? | CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR) | SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes" |
What is the name of the minister that left office on 14 November 2006? | CREATE TABLE table_name_86 (name VARCHAR, left_office VARCHAR) | SELECT name FROM table_name_86 WHERE left_office = "14 november 2006" |
What was the ranking for the episode number before 24 that had a rating of 25.7? | CREATE TABLE table_name_21 (ranking VARCHAR, ep__number VARCHAR, rating VARCHAR) | SELECT ranking FROM table_name_21 WHERE ep__number < 24 AND rating = "25.7" |
What player has a round larger than 6 with a D position. | CREATE TABLE table_name_82 (player VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_82 WHERE round > 6 AND position = "d" |
What was the score of the game when their record was 62-67 | CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_46 WHERE record = "62-67" |
Who was his partner in 1989? | CREATE TABLE table_26309085_1 (partner VARCHAR, year VARCHAR) | SELECT partner FROM table_26309085_1 WHERE year = 1989 |
What is 1984, when 1979 is "1R"? | CREATE TABLE table_name_94 (Id VARCHAR) | SELECT 1984 FROM table_name_94 WHERE 1979 = "1r" |
What is the highest game number that had a time of 2:44? | CREATE TABLE table_name_78 (game INTEGER, time VARCHAR) | SELECT MAX(game) FROM table_name_78 WHERE time = "2:44" |
What is the BBI whent the economy is 5.68? | CREATE TABLE table_28846752_9 (bbi VARCHAR, economy VARCHAR) | SELECT bbi FROM table_28846752_9 WHERE economy = "5.68" |
What was the final score of the game on November 23, 2008? | CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_66 WHERE date = "november 23, 2008" |
Name the landesliga sud for sg quelle fürth | CREATE TABLE table_20181270_3 (landesliga_süd VARCHAR, bayernliga VARCHAR) | SELECT landesliga_süd FROM table_20181270_3 WHERE bayernliga = "SG Quelle Fürth" |
What was the average finish in 2007? | CREATE TABLE table_2182573_2 (avg_finish VARCHAR, year VARCHAR) | SELECT avg_finish FROM table_2182573_2 WHERE year = 2007 |
What school is located in Worcester, Massachusetts? | CREATE TABLE table_1974782_1 (institution VARCHAR, location VARCHAR) | SELECT institution FROM table_1974782_1 WHERE location = "Worcester, Massachusetts" |
who is the constructor when the laps is more than 72 and the driver is eddie irvine? | CREATE TABLE table_name_33 (constructor VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_33 WHERE laps > 72 AND driver = "eddie irvine" |
What are the renting arrears tax ids related to the customer master index whose detail is not 'Schmidt, Kertzmann and Lubowitz'? | CREATE TABLE Rent_Arrears (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Customer_Master_Index (master_customer_id VARCHAR, cmi_details VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, master_customer_id VARCHAR) | SELECT T1.council_tax_id FROM Rent_Arrears AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id JOIN Customer_Master_Index AS T3 ON T3.master_customer_id = T2.master_customer_id WHERE T3.cmi_details <> 'Schmidt , Kertzmann and Lubowitz' |
How many years were lightweight class on february 28, 2009? | CREATE TABLE table_name_87 (year VARCHAR, weight_class VARCHAR, date VARCHAR) | SELECT COUNT(year) FROM table_name_87 WHERE weight_class = "lightweight" AND date = "february 28, 2009" |
what is b - bishop where bc - beast cadet is gr - great dove? | CREATE TABLE table_2603017_2 (b___bishop VARCHAR, bc___beast_cadet VARCHAR) | SELECT b___bishop FROM table_2603017_2 WHERE bc___beast_cadet = "GR - Great Dove" |
What is the Place of the Player with a Score of 73-75-71-73=292? | CREATE TABLE table_name_32 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_32 WHERE score = 73 - 75 - 71 - 73 = 292 |
What is Haydon when Larter is 11 and Libweshya is 4? | CREATE TABLE table_11447995_2 (haydon VARCHAR, larter VARCHAR, libweshya VARCHAR) | SELECT haydon FROM table_11447995_2 WHERE larter = "11" AND libweshya = "4" |
What was the crowd when the away team was hawthorn? | CREATE TABLE table_name_72 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_72 WHERE away_team = "hawthorn" |
How many areas have a population of 703379? | CREATE TABLE table_2135222_2 (area VARCHAR, population VARCHAR) | SELECT COUNT(area) FROM table_2135222_2 WHERE population = 703379 |
What is the most gold when the rank is 7 and bronze is less than 0? | CREATE TABLE table_name_40 (gold INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT MAX(gold) FROM table_name_40 WHERE rank = "7" AND bronze < 0 |
Which city station is owned by Coyote Communications? | CREATE TABLE table_name_56 (city_of_license VARCHAR, status VARCHAR) | SELECT city_of_license FROM table_name_56 WHERE status = "owned by coyote communications" |
Name the minimum derby county goals | CREATE TABLE table_15201666_3 (derby_county INTEGER) | SELECT MIN(derby_county) AS Goals FROM table_15201666_3 |
What was the latest game that Sacramento played? | CREATE TABLE table_name_26 (game INTEGER, team VARCHAR) | SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento" |
When did Hawthorn play as the away team? | CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_95 WHERE away_team = "hawthorn" |
If the name of the district is the Charyl Stockwell Academy, what is the county name? | CREATE TABLE table_22665117_1 (county VARCHAR, district_name VARCHAR) | SELECT county FROM table_22665117_1 WHERE district_name = "Charyl Stockwell Academy" |
Show the distinct names of mountains climbed by climbers from country "West Germany". | CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Mountain_ID VARCHAR, Country VARCHAR) | SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany" |
Who was the player that had drawn 1 and tried for 20? | CREATE TABLE table_name_76 (played VARCHAR, drawn VARCHAR, tries_for VARCHAR) | SELECT played FROM table_name_76 WHERE drawn = "1" AND tries_for = "20" |
Which High points have High rebounds of lamar odom (15), and a Date of april 27? | CREATE TABLE table_name_80 (high_points VARCHAR, high_rebounds VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_80 WHERE high_rebounds = "lamar odom (15)" AND date = "april 27" |
What race was held at Oulton Park? | CREATE TABLE table_1140088_6 (race_name VARCHAR, circuit VARCHAR) | SELECT race_name FROM table_1140088_6 WHERE circuit = "Oulton Park" |
What is the earliest week that the Texans played at the Cleveland Browns Stadium? | CREATE TABLE table_name_10 (week INTEGER, game_site VARCHAR) | SELECT MIN(week) FROM table_name_10 WHERE game_site = "cleveland browns stadium" |
Which Date has a Record of 36–11–7? | CREATE TABLE table_name_15 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_15 WHERE record = "36–11–7" |
What is the listing for 2009 when 1989 is less than 0? | CREATE TABLE table_name_5 (Id VARCHAR) | SELECT SUM(2009) FROM table_name_5 WHERE 1989 < 0 |
Which Circuit has a Winning driver of scott pruett? | CREATE TABLE table_name_15 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_15 WHERE winning_driver = "scott pruett" |
Name the goals with games of 6 | CREATE TABLE table_name_65 (goals VARCHAR, games VARCHAR) | SELECT goals FROM table_name_65 WHERE games = "6" |
How many Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6? | CREATE TABLE table_name_99 (played VARCHAR, points VARCHAR, lost VARCHAR, difference VARCHAR) | SELECT COUNT(played) FROM table_name_99 WHERE lost < 3 AND difference = "6" AND points > 6 |
What year did Cooper Car Company enter? | CREATE TABLE table_name_35 (year INTEGER, entrant VARCHAR) | SELECT AVG(year) FROM table_name_35 WHERE entrant = "cooper car company" |
What is the average number of top-25s for events with less than 2 top-10s? | CREATE TABLE table_name_93 (top_25 INTEGER, top_10 INTEGER) | SELECT AVG(top_25) FROM table_name_93 WHERE top_10 < 2 |
How many poles does status grand prix have? | CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR) | SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix" |
What is the sum of number with type 0-4-4 forney locomotive, number smaller than 20 and works number of 1251? | CREATE TABLE table_name_37 (date VARCHAR, works_number VARCHAR, type VARCHAR, number VARCHAR) | SELECT COUNT(date) FROM table_name_37 WHERE type = "0-4-4 forney locomotive" AND number < 20 AND works_number = 1251 |
What is the Format of the Epic/Sony Label after 1980? | CREATE TABLE table_name_33 (format VARCHAR, label VARCHAR, date VARCHAR) | SELECT format FROM table_name_33 WHERE label = "epic/sony" AND date > 1980 |
How many people went to the game with the record of 8-10? | CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR) | SELECT SUM(attendance) FROM table_name_44 WHERE record = "8-10" |
Name the most wins for losses more than 2 and points of two with place larger than 7 | CREATE TABLE table_name_4 (wins INTEGER, place VARCHAR, losses VARCHAR, points VARCHAR) | SELECT MAX(wins) FROM table_name_4 WHERE losses > "2" AND points = "2" AND place > 7 |
What was the theatre where Peter P. Peters is the role? | CREATE TABLE table_name_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR) | SELECT theatre, _studio, _or_network FROM table_name_8 WHERE role = "peter p. peters" |
With team #21/#07 ss-green light racing, what was the average finish number? | CREATE TABLE table_2190919_3 (avg_finish VARCHAR, team_s_ VARCHAR) | SELECT avg_finish FROM table_2190919_3 WHERE team_s_ = "#21/#07 SS-Green Light Racing" |
What is the highest points won when the player is aravane rezaï? | CREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR) | SELECT MAX(points) AS won FROM table_24431348_20 WHERE player = "Aravane Rezaï" |
Can you tell me the Series that has the Wins of 0, and the Season of a 2002? | CREATE TABLE table_name_63 (series VARCHAR, wins VARCHAR, season VARCHAR) | SELECT series FROM table_name_63 WHERE wins = 0 AND season = "2002" |
Who was the opponent on November 15, 1981? | CREATE TABLE table_name_70 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_70 WHERE date = "november 15, 1981" |
Which tournament's 2001 and 2008 were a when 2010 was qf? | CREATE TABLE table_name_4 (tournament VARCHAR) | SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf" |
What's the comp when the score was 393? | CREATE TABLE table_name_81 (comp VARCHAR, score VARCHAR) | SELECT comp FROM table_name_81 WHERE score = "393" |
What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph? | CREATE TABLE table_26986076_6 (wed_25_aug VARCHAR, fri_27_aug VARCHAR) | SELECT wed_25_aug FROM table_26986076_6 WHERE fri_27_aug = "22' 23.97 101.065mph" |
On what Date was the Score 105-118 and the H/A/N A? | CREATE TABLE table_name_80 (date VARCHAR, h_a_n VARCHAR, score VARCHAR) | SELECT date FROM table_name_80 WHERE h_a_n = "a" AND score = "105-118" |
Which episode number drew in 3.35 million viewers in the United States? | CREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = "3.35" |
What is the win% for the game 80 and a PWin% of —, and a Term [c ] of 1987–1988? | CREATE TABLE table_name_88 (win_percentage VARCHAR, games VARCHAR, Pwin_percentage VARCHAR, — VARCHAR, term_ VARCHAR, c_ VARCHAR) | SELECT win_percentage FROM table_name_88 WHERE games = 80 AND Pwin_percentage = — AND term_[c_] = "1987–1988" |
for how many federal states is the city of lahnstein listed in the ranking? | CREATE TABLE table_26427332_17 (federal_state VARCHAR, city VARCHAR) | SELECT COUNT(federal_state) FROM table_26427332_17 WHERE city = "Lahnstein" |
Show the number of customer cards. | CREATE TABLE Customers_cards (Id VARCHAR) | SELECT COUNT(*) FROM Customers_cards |
What was the average number of rounds in the fight where Tank Abbott lost? | CREATE TABLE table_name_66 (round INTEGER, loser VARCHAR) | SELECT AVG(round) FROM table_name_66 WHERE loser = "tank abbott" |
What is the total number of gentle personalities? | CREATE TABLE table_1912713_2 (方位_direction VARCHAR, 性情_personality VARCHAR) | SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle" |
What is the lowest crowd of the west coast home team? | CREATE TABLE table_name_86 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_86 WHERE home_team = "west coast" |
What callsign has 1300 as the frequency? | CREATE TABLE table_name_66 (callsign VARCHAR, frequency VARCHAR) | SELECT callsign FROM table_name_66 WHERE frequency = 1300 |
What is the series minimum if the season number is 2.08? | CREATE TABLE table_24639086_3 (series__number INTEGER, season__number VARCHAR) | SELECT MIN(series__number) FROM table_24639086_3 WHERE season__number = "2.08" |
What is the sub-parish of the church located in Fortun? | CREATE TABLE table_178398_1 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR) | SELECT sub_parish__sogn_ FROM table_178398_1 WHERE location_of_the_church = "Fortun" |
What position does gerald carter play? | CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_52 WHERE player = "gerald carter" |
How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games? | CREATE TABLE table_name_11 (losses INTEGER, games VARCHAR, season VARCHAR, team_name VARCHAR, points VARCHAR) | SELECT SUM(losses) FROM table_name_11 WHERE team_name = "burnaby lakers" AND points = 8 AND season = "1998" AND games < 25 |
On which date did Michael Signer earn 4%? | CREATE TABLE table_name_62 (date VARCHAR, michael_signer VARCHAR) | SELECT date FROM table_name_62 WHERE michael_signer = "4%" |
Name the production for alpina model being b10 4,6 | CREATE TABLE table_2477085_1 (production VARCHAR, alpina_model VARCHAR) | SELECT production FROM table_2477085_1 WHERE alpina_model = "B10 4,6" |
Which Crowd has a Home team of richmond? | CREATE TABLE table_name_14 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_14 WHERE home_team = "richmond" |
What was the score when andray blatche , al thornton (20) had the high points? | CREATE TABLE table_27721131_6 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_27721131_6 WHERE high_points = "Andray Blatche , Al Thornton (20)" |
How many visitors in 2007 were there for ski jumping hill? | CREATE TABLE table_name_10 (_2007 VARCHAR, visitors INTEGER, type VARCHAR) | SELECT SUM(visitors), _2007 FROM table_name_10 WHERE type = "ski jumping hill" |
Who has Series of 2 – 3? | CREATE TABLE table_name_77 (visitor VARCHAR, series VARCHAR) | SELECT visitor FROM table_name_77 WHERE series = "2 – 3" |
What is the rd number where the reg GP is 0 and the pick is 150? | CREATE TABLE table_name_24 (rd__number VARCHAR, reg_gp VARCHAR, pick__number VARCHAR) | SELECT COUNT(rd__number) FROM table_name_24 WHERE reg_gp = 0 AND pick__number = 150 |
What is School/Club Team, when Pick is 9 (via Hamilton)? | CREATE TABLE table_name_38 (school_club_team VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_38 WHERE pick = "9 (via hamilton)" |
with race of ranvet stakes what is the group? | CREATE TABLE table_name_12 (group VARCHAR, race VARCHAR) | SELECT group FROM table_name_12 WHERE race = "ranvet stakes" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.