instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the Remark of Airline of Dutch Antilles Express? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR) | SELECT remarks FROM table_name_79 WHERE airline = "dutch antilles express" |
Write a SQL query that answers the following question: What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (category VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) | SELECT category FROM table_name_25 WHERE year < 2006 AND result = "nominated" AND title = "cold feet" |
Write a SQL query that answers the following question: What is recorded as the lowest Year that has the Title of Cold Feet? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year INTEGER, title VARCHAR) | SELECT MIN(year) FROM table_name_96 WHERE title = "cold feet" |
Write a SQL query that answers the following question: What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (category VARCHAR, title VARCHAR, result VARCHAR, year VARCHAR) | SELECT category FROM table_name_64 WHERE result = "nominated" AND year = 2006 AND title = "pierrepoint" |
Write a SQL query that answers the following question: What Title is listed for the Year of 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (title VARCHAR, year VARCHAR) | SELECT title FROM table_name_63 WHERE year = 1999 |
Write a SQL query that answers the following question: What is the total number of Year for the Title of The Queen, has an Award of British Academy Film Award, and has a Result of Won? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (year VARCHAR, result VARCHAR, title VARCHAR, award VARCHAR) | SELECT COUNT(year) FROM table_name_82 WHERE title = "the queen" AND award = "british academy film award" AND result = "won" |
Write a SQL query that answers the following question: What was the date of the game against Northwestern? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_62 WHERE opponent = "northwestern" |
Write a SQL query that answers the following question: Who was the opponent when the city was Louisville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (opponent VARCHAR, city VARCHAR) | SELECT opponent FROM table_name_44 WHERE city = "louisville" |
Write a SQL query that answers the following question: What was the score of the game against Minnesota? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_55 WHERE opponent = "minnesota" |
Write a SQL query that answers the following question: On what date was a friendly competition and a result of 3–0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date VARCHAR, competition VARCHAR, result VARCHAR) | SELECT date FROM table_name_69 WHERE competition = "friendly" AND result = "3–0" |
Write a SQL query that answers the following question: When was the score 1–0, and the result 4–0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date VARCHAR, score VARCHAR, result VARCHAR) | SELECT date FROM table_name_67 WHERE score = "1–0" AND result = "4–0" |
Write a SQL query that answers the following question: What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_17 WHERE venue = "dakar , senegal" AND date = "3 september 2011" AND score = "2–0" |
Write a SQL query that answers the following question: Which time has a Rank larger than 3, and a Name of andrey kapralov? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (time VARCHAR, rank VARCHAR, name VARCHAR) | SELECT time FROM table_name_31 WHERE rank > 3 AND name = "andrey kapralov" |
Write a SQL query that answers the following question: Which Nationality has a Name of igor koleda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_42 WHERE name = "igor koleda" |
Write a SQL query that answers the following question: Where is the headquarters of the getinge group located? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR) | SELECT headquarters FROM table_name_26 WHERE company = "getinge group" |
Write a SQL query that answers the following question: How much is the total assets of a company based in Stockholm, Sweden with a market capitalization smaller than 39.8 with revenues greater than 5.8 and profit of 1.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (s_asset__billion_ VARCHAR, profits__billion_$_ VARCHAR, revenue__billion_$__ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR) | SELECT COUNT(s_asset__billion_) AS $_ FROM table_name_14 WHERE headquarters = "stockholm, sweden" AND market_value__billion_$_ < 39.8 AND revenue__billion_$__ > 5.8 AND profits__billion_$_ = 1.1 |
Write a SQL query that answers the following question: Name the date for zi yan jie zheng opponent | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_64 WHERE opponents = "zi yan jie zheng" |
Write a SQL query that answers the following question: Name the partner for 14 october 2007 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (partner VARCHAR, date VARCHAR) | SELECT partner FROM table_name_75 WHERE date = "14 october 2007" |
Write a SQL query that answers the following question: Name the partner for opponents of alexandra dulgheru magdaléna rybáriková | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (partner VARCHAR, opponents VARCHAR) | SELECT partner FROM table_name_43 WHERE opponents = "alexandra dulgheru magdaléna rybáriková" |
Write a SQL query that answers the following question: Name the opponents for 24 july 2011 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_45 WHERE date = "24 july 2011" |
Write a SQL query that answers the following question: What is Ken Walter's lowest pick number with an overall pick number larger than 195? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (pick__number INTEGER, name VARCHAR, overall VARCHAR) | SELECT MIN(pick__number) FROM table_name_28 WHERE name = "ken walter" AND overall > 195 |
Write a SQL query that answers the following question: What does Polyphenyl Ether of 3- and 4-ring oxythio look like? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR) | SELECT appearance FROM table_name_80 WHERE polyphenyl_ether = "3- and 4-ring oxythio" |
Write a SQL query that answers the following question: How long was the course from Naples to Foggia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (distance VARCHAR, course VARCHAR) | SELECT distance FROM table_name_2 WHERE course = "naples to foggia" |
Write a SQL query that answers the following question: Name the score with opponent of milos raonic | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_82 WHERE opponent = "milos raonic" |
Write a SQL query that answers the following question: Name the date with a hard surface and tournament of usa f5, brownsville | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_83 WHERE surface = "hard" AND tournament = "usa f5, brownsville" |
Write a SQL query that answers the following question: Name the outcome with tournament of mexico f12, obregón | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (outcome VARCHAR, tournament VARCHAR) | SELECT outcome FROM table_name_57 WHERE tournament = "mexico f12, obregón" |
Write a SQL query that answers the following question: Name the tournament for march 25, 2012 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012" |
Write a SQL query that answers the following question: What was the final score for the August 25, 1996 match? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_29 WHERE date = "august 25, 1996" |
Write a SQL query that answers the following question: What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR) | SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6" |
Write a SQL query that answers the following question: What entrant had a Maserati 250F chassis and fewer than 6 points before 1957? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_17 WHERE chassis = "maserati 250f" AND year < 1957 AND points < 6 |
Write a SQL query that answers the following question: What chassis has a year of 1951? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_7 WHERE year = 1951 |
Write a SQL query that answers the following question: What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR, engine VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_55 WHERE engine = "maserati straight-6" AND entrant = "officine alfieri maserati" AND points < 6 |
Write a SQL query that answers the following question: Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR) | SELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = "michael klim" AND rank < 1 |
Write a SQL query that answers the following question: What is the lowest lane with Lorenzo Vismara and a time higher than 49.67? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (lane INTEGER, name VARCHAR, time VARCHAR) | SELECT MIN(lane) FROM table_name_69 WHERE name = "lorenzo vismara" AND time > 49.67 |
Write a SQL query that answers the following question: Who was the home team on January 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_41 WHERE date = "january 8" |
Write a SQL query that answers the following question: Who was the Opponent when the Attendance was 38,150? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_25 WHERE attendance = "38,150" |
Write a SQL query that answers the following question: Where is NCAA division ii Franklin Pierce University located at? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (location VARCHAR, classification VARCHAR, institution VARCHAR) | SELECT location FROM table_name_54 WHERE classification = "ncaa division ii" AND institution = "franklin pierce university" |
Write a SQL query that answers the following question: Post University has what nickname? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (nickname VARCHAR, institution VARCHAR) | SELECT nickname FROM table_name_4 WHERE institution = "post university" |
Write a SQL query that answers the following question: The River Hawks belonged to what current conference? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (current_conference VARCHAR, nickname VARCHAR) | SELECT current_conference FROM table_name_6 WHERE nickname = "river hawks" |
Write a SQL query that answers the following question: What is the nickname of the school located in Manchester, New Hampshire? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (nickname VARCHAR, location VARCHAR) | SELECT nickname FROM table_name_54 WHERE location = "manchester, new hampshire" |
Write a SQL query that answers the following question: What is the classification for the school in the NEC Conference located in New Britain, Connecticut? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR) | SELECT classification FROM table_name_4 WHERE current_conference = "nec" AND location = "new britain, connecticut" |
Write a SQL query that answers the following question: What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR) | SELECT institution FROM table_name_48 WHERE classification = "ncaa division i" AND current_conference = "nec" AND nickname = "blue devils" |
Write a SQL query that answers the following question: What was the record at the home of the Montreal Maroons | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_59 WHERE home = "montreal maroons" |
Write a SQL query that answers the following question: which school shows #/county of 29 hamilton? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR) | SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton" |
Write a SQL query that answers the following question: what is the mascot for the enrollment 08-09 of 320? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (mascot VARCHAR, enrollment_08_09 VARCHAR) | SELECT mascot FROM table_name_73 WHERE enrollment_08_09 = 320 |
Write a SQL query that answers the following question: what is the school in michigantown? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR) | SELECT school FROM table_name_93 WHERE location = "michigantown" |
Write a SQL query that answers the following question: Which episode number was associated with Vibhav Gautam? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (episode_number VARCHAR, name VARCHAR) | SELECT episode_number FROM table_name_1 WHERE name = "vibhav gautam" |
Write a SQL query that answers the following question: Which city/state was associated with a contestant whose status was 2nd runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (city_state VARCHAR, status VARCHAR) | SELECT city_state FROM table_name_52 WHERE status = "2nd runner-up" |
Write a SQL query that answers the following question: Which contestant was associated with episode 34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR) | SELECT name FROM table_name_30 WHERE episode_number = "episode 34" |
Write a SQL query that answers the following question: What is the status of the city/state of Indor, Madhya Pradesh? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (status VARCHAR, city_state VARCHAR) | SELECT status AS Date FROM table_name_1 WHERE city_state = "indor, madhya pradesh" |
Write a SQL query that answers the following question: What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (role VARCHAR, director VARCHAR, title VARCHAR) | SELECT role FROM table_name_56 WHERE director = "r.n. bradbury" AND title = "the trail beyond" |
Write a SQL query that answers the following question: Who directed the movie The Star Packer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_79 WHERE title = "the star packer" |
Write a SQL query that answers the following question: What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (role VARCHAR, leading_lady VARCHAR, title VARCHAR) | SELECT role FROM table_name_42 WHERE leading_lady = "sheila terry" AND title = "the lawless frontier" |
Write a SQL query that answers the following question: In what movie did John Wayne play the role of Chris Morrell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (title VARCHAR, role VARCHAR) | SELECT title FROM table_name_54 WHERE role = "chris morrell" |
Write a SQL query that answers the following question: What role did John Wayne play with Verna Hillie as the leading lady? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (role VARCHAR, leading_lady VARCHAR) | SELECT role FROM table_name_80 WHERE leading_lady = "verna hillie" |
Write a SQL query that answers the following question: Who directed the movie when John Wayne played the role of John Travers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR) | SELECT director FROM table_name_54 WHERE role = "john travers" |
Write a SQL query that answers the following question: What is the record for November 26, with the decision made by Prusek? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (record VARCHAR, decision VARCHAR, date VARCHAR) | SELECT record FROM table_name_44 WHERE decision = "prusek" AND date = "november 26" |
Write a SQL query that answers the following question: What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (record VARCHAR, home VARCHAR, visitor VARCHAR, decision VARCHAR) | SELECT record FROM table_name_3 WHERE visitor = "columbus" AND decision = "denis" AND home = "phoenix" |
Write a SQL query that answers the following question: What is the record for November 4, with a decision made by Denis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (record VARCHAR, decision VARCHAR, date VARCHAR) | SELECT record FROM table_name_10 WHERE decision = "denis" AND date = "november 4" |
Write a SQL query that answers the following question: What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (intergiro_classification VARCHAR, points_classification VARCHAR, winner VARCHAR) | SELECT intergiro_classification FROM table_name_34 WHERE points_classification = "fabrizio guidi" AND winner = "nicolaj bo larsen" |
Write a SQL query that answers the following question: What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR) | SELECT mountains_classification FROM table_name_60 WHERE winner = "mario cipollini" AND general_classification = "pavel tonkov" |
Write a SQL query that answers the following question: What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (stage VARCHAR, winner VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR) | SELECT stage FROM table_name_13 WHERE trofeo_fast_team = "gewiss playbus" AND points_classification = "fabrizio guidi" AND winner = "fabiano fontanelli" |
Write a SQL query that answers the following question: What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) | SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin" |
Write a SQL query that answers the following question: What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR) | SELECT trofeo_fast_team FROM table_name_67 WHERE points_classification = "silvio martinello" AND stage = "6" |
Write a SQL query that answers the following question: How many points did the Castres have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (points_for VARCHAR, club VARCHAR) | SELECT points_for FROM table_name_59 WHERE club = "castres" |
Write a SQL query that answers the following question: Who is the club that had 617 points and a draw of 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (club VARCHAR, drawn VARCHAR, points_for VARCHAR) | SELECT club FROM table_name_37 WHERE drawn = "0" AND points_for = "617" |
Write a SQL query that answers the following question: What number of bonus points did Stade Français? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (bonus_points VARCHAR, club VARCHAR) | SELECT bonus_points FROM table_name_38 WHERE club = "stade français" |
Write a SQL query that answers the following question: Who was the opponent at the game when the record was 15–15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_68 WHERE record = "15–15" |
Write a SQL query that answers the following question: Who was the opponent at the game attended by 23,203? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_63 WHERE attendance = "23,203" |
Write a SQL query that answers the following question: What was the loss of the game when the record was 16–15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_19 WHERE record = "16–15" |
Write a SQL query that answers the following question: What was the attendance at the game that had a score of 16–7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_8 WHERE score = "16–7" |
Write a SQL query that answers the following question: What was the date of the game attended by 25,022? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_70 WHERE attendance = "25,022" |
Write a SQL query that answers the following question: Which record has an attendance larger than 28,459? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER) | SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459 |
Write a SQL query that answers the following question: When the record was 32-37 what was the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_92 WHERE record = "32-37" |
Write a SQL query that answers the following question: On the date of june 7 what was the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_31 WHERE date = "june 7" |
Write a SQL query that answers the following question: What was the score of the game when the record was 68-39? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_8 WHERE record = "68-39" |
Write a SQL query that answers the following question: What was the game of the game against the White Sox with a record of 81-48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT date FROM table_name_75 WHERE opponent = "white sox" AND record = "81-48" |
Write a SQL query that answers the following question: What was the date of the game when the record was 66-38? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_54 WHERE record = "66-38" |
Write a SQL query that answers the following question: What category was Brian D'arcy James nominated for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (category VARCHAR, nominee VARCHAR, result VARCHAR) | SELECT category FROM table_name_6 WHERE nominee = "brian d'arcy james" AND result = "nominated" |
Write a SQL query that answers the following question: What is the item "Moving to", when the Transfer fee is £300,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (moving_to VARCHAR, transfer_fee VARCHAR) | SELECT moving_to FROM table_name_56 WHERE transfer_fee = "£300,000" |
Write a SQL query that answers the following question: What is the Country, when the Transfer fee is "loan", and when the Name is Lynch? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR) | SELECT country FROM table_name_94 WHERE transfer_fee = "loan" AND name = "lynch" |
Write a SQL query that answers the following question: What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR) | SELECT transfer_window FROM table_name_86 WHERE transfer_fee = "free" AND name = "dugdale" |
Write a SQL query that answers the following question: What is the Name, when the Transfer fee is "loan"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (name VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_80 WHERE transfer_fee = "loan" |
Write a SQL query that answers the following question: What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city" |
Write a SQL query that answers the following question: What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR) | SELECT transfer_fee FROM table_name_94 WHERE transfer_window = "winter" AND moving_to = "northwich victoria" |
Write a SQL query that answers the following question: What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11" |
Write a SQL query that answers the following question: What shows as the Time/Retired for Grid 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_2 WHERE grid = "8" |
Write a SQL query that answers the following question: What is the number of laps for Grid 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR) | SELECT laps FROM table_name_36 WHERE grid = "3" |
Write a SQL query that answers the following question: What company was the constructor when Nick Heidfeld was the driver/ | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_50 WHERE driver = "nick heidfeld" |
Write a SQL query that answers the following question: What shows for laps when the Time/Retired was +1:08.577? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (laps VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_48 WHERE time_retired = "+1:08.577" |
Write a SQL query that answers the following question: What is the name of the constructor for Grid 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_11 WHERE grid = "1" |
Write a SQL query that answers the following question: When was Mushfiqur Rahim's test career? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR) | SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim" |
Write a SQL query that answers the following question: Name the sum of points for 1984 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (points INTEGER, year INTEGER) | SELECT SUM(points) FROM table_name_95 WHERE year < 1984 |
Write a SQL query that answers the following question: Name the points for Engine of chevrolet 265c | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR) | SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c" |
Write a SQL query that answers the following question: Name the chassis of 147 points and engine of ford cosworth dfx | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR) | SELECT chassis FROM table_name_43 WHERE points = 147 AND engine = "ford cosworth dfx" |
Write a SQL query that answers the following question: Which term had a Democratic representative from district 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR) | SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic" |
Write a SQL query that answers the following question: What was the term of Bruce Biers Kendall whose hometown is Anchorage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR) | SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall" |
Write a SQL query that answers the following question: What is the hometown of the representative that served the twenty-sixth legislature? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR) | SELECT hometown FROM table_name_22 WHERE legislatures = "twenty-sixth" |
Write a SQL query that answers the following question: What is the qual with a 19 rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (qual VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_28 WHERE rank = "19" |
Write a SQL query that answers the following question: What rank has a 25 finish? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_33 WHERE finish = "25" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.