context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_81 (attribute VARCHAR, category VARCHAR, type VARCHAR) | Name the attribute for mutation and domcharacterdatamodified | SELECT attribute FROM table_name_81 WHERE category = "mutation" AND type = "domcharacterdatamodified" |
CREATE TABLE table_name_54 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) | What is the tournament with a clay surface and sofia shapatava as the opponent? | SELECT tournament FROM table_name_54 WHERE surface = "clay" AND opponent = "sofia shapatava" |
CREATE TABLE table_name_30 (location_attendance VARCHAR, score VARCHAR) | What location attendance had a score of l 92–116? | SELECT location_attendance FROM table_name_30 WHERE score = "l 92–116" |
CREATE TABLE table_name_68 (wins__total_ INTEGER, rank VARCHAR, wins__indoor_ VARCHAR, wins__outdoor_ VARCHAR) | Name the most wins total with wins indoor of 0 and wins outdoor of 1 with rank less than 7 | SELECT MAX(wins__total_) FROM table_name_68 WHERE wins__indoor_ = 0 AND wins__outdoor_ = 1 AND rank < 7 |
CREATE TABLE table_name_70 (series_4 VARCHAR, series_1 VARCHAR) | What is the series 4 with sarah newman in series 1? | SELECT series_4 FROM table_name_70 WHERE series_1 = "sarah newman" |
CREATE TABLE table_name_85 (losses INTEGER, played VARCHAR, club VARCHAR, goals_against VARCHAR, goals_for VARCHAR) | What is the highest number of losses of club cf calvo sotelo, which has more than 31 goals against, 38 goals for, and less than 30 played? | SELECT MAX(losses) FROM table_name_85 WHERE goals_against > 31 AND goals_for = 38 AND club = "cf calvo sotelo" AND played < 30 |
CREATE TABLE table_name_5 (population VARCHAR, former_local_authority VARCHAR, name VARCHAR) | What is the population of the Parish, Plumbland, that had a former local authority of Cockermouth Rural District? | SELECT COUNT(population) FROM table_name_5 WHERE former_local_authority = "cockermouth rural district" AND name = "plumbland" |
CREATE TABLE table_name_37 (pick VARCHAR, player VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR) | What is Pick, when Round is "6", when Nationality is "Canada", when Draft is greater than 1983, and when Player is "Ed Ward Category:Articles with hCards"? | SELECT pick FROM table_name_37 WHERE round = "6" AND nationality = "canada" AND draft > 1983 AND player = "ed ward category:articles with hcards" |
CREATE TABLE table_name_44 (year INTEGER, entrant VARCHAR, points VARCHAR) | What year featured lola motorsport as an entrant with over 0 points? | SELECT AVG(year) FROM table_name_44 WHERE entrant = "lola motorsport" AND points > 0 |
CREATE TABLE table_name_89 (name VARCHAR, year_built VARCHAR) | What was built in 1857? | SELECT name FROM table_name_89 WHERE year_built = 1857 |
CREATE TABLE table_name_16 (tournament VARCHAR) | What was the result in 2011 for the French Open tournament? | SELECT 2011 FROM table_name_16 WHERE tournament = "french open" |
CREATE TABLE table_name_1 (winning_score VARCHAR, runner_s__up VARCHAR) | What was the winning score when Steve Stricker was runner-up? | SELECT winning_score FROM table_name_1 WHERE runner_s__up = "steve stricker" |
CREATE TABLE table_name_2 (margin_of_victory VARCHAR, winning_score VARCHAR) | What was the margin of victory when the winning score was −14 (63-67-73-67=270)? | SELECT margin_of_victory FROM table_name_2 WHERE winning_score = −14(63 - 67 - 73 - 67 = 270) |
CREATE TABLE table_name_78 (pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR) | What was the pick number for the person from the United States who as drafted to the SF position from North Carolina? | SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf" |
CREATE TABLE table_name_90 (record VARCHAR, nfl_recap VARCHAR, opponent VARCHAR) | What is the record for the game against the New England Patriots with a recap? | SELECT record FROM table_name_90 WHERE nfl_recap = "recap" AND opponent = "new england patriots" |
CREATE TABLE table_name_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | What is the original title of the Gypsy Magic film title used in nomination? | SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic" |
CREATE TABLE table_name_11 (location VARCHAR, event VARCHAR) | What is the location of the Conquista Fight 1? | SELECT location FROM table_name_11 WHERE event = "conquista fight 1" |
CREATE TABLE table_name_19 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR) | What's the total long for more than 24 loss, a gain over 273, and an avg/g of 207.8? | SELECT SUM(long) FROM table_name_19 WHERE loss > 24 AND gain > 273 AND avg_g = 207.8 |
CREATE TABLE table_name_61 (pocona_municipality___percentage_ INTEGER, entre_ríos_municipality___percentage_ VARCHAR, puerto_villarroel_municipality___percentage_ VARCHAR, chimoré_municipality___percentage_ VARCHAR) | Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimoré Municipality (%) of 5.1, and an Entre Ríos Municipality (%) smaller than 0.9? | SELECT MIN(pocona_municipality___percentage_) FROM table_name_61 WHERE puerto_villarroel_municipality___percentage_ < 14.6 AND chimoré_municipality___percentage_ = 5.1 AND entre_ríos_municipality___percentage_ < 0.9 |
CREATE TABLE table_name_94 (puerto_villarroel_municipality___percentage_ INTEGER, ethnic_group VARCHAR, totora_municipality___percentage_ VARCHAR) | Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4? | SELECT MIN(puerto_villarroel_municipality___percentage_) FROM table_name_94 WHERE ethnic_group = "not indigenous" AND totora_municipality___percentage_ < 4.4 |
CREATE TABLE table_name_6 (pocona_municipality___percentage_ INTEGER, puerto_villarroel_municipality___percentage_ VARCHAR, pojo_municipality___percentage_ VARCHAR) | Which Pocona Municipality (%) has a Puerto Villarroel Municipality (%) larger than 14.6, and a Pojo Municipality (%) smaller than 88.5? | SELECT SUM(pocona_municipality___percentage_) FROM table_name_6 WHERE puerto_villarroel_municipality___percentage_ > 14.6 AND pojo_municipality___percentage_ < 88.5 |
CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR) | Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2? | SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2 |
CREATE TABLE table_name_32 (pos INTEGER, team VARCHAR, car__number VARCHAR) | Which Pos has a Team of roush fenway racing, and a Car # of 99? | SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99 |
CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR) | Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern? | SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern" |
CREATE TABLE table_name_31 (capacity__mw_ INTEGER, turbines VARCHAR, size__mw_ VARCHAR, wind_farm VARCHAR) | What is the sum of the capacities for Carrigh wind warm that has a size of 0.85 MW and more than 3 turbines? | SELECT SUM(capacity__mw_) FROM table_name_31 WHERE size__mw_ = "0.85" AND wind_farm = "carrigh" AND turbines > 3 |
CREATE TABLE table_name_87 (size__mw_ VARCHAR, county VARCHAR, turbines VARCHAR, turbine_vendor VARCHAR) | What is the size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon? | SELECT size__mw_ FROM table_name_87 WHERE turbines > 19 AND turbine_vendor = "enercon" AND county = "wexford" |
CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR) | Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW? | SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen" |
CREATE TABLE table_name_18 (ship VARCHAR, nationality VARCHAR) | What ship has a norway nationality? | SELECT ship FROM table_name_18 WHERE nationality = "norway" |
CREATE TABLE table_name_3 (county VARCHAR, median_family_income VARCHAR) | What County has a Median Family Income of $79,331? | SELECT county FROM table_name_3 WHERE median_family_income = "$79,331" |
CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR) | What is the Number of Households that have a Per Capita Income of $21,345? | SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = "$21,345" |
CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR) | How many total gold medals did Australia receive? | SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia" |
CREATE TABLE table_name_41 (population INTEGER, median_family_income VARCHAR) | Which Population has a Median family income of $53,946? | SELECT MAX(population) FROM table_name_41 WHERE median_family_income = "$53,946" |
CREATE TABLE table_name_57 (tournament VARCHAR) | Which 1997's accompanying 1991 was a when the tournament was the australian open? | SELECT 1997 FROM table_name_57 WHERE 1991 = "a" AND tournament = "australian open" |
CREATE TABLE table_name_12 (whitten VARCHAR, stuart VARCHAR, paul_mccartney VARCHAR) | Which Whitten has a Stuart of bass, and a Paul McCartney of electric guitar? | SELECT whitten FROM table_name_12 WHERE stuart = "bass" AND paul_mccartney = "electric guitar" |
CREATE TABLE table_name_66 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_5 VARCHAR) | How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s? | SELECT SUM(events) FROM table_name_66 WHERE cuts_made > 12 AND top_5 > 2 AND top_10 > 11 |
CREATE TABLE table_name_30 (year_s__won VARCHAR, country VARCHAR) | What years did New Zealand win? | SELECT year_s__won FROM table_name_30 WHERE country = "new zealand" |
CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR) | For the game with 26,236 attendance, what was the record? | SELECT record FROM table_name_81 WHERE attendance = "26,236" |
CREATE TABLE table_name_37 (score VARCHAR, points VARCHAR, opponent VARCHAR) | What is the score of the game with 22 points and the capitals as the opponent? | SELECT score FROM table_name_37 WHERE points = 22 AND opponent = "capitals" |
CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev? | SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = "51/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev" |
CREATE TABLE table_name_19 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR) | What Date performed has a Scores by each individual judge of 10 + 10 + 10 = 30, and a Main contestant of karanvir bohra? | SELECT date_performed FROM table_name_19 WHERE scores_by_each_individual_judge = 10 + 10 + 10 = 30 AND main_contestant = "karanvir bohra" |
CREATE TABLE table_name_67 (scores_by_each_individual_judge VARCHAR, status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | What Scores by each individual judge has a Status of current, and a Co-contestant (Yaar vs. Pyaar) of krushna abhishek? | SELECT scores_by_each_individual_judge FROM table_name_67 WHERE status = "current" AND co_contestant__yaar_vs_pyaar_ = "krushna abhishek" |
CREATE TABLE table_name_56 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) | Which Number of electorates (2009) has a District of jhajjar, and a Reserved for (SC/ST/None) of sc, and a Constituency number smaller than 66? | SELECT COUNT(number_of_electorates__2009_) FROM table_name_56 WHERE district = "jhajjar" AND reserved_for___sc___st__none_ = "sc" AND constituency_number < 66 |
CREATE TABLE table_name_90 (taijiquan INTEGER, taijijian VARCHAR, total VARCHAR) | What is the lowest Taijiquan of the athlete who has a Taijijian of 9.7 and a total more than 19.34? | SELECT MIN(taijiquan) FROM table_name_90 WHERE taijijian = 9.7 AND total > 19.34 |
CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR) | What is the Score of the Burnley Home game? | SELECT score FROM table_name_57 WHERE home_team = "burnley" |
CREATE TABLE table_name_48 (score VARCHAR, set_2 VARCHAR) | What is the score for Set 2 at 15:21? | SELECT score FROM table_name_48 WHERE set_2 = "15:21" |
CREATE TABLE table_name_4 (record VARCHAR, game VARCHAR) | What is the record of game 7? | SELECT record FROM table_name_4 WHERE game = 7 |
CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR) | How many characteristics does the product named "sesame" have? | SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = "sesame" |
CREATE TABLE table_name_58 (score VARCHAR, opposition VARCHAR, year VARCHAR) | What score has Leicestershire as the opponent after 1906? | SELECT score FROM table_name_58 WHERE opposition = "leicestershire" AND year > 1906 |
CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR) | What is the number of earning for more than 2 wins and less than 25 events? | SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25 |
CREATE TABLE table_name_76 (jianshu VARCHAR, qiangshu VARCHAR, total VARCHAR, athlete VARCHAR) | What is the number of Jianshu when the total is more than 19.16, for Nguyen Huy Thanh ( vie ), and Qiangshu is more than 9.66? | SELECT COUNT(jianshu) FROM table_name_76 WHERE total > 19.16 AND athlete = "nguyen huy thanh ( vie )" AND qiangshu > 9.66 |
CREATE TABLE table_name_22 (place VARCHAR, country VARCHAR, player VARCHAR) | Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch? | SELECT place FROM table_name_22 WHERE country = "australia" AND player = "ian baker-finch" |
CREATE TABLE table_name_65 (results¹ VARCHAR, type_of_game VARCHAR) | What was the result of the Euro '64 qualifying game? | SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 qualifying" |
CREATE TABLE table_name_91 (role VARCHAR, year VARCHAR) | What was the role in 2001? | SELECT role FROM table_name_91 WHERE year = "2001" |
CREATE TABLE table_name_45 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR) | Which Goals against has Wins of 13, and Goals for larger than 42, and more than 9 Losses? | SELECT AVG(goals_against) FROM table_name_45 WHERE wins = 13 AND goals_for > 42 AND losses > 9 |
CREATE TABLE table_name_88 (bronze VARCHAR, total VARCHAR, silver VARCHAR) | What is the number of Bronze medals of the Nation with 64 total and silver greater than 16? | SELECT COUNT(bronze) FROM table_name_88 WHERE total = 64 AND silver > 16 |
CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) | How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers? | SELECT COUNT(bronze) FROM table_name_79 WHERE gold > "14" AND rank = "14" AND silver > 25 |
CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR) | Which role had a closing broadway cast of Adam Grupper? | SELECT role FROM table_name_78 WHERE closing_broadway_cast = "adam grupper" |
CREATE TABLE table_name_9 (score INTEGER, to_par VARCHAR, player VARCHAR) | What is the score when the to par was –5, for Peter Jacobsen? | SELECT SUM(score) FROM table_name_9 WHERE to_par = "–5" AND player = "peter jacobsen" |
CREATE TABLE table_name_78 (run_4 INTEGER, run_3 VARCHAR, country VARCHAR, athlete VARCHAR) | Which Run 4 has a Country of united states, and an Athlete of bree schaaf emily azevedo, and a Run 3 smaller than 58.04? | SELECT SUM(run_4) FROM table_name_78 WHERE country = "united states" AND athlete = "bree schaaf emily azevedo" AND run_3 < 58.04 |
CREATE TABLE table_name_32 (run_4 INTEGER, run_1 VARCHAR, run_3 VARCHAR) | Which Run 4 has a Run 1 of 57.37, and a Run 3 smaller than 57.45? | SELECT SUM(run_4) FROM table_name_32 WHERE run_1 = 57.37 AND run_3 < 57.45 |
CREATE TABLE table_name_2 (first_exercise INTEGER, second_exercise VARCHAR) | What is the total for the first exercise and has 18 as the second exercise? | SELECT SUM(first_exercise) FROM table_name_2 WHERE second_exercise = 18 |
CREATE TABLE table_name_10 (place INTEGER, goals_scored VARCHAR, draw VARCHAR, goals_conceded VARCHAR) | What is the lowest place with more than 26 goals scored, 18 goals conceded, and a draw entry of 6? | SELECT MIN(place) FROM table_name_10 WHERE draw = 6 AND goals_conceded = 18 AND goals_scored > 26 |
CREATE TABLE table_name_19 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | Name the District that has a Reserved for ( SC / ST /None) of none and a Constituency number of 242? | SELECT district FROM table_name_19 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "242" |
CREATE TABLE table_name_40 (number_of_electorates__2009_ INTEGER, reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | Name the Number of electorates (2009 which has a Reserved for ( SC / ST /None) of none, and a Name of jahanabad? | SELECT MIN(number_of_electorates__2009_) FROM table_name_40 WHERE reserved_for___sc___st__none_ = "none" AND name = "jahanabad" |
CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR) | Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion? | SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = "$33.3 billion" |
CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR) | What Score has a Date of 11 september 2010? | SELECT score FROM table_name_25 WHERE date = "11 september 2010" |
CREATE TABLE table_name_4 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR) | What is China's International tourism expenditure (2011)? | SELECT international_tourism_expenditure__2011_ FROM table_name_4 WHERE country = "china" |
CREATE TABLE table_name_33 (games_played VARCHAR, draws VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, loses VARCHAR) | What is the total number of games played of the club with less than 40 goals scored, 9 losses, 39 goals conceded, and more than 2 draws? | SELECT COUNT(games_played) FROM table_name_33 WHERE goals_scored < 40 AND loses = 9 AND goals_conceded = 39 AND draws > 2 |
CREATE TABLE table_name_11 (date VARCHAR, week VARCHAR, opponent VARCHAR) | What is the date for the game with an opponent of the Houston Oilers from before week 3? | SELECT date FROM table_name_11 WHERE week < 3 AND opponent = "houston oilers" |
CREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) | What is Home Team, when Date is "6 December 1986", and when Tie No is "4"? | SELECT home_team FROM table_name_49 WHERE date = "6 december 1986" AND tie_no = "4" |
CREATE TABLE table_name_63 (republican_ticket VARCHAR, workers_ticket VARCHAR) | What is the name on the Republican ticket when the Workers ticket is edward lindgren? | SELECT republican_ticket FROM table_name_63 WHERE workers_ticket = "edward lindgren" |
CREATE TABLE table_name_74 (socialist_ticket VARCHAR, law_preservation_ticket VARCHAR, socialist_labor_ticket VARCHAR) | Who's the Socialist ticket with a Law Preservation ticket of (none), and a Socialist Labor ticket of belle j. rosen? | SELECT socialist_ticket FROM table_name_74 WHERE law_preservation_ticket = "(none)" AND socialist_labor_ticket = "belle j. rosen" |
CREATE TABLE table_name_3 (district VARCHAR, weblink VARCHAR, college_or_campus_name VARCHAR) | In which district is anna university - tiruchirappalli campus, whose website is http://www.annauniv.edu, located? | SELECT district FROM table_name_3 WHERE weblink = "http://www.annauniv.edu" AND college_or_campus_name = "anna university - tiruchirappalli campus" |
CREATE TABLE table_name_46 (round INTEGER, draft VARCHAR, player VARCHAR) | What is the highest Round, when Draft is greater than 1980, and when Player is "Shane Doan Category:Articles with hCards"? | SELECT MAX(round) FROM table_name_46 WHERE draft > 1980 AND player = "shane doan category:articles with hcards" |
CREATE TABLE table_name_46 (lost INTEGER, team VARCHAR, points VARCHAR) | What is the lowest Lost for são paulo railway, Points more than 21? | SELECT MIN(lost) FROM table_name_46 WHERE team = "são paulo railway" AND points > 21 |
CREATE TABLE table_name_7 (draft INTEGER, round VARCHAR, nationality VARCHAR, player VARCHAR) | What is the lowest Draft, when Nationality is "Canada", when Player is "Shane Doan Category:Articles with hCards", and when Round is less than 1? | SELECT MIN(draft) FROM table_name_7 WHERE nationality = "canada" AND player = "shane doan category:articles with hcards" AND round < 1 |
CREATE TABLE table_name_74 (draft INTEGER, player VARCHAR) | What is the lowest Draft, when Player is "Dave Christian Category:Articles with hCards"? | SELECT MIN(draft) FROM table_name_74 WHERE player = "dave christian category:articles with hcards" |
CREATE TABLE table_name_4 (fleet_size INTEGER, iata VARCHAR, commenced_operations VARCHAR) | What is the of Fleet size with a IATA of pr, and a Commenced operations smaller than 1941? | SELECT SUM(fleet_size) FROM table_name_4 WHERE iata = "pr" AND commenced_operations < 1941 |
CREATE TABLE table_name_10 (lead_envoy VARCHAR, year VARCHAR, ryūkyūan_king VARCHAR, mission_type VARCHAR) | Who was the lead envoy of the congratulation mission in 1718 with the Ryūkyūan King shō kei? | SELECT lead_envoy FROM table_name_10 WHERE ryūkyūan_king = "shō kei" AND mission_type = "congratulation" AND year = 1718 |
CREATE TABLE table_name_95 (home VARCHAR, score VARCHAR) | What is Home, when Score is 103-93? | SELECT home FROM table_name_95 WHERE score = "103-93" |
CREATE TABLE table_name_46 (position VARCHAR, name VARCHAR) | What is Martina Wood's Position? | SELECT position FROM table_name_46 WHERE name = "martina wood" |
CREATE TABLE table_name_93 (total INTEGER, bronze INTEGER) | How many totals had more than 4 bronze? | SELECT SUM(total) FROM table_name_93 WHERE bronze > 4 |
CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR) | What is the country of the player whose score is 71-69-70-69=279? | SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 69 = 279 |
CREATE TABLE table_name_63 (no_result INTEGER, matches VARCHAR, wins VARCHAR) | How many total No Results occured when the team had less than 46 wins and more than 16 matches? | SELECT SUM(no_result) FROM table_name_63 WHERE matches > 16 AND wins < 46 |
CREATE TABLE table_name_2 (second VARCHAR, fourth VARCHAR, fifth VARCHAR, sixth VARCHAR) | What team placed second during the season where Western Australia placed fifth, South Australia placed sixth, and Tasmania placed fourth? | SELECT second FROM table_name_2 WHERE fifth = "western australia" AND sixth = "south australia" AND fourth = "tasmania" |
CREATE TABLE table_name_90 (points VARCHAR, difference VARCHAR, position VARCHAR) | How many points occurred with a difference of 2 for position less than 4? | SELECT COUNT(points) FROM table_name_90 WHERE difference = "2" AND position < 4 |
CREATE TABLE table_name_89 (team__number2 VARCHAR, team__number1 VARCHAR) | Who played against Hapoel tel aviv when they were team #1? | SELECT team__number2 FROM table_name_89 WHERE team__number1 = "hapoel tel aviv" |
CREATE TABLE table_name_16 (region VARCHAR, date VARCHAR, label VARCHAR) | What region has the date of 2005 and Playground Music Scandinavia as a label? | SELECT region FROM table_name_16 WHERE date = "2005" AND label = "playground music scandinavia" |
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) | When did the Texans play BYE? | SELECT date FROM table_name_8 WHERE opponent = "bye" |
CREATE TABLE table_name_38 (venue VARCHAR, status VARCHAR, against VARCHAR) | What is the venue for the Status of Five Nations and 0 againts? | SELECT venue FROM table_name_38 WHERE status = "five nations" AND against = 0 |
CREATE TABLE table_name_13 (ccbs INTEGER, payload_to_gto VARCHAR, upper_stage VARCHAR) | What is the greatest CCBs with a Payload to GTO of –, and an Upper stage of sec? | SELECT MAX(ccbs) FROM table_name_13 WHERE payload_to_gto = "–" AND upper_stage = "sec" |
CREATE TABLE table_name_10 (years_in_orlando VARCHAR, player VARCHAR, nationality VARCHAR, position VARCHAR) | Which Years in Orlando has a Nationality of united states, a Position of center, and a Player of jawann oldham? | SELECT years_in_orlando FROM table_name_10 WHERE nationality = "united states" AND position = "center" AND player = "jawann oldham" |
CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR) | What is the simplified Chinese with a standard order over 4, and the transcription of Bei Hui Feng? | SELECT simplified_chinese FROM table_name_43 WHERE standard_order > 4 AND transcription__based_on_pinyin_ = "bei hui feng" |
CREATE TABLE table_name_76 (works_number VARCHAR, date VARCHAR, number VARCHAR, builder VARCHAR, type VARCHAR) | Which Works number has a Builder of avonside engine company, and a Type of 4-6-0, and a Number smaller than 12, and a Date of december 1871? | SELECT works_number FROM table_name_76 WHERE builder = "avonside engine company" AND type = "4-6-0" AND number < 12 AND date = "december 1871" |
CREATE TABLE table_name_44 (acquis_chapters_open_closed VARCHAR, membership_application VARCHAR) | What is the acquis chapter open/closed dates with a membership application in 2009-04-28? | SELECT acquis_chapters_open_closed FROM table_name_44 WHERE membership_application = "2009-04-28" |
CREATE TABLE table_name_69 (association_agreement VARCHAR, state VARCHAR) | What is the association agreement for bosnia and herzegovina? | SELECT association_agreement FROM table_name_69 WHERE state = "bosnia and herzegovina" |
CREATE TABLE table_name_91 (attendance INTEGER, date VARCHAR) | What was the highest attendance on December 23? | SELECT MAX(attendance) FROM table_name_91 WHERE date = "december 23" |
CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) | What is the name for Nagpur district, with a reserved for ( SC / ST /None) of none, and a Constituency number of 59? | SELECT name FROM table_name_56 WHERE district = "nagpur" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "59" |
CREATE TABLE table_name_42 (nickname VARCHAR, colors VARCHAR) | What is the nickname of the team that has the colors blue and gold? | SELECT nickname FROM table_name_42 WHERE colors = "blue and gold" |
CREATE TABLE table_name_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR, position VARCHAR, analogue_terrestrial_channel VARCHAR, internet VARCHAR) | What is the channel when the analogue terrestrial channel shows n/a, and the internet is itv.com, with a position larger than 6, and digital terrestrial channel is 6 27 (+1)? | SELECT channel FROM table_name_10 WHERE analogue_terrestrial_channel = "n/a" AND internet = "itv.com" AND position > 6 AND digital_terrestrial_channel = "6 27 (+1)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.