answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT meaning FROM table_29997112_3 WHERE transliteration = "dvojka" | What are the meanings of the flag whose name transliterates to dvojka? | CREATE TABLE table_29997112_3 (meaning VARCHAR, transliteration VARCHAR) |
SELECT census_division FROM table_21284653_1 WHERE name = "Kenora" | What is the census division for the city named Kenora? | CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR) |
SELECT COUNT(college) FROM table_25085059_3 WHERE position = "LB" | How many colleges provided players with positions LB? | CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR) |
SELECT date FROM table_name_78 WHERE venue = "taunton" AND name = "sc ganguly" | What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"? | CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR) |
SELECT to_par FROM table_name_55 WHERE score = 72 - 71 - 65 - 69 = 277 | What is the to par of the player with a 72-71-65-69=277 score? | CREATE TABLE table_name_55 (to_par VARCHAR, score VARCHAR) |
SELECT format FROM table_name_24 WHERE catalog = "mhcp-66" | What is the format for the MHCP-66 Catalog? | CREATE TABLE table_name_24 (format VARCHAR, catalog VARCHAR) |
SELECT member_senator FROM table_11948857_1 WHERE district = 24 | Who is the senator for district 24? | CREATE TABLE table_11948857_1 (member_senator VARCHAR, district VARCHAR) |
SELECT COUNT(position) FROM table_name_61 WHERE goals_against > 48 AND points_1 = "29" AND played < 34 | What is the total number of positions when there are more than 48 goals against, 1 of 29 points are played, and less than 34 games have been played? | CREATE TABLE table_name_61 (position VARCHAR, played VARCHAR, goals_against VARCHAR, points_1 VARCHAR) |
SELECT player FROM table_name_66 WHERE year = 2000 | What player played in 2000? | CREATE TABLE table_name_66 (player VARCHAR, year VARCHAR) |
SELECT away_team AS score FROM table_name_62 WHERE away_team = "geelong" | What was Geelong's score when they were the away team? | CREATE TABLE table_name_62 (away_team VARCHAR) |
SELECT MIN(col__m_) FROM table_name_69 WHERE peak = "gerlachovský štít" AND elevation__m_ > 2 OFFSET 655 | Whta is the lowest col in m of gerlachovský štít peak, which has an elevation greater than 2,655 m? | CREATE TABLE table_name_69 (col__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR) |
SELECT no FROM table_27403436_1 WHERE production_code = "2J5809" | which number lists the production code as 2j5809 | CREATE TABLE table_27403436_1 (no VARCHAR, production_code VARCHAR) |
SELECT original_vehicle FROM table_name_76 WHERE architecture = "uwhvt homepage" | What original vehicle has uwhvt homepage architecture? | CREATE TABLE table_name_76 (original_vehicle VARCHAR, architecture VARCHAR) |
SELECT home_team AS score FROM table_16387653_1 WHERE away_team = "Richmond" | What did the home team score against Richmond? | CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR) |
SELECT name FROM table_name_6 WHERE total = 22 | What is the name of the person with a total of 22? | CREATE TABLE table_name_6 (name VARCHAR, total VARCHAR) |
SELECT MAX(lost) FROM table_name_43 WHERE played < 1 | What is the highest number of losses when there are under 1 games played? | CREATE TABLE table_name_43 (lost INTEGER, played INTEGER) |
SELECT position FROM table_name_54 WHERE school = "pacific lutheran university" AND player = "greg fredlund" AND year > 2010 | What was the position of the player from Pacific Lutheran University named Greg Fredlund in years after 2010? | CREATE TABLE table_name_54 (position VARCHAR, year VARCHAR, school VARCHAR, player VARCHAR) |
SELECT no_party_preference FROM table_27003186_3 WHERE republican = "45.3%" | What is the no party preference when republican is 45.3%? | CREATE TABLE table_27003186_3 (no_party_preference VARCHAR, republican VARCHAR) |
SELECT season FROM table_25561038_1 WHERE position = "1st" | List the year in which the driver was in 1st place. | CREATE TABLE table_25561038_1 (season VARCHAR, position VARCHAR) |
SELECT description FROM table_256286_39 WHERE _percentage_yes = "44.06%" | What is the measure where the yes% is 44.06%? | CREATE TABLE table_256286_39 (description VARCHAR, _percentage_yes VARCHAR) |
SELECT venue FROM table_name_31 WHERE status = "tour match" AND against > 0 AND opposing_team = "eastern province" | What venue was the tour match against eastern province played at with more than 0 against? | CREATE TABLE table_name_31 (venue VARCHAR, opposing_team VARCHAR, status VARCHAR, against VARCHAR) |
SELECT attendance FROM table_name_23 WHERE date = "october 7, 1990" | What is the attandance figure on October 7, 1990? | CREATE TABLE table_name_23 (attendance VARCHAR, date VARCHAR) |
SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters" | What is the 2012 of the hamburg masters? | CREATE TABLE table_name_45 (tournament VARCHAR) |
SELECT away_team FROM table_name_70 WHERE home_team = "south melbourne" | Who was South Melbourne's away team opponents? | CREATE TABLE table_name_70 (away_team VARCHAR, home_team VARCHAR) |
SELECT result FROM table_21058823_1 WHERE record = "3-2-1" | What did they do in the game when their record was 3-2-1? | CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR) |
SELECT COUNT(round) FROM table_name_90 WHERE college = "lehigh" | How many total rounds has lehigh as the college? | CREATE TABLE table_name_90 (round VARCHAR, college VARCHAR) |
SELECT actual_order_id FROM actual_orders WHERE order_status_code = 'Success' | Find the ids of orders whose status is 'Success'. | CREATE TABLE actual_orders (actual_order_id VARCHAR, order_status_code VARCHAR) |
SELECT name FROM table_name_33 WHERE teams = "cornell-penn" | What is the name of the event where Cornell-Penn played? | CREATE TABLE table_name_33 (name VARCHAR, teams VARCHAR) |
SELECT week_4 FROM table_name_75 WHERE week_2 = "lexi lombardelli" | What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2? | CREATE TABLE table_name_75 (week_4 VARCHAR, week_2 VARCHAR) |
SELECT high_points FROM table_23286158_8 WHERE record = "30-23" | Name the high points for 30-23 | CREATE TABLE table_23286158_8 (high_points VARCHAR, record VARCHAR) |
SELECT Name, SurfaceArea, IndepYear FROM country ORDER BY Population LIMIT 1 | What are the name, independence year, and surface area of the country with the smallest population? | CREATE TABLE country (Name VARCHAR, SurfaceArea VARCHAR, IndepYear VARCHAR, Population VARCHAR) |
SELECT date FROM table_name_46 WHERE race = "dodge dealers grand prix" AND class = "gts" | On which date was the Dodge Dealers Grand Prix GTS class race? | CREATE TABLE table_name_46 (date VARCHAR, race VARCHAR, class VARCHAR) |
SELECT city FROM table_name_89 WHERE name_in_english = "socialist party of the extremadurian people" | What is the name of the city with the Socialist Party of the Extremadurian People? | CREATE TABLE table_name_89 (city VARCHAR, name_in_english VARCHAR) |
SELECT outcome FROM table_name_88 WHERE year > 2003 AND score = "6–0, 6–3" | What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3? | CREATE TABLE table_name_88 (outcome VARCHAR, year VARCHAR, score VARCHAR) |
SELECT AVG(total) FROM table_name_20 WHERE fa_cup_goals = "1" AND league_goals = "10" AND club = "crystal palace" | What is the average Total, when FA Cup Goals is 1, when League Goals is 10, and when Club is Crystal Palace? | CREATE TABLE table_name_20 (total INTEGER, club VARCHAR, fa_cup_goals VARCHAR, league_goals VARCHAR) |
SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439 | Tell me the lowest closed for capacity of 62,439 | CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR) |
SELECT 2009 FROM table_name_98 WHERE 2008 = "a" AND 2012 = "1r" AND 2010 = "q2" AND 2011 = "2r" | What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r? | CREATE TABLE table_name_98 (Id VARCHAR) |
SELECT outcome FROM table_name_91 WHERE surface = "clay" AND date = "april 21, 1996" | What is the total outcome for the clay surface on April 21, 1996? | CREATE TABLE table_name_91 (outcome VARCHAR, surface VARCHAR, date VARCHAR) |
SELECT week_32 FROM table_23680576_3 WHERE week_33 = "31.9%" | What is the week 32 result when week 33 is 31.9%? | CREATE TABLE table_23680576_3 (week_32 VARCHAR, week_33 VARCHAR) |
SELECT COUNT(round) FROM table_name_19 WHERE opponent = "wrexham" AND venue = "away" | What is the round number when the opponent was Wrexham, and the venue shows as Away? | CREATE TABLE table_name_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR) |
SELECT goals FROM table_name_45 WHERE points = "158" | How many goals were scored when 158 points were collected? | CREATE TABLE table_name_45 (goals VARCHAR, points VARCHAR) |
SELECT location FROM table_name_12 WHERE home_ground = "mong kok stadium" | Where was the location of the Mong Kok Stadium? | CREATE TABLE table_name_12 (location VARCHAR, home_ground VARCHAR) |
SELECT dorm_name FROM dorm WHERE gender = 'F' | Find the name of dorms only for female (F gender). | CREATE TABLE dorm (dorm_name VARCHAR, gender VARCHAR) |
SELECT score FROM table_name_3 WHERE competition = "friendly match" AND date = "24 july 2008" | What is the score of the friendly match competition on 24 July 2008? | CREATE TABLE table_name_3 (score VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT COUNT(blocks) FROM table_23346303_5 WHERE points = 4 | What is the blocks total number if the points is 4? | CREATE TABLE table_23346303_5 (blocks VARCHAR, points VARCHAR) |
SELECT year FROM table_name_23 WHERE pts = 13 | What year had 13 points? | CREATE TABLE table_name_23 (year VARCHAR, pts VARCHAR) |
SELECT obama FROM table_name_87 WHERE undecided = "1%" | What kind of Obama has a Undecided of 1%? | CREATE TABLE table_name_87 (obama VARCHAR, undecided VARCHAR) |
SELECT location FROM table_name_4 WHERE days_held = "111" | Which location has 111 as the days held? | CREATE TABLE table_name_4 (location VARCHAR, days_held VARCHAR) |
SELECT interface FROM table_name_27 WHERE controller = "sandforce" AND codename = "sierra star" | Which interface uses Sandforce with a code name of Sierra Star? | CREATE TABLE table_name_27 (interface VARCHAR, controller VARCHAR, codename VARCHAR) |
SELECT MAX(goals_against) FROM table_name_54 WHERE wins < 1 | what is the highest goals against when the wins is less than 1? | CREATE TABLE table_name_54 (goals_against INTEGER, wins INTEGER) |
SELECT airport FROM table_name_40 WHERE icao = "ulli" | What is the name of the airport with an ICAO of ULLI? | CREATE TABLE table_name_40 (airport VARCHAR, icao VARCHAR) |
SELECT sleeves FROM table_name_72 WHERE back = "unknown" | Which Sleeves have a Back of Unknown? | CREATE TABLE table_name_72 (sleeves VARCHAR, back VARCHAR) |
SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = "rugsund" | Where is the Church that has a Sub-Parish (Sokn) of rugsund? | CREATE TABLE table_name_64 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR) |
SELECT home FROM table_name_3 WHERE visitor = "montreal canadiens" AND record = "0-3" | What team did the Montreal Canadiens visit when the record was 0-3? | CREATE TABLE table_name_3 (home VARCHAR, visitor VARCHAR, record VARCHAR) |
SELECT finale FROM table_28962227_1 WHERE runners_up = "Holly Bell" | What is the date of the finale where Holly Bell was runner-up? | CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR) |
SELECT score FROM table_name_43 WHERE place = "t6" AND player = "raymond floyd" | Which Score has a Place of t6, and a Player of raymond floyd? | CREATE TABLE table_name_43 (score VARCHAR, place VARCHAR, player VARCHAR) |
SELECT COUNT(pick) FROM table_name_23 WHERE position = "defensive back" AND round > 11 | How many picks are there for defensive back for rounds larger than 11? | CREATE TABLE table_name_23 (pick VARCHAR, position VARCHAR, round VARCHAR) |
SELECT country FROM table_name_59 WHERE player = "craig parry" | What country is Craig Parry from? | CREATE TABLE table_name_59 (country VARCHAR, player VARCHAR) |
SELECT constructor FROM table_name_61 WHERE driver = "not held" | What company constructed the vehicle when the driver shows as not held? | CREATE TABLE table_name_61 (constructor VARCHAR, driver VARCHAR) |
SELECT location_attendance FROM table_27755603_2 WHERE high_assists = "Will Bynum (5)" | Where was the game in which Will Bynum (5) did the high assists played? | CREATE TABLE table_27755603_2 (location_attendance VARCHAR, high_assists VARCHAR) |
SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4" | What is the First elected that has a republican party and california 4? | CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR) |
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' | Find the names of states that have some college students playing in the mid position but not in the goalie position. | CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR) |
SELECT score FROM table_name_22 WHERE player = "paul runyan" | What was Paul Runyan's score? | CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR) |
SELECT length_of_game FROM table_name_95 WHERE home_team = "baltimore colts" | What was the length of the game where the Baltimore Colts were at home? | CREATE TABLE table_name_95 (length_of_game VARCHAR, home_team VARCHAR) |
SELECT comp FROM table_name_83 WHERE ryds = "2" | What is the comp when the ryds is 2? | CREATE TABLE table_name_83 (comp VARCHAR, ryds VARCHAR) |
SELECT heat_ & _lane FROM table_name_25 WHERE name = "thi hue pham" | What heat and what lane is thi hue pham in? | CREATE TABLE table_name_25 (heat_ VARCHAR, _lane VARCHAR, name VARCHAR) |
SELECT COUNT(episodes) FROM table_name_39 WHERE tv_station = "nhk" AND average_ratings = "9.2%" | What is the episode on NHK with average ratings of 9.2%? | CREATE TABLE table_name_39 (episodes VARCHAR, tv_station VARCHAR, average_ratings VARCHAR) |
SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = "Math" | Show the name of the teacher for the math course. | CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course_ID VARCHAR, Course VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR) |
SELECT MIN(yards) FROM table_name_5 WHERE carries < 23 AND team = "at chi" AND average < 8.5 | Which Yards have Carries smaller than 23, and a Team of at chi, and an Average smaller than 8.5? | CREATE TABLE table_name_5 (yards INTEGER, average VARCHAR, carries VARCHAR, team VARCHAR) |
SELECT COUNT(wildcats_points) FROM table_21062353_1 WHERE game = 11 | How many times did the Wildcats play a game 11 regardless of points scored? | CREATE TABLE table_21062353_1 (wildcats_points VARCHAR, game VARCHAR) |
SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 15" | What is the incumbent for pennsylvania 15 | CREATE TABLE table_1342013_37 (incumbent VARCHAR, district VARCHAR) |
SELECT MIN(Half) AS marathon__womens_ FROM table_11391954_3 | What is the minimum number for the half marathon (womens)? | CREATE TABLE table_11391954_3 (Half INTEGER) |
SELECT pick FROM table_name_11 WHERE position = "1b" AND team = "oakland athletics" | What number pick was the player for the Oakland Athletics who plays the 1B position? | CREATE TABLE table_name_11 (pick VARCHAR, position VARCHAR, team VARCHAR) |
SELECT score_[c_] FROM table_name_76 WHERE winner = "alianza lima" AND season = 1965 | What is the score of the event that Alianza Lima won in 1965? | CREATE TABLE table_name_76 (score_ VARCHAR, c_ VARCHAR, winner VARCHAR, season VARCHAR) |
SELECT duration FROM table_name_60 WHERE character = "rosa gonzalez" | What duration has rosa gonzalez as the character? | CREATE TABLE table_name_60 (duration VARCHAR, character VARCHAR) |
SELECT MIN(quantity_rebuilt) FROM table_name_50 WHERE class = "t2a" | What the least quantity having a T2A class? | CREATE TABLE table_name_50 (quantity_rebuilt INTEGER, class VARCHAR) |
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = "Khanewal District" | Find the names of all stores in Khanewal District. | CREATE TABLE district (district_id VARCHAR, district_name VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR) |
SELECT MIN(game) FROM table_name_25 WHERE location = "the summit" | What game number was the first game played at the Summit this season? | CREATE TABLE table_name_25 (game INTEGER, location VARCHAR) |
SELECT SUM(laps) FROM table_name_79 WHERE year = "1954" | What was the sum of laps in 1954? | CREATE TABLE table_name_79 (laps INTEGER, year VARCHAR) |
SELECT surface FROM table_name_57 WHERE date = "22 august 2006" | Which surface has a Date of 22 august 2006? | CREATE TABLE table_name_57 (surface VARCHAR, date VARCHAR) |
SELECT runner_up FROM table_name_95 WHERE year = "2008" | What runner-up has 2008 as the year? | CREATE TABLE table_name_95 (runner_up VARCHAR, year VARCHAR) |
SELECT MAX(first_elected) FROM table_2668352_11 | Name the most first elected | CREATE TABLE table_2668352_11 (first_elected INTEGER) |
SELECT COUNT(year_named) FROM table_name_72 WHERE longitude = "36.8e" AND diameter__km_ > 697 | How many years correspond to longitude of 36.8e and diameter greater than 697? | CREATE TABLE table_name_72 (year_named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR) |
SELECT date FROM table_name_75 WHERE opponent = "at seattle mariners" | When has an Opponent of at Seattle mariners? | CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR) |
SELECT result FROM table_name_89 WHERE opponent_number = "tcu" | What is the result for opponent TCU? | CREATE TABLE table_name_89 (result VARCHAR, opponent_number VARCHAR) |
SELECT headphone_model FROM table_1601027_2 WHERE succeeded_by = "SR125" | Name the headphone model for succeeded by sr125 | CREATE TABLE table_1601027_2 (headphone_model VARCHAR, succeeded_by VARCHAR) |
SELECT tries_for FROM table_12792876_2 WHERE "club" = "club" | What is the 8th entry in the row with a first entry of "club"? | CREATE TABLE table_12792876_2 (tries_for VARCHAR) |
SELECT MAX(series__number) FROM table_15838081_3 WHERE writer_s_ = "Giula Sandler" | Name the most series number for giula sandler | CREATE TABLE table_15838081_3 (series__number INTEGER, writer_s_ VARCHAR) |
SELECT club FROM table_27771406_1 WHERE player = "Cyril Christiani" | What club did Cyril Christiani play for? | CREATE TABLE table_27771406_1 (club VARCHAR, player VARCHAR) |
SELECT marriage FROM table_name_84 WHERE became_queen = "30 october 1816 husband's accession" | How is the marriage of who became queen on 30 October 1816 husband's accession? | CREATE TABLE table_name_84 (marriage VARCHAR, became_queen VARCHAR) |
SELECT MIN(2 AS nd_runner_up) FROM table_2290097_4 | What is the minimum for 2nd runner-up? | CREATE TABLE table_2290097_4 (Id VARCHAR) |
SELECT school FROM table_11677100_18 WHERE hometown = "Irvine, CA" | What is the school for the player who's hometown was Irvine, CA? | CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR) |
SELECT writer_s_ FROM table_24781886_2 WHERE _number = 10 | When 10 is the number who is the writer? | CREATE TABLE table_24781886_2 (writer_s_ VARCHAR, _number VARCHAR) |
SELECT score FROM table_name_32 WHERE date = "24 february 2013" | What was the score on 24 February 2013? | CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR) |
SELECT YEAR FROM festival_detail GROUP BY YEAR HAVING COUNT(*) > 1 | List the year in which there are more than one festivals. | CREATE TABLE festival_detail (YEAR VARCHAR) |
SELECT T1.name FROM instructor AS T1 JOIN advisor AS T2 ON T1.id = T2.i_id GROUP BY T2.i_id HAVING COUNT(*) > 1 | Find the name of instructors who are advising more than one student. | CREATE TABLE advisor (i_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR) |
SELECT date FROM table_name_35 WHERE final_score = "17-34" | What date was the final Score of 17-34? | CREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR) |
SELECT three_darts_challenge FROM table_26733129_1 WHERE air_date = "10 May 2010" | Who was in the three darts challenge that aired on 10 may 2010? | CREATE TABLE table_26733129_1 (three_darts_challenge VARCHAR, air_date VARCHAR) |
SELECT commercial_operation FROM table_name_42 WHERE unit = "hamaoka-4" | When was the Hamaoka-4 unit commercial operation date? | CREATE TABLE table_name_42 (commercial_operation VARCHAR, unit VARCHAR) |
SELECT COUNT(year) FROM table_27441210_6 WHERE weeks_at__number1 = 8 | How many years have a weeks at #1 value of exactly 8? | CREATE TABLE table_27441210_6 (year VARCHAR, weeks_at__number1 VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.