answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT format FROM table_name_93 WHERE label = "candlelight records" AND catalog = "candle053tin" | What was the Candlelight Records Catalog of Candle053tin format? | CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR, catalog VARCHAR) |
SELECT tournament FROM table_name_20 WHERE partnering = "franco ferreiro" | Partnering of franco ferreiro had what tournament? | CREATE TABLE table_name_20 (tournament VARCHAR, partnering VARCHAR) |
SELECT stages FROM table_name_42 WHERE year = 1981 | Tell me the stages for 1981 | CREATE TABLE table_name_42 (stages VARCHAR, year VARCHAR) |
SELECT score FROM table_name_11 WHERE game = 6 | What is the score for game 6? | CREATE TABLE table_name_11 (score VARCHAR, game VARCHAR) |
SELECT acronym FROM table_1160660_1 WHERE university_name = "Beirut Arab University" | What is the acronym used for Beirut Arab University? | CREATE TABLE table_1160660_1 (acronym VARCHAR, university_name VARCHAR) |
SELECT name FROM table_name_10 WHERE group = "b" AND mark = "6.33" | Who is in group B and has a mark of 6.33? | CREATE TABLE table_name_10 (name VARCHAR, group VARCHAR, mark VARCHAR) |
SELECT player FROM table_name_24 WHERE school = "seton hall university" | What player is from Seton Hall University? | CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR) |
SELECT name FROM table_name_69 WHERE lost > 4 | What is the name of the player that lost more than 4? | CREATE TABLE table_name_69 (name VARCHAR, lost INTEGER) |
SELECT incumbent FROM table_1342256_13 WHERE district = "Illinois 13" | Who won the election of 1942 in the district Illinois 13? | CREATE TABLE table_1342256_13 (incumbent VARCHAR, district VARCHAR) |
SELECT AVG(attendance) FROM table_name_31 WHERE date = "10 november 2004" | What was the attendance on 10 november 2004? | CREATE TABLE table_name_31 (attendance INTEGER, date VARCHAR) |
SELECT MAX(points) FROM table_name_30 WHERE goals_against = 32 AND played > 38 | Which Points have Goals against of 32, and Played larger than 38? | CREATE TABLE table_name_30 (points INTEGER, goals_against VARCHAR, played VARCHAR) |
SELECT opponents FROM table_21092444_1 WHERE record = "2-1" | Name the opponents for record of 2-1 | CREATE TABLE table_21092444_1 (opponents VARCHAR, record VARCHAR) |
SELECT opponent FROM table_name_64 WHERE score = "116-106" | Who were the opponents in the game that ended in a score of 116-106? | CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR) |
SELECT 4 AS th_place FROM table_11577996_1 WHERE year = 2001 | What school took 4th place in 2001? | CREATE TABLE table_11577996_1 (year VARCHAR) |
SELECT COUNT(dominant_religion__2002_) FROM table_2562572_30 WHERE settlement = "Đala" | How many dominant religions are in đala? | CREATE TABLE table_2562572_30 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) |
SELECT MAX(year_of_release) FROM table_name_98 WHERE title = "death valley" | What is the latest year of the album with the release title death valley? | CREATE TABLE table_name_98 (year_of_release INTEGER, title VARCHAR) |
SELECT airport FROM table_name_10 WHERE icao = "ksea" | What is the Airport with the ICAO fo KSEA? | CREATE TABLE table_name_10 (airport VARCHAR, icao VARCHAR) |
SELECT MIN(production_code) FROM table_2818164_2 WHERE original_air_date = "February 21, 1985" | What's the production code of the episode originally aired on February 21, 1985? | CREATE TABLE table_2818164_2 (production_code INTEGER, original_air_date VARCHAR) |
SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan" | What is the ISO for South Sudan? | CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR) |
SELECT music_director FROM table_name_3 WHERE year = 1994 | Who was the music director in 1994? | CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR) |
SELECT country FROM table_name_90 WHERE player = "scott mccarron" | Which country is Scott McCarron from? | CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR) |
SELECT SUM(rank) FROM table_name_91 WHERE gold < 0 | What is the number for rank when gold is less than 0? | CREATE TABLE table_name_91 (rank INTEGER, gold INTEGER) |
SELECT agg FROM table_name_28 WHERE team__number2 = "estudiantes" | When Estudiantes was team #2, what was their agg. value? | CREATE TABLE table_name_28 (agg VARCHAR, team__number2 VARCHAR) |
SELECT MAX(position) FROM table_name_34 WHERE drawn > 1 AND played < 14 | Which Position has Drawn larger than 1, and a Played smaller than 14? | CREATE TABLE table_name_34 (position INTEGER, drawn VARCHAR, played VARCHAR) |
SELECT MAX(attendance) FROM table_name_34 WHERE week = 3 | what is the highest attendance for week 3? | CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR) |
SELECT capacity FROM table_name_4 WHERE volts = "3500v" | What is the capacity of 3500v volts? | CREATE TABLE table_name_4 (capacity VARCHAR, volts VARCHAR) |
SELECT player FROM table_name_76 WHERE position = "lw" AND round > 10 | Who is the lw position player from a round greater than 10? | CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR) |
SELECT date FROM table_name_60 WHERE opponent = "los angeles rams" | What was the date of the game against the Los Angeles Rams? | CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR) |
SELECT MAX(league_cup_goals) FROM table_name_23 WHERE fa_cup_apps = "0" AND position = "mf" AND league_apps = "1" AND total_goals < 0 | What is the maximum league cup goals when there has been 0 FA cup appearances, and MF is the position, with 1 league appearance, and smaller than 0 total goals? | CREATE TABLE table_name_23 (league_cup_goals INTEGER, total_goals VARCHAR, league_apps VARCHAR, fa_cup_apps VARCHAR, position VARCHAR) |
SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917 | How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? | CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR) |
SELECT director FROM table_name_82 WHERE title = "the iceman ducketh" | What is the Director of the Filmography The Iceman Ducketh? | CREATE TABLE table_name_82 (director VARCHAR, title VARCHAR) |
SELECT COUNT(attendance) FROM table_name_85 WHERE date = "may 6" | How many attended on may 6? | CREATE TABLE table_name_85 (attendance VARCHAR, date VARCHAR) |
SELECT T1.event_id, T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_ID HAVING COUNT(*) > 1 | What are the ids and details of events that have more than one participants? | CREATE TABLE EVENTS (event_id VARCHAR, event_details VARCHAR, Event_ID VARCHAR); CREATE TABLE Participants_in_Events (Event_ID VARCHAR) |
SELECT score FROM table_name_64 WHERE winner = "stefan edberg" | What was the score when Stefan Edberg won? | CREATE TABLE table_name_64 (score VARCHAR, winner VARCHAR) |
SELECT country FROM table_name_42 WHERE engine_make_capacity = "jawa 350cc" | What country had the car with the Jawa 350cc engine? | CREATE TABLE table_name_42 (country VARCHAR, engine_make_capacity VARCHAR) |
SELECT ramtha FROM table_26173063_2 WHERE jeel = "1-0" AND hussein = "1-0" | What is ramtha when jeel is 1-0 and hussein is 1-0? | CREATE TABLE table_26173063_2 (ramtha VARCHAR, jeel VARCHAR, hussein VARCHAR) |
SELECT MIN(played) FROM table_14911550_5 | How many games were played? | CREATE TABLE table_14911550_5 (played INTEGER) |
SELECT MAX(average) FROM table_name_75 WHERE swimsuit = 9.4 AND evening_gown < 9.486 | Which is the largest average number when the swimsuit is 9.4 and the evening gown stat is less than 9.486? | CREATE TABLE table_name_75 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR) |
SELECT region FROM table_name_46 WHERE label = "emi" AND format = "4 x vinyl" AND catalog_number = "560 6111" | What is the Region of the EMI 4 x vinyl release bearing Catalog number 560 6111? | CREATE TABLE table_name_46 (region VARCHAR, catalog_number VARCHAR, label VARCHAR, format VARCHAR) |
SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1 | Find the name of the department that offers the largest number of credits of all classes. | CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER) |
SELECT construction FROM table_name_69 WHERE name__wade_giles_ = "heng-hai" | which Construction is named heng-hai? | CREATE TABLE table_name_69 (construction VARCHAR, name__wade_giles_ VARCHAR) |
SELECT score FROM table_name_64 WHERE country = "south africa" | What is the Score of the Player from South Africa? | CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR) |
SELECT COUNT(bus_width___bit__) FROM table_19161046_1 WHERE core___mhz__ = 650 | What's the bus width (in bit) of the model whose core is 650 MHz? | CREATE TABLE table_19161046_1 (bus_width___bit__ VARCHAR, core___mhz__ VARCHAR) |
SELECT crowd FROM table_name_28 WHERE venue = "junction oval" | What was the listed crowd at junction oval? | CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR) |
SELECT position FROM table_2886617_8 WHERE nhl_team = "Toronto Maple Leafs" | What position did the draft pick for Toronto Maple Leafs play? | CREATE TABLE table_2886617_8 (position VARCHAR, nhl_team VARCHAR) |
SELECT grid FROM table_name_79 WHERE time_retired = "+27.112" | what is the grid when the time/retired is +27.112? | CREATE TABLE table_name_79 (grid VARCHAR, time_retired VARCHAR) |
SELECT rounds FROM table_name_50 WHERE tyre = "b" AND engine_† = "ferrari 053" | What are the rounds for the B tyres and Ferrari 053 engine +? | CREATE TABLE table_name_50 (rounds VARCHAR, tyre VARCHAR, engine_† VARCHAR) |
SELECT MIN(base_pairs) FROM table_name_21 WHERE species = "borrelia garinii" AND genes > 832 | What is the lowst base pair with a Species of borrelia garinii, and a Genes larger than 832? | CREATE TABLE table_name_21 (base_pairs INTEGER, species VARCHAR, genes VARCHAR) |
SELECT record FROM table_17355408_7 WHERE high_assists = "Carmelo Anthony (11)" | High assists belonging to Carmelo Anthony (11) have a record of what? | CREATE TABLE table_17355408_7 (record VARCHAR, high_assists VARCHAR) |
SELECT SUM(population) FROM table_name_98 WHERE per_capita_income = "$18,884" AND number_of_households < 14 OFFSET 485 | What is the population when the Per capita income of $18,884, and a Number of households smaller than 14,485? | CREATE TABLE table_name_98 (population INTEGER, per_capita_income VARCHAR, number_of_households VARCHAR) |
SELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99 | Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz? | CREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) |
SELECT iucn FROM table_name_98 WHERE est < 1998 AND reserve = "cockscomb basin" | What is the IUCN for the Cockscomb Basin reserve when the Est. is less than 1998? | CREATE TABLE table_name_98 (iucn VARCHAR, est VARCHAR, reserve VARCHAR) |
SELECT MIN(attendance) FROM table_name_62 WHERE home_team = "slough town" | What is the lowest Attendance when the home team was slough town? | CREATE TABLE table_name_62 (attendance INTEGER, home_team VARCHAR) |
SELECT party FROM table_1341598_11 WHERE district = "Georgia 9" | What is the party for District Georgia 9? | CREATE TABLE table_1341598_11 (party VARCHAR, district VARCHAR) |
SELECT MIN(period) FROM table_name_28 WHERE element = "ruthenium" | Which lowest period's element is ruthenium? | CREATE TABLE table_name_28 (period INTEGER, element VARCHAR) |
SELECT name FROM scientists ORDER BY name | List the names of all scientists sorted in alphabetical order. | CREATE TABLE scientists (name VARCHAR) |
SELECT zone_2008 FROM table_name_17 WHERE services = "greater anglia" AND station = "cheshunt" | Which Zone 2008 has Services of greater anglia, and a Station of cheshunt? | CREATE TABLE table_name_17 (zone_2008 VARCHAR, services VARCHAR, station VARCHAR) |
SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805" | How many parties were first elected in 1805? | CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR) |
SELECT COUNT(production) FROM table_26686908_2 WHERE rd = "Rd 2" | How many productions are shown for rd 2? | CREATE TABLE table_26686908_2 (production VARCHAR, rd VARCHAR) |
SELECT population__millions, _2011_ FROM table_2155836_1 WHERE hdi__2011_ = "0.453 (low)" | What is the population in millions for 2011 where the HDI for 2011 is 0.453 (low)? | CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, hdi__2011_ VARCHAR) |
SELECT team FROM table_name_26 WHERE rider = "frank hulbert" | What team is Frank Hulbert on? | CREATE TABLE table_name_26 (team VARCHAR, rider VARCHAR) |
SELECT episodes FROM table_15823956_1 WHERE region_1 = "N/A" | Which episode was N/A in region 1 | CREATE TABLE table_15823956_1 (episodes VARCHAR, region_1 VARCHAR) |
SELECT channel_code FROM customer_contact_channels GROUP BY channel_code HAVING COUNT(customer_id) < 5 | List all the contact channel codes that were used less than 5 times. | CREATE TABLE customer_contact_channels (channel_code VARCHAR, customer_id VARCHAR) |
SELECT location FROM table_name_18 WHERE floors = "03.0 n/a" | Which Location has a Floors of 03.0 n/a? | CREATE TABLE table_name_18 (location VARCHAR, floors VARCHAR) |
SELECT venue FROM table_name_39 WHERE opposing_teams = "wales" | Where did Wales play? | CREATE TABLE table_name_39 (venue VARCHAR, opposing_teams VARCHAR) |
SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna" | When was republican incumbent Joseph McKenna first elected? | CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR) |
SELECT MAX(poles) FROM table_2822193_1 WHERE races = 2 | How many poles are there with 2 races? | CREATE TABLE table_2822193_1 (poles INTEGER, races VARCHAR) |
SELECT date FROM table_name_64 WHERE tournament = "kroger classic" | What is the Date of the Kroger Classic Tournament? | CREATE TABLE table_name_64 (date VARCHAR, tournament VARCHAR) |
SELECT tournament FROM table_name_4 WHERE 2012 = "a" AND 2010 = "q2" | What tournament had an A in 2012 and Q2 in 2010? | CREATE TABLE table_name_4 (tournament VARCHAR) |
SELECT speed__mph_ FROM table_2665085_1 WHERE height__ft_ = 163 | How fast is the coaster that is 163 feet tall | CREATE TABLE table_2665085_1 (speed__mph_ VARCHAR, height__ft_ VARCHAR) |
SELECT score FROM table_name_91 WHERE home_team = "york city" | What is the score when york city was the home team? | CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR) |
SELECT team FROM table_name_72 WHERE points < 167 AND class = "250cc" | Which team had fewer than 167 points in the 250cc class? | CREATE TABLE table_name_72 (team VARCHAR, points VARCHAR, class VARCHAR) |
SELECT MIN(silver) FROM table_name_3 WHERE bronze = 1 AND total > 1 AND nation = "croatia" | How many Silver medals did the Nation of Croatia receive with a Total medal of more than 1? | CREATE TABLE table_name_3 (silver INTEGER, nation VARCHAR, bronze VARCHAR, total VARCHAR) |
SELECT team FROM table_name_74 WHERE drivers = "christian fittipaldi" | Christian Fittipaldi drove in what team? | CREATE TABLE table_name_74 (team VARCHAR, drivers VARCHAR) |
SELECT largest_ethnic_group__2002_ FROM table_2562572_54 WHERE cyrillic_name_other_names = "Бешка" | What is the largest ethnic group in 2002 for the cyrillic name, other name of бешка? | CREATE TABLE table_2562572_54 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) |
SELECT AVG(fastest_laps) FROM table_name_5 WHERE poles < 0 | What was the average number of fastest laps with less than 0 poles? | CREATE TABLE table_name_5 (fastest_laps INTEGER, poles INTEGER) |
SELECT date FROM table_name_84 WHERE opponent = "chicago bears" | On what date was the Opponent Chicago Bears? | CREATE TABLE table_name_84 (date VARCHAR, opponent VARCHAR) |
SELECT title FROM course WHERE course_id IN (SELECT T1.course_id FROM prereq AS T1 JOIN course AS T2 ON T1.prereq_id = T2.course_id WHERE T2.title = 'Differential Geometry') | Find the title of course whose prerequisite is course Differential Geometry. | CREATE TABLE prereq (course_id VARCHAR, prereq_id VARCHAR); CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR) |
SELECT wheel_arrangement FROM table_name_99 WHERE year_made = "1890" | What is the wheel arrangement made in 1890? | CREATE TABLE table_name_99 (wheel_arrangement VARCHAR, year_made VARCHAR) |
SELECT SUM(events) FROM table_name_25 WHERE country = "south africa" | How many events are in South Africa? | CREATE TABLE table_name_25 (events INTEGER, country VARCHAR) |
SELECT cause_of_loss FROM table_18933037_3 WHERE bomb_capacity = "27 GP H-E bombs" | When 27 gp h-e bombs the capacity of the bomb what is the cause of loss? | CREATE TABLE table_18933037_3 (cause_of_loss VARCHAR, bomb_capacity VARCHAR) |
SELECT 1996 FROM table_name_29 WHERE 1992 = "atp masters series" | What is 1996, when 1992 is "ATP Masters Series"? | CREATE TABLE table_name_29 (Id VARCHAR) |
SELECT first_class_team FROM table_name_15 WHERE bowling_style = "left arm orthodox spin" | What is the name of the First Class Team in which the player has a bowling style of left arm orthodox spin? | CREATE TABLE table_name_15 (first_class_team VARCHAR, bowling_style VARCHAR) |
SELECT song FROM table_21234111_10 WHERE robin = "4.0" | What song did Robin perform with a result of 4.0? | CREATE TABLE table_21234111_10 (song VARCHAR, robin VARCHAR) |
SELECT category FROM table_name_61 WHERE winner_nominee_s_ = "dev patel" | Which category was Dev Patel nominated for? | CREATE TABLE table_name_61 (category VARCHAR, winner_nominee_s_ VARCHAR) |
SELECT result FROM table_1341897_23 WHERE district = "Massachusetts 3" | Name the result for massachusetts 3 | CREATE TABLE table_1341897_23 (result VARCHAR, district VARCHAR) |
SELECT tues_25_aug FROM table_23465864_6 WHERE mon_24_aug = "22' 24.56 101.021mph" | What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph? | CREATE TABLE table_23465864_6 (tues_25_aug VARCHAR, mon_24_aug VARCHAR) |
SELECT game_site FROM table_11452830_2 WHERE record = "1-3" | Where was the game played when the team's record was 1-3? | CREATE TABLE table_11452830_2 (game_site VARCHAR, record VARCHAR) |
SELECT socket FROM table_name_28 WHERE part_number_s_ = "80526pz533256" | What kind of socket is on the microprocessor with a part number of 80526pz533256? | CREATE TABLE table_name_28 (socket VARCHAR, part_number_s_ VARCHAR) |
SELECT title FROM table_2818164_7 WHERE no_in_series = 147 | Which title has 147 as no. in series? | CREATE TABLE table_2818164_7 (title VARCHAR, no_in_series VARCHAR) |
SELECT tournament FROM table_name_96 WHERE 2009 = "2r" AND 2010 = "2r" | What is the tournament with a 2r in 2009 and a 2r in 2010? | CREATE TABLE table_name_96 (tournament VARCHAR) |
SELECT MAX(attendance) FROM table_name_80 WHERE date = "november 12, 1989" | What was the highest attendance on November 12, 1989? | CREATE TABLE table_name_80 (attendance INTEGER, date VARCHAR) |
SELECT AVG(laps) FROM table_name_23 WHERE time_retired = "+23.707" AND grid > 21 | What is the average lap time for retired time of +23.707 and a Grid greater than 21? | CREATE TABLE table_name_23 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) |
SELECT tv FROM table_11465521_2 WHERE opponent = "Minnesota Vikings" | Which channel had the game against the Minnesota Vikings? | CREATE TABLE table_11465521_2 (tv VARCHAR, opponent VARCHAR) |
SELECT championships_in_st_louis FROM table_21564794_3 WHERE began_in_st_louis = 1950 | How may championships were won by the team that started in 1950? | CREATE TABLE table_21564794_3 (championships_in_st_louis VARCHAR, began_in_st_louis VARCHAR) |
SELECT plyff FROM table_name_21 WHERE opponent = "billings outlaws" | What is the Plyff team that plays the Billings Outlaws? | CREATE TABLE table_name_21 (plyff VARCHAR, opponent VARCHAR) |
SELECT name, CLASS, rank FROM captain | Find the name, class and rank of all captains. | CREATE TABLE captain (name VARCHAR, CLASS VARCHAR, rank VARCHAR) |
SELECT rector FROM table_15873547_1 WHERE mascot = "Phoxes" | Who is the rector of the residence hall who's mascot is the phoxes? | CREATE TABLE table_15873547_1 (rector VARCHAR, mascot VARCHAR) |
SELECT initial_owners FROM table_name_57 WHERE year_built = 1858 AND name = "wasco" | Who were the initial owners of Wasco in 1858? | CREATE TABLE table_name_57 (initial_owners VARCHAR, year_built VARCHAR, name VARCHAR) |
SELECT ole_miss FROM table_name_90 WHERE year > 2008 AND mississippi_st = "eric moulds" | Who was the player associated with Ole Miss in years after 2008 with a Mississippi St. name of Eric Moulds? | CREATE TABLE table_name_90 (ole_miss VARCHAR, year VARCHAR, mississippi_st VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.