question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is High Points, when High Rebounds is "Ron Artest (9)"? | CREATE TABLE table_name_12 (high_points VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_name_12 WHERE high_rebounds = "ron artest (9)" |
Name the coach for may 20, 2010 | CREATE TABLE table_2140071_10 (coach VARCHAR, premier_date VARCHAR) | SELECT coach FROM table_2140071_10 WHERE premier_date = "May 20, 2010" |
What was attendance on March 11, 1995? | CREATE TABLE table_20745746_1 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_20745746_1 WHERE date = "March 11, 1995" |
What country is Trent Yawney from? | CREATE TABLE table_2850912_3 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_2850912_3 WHERE player = "Trent Yawney" |
What was the Agg., when Team 1 was VSADC? | CREATE TABLE table_name_38 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_38 WHERE team_1 = "vsadc" |
Name the john b. anderson for ronald reagan of 43% and phil crane of 0% | CREATE TABLE table_name_21 (john_b_anderson VARCHAR, phil_crane VARCHAR, ronald_reagan VARCHAR) | SELECT john_b_anderson FROM table_name_21 WHERE phil_crane = "0%" AND ronald_reagan = "43%" |
Name the least popular votes for year less than 1994 and percentage of 0.96% | CREATE TABLE table_name_35 (popular_votes INTEGER, year VARCHAR, percentage VARCHAR) | SELECT MIN(popular_votes) FROM table_name_35 WHERE year < 1994 AND percentage = "0.96%" |
What district is James Humphrey from who was first elected in 1858 and was eventually defeated democratic gain? | CREATE TABLE table_name_3 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) | SELECT district FROM table_name_3 WHERE first_elected = 1858 AND result = "defeated democratic gain" AND incumbent = "james humphrey" |
Name the total number of population 2011 for perlez | CREATE TABLE table_2562572_35 (population__2011_ VARCHAR, settlement VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_35 WHERE settlement = "Perlez" |
Bronze smaller than 5, and a Silver larger than 0 is which nation? | CREATE TABLE table_name_66 (nation VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_66 WHERE bronze < 5 AND silver > 0 |
Which Institutional authority has a Rocket launch of rehnuma-10? | CREATE TABLE table_name_67 (institutional_authority VARCHAR, rocket_launch VARCHAR) | SELECT institutional_authority FROM table_name_67 WHERE rocket_launch = "rehnuma-10" |
What was the high assist for game 66? | CREATE TABLE table_name_15 (high_assists VARCHAR, game VARCHAR) | SELECT high_assists FROM table_name_15 WHERE game = 66 |
What was the crowd size at Collingwood's match? | CREATE TABLE table_name_43 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_43 WHERE home_team = "collingwood" |
Name the order number for the beatles and result is safe | CREATE TABLE table_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR) | SELECT order__number FROM table_15796054_3 WHERE original_artist = "The Beatles" AND result = "Safe" |
What is the record of the game on 13 May? | CREATE TABLE table_name_70 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_70 WHERE date = "13 may" |
Tell me the left office for enrico la loggia | CREATE TABLE table_name_83 (left_office VARCHAR, minister VARCHAR) | SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia" |
Who was the opponent in Game 44? | CREATE TABLE table_name_98 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_98 WHERE game = "44" |
How many rounds does Jamaal Charles have? | CREATE TABLE table_name_13 (round VARCHAR, name VARCHAR) | SELECT COUNT(round) FROM table_name_13 WHERE name = "jamaal charles" |
Name the style for 39 | CREATE TABLE table_28677723_14 (style VARCHAR, total VARCHAR) | SELECT style FROM table_28677723_14 WHERE total = 39 |
What is the Championship Game when the Final Four is 1 and the conference is American South? | CREATE TABLE table_name_29 (championship_game VARCHAR, final_four VARCHAR, conference VARCHAR) | SELECT championship_game FROM table_name_29 WHERE final_four = "1" AND conference = "american south" |
What are the id and name of the museum visited most times? | CREATE TABLE museum (name VARCHAR, Museum_ID VARCHAR); CREATE TABLE visit (Museum_ID VARCHAR) | SELECT t2.Museum_ID, t1.name FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID GROUP BY t2.Museum_ID ORDER BY COUNT(*) DESC LIMIT 1 |
What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee? | CREATE TABLE table_name_21 (role_episode VARCHAR, year VARCHAR, recipients_and_nominees VARCHAR) | SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = "ellen burstyn" |
How many tries against did the club with 48 tries for have? | CREATE TABLE table_name_90 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_name_90 WHERE tries_for = "48" |
What was the record at the game that had a loss of Blyleven (4-5)? | CREATE TABLE table_name_55 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_55 WHERE loss = "blyleven (4-5)" |
What is the CBS airdate of the episode with a number under 70 with a USA airdate of 1 April 2005? | CREATE TABLE table_name_26 (cbs_airdate VARCHAR, episode VARCHAR, airdate__usa_ VARCHAR) | SELECT cbs_airdate FROM table_name_26 WHERE episode < 70 AND airdate__usa_ = "1 april 2005" |
What is the home team in week 1? | CREATE TABLE table_name_61 (home_team VARCHAR, week VARCHAR) | SELECT home_team FROM table_name_61 WHERE week = "1" |
what is the to par when the place is 8? | CREATE TABLE table_name_82 (to_par VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_82 WHERE place = "8" |
For countries with total number of medals less than 5 and more than 2 bronze medals, what's the lowest number of gold medals? | CREATE TABLE table_name_92 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT MIN(gold) FROM table_name_92 WHERE total < 5 AND bronze > 2 |
What is Weekly Rank of TV series with Episode "A Love of a Lifetime"? | CREATE TABLE TV_series (Weekly_Rank VARCHAR, Episode VARCHAR) | SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime" |
what are all the records with a score is w 98–91 | CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR) | SELECT record FROM table_11964047_7 WHERE score = "W 98–91" |
What is the Rank of the Nation of Germany when the Total is more than 2? | CREATE TABLE table_name_63 (rank VARCHAR, nation VARCHAR, total VARCHAR) | SELECT COUNT(rank) FROM table_name_63 WHERE nation = "germany" AND total > 2 |
The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook. | CREATE TABLE table_14154271_2 (results VARCHAR, gt2_winning_team VARCHAR) | SELECT results FROM table_14154271_2 WHERE gt2_winning_team = "Lars-Erik Nielsen Allan Simonsen Richard Westbrook" |
Date of 7 september 1996 includes which highest rank athlete? | CREATE TABLE table_name_68 (rank INTEGER, date VARCHAR) | SELECT MAX(rank) FROM table_name_68 WHERE date = "7 september 1996" |
Name the horsepower for VIN code of h and engine for 351-2v cleveland v8 | CREATE TABLE table_name_94 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR) | SELECT horsepower FROM table_name_94 WHERE vin_code = "h" AND engine = "351-2v cleveland v8" |
Who vacated the Pennsylvania 6th district? | CREATE TABLE table_225098_4 (vacator VARCHAR, district VARCHAR) | SELECT vacator FROM table_225098_4 WHERE district = "Pennsylvania 6th" |
What is the intergiro classification of stage 21? | CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, stage VARCHAR) | SELECT intergiro_classification FROM table_12261926_2 WHERE stage = 21 |
What was the result for Lane 3? | CREATE TABLE table_name_12 (result VARCHAR, lane VARCHAR) | SELECT result FROM table_name_12 WHERE lane = 3 |
What is the highest Gold that has a Silver less than 7 and Bronze less than 0 | CREATE TABLE table_name_17 (gold INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MAX(gold) FROM table_name_17 WHERE silver < 7 AND bronze < 0 |
if there are 30 lifts, what is the name of the ski resort? | CREATE TABLE table_25762852_1 (name VARCHAR, lifts VARCHAR) | SELECT name FROM table_25762852_1 WHERE lifts = 30 |
What is the average Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4? | CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR) | SELECT AVG(pct) FROM table_name_51 WHERE state_champions < 1 AND mrc_championships = 10 AND co_champions > 4 |
Who was the away team when the home team was South Melbourne? | CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_7 WHERE home_team = "south melbourne" |
Who sponsored Greg Biffle's win on April 14? | CREATE TABLE table_name_46 (sponsor VARCHAR, winning_driver VARCHAR, date VARCHAR) | SELECT sponsor FROM table_name_46 WHERE winning_driver = "greg biffle" AND date = "april 14" |
What capital's county had a population of 730129 as of 2009? | CREATE TABLE table_16278894_1 (capital VARCHAR, population_census_2009 VARCHAR) | SELECT capital FROM table_16278894_1 WHERE population_census_2009 = 730129 |
What is the Branding of the Frequency owned by Sound of Faith Broadcasting Group? | CREATE TABLE table_name_23 (branding VARCHAR, owner VARCHAR) | SELECT branding FROM table_name_23 WHERE owner = "sound of faith broadcasting group" |
When Estudiantes was team #2, what was their agg. value? | CREATE TABLE table_name_28 (agg VARCHAR, team__number2 VARCHAR) | SELECT agg FROM table_name_28 WHERE team__number2 = "estudiantes" |
What is the Status with an Author that is colbert? | CREATE TABLE table_name_25 (status VARCHAR, authors VARCHAR) | SELECT status FROM table_name_25 WHERE authors = "colbert" |
Name the Company which has a Price in USD of free / negotiable? | CREATE TABLE table_name_69 (company VARCHAR, price_in_usd VARCHAR) | SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable" |
1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]? | CREATE TABLE table_name_80 (Id VARCHAR) | SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131 |
Which label is in a limited edition cd/dvd format? | CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR) | SELECT label FROM table_name_19 WHERE format = "limited edition cd/dvd" |
Where is the budweiser/g. i. joe's 200? | CREATE TABLE table_name_48 (city_location VARCHAR, race_name VARCHAR) | SELECT city_location FROM table_name_48 WHERE race_name = "budweiser/g. i. joe's 200" |
what ist he total number of ages where the start date is 6 november? | CREATE TABLE table_17596418_5 (age VARCHAR, started VARCHAR) | SELECT COUNT(age) FROM table_17596418_5 WHERE started = "6 November" |
What is the highest number of rounds for a 3:16 fight? | CREATE TABLE table_name_98 (round INTEGER, time VARCHAR) | SELECT MAX(round) FROM table_name_98 WHERE time = "3:16" |
Name the competition that was on august 25, 2007 | CREATE TABLE table_name_48 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_48 WHERE date = "august 25, 2007" |
A nucleus that is blue/black will specifically stain what? | CREATE TABLE table_13570_1 (specifically_stains VARCHAR, nucleus VARCHAR) | SELECT specifically_stains FROM table_13570_1 WHERE nucleus = "Blue/black" |
Which track does the Woodward Stakes race take place on? | CREATE TABLE table_name_72 (track VARCHAR, race VARCHAR) | SELECT track FROM table_name_72 WHERE race = "woodward stakes" |
What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meeting of all africa games? | CREATE TABLE table_name_52 (year VARCHAR, meeting VARCHAR, venue VARCHAR, extra VARCHAR) | SELECT year FROM table_name_52 WHERE venue = "algiers, algeria" AND extra < 8.03 AND meeting = "all africa games" |
What is the Event when the opponent was wesslan evaristo de oliveira? | CREATE TABLE table_name_79 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_79 WHERE opponent = "wesslan evaristo de oliveira" |
Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004? | CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR, years_in_orlando VARCHAR) | SELECT position FROM table_name_97 WHERE player = "tyronn lue" AND years_in_orlando = "2003–2004" |
What is the format for Digital 94.9? | CREATE TABLE table_name_73 (format VARCHAR, brand VARCHAR) | SELECT format FROM table_name_73 WHERE brand = "digital 94.9" |
Which Surface has a Partner of galina voskoboeva? | CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_45 WHERE partner = "galina voskoboeva" |
What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1? | CREATE TABLE table_name_14 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT COUNT(total) FROM table_name_14 WHERE bronze > 1 AND nation = "germany" AND gold < 1 |
What was the Date of the game of the Home team of melbourne? | CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_89 WHERE home_team = "melbourne" |
What is the NBA draft for ohio state? | CREATE TABLE table_name_58 (nba_draft VARCHAR, college VARCHAR) | SELECT nba_draft FROM table_name_58 WHERE college = "ohio state" |
What is Director, when Original Title is "Sahə"? | CREATE TABLE table_name_64 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_64 WHERE original_title = "sahə" |
What constructor has an engine of cosworth cr-2 and a driver of luciano burti? | CREATE TABLE table_name_52 (constructor VARCHAR, engine_† VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_52 WHERE engine_† = "cosworth cr-2" AND driver = "luciano burti" |
How many movie reviews does each director get? | CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Movie (director VARCHAR, mID VARCHAR) | SELECT COUNT(*), T1.director FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID GROUP BY T1.director |
I want the average for evening gown of 7.52 and swimsuit larger than 7.78 | CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR) | SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78 |
What was the date of the game with a score of W 106-100? | CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_2 WHERE score = "w 106-100" |
What is the average score of submissions? | CREATE TABLE submission (Scores INTEGER) | SELECT AVG(Scores) FROM submission |
what is the event when gold is darren kenny great britain (gbr)? | CREATE TABLE table_name_1 (event VARCHAR, gold VARCHAR) | SELECT event FROM table_name_1 WHERE gold = "darren kenny great britain (gbr)" |
What opponent has balboa stadium as the opponent? | CREATE TABLE table_name_4 (opponent VARCHAR, stadium VARCHAR) | SELECT opponent FROM table_name_4 WHERE stadium = "balboa stadium" |
Who was the outgoing manager for the team of târgu mureş? | CREATE TABLE table_26976615_3 (outgoing_manager VARCHAR, team VARCHAR) | SELECT outgoing_manager FROM table_26976615_3 WHERE team = "Târgu Mureş" |
How many records are there at the War Memorial Stadium? | CREATE TABLE table_10646790_2 (record VARCHAR, stadium VARCHAR) | SELECT COUNT(record) FROM table_10646790_2 WHERE stadium = "War Memorial stadium" |
What was the production code for the episode with 3.38 million viewers? | CREATE TABLE table_20726262_3 (production_code VARCHAR, usviewers__million_ VARCHAR) | SELECT production_code FROM table_20726262_3 WHERE usviewers__million_ = "3.38" |
What is the average week on November 7, 1976 with an attendance less than 46,735? | CREATE TABLE table_name_94 (week INTEGER, date VARCHAR, attendance VARCHAR) | SELECT AVG(week) FROM table_name_94 WHERE date = "november 7, 1976" AND attendance < 46 OFFSET 735 |
What is the candidates result that is tom j. murray (d) unopposed? | CREATE TABLE table_1342149_42 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_1342149_42 WHERE candidates = "Tom J. Murray (D) Unopposed" |
What is the position of the player from Temple? | CREATE TABLE table_name_7 (position VARCHAR, school_country VARCHAR) | SELECT position FROM table_name_7 WHERE school_country = "temple" |
what is the properties of sodium when lithium is h a l o g e n s and rubidium is nacl (2.1)? | CREATE TABLE table_name_10 (sodium VARCHAR, lithium VARCHAR, rubidium VARCHAR) | SELECT sodium FROM table_name_10 WHERE lithium = "h a l o g e n s" AND rubidium = "nacl (2.1)" |
Which Political Party has a Name of ibrahim bej biçakçiu? | CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR) | SELECT political_party FROM table_name_72 WHERE name = "ibrahim bej biçakçiu" |
In which year is Nerida Gregory listed as the loser? | CREATE TABLE table_name_13 (year INTEGER, loser VARCHAR) | SELECT AVG(year) FROM table_name_13 WHERE loser = "nerida gregory" |
What is the ab ripper x when exercise is x stretch? | CREATE TABLE table_27512025_1 (ab_ripper_x VARCHAR, exercise VARCHAR) | SELECT ab_ripper_x FROM table_27512025_1 WHERE exercise = "X Stretch" |
What is the team played on october 5? | CREATE TABLE table_27756014_1 (team VARCHAR, date VARCHAR) | SELECT team FROM table_27756014_1 WHERE date = "October 5" |
What is the smallest average for Beijing Guo'an when they played more than 240 games? | CREATE TABLE table_name_26 (average INTEGER, team VARCHAR, games VARCHAR) | SELECT MIN(average) FROM table_name_26 WHERE team = "beijing guo'an" AND games > 240 |
What is the year when kurtis kraft 500f was the chassis? | CREATE TABLE table_name_46 (year INTEGER, chassis VARCHAR) | SELECT SUM(year) FROM table_name_46 WHERE chassis = "kurtis kraft 500f" |
Name the sum of attendance for round 3 | CREATE TABLE table_name_22 (attendance INTEGER, round VARCHAR) | SELECT SUM(attendance) FROM table_name_22 WHERE round = "round 3" |
For each account type, find the average account balance of customers with credit score lower than 50. | CREATE TABLE customer (acc_type VARCHAR, acc_bal INTEGER, credit_score INTEGER) | SELECT AVG(acc_bal), acc_type FROM customer WHERE credit_score < 50 GROUP BY acc_type |
What is the brand in Cabanatuan? | CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR) | SELECT branding FROM table_19215259_1 WHERE location = "Cabanatuan" |
Tell me the driver for 58 laps | CREATE TABLE table_name_18 (driver VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_18 WHERE laps = 58 |
What was the SPA FEA when the LMS FEA was 5? | CREATE TABLE table_name_60 (spa_fea VARCHAR, lms_fea VARCHAR) | SELECT spa_fea FROM table_name_60 WHERE lms_fea = "5" |
What is the lowest Bush#, when Bush% is "65.4%"? | CREATE TABLE table_name_63 (bush_number INTEGER, bush_percentage VARCHAR) | SELECT MIN(bush_number) FROM table_name_63 WHERE bush_percentage = "65.4%" |
What is the Method of the match with a Time of 4:07? | CREATE TABLE table_name_53 (method VARCHAR, time VARCHAR) | SELECT method FROM table_name_53 WHERE time = "4:07" |
What is the score for a report of AFC on April 4, 2008? | CREATE TABLE table_name_18 (score VARCHAR, report VARCHAR, date VARCHAR) | SELECT score FROM table_name_18 WHERE report = "afc" AND date = "april 4, 2008" |
Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type. | CREATE TABLE university (affiliation VARCHAR, Enrollment INTEGER, founded INTEGER) | SELECT SUM(Enrollment), affiliation FROM university WHERE founded > 1850 GROUP BY affiliation |
Which Season has an Away of 1–2? | CREATE TABLE table_name_94 (season VARCHAR, away VARCHAR) | SELECT season FROM table_name_94 WHERE away = "1–2" |
What is the most possible bronze medals when rank is more than 11 and there are fewer than 0 gold medals? | CREATE TABLE table_name_95 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | SELECT MAX(bronze) FROM table_name_95 WHERE rank > 11 AND gold < 0 |
Where is milepost 12.8? | CREATE TABLE table_10568553_1 (location VARCHAR, milepost VARCHAR) | SELECT location FROM table_10568553_1 WHERE milepost = "12.8" |
What Owner Delivered the T415? | CREATE TABLE table_name_70 (owner VARCHAR, delivered_as VARCHAR) | SELECT owner FROM table_name_70 WHERE delivered_as = "t415" |
What's Dell Curry nationality? | CREATE TABLE table_10015132_3 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_10015132_3 WHERE player = "Dell Curry" |
What is the earliest last year with a yr plyf less than 0? | CREATE TABLE table_name_97 (last_yr INTEGER, yr_plyf INTEGER) | SELECT MIN(last_yr) FROM table_name_97 WHERE yr_plyf < 0 |
What is the competition that was at serravalle, san marino? | CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_80 WHERE venue = "serravalle, san marino" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.