question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Which Attendance has an Away of real juventud? | CREATE TABLE table_name_50 (attendance INTEGER, away VARCHAR) | SELECT SUM(attendance) FROM table_name_50 WHERE away = "real juventud" |
Name the home port for kansas city | CREATE TABLE table_name_15 (home_port VARCHAR, ship VARCHAR) | SELECT home_port FROM table_name_15 WHERE ship = "kansas city" |
What's the winning score on Feb 12, 1978? | CREATE TABLE table_name_49 (winning_score VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_49 WHERE date = "feb 12, 1978" |
How much did the Hydra team from Bronx, New York raise? | CREATE TABLE table_name_35 (raised VARCHAR, original_team VARCHAR, hometown VARCHAR) | SELECT raised FROM table_name_35 WHERE original_team = "hydra" AND hometown = "bronx, new york" |
Which date has rich stadium as the game site for week 1? | CREATE TABLE table_name_13 (date VARCHAR, game_site VARCHAR, week VARCHAR) | SELECT date FROM table_name_13 WHERE game_site = "rich stadium" AND week = 1 |
What is the Round when the series shows 5th place, and a Season of 2006–07? | CREATE TABLE table_name_86 (round VARCHAR, series VARCHAR, season VARCHAR) | SELECT round FROM table_name_86 WHERE series = "5th place" AND season = "2006–07" |
Name the total number of seans team being 7x04 | CREATE TABLE table_23292220_7 (seans_team VARCHAR, episode VARCHAR) | SELECT COUNT(seans_team) FROM table_23292220_7 WHERE episode = "7x04" |
How many wins were in the PGA Championship when there were more than 10 events? | CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR) | SELECT COUNT(wins) FROM table_name_55 WHERE tournament = "pga championship" AND events > 10 |
in riyadh, saudi arabia, what is the score? | CREATE TABLE table_name_12 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_12 WHERE venue = "riyadh, saudi arabia" |
What is the Visitor with a Leading scorer with rudy gay (24)? | CREATE TABLE table_name_28 (visitor VARCHAR, leading_scorer VARCHAR) | SELECT visitor FROM table_name_28 WHERE leading_scorer = "rudy gay (24)" |
What's the heigh of nolan smith? | CREATE TABLE table_name_83 (height VARCHAR, player VARCHAR) | SELECT height FROM table_name_83 WHERE player = "nolan smith" |
Who was the coach for qadsia? | CREATE TABLE table_name_58 (coach VARCHAR, club VARCHAR) | SELECT coach FROM table_name_58 WHERE club = "qadsia" |
What position did the player from Florida International play? | CREATE TABLE table_name_31 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_31 WHERE school_club_team = "florida international" |
Which of the attributes has is cancelable and an answer of yes for bubbles? | CREATE TABLE table_name_15 (attribute VARCHAR, cancelable VARCHAR, bubbles VARCHAR) | SELECT attribute FROM table_name_15 WHERE cancelable = "yes" AND bubbles = "yes" |
What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July? | CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR) | SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july" |
in how many of the arkansas colomel the county was pope | CREATE TABLE table_29458735_5 (colonel VARCHAR, county VARCHAR) | SELECT COUNT(colonel) FROM table_29458735_5 WHERE county = "Pope" |
What player is a kicker? | CREATE TABLE table_name_33 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_33 WHERE position = "kicker" |
When racing engineering is the team and 2012 is the team what is the position? | CREATE TABLE table_25352318_1 (position VARCHAR, season VARCHAR, team VARCHAR) | SELECT position FROM table_25352318_1 WHERE season = 2012 AND team = "Racing Engineering" |
What is the number of games for the season with 10 ties? | CREATE TABLE table_name_86 (games VARCHAR, tied VARCHAR) | SELECT games FROM table_name_86 WHERE tied = 10 |
What was the final for rouhollah hosseini? | CREATE TABLE table_name_78 (final VARCHAR, athlete VARCHAR) | SELECT final FROM table_name_78 WHERE athlete = "rouhollah hosseini" |
Find the total student enrollment for different affiliation type schools. | CREATE TABLE university (affiliation VARCHAR, enrollment INTEGER) | SELECT SUM(enrollment), affiliation FROM university GROUP BY affiliation |
How many matches have Rhymney RFC played? | CREATE TABLE table_name_24 (played VARCHAR, club VARCHAR) | SELECT played FROM table_name_24 WHERE club = "rhymney rfc" |
What is the average FAC/LC apps with a CL G greater than 0, less than 33 PL apps, a FAC/LC G of 0, and less than 2 FA YC? | CREATE TABLE table_name_46 (fac___lc_apps INTEGER, fa_yc VARCHAR, fac___lc_g VARCHAR, cl_g VARCHAR, pl_apps VARCHAR) | SELECT AVG(fac___lc_apps) FROM table_name_46 WHERE cl_g > 0 AND pl_apps < 33 AND fac___lc_g = 0 AND fa_yc < 2 |
How many rebounds did Rhonda Mapp make? | CREATE TABLE table_19722664_5 (rebounds INTEGER, player VARCHAR) | SELECT MAX(rebounds) FROM table_19722664_5 WHERE player = "Rhonda Mapp" |
Who was the director of the episode with a production code of 2393059? | CREATE TABLE table_10953197_2 (director VARCHAR, production_code VARCHAR) | SELECT director FROM table_10953197_2 WHERE production_code = "2393059" |
How many different C_{high} values are there for the good category? | CREATE TABLE table_1942366_9 (high VARCHAR, category VARCHAR) | SELECT STRUCT(high) FROM table_1942366_9 WHERE category = "Good" |
What is the col location for the location of france / italy? | CREATE TABLE table_2731431_1 (col_location VARCHAR, location VARCHAR) | SELECT col_location FROM table_2731431_1 WHERE location = "France / Italy" |
List the names of members who did not attend any performance. | CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Name VARCHAR, Member_ID VARCHAR) | SELECT Name FROM member WHERE NOT Member_ID IN (SELECT Member_ID FROM member_attendance) |
Name the original air date for bryan moore & chris peterson | CREATE TABLE table_27988408_1 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson" |
What event was in 2006? | CREATE TABLE table_name_2 (event VARCHAR, year VARCHAR) | SELECT event FROM table_name_2 WHERE year = 2006 |
What Canadian Championship has 84 (4) as the league? | CREATE TABLE table_name_85 (canadian_championship VARCHAR, league VARCHAR) | SELECT canadian_championship FROM table_name_85 WHERE league = "84 (4)" |
What is the Venue of the Competition with a Score of 0–2? | CREATE TABLE table_name_1 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_1 WHERE score = "0–2" |
what is the minimum year where winning score is −8 (71-63-69-69=272) | CREATE TABLE table_11570261_1 (year INTEGER, winning_score VARCHAR) | SELECT MIN(year) FROM table_11570261_1 WHERE winning_score = −8(71 - 63 - 69 - 69 = 272) |
What is listed for the 2012 that has a 2011 of 28.9%? | CREATE TABLE table_name_86 (Id VARCHAR) | SELECT 2012 FROM table_name_86 WHERE 2011 = "28.9%" |
Who was number 7 when Olivia was number 5 and Emma was number 2? | CREATE TABLE table_name_16 (no_7 VARCHAR, no_5 VARCHAR, no_2 VARCHAR) | SELECT no_7 FROM table_name_16 WHERE no_5 = "olivia" AND no_2 = "emma" |
What is the highest number of losses of club cf calvo sotelo, which has more than 31 goals against, 38 goals for, and less than 30 played? | CREATE TABLE table_name_85 (losses INTEGER, played VARCHAR, club VARCHAR, goals_against VARCHAR, goals_for VARCHAR) | SELECT MAX(losses) FROM table_name_85 WHERE goals_against > 31 AND goals_for = 38 AND club = "cf calvo sotelo" AND played < 30 |
Which Circuit is on July 24? | CREATE TABLE table_name_56 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_56 WHERE date = "july 24" |
What is the netflow version when vendor and type is pc and servers? | CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR) | SELECT netflow_version FROM table_1206114_2 WHERE vendor_and_type = "PC and Servers" |
What is the Week of the game against Seattle Seahawks? | CREATE TABLE table_name_30 (week INTEGER, opponent VARCHAR) | SELECT AVG(week) FROM table_name_30 WHERE opponent = "seattle seahawks" |
What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527? | CREATE TABLE table_name_73 (issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR) | SELECT AVG(issue_price) FROM table_name_73 WHERE special_notes = "from toronto maple leafs gift set" AND mintage = "3527" |
If the writer is Mark Fink, who is the director? | CREATE TABLE table_25277262_2 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_25277262_2 WHERE written_by = "Mark Fink" |
Which points classification was used in stage 15? | CREATE TABLE table_name_54 (points_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_54 WHERE stage = "15" |
Which player plays for the college of manitoba? | CREATE TABLE table_name_96 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_96 WHERE college = "manitoba" |
in how many dates the opponen in the final was rushmi chakravarthi | CREATE TABLE table_29127804_3 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT COUNT(date) FROM table_29127804_3 WHERE opponent_in_the_final = "Rushmi Chakravarthi" |
Name the brighton cast for andrew verala | CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR) | SELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = "Andrew Verala" |
What are the Attendance numbers for november 18, 1990? | CREATE TABLE table_name_38 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_38 WHERE date = "november 18, 1990" |
What is Episode, when VIII Season is 5 082 535 (19 October 2008)? | CREATE TABLE table_name_83 (episode VARCHAR, viii_season VARCHAR) | SELECT episode FROM table_name_83 WHERE viii_season = "5 082 535 (19 october 2008)" |
Find the number of companies whose industry is "Banking" or "Conglomerate", | CREATE TABLE Companies (Industry VARCHAR) | SELECT COUNT(*) FROM Companies WHERE Industry = "Banking" OR Industry = "Conglomerate" |
What was the average points in the quarterfinals domestic cup? | CREATE TABLE table_name_72 (points INTEGER, domestic_cup VARCHAR) | SELECT AVG(points) FROM table_name_72 WHERE domestic_cup = "quarterfinals" |
What was the score when they played against San Antonio? | CREATE TABLE table_15869204_7 (score VARCHAR, team VARCHAR) | SELECT score FROM table_15869204_7 WHERE team = "San Antonio" |
What was the year of the World Half Marathon Championships with a result of 3rd? | CREATE TABLE table_name_5 (year VARCHAR, tournament VARCHAR, result VARCHAR) | SELECT year FROM table_name_5 WHERE tournament = "world half marathon championships" AND result = "3rd" |
What is the Name when the runner-up was Sania Mirza Elena Vesnina? | CREATE TABLE table_name_77 (name VARCHAR, runner_up VARCHAR) | SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina" |
Which 2010 featured the US Open? | CREATE TABLE table_name_56 (tournament VARCHAR) | SELECT 2010 FROM table_name_56 WHERE tournament = "us open" |
How many 'number of season in Liga MX' were played if the 'first season of current spell in top division' is in 1962-63? | CREATE TABLE table_18143210_2 (number_of_seasons_in_liga_mx VARCHAR, first_season_of_current_spell_in_top_division VARCHAR) | SELECT number_of_seasons_in_liga_mx FROM table_18143210_2 WHERE first_season_of_current_spell_in_top_division = "1962-63" |
When martha brae, river is the hydrographic basin what is the rainfall totals (million m 3)? | CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ VARCHAR, hydrographic_basin VARCHAR) | SELECT rainfall_totals__million_m_3__ FROM table_26609958_1 WHERE hydrographic_basin = "Martha Brae, River" |
What's the points classification when the stage was final? | CREATE TABLE table_name_42 (points_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_42 WHERE stage = "final" |
What was the score against houston? | CREATE TABLE table_22893781_5 (score VARCHAR, team VARCHAR) | SELECT score FROM table_22893781_5 WHERE team = "Houston" |
What city has channel tv (dt) 25 (31)? | CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR) | SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)" |
What language is Sky Cinema Passion television service n. 308? | CREATE TABLE table_15887683_5 (language VARCHAR, television_service VARCHAR, n° VARCHAR) | SELECT language FROM table_15887683_5 WHERE television_service = "Sky Cinema Passion" AND n° = "308" |
Which Brilliance Grade has a Benchmark of practical fine cut? | CREATE TABLE table_name_69 (brilliance_grade VARCHAR, benchmark VARCHAR) | SELECT brilliance_grade FROM table_name_69 WHERE benchmark = "practical fine cut" |
What is the class of the locomotive with a 0-4-0st type? | CREATE TABLE table_name_23 (class VARCHAR, type VARCHAR) | SELECT class FROM table_name_23 WHERE type = "0-4-0st" |
What was the crowd size for the game with a score of 101-105? | CREATE TABLE table_name_13 (crowd VARCHAR, score VARCHAR) | SELECT crowd FROM table_name_13 WHERE score = "101-105" |
Name the date of the italian grand prix | CREATE TABLE table_name_34 (date VARCHAR, race VARCHAR) | SELECT date FROM table_name_34 WHERE race = "italian grand prix" |
what is the fate when the nationality is french and the ship is pierre lott? | CREATE TABLE table_name_97 (fate VARCHAR, nationality VARCHAR, ship VARCHAR) | SELECT fate FROM table_name_97 WHERE nationality = "french" AND ship = "pierre lott" |
what is the pole position of Round 9 | CREATE TABLE table_name_4 (pole_position VARCHAR, round VARCHAR) | SELECT pole_position FROM table_name_4 WHERE round = 9 |
what's the player where inns is 21 | CREATE TABLE table_10621256_1 (player VARCHAR, inns VARCHAR) | SELECT player FROM table_10621256_1 WHERE inns = 21 |
Which Points have a Year larger than 1998, and Wins of 1? | CREATE TABLE table_name_79 (points INTEGER, year VARCHAR, wins VARCHAR) | SELECT AVG(points) FROM table_name_79 WHERE year > 1998 AND wins = 1 |
Tell me the nationality for rudolf vercik | CREATE TABLE table_name_51 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_51 WHERE player = "rudolf vercik" |
List the titles of books that are not published. | CREATE TABLE book (Title VARCHAR, Book_ID VARCHAR); CREATE TABLE publication (Title VARCHAR, Book_ID VARCHAR) | SELECT Title FROM book WHERE NOT Book_ID IN (SELECT Book_ID FROM publication) |
On what Date was the Score of 3–6, 6–4, 3–6, 6–1, 6–2 | CREATE TABLE table_name_76 (date INTEGER, score VARCHAR) | SELECT SUM(date) FROM table_name_76 WHERE score = "3–6, 6–4, 3–6, 6–1, 6–2" |
In what facility was Pittsburgh's home game played? | CREATE TABLE table_28298589_4 (site VARCHAR, home_team VARCHAR) | SELECT site FROM table_28298589_4 WHERE home_team = "Pittsburgh" |
What is the rank when 36.5 is tumbling? | CREATE TABLE table_22014431_3 (rank VARCHAR, tumbling VARCHAR) | SELECT COUNT(rank) FROM table_22014431_3 WHERE tumbling = "36.5" |
What was the party that was frist elected in 1919? | CREATE TABLE table_1342292_42 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1342292_42 WHERE first_elected = 1919 |
What is the highest swimsuit score of the contestant with an evening gown larger than 9.175 and an interview score less than 8.425? | CREATE TABLE table_name_91 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR) | SELECT MAX(swimsuit) FROM table_name_91 WHERE evening_gown > 9.175 AND interview < 8.425 |
What was the attendance when the Hawks played? | CREATE TABLE table_name_24 (attendance VARCHAR, home VARCHAR) | SELECT COUNT(attendance) FROM table_name_24 WHERE home = "hawks" |
What is Anders Forsbrand's Place? | CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_14 WHERE player = "anders forsbrand" |
What race happened on 04-25-2008? | CREATE TABLE table_name_1 (race VARCHAR, date VARCHAR) | SELECT race FROM table_name_1 WHERE date = "04-25-2008" |
What is the transfer window of the player moving from barueri? | CREATE TABLE table_name_40 (transfer_window VARCHAR, moving_from VARCHAR) | SELECT transfer_window FROM table_name_40 WHERE moving_from = "barueri" |
What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?. | CREATE TABLE table_20325360_2 (Id VARCHAR) | SELECT MAX(3 AS rd_runner_up) FROM table_20325360_2 |
What is the longitude with a latitude of 47.985154? | CREATE TABLE table_18600760_15 (longitude VARCHAR, latitude VARCHAR) | SELECT longitude FROM table_18600760_15 WHERE latitude = "47.985154" |
Which ERP W has a Frequency MHz of 88.5 FM? | CREATE TABLE table_name_15 (erp_w VARCHAR, frequency_mhz VARCHAR) | SELECT erp_w FROM table_name_15 WHERE frequency_mhz = "88.5 fm" |
What is the last name and office of the professor from the history department? | CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE employee (emp_lname VARCHAR, emp_num VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR) | SELECT T1.emp_lname, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T2.dept_code = T3.dept_code WHERE T3.dept_name = 'History' |
Which Leading scorer 1 has a League Contested of northern premier league premier division, and an FA Cup of 2q? | CREATE TABLE table_name_2 (leading_scorer_1 VARCHAR, leaguecontested VARCHAR, fa_cup VARCHAR) | SELECT leading_scorer_1 FROM table_name_2 WHERE leaguecontested = "northern premier league premier division" AND fa_cup = "2q" |
What position did the kr team player play? | CREATE TABLE table_name_15 (position VARCHAR, team VARCHAR) | SELECT position FROM table_name_15 WHERE team = "kr" |
what's the date with game being 72 | CREATE TABLE table_13557843_7 (date VARCHAR, game VARCHAR) | SELECT date FROM table_13557843_7 WHERE game = 72 |
Which chassis was used in 1971? | CREATE TABLE table_name_1 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_1 WHERE year = 1971 |
Against the Houston Oilers after week 14, what was the result of the game? | CREATE TABLE table_name_64 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_64 WHERE week > 14 AND opponent = "houston oilers" |
Name the 2011 which has a 2002 of —, and a Model of seat marbella? | CREATE TABLE table_name_93 (model VARCHAR) | SELECT 2011 FROM table_name_93 WHERE 2002 = "—" AND model = "seat marbella" |
Tell me the team 2 for handelsministerium vienna | CREATE TABLE table_name_78 (team__number2 VARCHAR, team__number1 VARCHAR) | SELECT team__number2 FROM table_name_78 WHERE team__number1 = "handelsministerium vienna" |
When was the Lagos tournament? | CREATE TABLE table_name_84 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_84 WHERE tournament = "lagos" |
What is the win percentage when 2011 shows 1r in the Paris tournament? | CREATE TABLE table_name_95 (win__percentage VARCHAR, tournament VARCHAR) | SELECT win__percentage FROM table_name_95 WHERE 2011 = "1r" AND tournament = "paris" |
What is the total points earned total number if the average is 21.3? | CREATE TABLE table_23662272_4 (total_points_earned VARCHAR, average VARCHAR) | SELECT COUNT(total_points_earned) FROM table_23662272_4 WHERE average = "21.3" |
Name the 1st m for nor | CREATE TABLE table_14407512_24 (nationality VARCHAR) | SELECT 1 AS st__m_ FROM table_14407512_24 WHERE nationality = "NOR" |
List the locations that are shared by more than two wrestlers. | CREATE TABLE wrestler (LOCATION VARCHAR) | SELECT LOCATION FROM wrestler GROUP BY LOCATION HAVING COUNT(*) > 2 |
What is the round of the match at venue A with a result of 1-2 on 7 December 2004? | CREATE TABLE table_name_17 (round VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) | SELECT round FROM table_name_17 WHERE venue = "a" AND result = "1-2" AND date = "7 december 2004" |
Name the Rider which has a Time of +59.304? | CREATE TABLE table_name_33 (rider VARCHAR, time VARCHAR) | SELECT rider FROM table_name_33 WHERE time = "+59.304" |
How much did the away team score at Victoria park? | CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_84 WHERE venue = "victoria park" |
Which album had a release of heavenly (hvn95)? | CREATE TABLE table_name_56 (album VARCHAR, release_info VARCHAR) | SELECT album FROM table_name_56 WHERE release_info = "heavenly (hvn95)" |
What is the total area of the Arkansas River outlet with a % in-state of a021 100%? | CREATE TABLE table_name_61 (total_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR) | SELECT total_area FROM table_name_61 WHERE outlet = "arkansas river" AND _percentage_in_state = "a021 100%" |
What is the year of the season if the intermediate (South) winners is Southmead Athletic? | CREATE TABLE table_23014923_1 (season VARCHAR, intermediate__south__winners VARCHAR) | SELECT season FROM table_23014923_1 WHERE intermediate__south__winners = "Southmead Athletic" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.