instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the Country of the Player with a Score of 73-71-76-70=290? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_58 WHERE score = 73 - 71 - 76 - 70 = 290 |
Write a SQL query that answers the following question: What is Lawson Little's Money ($) amount? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (money___$__ VARCHAR, player VARCHAR) | SELECT money___$__ FROM table_name_30 WHERE player = "lawson little" |
Write a SQL query that answers the following question: What is the Money ($) amount of the Player with a To par of e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (money___$__ VARCHAR, to_par VARCHAR) | SELECT money___$__ FROM table_name_2 WHERE to_par = "e" |
Write a SQL query that answers the following question: What Country has a Player with Playoff Money with a Score of 72-69-73-73=287? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT country FROM table_name_8 WHERE money___$__ = "playoff" AND score = 72 - 69 - 73 - 73 = 287 |
Write a SQL query that answers the following question: What is Ben Hogan's Place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_25 WHERE player = "ben hogan" |
Write a SQL query that answers the following question: What is the Place of the Player with a Score of 73-75-71-73=292? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_32 WHERE score = 73 - 75 - 71 - 73 = 292 |
Write a SQL query that answers the following question: How many byes when there are 11 wins and fewer than 5 losses? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (byes INTEGER, wins VARCHAR, losses VARCHAR) | SELECT SUM(byes) FROM table_name_63 WHERE wins = 11 AND losses < 5 |
Write a SQL query that answers the following question: How many losses when there are less than 0 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (losses VARCHAR, wins INTEGER) | SELECT COUNT(losses) FROM table_name_90 WHERE wins < 0 |
Write a SQL query that answers the following question: What are the most againsts with more than 11 losses and central murray is Nyah Nyah West Utd? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (against INTEGER, central_murray VARCHAR, losses VARCHAR) | SELECT MAX(against) FROM table_name_83 WHERE central_murray = "nyah nyah west utd" AND losses > 11 |
Write a SQL query that answers the following question: What is the To par of the player with Money of 7,750 or more? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (to_par VARCHAR, money___£__ INTEGER) | SELECT to_par FROM table_name_19 WHERE money___£__ > 7 OFFSET 750 |
Write a SQL query that answers the following question: who is the provider when up (up to kbit/s) is 1180? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR) | SELECT provider FROM table_name_10 WHERE up__up_to_kbit_s_ = 1180 |
Write a SQL query that answers the following question: what is the highest down (up to kbits/s) when resale is yes, up ( up to kbit/s) is 1180 and provider is 1&1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR) | SELECT MAX(down__up_to_kbit_s_) FROM table_name_26 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1180 AND provider = "1&1" |
Write a SQL query that answers the following question: what is the resale when the down (up to kbit/s) is 24000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (resale VARCHAR, down__up_to_kbit_s_ VARCHAR) | SELECT resale FROM table_name_41 WHERE down__up_to_kbit_s_ = 24000 |
Write a SQL query that answers the following question: What is the average down (up to kbit/s) when the provider is willy.tel and the up (kbit/s) is more than 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, up__up_to_kbit_s_ VARCHAR) | SELECT AVG(down__up_to_kbit_s_) FROM table_name_73 WHERE provider = "willy.tel" AND up__up_to_kbit_s_ > 1984 |
Write a SQL query that answers the following question: How many totals have a Gold larger than 0, and a Bronze smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0 |
Write a SQL query that answers the following question: Which Total has a Bronze larger than 1, and a Gold larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (total INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT MAX(total) FROM table_name_57 WHERE bronze > 1 AND gold > 0 |
Write a SQL query that answers the following question: What country is Eugene McDowell from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_22 WHERE player = "eugene mcdowell" |
Write a SQL query that answers the following question: When was Mario Elie picked in a round before 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (pick INTEGER, player VARCHAR, round VARCHAR) | SELECT MAX(pick) FROM table_name_75 WHERE player = "mario elie" AND round < 7 |
Write a SQL query that answers the following question: In what round did someone from North Carolina State get picked larger than 91? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (round VARCHAR, school_club_team VARCHAR, pick VARCHAR) | SELECT COUNT(round) FROM table_name_99 WHERE school_club_team = "north carolina state" AND pick > 91 |
Write a SQL query that answers the following question: Which Results have a Category of the best new actor in lead role(female)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (results VARCHAR, category VARCHAR) | SELECT results FROM table_name_32 WHERE category = "best new actor in lead role(female)" |
Write a SQL query that answers the following question: What was the category in 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (category VARCHAR, year VARCHAR) | SELECT category FROM table_name_72 WHERE year = 2008 |
Write a SQL query that answers the following question: Which Character has a Category of favourite naya sadasya? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (character VARCHAR, category VARCHAR) | SELECT character FROM table_name_68 WHERE category = "favourite naya sadasya" |
Write a SQL query that answers the following question: Which Show has an Award of indian television academy awards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (show VARCHAR, award VARCHAR) | SELECT show FROM table_name_77 WHERE award = "indian television academy awards" |
Write a SQL query that answers the following question: What award was won after 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (award VARCHAR, year INTEGER) | SELECT award FROM table_name_77 WHERE year > 2008 |
Write a SQL query that answers the following question: On what Date did the massacre result with 21 Injured? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (date VARCHAR, injured VARCHAR) | SELECT date FROM table_name_73 WHERE injured = "21" |
Write a SQL query that answers the following question: What is City / State, when Winner is "Rohan Onslow", and when Circuit is "Oran Park Raceway"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) | SELECT city___state FROM table_name_20 WHERE winner = "rohan onslow" AND circuit = "oran park raceway" |
Write a SQL query that answers the following question: What is Winner, when City / State is "Mallala , South Australia", and when Team is "Elfin Sports Cars"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (winner VARCHAR, city___state VARCHAR, team VARCHAR) | SELECT winner FROM table_name_92 WHERE city___state = "mallala , south australia" AND team = "elfin sports cars" |
Write a SQL query that answers the following question: What is Circuit, when Team is "R.J.MacArthur Onslow", and when City / State is "Sydney , New South Wales"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (circuit VARCHAR, team VARCHAR, city___state VARCHAR) | SELECT circuit FROM table_name_54 WHERE team = "r.j.macarthur onslow" AND city___state = "sydney , new south wales" |
Write a SQL query that answers the following question: What is Winner, when Team is "R.J.MacArthur Onslow", and when Circuit is "Oran Park Raceway"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (winner VARCHAR, team VARCHAR, circuit VARCHAR) | SELECT winner FROM table_name_29 WHERE team = "r.j.macarthur onslow" AND circuit = "oran park raceway" |
Write a SQL query that answers the following question: What is Date, when City / State is "Mallala , South Australia", and when Team is "R.J.MacArthur Onslow"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (date VARCHAR, city___state VARCHAR, team VARCHAR) | SELECT date FROM table_name_19 WHERE city___state = "mallala , south australia" AND team = "r.j.macarthur onslow" |
Write a SQL query that answers the following question: What is Winner, when Date is "20 August"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_name_50 WHERE date = "20 august" |
Write a SQL query that answers the following question: What actor was nominated for best actress? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (actor VARCHAR, result VARCHAR, category VARCHAR) | SELECT actor FROM table_name_45 WHERE result = "nominated" AND category = "best actress" |
Write a SQL query that answers the following question: What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (year VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR) | SELECT year FROM table_name_80 WHERE film = "bullets over broadway" AND category = "best supporting actress" AND actor = "jennifer tilly" |
Write a SQL query that answers the following question: What is the result of Samantha Morton being up for best supporting actress in a year later than 1989? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (result VARCHAR, actor VARCHAR, year VARCHAR, category VARCHAR) | SELECT result FROM table_name_78 WHERE year > 1989 AND category = "best supporting actress" AND actor = "samantha morton" |
Write a SQL query that answers the following question: What film was Dianne Wiest in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (film VARCHAR, actor VARCHAR) | SELECT film FROM table_name_56 WHERE actor = "dianne wiest" |
Write a SQL query that answers the following question: Which class has fewer than 10 and number(s) names? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (class VARCHAR, quantity VARCHAR, number_s_ VARCHAR) | SELECT class FROM table_name_84 WHERE quantity < 10 AND number_s_ = "names" |
Write a SQL query that answers the following question: What is the type with a quantity of fewer than 6 and number(s) 5201? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (type VARCHAR, quantity VARCHAR, number_s_ VARCHAR) | SELECT type FROM table_name_88 WHERE quantity < 6 AND number_s_ = "5201" |
Write a SQL query that answers the following question: How many byes were then when there were less than 737 against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (byes INTEGER, against INTEGER) | SELECT SUM(byes) FROM table_name_13 WHERE against < 737 |
Write a SQL query that answers the following question: How many wins were there when the byes were more than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (wins VARCHAR, byes INTEGER) | SELECT COUNT(wins) FROM table_name_27 WHERE byes > 3 |
Write a SQL query that answers the following question: How many wins were there when draws were more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (wins INTEGER, draws INTEGER) | SELECT MIN(wins) FROM table_name_5 WHERE draws > 0 |
Write a SQL query that answers the following question: How many wins did Glenelg FL of bahgallah have when there were more than 3 byes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (wins VARCHAR, glenelg_fl VARCHAR, byes VARCHAR) | SELECT COUNT(wins) FROM table_name_93 WHERE glenelg_fl = "bahgallah" AND byes > 3 |
Write a SQL query that answers the following question: What is Date, when Opponent in Final is "Guy Forget"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, opponent_in_final VARCHAR) | SELECT date FROM table_name_64 WHERE opponent_in_final = "guy forget" |
Write a SQL query that answers the following question: What is Opponent in Final, when Date is "13 January 1992"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (opponent_in_final VARCHAR, date VARCHAR) | SELECT opponent_in_final FROM table_name_12 WHERE date = "13 january 1992" |
Write a SQL query that answers the following question: What is Opponent in Final, when Surface is "Hard", and when Date is "13 January 1992"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (opponent_in_final VARCHAR, surface VARCHAR, date VARCHAR) | SELECT opponent_in_final FROM table_name_31 WHERE surface = "hard" AND date = "13 january 1992" |
Write a SQL query that answers the following question: What is the Height of the Player with a Date of Birth of 1979-06-12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (height VARCHAR, date_of_birth VARCHAR) | SELECT height FROM table_name_23 WHERE date_of_birth = "1979-06-12" |
Write a SQL query that answers the following question: What is the Height of the Player with a Date of Birth of 1982-07-05? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (height VARCHAR, date_of_birth VARCHAR) | SELECT height FROM table_name_19 WHERE date_of_birth = "1982-07-05" |
Write a SQL query that answers the following question: What is the Height of the Player with a Date of Birth of 1982-07-05? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR) | SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05" |
Write a SQL query that answers the following question: What is the Weight of the Player with a Date of Birth of 1979-09-26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (weight VARCHAR, date_of_birth VARCHAR) | SELECT weight FROM table_name_54 WHERE date_of_birth = "1979-09-26" |
Write a SQL query that answers the following question: What is Elise Norwood's Pos.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (pos VARCHAR, name VARCHAR) | SELECT pos FROM table_name_41 WHERE name = "elise norwood" |
Write a SQL query that answers the following question: What is the Club of the Player with a Date of Birth of 1977-02-03? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (club VARCHAR, date_of_birth VARCHAR) | SELECT club FROM table_name_61 WHERE date_of_birth = "1977-02-03" |
Write a SQL query that answers the following question: What home has 1-5 as the away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (home VARCHAR, away VARCHAR) | SELECT home FROM table_name_69 WHERE away = "1-5" |
Write a SQL query that answers the following question: What league has 2-3 as the away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR) | SELECT league FROM table_name_18 WHERE away = "2-3" |
Write a SQL query that answers the following question: What away has 1-4 as the home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (away VARCHAR, home VARCHAR) | SELECT away FROM table_name_82 WHERE home = "1-4" |
Write a SQL query that answers the following question: What teams has 1-5 as the away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (teams VARCHAR, away VARCHAR) | SELECT teams FROM table_name_96 WHERE away = "1-5" |
Write a SQL query that answers the following question: What Date had a Series of ATCC Round 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, series VARCHAR) | SELECT date FROM table_name_28 WHERE series = "atcc round 6" |
Write a SQL query that answers the following question: Who was the Winner in the AMC Round 4 at Lakeside International Raceway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR) | SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4" |
Write a SQL query that answers the following question: What is the week 15 result for the team that had a week 9 result of Washington (6-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (week_15__final__dec_9 VARCHAR, week_9_oct_29 VARCHAR) | SELECT week_15__final__dec_9 FROM table_name_98 WHERE week_9_oct_29 = "washington (6-1)" |
Write a SQL query that answers the following question: What is the week 10 result for the tean when the week 15 result is Illinois (10-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (week_10_nov_5 VARCHAR, week_15__final__dec_9 VARCHAR) | SELECT week_10_nov_5 FROM table_name_71 WHERE week_15__final__dec_9 = "illinois (10-1)" |
Write a SQL query that answers the following question: What is the week 10 result where the week 9 result was Dropped: Maryland South Carolina? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (week_10_nov_5 VARCHAR, week_9_oct_29 VARCHAR) | SELECT week_10_nov_5 FROM table_name_13 WHERE week_9_oct_29 = "dropped: maryland south carolina" |
Write a SQL query that answers the following question: What is the week 13 result where the week 14 resulted in Maryland (10-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (week_13_nov_26 VARCHAR, week_14_dec_3 VARCHAR) | SELECT week_13_nov_26 FROM table_name_18 WHERE week_14_dec_3 = "maryland (10-1)" |
Write a SQL query that answers the following question: What happened in week 14 when week 11's result was Michigan (7-2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (week_14_dec_3 VARCHAR, week_11_nov_12 VARCHAR) | SELECT week_14_dec_3 FROM table_name_17 WHERE week_11_nov_12 = "michigan (7-2)" |
Write a SQL query that answers the following question: What happened in week 12 when week 13 resulted in Tennessee (9-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (week_12_nov_19 VARCHAR, week_13_nov_26 VARCHAR) | SELECT week_12_nov_19 FROM table_name_20 WHERE week_13_nov_26 = "tennessee (9-1)" |
Write a SQL query that answers the following question: What is the fewest bronze medals when the total medals is less than 10, and the gold medals less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (bronze INTEGER, total VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_16 WHERE total < 10 AND gold < 0 |
Write a SQL query that answers the following question: With 8 as the rank, and a total of more than 2 medals what is the average bronze medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, total VARCHAR) | SELECT AVG(bronze) FROM table_name_34 WHERE rank = "8" AND total > 2 |
Write a SQL query that answers the following question: What is the maximum total medals when the rank is 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (total INTEGER, rank VARCHAR) | SELECT MAX(total) FROM table_name_64 WHERE rank = "8" |
Write a SQL query that answers the following question: What is the largest number of gold medals when the bronze medals is less than 49, and there is 22 silver medals, and the total is less than 60? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT MAX(gold) FROM table_name_25 WHERE bronze < 49 AND silver = 22 AND total < 60 |
Write a SQL query that answers the following question: When the number of gold medals is greater than 59, and the rank is total, what is the average bronze medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | SELECT AVG(bronze) FROM table_name_89 WHERE rank = "total" AND gold > 59 |
Write a SQL query that answers the following question: What is the smallest number of medals a country with more than 14 silver has? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (total INTEGER, silver INTEGER) | SELECT MIN(total) FROM table_name_78 WHERE silver > 14 |
Write a SQL query that answers the following question: What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) | SELECT SUM(rank) FROM table_name_67 WHERE gold > 2 AND total < 31 AND silver < 5 |
Write a SQL query that answers the following question: WHat was the score for Phil Mickelson when he placed t3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_60 WHERE place = "t3" AND player = "phil mickelson" |
Write a SQL query that answers the following question: What place did the golfer take whose country is South Africa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_72 WHERE country = "south africa" |
Write a SQL query that answers the following question: What was the result of the game played at Jeppesen Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (result VARCHAR, game_site VARCHAR) | SELECT result FROM table_name_95 WHERE game_site = "jeppesen stadium" |
Write a SQL query that answers the following question: What week was the game played on November 12, 1961, with an attendance of 7,859 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (week INTEGER, date VARCHAR, attendance VARCHAR) | SELECT MIN(week) FROM table_name_71 WHERE date = "november 12, 1961" AND attendance < 7 OFFSET 859 |
Write a SQL query that answers the following question: What decade is the artist the replacements? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (decade VARCHAR, artist VARCHAR) | SELECT decade FROM table_name_92 WHERE artist = "the replacements" |
Write a SQL query that answers the following question: What is the number of households in the county with median income of $65,240 and population greater than 744,344? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) | SELECT SUM(number_of_households) FROM table_name_76 WHERE median_family_income = "$65,240" AND population > 744 OFFSET 344 |
Write a SQL query that answers the following question: What is the population of Tioga county? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (population VARCHAR, county VARCHAR) | SELECT population FROM table_name_93 WHERE county = "tioga" |
Write a SQL query that answers the following question: Which Constructor has Laps larger than 9, and a Grid smaller than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (constructor VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_7 WHERE laps > 9 AND grid < 2 |
Write a SQL query that answers the following question: What's filiberto rivera's height? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (height VARCHAR, player VARCHAR) | SELECT COUNT(height) FROM table_name_54 WHERE player = "filiberto rivera" |
Write a SQL query that answers the following question: Who has a position of sg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_86 WHERE position = "sg" |
Write a SQL query that answers the following question: Who has a height of 2.16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (player VARCHAR, height VARCHAR) | SELECT player FROM table_name_41 WHERE height = 2.16 |
Write a SQL query that answers the following question: What's the tallest height for c position in current club unicaja malaga? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (height INTEGER, position VARCHAR, current_club VARCHAR) | SELECT MAX(height) FROM table_name_19 WHERE position = "c" AND current_club = "unicaja malaga" |
Write a SQL query that answers the following question: What was the attendance when the Southend United was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_1 WHERE home_team = "southend united" |
Write a SQL query that answers the following question: Who was the away team that played Northampton Town at home with a tie number of replay? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_53 WHERE tie_no = "replay" AND home_team = "northampton town" |
Write a SQL query that answers the following question: Which Outcome has an Opponent in the final of simone colombo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (outcome VARCHAR, opponent_in_the_final VARCHAR) | SELECT outcome FROM table_name_43 WHERE opponent_in_the_final = "simone colombo" |
Write a SQL query that answers the following question: What is the sum of the glyph with a binary less than 111001, an octal less than 65, and a hexadecimal less than 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR, octal VARCHAR) | SELECT SUM(glyph) FROM table_name_96 WHERE binary < 111001 AND octal < 65 AND hexadecimal < 30 |
Write a SQL query that answers the following question: What is the average hexadecimal with a decimal less than 53, an octal less than 61, and a glyph greater than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (hexadecimal INTEGER, glyph VARCHAR, decimal VARCHAR, octal VARCHAR) | SELECT AVG(hexadecimal) FROM table_name_62 WHERE decimal < 53 AND octal < 61 AND glyph > 0 |
Write a SQL query that answers the following question: What is the lowest octal with a 30 hexadecimal and less than 0 glyphs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (octal INTEGER, hexadecimal VARCHAR, glyph VARCHAR) | SELECT MIN(octal) FROM table_name_82 WHERE hexadecimal = 30 AND glyph < 0 |
Write a SQL query that answers the following question: What is the average hexadecimal with a decimal greater than 57? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (hexadecimal INTEGER, decimal INTEGER) | SELECT AVG(hexadecimal) FROM table_name_2 WHERE decimal > 57 |
Write a SQL query that answers the following question: What is the average decimal with a 110010 binary and a glyph greater than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (decimal INTEGER, binary VARCHAR, glyph VARCHAR) | SELECT AVG(decimal) FROM table_name_12 WHERE binary = 110010 AND glyph > 2 |
Write a SQL query that answers the following question: What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR) | SELECT SUM(glyph) FROM table_name_4 WHERE hexadecimal = 38 AND binary < 111000 |
Write a SQL query that answers the following question: What was the record in the game where the opponent wasd the atlanta falcons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_40 WHERE opponent = "atlanta falcons" |
Write a SQL query that answers the following question: What was the highest attendance at a game that was played in tulane stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (attendance INTEGER, game_site VARCHAR) | SELECT MAX(attendance) FROM table_name_63 WHERE game_site = "tulane stadium" |
Write a SQL query that answers the following question: What is the category for the year when Brioude started and the stage is less than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (category VARCHAR, start VARCHAR, stage VARCHAR) | SELECT COUNT(category) FROM table_name_10 WHERE start = "brioude" AND stage < 7 |
Write a SQL query that answers the following question: What is the stage number when the category is less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (stage VARCHAR, category INTEGER) | SELECT COUNT(stage) FROM table_name_74 WHERE category < 1 |
Write a SQL query that answers the following question: For the 1948-49 season, what was the At Home record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (home VARCHAR, season VARCHAR) | SELECT home FROM table_name_31 WHERE season = "1948-49" |
Write a SQL query that answers the following question: In which season was the Away record 2-2 and At Home record 1-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR, home VARCHAR) | SELECT season FROM table_name_33 WHERE away = "2-2" AND home = "1-0" |
Write a SQL query that answers the following question: In the 1958-59 season, what league did the team play in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (league VARCHAR, season VARCHAR) | SELECT league FROM table_name_7 WHERE season = "1958-59" |
Write a SQL query that answers the following question: What team played in the Bundesliga league with an Away record of 2-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (teams VARCHAR, league VARCHAR, away VARCHAR) | SELECT teams FROM table_name_6 WHERE league = "bundesliga" AND away = "2-1" |
Write a SQL query that answers the following question: What team(s) played in the 1995-96 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (teams VARCHAR, season VARCHAR) | SELECT teams FROM table_name_46 WHERE season = "1995-96" |
Write a SQL query that answers the following question: Playing in the Bundesliga league, what was the Away record for the team with an At Home record of 1-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (away VARCHAR, home VARCHAR, league VARCHAR) | SELECT away FROM table_name_40 WHERE home = "1-2" AND league = "bundesliga" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.