question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What boat was laid down on 25 april 1887? | CREATE TABLE table_name_26 (name VARCHAR, laid_down VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_26 WHERE laid_down = \"25 april 1887\""
} |
When did chatham complete the Hmsmedusa? | CREATE TABLE table_name_91 (completed VARCHAR, builder VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT completed FROM table_name_91 WHERE builder = \"chatham\" AND name = \"hmsmedusa\""
} |
What is the Overall with a Date that is february 4, 1964? | CREATE TABLE table_name_95 (overall VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT overall FROM table_name_95 WHERE date = \"february 4, 1964\""
} |
What is the Date with an Opponent that is indiana state college? | CREATE TABLE table_name_71 (date VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_71 WHERE opponent = \"indiana state college\""
} |
What is the Location with a Date that is december 10, 1963? | CREATE TABLE table_name_11 (location VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_11 WHERE date = \"december 10, 1963\""
} |
What is NiCd, when Type is "Capacity under 500mA constant Drain"? | CREATE TABLE table_name_23 (nicd VARCHAR, type VARCHAR) | {
"SQL_Query": "SELECT nicd FROM table_name_23 WHERE type = \"capacity under 500ma constant drain\""
} |
What is Li-FeS 2, when Type is Nominal Voltage? | CREATE TABLE table_name_9 (li_fes_2 VARCHAR, type VARCHAR) | {
"SQL_Query": "SELECT li_fes_2 FROM table_name_9 WHERE type = \"nominal voltage\""
} |
What was the Liberal Party result from the election having a Conservative Party result of 16 (-1) and Labour of 6 (+2)? | CREATE TABLE table_name_97 (liberal_party VARCHAR, conservative_party VARCHAR, labour_party VARCHAR) | {
"SQL_Query": "SELECT liberal_party FROM table_name_97 WHERE conservative_party = \"16 (-1)\" AND labour_party = \"6 (+2)\""
} |
What was the control for the year with a Conservative Party result of 10 (+5)? | CREATE TABLE table_name_70 (control VARCHAR, conservative_party VARCHAR) | {
"SQL_Query": "SELECT control FROM table_name_70 WHERE conservative_party = \"10 (+5)\""
} |
Who was in control the year that Labour Party won 12 (+6) seats? | CREATE TABLE table_name_36 (control VARCHAR, labour_party VARCHAR) | {
"SQL_Query": "SELECT control FROM table_name_36 WHERE labour_party = \"12 (+6)\""
} |
What is the number of Independents elected in the year Labour won 26 (+3) seats? | CREATE TABLE table_name_73 (independents VARCHAR, labour_party VARCHAR) | {
"SQL_Query": "SELECT independents FROM table_name_73 WHERE labour_party = \"26 (+3)\""
} |
What is the set 5 for the game with a set 2 of 21-25 and a set 1 of 41633? | CREATE TABLE table_name_62 (set_5 VARCHAR, set_2 VARCHAR, set_1 VARCHAR) | {
"SQL_Query": "SELECT set_5 FROM table_name_62 WHERE set_2 = \"21-25\" AND set_1 = \"41633\""
} |
What is the result of the game with a set 1 of 26-24? | CREATE TABLE table_name_17 (result__pts_ VARCHAR, set_1 VARCHAR) | {
"SQL_Query": "SELECT result__pts_ FROM table_name_17 WHERE set_1 = \"26-24\""
} |
Which Altadeña has a Aprende of jaguars? | CREATE TABLE table_name_83 (altadeña VARCHAR, aprende VARCHAR) | {
"SQL_Query": "SELECT altadeña FROM table_name_83 WHERE aprende = \"jaguars\""
} |
WHich kind of Aprende has a Centennial of 1988? | CREATE TABLE table_name_35 (aprende VARCHAR, centennial VARCHAR) | {
"SQL_Query": "SELECT aprende FROM table_name_35 WHERE centennial = \"1988\""
} |
Which Centennial has a Altadeña of panthers? | CREATE TABLE table_name_4 (centennial VARCHAR, altadeña VARCHAR) | {
"SQL_Query": "SELECT centennial FROM table_name_4 WHERE altadeña = \"panthers\""
} |
Which Centennial has a del Pueblo of 1986? | CREATE TABLE table_name_40 (centennial VARCHAR, del_pueblo VARCHAR) | {
"SQL_Query": "SELECT centennial FROM table_name_40 WHERE del_pueblo = \"1986\""
} |
What kind of Altadeña has del Pueblo of maroon/gray? | CREATE TABLE table_name_45 (altadeña VARCHAR, del_pueblo VARCHAR) | {
"SQL_Query": "SELECT altadeña FROM table_name_45 WHERE del_pueblo = \"maroon/gray\""
} |
How many people attended the game against Clemson? | CREATE TABLE table_name_34 (attendance VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT COUNT(attendance) FROM table_name_34 WHERE opponent = \"clemson\""
} |
Who's the Runner(s)-up with a Winning score of −19 (71-63-63-64=261)? | CREATE TABLE table_name_97 (runner_s__up VARCHAR, winning_score VARCHAR) | {
"SQL_Query": "SELECT runner_s__up FROM table_name_97 WHERE winning_score = −19(71 - 63 - 63 - 64 = 261)"
} |
Which Date has a Runner(s)-up of fred funk? | CREATE TABLE table_name_55 (date VARCHAR, runner_s__up VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_55 WHERE runner_s__up = \"fred funk\""
} |
Which Tournament has a Date of jul 14, 2013? | CREATE TABLE table_name_6 (tournament VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_6 WHERE date = \"jul 14, 2013\""
} |
Which Margin of victory has a Tournament of u.s. senior open? | CREATE TABLE table_name_34 (margin_of_victory VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT margin_of_victory FROM table_name_34 WHERE tournament = \"u.s. senior open\""
} |
Which Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t championship? | CREATE TABLE table_name_3 (date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_3 WHERE runner_s__up = \"bernhard langer\" AND tournament = \"at&t championship\""
} |
Which Date has a Margin of victory of 5 strokes, and a Winning score of −13 (67-73-64-63=267)? | CREATE TABLE table_name_33 (date VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_33 WHERE margin_of_victory = \"5 strokes\" AND winning_score = −13(67 - 73 - 64 - 63 = 267)"
} |
What is the Population density that has a Change (%) higher than 10.4, and a Population (2011) less than 8574, in the County of Queens? | CREATE TABLE table_name_63 (population_density INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, county VARCHAR) | {
"SQL_Query": "SELECT AVG(population_density) FROM table_name_63 WHERE change___percentage_ > 10.4 AND county = \"queens\" AND population__2011_ < 8574"
} |
What was the Population (2011) when the Population (2006) was less than 7083, and the Population density less than 342.8, and the Change (%) of 5, and an Area (km²) larger than 4.5? | CREATE TABLE table_name_2 (population__2011_ VARCHAR, area__km²_ VARCHAR, change___percentage_ VARCHAR, population__2006_ VARCHAR, population_density VARCHAR) | {
"SQL_Query": "SELECT COUNT(population__2011_) FROM table_name_2 WHERE population__2006_ < 7083 AND population_density < 342.8 AND change___percentage_ = 5 AND area__km²_ > 4.5"
} |
What was the Area (km²) when the Population (2011) was 8574, and the Population density was larger than 381.4? | CREATE TABLE table_name_21 (area__km²_ INTEGER, population__2011_ VARCHAR, population_density VARCHAR) | {
"SQL_Query": "SELECT AVG(area__km²_) FROM table_name_21 WHERE population__2011_ = 8574 AND population_density > 381.4"
} |
In the County of Prince, what was the highest Population density when the Area (km²) was larger than 3.02, and the Population (2006) was larger than 786, and the Population (2011) was smaller than 1135? | CREATE TABLE table_name_93 (population_density INTEGER, population__2011_ VARCHAR, population__2006_ VARCHAR, county VARCHAR, area__km²_ VARCHAR) | {
"SQL_Query": "SELECT MAX(population_density) FROM table_name_93 WHERE county = \"prince\" AND area__km²_ > 3.02 AND population__2006_ > 786 AND population__2011_ < 1135"
} |
What is the lowest Against when the played is more than 10? | CREATE TABLE table_name_4 (against INTEGER, played INTEGER) | {
"SQL_Query": "SELECT MIN(against) FROM table_name_4 WHERE played > 10"
} |
What is the sum of Against when the lost is more than 7? | CREATE TABLE table_name_45 (against INTEGER, lost INTEGER) | {
"SQL_Query": "SELECT SUM(against) FROM table_name_45 WHERE lost > 7"
} |
What is the highest Drawn when the lost is 7 and the points are more than 4, and the against is less than 22? | CREATE TABLE table_name_12 (drawn INTEGER, against VARCHAR, lost VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT MAX(drawn) FROM table_name_12 WHERE lost = 7 AND points > 4 AND against < 22"
} |
What team has an against more than 8, lost of 7, and the position is 5? | CREATE TABLE table_name_13 (team VARCHAR, position VARCHAR, against VARCHAR, lost VARCHAR) | {
"SQL_Query": "SELECT team FROM table_name_13 WHERE against > 8 AND lost = 7 AND position = 5"
} |
What is the Against when the drawn is 5? | CREATE TABLE table_name_21 (against VARCHAR, drawn VARCHAR) | {
"SQL_Query": "SELECT against FROM table_name_21 WHERE drawn = 5"
} |
How many years were there for the 62nd golden globe awards? | CREATE TABLE table_name_29 (year INTEGER, awards VARCHAR) | {
"SQL_Query": "SELECT SUM(year) FROM table_name_29 WHERE awards = \"62nd golden globe awards\""
} |
What was the result for years prior to 2005? | CREATE TABLE table_name_83 (result VARCHAR, year INTEGER) | {
"SQL_Query": "SELECT result FROM table_name_83 WHERE year < 2005"
} |
Which awards happened more recently than 2005? | CREATE TABLE table_name_33 (awards VARCHAR, year INTEGER) | {
"SQL_Query": "SELECT awards FROM table_name_33 WHERE year > 2005"
} |
What is the total years with average runs less than 4.75 and a time of 14.26? | CREATE TABLE table_name_8 (year VARCHAR, time VARCHAR, avg_run VARCHAR) | {
"SQL_Query": "SELECT COUNT(year) FROM table_name_8 WHERE time = 14.26 AND avg_run < 4.75"
} |
What is the total amount of time for years prior to 2013 when speed option is the stage? | CREATE TABLE table_name_25 (time INTEGER, stage VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT SUM(time) FROM table_name_25 WHERE stage = \"speed option\" AND year < 2013"
} |
What was the prior position held by Wyman Webb? | CREATE TABLE table_name_1 (prior_position VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT prior_position FROM table_name_1 WHERE name = \"wyman webb\""
} |
Who was appointed on October 21, 2011 from Quebec? | CREATE TABLE table_name_31 (name VARCHAR, province VARCHAR, appointed VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_31 WHERE province = \"quebec\" AND appointed = \"october 21, 2011\""
} |
The Away High Park Demons was which Ground? | CREATE TABLE table_name_83 (ground VARCHAR, away VARCHAR) | {
"SQL_Query": "SELECT ground FROM table_name_83 WHERE away = \"high park demons\""
} |
With the Ground of Humber College North at 12:00, what was the Away? | CREATE TABLE table_name_69 (away VARCHAR, ground VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT away FROM table_name_69 WHERE ground = \"humber college north\" AND time = \"12:00\""
} |
Who has the Home Score of 52-54? | CREATE TABLE table_name_76 (home VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT home FROM table_name_76 WHERE score = \"52-54\""
} |
When did the High Park Demons play Away? | CREATE TABLE table_name_64 (date VARCHAR, away VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_64 WHERE away = \"high park demons\""
} |
What tournament that Fernando Roca is the runner-up? | CREATE TABLE table_name_14 (tournament VARCHAR, runner_s__up VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_14 WHERE runner_s__up = \"fernando roca\""
} |
What is the winning score for the runner-up Ernie Els? | CREATE TABLE table_name_7 (winning_score VARCHAR, runner_s__up VARCHAR) | {
"SQL_Query": "SELECT winning_score FROM table_name_7 WHERE runner_s__up = \"ernie els\""
} |
How many people attended when Wake Forest played Virginia Tech? | CREATE TABLE table_name_21 (attendance INTEGER, opponent VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_21 WHERE opponent = \"virginia tech\""
} |
What is Country, when Television Service is Eurosport 2? | CREATE TABLE table_name_50 (country VARCHAR, television_service VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_50 WHERE television_service = \"eurosport 2\""
} |
What is Package/Option, when Content is Poker? | CREATE TABLE table_name_3 (package_option VARCHAR, content VARCHAR) | {
"SQL_Query": "SELECT package_option FROM table_name_3 WHERE content = \"poker\""
} |
What is Language, when Content is Sport, when HDTV is No, and when Television Service is ESPN America? | CREATE TABLE table_name_71 (language VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR) | {
"SQL_Query": "SELECT language FROM table_name_71 WHERE content = \"sport\" AND hdtv = \"no\" AND television_service = \"espn america\""
} |
What is Package/Option, when Content is Tennis? | CREATE TABLE table_name_3 (package_option VARCHAR, content VARCHAR) | {
"SQL_Query": "SELECT package_option FROM table_name_3 WHERE content = \"tennis\""
} |
What is Television Service, when Content is Calcio, and when Package/Option is Option? | CREATE TABLE table_name_5 (television_service VARCHAR, content VARCHAR, package_option VARCHAR) | {
"SQL_Query": "SELECT television_service FROM table_name_5 WHERE content = \"calcio\" AND package_option = \"option\""
} |
What is the Novelty of the dinosaur that was named by the Author, Zhiming, and whose Notes are, "carcharodontosaurid"? | CREATE TABLE table_name_46 (novelty VARCHAR, authors VARCHAR, notes VARCHAR) | {
"SQL_Query": "SELECT novelty FROM table_name_46 WHERE authors = \"zhiming\" AND notes = \"carcharodontosaurid\""
} |
What is the Name of the dinosaur that was discovered in the Location, China, and whose Notes are, "described from a single tooth"? | CREATE TABLE table_name_63 (name VARCHAR, location VARCHAR, notes VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_63 WHERE location = \"china\" AND notes = \"described from a single tooth\""
} |
What is the Name of the dinosaur, whose notes are, "n ornithischia of uncertain placement"? | CREATE TABLE table_name_22 (name VARCHAR, notes VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_22 WHERE notes = \"n ornithischia of uncertain placement\""
} |
What is the Status of the dinosaur, whose notes are, "n coelurosauria"? | CREATE TABLE table_name_73 (status VARCHAR, notes VARCHAR) | {
"SQL_Query": "SELECT status FROM table_name_73 WHERE notes = \"n coelurosauria\""
} |
What are the Notes of the dinosaur, whose Status is nomen dubium, and whose Location is China? | CREATE TABLE table_name_26 (notes VARCHAR, status VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT notes FROM table_name_26 WHERE status = \"nomen dubium\" AND location = \"china\""
} |
What is the Novelty of the dinosaur, whose naming Author was Galton? | CREATE TABLE table_name_37 (novelty VARCHAR, authors VARCHAR) | {
"SQL_Query": "SELECT novelty FROM table_name_37 WHERE authors = \"galton\""
} |
What is the number listed under against when there were less than 13 losses and less than 2 byes? | CREATE TABLE table_name_72 (against VARCHAR, losses VARCHAR, byes VARCHAR) | {
"SQL_Query": "SELECT COUNT(against) FROM table_name_72 WHERE losses < 13 AND byes < 2"
} |
What is the highest number listed under against when there were 15 losses and more than 1 win? | CREATE TABLE table_name_97 (against INTEGER, losses VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT MAX(against) FROM table_name_97 WHERE losses = 15 AND wins > 1"
} |
What is the average number of Byes when there were less than 0 losses and were against 1247? | CREATE TABLE table_name_75 (byes INTEGER, against VARCHAR, draws VARCHAR) | {
"SQL_Query": "SELECT AVG(byes) FROM table_name_75 WHERE against = 1247 AND draws < 0"
} |
What is the highest number listed under against when there were less than 3 wins and less than 15 losses? | CREATE TABLE table_name_20 (against INTEGER, wins VARCHAR, losses VARCHAR) | {
"SQL_Query": "SELECT MAX(against) FROM table_name_20 WHERE wins < 3 AND losses < 15"
} |
What is the average public debt % of GDP in 2013 Q1 of the country with a member slate sorted by GDP of Czech Republic and a GDP per capita in PPP US dollars in 2012 greater than 27,191? | CREATE TABLE table_name_7 (public_debt__percentage_of_gdp__2013_q1_ INTEGER, member_state_sorted_by_gdp VARCHAR, gdp_per_capita_in_ppp_us$__2012_ VARCHAR) | {
"SQL_Query": "SELECT AVG(public_debt__percentage_of_gdp__2013_q1_) FROM table_name_7 WHERE member_state_sorted_by_gdp = \"czech republic\" AND gdp_per_capita_in_ppp_us$__2012_ > 27 OFFSET 191"
} |
What is the largest inflation % annual in 2012 of the country with a public debt % of GDP in 2013 Q1 greater than 88.2 and a GDP % of EU in 2012 of 2.9%? | CREATE TABLE table_name_74 (inflation__percentage_annual__2012_ INTEGER, public_debt__percentage_of_gdp__2013_q1_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR) | {
"SQL_Query": "SELECT MAX(inflation__percentage_annual__2012_) FROM table_name_74 WHERE public_debt__percentage_of_gdp__2013_q1_ > 88.2 AND gdp__percentage_of_eu__2012_ = \"2.9%\""
} |
What is the GDP % of EU in 2012 of the country with a GDP in billions of USD in 2012 of 256.3? | CREATE TABLE table_name_19 (gdp__percentage_of_eu__2012_ VARCHAR, gdp_in_s_billion_of_usd__2012_ VARCHAR) | {
"SQL_Query": "SELECT gdp__percentage_of_eu__2012_ FROM table_name_19 WHERE gdp_in_s_billion_of_usd__2012_ = 256.3"
} |
What is the Chord with a Major that is third of e? | CREATE TABLE table_name_69 (chord VARCHAR, major_third VARCHAR) | {
"SQL_Query": "SELECT chord FROM table_name_69 WHERE major_third = \"e\""
} |
What is the Chord with a Minor that is seventh of f? | CREATE TABLE table_name_73 (chord VARCHAR, minor_seventh VARCHAR) | {
"SQL_Query": "SELECT chord FROM table_name_73 WHERE minor_seventh = \"f\""
} |
What is the Major third with a Perfect fifth that is d? | CREATE TABLE table_name_20 (major_third VARCHAR, perfect_fifth VARCHAR) | {
"SQL_Query": "SELECT major_third FROM table_name_20 WHERE perfect_fifth = \"d\""
} |
What is the Perfect fifth with a Minor that is seventh of d? | CREATE TABLE table_name_48 (perfect_fifth VARCHAR, minor_seventh VARCHAR) | {
"SQL_Query": "SELECT perfect_fifth FROM table_name_48 WHERE minor_seventh = \"d\""
} |
Where was the game, and how many attended the game on january 2? | CREATE TABLE table_name_69 (location_attendance VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_69 WHERE date = \"january 2\""
} |
What is the Location and Attendance with a Record of 21–22? | CREATE TABLE table_name_16 (location_attendance VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_16 WHERE record = \"21–22\""
} |
What was the date of the game against North Carolina? | CREATE TABLE table_name_10 (date VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_10 WHERE opponent = \"north carolina\""
} |
How many FG percent values are associated with 59 assists and offensive rebounds under 40? | CREATE TABLE table_name_21 (fg_pct VARCHAR, asst VARCHAR, off_reb VARCHAR) | {
"SQL_Query": "SELECT COUNT(fg_pct) FROM table_name_21 WHERE asst = 59 AND off_reb < 40"
} |
What is the total number of offensive rebounds for players with under 65 total rebounds, 5 defensive rebounds, and under 7 assists? | CREATE TABLE table_name_8 (off_reb VARCHAR, asst VARCHAR, total_reb VARCHAR, def_reb VARCHAR) | {
"SQL_Query": "SELECT COUNT(off_reb) FROM table_name_8 WHERE total_reb < 65 AND def_reb = 5 AND asst < 7"
} |
Which Round has a Competition of uefa cup, and a Series of 5–2? | CREATE TABLE table_name_34 (round VARCHAR, competition VARCHAR, series VARCHAR) | {
"SQL_Query": "SELECT round FROM table_name_34 WHERE competition = \"uefa cup\" AND series = \"5–2\""
} |
Which Series has a Home of 2–0, and an Opponent of panathinaikos? | CREATE TABLE table_name_96 (series VARCHAR, home VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT series FROM table_name_96 WHERE home = \"2–0\" AND opponent = \"panathinaikos\""
} |
Which Home has a Competition of european cup, and a Round of qf? | CREATE TABLE table_name_70 (home VARCHAR, competition VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT home FROM table_name_70 WHERE competition = \"european cup\" AND round = \"qf\""
} |
Which Season has an Opponent of hibernians? | CREATE TABLE table_name_4 (season VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_4 WHERE opponent = \"hibernians\""
} |
Which Opponent has an Away of 1–1, and a Home of 3–3? | CREATE TABLE table_name_25 (opponent VARCHAR, away VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_25 WHERE away = \"1–1\" AND home = \"3–3\""
} |
Which Home has a Round of r1, and an Opponent of dundee united? | CREATE TABLE table_name_72 (home VARCHAR, round VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT home FROM table_name_72 WHERE round = \"r1\" AND opponent = \"dundee united\""
} |
What is the set 2 the has 1 set of 21-25, and 4 sets of 25-20? | CREATE TABLE table_name_17 (set_2 VARCHAR, set_1 VARCHAR, set_4 VARCHAR) | {
"SQL_Query": "SELECT set_2 FROM table_name_17 WHERE set_1 = \"21-25\" AND set_4 = \"25-20\""
} |
What is Domenik Hixon's average rush? | CREATE TABLE table_name_76 (avg VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT avg FROM table_name_76 WHERE player = \"domenik hixon\""
} |
What is the total number of Viewers when the rank is #40? | CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT COUNT(viewers) FROM table_name_30 WHERE rank = \"#40\""
} |
What is the average Episode # with a share of 9, and #35 is rank and less than 8.21 viewers? | CREATE TABLE table_name_96 (episode__number INTEGER, viewers VARCHAR, share VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT AVG(episode__number) FROM table_name_96 WHERE share = 9 AND rank = \"#35\" AND viewers < 8.21"
} |
What is the lowest Bronze with a Nation of egypt (egy) and with a Gold that is smaller than 2? | CREATE TABLE table_name_56 (bronze INTEGER, nation VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT MIN(bronze) FROM table_name_56 WHERE nation = \"egypt (egy)\" AND gold < 2"
} |
What is the total number of Silver with a Total that is smaller than 1? | CREATE TABLE table_name_19 (silver VARCHAR, total INTEGER) | {
"SQL_Query": "SELECT COUNT(silver) FROM table_name_19 WHERE total < 1"
} |
What is the highest Total with a Rank that is smaller than 4 and a Nation of tunisia (tun) with a Gold that is smaller than 2? | CREATE TABLE table_name_57 (total INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR) | {
"SQL_Query": "SELECT MAX(total) FROM table_name_57 WHERE rank < 4 AND nation = \"tunisia (tun)\" AND gold < 2"
} |
What is the average Total with a Nation of ethiopia (eth) and a Rank that is larger than 9? | CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT AVG(total) FROM table_name_4 WHERE nation = \"ethiopia (eth)\" AND rank > 9"
} |
From which region is the album with release date of 19 June 2007? | CREATE TABLE table_name_7 (region VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT region FROM table_name_7 WHERE date = \"19 june 2007\""
} |
Which label released the catalog Magik Muzik CD 07 on 28 March 2007? | CREATE TABLE table_name_86 (label VARCHAR, date VARCHAR, catalog VARCHAR) | {
"SQL_Query": "SELECT label FROM table_name_86 WHERE date = \"28 march 2007\" AND catalog = \"magik muzik cd 07\""
} |
For the catalog title DP068-07, what formats are available? | CREATE TABLE table_name_52 (format VARCHAR, catalog VARCHAR) | {
"SQL_Query": "SELECT format FROM table_name_52 WHERE catalog = \"dp068-07\""
} |
What is the Term in office with an Order that is 9? | CREATE TABLE table_name_21 (term_in_office VARCHAR, order VARCHAR) | {
"SQL_Query": "SELECT term_in_office FROM table_name_21 WHERE order = \"9\""
} |
What competition has June 19, 2004 as the date? | CREATE TABLE table_name_5 (competition VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_5 WHERE date = \"june 19, 2004\""
} |
What result has January 21, 2002 as the date? | CREATE TABLE table_name_51 (result VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_51 WHERE date = \"january 21, 2002\""
} |
What date has alamodome, san antonio, united states as the venue? | CREATE TABLE table_name_63 (date VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_63 WHERE venue = \"alamodome, san antonio, united states\""
} |
What date has 2006 fifa world cup qualification as the competition, and alamodome, san antonio, united States as the venue? | CREATE TABLE table_name_40 (date VARCHAR, competition VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_40 WHERE competition = \"2006 fifa world cup qualification\" AND venue = \"alamodome, san antonio, united states\""
} |
What is the rank of the nation with more than 0 silver medals and 38 bronze medals? | CREATE TABLE table_name_97 (rank VARCHAR, silver VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT rank FROM table_name_97 WHERE silver > 0 AND bronze = 38"
} |
Which astrological sign has the Latin motto of Vita? | CREATE TABLE table_name_21 (sign VARCHAR, latin_motto VARCHAR) | {
"SQL_Query": "SELECT sign FROM table_name_21 WHERE latin_motto = \"vita\""
} |
What is the translation of the sign of Aquarius? | CREATE TABLE table_name_15 (translation VARCHAR, sign VARCHAR) | {
"SQL_Query": "SELECT translation FROM table_name_15 WHERE sign = \"aquarius\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.