output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT location FROM table_name_87 WHERE began < 1990 AND country = "france" | CREATE TABLE table_name_87 (location VARCHAR, began VARCHAR, country VARCHAR), what is the location when began is before 1990 and the country is france? |
SELECT court_surface FROM table_name_47 WHERE tournament = "paris masters" | CREATE TABLE table_name_47 (court_surface VARCHAR, tournament VARCHAR), what is the court surface when the tournament is paris masters? |
SELECT tournament FROM table_name_38 WHERE country = "united states" | CREATE TABLE table_name_38 (tournament VARCHAR, country VARCHAR), what is the tournament when the country is united states? |
SELECT MIN(began) FROM table_name_21 WHERE court_surface = "clay" AND location = "hamburg" | CREATE TABLE table_name_21 (began INTEGER, court_surface VARCHAR, location VARCHAR), what is the earliest began when the court surface is clay in hamburg? |
SELECT country FROM table_name_6 WHERE place = "t5" | CREATE TABLE table_name_6 (country VARCHAR, place VARCHAR), Which country placed t5? |
SELECT place FROM table_name_83 WHERE player = "tim herron" | CREATE TABLE table_name_83 (place VARCHAR, player VARCHAR), How did Tim Herron place? |
SELECT player FROM table_name_72 WHERE place = "t10" | CREATE TABLE table_name_72 (player VARCHAR, place VARCHAR), Which player placed t10? |
SELECT event FROM table_name_5 WHERE opponent = "takaharu murahama" | CREATE TABLE table_name_5 (event VARCHAR, opponent VARCHAR), At what event did he fight takaharu murahama? |
SELECT method FROM table_name_12 WHERE time = "2:16" | CREATE TABLE table_name_12 (method VARCHAR, time VARCHAR), When the match lasted 2:16 how was it decided? |
SELECT MAX(urban_population__2010_) FROM table_name_83 WHERE province = "guangxi" | CREATE TABLE table_name_83 (urban_population__2010_ INTEGER, province VARCHAR), What is the highest urban population for Guangxi province? |
SELECT AVG(urban_population__2010_) FROM table_name_7 WHERE city = "fuzhou" | CREATE TABLE table_name_7 (urban_population__2010_ INTEGER, city VARCHAR), What is the urban population for the city of Fuzhou? |
SELECT SUM(area__km_2__) FROM table_name_67 WHERE name = "theewaterskloof" AND population__2011_ < 108 OFFSET 790 | CREATE TABLE table_name_67 (area__km_2__ INTEGER, name VARCHAR, population__2011_ VARCHAR), What is the area (in km2) for theewaterskloof, whose population in 2011 was less than 108,790? |
SELECT MAX(area__km_2__) FROM table_name_28 WHERE density__inhabitants_km_2__ > 9.4 AND name = "cape agulhas" AND population__2011_ < 33 OFFSET 038 | CREATE TABLE table_name_28 (area__km_2__ INTEGER, population__2011_ VARCHAR, density__inhabitants_km_2__ VARCHAR, name VARCHAR), What is the area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038? |
SELECT score FROM table_name_8 WHERE opponent = "montreal canadiens" | CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR), What was the score when the opponent was Montreal Canadiens? |
SELECT record FROM table_name_40 WHERE december = 3 | CREATE TABLE table_name_40 (record VARCHAR, december VARCHAR), What was the record on December 3? |
SELECT opponent FROM table_name_94 WHERE game = 27 | CREATE TABLE table_name_94 (opponent VARCHAR, game VARCHAR), Who was the opponent in Game 27? |
SELECT opponent FROM table_name_2 WHERE game < 28 AND december = 1 | CREATE TABLE table_name_2 (opponent VARCHAR, game VARCHAR, december VARCHAR), Who was the opponent on December 1, before Game 28? |
SELECT COUNT(population) FROM table_name_73 WHERE official_name = "durham" | CREATE TABLE table_name_73 (population VARCHAR, official_name VARCHAR), What's the population of durham parish? |
SELECT COUNT(area_km_2) FROM table_name_52 WHERE official_name = "addington" | CREATE TABLE table_name_52 (area_km_2 VARCHAR, official_name VARCHAR), What's the total area in kilometers of the parish addington? |
SELECT studio FROM table_name_97 WHERE director = "oliver stone" | CREATE TABLE table_name_97 (studio VARCHAR, director VARCHAR), Which Studio has a Director of oliver stone? |
SELECT director FROM table_name_22 WHERE rank = 12 | CREATE TABLE table_name_22 (director VARCHAR, rank VARCHAR), Which Director has a Rank of 12? |
SELECT gross FROM table_name_25 WHERE studio = "mgm" | CREATE TABLE table_name_25 (gross VARCHAR, studio VARCHAR), Which Gross has a Studio of mgm? |
SELECT builder FROM table_name_92 WHERE works_number = "323" | CREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR), Who was the Builder for the locomotive that has a works number of 323? |
SELECT side FROM table_name_25 WHERE inscription = "vischer" | CREATE TABLE table_name_25 (side VARCHAR, inscription VARCHAR), Which side has Vischer as the inscription? |
SELECT inscription FROM table_name_26 WHERE identification = "john vanbrugh" | CREATE TABLE table_name_26 (inscription VARCHAR, identification VARCHAR), What is the inscription with John Vanbrugh listed as the identification? |
SELECT side FROM table_name_89 WHERE inscription = "orcagna" | CREATE TABLE table_name_89 (side VARCHAR, inscription VARCHAR), Which side has Orcagna as the inscription? |
SELECT group FROM table_name_91 WHERE official_history = "david d'angers" | CREATE TABLE table_name_91 (group VARCHAR, official_history VARCHAR), Which group has David D'Angers as the official history? |
SELECT inscription FROM table_name_57 WHERE identification = "virgil" | CREATE TABLE table_name_57 (inscription VARCHAR, identification VARCHAR), What is the name of the inscription where Virgil is listed as the identification? |
SELECT side FROM table_name_74 WHERE identification = "ludovico carracci" | CREATE TABLE table_name_74 (side VARCHAR, identification VARCHAR), Which side has Ludovico Carracci listed as the identification? |
SELECT COUNT(round) FROM table_name_14 WHERE college = "nebraska" AND overall > 40 | CREATE TABLE table_name_14 (round VARCHAR, college VARCHAR, overall VARCHAR), What is the sum number of round with Nebraska as the college and the overall greater than 40? |
SELECT MIN(pick) FROM table_name_87 WHERE overall > 328 AND name = "pat shires" AND round > 29 | CREATE TABLE table_name_87 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR), What is the minimum pick that drafted Pat Shires, with a round greater than 29 and an overall greater than 328? |
SELECT place FROM table_name_43 WHERE player = "celestino tugot" | CREATE TABLE table_name_43 (place VARCHAR, player VARCHAR), Where did Celestino Tugot place? |
SELECT country FROM table_name_1 WHERE player = "doug ford" | CREATE TABLE table_name_1 (country VARCHAR, player VARCHAR), What is Doug Ford's country? |
SELECT to_par FROM table_name_45 WHERE player = "ben hogan" | CREATE TABLE table_name_45 (to_par VARCHAR, player VARCHAR), What was Ben Hogan's par? |
SELECT place FROM table_name_10 WHERE player = "tommy bolt" | CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR), What is Tommy Bolt's place? |
SELECT place FROM table_name_43 WHERE score < 74 AND to_par = "e" | CREATE TABLE table_name_43 (place VARCHAR, score VARCHAR, to_par VARCHAR), What place had a score smaller than 74 and a par of e? |
SELECT time_retired FROM table_name_94 WHERE rider = "simone grotzkyj" | CREATE TABLE table_name_94 (time_retired VARCHAR, rider VARCHAR), What was the time/retired for the car raced by Simone Grotzkyj? |
SELECT manufacturer FROM table_name_79 WHERE time_retired = "+0.122" | CREATE TABLE table_name_79 (manufacturer VARCHAR, time_retired VARCHAR), Who was the manufacter of the car with a time/retired of +0.122? |
SELECT manufacturer FROM table_name_91 WHERE rider = "bradley smith" | CREATE TABLE table_name_91 (manufacturer VARCHAR, rider VARCHAR), Who is the manufacturer of the car driven by Bradley Smith? |
SELECT rider FROM table_name_18 WHERE grid = "14" | CREATE TABLE table_name_18 (rider VARCHAR, grid VARCHAR), Who is the driver of the car that started in grid 14? |
SELECT rider FROM table_name_5 WHERE manufacturer = "ktm" AND grid = "1" | CREATE TABLE table_name_5 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR), Who is the driver of the car manufactured by ktm, who started in grid 1. |
SELECT time_retired FROM table_name_41 WHERE grid = "4" | CREATE TABLE table_name_41 (time_retired VARCHAR, grid VARCHAR), What was the time/retired of the car that started in grid 4? |
SELECT to_par FROM table_name_81 WHERE country = "spain" | CREATE TABLE table_name_81 (to_par VARCHAR, country VARCHAR), What is the To par of the Player from Spain? |
SELECT AVG(money___) AS $__ FROM table_name_64 WHERE place = "t4" AND score = 71 - 66 - 74 - 67 = 278 | CREATE TABLE table_name_64 (money___ INTEGER, place VARCHAR, score VARCHAR), What is the Money of the T4 Place Player with a Score of 71-66-74-67=278? |
SELECT AVG(money___) AS $__ FROM table_name_46 WHERE score = 71 - 66 - 74 - 67 = 278 | CREATE TABLE table_name_46 (money___ INTEGER, score VARCHAR), What is the Money of the Player with a Score of 71-66-74-67=278? |
SELECT iucn FROM table_name_96 WHERE est = 1998 AND reserve = "gales point" | CREATE TABLE table_name_96 (iucn VARCHAR, est VARCHAR, reserve VARCHAR), What is the IUCN for the gales point reserve when the Est. is 1998? |
SELECT iucn FROM table_name_98 WHERE est < 1998 AND reserve = "cockscomb basin" | CREATE TABLE table_name_98 (iucn VARCHAR, est VARCHAR, reserve VARCHAR), What is the IUCN for the Cockscomb Basin reserve when the Est. is less than 1998? |
SELECT COUNT(game) FROM table_name_83 WHERE high_assists = "rajon rondo (6)" | CREATE TABLE table_name_83 (game VARCHAR, high_assists VARCHAR), What is the total number of Game, when High Assists is "Rajon Rondo (6)"? |
SELECT record FROM table_name_98 WHERE high_points = "ray allen (20)" | CREATE TABLE table_name_98 (record VARCHAR, high_points VARCHAR), What is Record, when High Points is "Ray Allen (20)"? |
SELECT record FROM table_name_90 WHERE high_points = "ray allen (27)" | CREATE TABLE table_name_90 (record VARCHAR, high_points VARCHAR), What is Record, when High Points is "Ray Allen (27)"? |
SELECT team FROM table_name_75 WHERE date = "march 27" | CREATE TABLE table_name_75 (team VARCHAR, date VARCHAR), What is Team, when Date is "March 27"? |
SELECT high_assists FROM table_name_38 WHERE team = "oklahoma city" | CREATE TABLE table_name_38 (high_assists VARCHAR, team VARCHAR), What is High Assists, when Team is "Oklahoma City"? |
SELECT score FROM table_name_64 WHERE high_assists = "rajon rondo (12)" AND high_points = "paul pierce (27)" | CREATE TABLE table_name_64 (score VARCHAR, high_assists VARCHAR, high_points VARCHAR), What is Score, when High Assists is "Rajon Rondo (12)", and when High Points is "Paul Pierce (27)"? |
SELECT 2 AS _3__p_ FROM table_name_76 WHERE verb = "khêla" | CREATE TABLE table_name_76 (verb VARCHAR), WHICH 2/3 (P) has a Verb of khêla? |
SELECT cumulative_time__min_and_seconds_ FROM table_name_93 WHERE shuttle_time__seconds_ > 6 AND total_level_time__s_ = 64.8 | CREATE TABLE table_name_93 (cumulative_time__min_and_seconds_ VARCHAR, shuttle_time__seconds_ VARCHAR, total_level_time__s_ VARCHAR), What is the cumulative time (min and seconds) that has more than 6 seconds in shuttle time and a total level time of 64.8 seconds? |
SELECT AVG(december) FROM table_name_79 WHERE game = 30 | CREATE TABLE table_name_79 (december INTEGER, game VARCHAR), What is average December when game is 30? |
SELECT opponent FROM table_name_55 WHERE game > 23 AND december > 8 AND record = "8-10-7" | CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR, game VARCHAR, december VARCHAR), Which opponent has a game larger than 23, December larger than 8, and record of 8-10-7? |
SELECT COUNT(avg_g) FROM table_name_47 WHERE att_cmp_int = "117–215–6" | CREATE TABLE table_name_47 (avg_g VARCHAR, att_cmp_int VARCHAR), What was the aveg/g for the qb with the Att-Cmp-Int of 117–215–6? |
SELECT MIN(effic) FROM table_name_20 WHERE name = "total" | CREATE TABLE table_name_20 (effic INTEGER, name VARCHAR), What was the total effic for the quarterbacks? |
SELECT att_cmp_int FROM table_name_85 WHERE effic = 127.89 | CREATE TABLE table_name_85 (att_cmp_int VARCHAR, effic VARCHAR), what was the att-cmp-int for the qb with an effic of 127.89? |
SELECT challenge_leader FROM table_name_42 WHERE time = "9:30 pm" AND date = "wed., nov. 28" | CREATE TABLE table_name_42 (challenge_leader VARCHAR, time VARCHAR, date VARCHAR), Who is the challenge leader that played on 9:30 pm on Wed., Nov. 28? |
SELECT location FROM table_name_89 WHERE television = "espnu" AND time = "7:15 pm" AND date = "tue., nov. 27" | CREATE TABLE table_name_89 (location VARCHAR, date VARCHAR, television VARCHAR, time VARCHAR), What is the location of the game that was televised on ESPNU at 7:15 pm on Tue., Nov. 27? |
SELECT tournament FROM table_name_83 WHERE opponent = "lauren embree" | CREATE TABLE table_name_83 (tournament VARCHAR, opponent VARCHAR), In which tournament was the opponent Lauren Embree? |
SELECT score FROM table_name_30 WHERE date = "19/08/2012" | CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR), What was the score on 19/08/2012? |
SELECT outcome FROM table_name_39 WHERE date = "01/07/2007" | CREATE TABLE table_name_39 (outcome VARCHAR, date VARCHAR), What was the outcome of the match on 01/07/2007? |
SELECT status FROM table_name_10 WHERE population = 10 | CREATE TABLE table_name_10 (status VARCHAR, population VARCHAR), What status has 10 as the population? |
SELECT status FROM table_name_90 WHERE area_km_2 < 27.82 AND population = 352 | CREATE TABLE table_name_90 (status VARCHAR, area_km_2 VARCHAR, population VARCHAR), What status has an area km 2 less than 27.82, with 352 as the population? |
SELECT status FROM table_name_22 WHERE area_km_2 > 10.9 AND census_ranking = "4,674 of 5,008" | CREATE TABLE table_name_22 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR), What status has an area km 2 greater than 10.9, with 4,674 of 5,008 as the census ranking |
SELECT MIN(population) FROM table_name_50 WHERE official_name = "big hole tract 8 (south)" AND area_km_2 > 27.82 | CREATE TABLE table_name_50 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR), What is the lowest population that has Big Hole Tract 8 (south) as the official name, with an area km 2 greater than 27.82? |
SELECT MAX(up) AS :down_ratio FROM table_name_72 WHERE upstream = "4 mbit/s" | CREATE TABLE table_name_72 (up INTEGER, upstream VARCHAR), What is the highest up:down ratio with 4 mbit/s upstream? |
SELECT upstream FROM table_name_68 WHERE monthly_cap = "150 gb" | CREATE TABLE table_name_68 (upstream VARCHAR, monthly_cap VARCHAR), What is the upstream with a 150 gb monthly cap? |
SELECT location FROM table_name_31 WHERE score = "3–2" AND record = "3–2–3" | CREATE TABLE table_name_31 (location VARCHAR, score VARCHAR, record VARCHAR), Which location has a Score of 3–2, and a Record of 3–2–3? |
SELECT score FROM table_name_70 WHERE date = "october 29, 2008" | CREATE TABLE table_name_70 (score VARCHAR, date VARCHAR), Which score has a Date of october 29, 2008? |
SELECT SUM(year) FROM table_name_43 WHERE course = "sunset ridge cc" | CREATE TABLE table_name_43 (year INTEGER, course VARCHAR), What is the year when the course is sunset ridge cc? |
SELECT score FROM table_name_80 WHERE location = "olympia fields, illinois" | CREATE TABLE table_name_80 (score VARCHAR, location VARCHAR), what is the score at Olympia fields, illinois? |
SELECT course FROM table_name_98 WHERE year < 1934 AND location = "midlothian, illinois" | CREATE TABLE table_name_98 (course VARCHAR, year VARCHAR, location VARCHAR), what is the course at midlothian, illinois for a year before 1934? |
SELECT location FROM table_name_76 WHERE runner_s__up = "betsy rawls" | CREATE TABLE table_name_76 (location VARCHAR, runner_s__up VARCHAR), Where is runner-up Betsy Rawls from? |
SELECT venue FROM table_name_17 WHERE date = "november 14, 2007" | CREATE TABLE table_name_17 (venue VARCHAR, date VARCHAR), What was the Venue on November 14, 2007? |
SELECT score FROM table_name_76 WHERE date = "november 10, 2007" | CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR), What was the Score on November 10, 2007? |
SELECT competition FROM table_name_64 WHERE date = "november 16, 2007" | CREATE TABLE table_name_64 (competition VARCHAR, date VARCHAR), What was the Competition on November 16, 2007? |
SELECT surface FROM table_name_3 WHERE opponent = "richard fromberg" | CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR), What was the surface tye during the match with the opponent of richard fromberg? |
SELECT championship FROM table_name_8 WHERE opponent = "richard fromberg" | CREATE TABLE table_name_8 (championship VARCHAR, opponent VARCHAR), What was the championship during the match with the opponent of richard fromberg? |
SELECT surface FROM table_name_54 WHERE score = "6–4, 7–6 (7-5)" | CREATE TABLE table_name_54 (surface VARCHAR, score VARCHAR), What was the surface type during the match with the score of 6–4, 7–6 (7-5)?? |
SELECT opponent FROM table_name_25 WHERE round < 3 AND time = "1:02" | CREATE TABLE table_name_25 (opponent VARCHAR, round VARCHAR, time VARCHAR), Who did wilson reis fight against that lasted less than 3 rounds with a time of 1:02? |
SELECT meet FROM table_name_95 WHERE time = "3:50.65" | CREATE TABLE table_name_95 (meet VARCHAR, time VARCHAR), Which Meet has a Time of 3:50.65? |
SELECT time FROM table_name_7 WHERE event = "200 m butterfly" | CREATE TABLE table_name_7 (time VARCHAR, event VARCHAR), Which Time has an Event of 200 m butterfly? |
SELECT meet FROM table_name_67 WHERE club = "centro de natacon carabobo" | CREATE TABLE table_name_67 (meet VARCHAR, club VARCHAR), Which Meet has a Club of centro de natacon carabobo? |
SELECT location FROM table_name_83 WHERE time = "4:13.48" | CREATE TABLE table_name_83 (location VARCHAR, time VARCHAR), Which Location has a Time of 4:13.48? |
SELECT date FROM table_name_90 WHERE time = "1:00.59" | CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR), Which Date has a Time of 1:00.59? |
SELECT location FROM table_name_96 WHERE club = "delfines ucv" | CREATE TABLE table_name_96 (location VARCHAR, club VARCHAR), Which Location has a Club of delfines ucv? |
SELECT name FROM table_name_13 WHERE sport = "tennis" AND notes = "b" | CREATE TABLE table_name_13 (name VARCHAR, sport VARCHAR, notes VARCHAR), Which name has notes b and the game of tennis? |
SELECT lifetime FROM table_name_3 WHERE name = "alan gendreau" | CREATE TABLE table_name_3 (lifetime VARCHAR, name VARCHAR), Which lifetime has alan gendreau? |
SELECT hometown_highschool FROM table_name_81 WHERE weight = 170 AND name = "tyler wilson" | CREATE TABLE table_name_81 (hometown_highschool VARCHAR, weight VARCHAR, name VARCHAR), What was the hometown/high school of 170 pound player tyler wilson? |
SELECT position FROM table_name_41 WHERE name = "kyle mckenzie" | CREATE TABLE table_name_41 (position VARCHAR, name VARCHAR), What position did kyle mckenzie play? |
SELECT date FROM table_name_6 WHERE week > 5 AND attendance = "54,803" | CREATE TABLE table_name_6 (date VARCHAR, week VARCHAR, attendance VARCHAR), Which date has a Week larger than 5, and an Attendance of 54,803? |
SELECT date FROM table_name_92 WHERE week < 14 AND opponent = "san francisco 49ers" | CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR, opponent VARCHAR), Which date has a Week smaller than 14, and an Opponent of san francisco 49ers? |
SELECT opponent FROM table_name_48 WHERE week < 15 AND result = "l 23-17" | CREATE TABLE table_name_48 (opponent VARCHAR, week VARCHAR, result VARCHAR), Which opponent has a week smaller than 15, and a Result of l 23-17? |
SELECT date FROM table_name_78 WHERE opponent = "bye" | CREATE TABLE table_name_78 (date VARCHAR, opponent VARCHAR), Which date has an Opponent of bye? |
SELECT date FROM table_name_18 WHERE result = "l 25-13" | CREATE TABLE table_name_18 (date VARCHAR, result VARCHAR), Which date has a Result of l 25-13? |
SELECT capital FROM table_name_53 WHERE area__km²_ = 2166086 | CREATE TABLE table_name_53 (capital VARCHAR, area__km²_ VARCHAR), What capital has an area of 2166086? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.