question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
How many times is there a golden tickets entry when the callback venue is rcti studio, jakarta? | CREATE TABLE table_28793672_1 (golden_tickets VARCHAR, callback_venue VARCHAR) | SELECT COUNT(golden_tickets) FROM table_28793672_1 WHERE callback_venue = "RCTI Studio, Jakarta" |
WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250? | CREATE TABLE table_name_57 (MIN VARCHAR, $10___1_10_oz VARCHAR) | SELECT MIN AS $25___1_4_oz FROM table_name_57 WHERE $10___1_10_oz = "70,250" |
How many current account balances are associated with GDP at constant prices growth rates of 4.6? | CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR) | SELECT COUNT(current_account_balance__percent_of_gdp_) FROM table_30133_1 WHERE gdp_at_constant_prices_growth_rate__percent_change_ = "4.6" |
Which record was for Warriors at home? | CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_67 WHERE home = "warriors" |
What President has a Presidency greater than 7? | CREATE TABLE table_name_6 (president VARCHAR, presidency INTEGER) | SELECT president FROM table_name_6 WHERE presidency > 7 |
Who used the Ford Cosworth DFV 3.0 v8 engine in rounds 3-12, with a G tire? | CREATE TABLE table_name_22 (driver VARCHAR, tyre VARCHAR, engine VARCHAR, rounds VARCHAR) | SELECT driver FROM table_name_22 WHERE engine = "ford cosworth dfv 3.0 v8" AND rounds = "3-12" AND tyre = "g" |
Which college's round is more than 4, when the overall is less than 237 and Ted Cottrell was the name? | CREATE TABLE table_name_90 (college VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR) | SELECT college FROM table_name_90 WHERE round > 4 AND overall < 237 AND name = "ted cottrell" |
What is Score, when Place is "T4", and when Player is "Scott Hoch"? | CREATE TABLE table_name_1 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_1 WHERE place = "t4" AND player = "scott hoch" |
When zachary sanders is the performer how many people is the music by? | CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR) | SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = "Zachary Sanders" |
How many distinct governors are there? | CREATE TABLE party (Governor VARCHAR) | SELECT COUNT(DISTINCT Governor) FROM party |
Which Team 1 faced Dynamos FC? | CREATE TABLE table_name_83 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_83 WHERE team_2 = "dynamos fc" |
What Title has a Termination of Mission of November 4, 1861? | CREATE TABLE table_name_60 (title VARCHAR, termination_of_mission VARCHAR) | SELECT title FROM table_name_60 WHERE termination_of_mission = "november 4, 1861" |
What is the total of Last title that has Wins smaller than 71 and a First title larger than 1968 and a Country of fiji? | CREATE TABLE table_name_79 (last_title VARCHAR, country VARCHAR, wins VARCHAR, first_title VARCHAR) | SELECT COUNT(last_title) FROM table_name_79 WHERE wins < 71 AND first_title > 1968 AND country = "fiji" |
What is the largest ration with an ordinary value of 84 zolotnik? | CREATE TABLE table_name_85 (ratio INTEGER, ordinary_value VARCHAR) | SELECT MAX(ratio) FROM table_name_85 WHERE ordinary_value = "84 zolotnik" |
What is the largest Grid with a Driver of piers courage? | CREATE TABLE table_name_31 (grid INTEGER, driver VARCHAR) | SELECT MAX(grid) FROM table_name_31 WHERE driver = "piers courage" |
How many gold medals for bellbrook HS with less than 1 silver? | CREATE TABLE table_name_73 (gold_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR) | SELECT COUNT(gold_medals) FROM table_name_73 WHERE ensemble = "bellbrook hs" AND silver_medals < 1 |
What Team has Bob Wollek as a Driver with 76 Laps in C1 Class? | CREATE TABLE table_name_63 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR) | SELECT team FROM table_name_63 WHERE class = "c1" AND laps = 76 AND driver = "bob wollek" |
What is the sum of votes for the green party? | CREATE TABLE table_name_38 (votes__gib_ INTEGER, party VARCHAR) | SELECT SUM(votes__gib_) FROM table_name_38 WHERE party = "green" |
How many losses have a draw greater than 0? | CREATE TABLE table_name_99 (lost INTEGER, draw INTEGER) | SELECT SUM(lost) FROM table_name_99 WHERE draw > 0 |
What is the total of David Toms? | CREATE TABLE table_name_20 (total INTEGER, player VARCHAR) | SELECT SUM(total) FROM table_name_20 WHERE player = "david toms" |
Which Nationality has a Round smaller than 3? | CREATE TABLE table_name_98 (nationality VARCHAR, round INTEGER) | SELECT nationality FROM table_name_98 WHERE round < 3 |
which country did participated in the most number of Tournament competitions? | CREATE TABLE competition (country VARCHAR, competition_type VARCHAR) | SELECT country FROM competition WHERE competition_type = 'Tournament' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1 |
what number is associated with the baltic fleet and leninets (ленинец)? | CREATE TABLE table_name_49 (number VARCHAR, fleet VARCHAR, name VARCHAR) | SELECT number FROM table_name_49 WHERE fleet = "baltic" AND name = "leninets (ленинец)" |
Name the team for pick more than 30 and position of c with round more than 4 | CREATE TABLE table_name_28 (team VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR) | SELECT team FROM table_name_28 WHERE pick > 30 AND position = "c" AND round > 4 |
What spacecraft was launched from the LC34 launch complex? | CREATE TABLE table_179174_2 (spacecraft VARCHAR, launch_complex VARCHAR) | SELECT spacecraft FROM table_179174_2 WHERE launch_complex = "LC34" |
What is the Years as tallest of the Building with a Height ft (m) of 145 (44)? | CREATE TABLE table_name_55 (years_as_tallest VARCHAR, height_ft__m_ VARCHAR) | SELECT years_as_tallest FROM table_name_55 WHERE height_ft__m_ = "145 (44)" |
What is the unit of the non-mammal from greenland? | CREATE TABLE table_name_95 (unit VARCHAR, location VARCHAR) | SELECT unit FROM table_name_95 WHERE location = "greenland" |
What is the days held the champion with a reign larger than 3 and 1 defense has? | CREATE TABLE table_name_48 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR) | SELECT days_held FROM table_name_48 WHERE reign > 3 AND defenses = 1 |
What was their record on Wed. Dec. 5, when they played in Boston Garden? | CREATE TABLE table_name_11 (record VARCHAR, location VARCHAR, date VARCHAR) | SELECT record FROM table_name_11 WHERE location = "boston garden" AND date = "wed. dec. 5" |
What's the tries for count for the team with 70 points? | CREATE TABLE table_14070062_3 (tries_for VARCHAR, points VARCHAR) | SELECT tries_for FROM table_14070062_3 WHERE points = "70" |
What is the highest pts after 1952 with connaught type a? | CREATE TABLE table_name_79 (pts INTEGER, year VARCHAR, chassis VARCHAR) | SELECT MAX(pts) FROM table_name_79 WHERE year > 1952 AND chassis = "connaught type a" |
What is the average crowd at victoria park? | CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_1 WHERE venue = "victoria park" |
how many times is the total points 128.0? | CREATE TABLE table_29583818_3 (couple VARCHAR, total_points VARCHAR) | SELECT COUNT(couple) FROM table_29583818_3 WHERE total_points = "128.0" |
Which Score has an Opponent of @ rockies, and a Record of 33-35? | CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT score FROM table_name_75 WHERE opponent = "@ rockies" AND record = "33-35" |
Which surface had a date after 1982 and partner of Guy Forget? | CREATE TABLE table_name_28 (surface VARCHAR, date VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_28 WHERE date > 1982 AND partner = "guy forget" |
For entries with a lost of 5, what is the sum of the draw entry? | CREATE TABLE table_name_23 (draw INTEGER, lost VARCHAR) | SELECT SUM(draw) FROM table_name_23 WHERE lost = 5 |
Name the country for airline of gol | CREATE TABLE table_name_33 (country VARCHAR, airline VARCHAR) | SELECT country FROM table_name_33 WHERE airline = "gol" |
Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill? | CREATE TABLE table_name_78 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_78 WHERE grid > 1 AND driver = "damon hill" |
Which team had a 2008-3 2008 draft? | CREATE TABLE table_name_1 (school_club_team VARCHAR, draft VARCHAR) | SELECT school_club_team FROM table_name_1 WHERE draft = "2008-3 2008" |
Show member names that are not in the Progress Party. | CREATE TABLE party (party_id VARCHAR, Party_name VARCHAR); CREATE TABLE Member (member_name VARCHAR, party_id VARCHAR) | SELECT T1.member_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id WHERE T2.Party_name <> "Progress Party" |
Show the id and name of the aircraft with the maximum distance. | CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR, distance VARCHAR) | SELECT aid, name FROM Aircraft ORDER BY distance DESC LIMIT 1 |
WHere is the friends' school? | CREATE TABLE table_name_65 (location VARCHAR, school VARCHAR) | SELECT location FROM table_name_65 WHERE school = "the friends' school" |
What is the range (varies by payload weight) for Shahab-4? | CREATE TABLE table_name_71 (range__varies_with_payload_weight_ VARCHAR, name_designation VARCHAR) | SELECT range__varies_with_payload_weight_ FROM table_name_71 WHERE name_designation = "shahab-4" |
Who had the highest rebounds against detroit? | CREATE TABLE table_name_65 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_65 WHERE team = "detroit" |
What is the average total of kenwyne jones, who has more than 10 premier leagues? | CREATE TABLE table_name_43 (total INTEGER, name VARCHAR, premier_league VARCHAR) | SELECT AVG(total) FROM table_name_43 WHERE name = "kenwyne jones" AND premier_league > 10 |
which Points has Games smaller than 7? | CREATE TABLE table_name_32 (points INTEGER, games INTEGER) | SELECT MAX(points) FROM table_name_32 WHERE games < 7 |
What national has 4.45 for o and 4.55 for xo? | CREATE TABLE table_name_13 (nationality VARCHAR) | SELECT nationality FROM table_name_13 WHERE 445 = "o" AND 455 = "xo" |
What is the average horizontal bar points for all gymnasts? | CREATE TABLE gymnast (Horizontal_Bar_Points INTEGER) | SELECT AVG(Horizontal_Bar_Points) FROM gymnast |
Where did Footscray play as the home team? | CREATE TABLE table_name_41 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_41 WHERE home_team = "footscray" |
what is the earliest founded when the home city is mayagüez? | CREATE TABLE table_name_51 (founded INTEGER, home_city VARCHAR) | SELECT MIN(founded) FROM table_name_51 WHERE home_city = "mayagüez" |
Name the week for kingdome | CREATE TABLE table_14520977_1 (week VARCHAR, location VARCHAR) | SELECT week FROM table_14520977_1 WHERE location = "Kingdome" |
What's the wheelbase (in mm/inch) of the model with model designation 97G00? | CREATE TABLE table_20866024_3 (wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR) | SELECT wheelbase__mm_inch_ FROM table_20866024_3 WHERE model_designation = "97G00" |
What is the Valvetrain of the Diesel Engines Model? | CREATE TABLE table_name_12 (valvetrain VARCHAR, model VARCHAR) | SELECT valvetrain FROM table_name_12 WHERE model = "diesel engines" |
What's the average Year that has Points that's smaller than 9 with a Rank of 24th? | CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR) | SELECT AVG(year) FROM table_name_71 WHERE points < 9 AND rank = "24th" |
When Spencer is the county what is the in no.? | CREATE TABLE table_14253123_1 (in_no VARCHAR, county_name VARCHAR) | SELECT in_no FROM table_14253123_1 WHERE county_name = "Spencer" |
What was the finish place with a qual of 123.660? | CREATE TABLE table_name_26 (finish VARCHAR, qual VARCHAR) | SELECT finish FROM table_name_26 WHERE qual = "123.660" |
Which First public release has a Name of rational software modeler? | CREATE TABLE table_name_25 (first_public_release VARCHAR, name VARCHAR) | SELECT first_public_release FROM table_name_25 WHERE name = "rational software modeler" |
Which Baltimore group is of the togaviridae family? | CREATE TABLE table_name_27 (baltimore_group VARCHAR, family VARCHAR) | SELECT baltimore_group FROM table_name_27 WHERE family = "togaviridae" |
How many totals have a rank greater than 4, czech Republic as the nation, and a bronze greater than 0? | CREATE TABLE table_name_6 (total INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT SUM(total) FROM table_name_6 WHERE rank > 4 AND nation = "czech republic" AND bronze > 0 |
Name the date of vacancy for daniel uberti | CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_vacancy FROM table_18522916_5 WHERE outgoing_manager = "Daniel Uberti" |
54 is the game where location attendance are. | CREATE TABLE table_17080868_8 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_17080868_8 WHERE game = 54 |
On what date was Wimbledon the home team? | CREATE TABLE table_name_81 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_81 WHERE home_team = "wimbledon" |
What is the lowest drawn that has a played greater than 19, with a position less than 2? | CREATE TABLE table_name_52 (drawn INTEGER, played VARCHAR, position VARCHAR) | SELECT MIN(drawn) FROM table_name_52 WHERE played > 19 AND position < 2 |
what is the lowest viewers (m) when the share is more than 13? | CREATE TABLE table_name_69 (viewers__m_ INTEGER, share INTEGER) | SELECT MIN(viewers__m_) FROM table_name_69 WHERE share > 13 |
What was the resolution of the fight against kiuma kunioku with a time of 15:00? | CREATE TABLE table_name_79 (res VARCHAR, time VARCHAR, opponent VARCHAR) | SELECT res FROM table_name_79 WHERE time = "15:00" AND opponent = "kiuma kunioku" |
What is the average pick of school/club team kutztown state with a round 4? | CREATE TABLE table_name_3 (pick INTEGER, round VARCHAR, school_club_team VARCHAR) | SELECT AVG(pick) FROM table_name_3 WHERE round = 4 AND school_club_team = "kutztown state" |
What is the average number of top-10s for events with more than 12 cuts made and 0 wins? | CREATE TABLE table_name_56 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR) | SELECT AVG(top_10) FROM table_name_56 WHERE cuts_made > 12 AND wins < 0 |
Who is the athlete from greece? | CREATE TABLE table_name_13 (athlete VARCHAR, country VARCHAR) | SELECT athlete FROM table_name_13 WHERE country = "greece" |
What shows for 2010 Employees (Total) when the employer is University of Alberta? | CREATE TABLE table_name_1 (employer VARCHAR) | SELECT SUM(2010 AS _employees__total_) FROM table_name_1 WHERE employer = "university of alberta" |
What was the result for the incumbent Milton H. West? | CREATE TABLE table_1342218_43 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342218_43 WHERE incumbent = "Milton H. West" |
How many directors are there for the episode that had 1.59 million U.S. viewers? | CREATE TABLE table_22347090_6 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(directed_by) FROM table_22347090_6 WHERE us_viewers__million_ = "1.59" |
What Tries against has a Losing bonus of 7? | CREATE TABLE table_name_43 (tries_against VARCHAR, losing_bonus VARCHAR) | SELECT tries_against FROM table_name_43 WHERE losing_bonus = "7" |
Which actor from Serbia was nominated for best actor in a supporting role? | CREATE TABLE table_10236830_4 (actors_name VARCHAR, nomination VARCHAR, country VARCHAR) | SELECT actors_name FROM table_10236830_4 WHERE nomination = "Best Actor in a Supporting Role" AND country = "Serbia" |
List email address and birthday of customer whose first name as Carole. | CREATE TABLE Customers (email_address VARCHAR, date_of_birth VARCHAR, first_name VARCHAR) | SELECT email_address, date_of_birth FROM Customers WHERE first_name = "Carole" |
Which F/Laps have 27 Points? | CREATE TABLE table_name_77 (f_laps VARCHAR, points VARCHAR) | SELECT f_laps FROM table_name_77 WHERE points = "27" |
What were the casualties in the Baghlan location? | CREATE TABLE table_name_64 (casualties VARCHAR, location VARCHAR) | SELECT casualties FROM table_name_64 WHERE location = "baghlan" |
What is the highest decile value with a roll greater than 301 in Hauraki? | CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, area VARCHAR) | SELECT MAX(decile) FROM table_name_46 WHERE roll > 301 AND area = "hauraki" |
who is the incumbent with candidates being tom ridge (r) 80.9% joylyn blackwell (d) 19.1% | CREATE TABLE table_1341586_39 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_1341586_39 WHERE candidates = "Tom Ridge (R) 80.9% Joylyn Blackwell (D) 19.1%" |
Who is the arranger for "I KIssed a Girl"? | CREATE TABLE table_28715942_6 (arranger_s_ VARCHAR, track VARCHAR) | SELECT arranger_s_ FROM table_28715942_6 WHERE track = "I Kissed a Girl" |
What is the position of the player from New York City, NY? | CREATE TABLE table_name_56 (position VARCHAR, home_town VARCHAR) | SELECT position FROM table_name_56 WHERE home_town = "new york city, ny" |
What designation has a launch weight of 11.3kg? | CREATE TABLE table_name_37 (designation VARCHAR, launch_weight VARCHAR) | SELECT designation FROM table_name_37 WHERE launch_weight = "11.3kg" |
Name the ERP W for glens falls, new york | CREATE TABLE table_name_56 (erp_w VARCHAR, city_of_license VARCHAR) | SELECT erp_w FROM table_name_56 WHERE city_of_license = "glens falls, new york" |
Tell me the power when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750 | CREATE TABLE table_name_37 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) | SELECT power_rpm FROM table_name_37 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750" |
When the team is lake superior state how many times did they place fourth? | CREATE TABLE table_1571238_2 (fourth_place INTEGER, team VARCHAR) | SELECT MIN(fourth_place) FROM table_1571238_2 WHERE team = "Lake Superior State" |
What are the notes during 57 bc caesar? | CREATE TABLE table_242785_3 (notes VARCHAR, date_founded__founder VARCHAR) | SELECT notes FROM table_242785_3 WHERE date_founded__founder = "57 BC Caesar" |
How many fast laps have 0 points in the World Series by Nissan? | CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR) | SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan" |
List all company names with a book published by Alyson. | CREATE TABLE culture_company (company_name VARCHAR, book_club_id VARCHAR); CREATE TABLE book_club (book_club_id VARCHAR, publisher VARCHAR) | SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id = T2.book_club_id WHERE T2.publisher = 'Alyson' |
Where is Hip 4872? | CREATE TABLE table_name_38 (constellation VARCHAR, designation VARCHAR) | SELECT constellation FROM table_name_38 WHERE designation = "hip 4872" |
Who's in the high assists with a w 97–94 (ot) score? | CREATE TABLE table_27721131_2 (high_assists VARCHAR, score VARCHAR) | SELECT high_assists FROM table_27721131_2 WHERE score = "W 97–94 (OT)" |
What is the lowest attendance with week 14? | CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR) | SELECT MIN(attendance) FROM table_name_30 WHERE week = 14 |
What is the Music if the Dance is Jive? | CREATE TABLE table_name_75 (music VARCHAR, dance VARCHAR) | SELECT music FROM table_name_75 WHERE dance = "jive" |
How many races take place in Dessau circuit? | CREATE TABLE table_1140116_6 (race_name VARCHAR, circuit VARCHAR) | SELECT COUNT(race_name) FROM table_1140116_6 WHERE circuit = "Dessau" |
What Type of museum is the Valdez museum? | CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR) | SELECT type FROM table_name_73 WHERE name = "valdez museum" |
Tell me the home team score for essendon | CREATE TABLE table_name_54 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_54 WHERE home_team = "essendon" |
How many goals were conceded by the team with more than 21 points more than 5 draws and less than 18 games played? | CREATE TABLE table_name_81 (goals_conceded INTEGER, played VARCHAR, draw VARCHAR, points VARCHAR) | SELECT SUM(goals_conceded) FROM table_name_81 WHERE draw > 5 AND points > 21 AND played < 18 |
what was the venue where the date was the 22nd? | CREATE TABLE table_17120964_9 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_17120964_9 WHERE date = "22nd" |
what is the minimum production code | CREATE TABLE table_12294557_3 (production_code INTEGER) | SELECT MIN(production_code) FROM table_12294557_3 |
Name the 2004 results for npa | CREATE TABLE table_name_18 (results_2004 VARCHAR, party VARCHAR) | SELECT results_2004 FROM table_name_18 WHERE party = "npa" |
Who had the high points when they played in Philips Arena 14,413? | CREATE TABLE table_name_48 (high_points VARCHAR, location_attendance VARCHAR) | SELECT high_points FROM table_name_48 WHERE location_attendance = "philips arena 14,413" |
What is the try bonus when there are 492 points? | CREATE TABLE table_name_90 (try_bonus VARCHAR, points_against VARCHAR) | SELECT try_bonus FROM table_name_90 WHERE points_against = "492" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.