question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS?
CREATE TABLE table_name_77 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR)
SELECT gregorian_calendar FROM table_name_77 WHERE sign_of_zodiac = "aquarius"
What is Doctor, when Format is CD, and when Title is The Relics Of Time?
CREATE TABLE table_name_98 (doctor VARCHAR, format VARCHAR, title VARCHAR)
SELECT doctor FROM table_name_98 WHERE format = "cd" AND title = "the relics of time"
This institution nicknamed Fightin' engineers was founded on what year?
CREATE TABLE table_255205_1 (founded VARCHAR, nickname VARCHAR)
SELECT founded FROM table_255205_1 WHERE nickname = "Fightin' Engineers"
What was the score against Portland in game numbers under 20?
CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR)
SELECT score FROM table_name_74 WHERE game < 20 AND team = "portland"
Who was the cover model when the issue's pictorials was pmoy - sara jean underwood?
CREATE TABLE table_1566852_8 (cover_model VARCHAR, pictorials VARCHAR)
SELECT cover_model FROM table_1566852_8 WHERE pictorials = "PMOY - Sara Jean Underwood"
I want the sum of year for edition more than 4 and winners of new york red bulls
CREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR)
SELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = "new york red bulls"
When was the date in 1786?
CREATE TABLE table_name_82 (date VARCHAR, year VARCHAR)
SELECT date FROM table_name_82 WHERE year = 1786
What was the nominated film title of শ্যামল ছায়া (shyamol chhaya)?
CREATE TABLE table_17156199_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_17156199_1 WHERE original_title = "শ্যামল ছায়া (Shyamol Chhaya)"
What is the original air date of the episode with a production code of 105?
CREATE TABLE table_22815870_1 (original_air_date VARCHAR, prod_code VARCHAR)
SELECT original_air_date FROM table_22815870_1 WHERE prod_code = 105
What was the date of the game with a loss of White (4-5)?
CREATE TABLE table_name_34 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_34 WHERE loss = "white (4-5)"
what is the 1st prize for may 21
CREATE TABLE table_name_19 (date VARCHAR)
SELECT SUM(1 AS st_prize___) AS $__ FROM table_name_19 WHERE date = "may 21"
what's the status with incumbent being eliot engel
CREATE TABLE table_13833770_3 (status VARCHAR, incumbent VARCHAR)
SELECT status FROM table_13833770_3 WHERE incumbent = "Eliot Engel"
What is the frequency of hot fm?
CREATE TABLE table_1601792_3 (frequency VARCHAR, station VARCHAR)
SELECT COUNT(frequency) FROM table_1601792_3 WHERE station = "Hot FM"
Which home team had a score of 100-86?
CREATE TABLE table_name_29 (home_team VARCHAR, score VARCHAR)
SELECT home_team FROM table_name_29 WHERE score = "100-86"
Show all the distinct buildings that have faculty rooms.
CREATE TABLE Faculty (building VARCHAR)
SELECT DISTINCT building FROM Faculty
What was the original air-date that had 4.77 million viewers?
CREATE TABLE table_27927185_1 (originalairdate VARCHAR, viewers__millions_ VARCHAR)
SELECT originalairdate FROM table_27927185_1 WHERE viewers__millions_ = "4.77"
What is the -500 number for Theo Bos?
CREATE TABLE table_1912276_2 (__500m VARCHAR, name VARCHAR)
SELECT __500m FROM table_1912276_2 WHERE name = "Theo Bos"
What country scored 69-69-73=211?
CREATE TABLE table_name_24 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_24 WHERE score = 69 - 69 - 73 = 211
What is the location for the year under 2010 and the year Hei Zhi Hong won silver?
CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR)
SELECT location FROM table_name_67 WHERE year < 2010 AND silver = "hei zhi hong"
What is the pluperfect for the perfect si bio/la; bio/la si?
CREATE TABLE table_27298240_26 (pluperfect VARCHAR, perfect VARCHAR)
SELECT pluperfect FROM table_27298240_26 WHERE perfect = "si bio/la; bio/la si"
Name the poor law union for area being 332
CREATE TABLE table_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR)
SELECT COUNT(poor_law_union) FROM table_30120559_1 WHERE area__acres__ = 332
How many Gold medals did the Soviet Union receive?
CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR)
SELECT AVG(gold) FROM table_name_98 WHERE nation = "soviet union"
Tell me the sum of year for 244 pages
CREATE TABLE table_name_84 (year INTEGER, pages VARCHAR)
SELECT SUM(year) FROM table_name_84 WHERE pages = 244
What is the position of the player who's hometown is North Babylon, NY?
CREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR)
SELECT position FROM table_20785990_2 WHERE home_town = "North Babylon, NY"
What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km?
CREATE TABLE table_name_14 (population__2006_ INTEGER, population__2011_ VARCHAR, area__km_2__ VARCHAR)
SELECT AVG(population__2006_) FROM table_name_14 WHERE population__2011_ > 5 AND area__km_2__ = 5.84
Give me the result for a format saying album with 1994 as the year.
CREATE TABLE table_name_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR)
SELECT result_s_ FROM table_name_91 WHERE format_s_ = "album" AND year = 1994
What is the engine for the Arciero Racing team?
CREATE TABLE table_name_49 (engine VARCHAR, team VARCHAR)
SELECT engine FROM table_name_49 WHERE team = "arciero racing"
What is Date, when Venue is "Weserstadion , Bremen"?
CREATE TABLE table_name_32 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_32 WHERE venue = "weserstadion , bremen"
What country has 50 supermarkets?
CREATE TABLE table_name_19 (country VARCHAR, supermarkets VARCHAR)
SELECT country FROM table_name_19 WHERE supermarkets = "50"
What is the average rank of a country with less than 13 bronze medals, a total of 11 medals, and more than 4 gold?
CREATE TABLE table_name_15 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT AVG(rank) FROM table_name_15 WHERE bronze < 13 AND total = 11 AND gold > 4
what is the grid when the laps is more than 20?
CREATE TABLE table_name_94 (grid INTEGER, laps INTEGER)
SELECT SUM(grid) FROM table_name_94 WHERE laps > 20
What are the notes of the satellite whose nssdc id number is 1959-002a?
CREATE TABLE table_191323_2 (notes VARCHAR, nssdc_id_no VARCHAR)
SELECT notes FROM table_191323_2 WHERE nssdc_id_no = "1959-002A"
Name the stacks for 1 1969 2 1995
CREATE TABLE table_23958917_1 (stacks VARCHAR, in_service_dates VARCHAR)
SELECT stacks FROM table_23958917_1 WHERE in_service_dates = "1 1969 2 1995"
What Cornerback has the lowest Pick # and Round of less than 1?
CREATE TABLE table_name_16 (pick__number INTEGER, position VARCHAR, round VARCHAR)
SELECT MIN(pick__number) FROM table_name_16 WHERE position = "cornerback" AND round < 1
What was the date when the away team was carlisle united?
CREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_50 WHERE away_team = "carlisle united"
What is the tyre with a 56 chassis?
CREATE TABLE table_name_99 (tyre VARCHAR, chassis VARCHAR)
SELECT tyre FROM table_name_99 WHERE chassis = "56"
Which race has a Margin of 8?
CREATE TABLE table_name_5 (race VARCHAR, margin VARCHAR)
SELECT race FROM table_name_5 WHERE margin = "8"
Which municipality's area is outer circle south and smaller than 368 km in Akershus County with more than 14,398 people?
CREATE TABLE table_name_2 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR)
SELECT municipality FROM table_name_2 WHERE area = "outer circle south" AND area_km² < 368 AND county = "akershus" AND population > 14 OFFSET 398
What's the comp for 1998-04-22?
CREATE TABLE table_name_1 (comp VARCHAR, date VARCHAR)
SELECT comp FROM table_name_1 WHERE date = "1998-04-22"
Which Week 10 Nov 2 has a Week 14 Nov 30 of penn state (11-1)?
CREATE TABLE table_name_4 (week_10_nov_2 VARCHAR, week_14_nov_30 VARCHAR)
SELECT week_10_nov_2 FROM table_name_4 WHERE week_14_nov_30 = "penn state (11-1)"
When is the air date that demo-ed at 1.6/5?
CREATE TABLE table_name_48 (air_date VARCHAR, demo VARCHAR)
SELECT air_date FROM table_name_48 WHERE demo = "1.6/5"
what is the listing for 1992 when 1999 is more than 1, 2008 is less than 2 and 2003 is less than 2?
CREATE TABLE table_name_14 (Id VARCHAR)
SELECT SUM(1992) FROM table_name_14 WHERE 1999 > 1 AND 2008 < 2 AND 2003 < 2
Who is the guest 1 in the episode where guest 4 is Jill Douglas?
CREATE TABLE table_20466963_4 (guest_1 VARCHAR, guest_4 VARCHAR)
SELECT guest_1 FROM table_20466963_4 WHERE guest_4 = "Jill Douglas"
Which Week has a Date of october 4, 1992?
CREATE TABLE table_name_52 (week INTEGER, date VARCHAR)
SELECT MAX(week) FROM table_name_52 WHERE date = "october 4, 1992"
Who played Lily Cahill in the Australian 2012 production?
CREATE TABLE table_29289213_1 (australian_cast VARCHAR, _2012 VARCHAR, character VARCHAR)
SELECT australian_cast, _2012 FROM table_29289213_1 WHERE character = "Lily Cahill"
What is the score of the game that resulted in a 15-9 record?
CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_46 WHERE record = "15-9"
Who all played mixed doubles in 2010?
CREATE TABLE table_name_68 (mixed_doubles VARCHAR, year VARCHAR)
SELECT mixed_doubles FROM table_name_68 WHERE year = 2010
What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16?
CREATE TABLE table_name_64 (recopa_sudamericana_1996 VARCHAR, copa_libertadores_1996 VARCHAR)
SELECT recopa_sudamericana_1996 FROM table_name_64 WHERE copa_libertadores_1996 = "round of 16"
what is the transfer fee for evilasio?
CREATE TABLE table_name_60 (transfer_fee VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_60 WHERE name = "evilasio"
What event had a short course in 2010?
CREATE TABLE table_name_77 (event VARCHAR, long_course_short_course VARCHAR, year_set VARCHAR)
SELECT event FROM table_name_77 WHERE long_course_short_course = "short course" AND year_set = 2010
what's the points with driver  mark martin
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR)
SELECT points FROM table_10160447_1 WHERE driver = "Mark Martin"
How many games were lost where the win percentage is smaller than 16.7 and the played games is 3?
CREATE TABLE table_name_83 (lost VARCHAR, win__percentage VARCHAR, played VARCHAR)
SELECT COUNT(lost) FROM table_name_83 WHERE win__percentage < 16.7 AND played = 3
Which city has a school where the nickname is Pioneers?
CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR)
SELECT location FROM table_262560_2 WHERE nickname = "Pioneers"
What is every record for game 13?
CREATE TABLE table_27539535_4 (record VARCHAR, game VARCHAR)
SELECT record FROM table_27539535_4 WHERE game = 13
What date was the Monsanto open located in Florida?
CREATE TABLE table_name_58 (date VARCHAR, location VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_58 WHERE location = "florida" AND tournament = "monsanto open"
What was the date for the 130-56 game?
CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_26 WHERE score = "130-56"
In what year is the status of won?
CREATE TABLE table_name_72 (year VARCHAR, status VARCHAR)
SELECT year FROM table_name_72 WHERE status = "won"
What format is the link for the polling data for February 10–28, 2011?
CREATE TABLE table_24778847_2 (link VARCHAR, date_of_polling VARCHAR)
SELECT link FROM table_24778847_2 WHERE date_of_polling = "February 10–28, 2011"
When was there a bye result?
CREATE TABLE table_name_32 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_32 WHERE result = "bye"
What is the To par of Willie MacFarlane from the country of Scotland?
CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, name VARCHAR)
SELECT to_par FROM table_name_17 WHERE country = "scotland" AND name = "willie macfarlane"
Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?
CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)"
Name the attendance for july 16
CREATE TABLE table_name_24 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_24 WHERE date = "july 16"
What is the number of rushing yards when the opponentis Indiana and the player is Denard Robinson?
CREATE TABLE table_28697228_4 (rushing_yards INTEGER, opponent VARCHAR, player VARCHAR)
SELECT MAX(rushing_yards) FROM table_28697228_4 WHERE opponent = "Indiana" AND player = "Denard Robinson"
What is the highest capacity for the venue of the club, vihren?
CREATE TABLE table_name_19 (capacity INTEGER, club VARCHAR)
SELECT MAX(capacity) FROM table_name_19 WHERE club = "vihren"
What is the result at match reports?
CREATE TABLE table_name_98 (result VARCHAR, location VARCHAR)
SELECT result FROM table_name_98 WHERE location = "match reports"
How many first elected years are provided for Thomas P. Moore?
CREATE TABLE table_2668243_8 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_2668243_8 WHERE incumbent = "Thomas P. Moore"
What year had 6.62 m in the notes?
CREATE TABLE table_name_60 (year VARCHAR, notes VARCHAR)
SELECT year FROM table_name_60 WHERE notes = "6.62 m"
Who is the winner when bigten (2-1) is the challenge leader?
CREATE TABLE table_21330550_2 (winner VARCHAR, challenge_leader VARCHAR)
SELECT winner FROM table_21330550_2 WHERE challenge_leader = "BigTen (2-1)"
What was the name of the opponent that having a TV time of Bye?
CREATE TABLE table_name_19 (opponent VARCHAR, tv_time VARCHAR)
SELECT opponent FROM table_name_19 WHERE tv_time = "bye"
What car was awarded sub 1 litre in 2000 (won by toyota 1sz-fe 1.0l yaris in 1999)?
CREATE TABLE table_name_35 (category VARCHAR)
SELECT 2000 FROM table_name_35 WHERE 1999 = "toyota 1sz-fe 1.0l yaris" AND category = "sub 1 litre"
What is the venue of the team race that was after 2008?
CREATE TABLE table_name_23 (venue VARCHAR, year VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_23 WHERE year > 2008 AND notes = "team"
Find the name of the target user with the lowest trust score.
CREATE TABLE trust (target_u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)
SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.target_u_id ORDER BY trust LIMIT 1
What is the commissioned with a 636.3 project, and ordered status?
CREATE TABLE table_name_24 (commissioned VARCHAR, project VARCHAR, status VARCHAR)
SELECT commissioned FROM table_name_24 WHERE project = "636.3" AND status = "ordered"
What was the average attendance in week 2?
CREATE TABLE table_name_61 (attendance INTEGER, week VARCHAR)
SELECT AVG(attendance) FROM table_name_61 WHERE week = 2
What team has more than 32 games and 311 rebounds?
CREATE TABLE table_name_27 (team VARCHAR, games VARCHAR, rebounds VARCHAR)
SELECT team FROM table_name_27 WHERE games > 32 AND rebounds = 311
How many assists did Delisha Milton-Jones make?
CREATE TABLE table_19722664_5 (assists VARCHAR, player VARCHAR)
SELECT assists FROM table_19722664_5 WHERE player = "DeLisha Milton-Jones"
What is the grid of pkv racing with the driver oriol servià?
CREATE TABLE table_name_56 (grid INTEGER, team VARCHAR, driver VARCHAR)
SELECT SUM(grid) FROM table_name_56 WHERE team = "pkv racing" AND driver = "oriol servià"
Name the RR numbers of hudswell clarke and years before 1914
CREATE TABLE table_name_15 (rr_nos VARCHAR, builder VARCHAR, year VARCHAR)
SELECT rr_nos FROM table_name_15 WHERE builder = "hudswell clarke" AND year < 1914
What is WSU Year(s), when Pro Year(s) is 1974-77?
CREATE TABLE table_name_88 (wsu_year_s_ VARCHAR, pro_year_s_ VARCHAR)
SELECT wsu_year_s_ FROM table_name_88 WHERE pro_year_s_ = "1974-77"
What's the largest amount of wins Texas has?
CREATE TABLE table_16225511_2 (wins INTEGER, school VARCHAR)
SELECT MAX(wins) FROM table_16225511_2 WHERE school = "Texas"
How similar is the genus/species sus scrofa?
CREATE TABLE table_15417439_1 (similarity VARCHAR, genus_species VARCHAR)
SELECT similarity FROM table_15417439_1 WHERE genus_species = "Sus scrofa"
what is the play when the company is cyprus theatre organisation?
CREATE TABLE table_name_61 (play VARCHAR, company VARCHAR)
SELECT play FROM table_name_61 WHERE company = "cyprus theatre organisation"
What is the software with version 1.2.2.0?
CREATE TABLE table_15038373_1 (software VARCHAR, version VARCHAR)
SELECT software FROM table_15038373_1 WHERE version = "1.2.2.0"
How many total draws was played less than 18 with 11 losts?
CREATE TABLE table_name_2 (draw INTEGER, lost VARCHAR, played VARCHAR)
SELECT SUM(draw) FROM table_name_2 WHERE lost = 11 AND played < 18
Which games had Philadelphia as home team?
CREATE TABLE table_name_20 (game VARCHAR, home_team VARCHAR)
SELECT game FROM table_name_20 WHERE home_team = "philadelphia"
In what week was the first game played?
CREATE TABLE table_29679510_2 (week INTEGER)
SELECT MIN(week) FROM table_29679510_2
Who directed the episode written by karina csolty
CREATE TABLE table_27969432_2 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_27969432_2 WHERE written_by = "Karina Csolty"
Which Programming is on Channel 26.5?
CREATE TABLE table_name_98 (programming VARCHAR, channel VARCHAR)
SELECT programming FROM table_name_98 WHERE channel = 26.5
Show the stadium name and capacity with most number of concerts in year 2014 or after.
CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR)
SELECT T2.name, T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1
Name the hdtv when number is 378
CREATE TABLE table_15887683_6 (hdtv VARCHAR, n° VARCHAR)
SELECT hdtv FROM table_15887683_6 WHERE n° = 378
Find the name of all students who were in the tryout sorted in alphabetic order.
CREATE TABLE tryout (pID VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID ORDER BY T1.pName
Which films participated in the 30th Hawaii International Film Festival?
CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR)
SELECT participants_recipients FROM table_29644931_1 WHERE film_festival = "30th Hawaii International film_festival"
What country has a time of 7:28.66 and a rank less than 3?
CREATE TABLE table_name_27 (country VARCHAR, rank VARCHAR, time VARCHAR)
SELECT country FROM table_name_27 WHERE rank < 3 AND time = "7:28.66"
List the names of members in ascending alphabetical order.
CREATE TABLE member (Name VARCHAR)
SELECT Name FROM member ORDER BY Name
What position did the driver earn 31 points?
CREATE TABLE table_25146455_1 (position VARCHAR, points VARCHAR)
SELECT position FROM table_25146455_1 WHERE points = 31
Which college's pick was 14?
CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_86 WHERE pick = "14"
What is the total ratings on share less than 4?
CREATE TABLE table_name_66 (rating VARCHAR, share INTEGER)
SELECT COUNT(rating) FROM table_name_66 WHERE share < 4
Tell me the sum of Year for outcome of runner-up for world darts championship
CREATE TABLE table_name_41 (year INTEGER, outcome VARCHAR, championship VARCHAR)
SELECT SUM(year) FROM table_name_41 WHERE outcome = "runner-up" AND championship = "world darts championship"
How many against have a difference of 6, with a played greater than 19?
CREATE TABLE table_name_57 (against INTEGER, difference VARCHAR, played VARCHAR)
SELECT SUM(against) FROM table_name_57 WHERE difference = "6" AND played > 19
How many years have a theme of Toronto Maple Leafs and an Issue Price of 24.95?
CREATE TABLE table_name_39 (year VARCHAR, theme VARCHAR, issue_price VARCHAR)
SELECT COUNT(year) FROM table_name_39 WHERE theme = "toronto maple leafs" AND issue_price = 24.95