question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What is the total number of field goals for a player that had less than 3 touchdowns, had 4 points, and had less than 4 extra points? | CREATE TABLE table_name_99 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT COUNT(field_goals) FROM table_name_99 WHERE touchdowns < 3 AND points = 4 AND extra_points < 4"
} |
What is the lowest number of draws of the NTFA Div 2 Lilydale? | CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR) | {
"SQL_Query": "SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = \"lilydale\""
} |
What is the lowest number of draws of the team with 9 wins and less than 0 byes? | CREATE TABLE table_name_41 (draws INTEGER, wins VARCHAR, byes VARCHAR) | {
"SQL_Query": "SELECT MIN(draws) FROM table_name_41 WHERE wins = 9 AND byes < 0"
} |
What is the lowest number of against of NTFA Div 2 Fingal Valley? | CREATE TABLE table_name_38 (against INTEGER, ntfa_div_2 VARCHAR) | {
"SQL_Query": "SELECT MIN(against) FROM table_name_38 WHERE ntfa_div_2 = \"fingal valley\""
} |
What is the largest rank with 2,080 area? | CREATE TABLE table_name_34 (rank INTEGER, area__sqmi_ VARCHAR) | {
"SQL_Query": "SELECT MAX(rank) FROM table_name_34 WHERE area__sqmi_ = 2 OFFSET 080"
} |
What is the largest area in Alaska with a population of 39 and rank over 19? | CREATE TABLE table_name_41 (area__km_2__ INTEGER, rank VARCHAR, location VARCHAR, population__2000_ VARCHAR) | {
"SQL_Query": "SELECT MAX(area__km_2__) FROM table_name_41 WHERE location = \"alaska\" AND population__2000_ = \"39\" AND rank > 19"
} |
How many events are in South Africa? | CREATE TABLE table_name_25 (events INTEGER, country VARCHAR) | {
"SQL_Query": "SELECT SUM(events) FROM table_name_25 WHERE country = \"south africa\""
} |
On what date was game 2 played? | CREATE TABLE table_name_98 (date VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_98 WHERE game = \"game 2\""
} |
Which game had Philadelphia as its home team and was played on April 23? | CREATE TABLE table_name_55 (game VARCHAR, home_team VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_55 WHERE home_team = \"philadelphia\" AND date = \"april 23\""
} |
Which games had Philadelphia as home team? | CREATE TABLE table_name_20 (game VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_20 WHERE home_team = \"philadelphia\""
} |
What was the result of the game played on April 16 with Philadelphia as home team? | CREATE TABLE table_name_64 (result VARCHAR, home_team VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_64 WHERE home_team = \"philadelphia\" AND date = \"april 16\""
} |
What was the result of the April 16 game? | CREATE TABLE table_name_94 (result VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_94 WHERE date = \"april 16\""
} |
Which game had a result of 126-95? | CREATE TABLE table_name_88 (game VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_88 WHERE result = \"126-95\""
} |
Which Services have a Local authority of chiltern, and a Zone 2010 of 9? | CREATE TABLE table_name_94 (services VARCHAR, local_authority VARCHAR, zone_2010 VARCHAR) | {
"SQL_Query": "SELECT services FROM table_name_94 WHERE local_authority = \"chiltern\" AND zone_2010 = \"9\""
} |
Which Station has a Zone 2010 of 7? | CREATE TABLE table_name_65 (station VARCHAR, zone_2010 VARCHAR) | {
"SQL_Query": "SELECT station FROM table_name_65 WHERE zone_2010 = \"7\""
} |
Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross? | CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR) | {
"SQL_Query": "SELECT local_authority FROM table_name_46 WHERE zone_2007 = \"outside zones\" AND zone_2008 = \"outside zones\" AND zone_2010 = \"outside zones\" AND station = \"waltham cross\""
} |
Which Local authority has Services of greater anglia? | CREATE TABLE table_name_33 (local_authority VARCHAR, services VARCHAR) | {
"SQL_Query": "SELECT local_authority FROM table_name_33 WHERE services = \"greater anglia\""
} |
Which Station has a Zone 2008 of 8, and a Zone 2007 of outside zones, and Services of london overground? | CREATE TABLE table_name_73 (station VARCHAR, services VARCHAR, zone_2008 VARCHAR, zone_2007 VARCHAR) | {
"SQL_Query": "SELECT station FROM table_name_73 WHERE zone_2008 = \"8\" AND zone_2007 = \"outside zones\" AND services = \"london overground\""
} |
Which Zone 2008 has Services of greater anglia, and a Station of cheshunt? | CREATE TABLE table_name_17 (zone_2008 VARCHAR, services VARCHAR, station VARCHAR) | {
"SQL_Query": "SELECT zone_2008 FROM table_name_17 WHERE services = \"greater anglia\" AND station = \"cheshunt\""
} |
How many touchdowns are there when there were 0 extra points and Hal Weeks had left halfback? | CREATE TABLE table_name_71 (touchdowns VARCHAR, player VARCHAR, extra_points VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT touchdowns FROM table_name_71 WHERE extra_points = 0 AND position = \"left halfback\" AND player = \"hal weeks\""
} |
How many field goals did duncan thompson have? | CREATE TABLE table_name_8 (field_goals VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT field_goals FROM table_name_8 WHERE player = \"duncan thompson\""
} |
What is the highest field goals when there were more than 1 touchdown and 0 extra points? | CREATE TABLE table_name_7 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR) | {
"SQL_Query": "SELECT MAX(field_goals) FROM table_name_7 WHERE touchdowns > 1 AND extra_points > 0"
} |
What is the lowest number of field goals when the points were less than 5? | CREATE TABLE table_name_53 (field_goals INTEGER, points INTEGER) | {
"SQL_Query": "SELECT MIN(field_goals) FROM table_name_53 WHERE points < 5"
} |
what is the HAAT of devils lake | CREATE TABLE table_name_94 (haat VARCHAR, city_of_license VARCHAR) | {
"SQL_Query": "SELECT haat FROM table_name_94 WHERE city_of_license = \"devils lake\""
} |
What was the date with a winner of km (mi)? | CREATE TABLE table_name_20 (date VARCHAR, winner VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_20 WHERE winner = \"km (mi)\""
} |
What is the highest ERP W of an 89.1 frequency translator? | CREATE TABLE table_name_97 (erp_w INTEGER, frequency_mhz VARCHAR) | {
"SQL_Query": "SELECT MAX(erp_w) FROM table_name_97 WHERE frequency_mhz = 89.1"
} |
What is the class of the translator with 10 ERP W and a call sign of w273bl? | CREATE TABLE table_name_57 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR) | {
"SQL_Query": "SELECT class FROM table_name_57 WHERE erp_w = 10 AND call_sign = \"w273bl\""
} |
What is the FCC info of the translator with an Irmo, South Carolina city license? | CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR) | {
"SQL_Query": "SELECT fcc_info FROM table_name_51 WHERE city_of_license = \"irmo, south carolina\""
} |
What is the call sign of the translator in Spring Valley, Nevada? | CREATE TABLE table_name_16 (call_sign VARCHAR, city_of_license VARCHAR) | {
"SQL_Query": "SELECT call_sign FROM table_name_16 WHERE city_of_license = \"spring valley, nevada\""
} |
What is the call sign of the translator with an ERP W greater than 38 and a city license from Great Falls, Montana? | CREATE TABLE table_name_60 (call_sign VARCHAR, erp_w VARCHAR, city_of_license VARCHAR) | {
"SQL_Query": "SELECT call_sign FROM table_name_60 WHERE erp_w > 38 AND city_of_license = \"great falls, montana\""
} |
Name the ERP W for frequency of 92.7 | CREATE TABLE table_name_66 (erp_w VARCHAR, frequency_mhz VARCHAR) | {
"SQL_Query": "SELECT erp_w FROM table_name_66 WHERE frequency_mhz = 92.7"
} |
Name the ERP W for glens falls, new york | CREATE TABLE table_name_56 (erp_w VARCHAR, city_of_license VARCHAR) | {
"SQL_Query": "SELECT erp_w FROM table_name_56 WHERE city_of_license = \"glens falls, new york\""
} |
Name the FCC info for frequency Mhz less than 97.3 and call sign of w237br | CREATE TABLE table_name_37 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) | {
"SQL_Query": "SELECT fcc_info FROM table_name_37 WHERE frequency_mhz < 97.3 AND call_sign = \"w237br\""
} |
Name the average ERP W and call sign of w237br | CREATE TABLE table_name_36 (erp_w INTEGER, call_sign VARCHAR) | {
"SQL_Query": "SELECT AVG(erp_w) FROM table_name_36 WHERE call_sign = \"w237br\""
} |
Which Score has Points of 64, and a Game of 49? | CREATE TABLE table_name_5 (score VARCHAR, points VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_5 WHERE points = 64 AND game = 49"
} |
Which Points have a Score of 4–1, and a Record of 18–10–8–1, and a January larger than 2? | CREATE TABLE table_name_71 (points INTEGER, january VARCHAR, score VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT AVG(points) FROM table_name_71 WHERE score = \"4–1\" AND record = \"18–10–8–1\" AND january > 2"
} |
How many Points have a January of 18? | CREATE TABLE table_name_88 (points VARCHAR, january VARCHAR) | {
"SQL_Query": "SELECT COUNT(points) FROM table_name_88 WHERE january = 18"
} |
How many Games have a Score of 5–4, and Points smaller than 49? | CREATE TABLE table_name_96 (game VARCHAR, score VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT COUNT(game) FROM table_name_96 WHERE score = \"5–4\" AND points < 49"
} |
What is the average gold of the winter athlete with 1 bronze, less than 3 silver, and less than 4 total medals? | CREATE TABLE table_name_64 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR, type VARCHAR) | {
"SQL_Query": "SELECT AVG(gold) FROM table_name_64 WHERE bronze = 1 AND type = \"winter\" AND silver < 3 AND total < 4"
} |
What is the highest total medals winter athlete Clara Hughes has? | CREATE TABLE table_name_41 (total INTEGER, type VARCHAR, athlete VARCHAR) | {
"SQL_Query": "SELECT MAX(total) FROM table_name_41 WHERE type = \"winter\" AND athlete = \"clara hughes\""
} |
What is the lowest number of bronze a short track athlete with 0 gold medals has? | CREATE TABLE table_name_47 (bronze INTEGER, sport VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT MIN(bronze) FROM table_name_47 WHERE sport = \"short track\" AND gold = 0"
} |
What is the Project Name with a Country that is kazakhstan and a Peak that is 150? | CREATE TABLE table_name_90 (project_name VARCHAR, country VARCHAR, peak VARCHAR) | {
"SQL_Query": "SELECT project_name FROM table_name_90 WHERE country = \"kazakhstan\" AND peak = \"150\""
} |
What is the Peak with a Project Name that is talakan ph 1? | CREATE TABLE table_name_14 (peak VARCHAR, project_name VARCHAR) | {
"SQL_Query": "SELECT peak FROM table_name_14 WHERE project_name = \"talakan ph 1\""
} |
What is the Project Name with a Country that is opec? | CREATE TABLE table_name_36 (project_name VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT project_name FROM table_name_36 WHERE country = \"opec\""
} |
What is the Operator with a Peak that is 55? | CREATE TABLE table_name_47 (operator VARCHAR, peak VARCHAR) | {
"SQL_Query": "SELECT operator FROM table_name_47 WHERE peak = \"55\""
} |
What was the score when they had a 25-41-9 record? | CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_84 WHERE record = \"25-41-9\""
} |
What is the game associated with a score of 4 - 2, and a record of 25-39-9? | CREATE TABLE table_name_81 (game INTEGER, score VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT MAX(game) FROM table_name_81 WHERE score = \"4 - 2\" AND record = \"25-39-9\""
} |
How many attendances have w 48-10 as the result? | CREATE TABLE table_name_6 (attendance INTEGER, result VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_6 WHERE result = \"w 48-10\""
} |
How many attendances have 9 as the week? | CREATE TABLE table_name_78 (attendance VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT COUNT(attendance) FROM table_name_78 WHERE week = 9"
} |
What is the lowest attendance that has a week less than 4, and w 13-7 as the result? | CREATE TABLE table_name_98 (attendance INTEGER, week VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT MIN(attendance) FROM table_name_98 WHERE week < 4 AND result = \"w 13-7\""
} |
What is the psd-pc for 18-22/04/2009? | CREATE TABLE table_name_65 (psd___pc VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT psd___pc FROM table_name_65 WHERE date = \"18-22/04/2009\""
} |
What date has the others of 2%? | CREATE TABLE table_name_74 (date VARCHAR, others VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_74 WHERE others = \"2%\""
} |
What was the UDMR for 18-22/04/2009? | CREATE TABLE table_name_75 (udmr VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT udmr FROM table_name_75 WHERE date = \"18-22/04/2009\""
} |
When the other is n/a and the psc-pc is 30% what is the date? | CREATE TABLE table_name_52 (date VARCHAR, others VARCHAR, psd___pc VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_52 WHERE others = \"n/a\" AND psd___pc = \"30%\""
} |
What was the polling firm with others of 1%? | CREATE TABLE table_name_25 (polling_firm VARCHAR, others VARCHAR) | {
"SQL_Query": "SELECT polling_firm FROM table_name_25 WHERE others = \"1%\""
} |
What is the elena basescu when the poling firm of gallup? | CREATE TABLE table_name_98 (elena_băsescu VARCHAR, polling_firm VARCHAR) | {
"SQL_Query": "SELECT elena_băsescu FROM table_name_98 WHERE polling_firm = \"gallup\""
} |
Game smaller than 34, and a December smaller than 14, and a Score of 10 - 6 has what opponent? | CREATE TABLE table_name_46 (opponent VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_46 WHERE game < 34 AND december < 14 AND score = \"10 - 6\""
} |
Game larger than 34, and a December smaller than 23 had what record? | CREATE TABLE table_name_20 (record VARCHAR, game VARCHAR, december VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_20 WHERE game > 34 AND december < 23"
} |
Record of 15-12-4, and a Game larger than 31 involves what highest December? | CREATE TABLE table_name_68 (december INTEGER, record VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT MAX(december) FROM table_name_68 WHERE record = \"15-12-4\" AND game > 31"
} |
Which Points have a Record of 45–21–4, and a Game larger than 70? | CREATE TABLE table_name_77 (points INTEGER, record VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT AVG(points) FROM table_name_77 WHERE record = \"45–21–4\" AND game > 70"
} |
Which March is the lowest one that has a Score of 5–6, and Points smaller than 100? | CREATE TABLE table_name_88 (march INTEGER, score VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT MIN(march) FROM table_name_88 WHERE score = \"5–6\" AND points < 100"
} |
Which Score has a March larger than 15, and Points larger than 96, and a Game smaller than 76, and an Opponent of @ washington capitals? | CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR, game VARCHAR, march VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_65 WHERE march > 15 AND points > 96 AND game < 76 AND opponent = \"@ washington capitals\""
} |
Which Opponent has a Record of 45–21–4? | CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_51 WHERE record = \"45–21–4\""
} |
What year was the building completed that has 10 floors? | CREATE TABLE table_name_82 (year_completed INTEGER, floors VARCHAR) | {
"SQL_Query": "SELECT AVG(year_completed) FROM table_name_82 WHERE floors = 10"
} |
What was the name of the building with 10 floors? | CREATE TABLE table_name_13 (name VARCHAR, floors VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_13 WHERE floors = 10"
} |
How tall is the florida life building, completed before 1990? | CREATE TABLE table_name_44 (height_ft___m VARCHAR, year_completed VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT height_ft___m FROM table_name_44 WHERE year_completed < 1990 AND name = \"florida life building\""
} |
Result of 86-87 (2-4) is what game? | CREATE TABLE table_name_28 (game VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_28 WHERE result = \"86-87 (2-4)\""
} |
Result of 88-85 ot (1-0) involves what game? | CREATE TABLE table_name_16 (game VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_16 WHERE result = \"88-85 ot (1-0)\""
} |
Game of game 5 had what result? | CREATE TABLE table_name_83 (result VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_83 WHERE game = \"game 5\""
} |
Road Team of utah jazz, and a Result of 81-83 (3-2) involved what game? | CREATE TABLE table_name_27 (game VARCHAR, road_team VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_27 WHERE road_team = \"utah jazz\" AND result = \"81-83 (3-2)\""
} |
Home Team of chicago bulls, and a Result of 81-83 (3-2) involved what game? | CREATE TABLE table_name_33 (game VARCHAR, home_team VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_33 WHERE home_team = \"chicago bulls\" AND result = \"81-83 (3-2)\""
} |
Result of 86-87 (2-4) involves what home team? | CREATE TABLE table_name_38 (home_team VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_38 WHERE result = \"86-87 (2-4)\""
} |
What is the fewest wins that has fewer than 23 goals scored, team of 2 de Mayo, and fewer than 7 draws? | CREATE TABLE table_name_16 (wins INTEGER, draws VARCHAR, scored VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT MIN(wins) FROM table_name_16 WHERE scored < 23 AND team = \"2 de mayo\" AND draws < 7"
} |
What is the number of draws for the team with more than 8 losses and 13 points? | CREATE TABLE table_name_61 (draws VARCHAR, losses VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT draws FROM table_name_61 WHERE losses > 8 AND points = 13"
} |
How much March has Points of 85? | CREATE TABLE table_name_24 (march VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT COUNT(march) FROM table_name_24 WHERE points = 85"
} |
Which Game is the lowest one that has a Score of 2–3 ot, and Points larger than 76? | CREATE TABLE table_name_46 (game INTEGER, score VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT MIN(game) FROM table_name_46 WHERE score = \"2–3 ot\" AND points > 76"
} |
How many games have a March of 19, and Points smaller than 83? | CREATE TABLE table_name_50 (game VARCHAR, march VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT COUNT(game) FROM table_name_50 WHERE march = 19 AND points < 83"
} |
What is the Almali village with the Süskən village zərnə? | CREATE TABLE table_name_77 (almalı__qax_ VARCHAR, süskən VARCHAR) | {
"SQL_Query": "SELECT almalı__qax_ FROM table_name_77 WHERE süskən = \"zərnə\""
} |
What is the Almali village with the Malax village qaxingiloy? | CREATE TABLE table_name_81 (almalı__qax_ VARCHAR, malax VARCHAR) | {
"SQL_Query": "SELECT almalı__qax_ FROM table_name_81 WHERE malax = \"qaxingiloy\""
} |
What is the Süskən village with a Malax village meşəbaş? | CREATE TABLE table_name_25 (süskən VARCHAR, malax VARCHAR) | {
"SQL_Query": "SELECT süskən FROM table_name_25 WHERE malax = \"meşəbaş\""
} |
What is the Qaxmuğal village with a Malax village meşəbaş? | CREATE TABLE table_name_90 (qaxmuğal VARCHAR, malax VARCHAR) | {
"SQL_Query": "SELECT qaxmuğal FROM table_name_90 WHERE malax = \"meşəbaş\""
} |
What is the Qaxmuğal village with a Fistiqli village keşqutan? | CREATE TABLE table_name_81 (qaxmuğal VARCHAR, fıstıqlı VARCHAR) | {
"SQL_Query": "SELECT qaxmuğal FROM table_name_81 WHERE fıstıqlı = \"keşqutan\""
} |
What are the highest championships where the club is Springfield Cardinals? | CREATE TABLE table_name_54 (championships INTEGER, club VARCHAR) | {
"SQL_Query": "SELECT MAX(championships) FROM table_name_54 WHERE club = \"springfield cardinals\""
} |
What is the maximum torque that has 2,445 CC Displacement, and an Iveco 8144.61 engine? | CREATE TABLE table_name_36 (max_torque_at_rpm VARCHAR, displacement VARCHAR, engine VARCHAR) | {
"SQL_Query": "SELECT max_torque_at_rpm FROM table_name_36 WHERE displacement = \"2,445 cc\" AND engine = \"iveco 8144.61\""
} |
What Valvetrain has a fuel system made up of petrol engines? | CREATE TABLE table_name_77 (valvetrain VARCHAR, fuel_system VARCHAR) | {
"SQL_Query": "SELECT valvetrain FROM table_name_77 WHERE fuel_system = \"petrol engines\""
} |
Which Population has an Altitude (mslm) larger than 98, and a Density (inhabitants/km 2) larger than 5869, and a Rank of 1st? | CREATE TABLE table_name_22 (population INTEGER, rank VARCHAR, altitude__mslm_ VARCHAR, density__inhabitants_km_2__ VARCHAR) | {
"SQL_Query": "SELECT SUM(population) FROM table_name_22 WHERE altitude__mslm_ > 98 AND density__inhabitants_km_2__ > 5869 AND rank = \"1st\""
} |
Which Population is the highest one that has a Density (inhabitants/km 2) larger than 2805.8, and a Rank of 1st, and an Altitude (mslm) smaller than 122? | CREATE TABLE table_name_99 (population INTEGER, altitude__mslm_ VARCHAR, density__inhabitants_km_2__ VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MAX(population) FROM table_name_99 WHERE density__inhabitants_km_2__ > 2805.8 AND rank = \"1st\" AND altitude__mslm_ < 122"
} |
Which Altitude (mslm) is the highest one that has an Area (km 2) smaller than 13.01, and a Population of 74536, and a Density (inhabitants/km 2) larger than 5869? | CREATE TABLE table_name_20 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, area__km_2__ VARCHAR, population VARCHAR) | {
"SQL_Query": "SELECT MAX(altitude__mslm_) FROM table_name_20 WHERE area__km_2__ < 13.01 AND population = 74536 AND density__inhabitants_km_2__ > 5869"
} |
Which Altitude (mslm) is the highest one that has a City of legnano, and a Population larger than 59492? | CREATE TABLE table_name_47 (altitude__mslm_ INTEGER, city VARCHAR, population VARCHAR) | {
"SQL_Query": "SELECT MAX(altitude__mslm_) FROM table_name_47 WHERE city = \"legnano\" AND population > 59492"
} |
What is the Motor that has a Focuses bigger than 62, and a Participant of rebaque? | CREATE TABLE table_name_73 (engine VARCHAR, points VARCHAR, entrant VARCHAR) | {
"SQL_Query": "SELECT engine FROM table_name_73 WHERE points > 62 AND entrant = \"rebaque\""
} |
What is the Focus that has a Year bigger than 1977? | CREATE TABLE table_name_1 (points VARCHAR, year INTEGER) | {
"SQL_Query": "SELECT points FROM table_name_1 WHERE year > 1977"
} |
When did Hans Hartmann drive? | CREATE TABLE table_name_42 (year VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT COUNT(year) FROM table_name_42 WHERE driver = \"hans hartmann\""
} |
What is the second that has jordan moulton as the lead? | CREATE TABLE table_name_97 (second VARCHAR, lead VARCHAR) | {
"SQL_Query": "SELECT second FROM table_name_97 WHERE lead = \"jordan moulton\""
} |
What skip has martina baumann as the third? | CREATE TABLE table_name_22 (skip VARCHAR, third VARCHAR) | {
"SQL_Query": "SELECT skip FROM table_name_22 WHERE third = \"martina baumann\""
} |
What skip has switzerland as the country? | CREATE TABLE table_name_15 (skip VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT skip FROM table_name_15 WHERE country = \"switzerland\""
} |
What skip has angela tuvaeva as the lead? | CREATE TABLE table_name_13 (skip VARCHAR, lead VARCHAR) | {
"SQL_Query": "SELECT skip FROM table_name_13 WHERE lead = \"angela tuvaeva\""
} |
What skip has norway as the country? | CREATE TABLE table_name_66 (skip VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT skip FROM table_name_66 WHERE country = \"norway\""
} |
What skip has denmark as the country? | CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT skip FROM table_name_58 WHERE country = \"denmark\""
} |
Which visitor has a Los Angeles home? | CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT visitor FROM table_name_20 WHERE home = \"los angeles\""
} |
Opponent of edmonton oilers, and a Game of 3 is what series? | CREATE TABLE table_name_95 (series VARCHAR, opponent VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT series FROM table_name_95 WHERE opponent = \"edmonton oilers\" AND game = 3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.