question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which region does Old Dominion University represent?
CREATE TABLE table_name_33 (region VARCHAR, host VARCHAR)
SELECT region FROM table_name_33 WHERE host = "old dominion university"
Which model has the least amount of RAM? List the model name and the amount of RAM.
CREATE TABLE chip_model (Model_name VARCHAR, RAM_MiB VARCHAR)
SELECT Model_name, RAM_MiB FROM chip_model ORDER BY RAM_MiB LIMIT 1
What is the position when the points 1 is 61?
CREATE TABLE table_name_40 (position INTEGER, points_1 VARCHAR)
SELECT SUM(position) FROM table_name_40 WHERE points_1 = "61"
what is id of students who registered some courses but the least number of courses in these students?
CREATE TABLE student_course_registrations (student_id VARCHAR)
SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY COUNT(*) LIMIT 1
what are all the score in conclusive where title is rome
CREATE TABLE table_23197088_4 (score_in_final VARCHAR, championship VARCHAR)
SELECT score_in_final FROM table_23197088_4 WHERE championship = "Rome"
Who is the company that released the album on 2008-09-18 18 September 2008?
CREATE TABLE table_name_76 (company VARCHAR, release_date VARCHAR)
SELECT company FROM table_name_76 WHERE release_date = "2008-09-18 18 september 2008"
What is the highest Ranking Round Rank for Russia with a Final Rank over 11?
CREATE TABLE table_name_3 (ranking_round_rank INTEGER, nation VARCHAR, final_rank VARCHAR)
SELECT MAX(ranking_round_rank) FROM table_name_3 WHERE nation = "russia" AND final_rank > 11
how many height m ( ft ) with frequency mhz being 100.1
CREATE TABLE table_13998897_1 (height_m___ft__ VARCHAR, frequency_mhz VARCHAR)
SELECT COUNT(height_m___ft__) FROM table_13998897_1 WHERE frequency_mhz = "100.1"
What is the position for player Blue Edwards?
CREATE TABLE table_11545282_5 (position VARCHAR, player VARCHAR)
SELECT position FROM table_11545282_5 WHERE player = "Blue Edwards"
WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS?
CREATE TABLE table_name_93 (tournament VARCHAR)
SELECT 2010 FROM table_name_93 WHERE 2012 = "2r" AND tournament = "miami masters"
Name the highest points when year is more than 1953
CREATE TABLE table_name_8 (points INTEGER, year INTEGER)
SELECT MAX(points) FROM table_name_8 WHERE year > 1953
What is the to par of the player with a t9 place and a score of 72-67=139?
CREATE TABLE table_name_86 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_86 WHERE place = "t9" AND score = 72 - 67 = 139
what country is john nielsen from
CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR)
SELECT country FROM table_name_10 WHERE driver = "john nielsen"
Which description is dated 1962?
CREATE TABLE table_name_56 (description VARCHAR, date VARCHAR)
SELECT description FROM table_name_56 WHERE date = "1962"
What's the record in the game where Greg Monroe (8) did the high rebounds?
CREATE TABLE table_27755603_2 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_27755603_2 WHERE high_rebounds = "Greg Monroe (8)"
What is the epicenter on January 1, 1965?
CREATE TABLE table_name_88 (epicenter VARCHAR, date VARCHAR)
SELECT epicenter FROM table_name_88 WHERE date = "january 1, 1965"
What is the attendance from November 3, 1974?
CREATE TABLE table_name_35 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_35 WHERE date = "november 3, 1974"
On what dates did the draw at the Antigua Recreation Ground happen?
CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR, venue VARCHAR)
SELECT date FROM table_name_25 WHERE result = "draw" AND venue = "antigua recreation ground"
Name the segment b for 226 episode
CREATE TABLE table_15187735_18 (segment_b VARCHAR, episode VARCHAR)
SELECT segment_b FROM table_15187735_18 WHERE episode = 226
What is Couple, when Choreographer(s) is Nakul Dev Mahajan?
CREATE TABLE table_name_13 (couple VARCHAR, choreographer_s_ VARCHAR)
SELECT couple FROM table_name_13 WHERE choreographer_s_ = "nakul dev mahajan"
Which Wins have a Goal Difference larger than 12, and a Club of granada cf, and Played larger than 30?
CREATE TABLE table_name_91 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT AVG(wins) FROM table_name_91 WHERE goal_difference > 12 AND club = "granada cf" AND played > 30
What are the details for Marisa Ferretti Barth?
CREATE TABLE table_name_55 (details VARCHAR, name VARCHAR)
SELECT details FROM table_name_55 WHERE name = "marisa ferretti barth"
Can you tell me the total number of Laps that has the Team of wps racing?
CREATE TABLE table_name_94 (laps VARCHAR, team VARCHAR)
SELECT COUNT(laps) FROM table_name_94 WHERE team = "wps racing"
Which visiting team had a record of 31–31–8?
CREATE TABLE table_name_67 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_67 WHERE record = "31–31–8"
What is the highest place of the song with 38 votes and a draw great than 3?
CREATE TABLE table_name_8 (place INTEGER, votes VARCHAR, draw VARCHAR)
SELECT MAX(place) FROM table_name_8 WHERE votes = 38 AND draw > 3
What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3?
CREATE TABLE table_name_96 (episode INTEGER, original_airdate VARCHAR, season VARCHAR)
SELECT AVG(episode) AS number FROM table_name_96 WHERE original_airdate = "march 21, 2010" AND season < 3
What is the average silver with a Rank smaller than 2 and more than 1 gold?
CREATE TABLE table_name_61 (silver INTEGER, rank VARCHAR, gold VARCHAR)
SELECT AVG(silver) FROM table_name_61 WHERE rank < 2 AND gold > 1
If the US Open tournament had 2r in 2012, what was it in 2010?
CREATE TABLE table_name_84 (tournament VARCHAR)
SELECT 2010 FROM table_name_84 WHERE 2012 = "2r" AND tournament = "us open"
what is 2000 when 2012 is 4r?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT 2000 FROM table_name_4 WHERE 2012 = "4r"
What stadiums had an attendance of 8,256?
CREATE TABLE table_14425454_1 (ground VARCHAR, crowd VARCHAR)
SELECT ground FROM table_14425454_1 WHERE crowd = "8,256"
WHAT IS THE AWAY TEAM WITH A HOME TEAM OF CHELSEA?
CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_68 WHERE home_team = "chelsea"
All high points were record by corey maggette (25).
CREATE TABLE table_17080868_8 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_17080868_8 WHERE high_points = "Corey Maggette (25)"
How much is per capita income when median household income is $42,845?
CREATE TABLE table_name_43 (per_capita_income VARCHAR, median_household_income VARCHAR)
SELECT per_capita_income FROM table_name_43 WHERE median_household_income = "$42,845"
What Silver has the Location of Guangzhou?
CREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR)
SELECT silver FROM table_name_17 WHERE location = "guangzhou"
Show the names of journalists from "England" or "Wales".
CREATE TABLE journalist (Name VARCHAR, Nationality VARCHAR)
SELECT Name FROM journalist WHERE Nationality = "England" OR Nationality = "Wales"
What is the score for Jock Hutchison?
CREATE TABLE table_name_89 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_89 WHERE player = "jock hutchison"
Which country had des moines as the location in 2011?
CREATE TABLE table_name_68 (country_state VARCHAR, location VARCHAR, year VARCHAR)
SELECT country_state FROM table_name_68 WHERE location = "des moines" AND year = 2011
Who is the first student to register? List the first name, middle name and last name.
CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, date_first_registered VARCHAR)
SELECT first_name, middle_name, last_name FROM Students ORDER BY date_first_registered LIMIT 1
What is the 2007 of the Grand Slam Tournaments in 2008?
CREATE TABLE table_name_16 (Id VARCHAR)
SELECT 2007 FROM table_name_16 WHERE 2008 = "grand slam tournaments"
Who was the opponent on september 27, 1998?
CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_16 WHERE date = "september 27, 1998"
Name the location attendance for minnesota
CREATE TABLE table_22883210_10 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_22883210_10 WHERE team = "Minnesota"
Which Team has a Location Attendance of fedexforum 11,731?
CREATE TABLE table_name_4 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_name_4 WHERE location_attendance = "fedexforum 11,731"
In which city is the station licensed whose frequency MHz is higher than 102.3 and the ERP W is lower than 1,000?
CREATE TABLE table_name_60 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT city_of_license FROM table_name_60 WHERE frequency_mhz = 102.3 AND erp_w < 1 OFFSET 000
What was the home team's score in the match at Victoria Park?
CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_6 WHERE venue = "victoria park"
Which Comparative has a Link of sourcecode webserver?
CREATE TABLE table_name_43 (comparative VARCHAR, link VARCHAR)
SELECT comparative FROM table_name_43 WHERE link = "sourcecode webserver"
what's the location with tournament value of quicksilver classic
CREATE TABLE table_11621915_1 (location VARCHAR, tournament VARCHAR)
SELECT location FROM table_11621915_1 WHERE tournament = "Quicksilver Classic"
What is the number of electorates (2009) for the Indore district, when reserved for (SC / ST /None) is none, and constituency number is 208?
CREATE TABLE table_name_21 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
SELECT SUM(number_of_electorates__2009_) FROM table_name_21 WHERE district = "indore" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "208"
Name the performance order for 2.15%
CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR)
SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.15%"
What is the format for South Australia?
CREATE TABLE table_1000181_1 (format VARCHAR, state_territory VARCHAR)
SELECT format FROM table_1000181_1 WHERE state_territory = "South Australia"
What round does Duncan Tappy drive in?
CREATE TABLE table_23293785_3 (sf_round INTEGER, driver VARCHAR)
SELECT MAX(sf_round) FROM table_23293785_3 WHERE driver = "Duncan Tappy"
Find the number of vocal types used in song "Demon Kitty Rag"?
CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
SELECT COUNT(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Demon Kitty Rag"
How many weeks have an attendance less than 26,048?
CREATE TABLE table_name_7 (week INTEGER, attendance INTEGER)
SELECT SUM(week) FROM table_name_7 WHERE attendance < 26 OFFSET 048
What date has 136-134 as the score?
CREATE TABLE table_name_83 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_83 WHERE score = "136-134"
Find the name of the tryout players who are from the college with largest size.
CREATE TABLE college (cName VARCHAR, enr VARCHAR); CREATE TABLE tryout (pID VARCHAR, cName VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)
SELECT T2.pName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T1.cName = (SELECT cName FROM college ORDER BY enr DESC LIMIT 1)
What is the country is ranked more than 4?
CREATE TABLE table_name_66 (country VARCHAR, rank INTEGER)
SELECT country FROM table_name_66 WHERE rank > 4
Name the won when tries against is 72
CREATE TABLE table_17625749_1 (won VARCHAR, tries_against VARCHAR)
SELECT won FROM table_17625749_1 WHERE tries_against = "72"
Show the working years of managers in descending order of their level.
CREATE TABLE manager (Working_year_starts VARCHAR, LEVEL VARCHAR)
SELECT Working_year_starts FROM manager ORDER BY LEVEL DESC
What is the Sr. number of Banikhet Dalhouse Khajiar?
CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR)
SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar"
What is the train number for the train name island express with a destination of kanniyakumari?
CREATE TABLE table_29770377_1 (train_number VARCHAR, train_name VARCHAR, destination VARCHAR)
SELECT train_number FROM table_29770377_1 WHERE train_name = "Island Express" AND destination = "Kanniyakumari"
Name the total number of affiliation for enrollment being 14898
CREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR)
SELECT COUNT(affiliation) FROM table_16383772_1 WHERE enrollment = 14898
In how many teams is Waqar Younis the head coach?
CREATE TABLE table_19905183_1 (team VARCHAR, head_coach VARCHAR)
SELECT COUNT(team) FROM table_19905183_1 WHERE head_coach = "Waqar Younis"
Can you tell me the Score that has the Country of united states, and the Place of t2, and the Player of tom watson?
CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_48 WHERE country = "united states" AND place = "t2" AND player = "tom watson"
Who is the artist with 2153 (5) televotes (points)?
CREATE TABLE table_name_11 (artist VARCHAR, televotes__points_ VARCHAR)
SELECT artist FROM table_name_11 WHERE televotes__points_ = "2153 (5)"
What is the title in 1991?
CREATE TABLE table_name_79 (title VARCHAR, year VARCHAR)
SELECT title FROM table_name_79 WHERE year = "1991"
What was the least attendance when the time was 3:15?
CREATE TABLE table_name_10 (attendance INTEGER, time VARCHAR)
SELECT MIN(attendance) FROM table_name_10 WHERE time = "3:15"
What year had 13 points?
CREATE TABLE table_name_23 (year VARCHAR, pts VARCHAR)
SELECT year FROM table_name_23 WHERE pts = 13
Who has a religion of ☪ and more than 1853 votes?
CREATE TABLE table_name_66 (candidate_name VARCHAR, votes VARCHAR, religion VARCHAR)
SELECT candidate_name FROM table_name_66 WHERE votes > 1853 AND religion = "☪"
What was the capacity at construction of the stadium in Gold Coast, Queensland?
CREATE TABLE table_28885977_1 (capacity_at_construction VARCHAR, location VARCHAR)
SELECT capacity_at_construction FROM table_28885977_1 WHERE location = "Gold Coast, Queensland"
What is the littlest round that has Matt Delahey, and a greater than 112 pick?
CREATE TABLE table_name_58 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_58 WHERE player = "matt delahey" AND pick > 112
What is the 2010 population when the 2000 population is 5720?
CREATE TABLE table_2144436_1 (population__2010_ INTEGER, population__2000_ VARCHAR)
SELECT MAX(population__2010_) FROM table_2144436_1 WHERE population__2000_ = 5720
Which Venue has an Away team of footscray?
CREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_6 WHERE away_team = "footscray"
On September 25, 1994 what was the final score?
CREATE TABLE table_name_33 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_33 WHERE date = "september 25, 1994"
Name the finish with player lou graham
CREATE TABLE table_name_26 (finish VARCHAR, player VARCHAR)
SELECT finish FROM table_name_26 WHERE player = "lou graham"
What's the name when Henrik Sundström was champion?
CREATE TABLE table_name_88 (name VARCHAR, champion VARCHAR)
SELECT name FROM table_name_88 WHERE champion = "henrik sundström"
Jack Nicklaus finished in what place?
CREATE TABLE table_name_18 (finish VARCHAR, player VARCHAR)
SELECT finish FROM table_name_18 WHERE player = "jack nicklaus"
Who exited on Day 12?
CREATE TABLE table_name_64 (celebrity VARCHAR, exited VARCHAR)
SELECT celebrity FROM table_name_64 WHERE exited = "day 12"
What is the score of the game that had a decision of Parent, home team of Philadelphia, and visitor of Pittsburgh?
CREATE TABLE table_name_11 (score VARCHAR, visitor VARCHAR, decision VARCHAR, home VARCHAR)
SELECT score FROM table_name_11 WHERE decision = "parent" AND home = "philadelphia" AND visitor = "pittsburgh"
Who were the directors of the film submitted with the title Young Törless?
CREATE TABLE table_10874596_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT director FROM table_10874596_1 WHERE film_title_used_in_nomination = "Young Törless"
Which AVE-No has a Name of livigno alps?
CREATE TABLE table_name_28 (ave__no INTEGER, name VARCHAR)
SELECT MIN(ave__no) FROM table_name_28 WHERE name = "livigno alps"
What was the result in week 14?
CREATE TABLE table_name_77 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_77 WHERE week = 14
For each faculty rank, show the number of faculty members who have it.
CREATE TABLE Faculty (rank VARCHAR)
SELECT rank, COUNT(*) FROM Faculty GROUP BY rank
How many different kickoffs happened when the oppenent was at Rhein Fire?
CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR)
SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire"
What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0?
CREATE TABLE table_name_60 (yards INTEGER, sack VARCHAR, asst VARCHAR, totaltk VARCHAR)
SELECT SUM(yards) FROM table_name_60 WHERE asst = 19 AND totaltk = 60 AND sack > 0
What are the name and location of the cinema with the largest capacity?
CREATE TABLE cinema (name VARCHAR, LOCATION VARCHAR, capacity VARCHAR)
SELECT name, LOCATION FROM cinema ORDER BY capacity DESC LIMIT 1
What Home team had an Attendance of 2,776?
CREATE TABLE table_name_12 (home_team VARCHAR, attendance VARCHAR)
SELECT home_team FROM table_name_12 WHERE attendance = "2,776"
what are all the hometown where the average age is 16
CREATE TABLE table_26267849_2 (hometown VARCHAR, age_s_ VARCHAR)
SELECT hometown FROM table_26267849_2 WHERE age_s_ = "16"
Who had the high assists when the score was w 107–95 (ot)?
CREATE TABLE table_27715173_6 (high_assists VARCHAR, score VARCHAR)
SELECT high_assists FROM table_27715173_6 WHERE score = "W 107–95 (OT)"
Who is the away team that played home team Footscray?
CREATE TABLE table_name_67 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_67 WHERE home_team = "footscray"
What is Attendance, when Opponent is Montreal Alouettes, and when Date is Oct 4?
CREATE TABLE table_name_1 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_1 WHERE opponent = "montreal alouettes" AND date = "oct 4"
What's the Japanese title when the Romaji Title was Atsu-Hime?
CREATE TABLE table_name_24 (japanese_title VARCHAR, romaji_title VARCHAR)
SELECT japanese_title FROM table_name_24 WHERE romaji_title = "atsu-hime"
What was the injured entry for Venezuela?
CREATE TABLE table_name_16 (injured VARCHAR, country VARCHAR)
SELECT injured FROM table_name_16 WHERE country = "venezuela"
What position does Boggs play?
CREATE TABLE table_25517718_3 (position VARCHAR, player VARCHAR)
SELECT position FROM table_25517718_3 WHERE player = "Boggs"
What is the numeral where the English name is Florin?
CREATE TABLE table_1682865_1 (numeral VARCHAR, english_name VARCHAR)
SELECT numeral FROM table_1682865_1 WHERE english_name = "Florin"
how many games has kansas state and depaul played against each other
CREATE TABLE table_15740666_6 (games_played VARCHAR, kansas_state_vs VARCHAR)
SELECT COUNT(games_played) FROM table_15740666_6 WHERE kansas_state_vs = "DePaul"
What is listed for the 2005 that has a 2012 of 4.2%?
CREATE TABLE table_name_35 (Id VARCHAR)
SELECT 2005 FROM table_name_35 WHERE 2012 = "4.2%"
Name the party for pennsylvania 10
CREATE TABLE table_25030512_41 (party VARCHAR, district VARCHAR)
SELECT party FROM table_25030512_41 WHERE district = "Pennsylvania 10"
Show the locations that have at least two performances.
CREATE TABLE performance (LOCATION VARCHAR)
SELECT LOCATION FROM performance GROUP BY LOCATION HAVING COUNT(*) >= 2
What D Player with a Height of m (ft 4in) is in the Spandau 04 Club?
CREATE TABLE table_name_5 (name VARCHAR, pos VARCHAR, club VARCHAR, height VARCHAR)
SELECT name FROM table_name_5 WHERE club = "spandau 04" AND height = "m (ft 4in)" AND pos = "d"
Which team drafted Joakim Persson?
CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_2850912_10 WHERE player = "Joakim Persson"
How many losses are there with 5 goal differences, drew more than 10 times, and 43 goals against?
CREATE TABLE table_name_51 (losses VARCHAR, goals_against VARCHAR, goal_difference VARCHAR, draws VARCHAR)
SELECT COUNT(losses) FROM table_name_51 WHERE goal_difference = 5 AND draws > 10 AND goals_against = 43