question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the total number of years that has a chassis of Ferrari 625 and 2 points? | CREATE TABLE table_name_24 (year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT COUNT(year) FROM table_name_24 WHERE chassis = "ferrari 625" AND points = "2" |
What class has a capacity smaller than 3384 for Ferguson? | CREATE TABLE table_name_40 (class VARCHAR, capacity VARCHAR, navigator VARCHAR) | SELECT class FROM table_name_40 WHERE capacity < 3384 AND navigator = "ferguson" |
What player is 24 years old? | CREATE TABLE table_22810095_9 (name VARCHAR, age VARCHAR) | SELECT name FROM table_22810095_9 WHERE age = 24 |
Who is the 1st member in the 1884 by-election? | CREATE TABLE table_name_7 (election VARCHAR) | SELECT 1 AS st_member FROM table_name_7 WHERE election = "1884 by-election" |
Name the points with chassis of march 751 | CREATE TABLE table_name_21 (points VARCHAR, chassis VARCHAR) | SELECT points FROM table_name_21 WHERE chassis = "march 751" |
What is the 2007 that has a grand slam tournaments in 2006. | CREATE TABLE table_name_32 (Id VARCHAR) | SELECT 2007 FROM table_name_32 WHERE 2006 = "grand slam tournaments" |
Who faced off against St Kilda at their home? | CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_43 WHERE home_team = "st kilda" |
What`s the score in October 7. | CREATE TABLE table_27734286_1 (score VARCHAR, date VARCHAR) | SELECT score FROM table_27734286_1 WHERE date = "October 7" |
Who is The Author of zhou clarke zhang? | CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR) | SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang" |
What is the name of the Covered Song when the Album shows cover version iii? | CREATE TABLE table_name_7 (covered_song VARCHAR, album VARCHAR) | SELECT covered_song FROM table_name_7 WHERE album = "cover version iii" |
What is the most number of blocks kendall gill had? | CREATE TABLE table_22824324_2 (blocks INTEGER, player VARCHAR) | SELECT MAX(blocks) FROM table_22824324_2 WHERE player = "Kendall Gill" |
Which event resulted in loss with an Opponent of maurice smith? | CREATE TABLE table_name_52 (event VARCHAR, res VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_52 WHERE res = "loss" AND opponent = "maurice smith" |
Who was the home team at MCG? | CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_40 WHERE venue = "mcg" |
Who was the home team in the game with more than 1675, and Olimpia was the away side? | CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR) | SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia" |
What is the traditional way to write the name of the district who's area is 2331? | CREATE TABLE table_1300525_1 (traditional VARCHAR, area VARCHAR) | SELECT traditional FROM table_1300525_1 WHERE area = 2331 |
In what Week was the Locking Dance? | CREATE TABLE table_name_16 (week INTEGER, dance VARCHAR) | SELECT MAX(week) FROM table_name_16 WHERE dance = "locking" |
What is the played number when the points against is 179? | CREATE TABLE table_name_78 (played VARCHAR, points_against VARCHAR) | SELECT played FROM table_name_78 WHERE points_against = "179" |
What is Socket, when Part Number(s) is au80610003495aa? | CREATE TABLE table_name_69 (socket VARCHAR, part_number_s_ VARCHAR) | SELECT socket FROM table_name_69 WHERE part_number_s_ = "au80610003495aa" |
What is the description of the measure that got 78.27% yes votes? | CREATE TABLE table_256286_55 (description VARCHAR, _percentage_yes VARCHAR) | SELECT description FROM table_256286_55 WHERE _percentage_yes = "78.27%" |
what was the score for the game on 14 april 2001? | CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_67 WHERE date = "14 april 2001" |
What was launched and laid down in February 1819? | CREATE TABLE table_name_14 (launched VARCHAR, laid_down VARCHAR) | SELECT launched FROM table_name_14 WHERE laid_down = "february 1819" |
What was the combined weight in kilograms of the horses in the race at Chelmsford stakes? | CREATE TABLE table_name_42 (weight__kg_ VARCHAR, race VARCHAR) | SELECT COUNT(weight__kg_) FROM table_name_42 WHERE race = "chelmsford stakes" |
Name the first elected for texas 6 district | CREATE TABLE table_1341423_43 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341423_43 WHERE district = "Texas 6" |
How many semi-final weeks are there for acts from Pittsburgh, Pennsylvania? | CREATE TABLE table_27529608_21 (semi_final__week_ VARCHAR, hometown VARCHAR) | SELECT COUNT(semi_final__week_) FROM table_27529608_21 WHERE hometown = "Pittsburgh, Pennsylvania" |
Name the last title for greater buenos aires and first season of 1920 | CREATE TABLE table_name_9 (last_title VARCHAR, area_province VARCHAR, first_season VARCHAR) | SELECT last_title FROM table_name_9 WHERE area_province = "greater buenos aires" AND first_season = "1920" |
Which state has a Reason for termination of retirement, and an Active service of 1926–1928? | CREATE TABLE table_name_34 (state VARCHAR, reason_for_termination VARCHAR, active_service VARCHAR) | SELECT state FROM table_name_34 WHERE reason_for_termination = "retirement" AND active_service = "1926–1928" |
Which Equestrian Time (pts) has an Athlete of omnia fakhry ( egy )? | CREATE TABLE table_name_3 (equestrian_time__pts_ VARCHAR, athlete VARCHAR) | SELECT equestrian_time__pts_ FROM table_name_3 WHERE athlete = "omnia fakhry ( egy )" |
Which Score has a Visitor of montreal canadiens, and Points of 5? | CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR, points VARCHAR) | SELECT score FROM table_name_93 WHERE visitor = "montreal canadiens" AND points = 5 |
What was the attendance when St Kilda played as the away team? | CREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_79 WHERE away_team = "st kilda" |
for the name of jamar jackson what is the class? | CREATE TABLE table_name_87 (class VARCHAR, name VARCHAR) | SELECT class FROM table_name_87 WHERE name = "jamar jackson" |
What is the smallest amount of silver? | CREATE TABLE table_22355_29 (silver INTEGER) | SELECT MIN(silver) FROM table_22355_29 |
How many episodes were directed by Tim Matheson? | CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Tim Matheson" |
Which position does Robert Nkemdiche play? | CREATE TABLE table_name_20 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_20 WHERE player = "robert nkemdiche" |
What player from the United States played for the Grizzlies from 1997-1998? | CREATE TABLE table_name_83 (player VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR) | SELECT player FROM table_name_83 WHERE nationality = "united states" AND years_for_grizzlies = "1997-1998" |
which affiliation is james h. morrison part of | CREATE TABLE table_1341930_18 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341930_18 WHERE incumbent = "James H. Morrison" |
What opponents have a record of 90-70? | CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_34 WHERE record = "90-70" |
What is the Team when antonio davis (8) had the high rebounds? | CREATE TABLE table_name_53 (team VARCHAR, high_rebounds VARCHAR) | SELECT team FROM table_name_53 WHERE high_rebounds = "antonio davis (8)" |
What is the number of directors for the film title Eldra? | CREATE TABLE table_26385848_1 (director VARCHAR, film_title VARCHAR) | SELECT COUNT(director) FROM table_26385848_1 WHERE film_title = "Eldra" |
Show the company name and the main industry for all companies whose headquarters are not from USA. | CREATE TABLE company (company VARCHAR, main_industry VARCHAR, headquarters VARCHAR) | SELECT company, main_industry FROM company WHERE headquarters <> 'USA' |
What is Ivaiporã, pr's biggest population? | CREATE TABLE table_name_13 (population INTEGER, town_city VARCHAR) | SELECT MAX(population) FROM table_name_13 WHERE town_city = "ivaiporã, pr" |
What is the total point count of the youngest gymnast? | CREATE TABLE people (People_ID VARCHAR, Age VARCHAR); CREATE TABLE gymnast (Total_Points VARCHAR, Gymnast_ID VARCHAR) | SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age LIMIT 1 |
What is the lowest facility ID that's in Beckley? | CREATE TABLE table_name_24 (facility_id INTEGER, city_of_license VARCHAR) | SELECT MIN(facility_id) FROM table_name_24 WHERE city_of_license = "beckley" |
What is the 2010 total for ghana? | CREATE TABLE table_name_64 (country VARCHAR) | SELECT COUNT(2010) FROM table_name_64 WHERE country = "ghana" |
what is the properties of sodium when potassium is lii (1.5)? | CREATE TABLE table_name_66 (sodium VARCHAR, potassium VARCHAR) | SELECT sodium FROM table_name_66 WHERE potassium = "lii (1.5)" |
How many yards per attempt were there when total yards were 513? | CREATE TABLE table_19517448_3 (yards_per_attempt VARCHAR, total_yards VARCHAR) | SELECT yards_per_attempt FROM table_19517448_3 WHERE total_yards = "513" |
What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16? | CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, growth_rate_1991_01 VARCHAR) | SELECT male_population_2001 FROM table_19589113_5 WHERE growth_rate_1991_01 = "36.16" |
What is the socket with an order part number of amm300dbo22gq and a September 10, 2009 release date? | CREATE TABLE table_name_34 (socket VARCHAR, release_date VARCHAR, order_part_number VARCHAR) | SELECT socket FROM table_name_34 WHERE release_date = "september 10, 2009" AND order_part_number = "amm300dbo22gq" |
In which Parish (Prestegjeld) is the church called Stavang Kyrkje? | CREATE TABLE table_name_80 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) | SELECT parish__prestegjeld_ FROM table_name_80 WHERE church_name = "stavang kyrkje" |
Find the number of rooms with more than 50 capacity for each building. | CREATE TABLE classroom (building VARCHAR, capacity INTEGER) | SELECT COUNT(*), building FROM classroom WHERE capacity > 50 GROUP BY building |
What is the total mumber of skip (club) entries when the pf is 40? | CREATE TABLE table_29546218_3 (skip__club_ VARCHAR, pf VARCHAR) | SELECT COUNT(skip__club_) FROM table_29546218_3 WHERE pf = 40 |
What classifications does Fish Rap live! has? | CREATE TABLE table_2266990_2 (classification VARCHAR, title VARCHAR) | SELECT classification FROM table_2266990_2 WHERE title = "Fish Rap Live!" |
What was the minimum points against if the opponent is Port Adelaide? | CREATE TABLE table_25229283_4 (points_against INTEGER, opponent VARCHAR) | SELECT MIN(points_against) FROM table_25229283_4 WHERE opponent = "Port Adelaide" |
Which overall pick number went to college at Youngstown State? | CREATE TABLE table_10360823_1 (overall INTEGER, college VARCHAR) | SELECT MIN(overall) FROM table_10360823_1 WHERE college = "Youngstown State" |
What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up? | CREATE TABLE table_name_68 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_68 WHERE outcome = "runner-up" AND opponent = "tim gullikson" |
What's the pick for Georgia tech? | CREATE TABLE table_name_94 (pick VARCHAR, college VARCHAR) | SELECT pick FROM table_name_94 WHERE college = "georgia tech" |
How many points did he have when he has in the 34th position? | CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR) | SELECT points FROM table_24998088_1 WHERE position = "34th" |
What 2001 has a ATP World Tour Masters 1000 2007? | CREATE TABLE table_name_12 (Id VARCHAR) | SELECT 2011 FROM table_name_12 WHERE 2007 = "atp world tour masters 1000" |
Which Location has a Home Ground of Mong kok stadium? | CREATE TABLE table_name_14 (location VARCHAR, home_ground VARCHAR) | SELECT location FROM table_name_14 WHERE home_ground = "mong kok stadium" |
What date is associated with the Loss of Farrell (6-13)? | CREATE TABLE table_name_20 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_20 WHERE loss = "farrell (6-13)" |
What is the name of the away captain when the game was at Adelaide Oval? | CREATE TABLE table_name_5 (away_captain VARCHAR, venue VARCHAR) | SELECT away_captain FROM table_name_5 WHERE venue = "adelaide oval" |
Which division has an average home attendance of 2.459? | CREATE TABLE table_1816947_2 (division___section VARCHAR, average_attendance_home VARCHAR) | SELECT division___section FROM table_1816947_2 WHERE average_attendance_home = "2.459" |
Which match was played on April 2, 2006? | CREATE TABLE table_name_78 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_78 WHERE date = "april 2, 2006" |
What was the dominant religion (2002) of the Mala Remeta settlement? | CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_50 WHERE settlement = "Mala Remeta" |
What was the score on May 3? | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_35 WHERE date = "may 3" |
Name the gold for silver of 39 | CREATE TABLE table_name_56 (gold VARCHAR, silver VARCHAR) | SELECT gold FROM table_name_56 WHERE silver = 39 |
What are the lowest losses with more than 13 scored, and more than 7 draws? | CREATE TABLE table_name_38 (losses INTEGER, scored VARCHAR, draws VARCHAR) | SELECT MIN(losses) FROM table_name_38 WHERE scored > 13 AND draws > 7 |
Which incumbent was first elected in 1987? | CREATE TABLE table_name_84 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_name_84 WHERE first_elected = 1987 |
Who is Team A when wilma hofschneider-david is team C? | CREATE TABLE table_name_35 (team_a VARCHAR, team_c VARCHAR) | SELECT team_a FROM table_name_35 WHERE team_c = "wilma hofschneider-david" |
How many FA cup goals have Jimmy Nicholson as the name, and league cup goals greater than 0? | CREATE TABLE table_name_41 (fa_cup_goals VARCHAR, name VARCHAR, league_cup_goals VARCHAR) | SELECT COUNT(fa_cup_goals) FROM table_name_41 WHERE name = "jimmy nicholson" AND league_cup_goals > 0 |
What was the Attendance when Lincoln City was the Opponents with H/A of A? | CREATE TABLE table_name_20 (attendance VARCHAR, opponents VARCHAR, h___a VARCHAR) | SELECT COUNT(attendance) FROM table_name_20 WHERE opponents = "lincoln city" AND h___a = "a" |
What occurence has 0.925 listed as the matrix sim? | CREATE TABLE table_26708105_2 (occurrence INTEGER, matrix_sim VARCHAR) | SELECT MAX(occurrence) FROM table_26708105_2 WHERE matrix_sim = "0.925" |
Which Bore has a Name of 9 adr? | CREATE TABLE table_name_94 (bore VARCHAR, name VARCHAR) | SELECT bore FROM table_name_94 WHERE name = "9 adr" |
What is Release Date, when Title is Aladdin Time? | CREATE TABLE table_name_31 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_31 WHERE title = "aladdin time" |
What is every Gregorian month when the season in Tamil is இளவேனில்? | CREATE TABLE table_1740431_3 (gregorian_months VARCHAR, season_in_tamil VARCHAR) | SELECT gregorian_months FROM table_1740431_3 WHERE season_in_tamil = "இளவேனில்" |
What's the earliest year the new york giants lost at new meadowlands stadium? | CREATE TABLE table_name_31 (year INTEGER, loser VARCHAR, location VARCHAR) | SELECT MIN(year) FROM table_name_31 WHERE loser = "new york giants" AND location = "new meadowlands stadium" |
What competition had a score of 3-0, and a result of 4-1? | CREATE TABLE table_name_8 (competition VARCHAR, score VARCHAR, result VARCHAR) | SELECT competition FROM table_name_8 WHERE score = "3-0" AND result = "4-1" |
What is the greatest Time with a Year of 1991, and Event of 4x100 m relay? | CREATE TABLE table_name_89 (time INTEGER, year VARCHAR, event VARCHAR) | SELECT MAX(time) FROM table_name_89 WHERE year = 1991 AND event = "4x100 m relay" |
Who is the Winner for the City of Loutraki? | CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR) | SELECT winner FROM table_name_65 WHERE city = "loutraki" |
What was the record on October 17? | CREATE TABLE table_23308178_4 (record VARCHAR, date VARCHAR) | SELECT record FROM table_23308178_4 WHERE date = "October 17" |
What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? | CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) | SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-7" |
Tell me the finalists for week # less than 2 | CREATE TABLE table_name_40 (finalists VARCHAR, week__number INTEGER) | SELECT finalists FROM table_name_40 WHERE week__number < 2 |
What is the highest Bodyweight associated with a Clean & jerk larger than 120, and a Total (kg) of 245? | CREATE TABLE table_name_37 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR) | SELECT MAX(bodyweight) FROM table_name_37 WHERE clean_ & _jerk > 120 AND total__kg_ = 245 |
What is the agg when team 2 was Cementarnica? | CREATE TABLE table_name_94 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_94 WHERE team_2 = "cementarnica" |
Which area 2006 km² has an area 1996 km² smaller than 17.31? | CREATE TABLE table_name_38 (area_2006_km² INTEGER, area_1996_km² INTEGER) | SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.31 |
What is the year when the performance is 60.73m and the age (years) is more than 45? | CREATE TABLE table_name_85 (year VARCHAR, performance VARCHAR, age__years_ VARCHAR) | SELECT COUNT(year) FROM table_name_85 WHERE performance = "60.73m" AND age__years_ > 45 |
Which sequence identity to human protein has a divergence from human lineage (MYA) larger than 8.8, and a sequence length (aa) larger than 1587, and a protein name of soga2? | CREATE TABLE table_name_51 (sequence_identity_to_human_protein VARCHAR, protein_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR, sequence_length__aa_ VARCHAR) | SELECT sequence_identity_to_human_protein FROM table_name_51 WHERE divergence_from_human_lineage__mya_ > 8.8 AND sequence_length__aa_ > 1587 AND protein_name = "soga2" |
Who was the visitor when phoenix was at home? | CREATE TABLE table_name_35 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_35 WHERE home = "phoenix" |
How many wins were held before being defeated by toda? | CREATE TABLE table_name_97 (wins VARCHAR, defeated_by VARCHAR) | SELECT COUNT(wins) FROM table_name_97 WHERE defeated_by = "toda" |
On what date was the Catalog FT 507? | CREATE TABLE table_name_93 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_93 WHERE catalog = "ft 507" |
How large was the crowd at Carlton's home game? | CREATE TABLE table_name_10 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_10 WHERE home_team = "carlton" |
What is the total number drawn with goals against less than 55, and a total of 14 losses? | CREATE TABLE table_name_75 (drawn VARCHAR, goals_against VARCHAR, lost VARCHAR) | SELECT COUNT(drawn) FROM table_name_75 WHERE goals_against < 55 AND lost = 14 |
What is the Byzantine Commander with a Bulgarian Victory at the Siege of Lovech? | CREATE TABLE table_name_44 (byzantine_commander VARCHAR, result VARCHAR, battle VARCHAR) | SELECT byzantine_commander FROM table_name_44 WHERE result = "bulgarian victory" AND battle = "siege of lovech" |
What is the lowest numbered episode in the series? | CREATE TABLE table_27969432_3 (no_in_series INTEGER) | SELECT MIN(no_in_series) FROM table_27969432_3 |
Tell me the city of license with frequency of Mhz of 90.3 fm | CREATE TABLE table_name_26 (city_of_license VARCHAR, frequency_mhz VARCHAR) | SELECT city_of_license FROM table_name_26 WHERE frequency_mhz = "90.3 fm" |
What is the Official ITV1 rating for auditions 4? | CREATE TABLE table_name_96 (official_itv1_rating VARCHAR, episode VARCHAR) | SELECT official_itv1_rating FROM table_name_96 WHERE episode = "auditions 4" |
Which Season has a Postseason of promoted runner-up? | CREATE TABLE table_name_33 (season VARCHAR, postseason VARCHAR) | SELECT season FROM table_name_33 WHERE postseason = "promoted runner-up" |
What is the country of player stuart appleby, who has a t1 place? | CREATE TABLE table_name_61 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_61 WHERE place = "t1" AND player = "stuart appleby" |
What was the score in the game where the Blazers were the home team? | CREATE TABLE table_name_95 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_95 WHERE home = "blazers" |
Which H/A/N has a score of 105*♠? | CREATE TABLE table_name_13 (h_a_n VARCHAR, score VARCHAR) | SELECT h_a_n FROM table_name_13 WHERE score = "105*♠" |
What did the home team score when the away team was South Melbourne? | CREATE TABLE table_name_31 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_31 WHERE away_team = "south melbourne" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.