question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Who was the winner the year Ramona Rahnis finished 2nd and Diana Sartor 3rd? | CREATE TABLE table_name_74 (champion VARCHAR, second VARCHAR, third VARCHAR) | SELECT champion FROM table_name_74 WHERE second = "ramona rahnis" AND third = "diana sartor" |
Which Venue has a Sport of baseball, Championships (Years) of 0, a League of milb, florida state league, and a Club of jupiter hammerheads? | CREATE TABLE table_name_38 (venue VARCHAR, club VARCHAR, league VARCHAR, sport VARCHAR, championships__years_ VARCHAR) | SELECT venue FROM table_name_38 WHERE sport = "baseball" AND championships__years_ = "0" AND league = "milb, florida state league" AND club = "jupiter hammerheads" |
I want the lowest Gold for silver being 2 and electronic sports | CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, sport VARCHAR) | SELECT MIN(gold) FROM table_name_98 WHERE silver = 2 AND sport = "electronic sports" |
What is the Gender of students at a school with a Decile of 5 and a Roll of 90? | CREATE TABLE table_name_86 (gender VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT gender FROM table_name_86 WHERE decile = 5 AND roll = 90 |
What was the position of the teams before 1973? | CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER) | SELECT pos FROM table_name_23 WHERE year < 1973 |
What party does clyde t. ellis represent? | CREATE TABLE table_1342256_5 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342256_5 WHERE incumbent = "Clyde T. Ellis" |
Tell me the timeslot for calls of whyn | CREATE TABLE table_name_74 (timeslot VARCHAR, calls VARCHAR) | SELECT timeslot FROM table_name_74 WHERE calls = "whyn" |
What is the lowest interview of Texas, with an average larger than 9.531? | CREATE TABLE table_name_86 (interview INTEGER, state VARCHAR, average VARCHAR) | SELECT MIN(interview) FROM table_name_86 WHERE state = "texas" AND average > 9.531 |
Where is the headquarter of the company founded by James? | CREATE TABLE manufacturers (headquarter VARCHAR, founder VARCHAR) | SELECT headquarter FROM manufacturers WHERE founder = 'James' |
What is the smallest number of bronze medals with more than 4 gold medals? | CREATE TABLE table_name_7 (bronze INTEGER, gold INTEGER) | SELECT MIN(bronze) FROM table_name_7 WHERE gold > 4 |
How many viewers for the episode with the weekly rank for living of 4? | CREATE TABLE table_name_25 (viewers VARCHAR, weekly_rank_for_living VARCHAR) | SELECT viewers FROM table_name_25 WHERE weekly_rank_for_living = "4" |
Name the position for pick number 128 | CREATE TABLE table_1473672_8 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_1473672_8 WHERE pick__number = 128 |
What is the date of appointment for outgoing manager Campbell Money | CREATE TABLE table_11206916_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_appointment FROM table_11206916_2 WHERE outgoing_manager = "Campbell Money" |
What chassis has the year 1987? | CREATE TABLE table_name_87 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_87 WHERE year = 1987 |
What round did the maccabi haifa fc club have? | CREATE TABLE table_name_58 (round VARCHAR, club VARCHAR) | SELECT round FROM table_name_58 WHERE club = "maccabi haifa fc" |
Who constructed piercarlo ghinzani's car with under 44 laps? | CREATE TABLE table_name_59 (constructor VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_59 WHERE laps < 44 AND driver = "piercarlo ghinzani" |
WHich Proto-Polynesian has a Number of five? | CREATE TABLE table_name_69 (proto_polynesian VARCHAR, number VARCHAR) | SELECT proto_polynesian FROM table_name_69 WHERE number = "five" |
Name the role for studio of rep with sheila mannors leading lady and title of westward ho | CREATE TABLE table_name_11 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR) | SELECT role FROM table_name_11 WHERE studio = "rep" AND leading_lady = "sheila mannors" AND title = "westward ho" |
Who was appointed on October 21, 2011 from Quebec? | CREATE TABLE table_name_31 (name VARCHAR, province VARCHAR, appointed VARCHAR) | SELECT name FROM table_name_31 WHERE province = "quebec" AND appointed = "october 21, 2011" |
What is the total when bronze has a silver larger than 2? | CREATE TABLE table_name_12 (bronze VARCHAR, silver INTEGER) | SELECT COUNT(bronze) FROM table_name_12 WHERE silver > 2 |
Name the number of rank for 9.52 profits | CREATE TABLE table_1682026_9 (rank VARCHAR, profits__billion_$_ VARCHAR) | SELECT COUNT(rank) FROM table_1682026_9 WHERE profits__billion_$_ = "9.52" |
Score of 8 - 1 happened on what day in December? | CREATE TABLE table_name_27 (december VARCHAR, score VARCHAR) | SELECT december FROM table_name_27 WHERE score = "8 - 1" |
Who wrote episode number 19 in the series? | CREATE TABLE table_28140578_1 (written_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_28140578_1 WHERE no_in_series = 19 |
Who is the Director that speaks dutch? | CREATE TABLE table_name_8 (director VARCHAR, language VARCHAR) | SELECT director FROM table_name_8 WHERE language = "dutch" |
How many dances placed below 1 with a point total of 40? | CREATE TABLE table_name_69 (number_of_dances VARCHAR, place VARCHAR, total_points VARCHAR) | SELECT number_of_dances FROM table_name_69 WHERE place > 1 AND total_points = 40 |
What is every name for longitude of 152.0E? | CREATE TABLE table_16799784_12 (name VARCHAR, longitude VARCHAR) | SELECT name FROM table_16799784_12 WHERE longitude = "152.0E" |
Which Result has a Venue of home, and a Date of 3 october 1987? | CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987" |
What is Athlete, when Nation is "Nigeria"? | CREATE TABLE table_name_12 (athlete VARCHAR, nation VARCHAR) | SELECT athlete FROM table_name_12 WHERE nation = "nigeria" |
What was the place in season 8 with a rank by average at 139? | CREATE TABLE table_name_21 (place VARCHAR, season VARCHAR, rank_by_average VARCHAR) | SELECT place FROM table_name_21 WHERE season = "8" AND rank_by_average = "139" |
What is the Population of the subdivision with the English Name of nanbin farm? | CREATE TABLE table_name_73 (population INTEGER, english_name VARCHAR) | SELECT MIN(population) FROM table_name_73 WHERE english_name = "nanbin farm" |
What season had an acquisition of free agency, and was higher than 9? | CREATE TABLE table_name_89 (season VARCHAR, acquisition_via VARCHAR, number VARCHAR) | SELECT season FROM table_name_89 WHERE acquisition_via = "free agency" AND number > 9 |
What finish has a start smaller than 25? | CREATE TABLE table_name_73 (finish VARCHAR, start INTEGER) | SELECT finish FROM table_name_73 WHERE start < 25 |
What is the RAM (MiB) value for the X30 Mid-Range model? | CREATE TABLE table_name_71 (ram___mib__ VARCHAR, model VARCHAR) | SELECT ram___mib__ FROM table_name_71 WHERE model = "x30 mid-range" |
What is the To Par when the finish was t16 and the player was Julius Boros? | CREATE TABLE table_name_56 (to_par VARCHAR, finish VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_56 WHERE finish = "t16" AND player = "julius boros" |
Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards | CREATE TABLE table_name_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR) | SELECT cole FROM table_name_94 WHERE year < 2009 AND dylan = "nominated" AND work = "big daddy" AND award = "mtv movie awards" |
Name the record for l 106–116 (ot) | CREATE TABLE table_23285849_8 (record VARCHAR, score VARCHAR) | SELECT record FROM table_23285849_8 WHERE score = "L 106–116 (OT)" |
How many positions did the car with a final time of +10.8098 finish in? | CREATE TABLE table_17244483_1 (fin_pos VARCHAR, time_retired VARCHAR) | SELECT COUNT(fin_pos) FROM table_17244483_1 WHERE time_retired = "+10.8098" |
What is every value for Serbs if value for Hungarians is 9.26%? | CREATE TABLE table_2374338_2 (serbs VARCHAR, hungarians VARCHAR) | SELECT serbs FROM table_2374338_2 WHERE hungarians = "9.26%" |
How many dams are there in the Lake and Peninsula area? | CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) | SELECT MAX(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Lake and Peninsula" |
What was Essendon's opponents away score? | CREATE TABLE table_name_40 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_40 WHERE home_team = "essendon" |
Who was the opponent in round 2 of the UFC 49 event? | CREATE TABLE table_name_1 (opponent VARCHAR, round VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_1 WHERE round = "2" AND event = "ufc 49" |
Which section is in the 6th position? | CREATE TABLE table_name_8 (section VARCHAR, position VARCHAR) | SELECT section FROM table_name_8 WHERE position = "6th" |
What is the dpi for the scanner with a max page size of 216mm x 355mm? | CREATE TABLE table_16409745_1 (dpi VARCHAR, max_page_size VARCHAR) | SELECT dpi FROM table_16409745_1 WHERE max_page_size = "216mm x 355mm" |
What is Outcome, when Tournament is "Chiang Mai , Thailand"? | CREATE TABLE table_name_90 (outcome VARCHAR, tournament VARCHAR) | SELECT outcome FROM table_name_90 WHERE tournament = "chiang mai , thailand" |
Show the names of the drivers without a school bus. | CREATE TABLE school_bus (name VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR) | SELECT name FROM driver WHERE NOT driver_id IN (SELECT driver_id FROM school_bus) |
What is the High points with a Team with boston? | CREATE TABLE table_name_95 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_name_95 WHERE team = "boston" |
What is the county with an elevation of 1262? | CREATE TABLE table_12280396_1 (county VARCHAR, elevation__m_ VARCHAR) | SELECT county FROM table_12280396_1 WHERE elevation__m_ = 1262 |
Record of 15-12-4, and a Game larger than 31 involves what highest December? | CREATE TABLE table_name_68 (december INTEGER, record VARCHAR, game VARCHAR) | SELECT MAX(december) FROM table_name_68 WHERE record = "15-12-4" AND game > 31 |
List the title of all cartoons in alphabetical order. | CREATE TABLE Cartoon (Title VARCHAR, title VARCHAR) | SELECT Title FROM Cartoon ORDER BY title |
What is the H/A of the game on 24 january 2009? | CREATE TABLE table_name_50 (h___a VARCHAR, date VARCHAR) | SELECT h___a FROM table_name_50 WHERE date = "24 january 2009" |
What years won have a total of 286? | CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR) | SELECT year_s__won FROM table_name_11 WHERE total = 286 |
Which competition was on 29 September 2007? | CREATE TABLE table_name_66 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_66 WHERE date = "29 september 2007" |
What was the top crowd when essendon played away? | CREATE TABLE table_name_75 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_75 WHERE away_team = "essendon" |
Power of 220kw (299hp) @ 4000 has what torque? | CREATE TABLE table_name_38 (torque VARCHAR, power VARCHAR) | SELECT torque FROM table_name_38 WHERE power = "220kw (299hp) @ 4000" |
What is the Home with a Visitor of chicago, and a Series with 3 – 2? | CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR) | SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 – 2" |
What are the names and countries of members? | CREATE TABLE member (Name VARCHAR, Country VARCHAR) | SELECT Name, Country FROM member |
Which Score has a Tournament of san jose, us (2)? | CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_56 WHERE tournament = "san jose, us (2)" |
Which School has a Year Joined larger than 1926, and a Mascot of vikings? | CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings" |
Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold? | CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6 |
Which school has more than 3 rounds with jason odom? | CREATE TABLE table_name_71 (school VARCHAR, round VARCHAR, player VARCHAR) | SELECT school FROM table_name_71 WHERE round > 3 AND player = "jason odom" |
How many year locations are there for the womens doubles in jing junhong li jiawei? | CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR) | SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei" |
What is the 2nd leg of the Internacional Team 1? | CREATE TABLE table_name_48 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional" |
Who was the game attended by 60425 people played against? | CREATE TABLE table_18207285_2 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_18207285_2 WHERE attendance = 60425 |
What was the total attendance for a result of 7-23 before 1960? | CREATE TABLE table_name_19 (attendance INTEGER, result VARCHAR, year VARCHAR) | SELECT SUM(attendance) FROM table_name_19 WHERE result = "7-23" AND year < 1960 |
What is the earliest year of c position player gary bergen? | CREATE TABLE table_name_89 (year INTEGER, position VARCHAR, player VARCHAR) | SELECT MIN(year) FROM table_name_89 WHERE position = "c" AND player = "gary bergen" |
In 1948-10-28, in what Venue was the Competition of International Match held? | CREATE TABLE table_name_26 (venue VARCHAR, competition VARCHAR, date VARCHAR) | SELECT venue FROM table_name_26 WHERE competition = "international match" AND date = "1948-10-28" |
What authority controls the school in Levin that has a decile of 6, and a roll of 226? | CREATE TABLE table_name_54 (authority VARCHAR, roll VARCHAR, decile VARCHAR, area VARCHAR) | SELECT authority FROM table_name_54 WHERE decile = 6 AND area = "levin" AND roll = 226 |
When Richmond was the Home team, who was the away team? | CREATE TABLE table_name_97 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_97 WHERE home_team = "richmond" |
how many dismissals in a game with 191 innings | CREATE TABLE table_19769948_26 (dismissals VARCHAR, innings VARCHAR) | SELECT COUNT(dismissals) FROM table_19769948_26 WHERE innings = 191 |
What city was the building built in 1988? | CREATE TABLE table_name_93 (city VARCHAR, built VARCHAR) | SELECT city FROM table_name_93 WHERE built = 1988 |
What the is the state that the boat is from with LOA of 19.50? | CREATE TABLE table_25595209_1 (state_country VARCHAR, loa__metres_ VARCHAR) | SELECT state_country FROM table_25595209_1 WHERE loa__metres_ = "19.50" |
What is the Status of the dinosaur, whose notes are, "n coelurosauria"? | CREATE TABLE table_name_73 (status VARCHAR, notes VARCHAR) | SELECT status FROM table_name_73 WHERE notes = "n coelurosauria" |
Which home team plays at the Western Oval? | CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_50 WHERE venue = "western oval" |
What format is dated October 29, 2004? | CREATE TABLE table_name_8 (format VARCHAR, date VARCHAR) | SELECT format FROM table_name_8 WHERE date = "october 29, 2004" |
What is the lowest wins that has a year prior to 1999, with draws greater than 1, and points greater than 17? | CREATE TABLE table_name_11 (wins INTEGER, points VARCHAR, year VARCHAR, draws VARCHAR) | SELECT MIN(wins) FROM table_name_11 WHERE year < 1999 AND draws > 1 AND points > 17 |
how many arabic scottish is afghan | CREATE TABLE table_24807774_1 (afghan VARCHAR, arabic VARCHAR) | SELECT afghan FROM table_24807774_1 WHERE arabic = "Scottish" |
What is the Score of the Burnley Home game? | CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_57 WHERE home_team = "burnley" |
How many blockings occured in the game with 198 rebounds? | CREATE TABLE table_22993636_5 (blocks INTEGER, rebounds VARCHAR) | SELECT MAX(blocks) FROM table_22993636_5 WHERE rebounds = 198 |
Which Platform has an Actual version of 0.8.29? | CREATE TABLE table_name_96 (platform VARCHAR, actual_version VARCHAR) | SELECT platform FROM table_name_96 WHERE actual_version = "0.8.29" |
How many years entered service when there were 13 locomotives? | CREATE TABLE table_name_89 (entered_service VARCHAR, locomotive VARCHAR) | SELECT COUNT(entered_service) FROM table_name_89 WHERE locomotive = "13" |
What is the sum of Sylvain Guintoli's laps? | CREATE TABLE table_name_8 (laps INTEGER, rider VARCHAR) | SELECT SUM(laps) FROM table_name_8 WHERE rider = "sylvain guintoli" |
What college team did Milan Kostolny play for? | CREATE TABLE table_2886617_8 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_2886617_8 WHERE player = "Milan Kostolny" |
What's the score when Orient was home? | CREATE TABLE table_name_10 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_10 WHERE home_team = "orient" |
Driver Ricardo Sperafico has what as his average laps? | CREATE TABLE table_name_96 (laps INTEGER, driver VARCHAR) | SELECT AVG(laps) FROM table_name_96 WHERE driver = "ricardo sperafico" |
Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security? | CREATE TABLE table_name_43 (bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR) | SELECT bulletins_to_all_contacts FROM table_name_43 WHERE transport_layer_security = "no" AND license = "proprietary" AND creator = "microsoft" |
What is the authority status of the school in Ellerslie with a decile of 7? | CREATE TABLE table_name_38 (authority VARCHAR, area VARCHAR, decile VARCHAR) | SELECT authority FROM table_name_38 WHERE area = "ellerslie" AND decile = "7" |
Where did he finish when he started at 21.6? | CREATE TABLE table_2649597_1 (finish VARCHAR, start VARCHAR) | SELECT COUNT(finish) FROM table_2649597_1 WHERE start = "21.6" |
How many phones are there? | CREATE TABLE phone (Id VARCHAR) | SELECT COUNT(*) FROM phone |
How many tracks have the title let love be your energy? | CREATE TABLE table_28715942_2 (track_no VARCHAR, track VARCHAR) | SELECT COUNT(track_no) FROM table_28715942_2 WHERE track = "Let Love Be Your Energy" |
Gold that has a Rank of 6, and a Bronze larger than 0 had what total number of gold? | CREATE TABLE table_name_46 (gold VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_46 WHERE rank = "6" AND bronze > 0 |
Find the first names of the faculty members who participate in Canoeing and Kayaking. | CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR) | SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' INTERSECT SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Kayaking' |
Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952? | CREATE TABLE table_name_37 (chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_37 WHERE points > 0 AND entrant = "scuderia ferrari" AND year > 1952 |
What is Date, when Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is Leanne Tander? | CREATE TABLE table_name_81 (date VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR) | SELECT date FROM table_name_81 WHERE fastest_lap = "james winslow" AND race = 1 AND winning_driver = "leanne tander" |
What lowest games have 20 goals and a Goal Ratio smaller than 0.14? | CREATE TABLE table_name_51 (games INTEGER, goals VARCHAR, goal_ratio VARCHAR) | SELECT MIN(games) FROM table_name_51 WHERE goals = 20 AND goal_ratio < 0.14 |
Who is the winner of the prize of £200,000 as listed? | CREATE TABLE table_name_50 (winner VARCHAR, prize VARCHAR) | SELECT winner FROM table_name_50 WHERE prize = "£200,000" |
What is the Location for the jiu-jitsu vs martial arts? | CREATE TABLE table_name_36 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_36 WHERE event = "jiu-jitsu vs martial arts" |
What is Reuben Foster's college? | CREATE TABLE table_name_59 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_59 WHERE player = "reuben foster" |
What was the margin of victory with the winning score "63-68-68-68=267"? | CREATE TABLE table_1602858_1 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_1602858_1 WHERE winning_score = 63 - 68 - 68 - 68 = 267 |
When is the Monsters of Rock show with 12 bands? | CREATE TABLE table_name_74 (date VARCHAR, event VARCHAR, acts VARCHAR) | SELECT date FROM table_name_74 WHERE event = "monsters of rock" AND acts = "12 bands" |
Who was the opponent for game 75? | CREATE TABLE table_name_96 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_96 WHERE game = 75 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.