question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
Which Record has the Res of win with the Event of extreme fighting 1? | CREATE TABLE table_name_30 (record VARCHAR, res VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_30 WHERE res = \"win\" AND event = \"extreme fighting 1\""
} |
What was the attendance where the record was 8-4? | CREATE TABLE table_name_3 (attendance INTEGER, record VARCHAR) | {
"SQL_Query": "SELECT MIN(attendance) FROM table_name_3 WHERE record = \"8-4\""
} |
What is the largest total for a team with fewer than 12 bronze, 1 silver and 0 gold medals? | CREATE TABLE table_name_99 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT MAX(total) FROM table_name_99 WHERE bronze < 12 AND gold = 0 AND silver = 1"
} |
What is the largest total for a team with 1 bronze, 0 gold medals and ranking of 7? | CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MAX(total) FROM table_name_87 WHERE bronze = 1 AND rank = \"7\" AND gold > 0"
} |
What is the number of bronze medals when there are fewer than 0 silver medals? | CREATE TABLE table_name_19 (bronze INTEGER, silver INTEGER) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_19 WHERE silver < 0"
} |
What is the highest number of silver medals for a team with total less than 1? | CREATE TABLE table_name_32 (silver INTEGER, total INTEGER) | {
"SQL_Query": "SELECT MAX(silver) FROM table_name_32 WHERE total < 1"
} |
Which player is from Tampa, Florida? | CREATE TABLE table_name_68 (player VARCHAR, hometown VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_68 WHERE hometown = \"tampa, florida\""
} |
Which college is Jordan Phillips playing for? | CREATE TABLE table_name_85 (college VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT college FROM table_name_85 WHERE player = \"jordan phillips\""
} |
What college has a position of defensive line and Grant high school? | CREATE TABLE table_name_5 (college VARCHAR, position VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT college FROM table_name_5 WHERE position = \"defensive line\" AND school = \"grant high school\""
} |
What position is for Plant high school? | CREATE TABLE table_name_47 (position VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_47 WHERE school = \"plant high school\""
} |
What position is for Dr. Phillips high school? | CREATE TABLE table_name_94 (position VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_94 WHERE school = \"dr. phillips high school\""
} |
Which hometown has a player of Ray Drew? | CREATE TABLE table_name_19 (hometown VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT hometown FROM table_name_19 WHERE player = \"ray drew\""
} |
What is the most byes with 11 wins and fewer than 1867 againsts? | CREATE TABLE table_name_95 (byes INTEGER, against VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT MAX(byes) FROM table_name_95 WHERE against < 1867 AND wins = 11"
} |
What are the draws when wins are fwewer than 9 and byes fewer than 2? | CREATE TABLE table_name_15 (draws VARCHAR, wins VARCHAR, byes VARCHAR) | {
"SQL_Query": "SELECT COUNT(draws) FROM table_name_15 WHERE wins < 9 AND byes < 2"
} |
What are the fewest draws with less than 7 losses and Mitta United is the Tallagatta DFL? | CREATE TABLE table_name_65 (draws INTEGER, losses VARCHAR, tallangatta_dfl VARCHAR) | {
"SQL_Query": "SELECT MIN(draws) FROM table_name_65 WHERE losses < 7 AND tallangatta_dfl = \"mitta united\""
} |
What are the losses when there are 9 wins and more than 1326 against? | CREATE TABLE table_name_47 (losses INTEGER, wins VARCHAR, against VARCHAR) | {
"SQL_Query": "SELECT SUM(losses) FROM table_name_47 WHERE wins = 9 AND against > 1326"
} |
What was the decision of the Red Wings game when they had a record of 45–18–6? | CREATE TABLE table_name_53 (decision VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT decision FROM table_name_53 WHERE record = \"45–18–6\""
} |
Which R 51 O value corresponds to a D 42 O value of r 19? | CREATE TABLE table_name_8 (r_51_o VARCHAR, d_42_o VARCHAR) | {
"SQL_Query": "SELECT r_51_o FROM table_name_8 WHERE d_42_o = \"r 19\""
} |
What's the highest round that louisville drafted into when their pick was over 75? | CREATE TABLE table_name_14 (round INTEGER, school_club_team VARCHAR, pick VARCHAR) | {
"SQL_Query": "SELECT MAX(round) FROM table_name_14 WHERE school_club_team = \"louisville\" AND pick > 75"
} |
Where's the first round that southern mississippi shows up during the draft? | CREATE TABLE table_name_31 (round INTEGER, school_club_team VARCHAR) | {
"SQL_Query": "SELECT MIN(round) FROM table_name_31 WHERE school_club_team = \"southern mississippi\""
} |
Cowansville has less than 16 regions and is a Brome-Missisquoi Municipality, what is their population? | CREATE TABLE table_name_38 (population INTEGER, region VARCHAR, regional_county_municipality VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT MIN(population) FROM table_name_38 WHERE regional_county_municipality = \"brome-missisquoi\" AND name = \"cowansville\" AND region < 16"
} |
Saint-Blaise-Sur-Richelieu is smaller than 68.42 km^2, what is the population of this type M municipality? | CREATE TABLE table_name_64 (population INTEGER, area__km_2__ VARCHAR, type VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT MIN(population) FROM table_name_64 WHERE type = \"m\" AND name = \"saint-blaise-sur-richelieu\" AND area__km_2__ < 68.42"
} |
What is the code for a Le Haut-Saint-Laurent municipality that has 16 or more regions? | CREATE TABLE table_name_14 (code INTEGER, regional_county_municipality VARCHAR, region VARCHAR) | {
"SQL_Query": "SELECT MIN(code) FROM table_name_14 WHERE regional_county_municipality = \"le haut-saint-laurent\" AND region > 16"
} |
Where was the security pacific senior classic? | CREATE TABLE table_name_74 (location VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_74 WHERE tournament = \"security pacific senior classic\""
} |
What is the Home team score for the Away team of North Melbourne? | CREATE TABLE table_name_69 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_69 WHERE away_team = \"north melbourne\""
} |
On what date the footscray's away game? | CREATE TABLE table_name_81 (date VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_81 WHERE away_team = \"footscray\""
} |
What was the date of the game with a result of 3–2? | CREATE TABLE table_name_3 (date VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_3 WHERE result = \"3–2\""
} |
What was the date of the game with a goal of 7? | CREATE TABLE table_name_27 (date VARCHAR, goal VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_27 WHERE goal = 7"
} |
Who is the opponent on april 16? | CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_91 WHERE date = \"april 16\""
} |
What is the team's record on april 23? | CREATE TABLE table_name_43 (record VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_43 WHERE date = \"april 23\""
} |
what is the competition when the result is loss in berlin with a score of 0-3? | CREATE TABLE table_name_12 (competition VARCHAR, score VARCHAR, result VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_12 WHERE result = \"loss\" AND location = \"berlin\" AND score = \"0-3\""
} |
what is the date for the game in prague for the world group, consolation round competition? | CREATE TABLE table_name_57 (date VARCHAR, location VARCHAR, competition VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_57 WHERE location = \"prague\" AND competition = \"world group, consolation round\""
} |
What is the competition in tokyo with the result loss? | CREATE TABLE table_name_3 (competition VARCHAR, location VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_3 WHERE location = \"tokyo\" AND result = \"loss\""
} |
what is the year when the date is not played? | CREATE TABLE table_name_84 (year VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_84 WHERE date = \"not played\""
} |
what is the score when the result is loss, the year is 1980 and the competition is world group, consolation round? | CREATE TABLE table_name_45 (score VARCHAR, competition VARCHAR, result VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_45 WHERE result = \"loss\" AND year = \"1980\" AND competition = \"world group, consolation round\""
} |
How many attended the game on march 16 after over 64 games? | CREATE TABLE table_name_5 (location_attendance VARCHAR, game VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_5 WHERE game > 64 AND date = \"march 16\""
} |
What numbered game featured a High rebounds of radoslav nesterović (8), and a High assists of josé calderón (9)? | CREATE TABLE table_name_12 (game VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR) | {
"SQL_Query": "SELECT COUNT(game) FROM table_name_12 WHERE high_rebounds = \"radoslav nesterović (8)\" AND high_assists = \"josé calderón (9)\""
} |
What were the sales for Dj Casper when he was in a position lower than 13? | CREATE TABLE table_name_51 (sales VARCHAR, position VARCHAR, artist VARCHAR) | {
"SQL_Query": "SELECT sales FROM table_name_51 WHERE position < 13 AND artist = \"dj casper\""
} |
What was the score on January 12? | CREATE TABLE table_name_27 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_27 WHERE date = \"january 12\""
} |
Which home team had a visitor of Ottawa Senators with a score of 1–5? | CREATE TABLE table_name_61 (home VARCHAR, visitor VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT home FROM table_name_61 WHERE visitor = \"ottawa senators\" AND score = \"1–5\""
} |
Which team is number 14 and had a franchise in 1993-2000? | CREATE TABLE table_name_38 (team VARCHAR, number VARCHAR, years_with_franchise VARCHAR) | {
"SQL_Query": "SELECT team FROM table_name_38 WHERE number = 14 AND years_with_franchise = \"1993-2000\""
} |
Who was the player in Position G on the Petron Blaze Boosters and retired in 2000? | CREATE TABLE table_name_61 (name VARCHAR, year_retired VARCHAR, position VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_61 WHERE position = \"g\" AND team = \"petron blaze boosters\" AND year_retired = \"2000\""
} |
How many years did the team in slot number 9 have a franchise? | CREATE TABLE table_name_16 (years_with_franchise VARCHAR, number VARCHAR) | {
"SQL_Query": "SELECT years_with_franchise FROM table_name_16 WHERE number = 9"
} |
Tell me the highest matches for point 43 and final rank less than 7 | CREATE TABLE table_name_32 (matches INTEGER, point VARCHAR, final_rank VARCHAR) | {
"SQL_Query": "SELECT MAX(matches) FROM table_name_32 WHERE point = 43 AND final_rank < 7"
} |
Tell me the average final rank for loe more than 10 and point less than 43 | CREATE TABLE table_name_8 (final_rank INTEGER, lose VARCHAR, point VARCHAR) | {
"SQL_Query": "SELECT AVG(final_rank) FROM table_name_8 WHERE lose > 10 AND point < 43"
} |
I want the average lose for lost point more than 16 and goal difference less than 37 and point less than 43 | CREATE TABLE table_name_96 (lose INTEGER, point VARCHAR, lost_point VARCHAR, goal_difference VARCHAR) | {
"SQL_Query": "SELECT AVG(lose) FROM table_name_96 WHERE lost_point > 16 AND goal_difference < 37 AND point < 43"
} |
I want the total number of matches for draw less than 7 and lost point of 16 with lose more than 4 | CREATE TABLE table_name_14 (matches VARCHAR, lose VARCHAR, draw VARCHAR, lost_point VARCHAR) | {
"SQL_Query": "SELECT COUNT(matches) FROM table_name_14 WHERE draw < 7 AND lost_point = 16 AND lose > 4"
} |
Tell me the highest point with lost point being 33 and league point less than 52 | CREATE TABLE table_name_98 (point INTEGER, lost_point VARCHAR, league_point VARCHAR) | {
"SQL_Query": "SELECT MAX(point) FROM table_name_98 WHERE lost_point = 33 AND league_point < 52"
} |
How many laps for a grid larger than 1 with a Time/Retired of halfshaft? | CREATE TABLE table_name_31 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT laps FROM table_name_31 WHERE grid > 1 AND time_retired = \"halfshaft\""
} |
What is the average grid that has over 8 laps, a Time/Retired of +2 laps, and peter gethin driving? | CREATE TABLE table_name_61 (grid INTEGER, driver VARCHAR, laps VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT AVG(grid) FROM table_name_61 WHERE laps > 8 AND time_retired = \"+2 laps\" AND driver = \"peter gethin\""
} |
What is the low grid that has brm and over 54 laps? | CREATE TABLE table_name_20 (grid INTEGER, constructor VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT MIN(grid) FROM table_name_20 WHERE constructor = \"brm\" AND laps > 54"
} |
What city has larger than 94.1 as a frequency? | CREATE TABLE table_name_62 (city_of_license VARCHAR, frequency_mhz INTEGER) | {
"SQL_Query": "SELECT city_of_license FROM table_name_62 WHERE frequency_mhz > 94.1"
} |
What is the Frequency MHz for the station with a call sign of w224bn? | CREATE TABLE table_name_2 (frequency_mhz INTEGER, call_sign VARCHAR) | {
"SQL_Query": "SELECT AVG(frequency_mhz) FROM table_name_2 WHERE call_sign = \"w224bn\""
} |
What class is the city of black mountain, north carolina? | CREATE TABLE table_name_45 (class VARCHAR, city_of_license VARCHAR) | {
"SQL_Query": "SELECT class FROM table_name_45 WHERE city_of_license = \"black mountain, north carolina\""
} |
What is the FCC frequency for the station w262al which has a Frequency MHz larger than 92.7? | CREATE TABLE table_name_35 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) | {
"SQL_Query": "SELECT fcc_info FROM table_name_35 WHERE frequency_mhz > 92.7 AND call_sign = \"w262al\""
} |
What grad has a Time/Retired of + 1:24.3? | CREATE TABLE table_name_74 (grid VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT grid FROM table_name_74 WHERE time_retired = \"+ 1:24.3\""
} |
What is the low lap total for henri pescarolo with a grad larger than 6? | CREATE TABLE table_name_20 (laps INTEGER, grid VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT MIN(laps) FROM table_name_20 WHERE grid > 6 AND driver = \"henri pescarolo\""
} |
What is the low lap total for a grid larger than 16 and has a Time/Retired of + 3:27.3? | CREATE TABLE table_name_60 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT MIN(laps) FROM table_name_60 WHERE time_retired = \"+ 3:27.3\" AND grid > 16"
} |
Name what was published in july 1934 with a setting of mars | CREATE TABLE table_name_22 (published_in VARCHAR, setting VARCHAR, publication_date VARCHAR) | {
"SQL_Query": "SELECT published_in FROM table_name_22 WHERE setting = \"mars\" AND publication_date = \"july 1934\""
} |
Name the publication date when the fictional date is 2112 | CREATE TABLE table_name_25 (publication_date VARCHAR, fictional_date VARCHAR) | {
"SQL_Query": "SELECT publication_date FROM table_name_25 WHERE fictional_date = \"2112\""
} |
Name the title when the main characters are grant calthorpe, lee neilan and the published in of astounding stories | CREATE TABLE table_name_84 (title VARCHAR, published_in VARCHAR, main_characters VARCHAR) | {
"SQL_Query": "SELECT title FROM table_name_84 WHERE published_in = \"astounding stories\" AND main_characters = \"grant calthorpe, lee neilan\""
} |
What club has over 1 runners-up and last won the final in 2010? | CREATE TABLE table_name_28 (club VARCHAR, runners_up VARCHAR, last_final_won VARCHAR) | {
"SQL_Query": "SELECT club FROM table_name_28 WHERE runners_up > 1 AND last_final_won = \"2010\""
} |
How manywins for dunfermline athletic that has a total final appearances less than 2? | CREATE TABLE table_name_54 (wins VARCHAR, total_final_appearances VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT wins FROM table_name_54 WHERE total_final_appearances < 2 AND club = \"dunfermline athletic\""
} |
What was the crowd size of the match featuring Hawthorn as the Away team? | CREATE TABLE table_name_84 (crowd VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT crowd FROM table_name_84 WHERE away_team = \"hawthorn\""
} |
What score did the home team of north melbourne get? | CREATE TABLE table_name_59 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_59 WHERE home_team = \"north melbourne\""
} |
Which home team played the away team of collingwood? | CREATE TABLE table_name_14 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_14 WHERE away_team = \"collingwood\""
} |
What method had Adriano Martins as an opponent and a time of 5:00? | CREATE TABLE table_name_36 (method VARCHAR, time VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT method FROM table_name_36 WHERE time = \"5:00\" AND opponent = \"adriano martins\""
} |
What is the total number of rounds when Drew Fickett was the opponent and the time is 5:00? | CREATE TABLE table_name_10 (round VARCHAR, time VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT COUNT(round) FROM table_name_10 WHERE time = \"5:00\" AND opponent = \"drew fickett\""
} |
What competition is located in bamako? | CREATE TABLE table_name_68 (competition VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_68 WHERE location = \"bamako\""
} |
What is the score from the game where Algeria is the opponent at Porto-Novo? | CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_28 WHERE opponent = \"algeria\" AND location = \"porto-novo\""
} |
What is the mean road number when Moe Lemay is the player? | CREATE TABLE table_name_64 (rd__number INTEGER, player VARCHAR) | {
"SQL_Query": "SELECT AVG(rd__number) FROM table_name_64 WHERE player = \"moe lemay\""
} |
What is the sum number of Pl GP when the pick number is 178 and the road number is bigger than 9? | CREATE TABLE table_name_13 (pl_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR) | {
"SQL_Query": "SELECT COUNT(pl_gp) FROM table_name_13 WHERE pick__number = 178 AND rd__number > 9"
} |
What is the total number of Pl GP when the pick number is 199 and the Reg GP is bigger than 0? | CREATE TABLE table_name_90 (pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR) | {
"SQL_Query": "SELECT SUM(pl_gp) FROM table_name_90 WHERE pick__number = 199 AND reg_gp > 0"
} |
What position did the player from East Texas State play? | CREATE TABLE table_name_33 (position VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_33 WHERE school = \"east texas state\""
} |
What day did they play before week 2? | CREATE TABLE table_name_71 (date VARCHAR, week INTEGER) | {
"SQL_Query": "SELECT date FROM table_name_71 WHERE week < 2"
} |
What is the cons for lib dem of 8% and a lead of 27% | CREATE TABLE table_name_19 (cons VARCHAR, lib_dem VARCHAR, lead VARCHAR) | {
"SQL_Query": "SELECT cons FROM table_name_19 WHERE lib_dem = \"8%\" AND lead = \"27%\""
} |
I want the lead for others being 5% | CREATE TABLE table_name_58 (lead VARCHAR, others VARCHAR) | {
"SQL_Query": "SELECT lead FROM table_name_58 WHERE others = \"5%\""
} |
I want the plaid cymru for 4 may 2011 | CREATE TABLE table_name_9 (plaid_cymru VARCHAR, date_s__conducted VARCHAR) | {
"SQL_Query": "SELECT plaid_cymru FROM table_name_9 WHERE date_s__conducted = \"4 may 2011\""
} |
I want the plaid cymru for Polling organisation/client of yougov/itv wales for 4 may 2011 | CREATE TABLE table_name_77 (plaid_cymru VARCHAR, polling_organisation_client VARCHAR, date_s__conducted VARCHAR) | {
"SQL_Query": "SELECT plaid_cymru FROM table_name_77 WHERE polling_organisation_client = \"yougov/itv wales\" AND date_s__conducted = \"4 may 2011\""
} |
Name the others for cons of 21% and lead of 24% | CREATE TABLE table_name_60 (others VARCHAR, cons VARCHAR, lead VARCHAR) | {
"SQL_Query": "SELECT others FROM table_name_60 WHERE cons = \"21%\" AND lead = \"24%\""
} |
Tell me the dates conducted for plaid cymru of 19% | CREATE TABLE table_name_69 (date_s__conducted VARCHAR, plaid_cymru VARCHAR) | {
"SQL_Query": "SELECT date_s__conducted FROM table_name_69 WHERE plaid_cymru = \"19%\""
} |
What was the score on 20/6/97? | CREATE TABLE table_name_9 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_9 WHERE date = \"20/6/97\""
} |
What was the score on 20/6/97? | CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_83 WHERE date = \"20/6/97\""
} |
What were the tries on 14/6/97? | CREATE TABLE table_name_10 (tries VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT tries FROM table_name_10 WHERE date = \"14/6/97\""
} |
What were the goals on 3/10/97? | CREATE TABLE table_name_86 (goals VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT goals FROM table_name_86 WHERE date = \"3/10/97\""
} |
Tell me the laps for 3 grids | CREATE TABLE table_name_67 (laps VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT laps FROM table_name_67 WHERE grid = 3"
} |
What was the Away team score for Footscray? | CREATE TABLE table_name_44 (away_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_44 WHERE away_team = \"footscray\""
} |
What was the Home team score for the team that played South Melbourne? | CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_36 WHERE away_team = \"south melbourne\""
} |
Tell me the sum of interview for evening gown more than 8.37 and average of 8.363 | CREATE TABLE table_name_57 (interview INTEGER, average VARCHAR, evening_gown VARCHAR) | {
"SQL_Query": "SELECT SUM(interview) FROM table_name_57 WHERE average = 8.363 AND evening_gown > 8.37"
} |
Name the total number of swimsuits for evening gowns less than 8.21 and average of 8.453 with interview less than 9.09 | CREATE TABLE table_name_54 (swimsuit VARCHAR, average VARCHAR, interview VARCHAR, evening_gown VARCHAR) | {
"SQL_Query": "SELECT COUNT(swimsuit) FROM table_name_54 WHERE interview < 9.09 AND evening_gown < 8.21 AND average = 8.453"
} |
Name the state with an evening gown more than 8.86 and interview less than 8.7 and swimsuit less than 8.96 | CREATE TABLE table_name_84 (state VARCHAR, interview VARCHAR, evening_gown VARCHAR, swimsuit VARCHAR) | {
"SQL_Query": "SELECT state FROM table_name_84 WHERE evening_gown > 8.86 AND swimsuit < 8.96 AND interview < 8.7"
} |
What is the total stellar mass of the type m0? | CREATE TABLE table_name_57 (stellar_mass___m__ INTEGER, type VARCHAR) | {
"SQL_Query": "SELECT SUM(stellar_mass___m__) FROM table_name_57 WHERE type = \"m0\""
} |
What is the highest planetary mass having an RV (cm/s) of 65 and a Period (days) less than 21? | CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR) | {
"SQL_Query": "SELECT MAX(planetary_mass___m) AS ⊕__ FROM table_name_5 WHERE rv__cm_s_ = 65 AND period__days_ < 21"
} |
What is the smallest period (days) to have a planetary mass of 1, a stellar mass greater than 0.21 and of the type M0? | CREATE TABLE table_name_1 (period__days_ INTEGER, type VARCHAR, planetary_mass___m⊕__ VARCHAR, stellar_mass___m__ VARCHAR) | {
"SQL_Query": "SELECT MIN(period__days_) FROM table_name_1 WHERE planetary_mass___m⊕__ = 1 AND stellar_mass___m__ > 0.21 AND type = \"m0\""
} |
What is the average word count with crs and subframes lesser than 2? | CREATE TABLE table_name_9 (word__number INTEGER, name VARCHAR, subframe__number VARCHAR) | {
"SQL_Query": "SELECT AVG(word__number) FROM table_name_9 WHERE name = \"crs\" AND subframe__number < 2"
} |
What is the page count and word count greater than 5 with Bits of 18–22? | CREATE TABLE table_name_79 (page__number VARCHAR, word__number VARCHAR, bits VARCHAR) | {
"SQL_Query": "SELECT page__number FROM table_name_79 WHERE word__number > 5 AND bits = \"18–22\""
} |
What is the total subframe count with Bits of 18–22? | CREATE TABLE table_name_48 (subframe__number INTEGER, bits VARCHAR) | {
"SQL_Query": "SELECT SUM(subframe__number) FROM table_name_48 WHERE bits = \"18–22\""
} |
How many attended tie number 19? | CREATE TABLE table_name_76 (attendance INTEGER, tie_no VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_76 WHERE tie_no = 19"
} |
Who was the away team in a tie no larger than 16 with forest green rovers at home? | CREATE TABLE table_name_95 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_95 WHERE tie_no > 16 AND home_team = \"forest green rovers\""
} |
What is the highest attendance for games with stevenage borough at home? | CREATE TABLE table_name_9 (attendance INTEGER, home_team VARCHAR) | {
"SQL_Query": "SELECT MAX(attendance) FROM table_name_9 WHERE home_team = \"stevenage borough\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.