question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What Type of game was played on Date of July 29? | CREATE TABLE table_name_28 (type_of_game VARCHAR, date VARCHAR) | SELECT type_of_game FROM table_name_28 WHERE date = "july 29" |
What is the largest number of 10 C points for a team with 39 total points? | CREATE TABLE table_25887826_17 (total_pts VARCHAR) | SELECT MAX(10 AS _c_pts) FROM table_25887826_17 WHERE total_pts = 39 |
Which player attended Hoover High School? | CREATE TABLE table_name_94 (player VARCHAR, school VARCHAR) | SELECT player FROM table_name_94 WHERE school = "hoover high school" |
Name the viewers for production code for 3x6704 | CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR) | SELECT us_viewers__million_ FROM table_22347090_5 WHERE production_code = "3X6704" |
What is the lowest number played with 2 losses and more than 13 points? | CREATE TABLE table_name_30 (played INTEGER, lost VARCHAR, points VARCHAR) | SELECT MIN(played) FROM table_name_30 WHERE lost = 2 AND points > 13 |
What was the smallest production code for August 11's original episode? | CREATE TABLE table_25691838_8 (production_code INTEGER, original_airdate VARCHAR) | SELECT MIN(production_code) FROM table_25691838_8 WHERE original_airdate = "August 11" |
Who has a Game smaller than 43, and a Record of 23-14-3? | CREATE TABLE table_name_37 (opponent VARCHAR, game VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_37 WHERE game < 43 AND record = "23-14-3" |
Show the result of the submission with the highest score. | CREATE TABLE acceptance (Result VARCHAR, Submission_ID VARCHAR); CREATE TABLE submission (Submission_ID VARCHAR, Scores VARCHAR) | SELECT T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID ORDER BY T2.Scores DESC LIMIT 1 |
What brand is model G6xxx? | CREATE TABLE table_24018112_1 (brand_name VARCHAR, model__list_ VARCHAR) | SELECT brand_name FROM table_24018112_1 WHERE model__list_ = "G6xxx" |
How many rebounds does Ann Wauters have? | CREATE TABLE table_name_89 (rebounds VARCHAR, name VARCHAR) | SELECT COUNT(rebounds) FROM table_name_89 WHERE name = "ann wauters" |
Wins of 0 involves what team? | CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR) | SELECT team FROM table_name_96 WHERE wins = 0 |
Name the total number of index weighting % at 17 january 2013 for bouygues | CREATE TABLE table_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, company VARCHAR) | SELECT COUNT(index_weighting___percentage__at_17_january_2013) FROM table_168274_1 WHERE company = "Bouygues" |
Name the married filing separately for single of $0–$8,350 | CREATE TABLE table_name_77 (married_filing_separately VARCHAR, single VARCHAR) | SELECT married_filing_separately FROM table_name_77 WHERE single = "$0–$8,350" |
Show the name and date for each race and its track name. | CREATE TABLE race (name VARCHAR, date VARCHAR, track_id VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR) | SELECT T1.name, T1.date, T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id |
What is the Place of the Player with a Score of 73-68-71=212? | CREATE TABLE table_name_16 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_16 WHERE score = 73 - 68 - 71 = 212 |
What number is Kuiper? | CREATE TABLE table_name_28 (number VARCHAR, name VARCHAR) | SELECT number FROM table_name_28 WHERE name = "kuiper" |
What is the difference with a loss smaller than 5 and points lower than 32? | CREATE TABLE table_name_50 (diff VARCHAR, lost VARCHAR, points VARCHAR) | SELECT COUNT(diff) FROM table_name_50 WHERE lost < 5 AND points < 32 |
What callsign has commenced operations in 2011? | CREATE TABLE table_name_34 (callsign VARCHAR, commenced_operations VARCHAR) | SELECT callsign FROM table_name_34 WHERE commenced_operations = 2011 |
What were the LOA (metres) for the yacht where the skipper was Jez Fanstone? | CREATE TABLE table_25595107_1 (loa__metres_ VARCHAR, skipper VARCHAR) | SELECT loa__metres_ FROM table_25595107_1 WHERE skipper = "Jez Fanstone" |
Name the location for 1998 | CREATE TABLE table_name_26 (location VARCHAR, year VARCHAR) | SELECT location FROM table_name_26 WHERE year = "1998" |
What is the average Lane where Belarus is the nationality? | CREATE TABLE table_name_57 (lane INTEGER, nationality VARCHAR) | SELECT AVG(lane) FROM table_name_57 WHERE nationality = "belarus" |
Which opponent has a Club of essendon, and a Score of 13.4.82? | CREATE TABLE table_name_73 (opponent VARCHAR, club VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_73 WHERE club = "essendon" AND score = "13.4.82" |
Who was the writters for the episode directed by Richard L. Bare, no. 8 in season? | CREATE TABLE table_12226390_7 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) | SELECT written_by FROM table_12226390_7 WHERE directed_by = "Richard L. Bare" AND no_in_season = 8 |
When 61 is the entries what is the winning boat? | CREATE TABLE table_24673710_1 (winning_boat VARCHAR, entries VARCHAR) | SELECT winning_boat FROM table_24673710_1 WHERE entries = 61 |
what is the country for rank 6? | CREATE TABLE table_name_3 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_3 WHERE rank = 6 |
I want the tsongas of may 22, 2007 | CREATE TABLE table_name_45 (tsongas__d_ VARCHAR, date VARCHAR) | SELECT tsongas__d_ FROM table_name_45 WHERE date = "may 22, 2007" |
What is Round when Year is 1987? | CREATE TABLE table_name_92 (round VARCHAR, year VARCHAR) | SELECT round FROM table_name_92 WHERE year = 1987 |
What is the B Score when the total is more than 16.125, and position is 3rd? | CREATE TABLE table_name_70 (b_score INTEGER, total VARCHAR, position VARCHAR) | SELECT SUM(b_score) FROM table_name_70 WHERE total > 16.125 AND position = "3rd" |
What is the nationality of the player with a pick larger than 21 from the College of the Sequoias? | CREATE TABLE table_name_14 (nationality VARCHAR, pick VARCHAR, college_high_school_club VARCHAR) | SELECT nationality FROM table_name_14 WHERE pick > 21 AND college_high_school_club = "college of the sequoias" |
When assists is more than 32 and total blocks is more than 88, what is the total of block assists? | CREATE TABLE table_name_12 (Block INTEGER, assists VARCHAR, total_blocks VARCHAR) | SELECT SUM(Block) AS assists FROM table_name_12 WHERE assists > 32 AND total_blocks > 88 |
What is the Years when games shows 550? | CREATE TABLE table_name_93 (years VARCHAR, games VARCHAR) | SELECT years FROM table_name_93 WHERE games = 550 |
how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)? | CREATE TABLE table_11960944_4 (high_points VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR) | SELECT COUNT(high_points) FROM table_11960944_4 WHERE high_rebounds = "McDyess (9)" AND high_assists = "Billups (10)" |
In 2010, how many 1st venue cities were there? | CREATE TABLE table_22482077_1 (year VARCHAR) | SELECT COUNT(1 AS st_venue) FROM table_22482077_1 WHERE year = 2010 |
What is the average amount of spectators when Essendon played as the home team? | CREATE TABLE table_name_84 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_84 WHERE home_team = "essendon" |
What was the lowest Attendance for the Staples Center Arena when the Points were over 14? | CREATE TABLE table_name_21 (attendance INTEGER, points VARCHAR, arena VARCHAR) | SELECT MIN(attendance) FROM table_name_21 WHERE points > 14 AND arena = "staples center" |
In what city does the tallest building have 35 floors? | CREATE TABLE table_name_32 (city VARCHAR, floors VARCHAR) | SELECT city FROM table_name_32 WHERE floors = 35 |
Who was the pole position for the rnd equalling 12? | CREATE TABLE table_10707176_2 (pole_position VARCHAR, rnd VARCHAR) | SELECT pole_position FROM table_10707176_2 WHERE rnd = "12" |
What is the largest number of cars per set that is less than 9? | CREATE TABLE table_name_30 (number INTEGER, cars_per_set INTEGER) | SELECT MAX(number) FROM table_name_30 WHERE cars_per_set < 9 |
How many times was william m. colmer winstead first elected? | CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR) | SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "William M. Colmer" |
What are the years of participation for central crossing school? | CREATE TABLE table_17429402_7 (years_of_participation VARCHAR, school VARCHAR) | SELECT years_of_participation FROM table_17429402_7 WHERE school = "Central Crossing" |
Who had a score of 69-70=139? | CREATE TABLE table_name_25 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_25 WHERE score = 69 - 70 = 139 |
WHAT IS THE SCORE WITH A WINNER AND OPPONENT BYRON BLACK? | CREATE TABLE table_name_89 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_89 WHERE outcome = "winner" AND opponent = "byron black" |
Who was the Partner that was a winner, a Year smaller than 1993, and a Score of 6–4, 6–2? | CREATE TABLE table_name_94 (partner VARCHAR, score VARCHAR, outcome VARCHAR, year VARCHAR) | SELECT partner FROM table_name_94 WHERE outcome = "winner" AND year < 1993 AND score = "6–4, 6–2" |
What is the average games a player born on 17 March 1915 and debut before 1935 had? | CREATE TABLE table_name_68 (games INTEGER, date_of_birth VARCHAR, debut_year VARCHAR) | SELECT AVG(games) FROM table_name_68 WHERE date_of_birth = "17 march 1915" AND debut_year < 1935 |
Who had the most high assists from Milwaukee? | CREATE TABLE table_name_73 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_name_73 WHERE team = "milwaukee" |
What is the bird uniform for Eagle Rider Mickey Dugan? | CREATE TABLE table_name_8 (bird_uniform VARCHAR, eagle_riders VARCHAR) | SELECT bird_uniform FROM table_name_8 WHERE eagle_riders = "mickey dugan" |
What is the Date, when Partnering is "Francesca Lubiani", and when Opponent in Final is "Yuliya Beygelzimer / Jennifer Hopkins"? | CREATE TABLE table_name_10 (date VARCHAR, partnering VARCHAR, opponent_in_final VARCHAR) | SELECT date FROM table_name_10 WHERE partnering = "francesca lubiani" AND opponent_in_final = "yuliya beygelzimer / jennifer hopkins" |
On what day did the team play the Indianapolis Colts? | CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_26 WHERE opponent = "indianapolis colts" |
Who wrote the episode with the production code 211? | CREATE TABLE table_27610775_1 (written_by VARCHAR, prod_code VARCHAR) | SELECT written_by FROM table_27610775_1 WHERE prod_code = 211 |
what is the league goals when the fa cup goals is higher than 0, the fa cup apps is 2 and the league apps is 45? | CREATE TABLE table_name_50 (league_goals VARCHAR, league_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR) | SELECT league_goals FROM table_name_50 WHERE fa_cup_goals > 0 AND fa_cup_apps = "2" AND league_apps = "45" |
What is the incident number of the incident that occurred in Dantewada, Chattisgarh? | CREATE TABLE table_name_8 (incident_no VARCHAR, place VARCHAR) | SELECT incident_no FROM table_name_8 WHERE place = "dantewada, chattisgarh" |
When did the comic which came out in 1982 end? | CREATE TABLE table_name_75 (last_year VARCHAR, first_year VARCHAR) | SELECT last_year FROM table_name_75 WHERE first_year = "1982" |
What is the nickname of the University of Alabama? | CREATE TABLE table_26355116_1 (nickname VARCHAR, school VARCHAR) | SELECT nickname FROM table_26355116_1 WHERE school = "University of Alabama" |
What are the countries having at least one car maker? List name and id. | CREATE TABLE CAR_MAKERS (Country VARCHAR); CREATE TABLE COUNTRIES (CountryName VARCHAR, CountryId VARCHAR) | SELECT T1.CountryName, T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING COUNT(*) >= 1 |
What is the total rank for the player with less than 2 silvers, 4 golds, and more than 2 bronze? | CREATE TABLE table_name_2 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT COUNT(rank) FROM table_name_2 WHERE silver < 2 AND gold = 4 AND bronze > 2 |
What is the Commissioned date of the ship in NVR Page MCM02? | CREATE TABLE table_name_29 (commissioned VARCHAR, nvr_page VARCHAR) | SELECT commissioned FROM table_name_29 WHERE nvr_page = "mcm02" |
What is the total number of ends after 2006 with a nationality of ita and 0 goals? | CREATE TABLE table_name_39 (ends VARCHAR, goals VARCHAR, since VARCHAR, nat VARCHAR) | SELECT COUNT(ends) FROM table_name_39 WHERE since > 2006 AND nat = "ita" AND goals < 0 |
Name the record for detroit and decision of denis | CREATE TABLE table_name_39 (record VARCHAR, home VARCHAR, decision VARCHAR) | SELECT record FROM table_name_39 WHERE home = "detroit" AND decision = "denis" |
What party did the incumbent Thomas P. Moore belong to? | CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore" |
What the Outcome for the Tournament of Johannesburg, South Africa | CREATE TABLE table_name_5 (outcome VARCHAR, tournament VARCHAR) | SELECT outcome FROM table_name_5 WHERE tournament = "johannesburg, south africa" |
What is the most common singer citizenship ? | CREATE TABLE singer (citizenship VARCHAR) | SELECT citizenship FROM singer GROUP BY citizenship ORDER BY COUNT(*) DESC LIMIT 1 |
Which Round is the lowest one that has a School/Club Team of virginia? | CREATE TABLE table_name_20 (round INTEGER, school_club_team VARCHAR) | SELECT MIN(round) FROM table_name_20 WHERE school_club_team = "virginia" |
What is the IATA code for the airport with an ICAO code of HLLS? | CREATE TABLE table_name_19 (iata VARCHAR, icao VARCHAR) | SELECT iata FROM table_name_19 WHERE icao = "hlls" |
Name the Team which has Points larger than 9, and a Year larger than 1971, and a Class of 250cc? | CREATE TABLE table_name_12 (team VARCHAR, class VARCHAR, points VARCHAR, year VARCHAR) | SELECT team FROM table_name_12 WHERE points > 9 AND year > 1971 AND class = "250cc" |
what AA class has a AAA class of commerce? | CREATE TABLE table_name_46 (class_aA VARCHAR, class_aAA VARCHAR, commerce VARCHAR) | SELECT class_aA FROM table_name_46 WHERE class_aAA = commerce |
What is To Par, when Place is "T5", and when Country is "United States"? | CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_18 WHERE place = "t5" AND country = "united states" |
What player had the position guard/forward? | CREATE TABLE table_name_83 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_83 WHERE position = "guard/forward" |
What is the nationality of the player Tom Boswell? | CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_74 WHERE player = "tom boswell" |
The Position of Centre is what Player? | CREATE TABLE table_name_4 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_4 WHERE position = "centre" |
What party does the incumbent from the Ohio 20 district belong to? | CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1342218_35 WHERE district = "Ohio 20" |
When has a Week of 8? | CREATE TABLE table_name_73 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_73 WHERE week = 8 |
What are the names and types of the companies that have ever operated a flight? | CREATE TABLE operate_company (name VARCHAR, type VARCHAR, id VARCHAR); CREATE TABLE flight (Id VARCHAR) | SELECT T1.name, T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id |
WHich province has an IATA of WNZ? | CREATE TABLE table_name_7 (province VARCHAR, iata VARCHAR) | SELECT province FROM table_name_7 WHERE iata = "wnz" |
If the series is ADAC GT Masters and poles is 1, what is the name of the team? | CREATE TABLE table_22998777_1 (team VARCHAR, poles VARCHAR, series VARCHAR) | SELECT team FROM table_22998777_1 WHERE poles = 1 AND series = "ADAC GT Masters" |
Which regions had a production (bbl/day) of 1,213,000 (21st)? | CREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR) | SELECT region FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)" |
What is the lowest Pick, when Draft is less than 1991, and when Player is "Tom Sasso Category:Articles with hCards"? | CREATE TABLE table_name_7 (pick INTEGER, draft VARCHAR, player VARCHAR) | SELECT MIN(pick) FROM table_name_7 WHERE draft < 1991 AND player = "tom sasso category:articles with hcards" |
Tell me the tournament of 2009 of atp masters series | CREATE TABLE table_name_26 (tournament VARCHAR) | SELECT tournament FROM table_name_26 WHERE 2009 = "atp masters series" |
WHAT SEASON HAD COACH JONAS KAZLAUSKAS AT champions cup group stage? | CREATE TABLE table_name_72 (season VARCHAR, head_coach VARCHAR, europe VARCHAR) | SELECT season FROM table_name_72 WHERE head_coach = "jonas kazlauskas" AND europe = "champions cup group stage" |
What is the year that Hale Irwin won with 285 points? | CREATE TABLE table_name_80 (year_s__won VARCHAR, total VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_80 WHERE total = 285 AND player = "hale irwin" |
How many incumbents had a district of Arkansas 3? | CREATE TABLE table_1342233_5 (incumbent VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_1342233_5 WHERE district = "Arkansas 3" |
What is the highest division for years earlier than 2011? | CREATE TABLE table_name_27 (division INTEGER, year INTEGER) | SELECT MAX(division) FROM table_name_27 WHERE year < 2011 |
What year were the latest elections? | CREATE TABLE table_1341930_10 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1341930_10 |
What team had a high rebound of perkins (9) and a game smaller than 78? | CREATE TABLE table_name_39 (team VARCHAR, game VARCHAR, high_rebounds VARCHAR) | SELECT team FROM table_name_39 WHERE game < 78 AND high_rebounds = "perkins (9)" |
What is the name of the ship sunk by U-305 on 17 March 1943? | CREATE TABLE table_name_84 (name VARCHAR, date VARCHAR, sunk_by VARCHAR) | SELECT name FROM table_name_84 WHERE date = "17 march 1943" AND sunk_by = "u-305" |
What was the latest week that the Tampa Bay Buccaneers were an opponent? | CREATE TABLE table_name_29 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_29 WHERE opponent = "tampa bay buccaneers" |
What company collaborated with non-hodgkin lymphoma? | CREATE TABLE table_name_5 (collaboration VARCHAR, indication VARCHAR) | SELECT collaboration FROM table_name_5 WHERE indication = "non-hodgkin lymphoma" |
What engine was made in 1991? | CREATE TABLE table_name_41 (engine_s_ VARCHAR, year VARCHAR) | SELECT engine_s_ FROM table_name_41 WHERE year = 1991 |
What date was Montreal the visitor? | CREATE TABLE table_name_50 (date VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_50 WHERE visitor = "montreal" |
Find the number of checking accounts for each account name. | CREATE TABLE checking (custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) | SELECT COUNT(*), T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid GROUP BY T1.name |
What was the score when the opposition was sussex in liverpool? | CREATE TABLE table_name_96 (score INTEGER, opposition VARCHAR, city VARCHAR) | SELECT SUM(score) FROM table_name_96 WHERE opposition = "sussex" AND city = "liverpool" |
Which entrant has a year after 1955? | CREATE TABLE table_name_59 (entrant VARCHAR, year INTEGER) | SELECT entrant FROM table_name_59 WHERE year > 1955 |
How many States have an Indian population of 30947? | CREATE TABLE table_10118412_6 (filipino VARCHAR, indian VARCHAR) | SELECT COUNT(filipino) FROM table_10118412_6 WHERE indian = 30947 |
How many touchdowns were scored when QB rating was 82.7? | CREATE TABLE table_20906175_3 (touchdowns INTEGER, qb_rating VARCHAR) | SELECT MAX(touchdowns) FROM table_20906175_3 WHERE qb_rating = "82.7" |
What are the region and population of Angola? | CREATE TABLE country (Population VARCHAR, Region VARCHAR, Name VARCHAR) | SELECT Population, Region FROM country WHERE Name = "Angola" |
What is the first election year listed? | CREATE TABLE table_1341472_20 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_1341472_20 |
What is the fee (if applicable) for Norway? | CREATE TABLE table_25965003_3 (fee__if_applicable_ VARCHAR, countries_and_territories VARCHAR) | SELECT fee__if_applicable_ FROM table_25965003_3 WHERE countries_and_territories = "Norway" |
What is the ranking for the United States when the money is $200? | CREATE TABLE table_name_52 (place VARCHAR, country VARCHAR, money___$__ VARCHAR) | SELECT place FROM table_name_52 WHERE country = "united states" AND money___$__ = "200" |
Which competition with a result of 3-1? | CREATE TABLE table_name_68 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_68 WHERE result = "3-1" |
What is the average events where the rank is smaller than 2 and wins are smaller than 5? | CREATE TABLE table_name_11 (events INTEGER, rank VARCHAR, wins VARCHAR) | SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5 |
Name the opponent for week 12 | CREATE TABLE table_14418812_1 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_14418812_1 WHERE week = 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.