answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT dance FROM table_name_55 WHERE year = 2004 | In 2004, what is the Dance? | CREATE TABLE table_name_55 (dance VARCHAR, year VARCHAR) |
SELECT COUNT(proto_slavic) FROM table_26757_4 WHERE serbo_croatian = "гн(иј)ездо / gn(ij)ezdo" | When гн(иј)ездо / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there? | CREATE TABLE table_26757_4 (proto_slavic VARCHAR, serbo_croatian VARCHAR) |
SELECT team AS captain FROM table_26593762_2 WHERE team = "Cardiff City" | Who is the captain of Cardiff City? | CREATE TABLE table_26593762_2 (team VARCHAR) |
SELECT 1994 FROM table_name_98 WHERE career_sr = "0 / 3" | What are the 1994 results with a career SR of 0 / 3? | CREATE TABLE table_name_98 (career_sr VARCHAR) |
SELECT venue FROM table_name_11 WHERE opposing_teams = "new zealand" AND date = "22/11/1997" | Which venue was the opposing team New Zealand on 22/11/1997? | CREATE TABLE table_name_11 (venue VARCHAR, opposing_teams VARCHAR, date VARCHAR) |
SELECT MAX(season) FROM table_1816947_2 WHERE average_attendance_league = "2.572" | In which season was the average league attendance 2.572? | CREATE TABLE table_1816947_2 (season INTEGER, average_attendance_league VARCHAR) |
SELECT COUNT(swimsuit) FROM table_name_19 WHERE average < 8.823 AND evening_gown < 8.69 AND interview = 8.27 | What is the total number of swimsuit scores that have average scores less than 8.823, evening gown scores less than 8.69, and interview scores equal to 8.27? | CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR, average VARCHAR, evening_gown VARCHAR) |
SELECT train_name FROM table_23477312_1 WHERE destination = "Bhubaneswar" | What's the name of the train that goes to Bhubaneswar? | CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR) |
SELECT county FROM table_name_72 WHERE school = "whiteland community" | What county is Whiteland Community School in? | CREATE TABLE table_name_72 (county VARCHAR, school VARCHAR) |
SELECT COUNT(dolphins_points) FROM table_name_80 WHERE attendance = 52 OFFSET 860 | What'd the total Dolphin points when there was an attendance of 52,860? | CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR) |
SELECT MIN(position) FROM table_name_74 WHERE points_1 = "27 2" AND drawn < 9 | What is the lowest position with points 1 of 27 2 and fewer than 9 drawn? | CREATE TABLE table_name_74 (position INTEGER, points_1 VARCHAR, drawn VARCHAR) |
SELECT dates FROM table_15315816_1 WHERE score = "205 (–8)" AND country = "Australia" | When are all dates with a score of 205 (–8) in Australia? | CREATE TABLE table_15315816_1 (dates VARCHAR, score VARCHAR, country VARCHAR) |
SELECT largest_ethnic_group__2002_ FROM table_2562572_46 WHERE settlement = "Sočica" | What was the largest ethnic group in sočica? | CREATE TABLE table_2562572_46 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR) |
SELECT COUNT(home_losses) FROM table_1409106_2 WHERE pf = 13 | How many home losses occured when PF 13? | CREATE TABLE table_1409106_2 (home_losses VARCHAR, pf VARCHAR) |
SELECT Name FROM people WHERE NOT People_ID IN (SELECT People_ID FROM poker_player) | List the names of people that are not poker players. | CREATE TABLE poker_player (Name VARCHAR, People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) |
SELECT venue FROM table_name_77 WHERE result = "draw" | What venue had a draw? | CREATE TABLE table_name_77 (venue VARCHAR, result VARCHAR) |
SELECT record FROM table_name_33 WHERE date = "may 13" | On May 13, what was the team's record? | CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR) |
SELECT position FROM table_name_8 WHERE team = "chicago cubs" | What position is played by the player from the Chicago Cubs? | CREATE TABLE table_name_8 (position VARCHAR, team VARCHAR) |
SELECT no FROM table_28005100_1 WHERE lyricist = "Ahmed Metwally" | Which number was the lyricist ahmed metwally? | CREATE TABLE table_28005100_1 (no VARCHAR, lyricist VARCHAR) |
SELECT name FROM enzyme WHERE product <> 'Heme' | What are the names of enzymes who does not produce 'Heme'? | CREATE TABLE enzyme (name VARCHAR, product VARCHAR) |
SELECT record FROM table_name_82 WHERE attendance = "31,467" | What was the Indians' record during the game that had 31,467 in attendance? | CREATE TABLE table_name_82 (record VARCHAR, attendance VARCHAR) |
SELECT series FROM table_name_57 WHERE points = "11" | Which series has 11 points? | CREATE TABLE table_name_57 (series VARCHAR, points VARCHAR) |
SELECT COUNT(silver) FROM table_name_28 WHERE bronze = 2 AND sport = "volleyball" | When volleyball has 2 bronze, what is the total number of silver? | CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR, sport VARCHAR) |
SELECT team FROM table_name_6 WHERE winner = "1" | Which Team has a Winner of 1? | CREATE TABLE table_name_6 (team VARCHAR, winner VARCHAR) |
SELECT MIN(starts) FROM table_23239946_3 | How many starts are there? | CREATE TABLE table_23239946_3 (starts INTEGER) |
SELECT class_aA FROM table_14601528_2 WHERE school_year = "1998-99" | Name the class aa for 1998-99 | CREATE TABLE table_14601528_2 (class_aA VARCHAR, school_year VARCHAR) |
SELECT COUNT(iso_) AS № FROM table_254234_1 WHERE density² = "165.81" | How many provinces have a density of 165.81? | CREATE TABLE table_254234_1 (iso_ VARCHAR, density² VARCHAR) |
SELECT race FROM table_name_18 WHERE date = "26 june 2011" | What race is on 26 June 2011? | CREATE TABLE table_name_18 (race VARCHAR, date VARCHAR) |
SELECT score FROM table_name_94 WHERE competition = "friendly" AND result = "4-5" | What is the score of the event with a competition type of friendly and a result of 4-5? | CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, result VARCHAR) |
SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = "Victor Cook" AND written_by = "Brat Jennett" | What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.? | CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT location_of_the_church FROM table_178408_1 WHERE church_name = "Berle kyrkje" | Name the location of the church for berle kyrkje | CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, church_name VARCHAR) |
SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5250-6250" | What is top speed of a petrol engine at ps (kw; bhp)@5250-6250? | CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR) |
SELECT name FROM table_name_25 WHERE floors = 17 | Tell me the name that has 17 floors | CREATE TABLE table_name_25 (name VARCHAR, floors VARCHAR) |
SELECT record FROM table_name_37 WHERE opponent = "jeremija sanders" | What is the record of Jeremija Sanders' opponent? | CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR) |
SELECT Leader_Name, College_Location FROM college | Show the leader names and locations of colleges. | CREATE TABLE college (Leader_Name VARCHAR, College_Location VARCHAR) |
SELECT event FROM table_name_59 WHERE date = "18 december 2009" | What event is on 18 December 2009? | CREATE TABLE table_name_59 (event VARCHAR, date VARCHAR) |
SELECT to_par FROM table_name_31 WHERE player = "vijay singh" | What is the to par of player vijay singh? | CREATE TABLE table_name_31 (to_par VARCHAR, player VARCHAR) |
SELECT college FROM table_name_58 WHERE cfl_team = "hamilton tiger-cats" | Which college's cfl team is the hamilton tiger-cats? | CREATE TABLE table_name_58 (college VARCHAR, cfl_team VARCHAR) |
SELECT date FROM table_name_34 WHERE game = 3 | What date was game number 3? | CREATE TABLE table_name_34 (date VARCHAR, game VARCHAR) |
SELECT gender FROM table_28523_3 WHERE religious_affiliation = "Roman Catholic" AND location = "AL4" | What is the gender of the Roman Catholic school is AL4? | CREATE TABLE table_28523_3 (gender VARCHAR, religious_affiliation VARCHAR, location VARCHAR) |
SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "10.6" | Name the ebit for eps being 10.6 | CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR) |
SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5 | Record of 42–16–8, and a March larger than 5 has what average points? | CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR) |
SELECT team_1 FROM table_name_36 WHERE team_2 = "hafia fc" | What team played against Hafia FC (team 2)? | CREATE TABLE table_name_36 (team_1 VARCHAR, team_2 VARCHAR) |
SELECT pole_position FROM table_name_41 WHERE grand_prix = "hungarian grand prix" | What is the pole position of the Hungarian Grand Prix? | CREATE TABLE table_name_41 (pole_position VARCHAR, grand_prix VARCHAR) |
SELECT origin FROM Flight WHERE destination = "Honolulu" | Show origins of all flights with destination Honolulu. | CREATE TABLE Flight (origin VARCHAR, destination VARCHAR) |
SELECT manufacturer FROM table_name_26 WHERE grid > 18 AND laps > 1 AND time_retired = "+1 lap" | Name the manufacturer for grid more than 18 and laps more than 1 with tired/retired of +1 lap | CREATE TABLE table_name_26 (manufacturer VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) |
SELECT player FROM table_22402438_7 WHERE pick__number = 80 | Who is the player with the pick# 80? | CREATE TABLE table_22402438_7 (player VARCHAR, pick__number VARCHAR) |
SELECT AVG(crowd) FROM table_name_99 WHERE home_team = "footscray" | What is the average crowd when footscray is at home? | CREATE TABLE table_name_99 (crowd INTEGER, home_team VARCHAR) |
SELECT gender FROM table_name_49 WHERE local_board = "albert–eden" AND roll > 232 AND decile = "5" | What gender has a local board of albert–eden with a roll of more than 232 and Decile of 5? | CREATE TABLE table_name_49 (gender VARCHAR, decile VARCHAR, local_board VARCHAR, roll VARCHAR) |
SELECT date FROM table_name_13 WHERE opponent = "at saskatchewan roughriders" | What is Date, when Opponent is At Saskatchewan Roughriders? | CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_31 WHERE winning_score = 69 - 68 - 68 - 70 = 275 | Which Date has a Winning score of 69-68-68-70=275? | CREATE TABLE table_name_31 (date VARCHAR, winning_score VARCHAR) |
SELECT COUNT(silver) FROM table_name_40 WHERE total > 16 | What is the total number of silver medals of the nation with more than 16 total medals? | CREATE TABLE table_name_40 (silver VARCHAR, total INTEGER) |
SELECT written_by FROM table_11951237_1 WHERE series__number = 20 | Who were the writers for series number 20? | CREATE TABLE table_11951237_1 (written_by VARCHAR, series__number VARCHAR) |
SELECT MAX(draws) FROM table_name_94 WHERE goal_difference > 3 AND losses < 8 | For a goal difference greater than 3 and fewer than 8 losses, what is the most draws scored? | CREATE TABLE table_name_94 (draws INTEGER, goal_difference VARCHAR, losses VARCHAR) |
SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989" | What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? | CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR) |
SELECT COUNT(pop__2010_) FROM table_name_24 WHERE longitude = -97.578927 | What is the population in 2010 for the longitude of -97.578927? | CREATE TABLE table_name_24 (pop__2010_ VARCHAR, longitude VARCHAR) |
SELECT opponent FROM table_name_24 WHERE location = "america west arena" | Who is the opponent at america west arena? | CREATE TABLE table_name_24 (opponent VARCHAR, location VARCHAR) |
SELECT registered_voters FROM table_name_68 WHERE ngilu = "3,429" | What's listed for the Registered Voters with a Ngilu of 3,429? | CREATE TABLE table_name_68 (registered_voters VARCHAR, ngilu VARCHAR) |
SELECT away_team AS score FROM table_name_15 WHERE home_team = "geelong" | What is the Away team score when they played Geelong as the Home team? | CREATE TABLE table_name_15 (away_team VARCHAR, home_team VARCHAR) |
SELECT date FROM table_name_33 WHERE road_team = "chicago" AND result = "88-85 (ot)" | Which Date has a Road Team of chicago, and a Result of 88-85 (ot)? | CREATE TABLE table_name_33 (date VARCHAR, road_team VARCHAR, result VARCHAR) |
SELECT MAX(height), AVG(height) FROM mountain | What are the maximum and average height of the mountains? | CREATE TABLE mountain (height INTEGER) |
SELECT year_s__won FROM table_name_6 WHERE finish = "t27" | What year has a winning finish of T27? | CREATE TABLE table_name_6 (year_s__won VARCHAR, finish VARCHAR) |
SELECT country FROM table_name_3 WHERE director = "george miller" | What is the Country of origin for the film directed by George Miller? | CREATE TABLE table_name_3 (country VARCHAR, director VARCHAR) |
SELECT finalist FROM table_name_38 WHERE week = "october 21" | Which finalist played in the week of October 21? | CREATE TABLE table_name_38 (finalist VARCHAR, week VARCHAR) |
SELECT COUNT(shot_diameter__cm_) FROM table_name_37 WHERE shot_volume__cm_3__ < 172.76 | How many times is the shot volume (cm3) less than 172.76? | CREATE TABLE table_name_37 (shot_diameter__cm_ VARCHAR, shot_volume__cm_3__ INTEGER) |
SELECT tennis FROM table_name_29 WHERE school_year = "2004-05" | What is Tennis, when School Year is 2004-05? | CREATE TABLE table_name_29 (tennis VARCHAR, school_year VARCHAR) |
SELECT 1999 FROM table_name_47 WHERE tournament = "us open" | What was the 1999 Tournament at the US Open? | CREATE TABLE table_name_47 (tournament VARCHAR) |
SELECT T1.employee_id, T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id JOIN countries AS T4 ON T3.country_id = T4.country_id | Find employee with ID and name of the country presently where (s)he is working. | CREATE TABLE countries (country_name VARCHAR, country_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR); CREATE TABLE locations (location_id VARCHAR, country_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR, department_id VARCHAR) |
SELECT company_name FROM table_name_13 WHERE accreditation_level = "joyn hot fixes" AND accreditation_status = "approved (awarded 17.05.13)" | What is the Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accreditation Status is Approved (Awarded 17.05.13)? | CREATE TABLE table_name_13 (company_name VARCHAR, accreditation_level VARCHAR, accreditation_status VARCHAR) |
SELECT SUM(enrollment) FROM table_name_53 WHERE mascot = "hot dogs" | What is the enrollment of the school whose mascot is hot dogs? | CREATE TABLE table_name_53 (enrollment INTEGER, mascot VARCHAR) |
SELECT bonus_points FROM table_27293285_2 WHERE lost = "18" | How many bonus points did the club who had 18 losses have? | CREATE TABLE table_27293285_2 (bonus_points VARCHAR, lost VARCHAR) |
SELECT venue FROM table_name_53 WHERE home_team = "essendon" | What was the venue when the home team was Essendon? | CREATE TABLE table_name_53 (venue VARCHAR, home_team VARCHAR) |
SELECT attendance FROM table_name_25 WHERE record = "bye" | What was the Bye week attendance? | CREATE TABLE table_name_25 (attendance VARCHAR, record VARCHAR) |
SELECT MIN(ligue_1_titles) FROM table_name_80 WHERE position_in_2012_13 = "010 12th" AND number_of_seasons_in_ligue_1 > 56 | I want to know the lowest ligue 1 titles for position in 2012-13 of 010 12th and number of seasons in ligue 1 more than 56 | CREATE TABLE table_name_80 (ligue_1_titles INTEGER, position_in_2012_13 VARCHAR, number_of_seasons_in_ligue_1 VARCHAR) |
SELECT northumberland_senior_benevolent_bowl FROM table_name_25 WHERE northumberland_minor_cup = "whitley bay 'a'" | Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'? | CREATE TABLE table_name_25 (northumberland_senior_benevolent_bowl VARCHAR, northumberland_minor_cup VARCHAR) |
SELECT region FROM table_name_24 WHERE _percentage_growth = "−3.6" | Which Region that has a growth of −3.6%? | CREATE TABLE table_name_24 (region VARCHAR, _percentage_growth VARCHAR) |
SELECT COUNT(*) FROM Students WHERE personal_name LIKE "%son%" | How many students have personal names that contain the word "son"? | CREATE TABLE Students (personal_name VARCHAR) |
SELECT SUM(split__50m_) FROM table_name_24 WHERE name = "josefin lillhage" AND lane > 8 | What is the total sum of 50m splits for josefin lillhage in lanes above 8? | CREATE TABLE table_name_24 (split__50m_ INTEGER, name VARCHAR, lane VARCHAR) |
SELECT title FROM table_17356042_1 WHERE written_by = "R. Scott Gemmill" | Name the title that was written by r. scott gemmill | CREATE TABLE table_17356042_1 (title VARCHAR, written_by VARCHAR) |
SELECT SUM(frequency_mhz) FROM table_name_99 WHERE class = "b1" | What is the total of Frequency MHz with a Class of b1? | CREATE TABLE table_name_99 (frequency_mhz INTEGER, class VARCHAR) |
SELECT SUM(round) FROM table_name_65 WHERE nationality = "sweden" AND overall = 199 | What is the total round with an overall of 199 with sweden? | CREATE TABLE table_name_65 (round INTEGER, nationality VARCHAR, overall VARCHAR) |
SELECT MIN(appearances¹) FROM table_24565004_21 WHERE name = "Sammy Traoré" | List the minimum impressions for sammy traoré | CREATE TABLE table_24565004_21 (appearances¹ INTEGER, name VARCHAR) |
SELECT AVG(february) FROM table_name_11 WHERE record = "18-26-10" AND game < 54 | What is the average February that has 18-26-10 as the record, with a game less than 54? | CREATE TABLE table_name_11 (february INTEGER, record VARCHAR, game VARCHAR) |
SELECT AVG(points) FROM table_name_36 WHERE played = 9 AND name = "ev pegnitz" AND position > 1 | what is the average points when played is 9, name is ev pegnitz and position is larger than 1? | CREATE TABLE table_name_36 (points INTEGER, position VARCHAR, played VARCHAR, name VARCHAR) |
SELECT SUM(laps) FROM table_name_99 WHERE grid = 7 | How many laps had a grid number of 7? | CREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR) |
SELECT date FROM table_name_28 WHERE away_team = "wycombe wanderers" | What date had a game with wycombe wanderers as the away team? | CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR) |
SELECT MAX(enrollment) FROM table_2562113_1 WHERE nickname = "Hawks" | What is the enrollment for the hawks? | CREATE TABLE table_2562113_1 (enrollment INTEGER, nickname VARCHAR) |
SELECT name FROM table_name_99 WHERE proposed = "06/24/1988" | What is the name of the superfund that was proposed on 06/24/1988? | CREATE TABLE table_name_99 (name VARCHAR, proposed VARCHAR) |
SELECT one_mora FROM table_name_95 WHERE NOT accented_mora = "low tone" AND gloss = "/˩okiru/ [òkìɽɯ́]" | What is the one mora for a low tone mora with a gloss of /˩okiru/ [òkìɽɯ́]? | CREATE TABLE table_name_95 (one_mora VARCHAR, gloss VARCHAR, accented_mora VARCHAR) |
SELECT sales FROM table_name_51 WHERE position < 13 AND artist = "dj casper" | What were the sales for Dj Casper when he was in a position lower than 13? | CREATE TABLE table_name_51 (sales VARCHAR, position VARCHAR, artist VARCHAR) |
SELECT director FROM table_10798928_1 WHERE original_title = "El nido" | Who directed El Nido? | CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR) |
SELECT away_team FROM table_name_32 WHERE venue = "arden street oval" | Which Away team has a Venue of arden street oval? | CREATE TABLE table_name_32 (away_team VARCHAR, venue VARCHAR) |
SELECT MAX(poll_wins) FROM table_name_49 WHERE poll_losses > 2 AND advocate = "andy kindler" AND ties < 0 | What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0? | CREATE TABLE table_name_49 (poll_wins INTEGER, ties VARCHAR, poll_losses VARCHAR, advocate VARCHAR) |
SELECT nationality FROM table_name_2 WHERE college = "illinois state" | What is Nationality, and when College is Illinois State? | CREATE TABLE table_name_2 (nationality VARCHAR, college VARCHAR) |
SELECT yonguk FROM table_name_35 WHERE halang = "ran¹" | Which Yonguk has a Halang of ran¹? | CREATE TABLE table_name_35 (yonguk VARCHAR, halang VARCHAR) |
SELECT chambering FROM table_26967904_2 WHERE f_bolt___kgf__ = 8339 | What is the chambering for the 8339 f bolt ( kgf )? | CREATE TABLE table_26967904_2 (chambering VARCHAR, f_bolt___kgf__ VARCHAR) |
SELECT SUM(city_population) FROM district ORDER BY city_area DESC LIMIT 3 | Find the total population of the top 3 districts with the largest area. | CREATE TABLE district (city_population INTEGER, city_area VARCHAR) |
SELECT MAX(grid) FROM table_name_44 WHERE laps > 22 | What is the maximum grid when the laps were greater than 22? | CREATE TABLE table_name_44 (grid INTEGER, laps INTEGER) |
SELECT yacht AS Club FROM table_name_84 WHERE syndicate = "america 3 foundation" AND yacht = "america 3" | Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht? | CREATE TABLE table_name_84 (yacht VARCHAR, syndicate VARCHAR) |
SELECT time FROM table_name_1 WHERE event = "k-1 the challenge 1999" | What time was the event k-1 the challenge 1999? | CREATE TABLE table_name_1 (time VARCHAR, event VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.