context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_64 (city_of_license VARCHAR, call_sign VARCHAR) | Which City of license has a Call sign of w220ba? | SELECT city_of_license FROM table_name_64 WHERE call_sign = "w220ba" |
CREATE TABLE table_name_98 (erp_w INTEGER, frequency_mhz VARCHAR) | Which ERP W has a Frequency MHz of 89.3 fm? | SELECT MAX(erp_w) FROM table_name_98 WHERE frequency_mhz = "89.3 fm" |
CREATE TABLE table_name_50 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR) | Which Perth has Auckland yes and Gold Coast yes? | SELECT perth FROM table_name_50 WHERE auckland = "yes" AND gold_coast = "yes" |
CREATE TABLE table_name_43 (year VARCHAR, category VARCHAR, result VARCHAR) | Name the year with the best female pop vocal album and result of won | SELECT year FROM table_name_43 WHERE category = "best female pop vocal album" AND result = "won" |
CREATE TABLE table_name_62 (money___£__ VARCHAR, score VARCHAR) | How much money does the player with a 68-67-69-71=275 score have? | SELECT money___£__ FROM table_name_62 WHERE score = 68 - 67 - 69 - 71 = 275 |
CREATE TABLE table_name_74 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR) | Which is the highest total at rank 6, bronze 2, and gold larger than 0? | SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0 |
CREATE TABLE table_name_18 (score VARCHAR, home_team VARCHAR, venue VARCHAR) | What was the score at Spartan Stadium when San Jose was the Home team? | SELECT score FROM table_name_18 WHERE home_team = "san jose" AND venue = "spartan stadium" |
CREATE TABLE table_name_31 (years VARCHAR, jersey_number_s_ VARCHAR, player VARCHAR) | What years did Elden Campbell category:articles with hcards and jersesy number of 41 play? | SELECT years FROM table_name_31 WHERE jersey_number_s_ = 41 AND player = "elden campbell category:articles with hcards" |
CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR) | In which city is the network with the callsign kgns-dt3 licensed? | SELECT city_of_license FROM table_name_71 WHERE callsign = "kgns-dt3" |
CREATE TABLE table_name_80 (introduced VARCHAR, retired VARCHAR, manufacturer VARCHAR) | How many in the introduced segment retired later than 1994 and had Fokker as a manufacturer? | SELECT COUNT(introduced) FROM table_name_80 WHERE retired > 1994 AND manufacturer = "fokker" |
CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR) | What competition did he compete in before 2007 in gothenburg, sweden? | SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden" |
CREATE TABLE table_name_19 (draws INTEGER, points VARCHAR, position VARCHAR, wins VARCHAR) | What was the sum of the draws for the team that had 11 wins, less than 38 points, and a position smaller than 4? | SELECT SUM(draws) FROM table_name_19 WHERE position < 4 AND wins = 11 AND points < 38 |
CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR) | What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points? | SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23 |
CREATE TABLE table_name_20 (pos VARCHAR, tier VARCHAR, cup_competitions VARCHAR) | What is the pos with more than 1 tier during Pokal Slovenije 1. round? | SELECT pos FROM table_name_20 WHERE tier > 1 AND cup_competitions = "pokal slovenije 1. round" |
CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR) | Who was the manager for the team with captain Neil Redfearn? | SELECT manager_1 FROM table_name_24 WHERE captain = "neil redfearn" |
CREATE TABLE table_name_56 (captain VARCHAR, team VARCHAR) | Who was the team captain for Crystal Palace? | SELECT captain FROM table_name_56 WHERE team = "crystal palace" |
CREATE TABLE table_name_60 (round INTEGER, school VARCHAR) | What is the highest round that has a draftee from Washington State University? | SELECT MAX(round) FROM table_name_60 WHERE school = "washington state university" |
CREATE TABLE table_name_42 (points INTEGER, entrant VARCHAR, chassis VARCHAR) | What is the total number of Points that Peter Whitehead earned in a Ferrari 125? | SELECT SUM(points) FROM table_name_42 WHERE entrant = "peter whitehead" AND chassis = "ferrari 125" |
CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) | What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1–3? | SELECT record FROM table_name_32 WHERE score = "1–3" AND visitor = "chicago black hawks" AND date = "november 15" |
CREATE TABLE table_name_70 (_percentage_2006 INTEGER, seats_2001 VARCHAR, _percentage_2001 VARCHAR) | When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006? | SELECT AVG(_percentage_2006) FROM table_name_70 WHERE seats_2001 > 15 AND _percentage_2001 > 100 |
CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR) | What were the circumstances of the Hostile incident on the road to Jalalabad? | SELECT circumstances FROM table_name_18 WHERE nature_of_incident = "hostile" AND location = "road to jalalabad" |
CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR) | What is Record, when Location Attendance, is Madison Square Garden 19,009? | SELECT record FROM table_name_32 WHERE location_attendance = "madison square garden 19,009" |
CREATE TABLE table_name_51 (Chinese VARCHAR, index VARCHAR, status VARCHAR, country VARCHAR) | What is the Chinese name of the Eliminated player from Singapore in Index f9? | SELECT Chinese AS name FROM table_name_51 WHERE status = "eliminated" AND country = "singapore" AND index = "f9" |
CREATE TABLE table_name_67 (name VARCHAR, country VARCHAR, index VARCHAR) | What is the name of the player from Malaysia, Kuala Lumpur in Index f8? | SELECT name FROM table_name_67 WHERE country = "malaysia, kuala lumpur" AND index = "f8" |
CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR) | What was the placing of the race in which Chic won by 8gf? | SELECT placing FROM table_name_58 WHERE beat_by = "won" AND distance = "8gf" |
CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR) | What year did Ivanovic win with Ivanovic greater than 4 and round of R16? | SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16" |
CREATE TABLE table_name_38 (year INTEGER, remixed_by VARCHAR) | What the highest Year with a Remixed by Laurent Boutonnat? | SELECT MAX(year) FROM table_name_38 WHERE remixed_by = "laurent boutonnat" |
CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR) | Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010? | SELECT AVG(inhabitants) FROM table_name_36 WHERE party = "south tyrolean people's party" AND municipality = "bruneck" AND election > 2010 |
CREATE TABLE table_name_94 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR) | Name the award won for category of choice tv villain in years after 2008 | SELECT award FROM table_name_94 WHERE result = "won" AND category = "choice tv villain" AND year > 2008 |
CREATE TABLE table_name_35 (week INTEGER, result VARCHAR) | What is the number week with a result of w 40–62? | SELECT SUM(week) FROM table_name_35 WHERE result = "w 40–62" |
CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR) | Which Adelaide has Sydney yes, Melbourne yes, and Perth no? | SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no" |
CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR) | Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes? | SELECT perth FROM table_name_56 WHERE gold_coast = "yes" AND sydney = "yes" AND melbourne = "yes" AND adelaide = "yes" |
CREATE TABLE table_name_11 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR, perth VARCHAR) | Which Melbourne has Gold Coast yes, Perth cancelled, and Adelaide cancelled? | SELECT melbourne FROM table_name_11 WHERE gold_coast = "yes" AND perth = "cancelled" AND adelaide = "cancelled" |
CREATE TABLE table_name_33 (gross VARCHAR, territory VARCHAR) | What is the gross in the United Kingdom? | SELECT gross FROM table_name_33 WHERE territory = "united kingdom" |
CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR) | Name the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged | SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND platelet_count = "unaffected" AND bleeding_time = "prolonged" |
CREATE TABLE table_name_32 (popular_vote INTEGER, year VARCHAR, liberal_leader VARCHAR, seats_won VARCHAR) | Which Popular vote has a Liberal leader of king, and Seats won larger than 116, and a Year of 1921? | SELECT AVG(popular_vote) FROM table_name_32 WHERE liberal_leader = "king" AND seats_won > 116 AND year = "1921" |
CREATE TABLE table_name_94 (liberal_candidates VARCHAR, seats_won VARCHAR, liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR) | How many Liberal candidates have a Liberal leader of pearson, and a % of popular vote of 40.2%, and Seats won smaller than 131? | SELECT COUNT(liberal_candidates) FROM table_name_94 WHERE liberal_leader = "pearson" AND _percentage_of_popular_vote = "40.2%" AND seats_won < 131 |
CREATE TABLE table_name_52 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR) | Name the condition with platelet count of unaffected and bleeding time of unaffected with prothrombin time of prolonged and partial thromboplastin time of prolonged | SELECT condition FROM table_name_52 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND prothrombin_time = "prolonged" AND partial_thromboplastin_time = "prolonged" |
CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR) | What is Score, when Game is less than 61, when February is less than 11, and when Opponent is "@ Buffalo Sabres"? | SELECT score FROM table_name_25 WHERE game < 61 AND february < 11 AND opponent = "@ buffalo sabres" |
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR) | What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners? | SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears" |
CREATE TABLE table_name_3 (year VARCHAR, runner_up VARCHAR, winners VARCHAR) | Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners? | SELECT year FROM table_name_3 WHERE runner_up = "utc" AND winners = "saint-gaudens bears" |
CREATE TABLE table_name_12 (draws VARCHAR, name VARCHAR) | what is the number of draws for ali said gouled? | SELECT COUNT(draws) FROM table_name_12 WHERE name = "ali said gouled" |
CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR) | What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom Black Category:Articles With hCards? | SELECT position FROM table_name_50 WHERE nationality = "united states" AND jersey_number_s_ = "12" AND player = "tom black category:articles with hcards" |
CREATE TABLE table_name_66 (school_colors VARCHAR, main_campus_location VARCHAR) | What are the school colors for the college whose main campus is overland park? | SELECT school_colors FROM table_name_66 WHERE main_campus_location = "overland park" |
CREATE TABLE table_name_10 (recopa_sudamericana_1996 VARCHAR, copa_conmebol_1996 VARCHAR, team VARCHAR) | What is the recoupa sudaamericana 1996 result of team flamengo, which did not qualify for the copa conmebol 1996? | SELECT recopa_sudamericana_1996 FROM table_name_10 WHERE copa_conmebol_1996 = "did not qualify" AND team = "flamengo" |
CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) | What was the tier versus Annalisa bona? | SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "annalisa bona" |
CREATE TABLE table_name_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR) | What is the Version of the CD release on June 12, 2008 in Cyprus? | SELECT version FROM table_name_82 WHERE format = "cd" AND date = "june 12, 2008" AND region = "cyprus" |
CREATE TABLE table_name_14 (game INTEGER, inning VARCHAR, opposing_pitcher VARCHAR) | What is the lowest Game where Inning is 6th, and the Opposing Pitcher is cliff curtis? | SELECT MIN(game) FROM table_name_14 WHERE inning = "6th" AND opposing_pitcher = "cliff curtis" |
CREATE TABLE table_name_93 (nominating_festival VARCHAR, film VARCHAR) | Name the nominating festival for un cartus de kent si un pachet de cafea | SELECT nominating_festival FROM table_name_93 WHERE film = "un cartus de kent si un pachet de cafea" |
CREATE TABLE table_name_22 (result_f___a VARCHAR, round VARCHAR) | What was the result F-A for round 5? | SELECT result_f___a FROM table_name_22 WHERE round = "round 5" |
CREATE TABLE table_name_32 (event VARCHAR, city VARCHAR) | What was the Event in the city of copenhagen? | SELECT event FROM table_name_32 WHERE city = "copenhagen" |
CREATE TABLE table_name_69 (result VARCHAR, year VARCHAR, award VARCHAR) | What was the result for song of the year award in 1994? | SELECT result FROM table_name_69 WHERE year = 1994 AND award = "song of the year" |
CREATE TABLE table_name_77 (money___$__ VARCHAR, player VARCHAR) | what is the money for trevor immelman? | SELECT money___$__ FROM table_name_77 WHERE player = "trevor immelman" |
CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR) | Manager of marty berghammer, and a Finish of 1st involved what lowest year? | SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st" |
CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR) | What location has more than 2 games with 2:56? | SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56" |
CREATE TABLE table_name_33 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) | what is the total number of seats 2006 that has parties and voter turnout in % and whose %2006 is greater than 51.5? | SELECT SUM(seats_2006) FROM table_name_33 WHERE parties_and_voter_communities = "voter turnout in %" AND _percentage_2006 > 51.5 |
CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR) | what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu? | SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND seats_2006 > 10 |
CREATE TABLE table_name_69 (company VARCHAR, price_in_usd VARCHAR) | Name the Company which has a Price in USD of free / negotiable? | SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable" |
CREATE TABLE table_name_15 (attribute VARCHAR, cancelable VARCHAR, bubbles VARCHAR) | Which of the attributes has is cancelable and an answer of yes for bubbles? | SELECT attribute FROM table_name_15 WHERE cancelable = "yes" AND bubbles = "yes" |
What is the total number of 1st prize ($) that has a United States country with a score lower than 271 and in a year after 1964 with a winner of Bobby Mitchell? | SELECT COUNT(*) AS $__ FROM table_name_15 WHERE country = "united states" AND score < 271 AND year > 1964 AND winner = "bobby mitchell" |
|
CREATE TABLE table_name_89 (laps INTEGER, finish VARCHAR) | What is the highest laps with a 30 finish? | SELECT MAX(laps) FROM table_name_89 WHERE finish = "30" |
CREATE TABLE table_name_48 (Champions INTEGER, total VARCHAR, position VARCHAR) | What is the most Champions League assists for those with a total of 6 and position of Midfielder? | SELECT MAX(Champions) AS league FROM table_name_48 WHERE total = 6 AND position = "midfielder" |
CREATE TABLE table_name_10 (others VARCHAR, szdsz VARCHAR, fidesz VARCHAR) | What percentage of others have an SZDSZ of 4% and a Fidesz of 60%? | SELECT others FROM table_name_10 WHERE szdsz = "4%" AND fidesz = "60%" |
CREATE TABLE table_name_46 (fac___lc_apps INTEGER, fa_yc VARCHAR, fac___lc_g VARCHAR, cl_g VARCHAR, pl_apps VARCHAR) | What is the average FAC/LC apps with a CL G greater than 0, less than 33 PL apps, a FAC/LC G of 0, and less than 2 FA YC? | SELECT AVG(fac___lc_apps) FROM table_name_46 WHERE cl_g > 0 AND pl_apps < 33 AND fac___lc_g = 0 AND fa_yc < 2 |
CREATE TABLE table_name_14 (date VARCHAR, others VARCHAR, szdsz VARCHAR) | On what date do others have 5% with an SZDSZ of 5%? | SELECT date FROM table_name_14 WHERE others = "5%" AND szdsz = "5%" |
CREATE TABLE table_name_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR) | What is the total PL G of player pennant, who has less than 7 CL G, less than 7 CL apps, and a FA YC of 0? | SELECT COUNT(pl_g) FROM table_name_74 WHERE cl_g < 7 AND cl_apps < 7 AND fa_yc = 0 AND player = "pennant" |
CREATE TABLE table_name_10 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | What is the original title of the film for which Dersu Uzala was nominated? | SELECT original_title FROM table_name_10 WHERE film_title_used_in_nomination = "dersu uzala" |
CREATE TABLE table_name_34 (outcome VARCHAR, opponents VARCHAR) | What was the outcome when darija jurak anaïs laurendon was the opponent? | SELECT outcome FROM table_name_34 WHERE opponents = "darija jurak anaïs laurendon" |
CREATE TABLE table_name_49 (date VARCHAR, outcome VARCHAR, score VARCHAR) | When was the outcome runner-up with a score of 4–6, 3–6? | SELECT date FROM table_name_49 WHERE outcome = "runner-up" AND score = "4–6, 3–6" |
CREATE TABLE table_name_21 (engine VARCHAR, rank VARCHAR, entrant VARCHAR) | What engine what in the vehicle when adt champion racing ranked in 1st place? | SELECT engine FROM table_name_21 WHERE rank = "1st" AND entrant = "adt champion racing" |
CREATE TABLE table_name_48 (built VARCHAR, withdrawal VARCHAR, notes VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR) | what is the built when s.r. number is less than 2033, lb&sc number is less than 18, notes is i2 and withdrawal is cannot handle non-empty timestamp argument! 1935? | SELECT built FROM table_name_48 WHERE sr_number < 2033 AND lb & sc_number < 18 AND notes = "i2" AND withdrawal = "cannot handle non-empty timestamp argument! 1935" |
CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR) | What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points? | SELECT class FROM table_name_2 WHERE points < 206 AND chassis = "audi r8" AND entrant = "adt champion racing" AND rank = "1st" |
CREATE TABLE table_name_87 (partial_failures INTEGER, rocket VARCHAR) | What were the average partial failures when the rocket was Ariane 5? | SELECT AVG(partial_failures) FROM table_name_87 WHERE rocket = "ariane 5" |
CREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR) | Who is nominated for the film Rugrats Go Wild? | SELECT winner_nominee_s_ FROM table_name_44 WHERE result = "nominated" AND film = "rugrats go wild" |
CREATE TABLE table_name_68 (ovrs INTEGER, wkts VARCHAR, econ VARCHAR) | What is the lowest Ovrs, when Wkts is greater than 13, and when Econ is less than 3.21? | SELECT MIN(ovrs) FROM table_name_68 WHERE wkts > 13 AND econ < 3.21 |
CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR) | What is the least amount of failures with 1 launch and 0 partial failures? | SELECT MIN(failures) FROM table_name_28 WHERE launches = 1 AND partial_failures < 0 |
CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR) | What is the to par for the score 73-71=144? | SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144 |
CREATE TABLE table_name_67 (distance VARCHAR, jockey VARCHAR, result VARCHAR) | How far did p. carbery run to get 2nd? | SELECT distance FROM table_name_67 WHERE jockey = "p. carbery" AND result = "2nd" |
CREATE TABLE table_name_15 (race VARCHAR, group VARCHAR, result VARCHAR) | What was the race of the jockey in na group in 4th place? | SELECT race FROM table_name_15 WHERE group = "na" AND result = "4th" |
CREATE TABLE table_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR) | What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes? | SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 12 |
CREATE TABLE table_name_60 (venue VARCHAR, margin VARCHAR, opponent VARCHAR) | Name the venue for margin less than 66 and opponent of north queensland cowboys | SELECT venue FROM table_name_60 WHERE margin < 66 AND opponent = "north queensland cowboys" |
CREATE TABLE table_name_9 (name VARCHAR, state VARCHAR, opened__closing_date_if_defunct_ VARCHAR, length VARCHAR) | What is the Name with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois? | SELECT name FROM table_name_9 WHERE opened__closing_date_if_defunct_ = "1995" AND length = "miles (m)" AND state = "illinois" |
CREATE TABLE table_name_67 (year INTEGER, final_position___tour VARCHAR, final_position___vuelta VARCHAR) | What is the average year that has a final Tour position of 54 and a final Vuelta position over 55? | SELECT AVG(year) FROM table_name_67 WHERE final_position___tour = 54 AND final_position___vuelta > 55 |
CREATE TABLE table_name_45 (final_position___giro VARCHAR, year VARCHAR, final_position___tour VARCHAR) | How many Giro positions are associated with the year 1971 and Tour final positions over 50? | SELECT COUNT(final_position___giro) FROM table_name_45 WHERE year = 1971 AND final_position___tour > 50 |
CREATE TABLE table_name_27 (qual_2 VARCHAR, best VARCHAR) | What is Qual 2, when Best is 1:27.642? | SELECT qual_2 FROM table_name_27 WHERE best = "1:27.642" |
CREATE TABLE table_name_71 (competition VARCHAR, venue VARCHAR, score VARCHAR) | Venue of klfa stadium, cheras, and a Score of 3-3 had what competition? | SELECT competition FROM table_name_71 WHERE venue = "klfa stadium, cheras" AND score = "3-3" |
CREATE TABLE table_name_64 (authority VARCHAR, area VARCHAR, roll VARCHAR, decile VARCHAR) | Name the authority for te akau with roll less than 254 and decile of 8 | SELECT authority FROM table_name_64 WHERE roll < 254 AND decile = "8" AND area = "te akau" |
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR) | What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest? | SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest" |
CREATE TABLE table_name_39 (score VARCHAR, home VARCHAR, date VARCHAR) | What is the score of the Boston Bruins game from April 11? | SELECT score FROM table_name_39 WHERE home = "boston bruins" AND date = "april 11" |
CREATE TABLE table_name_38 (position VARCHAR, player VARCHAR, goals VARCHAR, tries VARCHAR) | With 0 Goals and less than 1 Tries, what is Matt James position? | SELECT position FROM table_name_38 WHERE goals = "0" AND tries < 1 AND player = "matt james" |
CREATE TABLE table_name_91 (round INTEGER, school VARCHAR) | What is the earliest round drafted for a University of Southern California player? | SELECT MIN(round) FROM table_name_91 WHERE school = "university of southern california" |
CREATE TABLE table_name_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR) | On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals? | SELECT date_of_polling FROM table_name_2 WHERE polling_firm = "forum research" AND green = 7 AND liberal < 30 |
CREATE TABLE table_name_96 (polling_firm VARCHAR, date_of_polling VARCHAR, green VARCHAR, link VARCHAR, liberal VARCHAR) | Which september 26–28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green? | SELECT polling_firm FROM table_name_96 WHERE link = "html" AND liberal < 36 AND green < 8 AND date_of_polling = "september 26–28, 2011" |
CREATE TABLE table_name_3 (team_1 VARCHAR) | What is the 1st leg score when US Mbila Nzambi is team 1? | SELECT 1 AS st_leg FROM table_name_3 WHERE team_1 = "us mbila nzambi" |
CREATE TABLE table_name_17 (against INTEGER, lost VARCHAR, drawn VARCHAR, points VARCHAR) | What is the lowest against value with less than 2 draws, 10 points, and less than 4 lost? | SELECT MIN(against) FROM table_name_17 WHERE drawn < 2 AND points = 10 AND lost < 4 |
CREATE TABLE table_name_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR) | Which Score has a Visitor of toronto st. pats, and a Home of montreal canadiens, and a Record of 3–2–0? | SELECT score FROM table_name_83 WHERE visitor = "toronto st. pats" AND home = "montreal canadiens" AND record = "3–2–0" |
CREATE TABLE table_name_2 (player VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR) | What is Player, when Pick is greater than 24, and when NBA years [a ] is "9"? | SELECT player FROM table_name_2 WHERE pick > 24 AND nba_years_[a_] = "9" |
CREATE TABLE table_name_95 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR) | When is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it to Open Cup 2nd Round? | SELECT MAX(year) FROM table_name_95 WHERE playoffs = "did not qualify" AND open_cup = "2nd round" |
CREATE TABLE table_name_61 (open_cup VARCHAR, playoffs VARCHAR, year VARCHAR) | In 2012, which round in the Open Cup did Real Colorado Foxes make it to the conference semifinal? | SELECT open_cup FROM table_name_61 WHERE playoffs = "conference semifinal" AND year = 2012 |
CREATE TABLE table_name_90 (date_aired VARCHAR, network VARCHAR) | Which date was the show aired on the RTL Televizija network? | SELECT date_aired FROM table_name_90 WHERE network = "rtl televizija" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.