instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the population of area of 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (population VARCHAR, area VARCHAR) | SELECT population FROM table_name_15 WHERE area = "11" |
Write a SQL query that answers the following question: What shows for traditional when the population was 44,803? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (traditional VARCHAR, population VARCHAR) | SELECT traditional FROM table_name_14 WHERE population = "44,803" |
Write a SQL query that answers the following question: What is the population when the area is 4,575? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (population VARCHAR, area VARCHAR) | SELECT population FROM table_name_8 WHERE area = "4,575" |
Write a SQL query that answers the following question: What shows for simplified when the density is 52? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (simplified VARCHAR, density VARCHAR) | SELECT simplified FROM table_name_13 WHERE density = "52" |
Write a SQL query that answers the following question: What is the density when simplified shows 南山区? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (density VARCHAR, simplified VARCHAR) | SELECT density FROM table_name_33 WHERE simplified = "南山区" |
Write a SQL query that answers the following question: What is the pinyin when the simplified shows 南山区? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (pinyin VARCHAR, simplified VARCHAR) | SELECT pinyin FROM table_name_22 WHERE simplified = "南山区" |
Write a SQL query that answers the following question: What country does Greg Norman represent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_26 WHERE player = "greg norman" |
Write a SQL query that answers the following question: What years won have a total of 286? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR) | SELECT year_s__won FROM table_name_11 WHERE total = 286 |
Write a SQL query that answers the following question: Which player had a total of 295? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_22 WHERE total = 295 |
Write a SQL query that answers the following question: What is the To par when there was a total of 291? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (to_par VARCHAR, total VARCHAR) | SELECT to_par FROM table_name_10 WHERE total = 291 |
Write a SQL query that answers the following question: What is the year of daylight service when the builder was Alco? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR) | SELECT years_of_daylight_service FROM table_name_7 WHERE builder = "alco" |
Write a SQL query that answers the following question: What is 2006-07 Season, when Team is "KF Fushë Kosova"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (team VARCHAR) | SELECT 2006 AS _07_season FROM table_name_64 WHERE team = "kf fushë kosova" |
Write a SQL query that answers the following question: What is Year(s) Won, when Total is "145", and when Country is "United States"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (year_s__won VARCHAR, total VARCHAR, country VARCHAR) | SELECT year_s__won FROM table_name_40 WHERE total = 145 AND country = "united states" |
Write a SQL query that answers the following question: What is the lowest To par, when Total is greater than 148, and when Year(s) Won is "1959 , 1968 , 1974"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (to_par INTEGER, total VARCHAR, year_s__won VARCHAR) | SELECT MIN(to_par) FROM table_name_97 WHERE total < 148 AND year_s__won = "1959 , 1968 , 1974" |
Write a SQL query that answers the following question: What is Country, when To par is "1", and when Player is "Seve Ballesteros"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT country FROM table_name_20 WHERE to_par = 1 AND player = "seve ballesteros" |
Write a SQL query that answers the following question: What is the sum of Total, when Year(s) Won is "1966 , 1970 , 1978", and when To par is less than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR) | SELECT SUM(total) FROM table_name_81 WHERE year_s__won = "1966 , 1970 , 1978" AND to_par < 4 |
Write a SQL query that answers the following question: What is Country, when Total is less than 148, and when Player is "Gary Player"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (country VARCHAR, total VARCHAR, player VARCHAR) | SELECT country FROM table_name_19 WHERE total < 148 AND player = "gary player" |
Write a SQL query that answers the following question: What is To par, when Total is less than 148, and when Country is "South Africa"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (to_par VARCHAR, total VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_7 WHERE total < 148 AND country = "south africa" |
Write a SQL query that answers the following question: What is the average age at appointment of those attached to security? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (age_at_appointment INTEGER, portfolio_attachment VARCHAR) | SELECT AVG(age_at_appointment) FROM table_name_58 WHERE portfolio_attachment = "security" |
Write a SQL query that answers the following question: What was the distance of the race on saturday, august 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (distance VARCHAR, date VARCHAR) | SELECT distance FROM table_name_59 WHERE date = "saturday, august 23" |
Write a SQL query that answers the following question: Who was the winner of the race that had a distance of 175.6km? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (winner VARCHAR, distance VARCHAR) | SELECT winner FROM table_name_70 WHERE distance = "175.6km" |
Write a SQL query that answers the following question: Who won the race on wednesday, august 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_name_18 WHERE date = "wednesday, august 27" |
Write a SQL query that answers the following question: What is the distance of the maldegem > brussels route? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (distance VARCHAR, route VARCHAR) | SELECT distance FROM table_name_71 WHERE route = "maldegem > brussels" |
Write a SQL query that answers the following question: Who was the winner of the mechelen > mechelen route? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (winner VARCHAR, route VARCHAR) | SELECT winner FROM table_name_63 WHERE route = "mechelen > mechelen" |
Write a SQL query that answers the following question: What IMAP sharing options exist for software with a web UI? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (imap_shared VARCHAR, web_ui VARCHAR) | SELECT imap_shared FROM table_name_93 WHERE web_ui = "web ui" |
Write a SQL query that answers the following question: What's the total for the wc belgrade event with 10 rank points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (total VARCHAR, event VARCHAR, rank_points VARCHAR) | SELECT total FROM table_name_3 WHERE event = "wc belgrade" AND rank_points = "10" |
Write a SQL query that answers the following question: That's the total for rank points of olympic gold medalist? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (total VARCHAR, rank_points VARCHAR) | SELECT total FROM table_name_72 WHERE rank_points = "olympic gold medalist" |
Write a SQL query that answers the following question: Who's the shooter with score points of defending champion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (shooter VARCHAR, score_points VARCHAR) | SELECT shooter FROM table_name_51 WHERE score_points = "defending champion" |
Write a SQL query that answers the following question: Who's the shooter with a total of 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (shooter VARCHAR, total VARCHAR) | SELECT shooter FROM table_name_57 WHERE total = "25" |
Write a SQL query that answers the following question: Who's the shooter with 13 score points and 10 rank points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (shooter VARCHAR, score_points VARCHAR, rank_points VARCHAR) | SELECT shooter FROM table_name_32 WHERE score_points = "13" AND rank_points = "10" |
Write a SQL query that answers the following question: What is the highest points when the top goal scorer was Khaled Msakni (10), and the final standing is less than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (points INTEGER, top_goal_scorer VARCHAR, final_standing VARCHAR) | SELECT MAX(points) FROM table_name_95 WHERE top_goal_scorer = "khaled msakni (10)" AND final_standing < 12 |
Write a SQL query that answers the following question: What is the final standing in 1981–82? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (final_standing VARCHAR, years VARCHAR) | SELECT final_standing FROM table_name_58 WHERE years = "1981–82" |
Write a SQL query that answers the following question: Which event had 4th place and took place in the year 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (event VARCHAR, position VARCHAR, year VARCHAR) | SELECT event FROM table_name_76 WHERE position = "4th" AND year = 2007 |
Write a SQL query that answers the following question: What runner-up has 4 & 3 as the score, with michael bonallack as the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (runner_up VARCHAR, score VARCHAR, winner VARCHAR) | SELECT runner_up FROM table_name_14 WHERE score = "4 & 3" AND winner = "michael bonallack" |
Write a SQL query that answers the following question: What venue has 3 & 2 as the score, and 1965 as the year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (venue VARCHAR, score VARCHAR, year VARCHAR) | SELECT venue FROM table_name_83 WHERE score = "3 & 2" AND year = "1965" |
Write a SQL query that answers the following question: What runner-up has 2008 as the year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (runner_up VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_95 WHERE year = "2008" |
Write a SQL query that answers the following question: What winner has royal st george's golf club as the venue, and 1969 as the year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (winner VARCHAR, venue VARCHAR, year VARCHAR) | SELECT winner FROM table_name_70 WHERE venue = "royal st george's golf club" AND year = "1969" |
Write a SQL query that answers the following question: What runner-up has 1925 as the year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (runner_up VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_6 WHERE year = "1925" |
Write a SQL query that answers the following question: What year has John Davies as the runner-up, with warren humphreys as the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (year VARCHAR, runner_up VARCHAR, winner VARCHAR) | SELECT year FROM table_name_3 WHERE runner_up = "john davies" AND winner = "warren humphreys" |
Write a SQL query that answers the following question: What country is the player who scored 27 goals from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (nationality VARCHAR, goals VARCHAR) | SELECT nationality FROM table_name_71 WHERE goals = 27 |
Write a SQL query that answers the following question: For the player that scored 27 goals, what years did he score them? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (years VARCHAR, goals VARCHAR) | SELECT years FROM table_name_62 WHERE goals = 27 |
Write a SQL query that answers the following question: In what place(s) did the player(s) with a total less than 282 finish? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (finish VARCHAR, total INTEGER) | SELECT finish FROM table_name_33 WHERE total < 282 |
Write a SQL query that answers the following question: In what place did Nick Faldo, who had more than 284 points and a to par score of +5, finish? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR) | SELECT finish FROM table_name_94 WHERE total > 284 AND to_par = "+5" AND player = "nick faldo" |
Write a SQL query that answers the following question: When did Prime Minister Agathe Uwilingiyimana's mandate end? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (mandate_end VARCHAR, office VARCHAR, name_a VARCHAR) | SELECT mandate_end FROM table_name_44 WHERE office = "prime minister" AND name_a = "agathe uwilingiyimana" |
Write a SQL query that answers the following question: What is the power output for class 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (power_output__kw_ VARCHAR, number_in_class VARCHAR) | SELECT power_output__kw_ FROM table_name_29 WHERE number_in_class = 5 |
Write a SQL query that answers the following question: Which class has a power output larger than 700 and a class of 48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (class VARCHAR, power_output__kw_ VARCHAR, number_in_class VARCHAR) | SELECT class FROM table_name_75 WHERE power_output__kw_ > 700 AND number_in_class = 48 |
Write a SQL query that answers the following question: What is the Week 8 result of the team that lost to syarcuse (4-2) in Week 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (week_8_oct_26 VARCHAR, week_7_oct_19 VARCHAR) | SELECT week_8_oct_26 FROM table_name_44 WHERE week_7_oct_19 = "syarcuse (4-2)" |
Write a SQL query that answers the following question: What is the Week 1 result of Colorado State? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR) | SELECT week_1_sept_7 FROM table_name_15 WHERE preseason = "colorado state" |
Write a SQL query that answers the following question: Who is the incumbent for the Colorado 4 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_name_95 WHERE district = "colorado 4" |
Write a SQL query that answers the following question: What district is the incumbent Republican and the incumbent retired to run for governor democratic gain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (district VARCHAR, party VARCHAR, results VARCHAR) | SELECT district FROM table_name_41 WHERE party = "republican" AND results = "retired to run for governor democratic gain" |
Write a SQL query that answers the following question: In Colorado 6 district what is the party? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR) | SELECT party FROM table_name_66 WHERE district = "colorado 6" |
Write a SQL query that answers the following question: Which tournament had a clay surface and a score of 6–1, 3–6, 6–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (tournament VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) | SELECT tournament FROM table_name_76 WHERE surface = "clay" AND score_in_the_final = "6–1, 3–6, 6–2" |
Write a SQL query that answers the following question: How many days had a score of 4–6, 4–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (date VARCHAR, score_in_the_final VARCHAR) | SELECT COUNT(date) FROM table_name_39 WHERE score_in_the_final = "4–6, 4–6" |
Write a SQL query that answers the following question: What was the To Par of Tiger Woods who won in 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (to_par VARCHAR, year_won VARCHAR) | SELECT to_par FROM table_name_85 WHERE year_won = 1988 |
Write a SQL query that answers the following question: What is the team sites entry for Microsoft Sharepoint? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (team_sites VARCHAR, name VARCHAR) | SELECT team_sites FROM table_name_59 WHERE name = "microsoft sharepoint" |
Write a SQL query that answers the following question: If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (extranet VARCHAR, intranet VARCHAR, name VARCHAR) | SELECT extranet FROM table_name_72 WHERE intranet = "yes" AND name = "microsoft exchange server" |
Write a SQL query that answers the following question: What is the team sites entry that has a public entry of No and a developer entry of Yes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (team_sites VARCHAR, public VARCHAR, developer VARCHAR) | SELECT team_sites FROM table_name_53 WHERE public = "no" AND developer = "yes" |
Write a SQL query that answers the following question: What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (name VARCHAR, team_sites VARCHAR, public VARCHAR, personal_sites VARCHAR) | SELECT name FROM table_name_34 WHERE public = "yes" AND personal_sites = "no" AND team_sites = "no" |
Write a SQL query that answers the following question: What is the name of the entry that has a developer entry of Yes and a personal sites entry of No? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (name VARCHAR, developer VARCHAR, personal_sites VARCHAR) | SELECT name FROM table_name_61 WHERE developer = "yes" AND personal_sites = "no" |
Write a SQL query that answers the following question: What Line has Ohakune Junction as its NIMT? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (line_name VARCHAR, nimt_junction VARCHAR) | SELECT line_name FROM table_name_90 WHERE nimt_junction = "ohakune junction" |
Write a SQL query that answers the following question: What line has Newmarket Junction terminus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (line_name VARCHAR, terminus VARCHAR) | SELECT line_name FROM table_name_4 WHERE terminus = "newmarket junction" |
Write a SQL query that answers the following question: What terminus is 3.5km in lenght? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (terminus VARCHAR, length VARCHAR) | SELECT terminus FROM table_name_37 WHERE length = "3.5km" |
Write a SQL query that answers the following question: What line has Junction of Huntly NIMT | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (line_name VARCHAR, nimt_junction VARCHAR) | SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly" |
Write a SQL query that answers the following question: What is the average final with an all around greater than 19.35 and a total over 40? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (final INTEGER, all_around VARCHAR, total VARCHAR) | SELECT AVG(final) FROM table_name_42 WHERE all_around > 19.35 AND total > 40 |
Write a SQL query that answers the following question: What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR) | SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation = "finland" AND all_around > 18.9 |
Write a SQL query that answers the following question: What is the place of the player with £140,000 and a 68-68-75-68=279 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (place VARCHAR, money___£__ VARCHAR, score VARCHAR) | SELECT place FROM table_name_66 WHERE money___£__ = "140,000" AND score = 68 - 68 - 75 - 68 = 279 |
Write a SQL query that answers the following question: What is the country of player stuart appleby, who has a t1 place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_61 WHERE place = "t1" AND player = "stuart appleby" |
Write a SQL query that answers the following question: What is the place of player sergio garcía, who has £77,500? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR) | SELECT place FROM table_name_45 WHERE money___£__ = "77,500" AND player = "sergio garcía" |
Write a SQL query that answers the following question: What is the to par of the player with a 73-70-70-65=278 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_92 WHERE score = 73 - 70 - 70 - 65 = 278 |
Write a SQL query that answers the following question: Who is the player with £140,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (player VARCHAR, money___£__ VARCHAR) | SELECT player FROM table_name_97 WHERE money___£__ = "140,000" |
Write a SQL query that answers the following question: What is Date, when Time is "56.49"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_90 WHERE time = "56.49" |
Write a SQL query that answers the following question: What is Event, when Date is "19 December 2009"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (event VARCHAR, date VARCHAR) | SELECT event FROM table_name_6 WHERE date = "19 december 2009" |
Write a SQL query that answers the following question: What is Time, when Meet is "Duel in the Pool", and when Date is "19 December 2009"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (time VARCHAR, meet VARCHAR, date VARCHAR) | SELECT time FROM table_name_62 WHERE meet = "duel in the pool" AND date = "19 december 2009" |
Write a SQL query that answers the following question: What is the Location, when Event is "100m Butterfly"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_72 WHERE event = "100m butterfly" |
Write a SQL query that answers the following question: What is Date, when Meet is "World Championships", when Nationality is "United States", and when Time is "1:46.68"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (date VARCHAR, time VARCHAR, meet VARCHAR, nationality VARCHAR) | SELECT date FROM table_name_86 WHERE meet = "world championships" AND nationality = "united states" AND time = "1:46.68" |
Write a SQL query that answers the following question: What is Event, when Meet is "World Championships", and when Time is "20.51"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR) | SELECT event FROM table_name_41 WHERE meet = "world championships" AND time = "20.51" |
Write a SQL query that answers the following question: What is the highest number of households with a median household income of $31,176, and a population of 25,607? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR) | SELECT MAX(number_of_households) FROM table_name_30 WHERE median_household_income = "$31,176" AND population < 25 OFFSET 607 |
Write a SQL query that answers the following question: What is the median household income for Cape Girardeau? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (median_household_income VARCHAR, county VARCHAR) | SELECT median_household_income FROM table_name_68 WHERE county = "cape girardeau" |
Write a SQL query that answers the following question: Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (colourist_s VARCHAR, letterer_s VARCHAR, story_title VARCHAR) | SELECT colourist_s FROM table_name_89 WHERE letterer_s = "albers" AND story_title = "broken glass (part 3)" |
Write a SQL query that answers the following question: What is the Cover Date of the Story Title Spacehikers (Part 2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR) | SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 2)" |
Write a SQL query that answers the following question: What is the Story Title that has Albers as the Letterer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (story_title VARCHAR, letterer_s VARCHAR) | SELECT story_title FROM table_name_60 WHERE letterer_s = "albers" |
Write a SQL query that answers the following question: Who are the drivers with 133 laps in OC class? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (drivers VARCHAR, laps VARCHAR, class VARCHAR) | SELECT drivers FROM table_name_23 WHERE laps = 133 AND class = "oc" |
Write a SQL query that answers the following question: What are the most laps for the Qual position of 7 in the OC class? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (laps INTEGER, class VARCHAR, qual_pos VARCHAR) | SELECT MAX(laps) FROM table_name_62 WHERE class = "oc" AND qual_pos = 7 |
Write a SQL query that answers the following question: What are Perkins Engineering's fewest laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (laps INTEGER, team VARCHAR) | SELECT MIN(laps) FROM table_name_17 WHERE team = "perkins engineering" |
Write a SQL query that answers the following question: Which class has a Qual position of 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (class VARCHAR, qual_pos VARCHAR) | SELECT class FROM table_name_48 WHERE qual_pos = 30 |
Write a SQL query that answers the following question: What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn money? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR) | SELECT release_date FROM table_name_36 WHERE version = "1.0" AND category = "utilities" AND developer = "microsoft" AND title = "msn money" |
Write a SQL query that answers the following question: What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (release_date VARCHAR, title VARCHAR, category VARCHAR, developer VARCHAR) | SELECT release_date FROM table_name_86 WHERE category = "utilities" AND developer = "microsoft" AND title = "chord finder" |
Write a SQL query that answers the following question: What Developer has a Release date of 2010-12-16, and a Title of facebook? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (developer VARCHAR, release_date VARCHAR, title VARCHAR) | SELECT developer FROM table_name_12 WHERE release_date = "2010-12-16" AND title = "facebook" |
Write a SQL query that answers the following question: What Title has a Version of 1.0.0.3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (title VARCHAR, version VARCHAR) | SELECT title FROM table_name_83 WHERE version = "1.0.0.3" |
Write a SQL query that answers the following question: What Version has a Title of alarm clock? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (version VARCHAR, title VARCHAR) | SELECT version FROM table_name_77 WHERE title = "alarm clock" |
Write a SQL query that answers the following question: What Version has a Developer of dino games, and a Title of metronome? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (version VARCHAR, developer VARCHAR, title VARCHAR) | SELECT version FROM table_name_34 WHERE developer = "dino games" AND title = "metronome" |
Write a SQL query that answers the following question: Where did Wales play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (venue VARCHAR, opposing_teams VARCHAR) | SELECT venue FROM table_name_39 WHERE opposing_teams = "wales" |
Write a SQL query that answers the following question: What venue has 19 against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (venue VARCHAR, against VARCHAR) | SELECT venue FROM table_name_47 WHERE against = 19 |
Write a SQL query that answers the following question: Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR) | SELECT award_ceremony FROM table_name_87 WHERE nominee = "sarah travis" AND category = "best orchestrations" |
Write a SQL query that answers the following question: What is the most current year signed for separation of † and a separation year of 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (year_signed INTEGER, reason_for_separation VARCHAR, year_separated VARCHAR) | SELECT MAX(year_signed) FROM table_name_79 WHERE reason_for_separation = "†" AND year_separated = "1997" |
Write a SQL query that answers the following question: What is the Chinese name for the English name Andy Lau? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (chinese_name VARCHAR, english_name VARCHAR) | SELECT chinese_name FROM table_name_58 WHERE english_name = "andy lau" |
Write a SQL query that answers the following question: What year was Wilfred Lau separated because Capital stopped recording music? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (year_separated VARCHAR, reason_for_separation VARCHAR, english_name VARCHAR) | SELECT year_separated FROM table_name_74 WHERE reason_for_separation = "capital stopped recording music" AND english_name = "wilfred lau" |
Write a SQL query that answers the following question: What is the English name for the Chinese name of 蘇永康 later than 1974? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (english_name VARCHAR, year_signed VARCHAR, chinese_name VARCHAR) | SELECT english_name FROM table_name_30 WHERE year_signed > 1974 AND chinese_name = "蘇永康" |
Write a SQL query that answers the following question: What was the signed year for the Chinese name 蘇永康 who separated in 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (year_signed VARCHAR, year_separated VARCHAR, chinese_name VARCHAR) | SELECT year_signed FROM table_name_82 WHERE year_separated = "1987" AND chinese_name = "蘇永康" |
Write a SQL query that answers the following question: WHAT IS THE SITE ON OCTOBER 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (site VARCHAR, date VARCHAR) | SELECT site FROM table_name_44 WHERE date = "october 7" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.