answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT MIN(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE taxonomy = "s Fern ( Pteridophyta )" | what's the minimum species in the peruvian amazon with taxonomy s fern ( pteridophyta ) | CREATE TABLE table_11727969_1 (species_in_the_peruvian_amazon INTEGER, taxonomy VARCHAR) |
SELECT Vice - captain FROM table_1301373_7 WHERE club = "Melbourne Victory" | Name the vice captain for melbourne victory | CREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR) |
SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough" | what is the recnet when the city of license is peterborough? | CREATE TABLE table_name_68 (recnet VARCHAR, city_of_license VARCHAR) |
SELECT match_report FROM table_name_29 WHERE opponents = "stirling albion" AND venue = "forthbank stadium" | What is the match report for the game played at forthbank stadium against stirling albion? | CREATE TABLE table_name_29 (match_report VARCHAR, opponents VARCHAR, venue VARCHAR) |
SELECT school_club_team FROM table_name_31 WHERE pick = 33 | What school/club had pick 33? | CREATE TABLE table_name_31 (school_club_team VARCHAR, pick VARCHAR) |
SELECT position FROM table_27132791_3 WHERE pro_team = "Jacksonville Bulls" | If the proteam is Jacksonville bulls, what is the position? | CREATE TABLE table_27132791_3 (position VARCHAR, pro_team VARCHAR) |
SELECT departure FROM table_name_88 WHERE kilometers = 1676 | What's listed for Departure that has 1676 listed for the Kilometers? | CREATE TABLE table_name_88 (departure VARCHAR, kilometers VARCHAR) |
SELECT MAX(year) FROM table_name_16 WHERE departed_from = "tdb" | When did TDB depart? | CREATE TABLE table_name_16 (year INTEGER, departed_from VARCHAR) |
SELECT AVG(year) FROM table_name_31 WHERE issue_price = "$1,295.95" | What was the year that had an issue price of $1,295.95? | CREATE TABLE table_name_31 (year INTEGER, issue_price VARCHAR) |
SELECT AVG(events) FROM table_name_27 WHERE player = "miller barber" | Name the average events for miller barber | CREATE TABLE table_name_27 (events INTEGER, player VARCHAR) |
SELECT wheel_arrangement FROM table_name_75 WHERE year_s__retired = "1955" | What is the wheel arrangement for the model that was retired in 1955? | CREATE TABLE table_name_75 (wheel_arrangement VARCHAR, year_s__retired VARCHAR) |
SELECT height_in_ft FROM table_11734041_10 WHERE school_club_team_country = "Connecticut" | In connecticut the school/club team/country had a set height in ft. what is true for them? | CREATE TABLE table_11734041_10 (height_in_ft VARCHAR, school_club_team_country VARCHAR) |
SELECT COUNT(*) FROM CARS_DATA WHERE horsepower > 150 | What is the number of the cars with horsepower more than 150? | CREATE TABLE CARS_DATA (horsepower INTEGER) |
SELECT high_rebounds FROM table_name_17 WHERE location_attendance = "philips arena 12,088" | Who had the high rebounds in Philips Arena 12,088? | CREATE TABLE table_name_17 (high_rebounds VARCHAR, location_attendance VARCHAR) |
SELECT price FROM table_name_63 WHERE internet_plan = "internet 150" | What is the price of the internet 150 plans? | CREATE TABLE table_name_63 (price VARCHAR, internet_plan VARCHAR) |
SELECT AVG(floors) FROM table_name_6 WHERE rank > 30 AND year < 1977 AND name = "100 van ness avenue" | What is the average amount of floors of the building that is ranked larger than 30, a year prior to 1977 and an address of 100 Van Ness Avenue? | CREATE TABLE table_name_6 (floors INTEGER, name VARCHAR, rank VARCHAR, year VARCHAR) |
SELECT date FROM table_name_65 WHERE home_team = "richmond" | What is Date, when Home Team is Richmond? | CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR) |
SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "hsin-yüan … i-ma" | Name the simplified charaacters being hsin-yüan … i-ma | CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR) |
SELECT MAX(nfl_draft) FROM table_name_47 WHERE player = "jeff robinson" AND overall_pick < 98 | What is the highest NFL Draft that has jeff robinson as the player, with an overall pick less than 98? | CREATE TABLE table_name_47 (nfl_draft INTEGER, player VARCHAR, overall_pick VARCHAR) |
SELECT away_team FROM table_name_60 WHERE home_team = "north melbourne" | what was the away team for the north melbourne home team? | CREATE TABLE table_name_60 (away_team VARCHAR, home_team VARCHAR) |
SELECT COUNT(*) FROM Student WHERE age = 18 | How many students are age 18? | CREATE TABLE Student (age VARCHAR) |
SELECT lead FROM table_name_15 WHERE nation = "switzerland" | Which Lead has a Nation of switzerland? | CREATE TABLE table_name_15 (lead VARCHAR, nation VARCHAR) |
SELECT salary, manager_id FROM employees WHERE manager_id <> "null" | Find the salary and manager number for those employees who is working under a manager. | CREATE TABLE employees (salary VARCHAR, manager_id VARCHAR) |
SELECT land___sqmi__ FROM table_18600760_3 WHERE latitude = "48.763937" | What was the land area in sqmi that has a latitude of 48.763937? | CREATE TABLE table_18600760_3 (land___sqmi__ VARCHAR, latitude VARCHAR) |
SELECT series_4 FROM table_name_70 WHERE series_1 = "sarah newman" | What is the series 4 with sarah newman in series 1? | CREATE TABLE table_name_70 (series_4 VARCHAR, series_1 VARCHAR) |
SELECT score FROM table_name_1 WHERE country = "taiwan" | What did Taiwan score? | CREATE TABLE table_name_1 (score VARCHAR, country VARCHAR) |
SELECT COUNT(total) FROM table_name_96 WHERE fumble_rec > 0 AND fumble_force = 0 | How many tackles for the player with over 0 fumble recovries and 0 forced fumbles? | CREATE TABLE table_name_96 (total VARCHAR, fumble_rec VARCHAR, fumble_force VARCHAR) |
SELECT staten_island FROM table_1108394_6 WHERE the_bronx = "1,281" | What was the amount in Staten Island when The Bronx was 1,281? | CREATE TABLE table_1108394_6 (staten_island VARCHAR, the_bronx VARCHAR) |
SELECT MAX(mins) FROM table_name_87 WHERE club = "san jose earthquakes" AND shts < 166 | What is the largest MINS for the San Jose Earthquakes with a SHTS less than 166? | CREATE TABLE table_name_87 (mins INTEGER, club VARCHAR, shts VARCHAR) |
SELECT MAX(total) FROM table_name_58 WHERE bronze = 0 AND nation = "hungary" | what is the total when bronze is 0 and the nation is hungary? | CREATE TABLE table_name_58 (total INTEGER, bronze VARCHAR, nation VARCHAR) |
SELECT duration FROM table_10416547_1 WHERE major_instrument_s_ = "Piano" AND date = "2004-02-03" | What is the duration of the song where the major instrument is the piano and the date is 2004-02-03? | CREATE TABLE table_10416547_1 (duration VARCHAR, major_instrument_s_ VARCHAR, date VARCHAR) |
SELECT MAX(no) FROM table_18424435_4 | What is the maximum number of episodes in the series listed? | CREATE TABLE table_18424435_4 (no INTEGER) |
SELECT director FROM table_22265716_1 WHERE original_title = "Лепа села лепо горе" | Who is the director of the film with the title лепа села лепо горе? | CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR) |
SELECT SUM(against) FROM table_name_82 WHERE date = "08/12/1992" | What is the total against on 08/12/1992? | CREATE TABLE table_name_82 (against INTEGER, date VARCHAR) |
SELECT MIN(crowd) FROM table_name_68 WHERE home_team = "fitzroy" | What was the lowest attendance at a Fitzroy match? | CREATE TABLE table_name_68 (crowd INTEGER, home_team VARCHAR) |
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Independiente" | How many 2nd legs are there where home (1st leg) is Independiente? | CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR) |
SELECT AVG(industrial_and_commercial_panel) FROM table_name_22 WHERE cultural_and_educational_panel < 0 | With the cultural and educational panel less than 0 what is the average industrial and commercial panel? | CREATE TABLE table_name_22 (industrial_and_commercial_panel INTEGER, cultural_and_educational_panel INTEGER) |
SELECT date FROM table_18847736_2 WHERE opponent = "New England Patriots" | What is the date when the opponent is the New England Patriots? | CREATE TABLE table_18847736_2 (date VARCHAR, opponent VARCHAR) |
SELECT lok_sabha FROM table_29785324_5 WHERE vidhan_sabha_constituency = "Karakat (Vidhan Sabha constituency)" | What was the Lok Sabha in Karakat (Vidhan Sabha Constituency)? | CREATE TABLE table_29785324_5 (lok_sabha VARCHAR, vidhan_sabha_constituency VARCHAR) |
SELECT population__july_2009_est_ FROM table_26769_1 WHERE population_density_per_km² = "14.3/km² (/sqmi)" | What was the population of a country with a population density of 14.3/km² (/sqmi)? | CREATE TABLE table_26769_1 (population__july_2009_est_ VARCHAR, population_density_per_km² VARCHAR) |
SELECT tv_station FROM table_name_43 WHERE romaji_title = "kegareta shita" | Which TV Station has a Romaji Title of kegareta shita? | CREATE TABLE table_name_43 (tv_station VARCHAR, romaji_title VARCHAR) |
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 11" | How many games were played on May 11? | CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR) |
SELECT venue FROM table_name_85 WHERE scored > 1 | Where was the game with a higher score than 1 played? | CREATE TABLE table_name_85 (venue VARCHAR, scored INTEGER) |
SELECT start_address FROM table_name_88 WHERE size_of_network_number_bit_field = "16" | What is the start address when the network number bit field is 16? | CREATE TABLE table_name_88 (start_address VARCHAR, size_of_network_number_bit_field VARCHAR) |
SELECT home FROM table_name_82 WHERE date = "january 11" | Which Home is on january 11? | CREATE TABLE table_name_82 (home VARCHAR, date VARCHAR) |
SELECT candidate FROM table_name_20 WHERE election = "2008 (2)" | Who is the candidate in the 2008 (2) election? | CREATE TABLE table_name_20 (candidate VARCHAR, election VARCHAR) |
SELECT batting_style FROM table_name_95 WHERE player = "jonty rhodes" | What is Jonty Rhodes's batting style? | CREATE TABLE table_name_95 (batting_style VARCHAR, player VARCHAR) |
SELECT MAX(erp_w) FROM table_name_97 WHERE frequency_mhz = 89.1 | What is the highest ERP W of an 89.1 frequency translator? | CREATE TABLE table_name_97 (erp_w INTEGER, frequency_mhz VARCHAR) |
SELECT year FROM table_26669939_1 WHERE host_country = "Montenegro" | In what year was Montenegro the host country? | CREATE TABLE table_26669939_1 (year VARCHAR, host_country VARCHAR) |
SELECT COUNT(week) FROM table_name_21 WHERE opponent = "new york giants" | What week number had the New York Giants as opponent? | CREATE TABLE table_name_21 (week VARCHAR, opponent VARCHAR) |
SELECT goals_against FROM table_name_82 WHERE points = 58 | How many goals against have 58 points? | CREATE TABLE table_name_82 (goals_against VARCHAR, points VARCHAR) |
SELECT AVG(gross_tonnage) FROM table_name_57 WHERE entered_service = "april 1919" | Tell me the average gross tonnage for april 1919 entered service | CREATE TABLE table_name_57 (gross_tonnage INTEGER, entered_service VARCHAR) |
SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (6)" | When aaron brooks (6) had the highest amount of assists what is the date? | CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR) |
SELECT height_ft__m_ FROM table_name_69 WHERE name = "tenth presbyterian church" | What is the height of the Tenth Presbyterian Church? | CREATE TABLE table_name_69 (height_ft__m_ VARCHAR, name VARCHAR) |
SELECT payload__kg_ FROM table_name_99 WHERE in_service = "2011" | Tell me the payload that has an In service for 2011 | CREATE TABLE table_name_99 (payload__kg_ VARCHAR, in_service VARCHAR) |
SELECT builder FROM table_name_35 WHERE country = "united kingdom" AND location = "chatham, kent" | What is Builder, when Country is "United Kingdom", and when Location is "Chatham, Kent"? | CREATE TABLE table_name_35 (builder VARCHAR, country VARCHAR, location VARCHAR) |
SELECT trident FROM table_name_57 WHERE gecko = "19.0" | Which Trident version has a Gecko value of 19.0? | CREATE TABLE table_name_57 (trident VARCHAR, gecko VARCHAR) |
SELECT COUNT(overall) FROM table_name_30 WHERE name = "bob anderson" | How much Overall has a Name of bob anderson? | CREATE TABLE table_name_30 (overall VARCHAR, name VARCHAR) |
SELECT surface FROM table_name_82 WHERE partner = "oliver marach" | Which Surface has a Partner of oliver marach? | CREATE TABLE table_name_82 (surface VARCHAR, partner VARCHAR) |
SELECT team FROM table_name_53 WHERE rank > 5 AND rider = "paul shoesmith" | Rank larger than 5, and a Rider of paul shoesmith belongs to what team? | CREATE TABLE table_name_53 (team VARCHAR, rank VARCHAR, rider VARCHAR) |
SELECT winner FROM table_name_41 WHERE pole_position = "ben spies" AND date = "elkhart lake, wisconsin" | What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wisconsin? | CREATE TABLE table_name_41 (winner VARCHAR, pole_position VARCHAR, date VARCHAR) |
SELECT opponent FROM table_name_63 WHERE week < 12 AND date = "november 11, 1990" | Who was the opponent before week 12, on November 11, 1990? | CREATE TABLE table_name_63 (opponent VARCHAR, week VARCHAR, date VARCHAR) |
SELECT record FROM table_name_18 WHERE loss = "plesac (1-5)" | For the Loss of Plesac (1-5), what is the Record? | CREATE TABLE table_name_18 (record VARCHAR, loss VARCHAR) |
SELECT MAX(year) FROM table_2201724_1 | What is Fred Stolle's final year of competing in a championship? | CREATE TABLE table_2201724_1 (year INTEGER) |
SELECT mascot FROM table_name_20 WHERE enrollment__2010_ < 980 AND school = "heritage" | What is the mascot with an enrollment (2010) less than 980, and heritage as the school? | CREATE TABLE table_name_20 (mascot VARCHAR, enrollment__2010_ VARCHAR, school VARCHAR) |
SELECT MIN(average) FROM table_11206787_5 | What is the average? | CREATE TABLE table_11206787_5 (average INTEGER) |
SELECT lead FROM table_name_97 WHERE third = "aanders brorson" | Who holds the lead role when Aanders Brorson is third? | CREATE TABLE table_name_97 (lead VARCHAR, third VARCHAR) |
SELECT MIN(total_goals) FROM table_27170987_5 WHERE league_goals = 6 | What is the lowest number of total goals for a player with 6 league goals? | CREATE TABLE table_27170987_5 (total_goals INTEGER, league_goals VARCHAR) |
SELECT MIN(pop_dens) FROM table_name_66 WHERE district = "strakonice (st)" AND noof_settlements > 112 | What is the lowest population density of Strakonice (st) with more than 112 settlements? | CREATE TABLE table_name_66 (pop_dens INTEGER, district VARCHAR, noof_settlements VARCHAR) |
SELECT COUNT(DISTINCT t3.characteristic_name) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" | How many distinct characteristic names does the product "cumin" have? | CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR) |
SELECT design FROM table_name_32 WHERE acquired = 1875 | What design was acquired in 1875? | CREATE TABLE table_name_32 (design VARCHAR, acquired VARCHAR) |
SELECT loss FROM table_name_47 WHERE opponent = "@ angels" AND date = "august 1" | Which loss has an Opponent of @ angels, and a Date of august 1? | CREATE TABLE table_name_47 (loss VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT games FROM table_name_66 WHERE name = "rubén limardo" | Name the games for rubén limardo | CREATE TABLE table_name_66 (games VARCHAR, name VARCHAR) |
SELECT population FROM table_22815568_7 WHERE county = "McDowell" | What is the population of the country of McDowell? | CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR) |
SELECT MIN(crowd) FROM table_name_80 WHERE home_team = "st kilda" | What was the smallest crowd size for the home team at St Kilda? | CREATE TABLE table_name_80 (crowd INTEGER, home_team VARCHAR) |
SELECT team FROM table_name_75 WHERE position_in_table = "15th (c)" | Which Team has a Position in table of 15th (c)? | CREATE TABLE table_name_75 (team VARCHAR, position_in_table VARCHAR) |
SELECT location FROM table_name_21 WHERE record = "5-3" | Name the location of record 5-3 | CREATE TABLE table_name_21 (location VARCHAR, record VARCHAR) |
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending" ORDER BY T2.customer_id | Return the distinct name of customers whose order status is Pending, in the order of customer id. | CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR) |
SELECT date FROM table_name_38 WHERE record = "20–16" | What date was the record 20–16? | CREATE TABLE table_name_38 (date VARCHAR, record VARCHAR) |
SELECT division FROM table_1046170_5 WHERE us_open_cup = "Did Not Qualify" AND year = 2003 | how many division did not qualify for u.s. open cup in 2003 | CREATE TABLE table_1046170_5 (division VARCHAR, us_open_cup VARCHAR, year VARCHAR) |
SELECT record FROM table_name_76 WHERE decision = "clemmensen" AND game = 42 | What is the record of game 42, which had a clemmensen decision? | CREATE TABLE table_name_76 (record VARCHAR, decision VARCHAR, game VARCHAR) |
SELECT COUNT(directed_by) FROM table_23918997_1 WHERE written_by = "Brent Fletcher & Miranda Kwok" | How many directors worked on the episode written by Brent Fletcher & Miranda Kwok? | CREATE TABLE table_23918997_1 (directed_by VARCHAR, written_by VARCHAR) |
SELECT result FROM table_name_98 WHERE first_elected > 1876 AND incumbent = "john s. richardson" | Which Result has a First elected larger than 1876, and an Incumbent of john s. richardson? | CREATE TABLE table_name_98 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR) |
SELECT colors FROM table_name_77 WHERE host = "christopher" | What are the colors of the team hosted by Christopher? | CREATE TABLE table_name_77 (colors VARCHAR, host VARCHAR) |
SELECT state FROM table_name_26 WHERE swimsuit < 8.874 AND evening_gown < 9.257 AND interview < 9.121 | What state had less than 8.874 for swimsuit, less than 9.257 for evening gown, and less than 9.121 for interview? | CREATE TABLE table_name_26 (state VARCHAR, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) |
SELECT COUNT(losses) FROM table_name_10 WHERE ballarat_fl = "melton south" AND against > 1468 | How many Losses have a Ballarat FL of melton south, and an Against larger than 1468? | CREATE TABLE table_name_10 (losses VARCHAR, ballarat_fl VARCHAR, against VARCHAR) |
SELECT gb_[c_] FROM table_name_98 WHERE win_percentage < 0.457 AND wins = 62 AND reds_season = 1900 | In 1900 with 62 wins and a win percentage less than 0.457, what was the GB [c]? | CREATE TABLE table_name_98 (gb_ VARCHAR, c_ VARCHAR, reds_season VARCHAR, win_percentage VARCHAR, wins VARCHAR) |
SELECT pole_position FROM table_name_98 WHERE grand_prix = "portuguese grand prix" | What is the Pole Position of the Portuguese Grand Prix? | CREATE TABLE table_name_98 (pole_position VARCHAR, grand_prix VARCHAR) |
SELECT overall FROM table_10360823_1 WHERE college = "Traded to the Cleveland Browns" | Which overall pick was traded to the Cleveland Browns? | CREATE TABLE table_10360823_1 (overall VARCHAR, college VARCHAR) |
SELECT building, room_number FROM classroom WHERE capacity BETWEEN 50 AND 100 | Find the room number of the rooms which can sit 50 to 100 students and their buildings. | CREATE TABLE classroom (building VARCHAR, room_number VARCHAR, capacity INTEGER) |
SELECT AVG(goals_for) FROM table_name_49 WHERE position < 12 AND draw > 1 AND goals_against < 28 | What is the average goals for with a position under 12, draws over 1, and goals against under 28? | CREATE TABLE table_name_49 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, draw VARCHAR) |
SELECT city_town FROM table_157826_1 WHERE municipality = "Moss" | What are the cities/towns located in the municipality of Moss? | CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR) |
SELECT COUNT(attendance) FROM table_name_52 WHERE date = "august 12" | How many attended the game on August 12? | CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR) |
SELECT type FROM table_name_62 WHERE position = "ambassador" AND location = "rabat" | what is the type when the position is ambassador and the location is rabat? | CREATE TABLE table_name_62 (type VARCHAR, position VARCHAR, location VARCHAR) |
SELECT broadcaster FROM table_name_24 WHERE year = "2003" | Who was the broadcaster in 2003? | CREATE TABLE table_name_24 (broadcaster VARCHAR, year VARCHAR) |
SELECT 2009 FROM table_name_71 WHERE 2012 = "2r" AND tournament = "french open" | If the French Open tournament had 2r in 2012, what was it in 2009? | CREATE TABLE table_name_71 (tournament VARCHAR) |
SELECT player FROM table_name_30 WHERE score = 72 - 68 - 70 = 210 | What is the name of the player with a score of 72-68-70=210? | CREATE TABLE table_name_30 (player VARCHAR, score VARCHAR) |
SELECT score FROM table_name_60 WHERE h_a_n = "a" AND record = "11-22" | What was the score for the game with a record of 11-22 and a H/A/N of A? | CREATE TABLE table_name_60 (score VARCHAR, h_a_n VARCHAR, record VARCHAR) |
SELECT SUM(gold) FROM table_name_18 WHERE nation = "new zealand" AND rank < 14 | What is the total gold from New zealand and a rank less than 14? | CREATE TABLE table_name_18 (gold INTEGER, nation VARCHAR, rank VARCHAR) |
SELECT tour_apps FROM table_name_57 WHERE career_caps = 15 | What is the tour Apps when the career caps show 15? | CREATE TABLE table_name_57 (tour_apps VARCHAR, career_caps VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.