answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT votes FROM table_name_78 WHERE occupation = "security guard" | How many votes did the security guard get? | CREATE TABLE table_name_78 (votes VARCHAR, occupation VARCHAR) |
SELECT country FROM table_name_80 WHERE player = "gene borek" | From what Country is Gene Borek? | CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR) |
SELECT island FROM table_name_43 WHERE country = "united kingdom" | Which island is in the United Kingdom? | CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR) |
SELECT record FROM table_name_93 WHERE score = "3 - 2" | Score of 3 - 2 had what record? | CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR) |
SELECT away_captain FROM table_name_66 WHERE venue = "headingley" | Who is the Away Captain at headingley? | CREATE TABLE table_name_66 (away_captain VARCHAR, venue VARCHAR) |
SELECT SUM(top_fives) FROM table_name_54 WHERE poles > 1 AND top_tens < 9 | What is the total number of top fives when casey mears had more than 1 poles and top tens less than 9? | CREATE TABLE table_name_54 (top_fives INTEGER, poles VARCHAR, top_tens VARCHAR) |
SELECT date FROM table_name_16 WHERE format = "cd (limited edition steel-box)" AND country = "united kingdom" | what is the date when the format is cd (limited edition steel-box) from united kingdom? | CREATE TABLE table_name_16 (date VARCHAR, format VARCHAR, country VARCHAR) |
SELECT attendance FROM table_name_84 WHERE away_team = "boreham wood" | what was the attendance when the away team was boreham wood? | CREATE TABLE table_name_84 (attendance VARCHAR, away_team VARCHAR) |
SELECT name_v_t_e FROM table_name_87 WHERE club = "pro recco" | What is the name of the player from club pro recco? | CREATE TABLE table_name_87 (name_v_t_e VARCHAR, club VARCHAR) |
SELECT SUM(lane) FROM table_name_25 WHERE rank > 8 | How many lanes have a rank greater than 8? | CREATE TABLE table_name_25 (lane INTEGER, rank INTEGER) |
SELECT AVG(year) FROM table_name_31 WHERE album = "da baddest bitch" | What was the average Year of release for the Album, "Da Baddest Bitch"? | CREATE TABLE table_name_31 (year INTEGER, album VARCHAR) |
SELECT crowd FROM table_name_95 WHERE away_team = "fitzroy" | What is the crowd size of the Away team, Fitzroy? | CREATE TABLE table_name_95 (crowd VARCHAR, away_team VARCHAR) |
SELECT COUNT(transmitting_from) FROM table_14670060_1 WHERE call_sign = "XEZV" | How many times does the call sign XEZV appear? | CREATE TABLE table_14670060_1 (transmitting_from VARCHAR, call_sign VARCHAR) |
SELECT AVG(game) FROM table_name_71 WHERE score = "101–92" | What Game had a Score of 101–92? | CREATE TABLE table_name_71 (game INTEGER, score VARCHAR) |
SELECT extra_laps FROM table_name_71 WHERE total_points = "9" | What is the number of extra laps for 9 total points? | CREATE TABLE table_name_71 (extra_laps VARCHAR, total_points VARCHAR) |
SELECT teams FROM table_name_32 WHERE league = "bundesliga" AND away = "3-2" | What team has a league of bundesliga, and an away of 3-2? | CREATE TABLE table_name_32 (teams VARCHAR, league VARCHAR, away VARCHAR) |
SELECT AVG(survived) FROM table_name_53 WHERE to_iran < 1 AND aircraft = "brazil tucano" AND destroyed > 1 | What's the average survived with a to Iran less than 1, more than 1 destroyed, and a brazil tucano aircraft? | CREATE TABLE table_name_53 (survived INTEGER, destroyed VARCHAR, to_iran VARCHAR, aircraft VARCHAR) |
SELECT AVG(cars_entered) FROM table_name_53 WHERE third_driver = "manny ayulo" | How many average Cars Entered have a Third Driver of manny ayulo? | CREATE TABLE table_name_53 (cars_entered INTEGER, third_driver VARCHAR) |
SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 4 | What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4? | CREATE TABLE table_name_98 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) |
SELECT written_by FROM table_26961951_6 WHERE directed_by = "Jesse Peretz" | Who was the writer in the episode directed by Jesse Peretz? | CREATE TABLE table_26961951_6 (written_by VARCHAR, directed_by VARCHAR) |
SELECT poll_source FROM table_name_55 WHERE steve_poizner = "37%" | What poll had Steve Poizner at 37%? | CREATE TABLE table_name_55 (poll_source VARCHAR, steve_poizner VARCHAR) |
SELECT position FROM table_28059992_2 WHERE college = "British Columbia" | Name the position for british columbia | CREATE TABLE table_28059992_2 (position VARCHAR, college VARCHAR) |
SELECT source_version FROM table_name_42 WHERE license = "lgpl or mpl" | What is Source Version, when License is LGPL or MPL? | CREATE TABLE table_name_42 (source_version VARCHAR, license VARCHAR) |
SELECT game_site FROM table_17765888_1 WHERE opponent = "Dallas Texans" | What was the game site against the Dallas Texans? | CREATE TABLE table_17765888_1 (game_site VARCHAR, opponent VARCHAR) |
SELECT fourth_district FROM table_name_72 WHERE second_district = "bob springstead" | Who's Fourth District has a Second District of bob springstead? | CREATE TABLE table_name_72 (fourth_district VARCHAR, second_district VARCHAR) |
SELECT date FROM table_name_34 WHERE site = "shriver field" | What is the Date if the Site is Shriver Field? | CREATE TABLE table_name_34 (date VARCHAR, site VARCHAR) |
SELECT AVG(week) FROM table_name_7 WHERE record = "6-6" | Which week did the Seattle Seahawks have a record of 6-6? | CREATE TABLE table_name_7 (week INTEGER, record VARCHAR) |
SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0" | In which league would you find the player with a comp percentage of 54.0? | CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR) |
SELECT launched FROM table_name_1 WHERE languages = "cora huichol tepehuano nahuatl" | What is the launched date of the station in cora huichol tepehuano nahuatl language? | CREATE TABLE table_name_1 (launched VARCHAR, languages VARCHAR) |
SELECT high_points FROM table_23274514_4 WHERE team = "Phoenix" | Who tied in the highest point scorer when playing against Phoenix? | CREATE TABLE table_23274514_4 (high_points VARCHAR, team VARCHAR) |
SELECT runner_up FROM table_name_37 WHERE score = "6-0" | What team lost a game by a score of 6-0? | CREATE TABLE table_name_37 (runner_up VARCHAR, score VARCHAR) |
SELECT date FROM table_name_4 WHERE venue = "lake oval" | On what date was a match played at Lake Oval? | CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR) |
SELECT incumbent FROM table_1342013_9 WHERE district = "Florida 2" | who is the the incumbent with dbeingtrict being florida 2 | CREATE TABLE table_1342013_9 (incumbent VARCHAR, district VARCHAR) |
SELECT MAX(year) FROM table_name_48 WHERE venue = "blackwolf run, composite course" AND score = "281" | Which Year is the highest one that has a Venue of blackwolf run, composite course, and a Score of 281? | CREATE TABLE table_name_48 (year INTEGER, venue VARCHAR, score VARCHAR) |
SELECT constructor FROM table_name_76 WHERE rider = "marco melandri" | Who was Constructor for rider Marco Melandri? | CREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR) |
SELECT 2 AS nd FROM table_10021158_3 WHERE best_finish = "T69" | When the best finish was T69, how many people came in 2nd? | CREATE TABLE table_10021158_3 (best_finish VARCHAR) |
SELECT date_successor_seated FROM table_1446600_4 WHERE district = "Georgia 6th" | What is the date the successor was seated for the georgia 6th district? | CREATE TABLE table_1446600_4 (date_successor_seated VARCHAR, district VARCHAR) |
SELECT MIN(ai___percentage_) FROM table_18012738_1 | Name the least ai % | CREATE TABLE table_18012738_1 (ai___percentage_ INTEGER) |
SELECT 2010 FROM table_name_35 WHERE 2009 = "270" | What is the 2010 entry for the row that has a 2009 entry of 270? | CREATE TABLE table_name_35 (Id VARCHAR) |
SELECT goals FROM table_name_89 WHERE player = "matt cook" | How many Goals did Matt Cook have? | CREATE TABLE table_name_89 (goals VARCHAR, player VARCHAR) |
SELECT distance FROM table_name_85 WHERE time = "1:46.32" | What is the distance with a 1:46.32 time? | CREATE TABLE table_name_85 (distance VARCHAR, time VARCHAR) |
SELECT song FROM table_name_58 WHERE composer = "v. selvaganesh" AND year > 2010 | What song was composed by V. Selvaganesh later than 2010? | CREATE TABLE table_name_58 (song VARCHAR, composer VARCHAR, year VARCHAR) |
SELECT COUNT(silver) FROM table_name_48 WHERE gold < 2 AND rank = "4" AND nation = "hungary (hun)" AND bronze < 1 | Gold smaller than 2, and a Rank of 4, and a Nation of hungary (hun), and a Bronze smaller than 1 had what total number of silver? | CREATE TABLE table_name_48 (silver VARCHAR, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) |
SELECT state FROM table_name_10 WHERE title = "king" AND name = "xiang" | Which state has a king named xiang? | CREATE TABLE table_name_10 (state VARCHAR, title VARCHAR, name VARCHAR) |
SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)" | What's the save when the loss was santiago (2–2)? | CREATE TABLE table_name_76 (save VARCHAR, loss VARCHAR) |
SELECT regulator FROM table_name_13 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes" | What is Regulator, when Conduct of Litigation is Yes, and when Probate Activities is Yes? | CREATE TABLE table_name_13 (regulator VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR) |
SELECT college_junior_club_team FROM table_name_19 WHERE pick__number = "12" | To which college/junior/club team did the player that was Pick 12 belong? | CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, pick__number VARCHAR) |
SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name HAVING COUNT(*) = 1 | What are the names of the courses that have exactly 1 student enrollment? | CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR) |
SELECT russian FROM table_name_60 WHERE ratio = "40" | What Russian has a Ratio of 40? | CREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR) |
SELECT date FROM table_name_49 WHERE opponent_in_the_final = "steffi graf" AND score_in_the_final = "2–6, 0–6" | What was the date when Steffi Graf was the opponent in the final and the score was 2–6, 0–6? | CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) |
SELECT regular_season FROM table_14723382_1 WHERE year = 2011 | What regular seasons occurred in 2011? | CREATE TABLE table_14723382_1 (regular_season VARCHAR, year VARCHAR) |
SELECT type FROM table_name_23 WHERE year_s_ = "1982" | what is the type when the year(s) is 1982? | CREATE TABLE table_name_23 (type VARCHAR, year_s_ VARCHAR) |
SELECT MIN(podium) FROM table_name_30 WHERE season = "2005" AND pole < 0 | What are the fewest podiums in 2005 with fewer than 0 poles? | CREATE TABLE table_name_30 (podium INTEGER, season VARCHAR, pole VARCHAR) |
SELECT sponsor_s_ FROM table_name_60 WHERE rounds = "all" AND driver_s_ = "josele garza" | Who sponsors Josele Garza in all rounds? | CREATE TABLE table_name_60 (sponsor_s_ VARCHAR, rounds VARCHAR, driver_s_ VARCHAR) |
SELECT MAX(laps) FROM table_name_16 WHERE driver = "mike hailwood" AND grid > 7 | What was Mike Hailwood's highest laps when he had a grid more than 7? | CREATE TABLE table_name_16 (laps INTEGER, driver VARCHAR, grid VARCHAR) |
SELECT SUM(november) FROM table_name_55 WHERE game = 17 | What is the sum of November, when Game is "17"? | CREATE TABLE table_name_55 (november INTEGER, game VARCHAR) |
SELECT young_rider_classification FROM table_12261806_2 WHERE winner = "Laudelino Cubino" | Name the young rider classification with laudelino cubino | CREATE TABLE table_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR) |
SELECT year FROM table_name_88 WHERE character = "leiloon bala barareh" | What is the year of the TV series that has a character of Leiloon Bala Barareh? | CREATE TABLE table_name_88 (year VARCHAR, character VARCHAR) |
SELECT MIN(position) FROM table_name_4 WHERE played > 9 | What is the smallest positioned with more than 9 played? | CREATE TABLE table_name_4 (position INTEGER, played INTEGER) |
SELECT MIN(latitude) FROM table_name_97 WHERE land___sqmi__ < 32.696 AND water__sqmi_ < 0 | what is the lowest latitude for the land sqmi less than 32.696 and a water sqmi less than 0 | CREATE TABLE table_name_97 (latitude INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) |
SELECT MAX(round) FROM table_name_38 WHERE school_club_team = "missouri" | What is the highest round number for the player who came from team Missouri? | CREATE TABLE table_name_38 (round INTEGER, school_club_team VARCHAR) |
SELECT SUM(scored) FROM table_name_75 WHERE losses < 0 | How much Scored has Losses smaller than 0? | CREATE TABLE table_name_75 (scored INTEGER, losses INTEGER) |
SELECT high_rebounds FROM table_27700530_14 WHERE date = "April 1" | Who had the most the most rebounds and how many did they have on April 1? | CREATE TABLE table_27700530_14 (high_rebounds VARCHAR, date VARCHAR) |
SELECT country FROM table_name_25 WHERE author = "aristophanes" | Waht is the Country of the play by Author Aristophanes? | CREATE TABLE table_name_25 (country VARCHAR, author VARCHAR) |
SELECT height_metres___ft FROM table_name_68 WHERE years_as_tallest = "1098–1310" | Name the Height metres / ft of Years with tallest of 1098–1310? | CREATE TABLE table_name_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR) |
SELECT AVG(react) FROM table_name_53 WHERE mark < 7.93 | What is the average React, when Mark is less than 7.93? | CREATE TABLE table_name_53 (react INTEGER, mark INTEGER) |
SELECT name FROM table_name_50 WHERE constituency_number = "5" | What is the name of constituency 5? | CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR) |
SELECT swedish_name FROM table_198175_2 WHERE residence_city = "Loviisa" | What is every Swedish name for residence city is Loviisa? | CREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR) |
SELECT home FROM table_name_31 WHERE season = "1948-49" | For the 1948-49 season, what was the At Home record? | CREATE TABLE table_name_31 (home VARCHAR, season VARCHAR) |
SELECT MAX(october) FROM table_name_54 WHERE record = "4-4-0" AND game > 8 | What is the highest date in october for a game number larger than 8 with a record of 4-4-0? | CREATE TABLE table_name_54 (october INTEGER, record VARCHAR, game VARCHAR) |
SELECT SUM(points) FROM table_name_85 WHERE year > 1957 | What were the total Pints after 1957? | CREATE TABLE table_name_85 (points INTEGER, year INTEGER) |
SELECT mens_45 FROM table_16724844_1 WHERE mens_40 = "SunWest Razorbacks def Sydney Mets" | What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets? | CREATE TABLE table_16724844_1 (mens_45 VARCHAR, mens_40 VARCHAR) |
SELECT COUNT(directed_by) FROM table_25277262_2 WHERE no_in_season = 3 | How many people directed episode 3 in the season? | CREATE TABLE table_25277262_2 (directed_by VARCHAR, no_in_season VARCHAR) |
SELECT T2.first_name, T2.last_name FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T1.city = "Damianfort" | Find out the first name and last name of staff lived in city Damianfort. | CREATE TABLE Staff (first_name VARCHAR, last_name VARCHAR, staff_address_id VARCHAR); CREATE TABLE Addresses (address_id VARCHAR, city VARCHAR) |
SELECT COUNT(clean_) & _jerk FROM table_name_8 WHERE total__kg_ = 200 AND snatch > 95 | What is the sum of the weight that all weightlifters managed to clean and jerk, among weightlifters who had a snatch of more than 95 and a Total of more than 200? | CREATE TABLE table_name_8 (_jerk VARCHAR, clean_ VARCHAR, total__kg_ VARCHAR, snatch VARCHAR) |
SELECT channel FROM table_name_41 WHERE opponent = "washington redskins" | Which Channel has an Opponent of washington redskins? | CREATE TABLE table_name_41 (channel VARCHAR, opponent VARCHAR) |
SELECT model FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5400-6500" | What Petrol engine has total power of ps (kw; bhp)@5400-6500? | CREATE TABLE table_21154679_1 (model VARCHAR, max_power VARCHAR) |
SELECT tie_no FROM table_name_38 WHERE home_team = "walsall" | What is the Ti no of the Walsall Home game? | CREATE TABLE table_name_38 (tie_no VARCHAR, home_team VARCHAR) |
SELECT MIN(races) FROM table_name_67 WHERE podiums < 2 AND flaps > 0 AND season > 2008 | Which team after 2008, with less than 2 podium finished and more than 0 FLAPS, had the lowest numberof races? | CREATE TABLE table_name_67 (races INTEGER, season VARCHAR, podiums VARCHAR, flaps VARCHAR) |
SELECT to_par FROM table_name_90 WHERE year_s__won = "1978" | How many strokes off par was the winner in 1978? | CREATE TABLE table_name_90 (to_par VARCHAR, year_s__won VARCHAR) |
SELECT opposing_teams FROM table_name_76 WHERE status = "second test" | Who was the opposing team when the status is second test? | CREATE TABLE table_name_76 (opposing_teams VARCHAR, status VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round < 7 | what is the college/junior/club team (league) when the round is less than 7? | CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER) |
SELECT status FROM table_name_62 WHERE issn = "0149-1830" | What is the status for a journal with the ISSN of 0149-1830? | CREATE TABLE table_name_62 (status VARCHAR, issn VARCHAR) |
SELECT AVG(works_number) FROM table_name_1 WHERE number > 807 AND type = "0-6-0" AND date = 1920 | Which Works number has a Number larger than 807, and a Type of 0-6-0, and a Date of 1920? | CREATE TABLE table_name_1 (works_number INTEGER, date VARCHAR, number VARCHAR, type VARCHAR) |
SELECT AVG(played) FROM table_name_35 WHERE goal_difference > 24 | Which Played has a Goal Difference larger than 24? | CREATE TABLE table_name_35 (played INTEGER, goal_difference INTEGER) |
SELECT kashmiri FROM table_name_90 WHERE indonesian = "senin" | What is the Kashmiri word for the Indonesian word senin? | CREATE TABLE table_name_90 (kashmiri VARCHAR, indonesian VARCHAR) |
SELECT year FROM table_name_12 WHERE winner = "olympiacos" AND venue = "georgios karaiskakis stadium" AND runner_up = "iraklis" | When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis? | CREATE TABLE table_name_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR) |
SELECT total FROM table_name_55 WHERE set_3 = "13–25" | What was the total with a score in set 3 of 13–25? | CREATE TABLE table_name_55 (total VARCHAR, set_3 VARCHAR) |
SELECT venue FROM table_name_23 WHERE date = "11 september 2012" | What venue was the 11 September 2012 game? | CREATE TABLE table_name_23 (venue VARCHAR, date VARCHAR) |
SELECT engine FROM table_name_21 WHERE rank = "1st" AND entrant = "adt champion racing" | What engine what in the vehicle when adt champion racing ranked in 1st place? | CREATE TABLE table_name_21 (engine VARCHAR, rank VARCHAR, entrant VARCHAR) |
SELECT COUNT(western_name) FROM table_186462_1 WHERE sanskrit = "धनुष" | When धनुष is the sankrit how many western names are there? | CREATE TABLE table_186462_1 (western_name VARCHAR, sanskrit VARCHAR) |
SELECT home FROM table_name_56 WHERE visitor = "chicago black hawks" AND date = "february 18" | Who was the home team on February 18 that had a visitor of the Chicago Black Hawks? | CREATE TABLE table_name_56 (home VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT result FROM table_14975415_1 WHERE english_title = "Diary for My Loves" | Was diary for my loves nominated? | CREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR) |
SELECT record FROM table_name_45 WHERE date = "april 15" | What is the Record for April 15? | CREATE TABLE table_name_45 (record VARCHAR, date VARCHAR) |
SELECT MAX(map_number) FROM table_198175_2 | What is the highest value for map number? | CREATE TABLE table_198175_2 (map_number INTEGER) |
SELECT position FROM table_name_55 WHERE college = "california" | What position did the player have who was from the college of california? | CREATE TABLE table_name_55 (position VARCHAR, college VARCHAR) |
SELECT country FROM table_name_26 WHERE fis_nordic_world_ski_championships < 1989 AND winter_olympics < 1980 AND holmenkollen = "1956" | Which country has a FIS Nordic World Ski Championship before 1989, was in the winter Olympics before 1980, and has a Holmenkollen of 1956? | CREATE TABLE table_name_26 (country VARCHAR, holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR) |
SELECT high_points FROM table_name_55 WHERE high_rebounds = "charles oakley , kevin willis (11)" | What is the High points of charles oakley , kevin willis (11)? | CREATE TABLE table_name_55 (high_points VARCHAR, high_rebounds VARCHAR) |
SELECT 1 AS st_leg FROM table_name_24 WHERE team_1 = "liverpool" | What is the 1st leg of team 1 Liverpool? | CREATE TABLE table_name_24 (team_1 VARCHAR) |
SELECT report FROM table_name_8 WHERE date = "1 september" | Who reported the game played on 1 september? | CREATE TABLE table_name_8 (report VARCHAR, date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.