question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Which category has 24 nominated work? | CREATE TABLE table_name_12 (category VARCHAR, nominated_work VARCHAR) | SELECT category FROM table_name_12 WHERE nominated_work = "24" |
what's the department with acronym being deped (ked) | CREATE TABLE table_1331313_1 (department VARCHAR, acronym VARCHAR) | SELECT department FROM table_1331313_1 WHERE acronym = "DepEd (KEd)" |
What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots? | CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_date VARCHAR, artist VARCHAR) | SELECT catalogue_number FROM table_27932399_1 WHERE release_date = 2005 AND artist = "The Clear Spots" |
Which Radon has Atomic property of outer shell electron configuration? | CREATE TABLE table_name_65 (radon VARCHAR, atomic_property VARCHAR) | SELECT radon FROM table_name_65 WHERE atomic_property = "outer shell electron configuration" |
What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4? | CREATE TABLE table_name_63 (lost INTEGER, name VARCHAR, position VARCHAR) | SELECT AVG(lost) FROM table_name_63 WHERE name = "ec amberg (n)" AND position < 4 |
Where does the Bayou Blvd./12th Avenue route that has a terminus at the downtown transit center operate? | CREATE TABLE table_name_5 (operates VARCHAR, terminus VARCHAR, name VARCHAR) | SELECT operates FROM table_name_5 WHERE terminus = "downtown transit center" AND name = "bayou blvd./12th avenue" |
When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3? | CREATE TABLE table_name_11 (week_3 VARCHAR, week_2 VARCHAR) | SELECT week_3 FROM table_name_11 WHERE week_2 = "heather christensen" |
What is the City/State of the Oran Park race? | CREATE TABLE table_name_85 (city___state VARCHAR, race_title VARCHAR) | SELECT city___state FROM table_name_85 WHERE race_title = "oran park" |
What is the sum of NGC numbers for Constellation vela? | CREATE TABLE table_name_16 (ngc_number INTEGER, constellation VARCHAR) | SELECT SUM(ngc_number) FROM table_name_16 WHERE constellation = "vela" |
What is the type when Robert Villemain had a record at 109–1–2? | CREATE TABLE table_name_34 (type VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT type FROM table_name_34 WHERE opponent = "robert villemain" AND record = "109–1–2" |
What is the run rate for rank 4? | CREATE TABLE table_name_61 (run_rate INTEGER, rank VARCHAR) | SELECT MAX(run_rate) FROM table_name_61 WHERE rank = 4 |
what is the unemployment rate for wayne county? | CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, county VARCHAR) | SELECT unemployment_rate FROM table_22815568_13 WHERE county = "Wayne" |
When καθ are the letters what is the nickname? | CREATE TABLE table_28436909_4 (nickname VARCHAR, letters VARCHAR) | SELECT nickname FROM table_28436909_4 WHERE letters = "ΚΑΘ" |
How many league apps did the player with 11 team goals have? | CREATE TABLE table_27170987_5 (league_apps VARCHAR, total_goals VARCHAR) | SELECT league_apps FROM table_27170987_5 WHERE total_goals = 11 |
What is the highest crowd number of the game where the away team was south melbourne? | CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne" |
Which team has a Losses value larger than 1 and a Wins value smaller than 0? | CREATE TABLE table_name_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR) | SELECT SUM(goal_diff) FROM table_name_94 WHERE losses > 1 AND wins < 0 |
What is the name of the race in the Modena circuit? | CREATE TABLE table_1140116_5 (race_name VARCHAR, circuit VARCHAR) | SELECT race_name FROM table_1140116_5 WHERE circuit = "Modena" |
Who has a bowling style of source:? | CREATE TABLE table_name_7 (player VARCHAR, bowling_style VARCHAR) | SELECT player FROM table_name_7 WHERE bowling_style = "source:" |
Which Royal house has a name of ding? | CREATE TABLE table_name_30 (royal_house VARCHAR, name VARCHAR) | SELECT royal_house FROM table_name_30 WHERE name = "ding" |
What did Ku Hyo-Jin rank? | CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR) | SELECT COUNT(rank) FROM table_name_46 WHERE name = "ku hyo-jin" |
What country won in 1993? | CREATE TABLE table_name_28 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_28 WHERE year_s__won = "1993" |
Which title has a year prior to 2008 and xbox 360 as the platform? | CREATE TABLE table_name_31 (title VARCHAR, year VARCHAR, platform VARCHAR) | SELECT title FROM table_name_31 WHERE year < 2008 AND platform = "xbox 360" |
Where was the game that was larger than 30 and scored 106-111 | CREATE TABLE table_name_94 (location VARCHAR, game VARCHAR, score VARCHAR) | SELECT location FROM table_name_94 WHERE game > 30 AND score = "106-111" |
Which chassis-engine had 77 laps? | CREATE TABLE table_name_9 (chassis___engine VARCHAR, laps VARCHAR) | SELECT chassis___engine FROM table_name_9 WHERE laps = 77 |
Who was the opponent for the game on November 20, 1955? | CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_35 WHERE date = "november 20, 1955" |
What title has daffy (as duck dodgers) as the character? | CREATE TABLE table_name_98 (title VARCHAR, characters VARCHAR) | SELECT title FROM table_name_98 WHERE characters = "daffy (as duck dodgers)" |
Result F–A of 2–0 had what total number of attendance? | CREATE TABLE table_name_42 (attendance VARCHAR, result_f_a VARCHAR) | SELECT COUNT(attendance) FROM table_name_42 WHERE result_f_a = "2–0" |
How many positions are for creighton? | CREATE TABLE table_11545282_11 (position VARCHAR, school_club_team VARCHAR) | SELECT COUNT(position) FROM table_11545282_11 WHERE school_club_team = "Creighton" |
what is the power when the city of license is belleville? | CREATE TABLE table_name_71 (power VARCHAR, city_of_license VARCHAR) | SELECT power FROM table_name_71 WHERE city_of_license = "belleville" |
Name the total number of seats for general surgery | CREATE TABLE table_19304764_2 (permitted_seats VARCHAR, discipline VARCHAR) | SELECT COUNT(permitted_seats) FROM table_19304764_2 WHERE discipline = "General Surgery" |
What is the name of the player with a winter transfer window moving from Roma? | CREATE TABLE table_name_79 (name VARCHAR, transfer_window VARCHAR, moving_from VARCHAR) | SELECT name FROM table_name_79 WHERE transfer_window = "winter" AND moving_from = "roma" |
How many wins in the 4th position? | CREATE TABLE table_2012187_3 (wins INTEGER, position VARCHAR) | SELECT MIN(wins) FROM table_2012187_3 WHERE position = "4th" |
How much Attendance has an Opponent of rockies, and a Record of 32-30? | CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR) | SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-30" |
How many schools are listed for the player who played the years for Jazz in 2010-11? | CREATE TABLE table_11545282_5 (school_club_team VARCHAR, years_for_jazz VARCHAR) | SELECT COUNT(school_club_team) FROM table_11545282_5 WHERE years_for_jazz = "2010-11" |
Who wrote episode 26 in the series? | CREATE TABLE table_26139405_1 (writer VARCHAR, episode__number VARCHAR) | SELECT writer FROM table_26139405_1 WHERE episode__number = 26 |
In which year is the overall 29-4? | CREATE TABLE table_21756039_1 (year VARCHAR, overall VARCHAR) | SELECT year FROM table_21756039_1 WHERE overall = "29-4" |
What's the C_{high} when the C_{low} value is 250.5? | CREATE TABLE table_1942366_9 (high VARCHAR, low VARCHAR) | SELECT STRUCT(high) FROM table_1942366_9 WHERE STRUCT(low) = "250.5" |
What did the tournament that got an A in 1945 get in 1949? | CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 1949 FROM table_name_22 WHERE 1945 = "a" |
What is the average rating for tv asahi? | CREATE TABLE table_18539834_2 (average_ratings VARCHAR, tv_station VARCHAR) | SELECT average_ratings FROM table_18539834_2 WHERE tv_station = "TV Asahi" |
Which Adelaide has Sydney yes, Melbourne yes, and Perth no? | CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR) | SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no" |
what is the zip code of boonville | CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR) | SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville" |
what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy? | CREATE TABLE table_name_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR) | SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = "hydra" AND object_type = "spiral galaxy" |
What township is 34.781 square miles? | CREATE TABLE table_18600760_18 (township VARCHAR, land___sqmi__ VARCHAR) | SELECT township FROM table_18600760_18 WHERE land___sqmi__ = "34.781" |
What is the Date of the game with a Record of 2–3–1? | CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_86 WHERE record = "2–3–1" |
tries against correct as of 2007-10-15 has what tries for? | CREATE TABLE table_name_31 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_31 WHERE tries_against = "correct as of 2007-10-15" |
How many blocks have a weight greater than 82, and a height less than 199? | CREATE TABLE table_name_16 (block INTEGER, weight VARCHAR, height VARCHAR) | SELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199 |
Tell me the opponent for 6–2, 3–6, 4–6 | CREATE TABLE table_name_29 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) | SELECT opponent_in_the_final FROM table_name_29 WHERE score_in_the_final = "6–2, 3–6, 4–6" |
What is the First elected of california 3? | CREATE TABLE table_name_55 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_name_55 WHERE district = "california 3" |
How many entries are there for class when the prior experience is shasta h.s. | CREATE TABLE table_14342210_13 (class VARCHAR, prior_experience VARCHAR) | SELECT COUNT(class) FROM table_14342210_13 WHERE prior_experience = "Shasta H.S." |
How many matches had 360 goals? | CREATE TABLE table_name_31 (matches VARCHAR, goals VARCHAR) | SELECT matches FROM table_name_31 WHERE goals = 360 |
What is the lowest grid for Roberto Rolfo with more than 26 laps? | CREATE TABLE table_name_87 (grid INTEGER, rider VARCHAR, laps VARCHAR) | SELECT MIN(grid) FROM table_name_87 WHERE rider = "roberto rolfo" AND laps > 26 |
What is the total losses against 1412, and 10 wins, but draws less than 0? | CREATE TABLE table_name_56 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR) | SELECT SUM(losses) FROM table_name_56 WHERE against > 1412 AND wins = 10 AND draws < 0 |
What's the original airdate of the episode directed by Pete Travis? | CREATE TABLE table_12919003_3 (original_airdate VARCHAR, director VARCHAR) | SELECT original_airdate FROM table_12919003_3 WHERE director = "Pete Travis" |
Where where the bbc three weekly ranking for episode no. 5? | CREATE TABLE table_24399615_3 (bbc_three_weekly_ranking VARCHAR, episode_no VARCHAR) | SELECT bbc_three_weekly_ranking FROM table_24399615_3 WHERE episode_no = 5 |
Who was nominated for Best Theatre Choreographer? | CREATE TABLE table_name_18 (nominee VARCHAR, category VARCHAR) | SELECT nominee FROM table_name_18 WHERE category = "best theatre choreographer" |
what is the total rank on airdate march 30, 2011? | CREATE TABLE table_27987623_4 (rank_timeslot_ VARCHAR, airdate VARCHAR) | SELECT COUNT(rank_timeslot_) FROM table_27987623_4 WHERE airdate = "March 30, 2011" |
What is the average Week when the result was w 28–20, and there were more than 46,888 in attendance? | CREATE TABLE table_name_83 (week INTEGER, result VARCHAR, attendance VARCHAR) | SELECT AVG(week) FROM table_name_83 WHERE result = "w 28–20" AND attendance > 46 OFFSET 888 |
Question doesn't make sense since there is no team of pramac d'antin ducati | CREATE TABLE table_name_46 (year INTEGER, team VARCHAR) | SELECT MIN(year) FROM table_name_46 WHERE team = "pramac d'antin ducati" |
what is the score when the result is loss, the year is 1980 and the competition is world group, consolation round? | CREATE TABLE table_name_45 (score VARCHAR, competition VARCHAR, result VARCHAR, year VARCHAR) | SELECT score FROM table_name_45 WHERE result = "loss" AND year = "1980" AND competition = "world group, consolation round" |
When 4 is the episode what is the air date? | CREATE TABLE table_28980706_4 (first_air_date VARCHAR, episode VARCHAR) | SELECT first_air_date FROM table_28980706_4 WHERE episode = 4 |
Score of 3–6, 7–5, 6–4 included what date? | CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_63 WHERE score = "3–6, 7–5, 6–4" |
What is the drawn when there are 402 points? | CREATE TABLE table_name_85 (drawn VARCHAR, points_for VARCHAR) | SELECT drawn FROM table_name_85 WHERE points_for = "402" |
What round was the method submission (punches)? | CREATE TABLE table_name_18 (round VARCHAR, method VARCHAR) | SELECT COUNT(round) FROM table_name_18 WHERE method = "submission (punches)" |
What is Accolade, when Country is "United States", and when Year is "1999"? | CREATE TABLE table_name_8 (accolade VARCHAR, country VARCHAR, year VARCHAR) | SELECT accolade FROM table_name_8 WHERE country = "united states" AND year = 1999 |
What is Opposing Teams, when Against is less than 6? | CREATE TABLE table_name_86 (opposing_teams VARCHAR, against INTEGER) | SELECT opposing_teams FROM table_name_86 WHERE against < 6 |
What is the Ethernet port count of the whr-hp-g300n model? | CREATE TABLE table_name_72 (ethernet_port_count VARCHAR, model VARCHAR) | SELECT ethernet_port_count FROM table_name_72 WHERE model = "whr-hp-g300n" |
What title has rouben mamoulian directing after 1940 with linda darnell as the leading lady? | CREATE TABLE table_name_16 (title VARCHAR, leading_lady VARCHAR, director VARCHAR, year VARCHAR) | SELECT title FROM table_name_16 WHERE director = "rouben mamoulian" AND year > 1940 AND leading_lady = "linda darnell" |
What is the title with the production number greater than 1334 released on 1955-08-27? | CREATE TABLE table_name_65 (title VARCHAR, production_number VARCHAR, release_date VARCHAR) | SELECT title FROM table_name_65 WHERE production_number > 1334 AND release_date = "1955-08-27" |
What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps? | CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR) | SELECT MAX(grid) FROM table_name_99 WHERE constructor = "mclaren - mercedes" AND driver = "david coulthard" AND laps < 66 |
Find names of all colleges whose enrollment is greater than that of all colleges in the FL state. | CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR) | SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL') |
what is 1980 when 1979 is 951? | CREATE TABLE table_name_9 (Id VARCHAR) | SELECT 1980 FROM table_name_9 WHERE 1979 = "951" |
Name the position for the player that is from valparaiso | CREATE TABLE table_name_26 (position VARCHAR, school_club_team_country VARCHAR) | SELECT position FROM table_name_26 WHERE school_club_team_country = "valparaiso" |
Which position does John Starks play? | CREATE TABLE table_11545282_18 (position VARCHAR, player VARCHAR) | SELECT position FROM table_11545282_18 WHERE player = "John Starks" |
Name the away team for essendon | CREATE TABLE table_name_69 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_69 WHERE home_team = "essendon" |
Which team won when the visitor was Carolina? | CREATE TABLE table_name_56 (decision VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_56 WHERE visitor = "carolina" |
Which team has a class of 500cc and rank of 16th? | CREATE TABLE table_name_88 (team VARCHAR, class VARCHAR, rank VARCHAR) | SELECT team FROM table_name_88 WHERE class = "500cc" AND rank = "16th" |
which position did pierre bajoc play? | CREATE TABLE table_24565004_3 (position VARCHAR, name VARCHAR) | SELECT position FROM table_24565004_3 WHERE name = "Pierre Bajoc" |
What time was the game during week 5? | CREATE TABLE table_name_14 (time___et__ VARCHAR, week VARCHAR) | SELECT time___et__ FROM table_name_14 WHERE week = 5 |
Name the silver for baseball | CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR) | SELECT MIN(silver) FROM table_22360_3 WHERE discipline = "Baseball" |
What is the sum of gold medals won by teams that won 5 total medals and fewer than 2 bronze medals? | CREATE TABLE table_name_23 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_23 WHERE total = 5 AND bronze < 2 |
What was the Christ made king date with a great tribulation in 1925? | CREATE TABLE table_name_16 (christ_madeking VARCHAR, great_tribulation VARCHAR) | SELECT christ_madeking FROM table_name_16 WHERE great_tribulation = "1925" |
For the Reno Aces, what are the Losses when they had 1 Appearances and a Winning Percentage of 1? | CREATE TABLE table_name_54 (losses INTEGER, team VARCHAR, appearances VARCHAR, winning_percentage VARCHAR) | SELECT SUM(losses) FROM table_name_54 WHERE appearances = 1 AND winning_percentage = 1 AND team = "reno aces" |
Name the california where alaska tennessee | CREATE TABLE table_17425749_1 (california VARCHAR, alaska VARCHAR) | SELECT california FROM table_17425749_1 WHERE alaska = "Tennessee" |
What is the lowest number of laps with a grid larger than 24? | CREATE TABLE table_name_14 (laps INTEGER, grid INTEGER) | SELECT MIN(laps) FROM table_name_14 WHERE grid > 24 |
What is the Location of the Hietalahti Stadium? | CREATE TABLE table_name_46 (location VARCHAR, stadium VARCHAR) | SELECT location FROM table_name_46 WHERE stadium = "hietalahti stadium" |
What is the score for the Tie no. 12? | CREATE TABLE table_name_71 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_71 WHERE tie_no = "12" |
What was the tv time on december 6, 1998? | CREATE TABLE table_name_24 (tv_time VARCHAR, date VARCHAR) | SELECT tv_time FROM table_name_24 WHERE date = "december 6, 1998" |
What was the lattitude for the area with 4.243 square miles of water? | CREATE TABLE table_18600760_10 (latitude VARCHAR, water__sqmi_ VARCHAR) | SELECT latitude FROM table_18600760_10 WHERE water__sqmi_ = "4.243" |
What's the largest number of abandoned games by any of the teams? | CREATE TABLE table_25368177_1 (abandoned INTEGER) | SELECT MAX(abandoned) FROM table_25368177_1 |
What was the record after the game on November 10? | CREATE TABLE table_27755784_6 (record VARCHAR, date VARCHAR) | SELECT record FROM table_27755784_6 WHERE date = "November 10" |
Which Skip has a Third of sara carlsson? | CREATE TABLE table_name_39 (skip VARCHAR, third VARCHAR) | SELECT skip FROM table_name_39 WHERE third = "sara carlsson" |
What is the Proto-Oceanic verb for the verb to sew? | CREATE TABLE table_name_43 (proto_oceanic VARCHAR, verb VARCHAR) | SELECT proto_oceanic FROM table_name_43 WHERE verb = "to sew" |
Which week is the theme First Solo | CREATE TABLE table_21501518_1 (week__number VARCHAR, theme VARCHAR) | SELECT week__number FROM table_21501518_1 WHERE theme = "First Solo" |
Which years did Michigan state university come in third place? | CREATE TABLE table_2331549_1 (year VARCHAR, third_place VARCHAR) | SELECT year FROM table_2331549_1 WHERE third_place = "Michigan State University" |
Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8? | CREATE TABLE table_name_44 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR) | SELECT SUM(fa_cup) FROM table_name_44 WHERE malaysia_cup > 0 AND total = 8 |
What are the id and name of the stations that have ever had more than 12 bikes available? | CREATE TABLE station (id VARCHAR, name VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available INTEGER) | SELECT DISTINCT T1.id, T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12 |
What is the name of the river found in Madhya Pradesh, India? | CREATE TABLE table_name_31 (name_of_the_river VARCHAR, name_of_the_state_where_found_in_india VARCHAR) | SELECT name_of_the_river FROM table_name_31 WHERE name_of_the_state_where_found_in_india = "madhya pradesh" |
How many goals/matches have 153 as the goals with matches greater than 352? | CREATE TABLE table_name_27 (matches VARCHAR, goals INTEGER) | SELECT SUM(goals) / matches FROM table_name_27 WHERE goals = 153 AND matches > 352 |
What is Score, when Date is "May 11"? | CREATE TABLE table_name_97 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_97 WHERE date = "may 11" |
List the clubs having "Davis Steven" as a member. | CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR) | SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Davis" AND t3.lname = "Steven" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.