answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT identifier FROM table_name_17 WHERE power = "22500 watts" | what is the identifier when the power is 22500 watts? | CREATE TABLE table_name_17 (identifier VARCHAR, power VARCHAR) |
SELECT barony FROM table_30120555_1 WHERE area__acres__ = 24 | Which barony contains a townland with an area 24 acres? | CREATE TABLE table_30120555_1 (barony VARCHAR, area__acres__ VARCHAR) |
SELECT matches FROM table_13688489_1 WHERE goals_olimpia = 149 | What was the number of matches when the Goals Olimpia was 149? | CREATE TABLE table_13688489_1 (matches VARCHAR, goals_olimpia VARCHAR) |
SELECT remixed_by FROM table_name_70 WHERE version = "radio edit" | Who was the Radio Edit Version remixed by? | CREATE TABLE table_name_70 (remixed_by VARCHAR, version VARCHAR) |
SELECT COUNT(winning_driver) FROM table_1140116_6 WHERE race_name = "I Dessau Autobahnspinne" | How many winners did I Dessau Autobahnspinne have? | CREATE TABLE table_1140116_6 (winning_driver VARCHAR, race_name VARCHAR) |
SELECT conductor FROM table_29728787_1 WHERE count = "Hermann Uhde" | When hermann uhde is the count who is the conductor? | CREATE TABLE table_29728787_1 (conductor VARCHAR, count VARCHAR) |
SELECT college FROM table_name_27 WHERE pick > 7 | Which colleges have a pick above 7? | CREATE TABLE table_name_27 (college VARCHAR, pick INTEGER) |
SELECT first_year_aired FROM table_name_79 WHERE name = "zone rouge" | What year did Zone Rouge first air? | CREATE TABLE table_name_79 (first_year_aired VARCHAR, name VARCHAR) |
SELECT class FROM table_name_40 WHERE team = "rml" | What class is the RML Team? | CREATE TABLE table_name_40 (class VARCHAR, team VARCHAR) |
SELECT year FROM table_name_77 WHERE engine = "ferrari v6" | What year engine does a ferrari v6 have? | CREATE TABLE table_name_77 (year VARCHAR, engine VARCHAR) |
SELECT team FROM table_name_17 WHERE city_area = "birmingham & telford" | Which team is from Birmingham & Telford? | CREATE TABLE table_name_17 (team VARCHAR, city_area VARCHAR) |
SELECT winning_party_2007 FROM table_name_60 WHERE result = "labour hold" AND swing_to_gain < 7.11 AND constituency = "wrexham" | Name the winning party 2007 for result of labour hold and swing to gain less than 7.11 for wrexham | CREATE TABLE table_name_60 (winning_party_2007 VARCHAR, constituency VARCHAR, result VARCHAR, swing_to_gain VARCHAR) |
SELECT name FROM table_name_73 WHERE county = "hillsborough" AND proposed = "09/08/1983" | What name was proposed on 09/08/1983 in hillsborough county? | CREATE TABLE table_name_73 (name VARCHAR, county VARCHAR, proposed VARCHAR) |
SELECT 2012 FROM table_name_19 WHERE 2009 = "1r" | Name the 2012 for 2009 of 1r | CREATE TABLE table_name_19 (Id VARCHAR) |
SELECT teams FROM table_name_89 WHERE season = "1950-51" | what is the teams for season 1950-51? | CREATE TABLE table_name_89 (teams VARCHAR, season VARCHAR) |
SELECT AVG(points) FROM table_name_5 WHERE wins < 0 | What is the average points won when Carlos had 0 wins? | CREATE TABLE table_name_5 (points INTEGER, wins INTEGER) |
SELECT COUNT(round) FROM table_name_54 WHERE position = "defensive tackle" AND player = "andre fluellen" | What round was Andre Fluellen drafted as a Defensive Tackle? | CREATE TABLE table_name_54 (round VARCHAR, position VARCHAR, player VARCHAR) |
SELECT surface FROM table_name_9 WHERE semi_finalists = "conchita martínez arantxa sánchez" | Which Surface has a Semi finalists of conchita martínez arantxa sánchez? | CREATE TABLE table_name_9 (surface VARCHAR, semi_finalists VARCHAR) |
SELECT COUNT(round) FROM table_name_18 WHERE winning_manufacturer = "mercedes-benz" AND circuit = "hockenheimring" | What was the final number for the winning manufacturer with Mercedes-benz, and a circuit of hockenheimring? | CREATE TABLE table_name_18 (round VARCHAR, winning_manufacturer VARCHAR, circuit VARCHAR) |
SELECT Box AS score FROM table_name_79 WHERE score = "103-101" | What is the box score type for the game that has a score of 103-101? | CREATE TABLE table_name_79 (Box VARCHAR, score VARCHAR) |
SELECT runner_s__up FROM table_name_52 WHERE tournament = "rr donnelley lpga founders cup" | Who was the runner-up in the RR Donnelley LPGA Founders Cup? | CREATE TABLE table_name_52 (runner_s__up VARCHAR, tournament VARCHAR) |
SELECT location FROM table_name_37 WHERE rank < 5 AND time > 10.7 AND date = "10 july 2009" | Rank smaller than 5, and a Time larger than 10.7, and a Date of 10 july 2009 has what location? | CREATE TABLE table_name_37 (location VARCHAR, date VARCHAR, rank VARCHAR, time VARCHAR) |
SELECT project_id FROM Documents GROUP BY project_id HAVING COUNT(*) >= 2 | Show the ids for projects with at least 2 documents. | CREATE TABLE Documents (project_id VARCHAR) |
SELECT manager FROM table_name_6 WHERE year < 1994 AND finish = "5th" | who is the manager when the year is before 1994 and finish is 5th? | CREATE TABLE table_name_6 (manager VARCHAR, year VARCHAR, finish VARCHAR) |
SELECT COUNT(power_kw) AS @rpm FROM table_11497980_1 WHERE model = "13.180" | What is the power kw@RPM of the 13.180 model? | CREATE TABLE table_11497980_1 (power_kw VARCHAR, model VARCHAR) |
SELECT player FROM table_name_58 WHERE mlb_team = "florida marlins" AND round < 15 | What is Player, when MLB Team is "Florida Marlins", and when Round is less than 15? | CREATE TABLE table_name_58 (player VARCHAR, mlb_team VARCHAR, round VARCHAR) |
SELECT loss FROM table_name_39 WHERE date = "june 12" | What Loss occured on the Date of June 12? | CREATE TABLE table_name_39 (loss VARCHAR, date VARCHAR) |
SELECT method FROM table_name_31 WHERE opponent = "akihiro gono" | What is the method of resolution for the fight against akihiro gono? | CREATE TABLE table_name_31 (method VARCHAR, opponent VARCHAR) |
SELECT COUNT(points) FROM table_name_71 WHERE draw = 4 | What is the total number of points when draw is 4? | CREATE TABLE table_name_71 (points VARCHAR, draw VARCHAR) |
SELECT Famous_Title FROM artist WHERE Artist = "Triumfall" | What are the famous titles of the artist "Triumfall"? | CREATE TABLE artist (Famous_Title VARCHAR, Artist VARCHAR) |
SELECT music FROM table_name_60 WHERE record_label = "moviebox/ speed records / music waves" | Which Music has a Record label of moviebox/ speed records / music waves? | CREATE TABLE table_name_60 (music VARCHAR, record_label VARCHAR) |
SELECT laps FROM table_name_17 WHERE car_no = "23" | How many laps did car 23 do? | CREATE TABLE table_name_17 (laps VARCHAR, car_no VARCHAR) |
SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197) | What Tournament has a Winning score of −16 (66-64-67=197)? | CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR) |
SELECT score_in_final FROM table_26309085_1 WHERE year = 1986 | What was the final score in 1986? | CREATE TABLE table_26309085_1 (score_in_final VARCHAR, year VARCHAR) |
SELECT score FROM table_name_83 WHERE opponent_in_the_final = "katerina maleeva" | What was the score for the opponent against Katerina Maleeva in the final? | CREATE TABLE table_name_83 (score VARCHAR, opponent_in_the_final VARCHAR) |
SELECT MIN(matches) FROM table_name_59 WHERE win__percentage = "28.68%" AND lost < 97 | What is the smallest number of Matches with less than 97 losses and a Win rate of 28.68%? | CREATE TABLE table_name_59 (matches INTEGER, win__percentage VARCHAR, lost VARCHAR) |
SELECT player FROM table_name_36 WHERE conv = "0" AND date = "04/05/1999" | What player played on 04/05/1999 with a conv of 0? | CREATE TABLE table_name_36 (player VARCHAR, conv VARCHAR, date VARCHAR) |
SELECT away_team AS score FROM table_name_43 WHERE venue = "punt road oval" | What is the away team that plays at Punt Road Oval? | CREATE TABLE table_name_43 (away_team VARCHAR, venue VARCHAR) |
SELECT authority FROM table_name_18 WHERE roll = 651 | Which authority had a role of 651? | CREATE TABLE table_name_18 (authority VARCHAR, roll VARCHAR) |
SELECT COUNT(area_km_2) FROM table_170969_2 WHERE official_name = "West Isles" | How many areas are named West Isles? | CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR) |
SELECT peak_date FROM table_name_1 WHERE main_artist = "kelis" | What was the peak date of Kelis's song? | CREATE TABLE table_name_1 (peak_date VARCHAR, main_artist VARCHAR) |
SELECT date FROM table_name_48 WHERE home_team = "essendon" | What Date did the Home team play in essendon? | CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR) |
SELECT original_air_date FROM table_28210383_1 WHERE prod_code = "2ACX12" | What was the orginal air date for episodes with production code 2acx12? | CREATE TABLE table_28210383_1 (original_air_date VARCHAR, prod_code VARCHAR) |
SELECT owner FROM table_name_33 WHERE broadcasting_area = "sanam pao" | Who's the owner of Sanam Pao as the broadcasting area? | CREATE TABLE table_name_33 (owner VARCHAR, broadcasting_area VARCHAR) |
SELECT gtype FROM Video_games WHERE gname = "Call of Destiny" | What is the type of video game Call of Destiny. | CREATE TABLE Video_games (gtype VARCHAR, gname VARCHAR) |
SELECT womens_doubles FROM table_12266757_1 WHERE season = "1951/1952" | Where were the Womens Doubles in the 1951/1952 season and who won? | CREATE TABLE table_12266757_1 (womens_doubles VARCHAR, season VARCHAR) |
SELECT season FROM table_14609295_4 WHERE overall = "24-10" | What season was the overall record 24-10? | CREATE TABLE table_14609295_4 (season VARCHAR, overall VARCHAR) |
SELECT locomotive FROM table_name_59 WHERE operator = "southern shorthaul railroad" AND entered_service = "november 1984" | Which Locomotive Entered Service in November 1984 and has an Operator of Southern Shorthaul Railroad? | CREATE TABLE table_name_59 (locomotive VARCHAR, operator VARCHAR, entered_service VARCHAR) |
SELECT DISTINCT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.grade = 1 EXCEPT SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER" | Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names. | CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR, grade VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) |
SELECT score FROM table_23248967_5 WHERE team = "New Orleans" | What was the score against New Orleans? | CREATE TABLE table_23248967_5 (score VARCHAR, team VARCHAR) |
SELECT landesliga_süd FROM table_20181270_3 WHERE bayernliga = "SG Quelle Fürth" | Name the landesliga sud for sg quelle fürth | CREATE TABLE table_20181270_3 (landesliga_süd VARCHAR, bayernliga VARCHAR) |
SELECT player FROM table_197638_6 WHERE us_open = 1937 | Who won the US Open in 1937? | CREATE TABLE table_197638_6 (player VARCHAR, us_open VARCHAR) |
SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.city_code = "HOU" | Find the names of the clubs that have at least a member from the city with city code "HOU". | CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, city_code VARCHAR) |
SELECT status FROM table_name_30 WHERE against > 6 AND date = "01/02/1975" | WHat status had an against larger than 6 and a date of 01/02/1975? | CREATE TABLE table_name_30 (status VARCHAR, against VARCHAR, date VARCHAR) |
SELECT points FROM table_12807904_5 WHERE lost = "13" | what amount of points were lost by 13? | CREATE TABLE table_12807904_5 (points VARCHAR, lost VARCHAR) |
SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Nitrous oxide" | What is the 20 year for Nitrous Oxide? | CREATE TABLE table_21350772_2 (gas_name VARCHAR) |
SELECT college FROM table_21321804_5 WHERE player = "Derik Fury" | Derik Fury plays for which college? | CREATE TABLE table_21321804_5 (college VARCHAR, player VARCHAR) |
SELECT COUNT(carrier) FROM table_19246_1 WHERE frequency = "900MHz and 1800MHz" AND launch_date__ddmmyyyy_ = "14.09.2005" | When the launch date is 14.09.2005, and the frequency is 900mhz and 1800mhz, how many carriers are there? | CREATE TABLE table_19246_1 (carrier VARCHAR, frequency VARCHAR, launch_date__ddmmyyyy_ VARCHAR) |
SELECT COUNT(founded) FROM table_26218124_1 WHERE stadium = "Westfalenstadion" | How many clubs were founded in the westfalenstadion stadium? | CREATE TABLE table_26218124_1 (founded VARCHAR, stadium VARCHAR) |
SELECT SUM(lane) FROM table_name_15 WHERE react = 0.185 AND time < 20.9 | Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 swim in? | CREATE TABLE table_name_15 (lane INTEGER, react VARCHAR, time VARCHAR) |
SELECT medal FROM table_name_71 WHERE sport = "boxing" AND games = "1970 edinburgh" AND name = "james odwori" | What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games? | CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR) |
SELECT country FROM table_name_81 WHERE player = "gary evans" | From what Country is Gary Evans? | CREATE TABLE table_name_81 (country VARCHAR, player VARCHAR) |
SELECT institution FROM table_262560_1 WHERE founded = 1920 | Name the place that was founded in 1920 | CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR) |
SELECT COUNT(scored) FROM table_name_28 WHERE position > 6 | Name the Scored which has a Position larger than 6? | CREATE TABLE table_name_28 (scored VARCHAR, position INTEGER) |
SELECT branding FROM table_name_66 WHERE frequency = "fm 88.9" | What is the branding for fm 88.9? | CREATE TABLE table_name_66 (branding VARCHAR, frequency VARCHAR) |
SELECT event FROM table_name_16 WHERE method = "points" AND notes = "opening round" | I want the event for method of points with notes of opening round | CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, notes VARCHAR) |
SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis" | What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007? | CREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR) |
SELECT charter_range FROM table_name_85 WHERE school = "montana state university" | What are the active dates for the Montana State University chapter? | CREATE TABLE table_name_85 (charter_range VARCHAR, school VARCHAR) |
SELECT venue FROM table_name_59 WHERE team_2 = "pea" AND score = "1:3" | What was the venue of the match where team 2 was pea and the score was 1:3? | CREATE TABLE table_name_59 (venue VARCHAR, team_2 VARCHAR, score VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position = "rw" AND player = "don murdoch" | What is the College/Junior/Club Team (League) when the position is rw, and the player is Don Murdoch? | CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) |
SELECT MIN(fa_cup_goals) FROM table_name_55 WHERE fa_cup_apps = "4" AND total_apps = "49" AND total_goals > 17 | What is the smallest number of FA Cup Goals for players with 4 FA Cup Appearances, 49 Total Appearances, and more than 17 total goals? | CREATE TABLE table_name_55 (fa_cup_goals INTEGER, total_goals VARCHAR, fa_cup_apps VARCHAR, total_apps VARCHAR) |
SELECT COUNT(highest) FROM table_237757_10 WHERE low_team = "Baltimore Rays" | How many entries for highest when the low team was baltimore rays? | CREATE TABLE table_237757_10 (highest VARCHAR, low_team VARCHAR) |
SELECT grand_prix FROM table_name_58 WHERE winning_driver = "david coulthard" AND pole_position = "michael schumacher" AND round < 9 | Which Grand Prix did David Coulthard win with Michael Schumacher in the pole position before round 9? | CREATE TABLE table_name_58 (grand_prix VARCHAR, round VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) |
SELECT SUM(december) FROM table_name_95 WHERE july = 0.36 AND february > 0.35000000000000003 | What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February? | CREATE TABLE table_name_95 (december INTEGER, july VARCHAR, february VARCHAR) |
SELECT COUNT(interview) FROM table_name_36 WHERE state = "indiana" AND average < 8.3 | What is the total interview score a contestant from Indiana with an average smaller than 8.3 has? | CREATE TABLE table_name_36 (interview VARCHAR, state VARCHAR, average VARCHAR) |
SELECT result FROM table_name_7 WHERE attendance = "54,814" | What is the result when the attendance is 54,814? | CREATE TABLE table_name_7 (result VARCHAR, attendance VARCHAR) |
SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290 | What is the to par of the player with a t4 place and a score of 75-69-74-72=290? | CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR) |
SELECT average FROM table_16390001_2 WHERE interview = "8.011" | What are the average scores of contestants whose interview score is 8.011? | CREATE TABLE table_16390001_2 (average VARCHAR, interview VARCHAR) |
SELECT result FROM table_name_72 WHERE week = 16 | What is Result, when Week is 16? | CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR) |
SELECT COUNT(first_elected) FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens" | William Fadjo Cravens is the only candidate who was first elected in 1939. | CREATE TABLE table_1342270_5 (first_elected VARCHAR, incumbent VARCHAR) |
SELECT result FROM table_name_98 WHERE competition = "2002 fifa world cup qualification" AND goal < 10 | What was the final score in a 2002 fifa world cup qualification that was less than 10? | CREATE TABLE table_name_98 (result VARCHAR, competition VARCHAR, goal VARCHAR) |
SELECT result FROM table_name_41 WHERE attendance = "72,949" | What is the Result of the game with 72,949 in attendance? | CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR) |
SELECT pos FROM table_name_52 WHERE asts < 117 | What's the pos for an asts less than 117? | CREATE TABLE table_name_52 (pos VARCHAR, asts INTEGER) |
SELECT class FROM table_20016339_1 WHERE pts = 0 AND team = "Italtrans Racing team" | What's Italtrans Racing Team's, with 0 pts, class? | CREATE TABLE table_20016339_1 (class VARCHAR, pts VARCHAR, team VARCHAR) |
SELECT AVG(total) FROM table_name_76 WHERE bronze < 8 AND silver = 3 AND rank < 2 | What is the average total with less than 8 bronze, 3 silver, and a Rank smaller than 2? | CREATE TABLE table_name_76 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) |
SELECT chassis FROM table_name_89 WHERE team = "marlboro brm" | Which chassis has marlboro brm as the team? | CREATE TABLE table_name_89 (chassis VARCHAR, team VARCHAR) |
SELECT pa FROM table_1370559_1 WHERE pf = 77 | What is the PA when the PF is 77? | CREATE TABLE table_1370559_1 (pa VARCHAR, pf VARCHAR) |
SELECT status FROM table_name_28 WHERE country = "eng" AND name = "maynard" | What is the status of the Eng Country from the Maynard name? | CREATE TABLE table_name_28 (status VARCHAR, country VARCHAR, name VARCHAR) |
SELECT original_season FROM table_name_15 WHERE placing = "11th place" | What's the original season in 11th place? | CREATE TABLE table_name_15 (original_season VARCHAR, placing VARCHAR) |
SELECT SUM(enrollment) FROM table_name_28 WHERE location = "culver" | What is the sum of enrollments for schools located in Culver? | CREATE TABLE table_name_28 (enrollment INTEGER, location VARCHAR) |
SELECT hangul FROM table_name_48 WHERE kana = "へいあんなんどう" | What is the Hangul of the Province with a Kana of へいあんなんどう? | CREATE TABLE table_name_48 (hangul VARCHAR, kana VARCHAR) |
SELECT method FROM table_name_67 WHERE round > 2 AND res = "loss" AND record = "15–3" | What is the method for a match with a Round larger than 2, he took a loss, and 15–3 was the record? | CREATE TABLE table_name_67 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR) |
SELECT score FROM table_name_43 WHERE visitor = "spurs" | What was the score when the spurs were the visitors? | CREATE TABLE table_name_43 (score VARCHAR, visitor VARCHAR) |
SELECT date FROM table_name_26 WHERE partner = "pere riba" | What date was the match where Daniel Gimeno-Traver's partner was pere riba? | CREATE TABLE table_name_26 (date VARCHAR, partner VARCHAR) |
SELECT loss FROM table_name_1 WHERE record = "76-81" | Name the loss when the record is 76-81 | CREATE TABLE table_name_1 (loss VARCHAR, record VARCHAR) |
SELECT COUNT(tar_heels_points) FROM table_20745444_1 WHERE result = "Loss" | How many results finished in a loss? | CREATE TABLE table_20745444_1 (tar_heels_points VARCHAR, result VARCHAR) |
SELECT MIN(number) FROM table_name_90 WHERE hometown = "bellwood, il" | What is the lowest number of the player with a hometown of Bellwood, IL? | CREATE TABLE table_name_90 (number INTEGER, hometown VARCHAR) |
SELECT visiting_team FROM table_name_24 WHERE week < 12 AND stadium = "sports authority field at mile high" | Who was the visiting team on weeks under 12 and at Sports Authority Field at Mile High? | CREATE TABLE table_name_24 (visiting_team VARCHAR, week VARCHAR, stadium VARCHAR) |
SELECT airline FROM table_name_51 WHERE notes = "aoc 135" | What is the Airline when the notes show aoc 135? | CREATE TABLE table_name_51 (airline VARCHAR, notes VARCHAR) |
SELECT result FROM table_22853654_9 WHERE opponent = "Alexander Shvec" | Name the result for alexander shvec | CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.