context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_78 (diameter__km_ INTEGER, latitude VARCHAR) | WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S? | SELECT MIN(diameter__km_) FROM table_name_78 WHERE latitude = "52.0s" |
CREATE TABLE table_name_42 (city VARCHAR, type_of_game VARCHAR, opponent VARCHAR) | what city has a game of friendly and an opponent of tunisia? | SELECT city FROM table_name_42 WHERE type_of_game = "friendly" AND opponent = "tunisia" |
CREATE TABLE table_name_66 (date VARCHAR, location VARCHAR, casualties VARCHAR, circumstances VARCHAR) | When was the location 15km NW of Pol-E Khomri, the circumstaances IED and the casualties of 1 WIA? | SELECT date FROM table_name_66 WHERE casualties = "1 wia" AND circumstances = "ied" AND location = "15km nw of pol-e khomri" |
CREATE TABLE table_name_29 (mwehl_team VARCHAR, player VARCHAR) | Which MWEHL team has player Ben Johnson? | SELECT mwehl_team FROM table_name_29 WHERE player = "ben johnson" |
CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR) | What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre? | SELECT result FROM table_name_32 WHERE competition = "2006 fifa world cup qualifier" AND venue = "warner park sporting complex, bassaterre" |
CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, competition VARCHAR) | What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier? | SELECT venue FROM table_name_21 WHERE score = "5–0" AND competition = "2007 caribbean cup qualifier" |
CREATE TABLE table_name_16 (points INTEGER, year VARCHAR, entrant VARCHAR, chassis VARCHAR) | What are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968? | SELECT AVG(points) FROM table_name_16 WHERE entrant = "scuderia scribante" AND chassis = "brabham bt11" AND year < 1968 |
CREATE TABLE table_name_20 (points VARCHAR, year VARCHAR, chassis VARCHAR) | How many points are there for a Mclaren m23 chassis later than 1972? | SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23" |
CREATE TABLE table_name_1 (score INTEGER, country VARCHAR, venue VARCHAR) | What was France's highest score when the venue was Bokskogens? | SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens" |
CREATE TABLE table_name_31 (top_25 INTEGER, events INTEGER) | Name the averae top 25 with events less than 0 | SELECT AVG(top_25) FROM table_name_31 WHERE events < 0 |
CREATE TABLE table_name_95 (value__ INTEGER, revenue__$m_ VARCHAR, country VARCHAR, operating_income_$m_ VARCHAR) | What was the average Value ($M) when the Country was England, the Operating income($m) was greater than -5, and the Revenue ($M) was smaller than 103? | SELECT AVG(value__) AS $m_ FROM table_name_95 WHERE country = "england" AND operating_income_$m_ > -5 AND revenue__$m_ < 103 |
CREATE TABLE table_name_54 (value__ VARCHAR, debt_as__percentageof_value VARCHAR, country VARCHAR, rank VARCHAR) | What was the total amount of Value ($M), when the Country was Spain, the Rank was 19, and the Debt as % of value was larger than 159? | SELECT COUNT(value__) AS $m_ FROM table_name_54 WHERE country = "spain" AND rank = 19 AND debt_as__percentageof_value > 159 |
CREATE TABLE table_name_35 (revenue__ INTEGER, debt_as__percentageof_value VARCHAR, operating_income_$m_ VARCHAR) | What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77? | SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__percentageof_value > 27 AND operating_income_$m_ = 77 |
CREATE TABLE table_name_72 (finish VARCHAR, engine VARCHAR, team VARCHAR) | What position did team scandia finish when their engine was cosworth? | SELECT finish FROM table_name_72 WHERE engine = "cosworth" AND team = "team scandia" |
CREATE TABLE table_name_19 (date INTEGER, partner VARCHAR, score VARCHAR) | When was the most recent game that he partnered with nicklas kulti and they scored 3–6, 7–6, 6–4? | SELECT MAX(date) FROM table_name_19 WHERE partner = "nicklas kulti" AND score = "3–6, 7–6, 6–4" |
CREATE TABLE table_name_95 (call_sign VARCHAR, city_of_license VARCHAR) | What Call sign has a City of license of higgston, ga? | SELECT call_sign FROM table_name_95 WHERE city_of_license = "higgston, ga" |
CREATE TABLE table_name_5 (recipient_s_ VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR) | Who was the recipient when the show was nominated for Most Popular Drama after 2004? | SELECT recipient_s_ FROM table_name_5 WHERE result = "nominated" AND category = "most popular drama" AND year > 2004 |
CREATE TABLE table_name_84 (opponents VARCHAR, competition VARCHAR) | Who was the opponent at the Football League Trophy competition? | SELECT opponents FROM table_name_84 WHERE competition = "football league trophy" |
CREATE TABLE table_name_64 (player VARCHAR, place VARCHAR, score VARCHAR) | What is the Player that has a Place of t2, and a Score of 74-70-68=212? | SELECT player FROM table_name_64 WHERE place = "t2" AND score = 74 - 70 - 68 = 212 |
CREATE TABLE table_name_97 (general_classification VARCHAR, young_rider_classification VARCHAR, points_classification VARCHAR) | Name the general classification with roman kreuziger and points classification of fabian cancellara | SELECT general_classification FROM table_name_97 WHERE young_rider_classification = "roman kreuziger" AND points_classification = "fabian cancellara" |
CREATE TABLE table_name_14 (date VARCHAR, displacement VARCHAR, nationality VARCHAR, type VARCHAR) | what is the date when the nationality is united kingdom, the type is freighter and the displacement is 5,145 t? | SELECT date FROM table_name_14 WHERE nationality = "united kingdom" AND type = "freighter" AND displacement = "5,145 t" |
What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29? | SELECT SUM(*) FROM table_name_51 WHERE air_date = "june 25, 2009" AND order > 29 |
|
CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR) | Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905? | SELECT appointed_by FROM table_name_15 WHERE title = "envoy extraordinary and minister plenipotentiary" AND termination_of_mission = "march 16, 1905" |
CREATE TABLE table_name_29 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR) | What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861? | SELECT gdp__billion_us$_ FROM table_name_29 WHERE gdp_per_capita__us$_ = "8,861" |
CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR) | What is the total of Final year that has a Notes of replaced by i-96? | SELECT SUM(final_year) FROM table_name_15 WHERE notes = "replaced by i-96" |
CREATE TABLE table_name_2 (winning_score VARCHAR, date VARCHAR) | What was the Winning Score on May 29, 1977? | SELECT winning_score FROM table_name_2 WHERE date = "may 29, 1977" |
CREATE TABLE table_name_62 (date VARCHAR, runner_s__up VARCHAR) | On what Date was Patty Sheehan Runner(s)-up? | SELECT date FROM table_name_62 WHERE runner_s__up = "patty sheehan" |
CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR) | What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes? | SELECT number_of_votes FROM table_name_74 WHERE candidate = "edward mahama" AND election < 2004 AND share_of_votes = "3.0%" |
CREATE TABLE table_name_22 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR) | What is the total number of First Elected that has counties represented of Anne Arundel, District of 30, and a Ways and Means Committee? | SELECT COUNT(first_elected) FROM table_name_22 WHERE counties_represented = "anne arundel" AND district = "30" AND committee = "ways and means" |
CREATE TABLE table_name_30 (notes VARCHAR, language VARCHAR, title VARCHAR) | What is the note section for the role with a language of hindi and a title of miley naa miley hum? | SELECT notes FROM table_name_30 WHERE language = "hindi" AND title = "miley naa miley hum" |
CREATE TABLE table_name_31 (attendance VARCHAR, away_team VARCHAR, home_team VARCHAR) | How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia? | SELECT attendance FROM table_name_31 WHERE away_team = "dynamo kyiv" AND home_team = "torpedo zaporizhia" |
CREATE TABLE table_name_80 (white VARCHAR, opening VARCHAR, year VARCHAR, moves VARCHAR, black VARCHAR) | What's the white of E93 King's Indian Defence when Kasparov was black, moves were greater than 19, and happened before 2000? | SELECT white FROM table_name_80 WHERE moves > 19 AND black = "kasparov" AND year < 2000 AND opening = "e93 king's indian defence" |
CREATE TABLE table_name_98 (roll VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR) | What is the total roll with a decile less than 7, and an authority of state, in the Macraes Flat area? | SELECT COUNT(roll) FROM table_name_98 WHERE decile = 7 AND authority = "state" AND area = "macraes flat" |
CREATE TABLE table_name_51 (school_club_team VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR) | What's the United States team that played for the Grizzlies in 1995-1996? | SELECT school_club_team FROM table_name_51 WHERE nationality = "united states" AND years_for_grizzlies = "1995-1996" |
CREATE TABLE table_name_91 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, points VARCHAR) | Name the points against when tries against is 51 and points is 52 with played of 22 | SELECT points_against FROM table_name_91 WHERE played = "22" AND points = "52" AND tries_against = "51" |
CREATE TABLE table_name_27 (points_against VARCHAR, club VARCHAR) | Name the points against for cwmllynfell rfc | SELECT points_against FROM table_name_27 WHERE club = "cwmllynfell rfc" |
CREATE TABLE table_name_8 (lead VARCHAR, polling_firm VARCHAR, psoe VARCHAR) | What is lead for the Election Results polling firm and has a PSOE of 39.6% 175? | SELECT lead FROM table_name_8 WHERE polling_firm = "election results" AND psoe = "39.6% 175" |
CREATE TABLE table_name_64 (position VARCHAR, pick__number VARCHAR, overall VARCHAR, round VARCHAR) | Which was the position for overall less than 254, round less than 5 and pick number less than 13? | SELECT position FROM table_name_64 WHERE overall < 254 AND round < 5 AND pick__number < 13 |
CREATE TABLE table_name_68 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR) | Who had the lowest field goals but had 10 points and more than 2 touchdowns? | SELECT MIN(field_goals) FROM table_name_68 WHERE points = 10 AND touchdowns > 2 |
CREATE TABLE table_name_71 (top_25 INTEGER, top_5 VARCHAR, wins VARCHAR) | Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11? | SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 9 AND wins < 11 |
CREATE TABLE table_name_25 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) | What is the opponent with the outcome of runner-up with a date of 19 september 1994? | SELECT opponent FROM table_name_25 WHERE outcome = "runner-up" AND date = "19 september 1994" |
CREATE TABLE table_name_99 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR) | What was the average total medals received by Roland Hayes School when there were 0 gold medals? | SELECT AVG(total_medals) FROM table_name_99 WHERE gold_medals = 0 AND ensemble = "roland hayes school" |
CREATE TABLE table_name_27 (games INTEGER, team VARCHAR, rebounds VARCHAR) | How many games did team iurbentia bilbao have with rebounds higher than 212? | SELECT SUM(games) FROM table_name_27 WHERE team = "iurbentia bilbao" AND rebounds > 212 |
CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR) | Which Home team has a Score of 1–1, and an Away team of tottenham hotspur? | SELECT home_team FROM table_name_68 WHERE score = "1–1" AND away_team = "tottenham hotspur" |
CREATE TABLE table_name_36 (year VARCHAR, notes VARCHAR, competition VARCHAR) | what is the year when the notes is 5000 m and the competition is world junior championships in athletics? | SELECT COUNT(year) FROM table_name_36 WHERE notes = "5000 m" AND competition = "world junior championships in athletics" |
CREATE TABLE table_name_93 (authority VARCHAR, name VARCHAR, gender VARCHAR, area VARCHAR) | In the tkkm o manawatu coed school in kelvin grove, what is the Authority listed/ | SELECT authority FROM table_name_93 WHERE gender = "coed" AND area = "kelvin grove" AND name = "tkkm o manawatu" |
CREATE TABLE table_name_49 (authority VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR) | which Authority has a coed school with a decile greater than 4, with a 150 roll? | SELECT authority FROM table_name_49 WHERE gender = "coed" AND decile > 4 AND roll = "150" |
CREATE TABLE table_name_22 (release_date VARCHAR, dvd_title VARCHAR) | What is the release date for Ben 10: Alien Force Volume 9 on DVD? | SELECT release_date FROM table_name_22 WHERE dvd_title = "ben 10: alien force volume 9" |
CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR) | What the episode count for Ben 10: Alien Force Volume 8 on DVD? | SELECT episode_count FROM table_name_90 WHERE dvd_title = "ben 10: alien force volume 8" |
CREATE TABLE table_name_54 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR, bronze VARCHAR) | What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2? | SELECT MIN(total) FROM table_name_54 WHERE rank > 2 AND bronze = 1 AND silver > 0 AND gold < 0 |
CREATE TABLE table_name_84 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR) | When John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters? | SELECT sideline_reporters FROM table_name_84 WHERE color_commentator = "john harkes" AND pregame_analysts = "alexi lalas and steve mcmanaman" |
CREATE TABLE table_name_74 (pregame_analysts VARCHAR, color_commentator VARCHAR, network VARCHAR) | Who does pregame analysts for TSN2 network when Taylor Twellman is the color commentator? | SELECT pregame_analysts FROM table_name_74 WHERE color_commentator = "taylor twellman" AND network = "tsn2" |
CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR) | which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis? | SELECT order FROM table_name_26 WHERE family = "vespertilionidae" AND name = "northern long-eared myotis" |
CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR) | How many points did Newport RFC get? | SELECT points FROM table_name_58 WHERE club = "newport rfc" |
CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, pick VARCHAR) | Which Round is the lowest one that has a School/Club Team of alabama, and a Pick larger than 43? | SELECT MIN(round) FROM table_name_87 WHERE school_club_team = "alabama" AND pick > 43 |
CREATE TABLE table_name_35 (class VARCHAR, call_sign VARCHAR) | \What is the class of the station with the call sign w254ah? | SELECT class FROM table_name_35 WHERE call_sign = "w254ah" |
CREATE TABLE table_name_63 (position INTEGER, club VARCHAR, goal_difference VARCHAR) | What is the position of club Melilla CF, with a goal difference smaller than -10? | SELECT SUM(position) FROM table_name_63 WHERE club = "melilla cf" AND goal_difference < -10 |
CREATE TABLE table_name_24 (max_height__ft_ INTEGER, time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR) | What is the average maximum height of the shell smaller than 12.5 lb that reached its maximum height at 25° in 10.1 seconds? | SELECT AVG(max_height__ft_) FROM table_name_24 WHERE time_to_ft__m__at_25°__seconds_ = "10.1" AND shell__lb_ < 12.5 |
CREATE TABLE table_name_63 (state VARCHAR, talent VARCHAR, hometown VARCHAR) | What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY? | SELECT state FROM table_name_63 WHERE talent = "classical piano" AND hometown = "lancaster, ny" |
CREATE TABLE table_name_51 (type VARCHAR, location VARCHAR) | What was the school type for Los Angeles, California? | SELECT type FROM table_name_51 WHERE location = "los angeles, california" |
CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR) | What was the earliest year that Yvette Alexander took office and was up for reelection after 2016? | SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016 |
CREATE TABLE table_name_90 (location_attendance VARCHAR, game VARCHAR, record VARCHAR) | What is the location and attendance of the game with a game number greater than 7 and a record of 5-2-1? | SELECT location_attendance FROM table_name_90 WHERE game > 7 AND record = "5-2-1" |
CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR) | What is the location of the tallahassee open, with a Score of 269 (–19)? | SELECT location FROM table_name_83 WHERE score = "269 (–19)" AND tournament = "tallahassee open" |
CREATE TABLE table_name_23 (frequency VARCHAR, branding VARCHAR) | What Frequency's Branding is Your Cure for Corporate Radio? | SELECT frequency FROM table_name_23 WHERE branding = "your cure for corporate radio" |
CREATE TABLE table_name_19 (call_sign VARCHAR, branding VARCHAR) | What is the Call sign of the Frequency 106.9 the X? | SELECT call_sign FROM table_name_19 WHERE branding = "106.9 the x" |
CREATE TABLE table_name_76 (intra_molecular_structure VARCHAR, comparative VARCHAR, name VARCHAR) | Which Intra-molecular structure has a Comparative of no, and a Name of mitarget? | SELECT intra_molecular_structure FROM table_name_76 WHERE comparative = "no" AND name = "mitarget" |
CREATE TABLE table_name_71 (cdt___5_utc_ VARCHAR, edt___4_utc_ VARCHAR) | What time is CDT when EDT is 4:55 a.m.? | SELECT cdt___5_utc_ FROM table_name_71 WHERE edt___4_utc_ = "4:55 a.m." |
CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR) | How many clubs does the student named "Eric Tai" belong to? | SELECT COUNT(DISTINCT t1.clubname) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Eric" AND t3.lname = "Tai" |
CREATE TABLE table_name_11 (area__km²_ VARCHAR, gdp_per_capita__us$_ VARCHAR) | What is the area of the nation with GDP per capita (US$) of 11,929? | SELECT area__km²_ FROM table_name_11 WHERE gdp_per_capita__us$_ = "11,929" |
CREATE TABLE table_name_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR) | What time is MDT when EDT is set and PDT is 6:00 a.m.? | SELECT mdt___6_utc_ FROM table_name_58 WHERE edt___4_utc_ = "set" AND pdt___7_utc_ = "6:00 a.m." |
CREATE TABLE table_name_4 (number_of_districts__kecamatan_ INTEGER, villages VARCHAR, geographical_unit VARCHAR, number_of_regencies__kabupaten_ VARCHAR) | What is the sum of the number of districts (kecamatan) in the geographical unit of java with more than 4 recencies (kabupaten) and less than 8,577 villages? | SELECT SUM(number_of_districts__kecamatan_) FROM table_name_4 WHERE geographical_unit = "java" AND number_of_regencies__kabupaten_ > 4 AND villages < 8 OFFSET 577 |
CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR) | Who is the Driver on Bob Keselowski's team? | SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = "bob keselowski" |
CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR) | What is south africa's margin of victory? | SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa" |
CREATE TABLE table_name_5 (tournament VARCHAR) | What was the value in 2009 when 2005 was A for the Australian Open? | SELECT 2009 FROM table_name_5 WHERE 2005 = "a" AND tournament = "australian open" |
CREATE TABLE table_name_83 (score VARCHAR, home VARCHAR, date VARCHAR) | Which Score has a Home of quebec nordiques on april 16? | SELECT score FROM table_name_83 WHERE home = "quebec nordiques" AND date = "april 16" |
CREATE TABLE table_name_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR) | What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is "Al Brosch"? | SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = "al brosch" |
CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR) | What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006? | SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006" |
CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR) | What was the game result on November 16, 1969? | SELECT result FROM table_name_83 WHERE date = "november 16, 1969" |
CREATE TABLE table_name_55 (points_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR) | How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have? | SELECT points_classification FROM table_name_55 WHERE young_rider_classification = "lech piasecki" AND general_classification = "stephen roche" AND winner = "carrera jeans-vagabond" |
CREATE TABLE table_name_31 (payment VARCHAR, type VARCHAR, release_date VARCHAR) | Which Payment has a Type of 2d, and a Release date of january 2003? | SELECT payment FROM table_name_31 WHERE type = "2d" AND release_date = "january 2003" |
CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR) | What is the D43 associated with a D41 of r 16? | SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16" |
CREATE TABLE table_name_2 (place VARCHAR, event VARCHAR) | what is the place when the event is 4000 m individual pursuit? | SELECT place FROM table_name_2 WHERE event = "4000 m individual pursuit" |
CREATE TABLE table_name_49 (result VARCHAR, week VARCHAR, date VARCHAR) | After week 11, what was the Result on December 13, 1964? | SELECT result FROM table_name_49 WHERE week > 11 AND date = "december 13, 1964" |
CREATE TABLE table_name_1 (player VARCHAR, place VARCHAR) | What is the Place 2 Player? | SELECT player FROM table_name_1 WHERE place = "2" |
CREATE TABLE table_name_51 (opponents VARCHAR, date VARCHAR) | what was the opponent on 26 october 1889? | SELECT opponents FROM table_name_51 WHERE date = "26 october 1889" |
CREATE TABLE table_name_80 (Id VARCHAR) | 1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]? | SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131 |
CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR) | What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini? | SELECT elevator FROM table_name_25 WHERE elevated = "1378, september 18" AND order = "cardinal-priest" AND elector = "poncello orsini" |
CREATE TABLE table_name_55 (championship VARCHAR, outcome VARCHAR, opponents_in_final VARCHAR) | What is Championship, when Outcome is "runner-up", and when Opponents In Final is "Gigi Fernández Natalia Zvereva"? | SELECT championship FROM table_name_55 WHERE outcome = "runner-up" AND opponents_in_final = "gigi fernández natalia zvereva" |
CREATE TABLE table_name_13 (games VARCHAR, points VARCHAR, drawn VARCHAR) | How many games have more than 10 points and more than 2 draws? | SELECT COUNT(games) FROM table_name_13 WHERE points = 10 AND drawn > 2 |
CREATE TABLE table_name_71 (range__varies_with_payload_weight_ VARCHAR, name_designation VARCHAR) | What is the range (varies by payload weight) for Shahab-4? | SELECT range__varies_with_payload_weight_ FROM table_name_71 WHERE name_designation = "shahab-4" |
CREATE TABLE table_name_34 (range__varies_with_payload_weight_ VARCHAR, payload VARCHAR) | What is the range (varies by payload weight) for the unknown player? | SELECT range__varies_with_payload_weight_ FROM table_name_34 WHERE payload = "unknown" |
CREATE TABLE table_name_12 (payload VARCHAR, class VARCHAR, range__varies_with_payload_weight_ VARCHAR) | What is the payload for Class MRBM, and a range of 1,930km? | SELECT payload FROM table_name_12 WHERE class = "mrbm" AND range__varies_with_payload_weight_ = "1,930km" |
CREATE TABLE table_name_93 (votes INTEGER, draw VARCHAR, artist VARCHAR) | How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have? | SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = "yvetta kadakas & ivo linna" |
CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR) | What's the February for the game against the Montreal Canadiens? | SELECT SUM(february) FROM table_name_88 WHERE opponent = "montreal canadiens" |
CREATE TABLE table_name_94 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR) | Which Venue has an Event of marathon, and a Year larger than 1995, and a Position of 4th? | SELECT venue FROM table_name_94 WHERE event = "marathon" AND year > 1995 AND position = "4th" |
CREATE TABLE table_name_8 (position VARCHAR, year VARCHAR, event VARCHAR, competition VARCHAR) | Which Position has an Event of 10,000 m, and a Competition of world championships, and a Year larger than 1993? | SELECT position FROM table_name_8 WHERE event = "10,000 m" AND competition = "world championships" AND year > 1993 |
CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR) | Which Winner has a Score of 1 – 0, and a Season of 2011–12? | SELECT winner FROM table_name_30 WHERE score = "1 – 0" AND season = "2011–12" |
CREATE TABLE table_name_75 (frequency VARCHAR, callsign VARCHAR, purpose VARCHAR, on_air_id VARCHAR) | 4tab of commercial broadcaster Radio Tab broadcasts at what frequency? | SELECT frequency FROM table_name_75 WHERE purpose = "commercial" AND on_air_id = "radio tab" AND callsign = "4tab" |
CREATE TABLE table_name_20 (company VARCHAR, business VARCHAR, date VARCHAR) | What company has an unknown date and is an energy business? | SELECT company FROM table_name_20 WHERE business = "energy" AND date = "unknown" |
CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR) | For the United Kingdom, what's the date? | SELECT date FROM table_name_88 WHERE country = "united kingdom" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.