question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What is the smallest production number for the LT series with the Dumb Patrol title? | CREATE TABLE table_name_85 (production_num INTEGER, series VARCHAR, title VARCHAR) | {
"SQL_Query": "SELECT MIN(production_num) FROM table_name_85 WHERE series = \"lt\" AND title = \"dumb patrol\""
} |
What was the average capacity for vélez sársfield? | CREATE TABLE table_name_72 (capacity INTEGER, home_team_s_ VARCHAR) | {
"SQL_Query": "SELECT AVG(capacity) FROM table_name_72 WHERE home_team_s_ = \"vélez sársfield\""
} |
What city was the home team Tigre? | CREATE TABLE table_name_5 (city VARCHAR, home_team_s_ VARCHAR) | {
"SQL_Query": "SELECT city FROM table_name_5 WHERE home_team_s_ = \"tigre\""
} |
What province is in Mendoza with a stadium feliciano gambarte? | CREATE TABLE table_name_72 (province VARCHAR, city VARCHAR, stadium VARCHAR) | {
"SQL_Query": "SELECT province FROM table_name_72 WHERE city = \"mendoza\" AND stadium = \"feliciano gambarte\""
} |
On what date was there a tv time of ABC 8:00pm and after week 9? | CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = \"abc 8:00pm\""
} |
What is total number of years that has genre of first-person shooter? | CREATE TABLE table_name_50 (year INTEGER, genre VARCHAR) | {
"SQL_Query": "SELECT SUM(year) FROM table_name_50 WHERE genre = \"first-person shooter\""
} |
Which year is the lowest for genre of action-adventure? | CREATE TABLE table_name_36 (year INTEGER, genre VARCHAR) | {
"SQL_Query": "SELECT MIN(year) FROM table_name_36 WHERE genre = \"action-adventure\""
} |
what is the "normalized" transliteration for Roman i | CREATE TABLE table_name_9 (roman_equivalent VARCHAR) | {
"SQL_Query": "SELECT \"normalised\" AS _transliteration FROM table_name_9 WHERE roman_equivalent = \"i\""
} |
what is the normal environment of occurrence that has a Proto-Germanic origin /ai/ | CREATE TABLE table_name_86 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR) | {
"SQL_Query": "SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = \"/ai/\""
} |
Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast? | CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT MIN(against) FROM table_name_66 WHERE status = \"tour match\" AND venue = \"ravenhill , belfast\""
} |
Name the average Against that has a Venue of twickenham , london on 25 november 1978? | CREATE TABLE table_name_73 (against INTEGER, venue VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT AVG(against) FROM table_name_73 WHERE venue = \"twickenham , london\" AND date = \"25 november 1978\""
} |
Name the highest Against on 21 november 1978? | CREATE TABLE table_name_30 (against INTEGER, date VARCHAR) | {
"SQL_Query": "SELECT MAX(against) FROM table_name_30 WHERE date = \"21 november 1978\""
} |
Name the Against of Venue of brewery field , bridgend? | CREATE TABLE table_name_31 (against VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT against FROM table_name_31 WHERE venue = \"brewery field , bridgend\""
} |
Name the Status with an Against larger than 15? | CREATE TABLE table_name_98 (status VARCHAR, against INTEGER) | {
"SQL_Query": "SELECT status FROM table_name_98 WHERE against > 15"
} |
Who is the home team when the away team is newcastle united? | CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_16 WHERE away_team = \"newcastle united\""
} |
who is the home team when the away team is wolverhampton wanderers? | CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_20 WHERE away_team = \"wolverhampton wanderers\""
} |
what is the date when the tie no is 9? | CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_46 WHERE tie_no = \"9\""
} |
who is the away team when the tie no is 7? | CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_7 WHERE tie_no = \"7\""
} |
what is the score when the home team is sunderland? | CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_91 WHERE home_team = \"sunderland\""
} |
What is the name of the title that was directed by Friz Freleng and has a production number of 443? | CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR, production_number VARCHAR) | {
"SQL_Query": "SELECT title FROM table_name_81 WHERE director = \"friz freleng\" AND production_number = \"443\""
} |
Which title has a production number of 627? | CREATE TABLE table_name_21 (title VARCHAR, production_number VARCHAR) | {
"SQL_Query": "SELECT title FROM table_name_21 WHERE production_number = \"627\""
} |
what is the film when the year is earlier than 2002 and the category is outstanding actress? | CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR) | {
"SQL_Query": "SELECT film FROM table_name_21 WHERE year < 2002 AND category = \"outstanding actress\""
} |
What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405? | CREATE TABLE table_name_45 (latitude VARCHAR, ansi_code VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR) | {
"SQL_Query": "SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = \"greenland\" AND ansi_code > 1036405"
} |
What is the sum of the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water? | CREATE TABLE table_name_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR) | {
"SQL_Query": "SELECT SUM(land___sqmi__) FROM table_name_36 WHERE ansi_code < 1036538 AND pop__2010_ < 42 AND longitude > -99.442872 AND water__sqmi_ > 0.882"
} |
What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189? | CREATE TABLE table_name_91 (water__sqmi_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, township VARCHAR) | {
"SQL_Query": "SELECT MAX(water__sqmi_) FROM table_name_91 WHERE land___sqmi__ > 33.576 AND township = \"glenila\" AND latitude > 48.832189"
} |
What is the sum of the 2010 population with a latitude greater than 47.710905, a longitude of -101.79876, and less than 35.695 sq mi of land? | CREATE TABLE table_name_64 (pop__2010_ INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR) | {
"SQL_Query": "SELECT SUM(pop__2010_) FROM table_name_64 WHERE latitude > 47.710905 AND longitude = -101.79876 AND land___sqmi__ < 35.695"
} |
What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water? | CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR) | {
"SQL_Query": "SELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973"
} |
Who was the head coach? | CREATE TABLE table_name_19 (name VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_19 WHERE position = \"head coach\""
} |
Who has the alma mater of Dayton ('07), and was in their 1st year at CU? | CREATE TABLE table_name_49 (name VARCHAR, year_at_cu VARCHAR, alma_mater VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_49 WHERE year_at_cu = \"1st\" AND alma_mater = \"dayton ('07)\""
} |
What year at CU is the person in video services with an experience less than 1? | CREATE TABLE table_name_8 (year_at_cu VARCHAR, experience VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT year_at_cu FROM table_name_8 WHERE experience < 1 AND position = \"video services\""
} |
The graduate assistant who was in the 1st year at CU has what experience? | CREATE TABLE table_name_29 (experience VARCHAR, year_at_cu VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT experience FROM table_name_29 WHERE year_at_cu = \"1st\" AND position = \"graduate assistant\""
} |
What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience? | CREATE TABLE table_name_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_86 WHERE experience > 19 AND alma_mater = \"eastern nazarene ('74)\""
} |
What is the total engine capacity of the a4 transmission, which has an urban mpg-US greater than 19, an mpg-us extra-urban greater than 38.6, and an aveo model? | CREATE TABLE table_name_50 (engine_capacity VARCHAR, model VARCHAR, mpg_us_extra_urban VARCHAR, transmission VARCHAR, mpg_us_urban VARCHAR) | {
"SQL_Query": "SELECT COUNT(engine_capacity) FROM table_name_50 WHERE transmission = \"a4\" AND mpg_us_urban > 19 AND mpg_us_extra_urban > 38.6 AND model = \"aveo\""
} |
What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3? | CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR) | {
"SQL_Query": "SELECT MAX(engine_capacity) FROM table_name_25 WHERE manufacturer = \"bmw\" AND mpg_uk_extra_urban = 52.3 AND co_2_g_km = 176 AND mpg_us_urban > 27.3"
} |
What is the mpg-uk combined with an mpg-uk urban (cold) greater than 26.6, a m5 transmission, a diesel fuel type, and an engine capacity less than 1560? | CREATE TABLE table_name_89 (mpg_uk_combined VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_urban__cold_ VARCHAR, transmission VARCHAR) | {
"SQL_Query": "SELECT mpg_uk_combined FROM table_name_89 WHERE mpg_uk_urban__cold_ > 26.6 AND transmission = \"m5\" AND fuel_type = \"diesel\" AND engine_capacity < 1560"
} |
What is the l/100km urban (cold) with a CO 2 g/km less than 222, an mpg-us urban greater than 17.8, an mpg-uk extra-urban of 55.4, and an engine capacity greater than 1560? | CREATE TABLE table_name_24 (l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, mpg_uk_extra_urban VARCHAR, co_2_g_km VARCHAR, mpg_us_urban VARCHAR) | {
"SQL_Query": "SELECT l_100km_urban__cold_ FROM table_name_24 WHERE co_2_g_km < 222 AND mpg_us_urban > 17.8 AND mpg_uk_extra_urban = 55.4 AND engine_capacity > 1560"
} |
What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7? | CREATE TABLE table_name_6 (model VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, green_rating VARCHAR, manufacturer VARCHAR) | {
"SQL_Query": "SELECT model FROM table_name_6 WHERE green_rating = \"g\" AND manufacturer = \"chrysler jeep\" AND l_100km_urban__cold_ < 18 AND mpg_uk_combined = 27.7"
} |
what is the league cup apps when the total goals is less than 2 and the total apps is 12? | CREATE TABLE table_name_54 (league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR) | {
"SQL_Query": "SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = \"12\""
} |
what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3? | CREATE TABLE table_name_96 (fa_cup_goals INTEGER, league_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_apps VARCHAR) | {
"SQL_Query": "SELECT AVG(fa_cup_goals) FROM table_name_96 WHERE league_cup_apps = \"2\" AND fa_cup_apps = \"3\" AND league_goals = 3"
} |
what is the highest fa cup goals when flt goals is more than 0? | CREATE TABLE table_name_96 (fa_cup_goals INTEGER, flt_goals INTEGER) | {
"SQL_Query": "SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0"
} |
what is the total apps when the league apps is 4 (2)? | CREATE TABLE table_name_80 (total_apps VARCHAR, league_apps VARCHAR) | {
"SQL_Query": "SELECT total_apps FROM table_name_80 WHERE league_apps = \"4 (2)\""
} |
How much Silver has a Total larger than 9, and a Gold of 14? | CREATE TABLE table_name_44 (silver VARCHAR, total VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT COUNT(silver) FROM table_name_44 WHERE total > 9 AND gold = 14"
} |
Which Rank has a Total larger than 9, and a Gold larger than 6? | CREATE TABLE table_name_24 (rank VARCHAR, total VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT rank FROM table_name_24 WHERE total > 9 AND gold > 6"
} |
How much Silver has a Rank of 4, and a Bronze smaller than 12? | CREATE TABLE table_name_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT COUNT(silver) FROM table_name_36 WHERE rank = \"4\" AND bronze < 12"
} |
How many bronzes have a Total of 9? | CREATE TABLE table_name_68 (bronze INTEGER, total VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_68 WHERE total = 9"
} |
How much Gold has a Nation of mongolia, and a Total larger than 18? | CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT SUM(gold) FROM table_name_37 WHERE nation = \"mongolia\" AND total > 18"
} |
What is the Lok Sabha for Dravida Munnetra Kazhagam, in 1999-04? | CREATE TABLE table_name_13 (lok_sabha VARCHAR, party_affiliation VARCHAR, duration VARCHAR) | {
"SQL_Query": "SELECT lok_sabha FROM table_name_13 WHERE party_affiliation = \"dravida munnetra kazhagam\" AND duration = \"1999-04\""
} |
What is the duration when Lok Sabha shows fifth? | CREATE TABLE table_name_86 (duration VARCHAR, lok_sabha VARCHAR) | {
"SQL_Query": "SELECT duration FROM table_name_86 WHERE lok_sabha = \"fifth\""
} |
What was the result for the game played on December 20, 1970? | CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_50 WHERE date = \"december 20, 1970\""
} |
What was the result for week 2? | CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_50 WHERE week = 2"
} |
What is the rank of the athletes that have Notes of fb, and a Time of 6:47.30? | CREATE TABLE table_name_36 (rank INTEGER, notes VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT SUM(rank) FROM table_name_36 WHERE notes = \"fb\" AND time = \"6:47.30\""
} |
What is the least rank for athletes with a time of 6:36.65? | CREATE TABLE table_name_80 (rank INTEGER, time VARCHAR) | {
"SQL_Query": "SELECT MIN(rank) FROM table_name_80 WHERE time = \"6:36.65\""
} |
What is the average react for a rank more than 8? | CREATE TABLE table_name_36 (react INTEGER, rank INTEGER) | {
"SQL_Query": "SELECT AVG(react) FROM table_name_36 WHERE rank > 8"
} |
What is the highest rank for the react of 0.198, and the time more than 20.42? | CREATE TABLE table_name_4 (rank INTEGER, react VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT MAX(rank) FROM table_name_4 WHERE react = 0.198 AND time > 20.42"
} |
What is the sum of time with a lane larger than 6, a nationality of canada, and the react smaller than 0.151? | CREATE TABLE table_name_70 (time INTEGER, react VARCHAR, lane VARCHAR, nationality VARCHAR) | {
"SQL_Query": "SELECT SUM(time) FROM table_name_70 WHERE lane > 6 AND nationality = \"canada\" AND react < 0.151"
} |
What human gene has a yeast ortholog of RAD26? | CREATE TABLE table_name_41 (human_gene__protein_ VARCHAR, yeast_ortholog VARCHAR) | {
"SQL_Query": "SELECT human_gene__protein_ FROM table_name_41 WHERE yeast_ortholog = \"rad26\""
} |
What is the human gene that has a mouse ortholog of LIG1? | CREATE TABLE table_name_27 (human_gene__protein_ VARCHAR, mouse_ortholog VARCHAR) | {
"SQL_Query": "SELECT human_gene__protein_ FROM table_name_27 WHERE mouse_ortholog = \"lig1\""
} |
What is the yeast ortholog that has a subpathway of GGR and GeneCards entry CETN2? | CREATE TABLE table_name_19 (yeast_ortholog VARCHAR, subpathway VARCHAR, genecards_entry VARCHAR) | {
"SQL_Query": "SELECT yeast_ortholog FROM table_name_19 WHERE subpathway = \"ggr\" AND genecards_entry = \"cetn2\""
} |
What is the yeast ortholog of mouse ortholog MMS19? | CREATE TABLE table_name_18 (yeast_ortholog VARCHAR, mouse_ortholog VARCHAR) | {
"SQL_Query": "SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = \"mms19\""
} |
What is the Tournament against Vladimir Zednik? | CREATE TABLE table_name_67 (tournament VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_67 WHERE opponent = \"vladimir zednik\""
} |
What Tournament had a Score of 4–6, 6–7, 3–6? | CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_95 WHERE score = \"4–6, 6–7, 3–6\""
} |
What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up? | CREATE TABLE table_name_68 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_68 WHERE outcome = \"runner-up\" AND opponent = \"tim gullikson\""
} |
What is the Doha, Qatar when the snatch is total? | CREATE TABLE table_name_17 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR) | {
"SQL_Query": "SELECT doha_, _qatar FROM table_name_17 WHERE snatch = \"total\""
} |
What is the Doha, Qatar when the snatch is clean & jerk? | CREATE TABLE table_name_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR) | {
"SQL_Query": "SELECT doha_, _qatar FROM table_name_93 WHERE snatch = \"clean & jerk\""
} |
How many Points have a Name of stephen myler, and Tries smaller than 0? | CREATE TABLE table_name_3 (points INTEGER, name VARCHAR, tries VARCHAR) | {
"SQL_Query": "SELECT SUM(points) FROM table_name_3 WHERE name = \"stephen myler\" AND tries < 0"
} |
What is the pick number for New Mexico? | CREATE TABLE table_name_34 (pick INTEGER, college VARCHAR) | {
"SQL_Query": "SELECT AVG(pick) FROM table_name_34 WHERE college = \"new mexico\""
} |
What player is from the Denver Broncos? | CREATE TABLE table_name_43 (player VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_43 WHERE team = \"denver broncos\""
} |
Which college has their team as the New York Jets? | CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT college FROM table_name_38 WHERE team = \"new york jets\""
} |
What is the Constituency Number of Total:? | CREATE TABLE table_name_73 (constituency_number VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT constituency_number FROM table_name_73 WHERE name = \"total:\""
} |
Which District is Constituency number 22? | CREATE TABLE table_name_43 (district VARCHAR, constituency_number VARCHAR) | {
"SQL_Query": "SELECT district FROM table_name_43 WHERE constituency_number = \"22\""
} |
What is the lowest number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11? | CREATE TABLE table_name_85 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) | {
"SQL_Query": "SELECT MIN(number_of_electorates__2003_) FROM table_name_85 WHERE district = \"bhind\" AND reserved_for___sc___st__none_ = \"none\" AND constituency_number = \"11\""
} |
What school/club had pick 33? | CREATE TABLE table_name_31 (school_club_team VARCHAR, pick VARCHAR) | {
"SQL_Query": "SELECT school_club_team FROM table_name_31 WHERE pick = 33"
} |
What attendance has October 16, 2005 as the date? | CREATE TABLE table_name_81 (attendance VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT attendance FROM table_name_81 WHERE date = \"october 16, 2005\""
} |
What result has a week less than 16, and October 31, 2005 as the date? | CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_25 WHERE week < 16 AND date = \"october 31, 2005\""
} |
Which Year has a Manager of bobby dews, and Playoffs of lost in 1st round? | CREATE TABLE table_name_37 (year INTEGER, manager VARCHAR, playoffs VARCHAR) | {
"SQL_Query": "SELECT MIN(year) FROM table_name_37 WHERE manager = \"bobby dews\" AND playoffs = \"lost in 1st round\""
} |
How many years have a Record of 73-65? | CREATE TABLE table_name_74 (year VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT COUNT(year) FROM table_name_74 WHERE record = \"73-65\""
} |
Which Record has a Year larger than 1974, and a Finish of 3rd? | CREATE TABLE table_name_33 (record VARCHAR, year VARCHAR, finish VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_33 WHERE year > 1974 AND finish = \"3rd\""
} |
Which Song of the Year was 42 on the UK charts prior to 1994? | CREATE TABLE table_name_14 (song VARCHAR, year VARCHAR, uk_chart VARCHAR) | {
"SQL_Query": "SELECT song FROM table_name_14 WHERE year < 1994 AND uk_chart = \"42\""
} |
Where did Scott Fitzgerald rank on the UK charts? | CREATE TABLE table_name_84 (uk_chart VARCHAR, artist VARCHAR) | {
"SQL_Query": "SELECT uk_chart FROM table_name_84 WHERE artist = \"scott fitzgerald\""
} |
Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts? | CREATE TABLE table_name_33 (uk_chart VARCHAR, artist VARCHAR, year VARCHAR, at_eurovision VARCHAR) | {
"SQL_Query": "SELECT uk_chart FROM table_name_33 WHERE year > 1961 AND at_eurovision = \"2nd\" AND artist = \"michael ball\""
} |
What is the 3rd day result for years under 2012 and a finish position of 33rd? | CREATE TABLE table_name_65 (year VARCHAR, finish_position VARCHAR) | {
"SQL_Query": "SELECT 3 AS rd_day FROM table_name_65 WHERE year < 2012 AND finish_position = \"33rd\""
} |
For the vessel with a listed In service of 1, what is the origin given? | CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR) | {
"SQL_Query": "SELECT origin FROM table_name_57 WHERE in_service = 1"
} |
What is the lowest listed In service for a vessel of xavery czernicki class? | CREATE TABLE table_name_71 (in_service INTEGER, vessel VARCHAR) | {
"SQL_Query": "SELECT MIN(in_service) FROM table_name_71 WHERE vessel = \"xavery czernicki class\""
} |
Which vessel has a type of logistic support? | CREATE TABLE table_name_72 (vessel VARCHAR, type VARCHAR) | {
"SQL_Query": "SELECT vessel FROM table_name_72 WHERE type = \"logistic support\""
} |
What is the type for a vessel of lublin class? | CREATE TABLE table_name_77 (type VARCHAR, vessel VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_77 WHERE vessel = \"lublin class\""
} |
What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron? | CREATE TABLE table_name_37 (in_service INTEGER, unit VARCHAR) | {
"SQL_Query": "SELECT MAX(in_service) FROM table_name_37 WHERE unit = \"12th minesweeper squadron\""
} |
What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)? | CREATE TABLE table_name_49 (type VARCHAR, unit VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_49 WHERE unit = \"naval base swinoujscie (auxiliary squadron)\""
} |
Which rider was on the 600cc Yamaha team? | CREATE TABLE table_name_44 (rider VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT rider FROM table_name_44 WHERE team = \"600cc yamaha\""
} |
What was John Hildreth's speed? | CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR) | {
"SQL_Query": "SELECT speed FROM table_name_55 WHERE rider = \"john hildreth\""
} |
What is the average draw number of an entrant with a time of 22:29? | CREATE TABLE table_name_29 (draw INTEGER, time VARCHAR) | {
"SQL_Query": "SELECT AVG(draw) FROM table_name_29 WHERE time = \"22:29\""
} |
What is Mark Henry's brand? | CREATE TABLE table_name_28 (brand VARCHAR, entrant VARCHAR) | {
"SQL_Query": "SELECT brand FROM table_name_28 WHERE entrant = \"mark henry\""
} |
Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking? | CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR) | {
"SQL_Query": "SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = \"35\" AND countries_sampled > 100"
} |
How many countries sampled has a world ranking of 33 in 2010 and less than 3 ranking in Latin America? | CREATE TABLE table_name_71 (countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR) | {
"SQL_Query": "SELECT SUM(countries_sampled) FROM table_name_71 WHERE year_of_publication = \"2010\" AND world_ranking__1_ = \"33\" AND ranking_in_latin_america__2_ < 3"
} |
What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America? | CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR) | {
"SQL_Query": "SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = \"2011\" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142"
} |
What home team has a tie no of 20? | CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_44 WHERE tie_no = \"20\""
} |
What date was the score 3–3, and away team was Barnet? | CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_96 WHERE score = \"3–3\" AND away_team = \"barnet\""
} |
What is the Tie no when Wimbledon is the home team? | CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT tie_no FROM table_name_12 WHERE home_team = \"wimbledon\""
} |
What is the score when the Tie no is replay, and the away team is York City? | CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_43 WHERE tie_no = \"replay\" AND away_team = \"york city\""
} |
What is the Tie no when Chester is the away team? | CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT tie_no FROM table_name_83 WHERE away_team = \"chester\""
} |
What is the broadcast date of the episode with 9.65 million viewers? | CREATE TABLE table_name_39 (broadcast_date VARCHAR, viewership__millions_ VARCHAR) | {
"SQL_Query": "SELECT broadcast_date FROM table_name_39 WHERE viewership__millions_ = 9.65"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.