answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT class_aAAAA FROM table_14603057_2 WHERE school_year = "2008-09" | Who was the class AAAAA in 2008-09? | CREATE TABLE table_14603057_2 (class_aAAAA VARCHAR, school_year VARCHAR) |
SELECT theme FROM table_name_14 WHERE year < 2006 AND issue_price = "$25.22" | What theme is associated with a year before 2006 and Issue Price of $25.22? | CREATE TABLE table_name_14 (theme VARCHAR, year VARCHAR, issue_price VARCHAR) |
SELECT COUNT(platforms) FROM table_name_41 WHERE stations = "waddon railway station" | Name the total number of platforms that waddon railway station has | CREATE TABLE table_name_41 (platforms VARCHAR, stations VARCHAR) |
SELECT format FROM table_name_15 WHERE catalog = "rtradlp491" | What is the Format of the release with Catalog number RTRADLP491? | CREATE TABLE table_name_15 (format VARCHAR, catalog VARCHAR) |
SELECT attendance FROM table_name_95 WHERE week > 16 | What's the attendance when the week was more than 16? | CREATE TABLE table_name_95 (attendance VARCHAR, week INTEGER) |
SELECT COUNT(*) FROM Companies WHERE Industry = "Banking" OR Industry = "Conglomerate" | Find the number of companies whose industry is "Banking" or "Conglomerate", | CREATE TABLE Companies (Industry VARCHAR) |
SELECT teams FROM table_name_75 WHERE home = "2-3" | What team has a home of 2-3? | CREATE TABLE table_name_75 (teams VARCHAR, home VARCHAR) |
SELECT result FROM table_name_7 WHERE opponent = "san francisco 49ers" | What was the score of the Browns game against the San Francisco 49ers? | CREATE TABLE table_name_7 (result VARCHAR, opponent VARCHAR) |
SELECT venue FROM table_name_31 WHERE score = "3-0" AND date = "december 7, 2002" | What venue hosted a match with a 3-0 score on December 7, 2002? | CREATE TABLE table_name_31 (venue VARCHAR, score VARCHAR, date VARCHAR) |
SELECT t1.name, t2.price_in_dollar FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID | Give me the names and prices of furnitures which some companies are manufacturing. | CREATE TABLE furniture_manufacte (price_in_dollar VARCHAR, Furniture_ID VARCHAR); CREATE TABLE furniture (name VARCHAR, Furniture_ID VARCHAR) |
SELECT SUM(points__pts_) FROM table_name_84 WHERE won__pg_ > 9 AND goals_scored__gf_ > 40 | What is the points for a team with more than 9 wins and more than 40 goals? | CREATE TABLE table_name_84 (points__pts_ INTEGER, won__pg_ VARCHAR, goals_scored__gf_ VARCHAR) |
SELECT MAX(round) FROM table_name_90 WHERE player = "troy creurer (d)" | what is the highest round when the player is troy creurer (d)? | CREATE TABLE table_name_90 (round INTEGER, player VARCHAR) |
SELECT dainty_june FROM table_name_5 WHERE louise = "tammy blanchard" | Who was Dainty June when Tammy Blanchard was Louise? | CREATE TABLE table_name_5 (dainty_june VARCHAR, louise VARCHAR) |
SELECT attendance FROM table_name_23 WHERE away_team = "kochi university" | What is the attendance of the match with kochi university as the away team? | CREATE TABLE table_name_23 (attendance VARCHAR, away_team VARCHAR) |
SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = "November 21, 1993" | What episode number originally aired on November 21, 1993? | CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR) |
SELECT location_attendance FROM table_17340355_6 WHERE date = "December 10" | What is the location of the the game on december 10 | CREATE TABLE table_17340355_6 (location_attendance VARCHAR, date VARCHAR) |
SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong" | What was the highest attendance for a game where Geelong was the home team? | CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR) |
SELECT howard_baker FROM table_name_46 WHERE ronald_reagan = "72%" | Name the howard baker for ronald reagan of 72% | CREATE TABLE table_name_46 (howard_baker VARCHAR, ronald_reagan VARCHAR) |
SELECT status FROM table_1341568_48 WHERE incumbent = "Tom Foley" | What was the result of the election in the district whose incumbent is Tom Foley? | CREATE TABLE table_1341568_48 (status VARCHAR, incumbent VARCHAR) |
SELECT score FROM table_name_94 WHERE attendance = "4,567" | Can you tell me the Score that has the Attendance of 4,567? | CREATE TABLE table_name_94 (score VARCHAR, attendance VARCHAR) |
SELECT railway FROM table_15608800_2 WHERE class = "J15" | Name the railway when class is j15 | CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR) |
SELECT COUnT AS eu FROM table_22667773_8 WHERE name = "Quinn" | Name the total number of eu for quinn | CREATE TABLE table_22667773_8 (COUnT VARCHAR, name VARCHAR) |
SELECT T1.account_id, T2.account_name FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id HAVING COUNT(*) >= 4 | Show the account id and name with at least 4 transactions. | CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR) |
SELECT album FROM table_name_84 WHERE label = "tumbleweed 1014" | Which Album has a Label of tumbleweed 1014? | CREATE TABLE table_name_84 (album VARCHAR, label VARCHAR) |
SELECT air_date FROM table_name_19 WHERE rating = "n/a" AND weekly_winner = "wedding dj chris dixon" | What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"? | CREATE TABLE table_name_19 (air_date VARCHAR, rating VARCHAR, weekly_winner VARCHAR) |
SELECT position FROM table_name_83 WHERE round = "3" | In round 3 what was the position? | CREATE TABLE table_name_83 (position VARCHAR, round VARCHAR) |
SELECT COUNT(high_assists) FROM table_11960610_10 WHERE high_points = "Gordon (27)" | When gordon (27) had high points, what was the number of high assists? | CREATE TABLE table_11960610_10 (high_assists VARCHAR, high_points VARCHAR) |
SELECT driver FROM table_name_66 WHERE time_retired = "+1 lap" | Which driver has a Time/Retired of +1 lap? | CREATE TABLE table_name_66 (driver VARCHAR, time_retired VARCHAR) |
SELECT MAX(bronze) FROM table_name_59 WHERE total = 11 AND silver < 6 | Which Bronze has a Total of 11, and a Silver smaller than 6? | CREATE TABLE table_name_59 (bronze INTEGER, total VARCHAR, silver VARCHAR) |
SELECT opponent FROM table_name_35 WHERE date = "november 20, 1955" | Who was the opponent for the game on November 20, 1955? | CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR) |
SELECT opposition FROM table_name_72 WHERE total = 10 | Who was the opposition for the player who has a total of 10 points? | CREATE TABLE table_name_72 (opposition VARCHAR, total VARCHAR) |
SELECT date FROM table_name_37 WHERE catalog = "ha-m 2230" | Which date had the catalog designation of ha-m 2230? | CREATE TABLE table_name_37 (date VARCHAR, catalog VARCHAR) |
SELECT ship_type FROM table_name_47 WHERE disposition_of_ship = "prize" AND tonnage < 151 | What is the Ship Type of the Prize Disposition of ship and a tonnage less than 151? | CREATE TABLE table_name_47 (ship_type VARCHAR, disposition_of_ship VARCHAR, tonnage VARCHAR) |
SELECT original_berkeley_cast FROM table_24353141_1 WHERE original_broadway_cast = "Stark Sands" | Who was in the original berkley cast while stark sands was in the original broadway cast? | CREATE TABLE table_24353141_1 (original_berkeley_cast VARCHAR, original_broadway_cast VARCHAR) |
SELECT place FROM table_name_28 WHERE to_par = "+2" AND player = "johnny miller" | What place is player johnny miller, who has a to par of +2? | CREATE TABLE table_name_28 (place VARCHAR, to_par VARCHAR, player VARCHAR) |
SELECT english_title FROM table_name_24 WHERE country = "mexico/spain/usa" | Name the english title for mexico/spain/usa | CREATE TABLE table_name_24 (english_title VARCHAR, country VARCHAR) |
SELECT platforms FROM table_19495707_1 WHERE application = "CityEngine" | Name the platforms for cityengine | CREATE TABLE table_19495707_1 (platforms VARCHAR, application VARCHAR) |
SELECT season FROM table_23014923_1 WHERE minor__south__winners = "Bristol Sanctuary XI" | What is the season date if the minor (South) winners is Bristol Sanctuary XI? | CREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR) |
SELECT format FROM table_name_61 WHERE catalog = "11 135" | What shows as the format for catalog 11 135? | CREATE TABLE table_name_61 (format VARCHAR, catalog VARCHAR) |
SELECT AVG(attendance) FROM table_name_81 WHERE home = "san jose" | What is the average attendance San Jose home games? | CREATE TABLE table_name_81 (attendance INTEGER, home VARCHAR) |
SELECT attendance FROM table_name_21 WHERE game_site = "the kingdome" | How many people were at the game that took place at the Kingdome? | CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR) |
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina" | What is the FCC info of the translator with an Irmo, South Carolina city license? | CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR) |
SELECT opponent FROM table_name_52 WHERE date = "november 24, 1991" | Which Opponent has a Date of november 24, 1991? | CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) |
SELECT place FROM table_name_32 WHERE prize = "$381.030" | What is Place, when Prize is "$381.030"? | CREATE TABLE table_name_32 (place VARCHAR, prize VARCHAR) |
SELECT comp FROM table_name_3 WHERE score = "489.5" | What is the Comp of the Shooter with a Score of 489.5? | CREATE TABLE table_name_3 (comp VARCHAR, score VARCHAR) |
SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1 | Which payment method is used by most customers? | CREATE TABLE customers (payment_method VARCHAR) |
SELECT surface FROM table_name_57 WHERE round = "4th round" AND player = "maria sharapova" | Which Surface has a Round of 4th round, and a Player of maria sharapova? | CREATE TABLE table_name_57 (surface VARCHAR, round VARCHAR, player VARCHAR) |
SELECT club FROM table_name_13 WHERE league = "mhl" AND established = 2010 | What Club Established in 2010 has a League of MHL? | CREATE TABLE table_name_13 (club VARCHAR, league VARCHAR, established VARCHAR) |
SELECT MIN(points) FROM table_name_33 WHERE season = "1994" | What were the lowest amount of points for season 1994? | CREATE TABLE table_name_33 (points INTEGER, season VARCHAR) |
SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = "ubisoft montreal" | What is the smallest year when Ubisoft Montreal was the developer (s)? | CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR) |
SELECT school FROM table_2076463_2 WHERE location_s_ = "Kirksville" | Which school would you come across if you were in Kirksville? | CREATE TABLE table_2076463_2 (school VARCHAR, location_s_ VARCHAR) |
SELECT korean_dialect FROM table_name_18 WHERE rr_romaja = "jeolla" | What is the Korean dialect with a jeolla RR Romaja? | CREATE TABLE table_name_18 (korean_dialect VARCHAR, rr_romaja VARCHAR) |
SELECT liberal FROM table_name_23 WHERE new_democratic = "36%" AND dates = "august 2008" | What percentage of people polled aligned with the Liberal party according to the August 2008 poll that reported 36% aligning with New Democratic party? | CREATE TABLE table_name_23 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR) |
SELECT most_recent_cap FROM table_name_64 WHERE goals > 17 AND name = "brian turner" | What is the newest Cap with a Goals stat larger than 17 and which was done by Brian Turner? | CREATE TABLE table_name_64 (most_recent_cap VARCHAR, goals VARCHAR, name VARCHAR) |
SELECT COUNT(series_sorted) FROM table_1620397_2 WHERE released = "April 2010" | Name the total number of series sorted for when released is april 2010 | CREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR) |
SELECT AVG(byes) FROM table_name_38 WHERE losses < 4 | Which Byes have Losses smaller than 4? | CREATE TABLE table_name_38 (byes INTEGER, losses INTEGER) |
SELECT MAX(enrollment) FROM table_name_73 WHERE location = "kendallville" | What's the enrollment for Kendallville? | CREATE TABLE table_name_73 (enrollment INTEGER, location VARCHAR) |
SELECT average FROM table_name_26 WHERE matches < 5 AND wickets > 9 | what is the average when matches is less than 5 and wickets is more than 9? | CREATE TABLE table_name_26 (average VARCHAR, matches VARCHAR, wickets VARCHAR) |
SELECT MIN(wins) FROM table_name_45 WHERE country = "australia" | What are the lowest wins for Australia? | CREATE TABLE table_name_45 (wins INTEGER, country VARCHAR) |
SELECT season FROM table_name_25 WHERE runner_up = "waseda" AND title = "47th" | What season has a runner-up of waseda, and a title of 47th? | CREATE TABLE table_name_25 (season VARCHAR, runner_up VARCHAR, title VARCHAR) |
SELECT build_date FROM table_name_42 WHERE total_produced < 45 AND model = "fb-2" | What is the build date of the locomotives with a total produced less than 45 and a fb-2 model? | CREATE TABLE table_name_42 (build_date VARCHAR, total_produced VARCHAR, model VARCHAR) |
SELECT date FROM table_name_12 WHERE winner = "lanny wadkins (6)" | What date did Lanny Wadkins (6) win? | CREATE TABLE table_name_12 (date VARCHAR, winner VARCHAR) |
SELECT result FROM table_name_47 WHERE attendance = "16,000" | What was the result of the game that was attended by 16,000 people? | CREATE TABLE table_name_47 (result VARCHAR, attendance VARCHAR) |
SELECT AVG(pick__number) FROM table_name_50 WHERE college = "simon fraser" | What is the Pick # of the player from Simon Fraser College? | CREATE TABLE table_name_50 (pick__number INTEGER, college VARCHAR) |
SELECT score FROM table_name_97 WHERE to_par = "e" | What was the final score when the player was an e to par? | CREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR) |
SELECT AVG(year) FROM table_name_32 WHERE ship = "europa" AND dates = "14 – 23 october" | What year did the ship Europa, have the dates of 14 – 23 October? | CREATE TABLE table_name_32 (year INTEGER, ship VARCHAR, dates VARCHAR) |
SELECT MAX(joined) FROM table_1974782_1 WHERE institution = "Clark University" | When has Clark University joined the Conference? | CREATE TABLE table_1974782_1 (joined INTEGER, institution VARCHAR) |
SELECT COUNT(position) FROM table_name_99 WHERE points > 24 AND w_l_d = "8-5-3" | What is the position number of the club with more than 24 points and a w-l-d of 8-5-3? | CREATE TABLE table_name_99 (position VARCHAR, points VARCHAR, w_l_d VARCHAR) |
SELECT student_id FROM student_course_attendance WHERE course_id = 301 | What are the id of students who registered course 301? | CREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR) |
SELECT date FROM table_17801022_1 WHERE race_time = "1:55:13" | What was the date of the race with a winning time of 1:55:13? | CREATE TABLE table_17801022_1 (date VARCHAR, race_time VARCHAR) |
SELECT MAX(round) FROM table_26533354_8 WHERE player = "Jordan Cameron" | Name the most round for jordan cameron | CREATE TABLE table_26533354_8 (round INTEGER, player VARCHAR) |
SELECT MIN(water__sqmi_) FROM table_name_2 WHERE land___sqmi__ > 34.864 AND township = "pierce" AND geo_id > 3800362460 | What is the smallest amount of water having landmass over 34.864 sqmi, in Pierce township, with a GEO ID over 3800362460? | CREATE TABLE table_name_2 (water__sqmi_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, township VARCHAR) |
SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Lackenagobidane" | What is the poor law union of the Lackenagobidane townland? | CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR) |
SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi" | Name the standard yarn weight system for 7 wpi | CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR) |
SELECT attendance FROM table_name_17 WHERE week = 15 | WHAT WAS THE ATTENDANCE FOR WEEK 15? | CREATE TABLE table_name_17 (attendance VARCHAR, week VARCHAR) |
SELECT tries_for FROM table_28204447_3 WHERE l < 2.0 | Name the tries for when L is less than 2.0 | CREATE TABLE table_28204447_3 (tries_for VARCHAR, l INTEGER) |
SELECT date FROM table_name_13 WHERE result = "3-1" AND location = "hague" | What date was the result 3-1 in Hague? | CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, location VARCHAR) |
SELECT score FROM table_name_1 WHERE competition = "1995 southeast asian games" | what is the score when the competition is 1995 southeast asian games? | CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR) |
SELECT married_filing_separately FROM table_name_77 WHERE single = "$0–$8,350" | Name the married filing separately for single of $0–$8,350 | CREATE TABLE table_name_77 (married_filing_separately VARCHAR, single VARCHAR) |
SELECT country FROM addresses GROUP BY country HAVING COUNT(address_id) > 4 | List the countries having more than 4 addresses listed. | CREATE TABLE addresses (country VARCHAR, address_id VARCHAR) |
SELECT score FROM table_name_67 WHERE team = "waaia" | Tell met he score for team of waaia | CREATE TABLE table_name_67 (score VARCHAR, team VARCHAR) |
SELECT Name FROM journalist WHERE NOT journalist_ID IN (SELECT journalist_ID FROM news_report) | List the names of journalists who have not reported any event. | CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Name VARCHAR, journalist_ID VARCHAR) |
SELECT score FROM table_name_59 WHERE player = "eduardo romero" | What was Eduardo Romero's score? | CREATE TABLE table_name_59 (score VARCHAR, player VARCHAR) |
SELECT date FROM table_27734769_8 WHERE high_points = "LaMarcus Aldridge (36)" | What is the date the high points was lamarcus aldridge (36)? | CREATE TABLE table_27734769_8 (date VARCHAR, high_points VARCHAR) |
SELECT build_date FROM table_name_55 WHERE model = "fa-2" | What is the build date of the locomotive with a fa-2 model? | CREATE TABLE table_name_55 (build_date VARCHAR, model VARCHAR) |
SELECT MAX(points) FROM table_1973321_5 WHERE status = "Champion, won in the final against Amélie Mauresmo" | Name the most points for champion, won in the final against amélie mauresmo | CREATE TABLE table_1973321_5 (points INTEGER, status VARCHAR) |
SELECT hypotenuse_0_c FROM table_25519358_1 WHERE vertices = "月山泛 ΔYMF" | Name the hypotenuse for vertices 月山泛 δymf | CREATE TABLE table_25519358_1 (hypotenuse_0_c VARCHAR, vertices VARCHAR) |
SELECT MIN(cuts_made) FROM table_name_84 WHERE events < 4 | What are the lowest cuts made that have events less than 4? | CREATE TABLE table_name_84 (cuts_made INTEGER, events INTEGER) |
SELECT country FROM table_name_65 WHERE player = "bo bae song" | What country does Bo Bae Song play for? | CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR) |
SELECT l3_cache FROM table_24538587_13 WHERE brand_name__list_ = "Core i7-2xxxQE, i7-26xxQM, i7-27xxQM" | Name the l3 cache for core i7-2xxxqe, i7-26xxqm, i7-27xxqm | CREATE TABLE table_24538587_13 (l3_cache VARCHAR, brand_name__list_ VARCHAR) |
SELECT MAX(series__number) FROM table_21146729_6 WHERE original_airdate = "October 23, 1967" | What was the series# with the original airdate of october 23, 1967? | CREATE TABLE table_21146729_6 (series__number INTEGER, original_airdate VARCHAR) |
SELECT date FROM table_name_54 WHERE score = "94-109" | On what date is the Score 94-109? | CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR) |
SELECT region FROM table_name_29 WHERE label = "warner music canada" | What is the Region of the Warner Music Canada Label release? | CREATE TABLE table_name_29 (region VARCHAR, label VARCHAR) |
SELECT player FROM table_name_9 WHERE position = "guard-forward" AND nationality = "argentina" | What Player is from Argentina and whose position is a guard-forward? | CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR) |
SELECT player FROM table_name_7 WHERE bowling_style = "source:" | Who has a bowling style of source:? | CREATE TABLE table_name_7 (player VARCHAR, bowling_style VARCHAR) |
SELECT total FROM table_name_60 WHERE set_2 = "19–25" | Which Total has a Set 2 of 19–25? | CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR) |
SELECT director FROM table_name_72 WHERE platform_s_ = "gcn" AND year > 2004 AND title = "battalion wars 2" | Who was the director of Battalion Wars 2 which was released on GCN after 2004? | CREATE TABLE table_name_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR) |
SELECT ground FROM table_name_7 WHERE score = "3-2" AND time = "15:00 cet" | Where was the game played that had a score of 3-2 and a time of 15:00 cet? | CREATE TABLE table_name_7 (ground VARCHAR, score VARCHAR, time VARCHAR) |
SELECT current_map FROM table_name_63 WHERE namesake = "discovery rupes" | What is the current map designation of the feature which was named for discovery rupes? | CREATE TABLE table_name_63 (current_map VARCHAR, namesake VARCHAR) |
SELECT COUNT(team) FROM table_26473176_1 WHERE points = 10 | How many teams were at 10 points? | CREATE TABLE table_26473176_1 (team VARCHAR, points VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.