question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Which state contains the University of Iowa in the mideast region? | CREATE TABLE table_name_67 (state VARCHAR, region VARCHAR, host VARCHAR) | SELECT state FROM table_name_67 WHERE region = "mideast" AND host = "university of iowa" |
How many field goals had 597 points? | CREATE TABLE table_24915964_4 (field_goals VARCHAR, points VARCHAR) | SELECT COUNT(field_goals) FROM table_24915964_4 WHERE points = 597 |
When 12743 is the spelthorne what is the largest gore hundred? | CREATE TABLE table_16677738_1 (gore_hundred INTEGER, spelthorne_hundred VARCHAR) | SELECT MAX(gore_hundred) FROM table_16677738_1 WHERE spelthorne_hundred = 12743 |
Game site of candlestick park had what opponent? | CREATE TABLE table_name_57 (opponent VARCHAR, game_site VARCHAR) | SELECT opponent FROM table_name_57 WHERE game_site = "candlestick park" |
What is the highest position of the team with an against of 12, less than 11 points, more than 2 drawn, and more than 9 played? | CREATE TABLE table_name_24 (position INTEGER, played VARCHAR, drawn VARCHAR, against VARCHAR, points VARCHAR) | SELECT MAX(position) FROM table_name_24 WHERE against = 12 AND points < 11 AND drawn > 2 AND played > 9 |
What is the bleeding time for glanzmann's thrombasthenia? | CREATE TABLE table_238124_1 (bleeding_time VARCHAR, condition VARCHAR) | SELECT bleeding_time FROM table_238124_1 WHERE condition = "Glanzmann's thrombasthenia" |
In what Country/Territory did Jason Keatly win Mr. Gay Internatnional? | CREATE TABLE table_name_89 (country_territory VARCHAR, mr_gay_international VARCHAR) | SELECT country_territory FROM table_name_89 WHERE mr_gay_international = "jason keatly" |
What is the number of 2011 passengers in millions that have traveled a distance of 1271km? | CREATE TABLE table_name_37 (distance VARCHAR) | SELECT 2011 AS _passengers__in_millions_ FROM table_name_37 WHERE distance = "1271km" |
Name the lowest Founded with the Name cougars? | CREATE TABLE table_name_42 (founded INTEGER, nickname VARCHAR) | SELECT MIN(founded) FROM table_name_42 WHERE nickname = "cougars" |
What was the tail number of the aircraft that had 5/30 fatalities? | CREATE TABLE table_name_86 (tail_number VARCHAR, fatalities VARCHAR) | SELECT tail_number FROM table_name_86 WHERE fatalities = "5/30" |
What Set 2 has a set one at 19:21? | CREATE TABLE table_name_3 (set_2 VARCHAR, set_1 VARCHAR) | SELECT set_2 FROM table_name_3 WHERE set_1 = "19:21" |
What was the manner of departure for the outgoing manager, davide ballardini? | CREATE TABLE table_name_92 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_name_92 WHERE outgoing_manager = "davide ballardini" |
Which Location has a Date of 1931-02-02? | CREATE TABLE table_name_44 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_44 WHERE date = "1931-02-02" |
How many ends lost for Alberta when stolen ends are greater than 7? | CREATE TABLE table_name_62 (ends_lost INTEGER, province VARCHAR, stolen_ends VARCHAR) | SELECT SUM(ends_lost) FROM table_name_62 WHERE province = "alberta" AND stolen_ends > 7 |
Name the least top-10 for cuts made less than 11 and wins more than 0 | CREATE TABLE table_name_10 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR) | SELECT MIN(top_10) FROM table_name_10 WHERE cuts_made < 11 AND wins > 0 |
What were the totals when the average is 6.25? | CREATE TABLE table_28628309_6 (totals VARCHAR, average VARCHAR) | SELECT totals FROM table_28628309_6 WHERE average = "6.25" |
What home team had an attendance record of 16,971? | CREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_68 WHERE attendance = "16,971" |
What is the 2011 with 1r in 2010? | CREATE TABLE table_name_32 (Id VARCHAR) | SELECT 2011 FROM table_name_32 WHERE 2010 = "1r" |
Who directed the episode written by Dan Serafin and aired on July 23, 2008? | CREATE TABLE table_name_52 (directed_by VARCHAR, written_by VARCHAR, original_airdate VARCHAR) | SELECT directed_by FROM table_name_52 WHERE written_by = "dan serafin" AND original_airdate = "july 23, 2008" |
Who had the high points in the game @ Charlotte? | CREATE TABLE table_name_98 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_name_98 WHERE team = "@ charlotte" |
What couple had a total score of 6? | CREATE TABLE table_19744915_15 (couple VARCHAR, total VARCHAR) | SELECT couple FROM table_19744915_15 WHERE total = 6 |
WHAT IS THE 2008 WITH TOURNAMENT OF WIN-LOSS, AND 2005 A? | CREATE TABLE table_name_84 (tournament VARCHAR) | SELECT 2008 FROM table_name_84 WHERE tournament = "win-loss" AND 2005 = "a" |
What is the sum number of evening gown stats for New Jersey when the interview was less than 9.344? | CREATE TABLE table_name_80 (evening_gown VARCHAR, state VARCHAR, interview VARCHAR) | SELECT COUNT(evening_gown) FROM table_name_80 WHERE state = "new jersey" AND interview < 9.344 |
What is the record after the game on Feb 10? | CREATE TABLE table_name_89 (record VARCHAR, february VARCHAR) | SELECT record FROM table_name_89 WHERE february = 10 |
Who is the captain of Dave Jones' team? | CREATE TABLE table_26593762_2 (team VARCHAR, manager VARCHAR) | SELECT team AS captain FROM table_26593762_2 WHERE manager = "Dave Jones" |
What home team plays at victoria park? | CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_4 WHERE venue = "victoria park" |
What is Record, when Opponent is San Francisco Warriors? | CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_78 WHERE opponent = "san francisco warriors" |
What is the number of gold when the silver is 1, bronze is 1, and the nation is Austria? | CREATE TABLE table_name_4 (gold VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_4 WHERE silver = 1 AND bronze = 1 AND nation = "austria" |
Who had the high assists for game number 38? | CREATE TABLE table_27734286_7 (high_assists VARCHAR, game VARCHAR) | SELECT high_assists FROM table_27734286_7 WHERE game = 38 |
Which Opponent has a Date of september 20, 1992? | CREATE TABLE table_name_92 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_92 WHERE date = "september 20, 1992" |
which Total has a Score points of 11? | CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR) | SELECT total FROM table_name_13 WHERE score_points = "11" |
How few laps were finished in 17? | CREATE TABLE table_name_48 (laps INTEGER, finish VARCHAR) | SELECT MIN(laps) FROM table_name_48 WHERE finish = "17" |
Find the name of the person who has no student friends. | CREATE TABLE Person (name VARCHAR, job VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE person (name VARCHAR) | SELECT name FROM person EXCEPT SELECT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.job = 'student' |
What identities do the genus/species arabidopsis thaliana have? | CREATE TABLE table_15417439_1 (identity VARCHAR, genus_species VARCHAR) | SELECT identity FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana" |
Where did Hawthorn play as the home team? | CREATE TABLE table_name_41 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_41 WHERE home_team = "hawthorn" |
Which party was elected first in 1998? | CREATE TABLE table_1805191_34 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1805191_34 WHERE first_elected = 1998 |
What year did the Grizzlies play for the UNLV team? | CREATE TABLE table_name_81 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_81 WHERE school_club_team = "unlv" |
What is the Poor Law Union for Coolkirky? | CREATE TABLE table_30120633_1 (poor_law_union VARCHAR, townland VARCHAR) | SELECT poor_law_union FROM table_30120633_1 WHERE townland = "Coolkirky" |
How tall is the contestant from Honduras? | CREATE TABLE table_20754016_2 (height__ft_ VARCHAR, country VARCHAR) | SELECT height__ft_ FROM table_20754016_2 WHERE country = "Honduras" |
Who won in 1997 with a finish of t48? | CREATE TABLE table_name_47 (player VARCHAR, finish VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_47 WHERE finish = "t48" AND year_s__won = "1997" |
If the Indians are 8.2%, what is the salary range? | CREATE TABLE table_27257896_2 (salary_range VARCHAR, indians VARCHAR) | SELECT salary_range FROM table_27257896_2 WHERE indians = "8.2%" |
What is Player, when Country is "United States", when Money ( $ ) is greater than 387, and when Score is "75-74-74-70=293"? | CREATE TABLE table_name_56 (player VARCHAR, country VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT player FROM table_name_56 WHERE country = "united states" AND money___$__ > 387 AND score = 75 - 74 - 74 - 70 = 293 |
When did the playoffs reached Conference Finals? | CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR) | SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals" |
What is the Team of Winner Mark Skaife in ATCC Round 7? | CREATE TABLE table_name_82 (team VARCHAR, winner VARCHAR, series VARCHAR) | SELECT team FROM table_name_82 WHERE winner = "mark skaife" AND series = "atcc round 7" |
What amount of earnings corresponds with a Top 10s rank of 23? | CREATE TABLE table_name_7 (earnings___$__ VARCHAR, top_10s VARCHAR) | SELECT earnings___$__ FROM table_name_7 WHERE top_10s = 23 |
Who was the opponent on week 5? | CREATE TABLE table_name_4 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_4 WHERE week = "5" |
What is minimum age for different job title? | CREATE TABLE Person (job VARCHAR, age INTEGER) | SELECT MIN(age), job FROM Person GROUP BY job |
What is the highest flap for class 500 cc? | CREATE TABLE table_name_5 (flap INTEGER, class VARCHAR) | SELECT MAX(flap) FROM table_name_5 WHERE class = "500 cc" |
How many rank entries are there when new points are 1155? | CREATE TABLE table_29572583_19 (rank VARCHAR, new_points VARCHAR) | SELECT COUNT(rank) FROM table_29572583_19 WHERE new_points = 1155 |
How many laps were driven in 2009? | CREATE TABLE table_2175858_1 (laps VARCHAR, year VARCHAR) | SELECT laps FROM table_2175858_1 WHERE year = 2009 |
What is 2004, when 2008 is "WTA Premier 5 Tournaments"? | CREATE TABLE table_name_19 (Id VARCHAR) | SELECT 2004 FROM table_name_19 WHERE 2008 = "wta premier 5 tournaments" |
Bernhard Langer maximum total was what? | CREATE TABLE table_name_27 (total INTEGER, player VARCHAR) | SELECT MAX(total) FROM table_name_27 WHERE player = "bernhard langer" |
What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2? | CREATE TABLE table_name_54 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT MIN(total) FROM table_name_54 WHERE rank > 2 AND bronze = 1 AND silver > 0 AND gold < 0 |
What county has an IHSAA Football Class of A, and a Mascot of royals? | CREATE TABLE table_name_36 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_36 WHERE ihsaa_football_class = "a" AND mascot = "royals" |
Who was the away team when the home team was Norwich City? | CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_83 WHERE home_team = "norwich city" |
Which SANSKRT has a CHINESE of 摩拏羅 / mónáluó? | CREATE TABLE table_name_76 (sanskrt VARCHAR, chinese VARCHAR) | SELECT sanskrt FROM table_name_76 WHERE chinese = "摩拏羅 / mónáluó" |
What is the number for gold where there were total 1, and bronze 1? | CREATE TABLE table_name_86 (gold VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_86 WHERE total = 1 AND bronze = 1 |
What is the round in Finland with a draw for method? | CREATE TABLE table_name_32 (round VARCHAR, location VARCHAR, method VARCHAR) | SELECT round FROM table_name_32 WHERE location = "finland" AND method = "draw" |
The hanja 朔州 is for what province? | CREATE TABLE table_160510_1 (province VARCHAR, hanja VARCHAR) | SELECT province FROM table_160510_1 WHERE hanja = "朔州" |
Which document type is described with the prefix 'Initial'? | CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR) | SELECT document_type_code FROM Document_Types WHERE document_description LIKE 'Initial%' |
What is the original artist of top 9 as the week number? | CREATE TABLE table_name_88 (original_artist VARCHAR, week__number VARCHAR) | SELECT original_artist FROM table_name_88 WHERE week__number = "top 9" |
How many episodes had the us viewers (millions) figure of 5.0? | CREATE TABLE table_21312959_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(no_in_season) FROM table_21312959_1 WHERE us_viewers__millions_ = "5.0" |
What year has a result of 3 in the venue of Jarama. | CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR) | SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama" |
Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.42%? | CREATE TABLE table_name_3 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR) | SELECT vote_to_save FROM table_name_3 WHERE eviction_no < 14 AND vote_to_evict = "5.42%" |
What is the result F-A on 5 August 1990? | CREATE TABLE table_name_70 (result_f___a VARCHAR, date VARCHAR) | SELECT result_f___a FROM table_name_70 WHERE date = "5 august 1990" |
Who was the away team in the semifinals? | CREATE TABLE table_name_34 (away VARCHAR, round VARCHAR) | SELECT away FROM table_name_34 WHERE round = "semifinals" |
What was the average money when the score was 74-72-75-71=292? | CREATE TABLE table_name_82 (money___ INTEGER, score VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_82 WHERE score = 74 - 72 - 75 - 71 = 292 |
What is them two (the two) when we two is ngalbelpa? | CREATE TABLE table_1015914_24 (them_two__the_two_ VARCHAR, we_two VARCHAR) | SELECT them_two__the_two_ FROM table_1015914_24 WHERE we_two = "ngalbelpa" |
Who are the opponents in district California 9? | CREATE TABLE table_1341568_6 (opponent VARCHAR, district VARCHAR) | SELECT opponent FROM table_1341568_6 WHERE district = "California 9" |
What was the score when Sydney Spirit was the home team? | CREATE TABLE table_name_41 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_41 WHERE home_team = "sydney spirit" |
What was the total number when the vote percentage was 44.8%? | CREATE TABLE table_26375386_23 (total VARCHAR, vote_percentage VARCHAR) | SELECT COUNT(total) FROM table_26375386_23 WHERE vote_percentage = "44.8%" |
Name the studio host for glenn ordway and jerry sichting with year of 1993-94 | CREATE TABLE table_name_91 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, color_commentator_s_ VARCHAR) | SELECT studio_host FROM table_name_91 WHERE play_by_play = "glenn ordway" AND color_commentator_s_ = "jerry sichting" AND year = "1993-94" |
What is the home port of m40? | CREATE TABLE table_name_62 (home_port VARCHAR, pennant VARCHAR) | SELECT home_port FROM table_name_62 WHERE pennant = "m40" |
What is the tally in Kilkenny county with 10 as the total and opposition of Waterford? | CREATE TABLE table_name_44 (tally VARCHAR, opposition VARCHAR, county VARCHAR, total VARCHAR) | SELECT tally FROM table_name_44 WHERE county = "kilkenny" AND total = 10 AND opposition = "waterford" |
Find the year that has the most number of matches. | CREATE TABLE matches (YEAR VARCHAR) | SELECT YEAR FROM matches GROUP BY YEAR ORDER BY COUNT(*) DESC LIMIT 1 |
Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1? | CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR) | SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1 |
What is the club or province of Girvan Dempsey, who has 74 caps? | CREATE TABLE table_name_3 (club_province VARCHAR, caps VARCHAR, player VARCHAR) | SELECT club_province FROM table_name_3 WHERE caps = 74 AND player = "girvan dempsey" |
Name what was completed on 12 april 1934 | CREATE TABLE table_name_28 (completed VARCHAR, launched VARCHAR) | SELECT completed FROM table_name_28 WHERE launched = "12 april 1934" |
Name for me the total number in attendance for week before 2 and result of t 24-24 | CREATE TABLE table_name_60 (attendance VARCHAR, result VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_60 WHERE result = "t 24-24" AND week < 2 |
What was the result of the race that had a group of G1 at Moonee Valley? | CREATE TABLE table_name_20 (result VARCHAR, group VARCHAR, venue VARCHAR) | SELECT result FROM table_name_20 WHERE group = "g1" AND venue = "moonee valley" |
Who is the manufacturer of the mini jet red baron ride that opened before 2001? | CREATE TABLE table_name_33 (manufacture VARCHAR, opened_in VARCHAR, type VARCHAR) | SELECT manufacture FROM table_name_33 WHERE opened_in < 2001 AND type = "mini jet red baron" |
Which Result has a Venue of A, and an Opponent of manchester united? | CREATE TABLE table_name_96 (result VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_96 WHERE venue = "a" AND opponent = "manchester united" |
On december 16, 1985, all the records were what? | CREATE TABLE table_10647639_1 (record VARCHAR, date VARCHAR) | SELECT record FROM table_10647639_1 WHERE date = "December 16, 1985" |
Which position at UCLA has a lower than 92 pick number? | CREATE TABLE table_name_27 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_27 WHERE pick < 92 AND school_club_team = "ucla" |
Find the schools that were either founded after 1850 or public. | CREATE TABLE university (school VARCHAR, founded VARCHAR, affiliation VARCHAR) | SELECT school FROM university WHERE founded > 1850 OR affiliation = 'Public' |
What position does Ed Stokes hold? | CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_87 WHERE player = "ed stokes" |
What is the debut album for the artist with the winning song kemenangan hati? | CREATE TABLE table_1646960_3 (debut_album VARCHAR, winning_song VARCHAR) | SELECT debut_album FROM table_1646960_3 WHERE winning_song = "Kemenangan Hati" |
List three countries which are the origins of the least players. | CREATE TABLE player (birth_country VARCHAR) | SELECT birth_country FROM player GROUP BY birth_country ORDER BY COUNT(*) LIMIT 3 |
What market rank and city had the station KABC-TV? | CREATE TABLE table_22329326_1 (market_rank_ VARCHAR, _city_of_license__market VARCHAR, station VARCHAR) | SELECT market_rank_ & _city_of_license__market FROM table_22329326_1 WHERE station = "KABC-TV" |
What is every entry for Latin when Catalan is Mar? | CREATE TABLE table_25401_15 (latin VARCHAR, catalan VARCHAR) | SELECT latin FROM table_25401_15 WHERE catalan = "mar" |
What position(s) drafted by the montreal alouettes? | CREATE TABLE table_20170644_5 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_20170644_5 WHERE cfl_team = "Montreal Alouettes" |
Which type is a satellite of GPS IIIA-2? | CREATE TABLE table_name_54 (type VARCHAR, satellite VARCHAR) | SELECT type FROM table_name_54 WHERE satellite = "gps iiia-2" |
In what Borough is the History Type Fairbanks Community Museum? | CREATE TABLE table_name_82 (borough VARCHAR, type VARCHAR, name VARCHAR) | SELECT borough FROM table_name_82 WHERE type = "history" AND name = "fairbanks community museum" |
Which club had more than 2 FA trophies and more than 2 FA cups? | CREATE TABLE table_name_34 (club VARCHAR, fa_trophy VARCHAR, fa_cup VARCHAR) | SELECT club FROM table_name_34 WHERE fa_trophy > 2 AND fa_cup > 2 |
What was the position in 2010 with team notes? | CREATE TABLE table_name_90 (position VARCHAR, year VARCHAR, notes VARCHAR) | SELECT position FROM table_name_90 WHERE year = 2010 AND notes = "team" |
what is the points for when the played is 22 and tries against is 68? | CREATE TABLE table_12828723_4 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR) | SELECT points_for FROM table_12828723_4 WHERE played = "22" AND tries_against = "68" |
Which Score has a Result of 0 – 2? | CREATE TABLE table_name_81 (score VARCHAR, result VARCHAR) | SELECT score FROM table_name_81 WHERE result = "0 – 2" |
Which location led to a 10-3 record? | CREATE TABLE table_name_73 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_73 WHERE record = "10-3" |
Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks. | CREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR) | SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC |
What was the earliest year with a note of 18.04 m wl? | CREATE TABLE table_name_48 (year INTEGER, notes VARCHAR) | SELECT MIN(year) FROM table_name_48 WHERE notes = "18.04 m wl" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.