question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Name the october for july of kimberley stanfield | CREATE TABLE table_name_71 (october VARCHAR, july VARCHAR) | SELECT october FROM table_name_71 WHERE july = "kimberley stanfield" |
What is Score, when Country is "United States", when Place is "T3", and when Player is "Phil Blackmar"? | CREATE TABLE table_name_10 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT score FROM table_name_10 WHERE country = "united states" AND place = "t3" AND player = "phil blackmar" |
What is the hometown for the player that is defensive back and went to alabama? | CREATE TABLE table_name_20 (hometown VARCHAR, position VARCHAR, college VARCHAR) | SELECT hometown FROM table_name_20 WHERE position = "defensive back" AND college = "alabama" |
Which tournament resulted in 6th place? | CREATE TABLE table_name_48 (tournament VARCHAR, result VARCHAR) | SELECT tournament FROM table_name_48 WHERE result = "6th" |
Name the m r romaja for kwanbuk | CREATE TABLE table_160510_5 (m_r_romaja VARCHAR, region VARCHAR) | SELECT m_r_romaja FROM table_160510_5 WHERE region = "Kwanbuk" |
what is the hometown for mike ladd? | CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR) | SELECT hometown FROM table_29598261_1 WHERE name = "Mike Ladd" |
What is the lowest poles that have 0 as a win, 0 as the top 5, with 66th as the postion? | CREATE TABLE table_name_61 (poles INTEGER, position VARCHAR, wins VARCHAR, top_5 VARCHAR) | SELECT MIN(poles) FROM table_name_61 WHERE wins = 0 AND top_5 = 0 AND position = "66th" |
How many games were against the los angeles rams? | CREATE TABLE table_15984957_2 (game INTEGER, opponent VARCHAR) | SELECT MIN(game) FROM table_15984957_2 WHERE opponent = "Los Angeles Rams" |
when is the hire date for those employees whose first name does not containing the letter M? | CREATE TABLE employees (hire_date VARCHAR, first_name VARCHAR) | SELECT hire_date FROM employees WHERE NOT first_name LIKE '%M%' |
What years had the decile smaller than 8 in the area of southbrook? | CREATE TABLE table_name_13 (years VARCHAR, decile VARCHAR, area VARCHAR) | SELECT years FROM table_name_13 WHERE decile < 8 AND area = "southbrook" |
What was the area in km2 in 2011 for the Narsingdi District? | CREATE TABLE table_24027047_1 (area__km²__2011 VARCHAR, administrative_division VARCHAR) | SELECT area__km²__2011 * * FROM table_24027047_1 WHERE administrative_division = "Narsingdi District" |
What was the finishing place for 1953? | CREATE TABLE table_name_95 (finish VARCHAR, year VARCHAR) | SELECT finish FROM table_name_95 WHERE year = "1953" |
Name the FCC info for call sign of kpcc | CREATE TABLE table_name_67 (fcc_info VARCHAR, call_sign VARCHAR) | SELECT fcc_info FROM table_name_67 WHERE call_sign = "kpcc" |
What home has 122-28 as the score? | CREATE TABLE table_name_96 (home VARCHAR, score VARCHAR) | SELECT home FROM table_name_96 WHERE score = "122-28" |
Goldfields Obuasi Team 1 has what Agg. totals ? | CREATE TABLE table_name_95 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi" |
how many people won in 1914 | CREATE TABLE table_1342359_17 (district VARCHAR, first_elected VARCHAR) | SELECT COUNT(district) FROM table_1342359_17 WHERE first_elected = 1914 |
How many points did Joe O'Meara have? | CREATE TABLE table_name_93 (points VARCHAR, artist VARCHAR) | SELECT COUNT(points) FROM table_name_93 WHERE artist = "joe o'meara" |
How many laps did gunnar nilsson drive? | CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR) | SELECT SUM(laps) FROM table_name_69 WHERE driver = "gunnar nilsson" |
What is the amount of assists when mins is 744:27? | CREATE TABLE table_20107762_1 (assists VARCHAR, mins VARCHAR) | SELECT assists FROM table_20107762_1 WHERE mins = "744:27" |
Which year was the 100 m event played in Thessaloniki, Greece? | CREATE TABLE table_name_93 (year INTEGER, event VARCHAR, venue VARCHAR) | SELECT MIN(year) FROM table_name_93 WHERE event = "100 m" AND venue = "thessaloniki, greece" |
Games started of 4 is in what hometown? | CREATE TABLE table_name_79 (hometown VARCHAR, games_started VARCHAR) | SELECT hometown FROM table_name_79 WHERE games_started = "4" |
What Venue held the World Race Walking Cup tourney before 2008? | CREATE TABLE table_name_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT venue FROM table_name_69 WHERE year < 2008 AND tournament = "world race walking cup" |
WHICH State/country that has ray roberts? | CREATE TABLE table_name_43 (state_country VARCHAR, skipper VARCHAR) | SELECT state_country FROM table_name_43 WHERE skipper = "ray roberts" |
What party did Don Fuqua belong to? | CREATE TABLE table_1341865_11 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341865_11 WHERE incumbent = "Don Fuqua" |
Who published Weird War Tales? | CREATE TABLE table_name_13 (publisher VARCHAR, title VARCHAR) | SELECT publisher FROM table_name_13 WHERE title = "weird war tales" |
What is the lowest number of games played for deportivo español? | CREATE TABLE table_14460085_3 (played INTEGER, team VARCHAR) | SELECT MIN(played) FROM table_14460085_3 WHERE team = "Deportivo Español" |
Who was the opponent at Baum Stadium on April 6? | CREATE TABLE table_name_90 (opponent VARCHAR, site_stadium VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_90 WHERE site_stadium = "baum stadium" AND date = "april 6" |
When 5 is the l what is the lowest amount of stolen ends? | CREATE TABLE table_29565541_2 (stolen_ends INTEGER, l VARCHAR) | SELECT MIN(stolen_ends) FROM table_29565541_2 WHERE l = 5 |
Name the loss for the angels opponent | CREATE TABLE table_name_10 (loss VARCHAR, opponent VARCHAR) | SELECT loss FROM table_name_10 WHERE opponent = "angels" |
What is the role code with the largest number of employees? | CREATE TABLE Employees (role_code VARCHAR) | SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1 |
What is the lowest elevation value whose highest point is Mont Raimeux? | CREATE TABLE table_name_62 (lowest_elevation VARCHAR, highest_point VARCHAR) | SELECT lowest_elevation FROM table_name_62 WHERE highest_point = "mont raimeux" |
Which Surface has a Result of fernando verdasco? | CREATE TABLE table_name_10 (surface VARCHAR, result VARCHAR) | SELECT surface FROM table_name_10 WHERE result = "fernando verdasco" |
What is Michael's surname? | CREATE TABLE table_name_16 (surname VARCHAR, first VARCHAR) | SELECT surname FROM table_name_16 WHERE first = "michael" |
In which year was the Pick #46? | CREATE TABLE table_name_9 (draft VARCHAR, pick VARCHAR) | SELECT draft FROM table_name_9 WHERE pick = "46" |
Which class has *fraus as Part 2? | CREATE TABLE table_name_59 (class VARCHAR, part_2 VARCHAR) | SELECT class FROM table_name_59 WHERE part_2 = "*fraus" |
What Car Model has the Manufacturer of Saab, and Driver Dean Randle? | CREATE TABLE table_name_35 (car_model VARCHAR, manufacturer VARCHAR, driver VARCHAR) | SELECT car_model FROM table_name_35 WHERE manufacturer = "saab" AND driver = "dean randle" |
What is the lowest number of silver medals for a nation with fewer than 1 total medals? | CREATE TABLE table_name_1 (silver INTEGER, total INTEGER) | SELECT MIN(silver) FROM table_name_1 WHERE total < 1 |
How many teams did they play week 6 | CREATE TABLE table_11391448_2 (opponent VARCHAR, week VARCHAR) | SELECT COUNT(opponent) FROM table_11391448_2 WHERE week = 6 |
Find the first name and last name and department id for those employees who earn such amount of salary which is the smallest salary of any of the departments. | CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR, salary INTEGER) | SELECT first_name, last_name, department_id FROM employees WHERE salary IN (SELECT MIN(salary) FROM employees GROUP BY department_id) |
What is the pick for West Virginia college? | CREATE TABLE table_name_91 (pick VARCHAR, college VARCHAR) | SELECT pick FROM table_name_91 WHERE college = "west virginia" |
What is the City in the Maldives? | CREATE TABLE table_name_77 (city VARCHAR, country VARCHAR) | SELECT city FROM table_name_77 WHERE country = "maldives" |
What's the HC for the Euro I standard? | CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, standard VARCHAR) | SELECT hc__g_kwh_ FROM table_2780146_6 WHERE standard = "Euro I" |
What year and the corresponding ceremony was the english titled movie "time out" submitted? | CREATE TABLE table_22102732_1 (year__ceremony_ VARCHAR, english_title VARCHAR) | SELECT year__ceremony_ FROM table_22102732_1 WHERE english_title = "Time Out" |
What is the calling at for the 09.50 departure? | CREATE TABLE table_18332845_2 (calling_at VARCHAR, departure VARCHAR) | SELECT calling_at FROM table_18332845_2 WHERE departure = "09.50" |
Which class City of license of ferrum, virginia? | CREATE TABLE table_name_83 (class VARCHAR, city_of_license VARCHAR) | SELECT class FROM table_name_83 WHERE city_of_license = "ferrum, virginia" |
How many games are played for all football games by students on scholarship? | CREATE TABLE Sportsinfo (gamesplayed INTEGER, sportname VARCHAR, onscholarship VARCHAR) | SELECT SUM(gamesplayed) FROM Sportsinfo WHERE sportname = "Football" AND onscholarship = 'Y' |
What is the length of the track located in Taylorville, Illinois? | CREATE TABLE table_name_33 (length VARCHAR, location VARCHAR) | SELECT length FROM table_name_33 WHERE location = "taylorville, illinois" |
What is the date of the tournament played in Madrid, Spain? | CREATE TABLE table_name_90 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_90 WHERE tournament = "madrid, spain" |
What source gave 26% of the votes to Brian Moran? | CREATE TABLE table_21535453_1 (source VARCHAR, brian_moran VARCHAR) | SELECT source FROM table_21535453_1 WHERE brian_moran = "26%" |
Who is the opponent in the final of the match on 26 March 2006? | CREATE TABLE table_name_49 (opponent_in_the_final VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_49 WHERE date = "26 march 2006" |
Can you tell me the Record that has the Home of detroit, and the Visitor of phoenix? | CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_59 WHERE home = "detroit" AND visitor = "phoenix" |
Which Time has a Lane smaller than 2, and a Nationality of spain? | CREATE TABLE table_name_73 (time VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT time FROM table_name_73 WHERE lane < 2 AND nationality = "spain" |
How many partners were there in 1988? | CREATE TABLE table_1399994_5 (partner VARCHAR, year VARCHAR) | SELECT COUNT(partner) FROM table_1399994_5 WHERE year = "1988" |
What is the largest number in attendance at H venue opposing Liverpool with a result of D? | CREATE TABLE table_name_40 (attendance INTEGER, opponents VARCHAR, venue VARCHAR, result VARCHAR) | SELECT MAX(attendance) FROM table_name_40 WHERE venue = "h" AND result = "d" AND opponents = "liverpool" |
What was the average year when shri. shambu nath khajuria won the padma shri awards? | CREATE TABLE table_name_44 (year INTEGER, name VARCHAR) | SELECT AVG(year) FROM table_name_44 WHERE name = "shri. shambu nath khajuria" |
How many gold medals when the total is more than 1 and 18 silver? | CREATE TABLE table_name_80 (gold INTEGER, total VARCHAR, silver VARCHAR) | SELECT MIN(gold) FROM table_name_80 WHERE total > 1 AND silver = 18 |
Which Video has a Channel smaller than 35.66, and a Programming of nhk world? | CREATE TABLE table_name_1 (video VARCHAR, channel VARCHAR, programming VARCHAR) | SELECT video FROM table_name_1 WHERE channel < 35.66 AND programming = "nhk world" |
What is the model that was made in the years 2011 2012-? | CREATE TABLE table_name_27 (model VARCHAR, years VARCHAR) | SELECT model FROM table_name_27 WHERE years = "2011 2012-" |
What is the start date with Luke Jacobz hosting and Dannii Minogue as a winning mentor? | CREATE TABLE table_name_16 (start VARCHAR, main_host VARCHAR, winning_mentor VARCHAR) | SELECT start FROM table_name_16 WHERE main_host = "luke jacobz" AND winning_mentor = "dannii minogue" |
What was the margin of victory in the tournament with a winning score of −3 (74-68-72-71=285)? | CREATE TABLE table_name_60 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_60 WHERE winning_score = −3(74 - 68 - 72 - 71 = 285) |
Which player who weighs 210 plays for the Reno Bighorns? | CREATE TABLE table_name_68 (player VARCHAR, weight VARCHAR, team VARCHAR) | SELECT player FROM table_name_68 WHERE weight = 210 AND team = "reno bighorns" |
Who directed the episode with production code 4akj08? | CREATE TABLE table_19929970_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_19929970_1 WHERE production_code = "4AKJ08" |
What is the total Until when the Titles was 5? | CREATE TABLE table_name_80 (until INTEGER, titles VARCHAR) | SELECT SUM(until) FROM table_name_80 WHERE titles = "5" |
How many attended on march 1? | CREATE TABLE table_name_19 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_19 WHERE date = "march 1" |
Which Margin of victory has a Runner(s)-up of mark o'meara? | CREATE TABLE table_name_19 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_19 WHERE runner_s__up = "mark o'meara" |
Which Surface has a Partner of oliver marach? | CREATE TABLE table_name_82 (surface VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_82 WHERE partner = "oliver marach" |
What is the home team for punt road oval? | CREATE TABLE table_name_38 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_38 WHERE venue = "punt road oval" |
What is the result of the game that was played at Soldier Field? | CREATE TABLE table_name_90 (result VARCHAR, game_site VARCHAR) | SELECT result FROM table_name_90 WHERE game_site = "soldier field" |
What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas? | CREATE TABLE table_name_68 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) | SELECT erp_w FROM table_name_68 WHERE frequency_mhz > 89.5 AND city_of_license = "washburn, texas" |
How many games did they lose when they tied less than 2 games? | CREATE TABLE table_name_39 (lost VARCHAR, draw INTEGER) | SELECT lost FROM table_name_39 WHERE draw < 2 |
What is the number for the moment of intertia in torsion (j) (cm 4) for the 4.7 web thickness (mm)? | CREATE TABLE table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ VARCHAR, web_thickness__mm_ VARCHAR) | SELECT COUNT(moment_of_inertia_in_torsion__j___cm_4__) FROM table_2071644_1 WHERE web_thickness__mm_ = "4.7" |
Tell me the director nominated for best actor in a leading role | CREATE TABLE table_name_73 (director VARCHAR, nomination VARCHAR) | SELECT director FROM table_name_73 WHERE nomination = "best actor in a leading role" |
Which ehtinc group consists of 93% muslims? | CREATE TABLE table_name_58 (ethnic_group VARCHAR, muslims VARCHAR) | SELECT ethnic_group FROM table_name_58 WHERE muslims = "93%" |
How many games did Palmeiras win? | CREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR) | SELECT MAX(won) FROM table_15318779_1 WHERE team = "Palmeiras" |
What is High Assists, when High Points is "T. J. Ford (29)"? | CREATE TABLE table_name_76 (high_assists VARCHAR, high_points VARCHAR) | SELECT high_assists FROM table_name_76 WHERE high_points = "t. j. ford (29)" |
What is the date of appointment when the date of vacancy is 15 march 2011? | CREATE TABLE table_26998135_2 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) | SELECT date_of_appointment FROM table_26998135_2 WHERE date_of_vacancy = "15 March 2011" |
Where the fastest lap is Mike Rockenfeller, who is the winning driver? | CREATE TABLE table_26267607_2 (winning_driver VARCHAR, fastest_lap VARCHAR) | SELECT winning_driver FROM table_26267607_2 WHERE fastest_lap = "Mike Rockenfeller" |
What is the fleet number with a 4-6-0 wheel arrangement made in 1890? | CREATE TABLE table_name_94 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) | SELECT fleet_number_s_ FROM table_name_94 WHERE wheel_arrangement = "4-6-0" AND year_made = "1890" |
Who was the winning team before 1956 on October 21? | CREATE TABLE table_name_43 (winner VARCHAR, year VARCHAR, date VARCHAR) | SELECT winner FROM table_name_43 WHERE year < 1956 AND date = "october 21" |
What is the average year that has a final Tour position of 54 and a final Vuelta position over 55? | CREATE TABLE table_name_67 (year INTEGER, final_position___tour VARCHAR, final_position___vuelta VARCHAR) | SELECT AVG(year) FROM table_name_67 WHERE final_position___tour = 54 AND final_position___vuelta > 55 |
Show storm name with at least two regions and 10 cities affected. | CREATE TABLE affected_region (storm_id VARCHAR, number_city_affected INTEGER); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) | SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING COUNT(*) >= 2 INTERSECT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING SUM(T2.number_city_affected) >= 10 |
When us open (2) is the championship what is the surface? | CREATE TABLE table_24901152_2 (surface VARCHAR, championship VARCHAR) | SELECT surface FROM table_24901152_2 WHERE championship = "US Open (2)" |
What enrollement would you expect if you were attending the university in St. Louis? | CREATE TABLE table_2076463_2 (enrollment VARCHAR, location_s_ VARCHAR) | SELECT enrollment FROM table_2076463_2 WHERE location_s_ = "St. Louis" |
How many bronzes did netherlands win? | CREATE TABLE table_name_9 (bronze VARCHAR, nation VARCHAR) | SELECT bronze FROM table_name_9 WHERE nation = "netherlands" |
What was the total attendance at a game against the Pittsburgh Steelers before week 4? | CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "pittsburgh steelers" AND week < 4 |
Which party had a member from the state of Vic and an Electorate called Wannon? | CREATE TABLE table_name_23 (party VARCHAR, state VARCHAR, electorate VARCHAR) | SELECT party FROM table_name_23 WHERE state = "vic" AND electorate = "wannon" |
Which Athlete has a Run 1 larger than 57.37, and a Run 4 smaller than 59.05, and a Run 3 of 58.08? | CREATE TABLE table_name_15 (athlete VARCHAR, run_3 VARCHAR, run_1 VARCHAR, run_4 VARCHAR) | SELECT athlete FROM table_name_15 WHERE run_1 > 57.37 AND run_4 < 59.05 AND run_3 = 58.08 |
What is the number of games for Roger Merrett? | CREATE TABLE table_name_39 (games VARCHAR, player VARCHAR) | SELECT games FROM table_name_39 WHERE player = "roger merrett" |
What is the position of the Colorado Rapids team? | CREATE TABLE table_name_38 (position VARCHAR, mls_team VARCHAR) | SELECT position FROM table_name_38 WHERE mls_team = "colorado rapids" |
What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre? | CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT result FROM table_name_32 WHERE competition = "2006 fifa world cup qualifier" AND venue = "warner park sporting complex, bassaterre" |
What is the start of lap 55? | CREATE TABLE table_name_18 (start VARCHAR, laps VARCHAR) | SELECT start FROM table_name_18 WHERE laps = 55 |
What is the margin of victory in a semgroup championship? | CREATE TABLE table_name_39 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_39 WHERE tournament = "semgroup championship" |
Name the Club which has a Founded larger than 1875, and a Sport of football? | CREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR) | SELECT club FROM table_name_73 WHERE founded > 1875 AND sport = "football" |
The venue of Brunswick Street Oval was used on what date? | CREATE TABLE table_name_53 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_53 WHERE venue = "brunswick street oval" |
Rank smaller than 5, and a Time larger than 10.7, and a Date of 10 july 2009 has what location? | CREATE TABLE table_name_37 (location VARCHAR, date VARCHAR, rank VARCHAR, time VARCHAR) | SELECT location FROM table_name_37 WHERE rank < 5 AND time > 10.7 AND date = "10 july 2009" |
On how many dates was the complete 4th series released? | CREATE TABLE table_17798548_4 (date_released VARCHAR, season VARCHAR) | SELECT COUNT(date_released) FROM table_17798548_4 WHERE season = "The Complete 4th Series" |
What is the Name of the power station in the Field of Mokai? | CREATE TABLE table_name_22 (name VARCHAR, field VARCHAR) | SELECT name FROM table_name_22 WHERE field = "mokai" |
What is the score of the game against away team queens park rangers on 23 january 1982? | CREATE TABLE table_name_63 (score VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_63 WHERE date = "23 january 1982" AND away_team = "queens park rangers" |
Who is the away side when st kilda is the home side? | CREATE TABLE table_name_59 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_59 WHERE home_team = "st kilda" |
What is the total number of Rating(s), when Weekly Rank is 76/88? | CREATE TABLE table_name_7 (rating VARCHAR, weekly_rank VARCHAR) | SELECT COUNT(rating) FROM table_name_7 WHERE weekly_rank = "76/88" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.