instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What was the result of the game with a score of 3-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_99 WHERE score = "3-2" |
Write a SQL query that answers the following question: What was the score of the 2014 World Cup Qualification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_91 WHERE competition = "2014 world cup qualification" |
Write a SQL query that answers the following question: What was the result of the game with a score of 4-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_65 WHERE score = "4-1" |
Write a SQL query that answers the following question: What venue held with game with a score of 3-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_42 WHERE score = "3-2" |
Write a SQL query that answers the following question: When has a Centerfold model of krista kelly? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (date VARCHAR, centerfold_model VARCHAR) | SELECT date FROM table_name_20 WHERE centerfold_model = "krista kelly" |
Write a SQL query that answers the following question: Which 20 Questions has a Cover model of rena mero , torrie wilson (two alternative covers)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (cover_model VARCHAR) | SELECT 20 AS _questions FROM table_name_60 WHERE cover_model = "rena mero , torrie wilson (two alternative covers)" |
Write a SQL query that answers the following question: When Centerfold model is on 3-04? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (centerfold_model VARCHAR, date VARCHAR) | SELECT centerfold_model FROM table_name_80 WHERE date = "3-04" |
Write a SQL query that answers the following question: Which Cover model has a Centerfold model of scarlett keegan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (cover_model VARCHAR, centerfold_model VARCHAR) | SELECT cover_model FROM table_name_22 WHERE centerfold_model = "scarlett keegan" |
Write a SQL query that answers the following question: When has a Centerfold model of pilar lastra? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, centerfold_model VARCHAR) | SELECT date FROM table_name_95 WHERE centerfold_model = "pilar lastra" |
Write a SQL query that answers the following question: What is the lowest share with an air date of March 21, 2008 and had viewers larger than 5.15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (share INTEGER, air_date VARCHAR, viewers VARCHAR) | SELECT MIN(share) FROM table_name_8 WHERE air_date = "march 21, 2008" AND viewers > 5.15 |
Write a SQL query that answers the following question: What is the lowest team (s) that have tvmk as top scorer (s) and flora as the champion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (team_s_ INTEGER, top_goalscorer_s_ VARCHAR, champion VARCHAR) | SELECT MIN(team_s_) FROM table_name_31 WHERE top_goalscorer_s_ = "tvmk" AND champion = "flora" |
Write a SQL query that answers the following question: What round had the opponent Lyon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (round VARCHAR, opposition VARCHAR) | SELECT round FROM table_name_1 WHERE opposition = "lyon" |
Write a SQL query that answers the following question: Who has the first leg that has a round in the semi-final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (first_leg VARCHAR, round VARCHAR) | SELECT first_leg FROM table_name_53 WHERE round = "semi-final" |
Write a SQL query that answers the following question: What is Most Laps Led, when Winning Team is Chip Ganassi Racing, and when Fastest Lap is Marco Andretti? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (most_laps_led VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR) | SELECT most_laps_led FROM table_name_28 WHERE winning_team = "chip ganassi racing" AND fastest_lap = "marco andretti" |
Write a SQL query that answers the following question: Who is the Winning Driver, when Most Laps Led is Dario Franchitti, and when Pole Position is Hélio Castroneves? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (winning_driver VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR) | SELECT winning_driver FROM table_name_10 WHERE most_laps_led = "dario franchitti" AND pole_position = "hélio castroneves" |
Write a SQL query that answers the following question: What is Winning Team, when Most Laps Led is Alex Tagliani? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (winning_team VARCHAR, most_laps_led VARCHAR) | SELECT winning_team FROM table_name_21 WHERE most_laps_led = "alex tagliani" |
Write a SQL query that answers the following question: What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (winning_driver VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR) | SELECT winning_driver FROM table_name_7 WHERE fastest_lap = "ryan hunter-reay" AND most_laps_led = "ryan briscoe" |
Write a SQL query that answers the following question: What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT race FROM table_name_91 WHERE winning_team = "chip ganassi racing" AND pole_position = "ryan briscoe" AND most_laps_led = "scott dixon" |
Write a SQL query that answers the following question: Who was the Winner when the Runner-up was Real Salt Lake? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (winner VARCHAR, runner_up VARCHAR) | SELECT winner FROM table_name_20 WHERE runner_up = "real salt lake" |
Write a SQL query that answers the following question: During which Season was the tournament in progress? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (season VARCHAR, runner_up VARCHAR) | SELECT season FROM table_name_64 WHERE runner_up = "tournament in progress" |
Write a SQL query that answers the following question: What was the Score during the Season in which the Winner was C.F. Atlante? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (score VARCHAR, winner VARCHAR) | SELECT score FROM table_name_15 WHERE winner = "c.f. atlante" |
Write a SQL query that answers the following question: What was the Score when the Losing Semifinalists were Toluca Unam? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (score VARCHAR, losing_semifinalists VARCHAR) | SELECT score FROM table_name_88 WHERE losing_semifinalists = "toluca unam" |
Write a SQL query that answers the following question: What law has a penalty of — in Iraq? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (laws_against_homosexuality VARCHAR, penalty VARCHAR, country VARCHAR) | SELECT laws_against_homosexuality FROM table_name_90 WHERE penalty = "—" AND country = "iraq" |
Write a SQL query that answers the following question: What are the laws against homosexuality in Malaysia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (laws_against_homosexuality VARCHAR, country VARCHAR) | SELECT laws_against_homosexuality FROM table_name_34 WHERE country = "malaysia" |
Write a SQL query that answers the following question: What is the average Events when the top-25 is 12 and there are less than 0 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (events INTEGER, top_25 VARCHAR, wins VARCHAR) | SELECT AVG(events) FROM table_name_62 WHERE top_25 = 12 AND wins < 0 |
Write a SQL query that answers the following question: What is the sum of Events when the top-25 is more than 5, and the top-10 is less than 4, and wins is more than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (events INTEGER, wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR) | SELECT SUM(events) FROM table_name_88 WHERE top_25 > 5 AND top_10 < 4 AND wins > 2 |
Write a SQL query that answers the following question: What is the average Top-10 when there were 17 cuts made with less than 0 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR) | SELECT AVG(top_10) FROM table_name_93 WHERE cuts_made = 17 AND wins < 0 |
Write a SQL query that answers the following question: What is the sum of Cuts made when there were more than 72 events? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (cuts_made INTEGER, events INTEGER) | SELECT SUM(cuts_made) FROM table_name_95 WHERE events > 72 |
Write a SQL query that answers the following question: What is the average Top-5 for the open championship, and a Top-10 smaller than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (top_5 INTEGER, tournament VARCHAR, top_10 VARCHAR) | SELECT AVG(top_5) FROM table_name_98 WHERE tournament = "the open championship" AND top_10 < 2 |
Write a SQL query that answers the following question: What was the date of airing for episodes with ratings under 10.1 and production number of 96 5-09? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (original_airing VARCHAR, rating VARCHAR, episode_number_production_number VARCHAR) | SELECT original_airing FROM table_name_74 WHERE rating < 10.1 AND episode_number_production_number = "96 5-09" |
Write a SQL query that answers the following question: What was the fewest number of viewers for the episode production number of 109 5-22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (total_viewers__in_millions_ INTEGER, episode_number_production_number VARCHAR) | SELECT MIN(total_viewers__in_millions_) FROM table_name_54 WHERE episode_number_production_number = "109 5-22" |
Write a SQL query that answers the following question: What is the First Aligned date in 1614? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (first_aligned_day VARCHAR, date VARCHAR) | SELECT first_aligned_day FROM table_name_67 WHERE date = "1614" |
Write a SQL query that answers the following question: How many Airlines have a total distance of 705 (km)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (_number_of_airlines VARCHAR, distance__km_ VARCHAR) | SELECT COUNT(_number_of_airlines) FROM table_name_76 WHERE distance__km_ = 705 |
Write a SQL query that answers the following question: What is the 1st leg result when team 1 is Gambia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_10 WHERE team_1 = "gambia" |
Write a SQL query that answers the following question: What is the 2nd leg result when team 2 is Morocco? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_16 WHERE team_2 = "morocco" |
Write a SQL query that answers the following question: Which Name was in the Year 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (name VARCHAR, year VARCHAR) | SELECT name FROM table_name_32 WHERE year = "2001" |
Write a SQL query that answers the following question: Which Name had a Rank of 18 Out of a number smaller than 149? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (name VARCHAR, out_of VARCHAR, rank VARCHAR) | SELECT name FROM table_name_31 WHERE out_of < 149 AND rank = 18 |
Write a SQL query that answers the following question: Which Name had the Rank, 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (name VARCHAR, rank VARCHAR) | SELECT name FROM table_name_54 WHERE rank = 15 |
Write a SQL query that answers the following question: What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR) | SELECT MIN(rank) FROM table_name_66 WHERE name = "area of permanent crops" AND out_of < 181 |
Write a SQL query that answers the following question: Which Name had the Source, World Bank, and a Rank smaller than 110, Out of a number smaller than 199? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (name VARCHAR, out_of VARCHAR, source VARCHAR, rank VARCHAR) | SELECT name FROM table_name_48 WHERE source = "world bank" AND rank < 110 AND out_of < 199 |
Write a SQL query that answers the following question: Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (team VARCHAR, coach VARCHAR, captain VARCHAR) | SELECT team FROM table_name_88 WHERE coach = "manzoor elahi" AND captain = "taufeeq umar" |
Write a SQL query that answers the following question: Which City has the Bahawalpur Stags Team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (city VARCHAR, team VARCHAR) | SELECT city FROM table_name_98 WHERE team = "bahawalpur stags" |
Write a SQL query that answers the following question: Who is the opponent of the December 18, 1994 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_90 WHERE date = "december 18, 1994" |
Write a SQL query that answers the following question: What is the Artist with a Date that is june 1979? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (artist VARCHAR, date VARCHAR) | SELECT artist FROM table_name_48 WHERE date = "june 1979" |
Write a SQL query that answers the following question: What is the Writer with an Actual Title that is mork & mindy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (writer VARCHAR, actual_title VARCHAR) | SELECT writer FROM table_name_8 WHERE actual_title = "mork & mindy" |
Write a SQL query that answers the following question: What is the Writer with a Date that is january 1975? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (writer VARCHAR, date VARCHAR) | SELECT writer FROM table_name_63 WHERE date = "january 1975" |
Write a SQL query that answers the following question: What is the smallest played amount when there are 2 draws and an against of more than 73? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR) | SELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 73 |
Write a SQL query that answers the following question: What is the earliest season with a premiere of february5,2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (episodes INTEGER, premiere VARCHAR) | SELECT MIN(episodes) FROM table_name_90 WHERE premiere = "february5,2007" |
Write a SQL query that answers the following question: Which premiere had more than 15 episodes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (premiere VARCHAR, episodes INTEGER) | SELECT premiere FROM table_name_36 WHERE episodes > 15 |
Write a SQL query that answers the following question: Who had the highest rebounds of the game on April 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_15 WHERE date = "april 7" |
Write a SQL query that answers the following question: What is Result, when Date is 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_80 WHERE date = "2003" |
Write a SQL query that answers the following question: What is Record, when Date is 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_45 WHERE date = "1996" |
Write a SQL query that answers the following question: What is Notes, when Date is 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (notes VARCHAR, date VARCHAR) | SELECT notes FROM table_name_9 WHERE date = "2007" |
Write a SQL query that answers the following question: What is the highest Round, when the Opponent is Junior Pitbull? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (round INTEGER, opponent VARCHAR) | SELECT MAX(round) FROM table_name_28 WHERE opponent = "junior pitbull" |
Write a SQL query that answers the following question: What is Date, when Result is Loss, and when Method is Submission (Armbar)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (date VARCHAR, result VARCHAR, method VARCHAR) | SELECT date FROM table_name_8 WHERE result = "loss" AND method = "submission (armbar)" |
Write a SQL query that answers the following question: What is the Coombe Road time with a Selsdon evening peak? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (coombe_road VARCHAR, selsdon VARCHAR) | SELECT coombe_road FROM table_name_17 WHERE selsdon = "evening peak" |
Write a SQL query that answers the following question: What is the Woodside for the 16:19 Coombe Road? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (woodside VARCHAR, coombe_road VARCHAR) | SELECT woodside FROM table_name_81 WHERE coombe_road = "16:19" |
Write a SQL query that answers the following question: What is the Elmers End with a 09:54 Bingham Road? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (elmers_end VARCHAR, bingham_road VARCHAR) | SELECT elmers_end FROM table_name_65 WHERE bingham_road = "09:54" |
Write a SQL query that answers the following question: What is the Coombe Road with a Woodside time of 07:23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (coombe_road VARCHAR, woodside VARCHAR) | SELECT coombe_road FROM table_name_14 WHERE woodside = "07:23" |
Write a SQL query that answers the following question: What is the Elmers End with a 17:57 Selsdon time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (elmers_end VARCHAR, selsdon VARCHAR) | SELECT elmers_end FROM table_name_30 WHERE selsdon = "17:57" |
Write a SQL query that answers the following question: What is the Selsdon for the 17:19 Coombe Road? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (selsdon VARCHAR, coombe_road VARCHAR) | SELECT selsdon FROM table_name_14 WHERE coombe_road = "17:19" |
Write a SQL query that answers the following question: What is the highest win for losses less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (wins INTEGER, losses INTEGER) | SELECT MAX(wins) FROM table_name_65 WHERE losses < 2 |
Write a SQL query that answers the following question: What is the average Byes for the losses of 15, and before 1874? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (byes INTEGER, losses VARCHAR, against VARCHAR) | SELECT AVG(byes) FROM table_name_46 WHERE losses = 15 AND against < 1874 |
Write a SQL query that answers the following question: What is the sum of against in Ballarat FL of East Point and wins less than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (against INTEGER, ballarat_fl VARCHAR, wins VARCHAR) | SELECT SUM(against) FROM table_name_75 WHERE ballarat_fl = "east point" AND wins < 16 |
Write a SQL query that answers the following question: What is the School with a Pick that is 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (school VARCHAR, pick VARCHAR) | SELECT school FROM table_name_99 WHERE pick = 24 |
Write a SQL query that answers the following question: What is the Team with a Player that is david cooper? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_86 WHERE player = "david cooper" |
Write a SQL query that answers the following question: How many visitors in 2007 were there for ski jumping hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (_2007 VARCHAR, visitors INTEGER, type VARCHAR) | SELECT SUM(visitors), _2007 FROM table_name_10 WHERE type = "ski jumping hill" |
Write a SQL query that answers the following question: What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Peković, and when Rank is less than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (games INTEGER, rank VARCHAR, rebounds VARCHAR, name VARCHAR) | SELECT MAX(games) FROM table_name_26 WHERE rebounds > 100 AND name = "nikola peković" AND rank < 4 |
Write a SQL query that answers the following question: What is the total number of Games, when Rank is less than 4, and when Rebounds is less than 102? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (games VARCHAR, rank VARCHAR, rebounds VARCHAR) | SELECT COUNT(games) FROM table_name_99 WHERE rank < 4 AND rebounds < 102 |
Write a SQL query that answers the following question: What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR) | SELECT MIN(games) FROM table_name_38 WHERE name = "travis watson" AND rebounds < 136 |
Write a SQL query that answers the following question: What is the sum of Rebounds, when Team is Aris Thessaloniki, and when Games is greater than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (rebounds INTEGER, team VARCHAR, games VARCHAR) | SELECT SUM(rebounds) FROM table_name_56 WHERE team = "aris thessaloniki" AND games > 14 |
Write a SQL query that answers the following question: What is the highest Rank, when Name is Travis Watson, and when Games is less than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (rank INTEGER, name VARCHAR, games VARCHAR) | SELECT MAX(rank) FROM table_name_52 WHERE name = "travis watson" AND games < 14 |
Write a SQL query that answers the following question: What is Authors, when Novelty is Gen Nov, when Location is South Africa, and when Name is Criocephalosaurus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (authors VARCHAR, name VARCHAR, novelty VARCHAR, location VARCHAR) | SELECT authors FROM table_name_90 WHERE novelty = "gen nov" AND location = "south africa" AND name = "criocephalosaurus" |
Write a SQL query that answers the following question: What is Status, when Location is Russia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (status VARCHAR, location VARCHAR) | SELECT status FROM table_name_69 WHERE location = "russia" |
Write a SQL query that answers the following question: What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (authors VARCHAR, novelty VARCHAR, name VARCHAR) | SELECT authors FROM table_name_13 WHERE novelty = "gen et sp nov" AND name = "lanthanocephalus" |
Write a SQL query that answers the following question: What is Name, when Authors are Kammerer & Sidor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (name VARCHAR, authors VARCHAR) | SELECT name FROM table_name_51 WHERE authors = "kammerer & sidor" |
Write a SQL query that answers the following question: What is Name, when Location is Tanzania, and when Novelty is Gen Nov? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (name VARCHAR, location VARCHAR, novelty VARCHAR) | SELECT name FROM table_name_88 WHERE location = "tanzania" AND novelty = "gen nov" |
Write a SQL query that answers the following question: What is Name, when Status is Valid, when Authors is Maisch, when Location is Tanzania, and when Novelty is Gen Et Sp Nov? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (name VARCHAR, novelty VARCHAR, location VARCHAR, status VARCHAR, authors VARCHAR) | SELECT name FROM table_name_24 WHERE status = "valid" AND authors = "maisch" AND location = "tanzania" AND novelty = "gen et sp nov" |
Write a SQL query that answers the following question: What is the T568A color for the cable with a white/orange stripe T568B color? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (t568a_color VARCHAR, t568b_color VARCHAR) | SELECT t568a_color FROM table_name_44 WHERE t568b_color = "white/orange stripe" |
Write a SQL query that answers the following question: What is the Date with an Opponent that is flavia pennetta? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_53 WHERE opponent = "flavia pennetta" |
Write a SQL query that answers the following question: What is the Score with an Opponent that is flavia pennetta? | 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 = "flavia pennetta" |
Write a SQL query that answers the following question: What is the Opponent with a Score that is 2–6, 6–4, 3–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_39 WHERE score = "2–6, 6–4, 3–6" |
Write a SQL query that answers the following question: What is the Outcome with a Date that is may 5, 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_49 WHERE date = "may 5, 2012" |
Write a SQL query that answers the following question: What is the Outcome with an Opponent that is jelena janković? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (outcome VARCHAR, opponent VARCHAR) | SELECT outcome FROM table_name_85 WHERE opponent = "jelena janković" |
Write a SQL query that answers the following question: What is the Tournament with a Score that is 2–6, 6–4, 3–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_55 WHERE score = "2–6, 6–4, 3–6" |
Write a SQL query that answers the following question: Which week was on November 13, 1955 when the attendance was over 33,982? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_57 WHERE date = "november 13, 1955" AND attendance > 33 OFFSET 982 |
Write a SQL query that answers the following question: What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (japanese_name VARCHAR, korean_name VARCHAR) | SELECT japanese_name FROM table_name_46 WHERE korean_name = "chungcheong-bukdo" |
Write a SQL query that answers the following question: What is the Hanja/Kanji of the Province with a Kana of ちゅうせいほくどう? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (hanja___kanji VARCHAR, kana VARCHAR) | SELECT hanja___kanji FROM table_name_10 WHERE kana = "ちゅうせいほくどう" |
Write a SQL query that answers the following question: What is the Kana of the Province with a Korean name of Chungcheong-Namdo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR) | SELECT kana FROM table_name_2 WHERE korean_name = "chungcheong-namdo" |
Write a SQL query that answers the following question: What is the Hangul of the Province with a Kana of へいあんなんどう? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (hangul VARCHAR, kana VARCHAR) | SELECT hangul FROM table_name_48 WHERE kana = "へいあんなんどう" |
Write a SQL query that answers the following question: What is the Hangul of the Province with a Kana of ちゅうせいなんどう? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR) | SELECT hangul FROM table_name_3 WHERE kana = "ちゅうせいなんどう" |
Write a SQL query that answers the following question: What is the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (hanja___kanji VARCHAR, korean_name VARCHAR) | SELECT hanja___kanji FROM table_name_5 WHERE korean_name = "chungcheong-bukdo" |
Write a SQL query that answers the following question: What were the Oct. temperatures for the city that had Nov. temperatures of 51/30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (oct VARCHAR, nov VARCHAR) | SELECT oct FROM table_name_94 WHERE nov = "51/30" |
Write a SQL query that answers the following question: What were the Feb temperatures in East Stroudsburg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (feb VARCHAR, city VARCHAR) | SELECT feb FROM table_name_63 WHERE city = "east stroudsburg" |
Write a SQL query that answers the following question: What is the sum of completions that led to completion percentages of 65.4 and attempts under 451? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (comp INTEGER, comp_percentage VARCHAR, att VARCHAR) | SELECT SUM(comp) FROM table_name_33 WHERE comp_percentage = 65.4 AND att < 451 |
Write a SQL query that answers the following question: What regular season did the team reach the conference semifinals in the playoffs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR) | SELECT regular_season FROM table_name_78 WHERE playoffs = "conference semifinals" |
Write a SQL query that answers the following question: When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR) | SELECT COUNT(division) FROM table_name_89 WHERE regular_season = "2nd, northeast" AND year < 2008 |
Write a SQL query that answers the following question: What division was the regular season 5th, Northeast? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (division VARCHAR, regular_season VARCHAR) | SELECT division FROM table_name_97 WHERE regular_season = "5th, northeast" |
Write a SQL query that answers the following question: What was the result when Jam Hsiao was nominated in 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR) | SELECT result FROM table_name_36 WHERE nomination = "jam hsiao" AND year = 2012 |
Write a SQL query that answers the following question: Which award is in the category of best music video? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR) | SELECT award FROM table_name_55 WHERE category = "best music video" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.