answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT school FROM table_11677691_9 WHERE hometown = "Centerville, Ohio" | Which school is located in the hometown of Centerville, Ohio? | CREATE TABLE table_11677691_9 (school VARCHAR, hometown VARCHAR) |
SELECT prize_money FROM table_26903214_1 WHERE rider = "Nina Carberry" | How much did Nina Carberry win? | CREATE TABLE table_26903214_1 (prize_money VARCHAR, rider VARCHAR) |
SELECT grand_prix FROM table_18303274_1 WHERE pole_position = "Daijiro Hiura" AND round = 5 | Which round 5 Grand Prix had Daijiro Hiura at pole position? | CREATE TABLE table_18303274_1 (grand_prix VARCHAR, pole_position VARCHAR, round VARCHAR) |
SELECT total FROM table_name_49 WHERE opponent = "csb uphds" | When the opposing team was CSB UPHDS what was the total? | CREATE TABLE table_name_49 (total VARCHAR, opponent VARCHAR) |
SELECT COUNT(r) FROM table WHERE position = AM AND league > 7.0 | If the position is AM and the league is larger than 7.0, what is the total R number? | CREATE TABLE table (r VARCHAR, position VARCHAR, AM VARCHAR, league VARCHAR) |
SELECT tv_season FROM table_10120207_8 WHERE rank = "39" | What is the season year where the rank is 39? | CREATE TABLE table_10120207_8 (tv_season VARCHAR, rank VARCHAR) |
SELECT position FROM table_14342210_6 WHERE player = "Redden" | Which position did Redden play? | CREATE TABLE table_14342210_6 (position VARCHAR, player VARCHAR) |
SELECT COUNT(population) FROM table_16278825_1 WHERE towns__villages = 217 | NJame the total number of population for towns/villages for 217 | CREATE TABLE table_16278825_1 (population VARCHAR, towns__villages VARCHAR) |
SELECT date FROM table_name_3 WHERE result = "3–2" | What was the date of the game with a result of 3–2? | CREATE TABLE table_name_3 (date VARCHAR, result VARCHAR) |
SELECT winner FROM table_name_96 WHERE general_classification = "nick nuyens" AND stage = "2" | Name the winner for nick nuyens for general classification and stage of 2 | CREATE TABLE table_name_96 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR) |
SELECT COUNT(record) FROM table_22669044_8 WHERE location_attendance = "United Center 18,838" | Name the number of record for united center 18,838 | CREATE TABLE table_22669044_8 (record VARCHAR, location_attendance VARCHAR) |
SELECT 2012 AS _club FROM table_name_23 WHERE name = "norbert hosnyánszky category:articles with hcards" | Name the 012 club which has of norbert hosnyánszky category:articles with hcards? | CREATE TABLE table_name_23 (name VARCHAR) |
SELECT COUNT(rank) FROM table_name_47 WHERE surname = "lindberg" | What did the Surname Lindberg rank? | CREATE TABLE table_name_47 (rank VARCHAR, surname VARCHAR) |
SELECT attendance FROM table_name_14 WHERE record = "49-61" | What was the attendance at the game when the record was 49-61? | CREATE TABLE table_name_14 (attendance VARCHAR, record VARCHAR) |
SELECT winning_driver FROM table_name_59 WHERE circuit = "monza" | Name the winning driver with circuit of monza | CREATE TABLE table_name_59 (winning_driver VARCHAR, circuit VARCHAR) |
SELECT opponent FROM table_name_1 WHERE man_of_the_match = "terry miles" | Who was the Opponent when Terry Miles was the Man of the Match? | CREATE TABLE table_name_1 (opponent VARCHAR, man_of_the_match VARCHAR) |
SELECT date FROM table_name_79 WHERE host_team = "baltimore ravens" | When did the Baltimore Ravens play at home ? | CREATE TABLE table_name_79 (date VARCHAR, host_team VARCHAR) |
SELECT state FROM Owners INTERSECT SELECT state FROM Professionals | Which states have both owners and professionals living there? | CREATE TABLE Owners (state VARCHAR); CREATE TABLE Professionals (state VARCHAR) |
SELECT COUNT(kickoff_)[a_] FROM table_11406866_2 WHERE "week" = "week" | what is the total number of kickoff [a ] where week is week | CREATE TABLE table_11406866_2 (a_ VARCHAR, kickoff_ VARCHAR) |
SELECT antiparticle_symbol FROM table_name_16 WHERE rest_mass___mev___c_2__ = ".47 ± .33" | What is the antiparticle symbol with a rest mess (mev/c2) of .47 ± .33? | CREATE TABLE table_name_16 (antiparticle_symbol VARCHAR, rest_mass___mev___c_2__ VARCHAR) |
SELECT venue FROM table_name_5 WHERE date = "28 october 2013" | At which venue did the game on 28 october 2013 take place? | CREATE TABLE table_name_5 (venue VARCHAR, date VARCHAR) |
SELECT position FROM table_name_83 WHERE year = 1999 | What position is 1999? | CREATE TABLE table_name_83 (position VARCHAR, year VARCHAR) |
SELECT to_par FROM table_name_95 WHERE place = "t9" AND player = "ernie els" | What is the To par of T9 Place Player Ernie Els? | CREATE TABLE table_name_95 (to_par VARCHAR, place VARCHAR, player VARCHAR) |
SELECT address_line_1 FROM Course_Authors_and_Tutors | List the addresses of all the course authors or tutors. | CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR) |
SELECT MAX(lead_pitch_mm) FROM table_name_1 WHERE part_number = "tsop40" AND body_length_mm > 18.4 | Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/mm larger than 18.4? | CREATE TABLE table_name_1 (lead_pitch_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR) |
SELECT MAX(level) FROM table_1751142_2 | What is the highest possible level? | CREATE TABLE table_1751142_2 (level INTEGER) |
SELECT MAX(gold) FROM table_22355_26 | What is the maximum number of golds? | CREATE TABLE table_22355_26 (gold INTEGER) |
SELECT MIN(silver) FROM table_22360_3 WHERE discipline = "Baseball" | Name the silver for baseball | CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR) |
SELECT COUNT(year) FROM table_name_61 WHERE color_commentator_s_ = "frank gifford and dan dierdorf" | For how many years combined were Frank Gifford and Dan Dierdorf color commentators? | CREATE TABLE table_name_61 (year VARCHAR, color_commentator_s_ VARCHAR) |
SELECT club FROM table_17941032_1 WHERE points = "98" | When 98 is the points what is the club? | CREATE TABLE table_17941032_1 (club VARCHAR, points VARCHAR) |
SELECT home_team FROM table_name_40 WHERE away_team = "hull city" | What is the home team that played Hull City? | CREATE TABLE table_name_40 (home_team VARCHAR, away_team VARCHAR) |
SELECT opponent FROM table_name_72 WHERE player = "phil graham" | Who is the opponent of player phil graham? | CREATE TABLE table_name_72 (opponent VARCHAR, player VARCHAR) |
SELECT result FROM table_1341472_20 WHERE party = "Republican" AND incumbent = "Billy Tauzin" | Which result did the Republican have with the incumbent, Billy Tauzin? | CREATE TABLE table_1341472_20 (result VARCHAR, party VARCHAR, incumbent VARCHAR) |
SELECT team__b_ FROM table_name_10 WHERE s_no > 17 | What is Team (B), when S No is greater than 17? | CREATE TABLE table_name_10 (team__b_ VARCHAR, s_no INTEGER) |
SELECT purpose FROM table_name_18 WHERE band = "am" AND frequency = "0 846" | Band of am, and a Frequency of 0 846 has what purpose? | CREATE TABLE table_name_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR) |
SELECT 188 AS kg FROM table_name_96 WHERE world_record = "clean & jerk" | For what 188kg is the world record clean & jerk? | CREATE TABLE table_name_96 (world_record VARCHAR) |
SELECT grand_prix FROM table_name_23 WHERE pole_position = "kimi räikkönen" | Name the Grand Prix for pole position of kimi räikkönen | CREATE TABLE table_name_23 (grand_prix VARCHAR, pole_position VARCHAR) |
SELECT MIN(year_of_construction) FROM table_10020178_1 WHERE name = "Spitallamm" | What is year of construction of spitallamm? | CREATE TABLE table_10020178_1 (year_of_construction INTEGER, name VARCHAR) |
SELECT minister FROM table_name_43 WHERE party = "csv" AND end_date = "present day" | Who was the minister for the CSV party with a present day end date? | CREATE TABLE table_name_43 (minister VARCHAR, party VARCHAR, end_date VARCHAR) |
SELECT set_1 FROM table_name_75 WHERE set_3 = "15–4" AND set_2 = "15–7" | What was the Set 1 game score when Set 3 game score was 15–4, and a Set 2 game score was 15–7? | CREATE TABLE table_name_75 (set_1 VARCHAR, set_3 VARCHAR, set_2 VARCHAR) |
SELECT position FROM table_name_71 WHERE school = "petal high school" | Which position has a School of petal high school? | CREATE TABLE table_name_71 (position VARCHAR, school VARCHAR) |
SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19 | How many different net run rates did the team with 19 total points have? | CREATE TABLE table_25368177_1 (net_run_rate VARCHAR, total_points VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_48 WHERE player = "steve jones" | What college or club team did Steve Jones play for? | CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, player VARCHAR) |
SELECT school FROM table_name_68 WHERE hometown = "winter park, fl" | Which school has a hometown of winter park, FL? | CREATE TABLE table_name_68 (school VARCHAR, hometown VARCHAR) |
SELECT winner FROM table_name_89 WHERE notes = "world championship formula 1" AND venue = "circuit de monaco" | Who was the winner for the world championship formula 1 at the venue, circuit de monaco? | CREATE TABLE table_name_89 (winner VARCHAR, notes VARCHAR, venue VARCHAR) |
SELECT location FROM table_name_12 WHERE opponent = "jonathan goulet" | What is Location, when Opponent is "Jonathan Goulet"? | CREATE TABLE table_name_12 (location VARCHAR, opponent VARCHAR) |
SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "10.16 (76) – 9.22 (76)" | what's the minimum attendance with score 10.16 (76) – 9.22 (76) | CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR) |
SELECT MIN(poles) FROM table_name_60 WHERE season > 2009 | What is the lowest Poles with a Season that is larger than 2009? | CREATE TABLE table_name_60 (poles INTEGER, season INTEGER) |
SELECT COUNT(acres) FROM table_name_29 WHERE landfill = "sai tso wan" AND opened < 1978 | What is the total number of acres at Sai Tso Wan, opening before 1978? | CREATE TABLE table_name_29 (acres VARCHAR, landfill VARCHAR, opened VARCHAR) |
SELECT pop_density__per_km²_ FROM table_232458_1 WHERE no_of_barangays = 19 | If the number of barangays is 19, what is the population density? | CREATE TABLE table_232458_1 (pop_density__per_km²_ VARCHAR, no_of_barangays VARCHAR) |
SELECT MAX(geo_id) FROM table_name_1 WHERE longitude = -98.435797 AND land___sqmi__ < 36.039 | what is the geo id when the longitude is -98.435797 and the land (sqmi) is less than 36.039? | CREATE TABLE table_name_1 (geo_id INTEGER, longitude VARCHAR, land___sqmi__ VARCHAR) |
SELECT directed_by FROM table_26736342_1 WHERE us_viewers__millions_ = "1.95" | Who directed the eposide that was watched by 1.95 million US viewers? | CREATE TABLE table_26736342_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT COUNT(viewers) FROM table_name_30 WHERE rank = "#40" | What is the total number of Viewers when the rank is #40? | CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR) |
SELECT detention_summary FROM Detention | Return all detention summaries. | CREATE TABLE Detention (detention_summary VARCHAR) |
SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377 | What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377? | CREATE TABLE table_name_23 (year_2007 INTEGER, year_2005 INTEGER) |
SELECT MAX(weight) FROM table_25360865_1 | Name the most height | CREATE TABLE table_25360865_1 (weight INTEGER) |
SELECT opponent FROM table_name_5 WHERE date = "april 29" | Who was the opponent on April 29? | CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR) |
SELECT class FROM table_name_30 WHERE machine = "rs125r" AND points > 113 AND rank = "4th" | Which class had a machine of RS125R, points over 113, and a rank of 4th? | CREATE TABLE table_name_30 (class VARCHAR, rank VARCHAR, machine VARCHAR, points VARCHAR) |
SELECT date_of_appointment FROM table_16075179_6 WHERE outgoing_manager = "Wim Jansen" | When was the date of appointment for the manager replacing Wim Jansen? | CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) |
SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' AND salary > 80000 | Find the names of all instructors in Comp. Sci. department with salary > 80000. | CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR, salary VARCHAR) |
SELECT model_number FROM table_name_59 WHERE fsb_speed = "400 mhz" | Name the Model Number which has a FSB Speed of 400 mhz? | CREATE TABLE table_name_59 (model_number VARCHAR, fsb_speed VARCHAR) |
SELECT MAX(drawn) FROM table_name_36 WHERE played < 18 | Which Drawn is the highest one that has a Played smaller than 18? | CREATE TABLE table_name_36 (drawn INTEGER, played INTEGER) |
SELECT common_of FROM table_1449176_1 WHERE rank = "9th" | What is the name of the 9th ranked common? | CREATE TABLE table_1449176_1 (common_of VARCHAR, rank VARCHAR) |
SELECT location FROM table_16432543_3 WHERE enrollment = 12400 | What school location had an enrollment of 12400? | CREATE TABLE table_16432543_3 (location VARCHAR, enrollment VARCHAR) |
SELECT season_episode FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.68" | What was the episode number for the episode viewed by 5.68 million viewers? | CREATE TABLE table_27987623_1 (season_episode VARCHAR, us_viewers__in_million_ VARCHAR) |
SELECT * FROM Student_Addresses ORDER BY monthly_rental DESC | Find all information about student addresses, and sort by monthly rental in descending order. | CREATE TABLE Student_Addresses (monthly_rental VARCHAR) |
SELECT game FROM table_name_80 WHERE home_team = "san francisco" AND date = "april 22" | Which Game has a Home Team of san francisco, and a Date of april 22? | CREATE TABLE table_name_80 (game VARCHAR, home_team VARCHAR, date VARCHAR) |
SELECT partner FROM table_name_57 WHERE date = "8 february 2009" | Which Partner has a Date of 8 february 2009? | CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR) |
SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = "greenland" AND ansi_code > 1036405 | What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405? | CREATE TABLE table_name_45 (latitude VARCHAR, ansi_code VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR) |
SELECT home_team AS score FROM table_name_95 WHERE venue = "princes park" | What was the home score at the Princes Park game? | CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR) |
SELECT record FROM table_name_51 WHERE date = "november 16" | Which Record is on november 16? | CREATE TABLE table_name_51 (record VARCHAR, date VARCHAR) |
SELECT score FROM table_name_10 WHERE visitor = "winnipeg jets" AND date = "april 7" | What is the Score that has a Winnipeg Jets as Visitor on april 7? | CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT COUNT(total) FROM table_13606924_1 WHERE county = "Rooks county, Kansas" | how many total with county being rooks county, kansas | CREATE TABLE table_13606924_1 (total VARCHAR, county VARCHAR) |
SELECT AVG(silver) FROM table_name_42 WHERE rank = "30" AND bronze > 0 | What is the average Silver with rank 30 and a Bronze greater than 0 | CREATE TABLE table_name_42 (silver INTEGER, rank VARCHAR, bronze VARCHAR) |
SELECT apparent_magnitude FROM table_name_14 WHERE ngc_number = "6027d" | what is the apparent magnitude of NGC number 6027d? | CREATE TABLE table_name_14 (apparent_magnitude VARCHAR, ngc_number VARCHAR) |
SELECT MIN(wins) FROM table_name_95 WHERE top_25 = 3 AND cuts_made < 9 | What is his low win total when he has over 3 top 25s and under 9 cuts made? | CREATE TABLE table_name_95 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR) |
SELECT years FROM table_name_45 WHERE authority = "state integrated" AND decile = "9" | What are the years when the authority was state integrated and a decile of 9? | CREATE TABLE table_name_45 (years VARCHAR, authority VARCHAR, decile VARCHAR) |
SELECT MIN(position) FROM table_name_70 WHERE name = "ehc straubing ii" AND played < 10 | What was the lowest postion of ehc straubing ii when they played less than 10 games? | CREATE TABLE table_name_70 (position INTEGER, name VARCHAR, played VARCHAR) |
SELECT MAX(aggravated_assault) FROM table_name_90 WHERE crime_rate_per_1000 > 89.1 AND rape = 23 AND crime_index_total > 1590 | Which aggravated assault has the highest amount and the following criteria: crime rate per 1000 greater than 89.1,rape value of 23, and a crime index greater than 1590? | CREATE TABLE table_name_90 (aggravated_assault INTEGER, crime_index_total VARCHAR, crime_rate_per_1000 VARCHAR, rape VARCHAR) |
SELECT COUNT(silver) FROM table_name_90 WHERE rank = 3 AND bronze > 0 | How many silver medals had a rank of 3 with bronze larger than 0? | CREATE TABLE table_name_90 (silver VARCHAR, rank VARCHAR, bronze VARCHAR) |
SELECT T3.booking_start_date, T3.booking_end_date FROM Products_for_hire AS T1 JOIN products_booked AS T2 ON T1.product_id = T2.product_id JOIN bookings AS T3 ON T2.booking_id = T3.booking_id WHERE T1.product_name = 'Book collection A' | What are the start date and end date of the booking that has booked the product named 'Book collection A'? | CREATE TABLE bookings (booking_start_date VARCHAR, booking_end_date VARCHAR, booking_id VARCHAR); CREATE TABLE products_booked (product_id VARCHAR, booking_id VARCHAR); CREATE TABLE Products_for_hire (product_id VARCHAR, product_name VARCHAR) |
SELECT COUNT(score) FROM table_27700375_6 WHERE high_assists = "Terrence Williams (9)" | In how many games did Terrence Williams (9) have High assists? | CREATE TABLE table_27700375_6 (score VARCHAR, high_assists VARCHAR) |
SELECT COUNT(goodman) FROM table_1014319_1 WHERE result = "Second place" AND dance_song = "Samba / Young Hearts Run Free" | How many scores did Goodman give to "samba / young hearts run free", which was in second place? | CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, dance_song VARCHAR) |
SELECT mean_free_path FROM table_name_28 WHERE vacuum_range = "medium vacuum" | What is Mean Free Path, when Vacuum Range is "medium vacuum"? | CREATE TABLE table_name_28 (mean_free_path VARCHAR, vacuum_range VARCHAR) |
SELECT name FROM table_name_96 WHERE laid_down = "july 1823" AND built_by_hm_dockyard = "portsmouth" | What is the name that has July 1823 as the Laid down, and portsmouth as the built by hm dockyard? | CREATE TABLE table_name_96 (name VARCHAR, laid_down VARCHAR, built_by_hm_dockyard VARCHAR) |
SELECT MIN(played) FROM table_name_97 WHERE points = "28-10" AND goals_for > 29 | Which is the lowest played with 28-10 points and goals higher than 29? | CREATE TABLE table_name_97 (played INTEGER, points VARCHAR, goals_for VARCHAR) |
SELECT works_number FROM table_name_80 WHERE name = "victor" | What is the work number for Victor? | CREATE TABLE table_name_80 (works_number VARCHAR, name VARCHAR) |
SELECT round FROM table_name_28 WHERE opponent = "sergiy stakhovsky" | What round was the opponent Sergiy Stakhovsky? | CREATE TABLE table_name_28 (round VARCHAR, opponent VARCHAR) |
SELECT MAX(crowd) FROM table_name_35 WHERE away_team = "melbourne" | What is the largest crowd for a Melbourne away team? | CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR) |
SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%" | What 2009 has 18.5% as the 2007? | CREATE TABLE table_name_49 (Id VARCHAR) |
SELECT package_option FROM table_name_74 WHERE television_service = "sky inside" | What is Package/Option, when Television Service is Sky Inside? | CREATE TABLE table_name_74 (package_option VARCHAR, television_service VARCHAR) |
SELECT country FROM table_name_91 WHERE athlete = "zhang xiuyun" | what is the country for zhang xiuyun? | CREATE TABLE table_name_91 (country VARCHAR, athlete VARCHAR) |
SELECT score FROM table_name_92 WHERE place = "t6" AND player = "jack nicklaus" | What score did Jack Nicklaus have when he placed t6? | CREATE TABLE table_name_92 (score VARCHAR, place VARCHAR, player VARCHAR) |
SELECT average_grade FROM table_21829580_1 WHERE song = "Şımarık Tarkan" | Name the average grade for şımarık tarkan | CREATE TABLE table_21829580_1 (average_grade VARCHAR, song VARCHAR) |
SELECT T2.order_id, T2.order_status FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie" | Give me a list of id and status of orders which belong to the customer named "Jeramie". | CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (order_id VARCHAR, order_status VARCHAR, customer_id VARCHAR) |
SELECT conference FROM table_28365816_2 WHERE tournament_winner = "North Carolina" | During what conference is North Carolina listed as the tournament winner? | CREATE TABLE table_28365816_2 (conference VARCHAR, tournament_winner VARCHAR) |
SELECT rounds FROM table_name_98 WHERE entrant = "david brown corporation" AND driver = "roy salvadori" | What rounds did Roy Salvadori drive for David Brown Corporation? | CREATE TABLE table_name_98 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR) |
SELECT value FROM table_name_90 WHERE other = "muoy roy" | What number value has the Other transliteration of muoy roy? | CREATE TABLE table_name_90 (value VARCHAR, other VARCHAR) |
SELECT ministries FROM table_21422977_2 WHERE duration = "4 years, 4 days (1,465 days)" | What is the ministries number when duration is 4 years, 4 days (1,465 days)? | CREATE TABLE table_21422977_2 (ministries VARCHAR, duration VARCHAR) |
SELECT 2006 FROM table_name_64 WHERE 2011 = "grand slam tournaments" | What is the 2006 value of the 2011 grand slam tournaments? | CREATE TABLE table_name_64 (Id VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.