instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the maximum 2010 value for China? | The relevant table was constructed using the following SQL : CREATE TABLE table_30133_3 (economy VARCHAR) | SELECT MAX(2010) FROM table_30133_3 WHERE economy = "China" |
Write a SQL query that answers the following question: What is the gap from Thailand as of 2012 for the country whose 1980 gap was 0.29? | The relevant table was constructed using the following SQL : CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, gap_from_thailand_as_of_1980__times_ VARCHAR) | SELECT gap_from_thailand_as_of_2012__times_ FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "0.29" |
Write a SQL query that answers the following question: How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113? | The relevant table was constructed using the following SQL : CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR) | SELECT COUNT(gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_) FROM table_30133_3 WHERE 2012 = 23113 |
Write a SQL query that answers the following question: What is the max 2010 value for a 1980 gap value is 2.43? | The relevant table was constructed using the following SQL : CREATE TABLE table_30133_3 (gap_from_thailand_as_of_1980__times_ VARCHAR) | SELECT MAX(2010) FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "2.43" |
Write a SQL query that answers the following question: How many viewers in the UK did episode 50 have? | The relevant table was constructed using the following SQL : CREATE TABLE table_30139175_3 (uk_total_viewers VARCHAR, episode_no VARCHAR) | SELECT uk_total_viewers FROM table_30139175_3 WHERE episode_no = 50 |
Write a SQL query that answers the following question: Tell me the doubles W-L for player of laurynas grigelis | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (doubles_w_l VARCHAR, player VARCHAR) | SELECT doubles_w_l FROM table_name_91 WHERE player = "laurynas grigelis" |
Write a SQL query that answers the following question: What is the newest Cap with a Goals stat larger than 17 and which was done by Brian Turner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (most_recent_cap VARCHAR, goals VARCHAR, name VARCHAR) | SELECT most_recent_cap FROM table_name_64 WHERE goals > 17 AND name = "brian turner" |
Write a SQL query that answers the following question: What is the nationality of school/club team of barton cc (ks)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_65 WHERE school_club_team = "barton cc (ks)" |
Write a SQL query that answers the following question: Shawn Respert play for what school/club team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_66 WHERE player = "shawn respert" |
Write a SQL query that answers the following question: Who has position in year 1996-97 in Toronto? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (position VARCHAR, years_in_toronto VARCHAR) | SELECT position FROM table_name_88 WHERE years_in_toronto = "1996-97" |
Write a SQL query that answers the following question: Roy Rogers play for what school/club team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_38 WHERE player = "roy rogers" |
Write a SQL query that answers the following question: What year is United States school/club team from Arkansas play in Toronto | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (years_in_toronto VARCHAR, nationality VARCHAR, school_club_team VARCHAR) | SELECT years_in_toronto FROM table_name_87 WHERE nationality = "united states" AND school_club_team = "arkansas" |
Write a SQL query that answers the following question: Who is the player from United States who play in year 2003-06 in Toronto? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR) | SELECT player FROM table_name_8 WHERE nationality = "united states" AND years_in_toronto = "2003-06" |
Write a SQL query that answers the following question: Tell me the average units sold for square enix | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (units_sold INTEGER, publisher VARCHAR) | SELECT AVG(units_sold) FROM table_name_46 WHERE publisher = "square enix" |
Write a SQL query that answers the following question: Tell me the date for nicolas pereira | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (date VARCHAR, partnering VARCHAR) | SELECT date FROM table_name_60 WHERE partnering = "nicolas pereira" |
Write a SQL query that answers the following question: what is the date in 1986? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (date VARCHAR, year VARCHAR) | SELECT date FROM table_name_14 WHERE year = 1986 |
Write a SQL query that answers the following question: What is the average year for Ponce, Puerto Rico events? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (year INTEGER, venue VARCHAR) | SELECT AVG(year) FROM table_name_15 WHERE venue = "ponce, puerto rico" |
Write a SQL query that answers the following question: What year did she place 8th in the junior race? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (year VARCHAR, event VARCHAR, position VARCHAR) | SELECT year FROM table_name_9 WHERE event = "junior race" AND position = "8th" |
Write a SQL query that answers the following question: Tell me the NHL team for ryan johnson | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_name_69 WHERE player = "ryan johnson" |
Write a SQL query that answers the following question: Tell me the position for pick of 47 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_68 WHERE pick = "47" |
Write a SQL query that answers the following question: Tell me the pick for pittsburgh penguins | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (pick VARCHAR, nhl_team VARCHAR) | SELECT pick FROM table_name_12 WHERE nhl_team = "pittsburgh penguins" |
Write a SQL query that answers the following question: Tell me the nationality for rudolf vercik | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_51 WHERE player = "rudolf vercik" |
Write a SQL query that answers the following question: Tell me the player for nationality of canada for pick of 43 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (player VARCHAR, nationality VARCHAR, pick VARCHAR) | SELECT player FROM table_name_85 WHERE nationality = "canada" AND pick = "43" |
Write a SQL query that answers the following question: Tell me the college for jason holland | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_name_2 WHERE player = "jason holland" |
Write a SQL query that answers the following question: Tell me the date for rudolf caracciola for avusrennen | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, winning_driver VARCHAR, name VARCHAR) | SELECT date FROM table_name_91 WHERE winning_driver = "rudolf caracciola" AND name = "avusrennen" |
Write a SQL query that answers the following question: Tell me the circuit for 10 may for targa florio | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (circuit VARCHAR, date VARCHAR, name VARCHAR) | SELECT circuit FROM table_name_79 WHERE date = "10 may" AND name = "targa florio" |
Write a SQL query that answers the following question: What was the score of the Washington tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_20 WHERE tournament = "washington" |
Write a SQL query that answers the following question: On what date was Patty Fendick an opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_95 WHERE opponent = "patty fendick" |
Write a SQL query that answers the following question: What score does Vasil Levski National Stadium, Sofia earn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_62 WHERE venue = "vasil levski national stadium, sofia" |
Write a SQL query that answers the following question: What score did vasil levski national stadium, sofia, which was friendly during competition, earn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (score VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT score FROM table_name_96 WHERE competition = "friendly" AND venue = "vasil levski national stadium, sofia" |
Write a SQL query that answers the following question: What is the nationality of the Washington Capitals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals" |
Write a SQL query that answers the following question: On what NHL team does Roman Vopat play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_name_57 WHERE player = "roman vopat" |
Write a SQL query that answers the following question: What is the position of the player from the Ukraine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (position VARCHAR, nationality VARCHAR) | SELECT position FROM table_name_1 WHERE nationality = "ukraine" |
Write a SQL query that answers the following question: What Tournament did he place 12th in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (tournament VARCHAR, result VARCHAR) | SELECT tournament FROM table_name_58 WHERE result = "12th" |
Write a SQL query that answers the following question: What was the first year he placed 12th | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (year INTEGER, result VARCHAR) | SELECT MIN(year) FROM table_name_9 WHERE result = "12th" |
Write a SQL query that answers the following question: Tell me the circuit for alfa romeo swedish ice race | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR) | SELECT circuit FROM table_name_5 WHERE winning_constructor = "alfa romeo" AND name = "swedish ice race" |
Write a SQL query that answers the following question: Tell me the date for bugatti fpr stanislas czaykowski | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (date VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR) | SELECT date FROM table_name_60 WHERE winning_constructor = "bugatti" AND winning_driver = "stanislas czaykowski" |
Write a SQL query that answers the following question: Tell me the circuit for 20 august | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_99 WHERE date = "20 august" |
Write a SQL query that answers the following question: Tell me the winning driver for avusrennen | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (winning_driver VARCHAR, name VARCHAR) | SELECT winning_driver FROM table_name_70 WHERE name = "avusrennen" |
Write a SQL query that answers the following question: Tell me the report for bugatti and brooklands | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (report VARCHAR, winning_constructor VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_96 WHERE winning_constructor = "bugatti" AND circuit = "brooklands" |
Write a SQL query that answers the following question: How many years has there been a competition in Helsinki? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (year VARCHAR, location VARCHAR) | SELECT COUNT(year) FROM table_name_78 WHERE location = "helsinki" |
Write a SQL query that answers the following question: Which competition before 1982 had a score of 2:3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR) | SELECT competition FROM table_name_96 WHERE year < 1982 AND score = "2:3" |
Write a SQL query that answers the following question: Which competition occurred after 1980 with a score of 0:5 in Jerusalem? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR) | SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem" |
Write a SQL query that answers the following question: When was there an attendance of 51,342? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_6 WHERE attendance = "51,342" |
Write a SQL query that answers the following question: What was the attendance during week 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_88 WHERE week = 7 |
Write a SQL query that answers the following question: What was the score during week 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_12 WHERE week = 16 |
Write a SQL query that answers the following question: Who is the mInister who left office during 1960? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (minister VARCHAR, left_office VARCHAR) | SELECT minister FROM table_name_58 WHERE left_office = "1960" |
Write a SQL query that answers the following question: Which government is number 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (government VARCHAR, number VARCHAR) | SELECT government FROM table_name_63 WHERE number = 6 |
Write a SQL query that answers the following question: Which rider had a speed of 90.57mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (rider VARCHAR, speed VARCHAR) | SELECT rider FROM table_name_59 WHERE speed = "90.57mph" |
Write a SQL query that answers the following question: Which country has a place smaller than 8 and points smaller than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (country VARCHAR, place VARCHAR, points VARCHAR) | SELECT country FROM table_name_63 WHERE place < 8 AND points < 5 |
Write a SQL query that answers the following question: What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (losses INTEGER, place VARCHAR, wins VARCHAR, ties VARCHAR) | SELECT MIN(losses) FROM table_name_38 WHERE wins < 4 AND ties = 2 AND place = 5 |
Write a SQL query that answers the following question: Tell me the post-season record for kansas city | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (post_season_record_ VARCHAR, e_ VARCHAR, mlb_affiliate VARCHAR) | SELECT post_season_record_[e_] FROM table_name_55 WHERE mlb_affiliate = "kansas city" |
Write a SQL query that answers the following question: Tell me the venue of 29 april 2007 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_14 WHERE date = "29 april 2007" |
Write a SQL query that answers the following question: Tell me the competition of 20 august 2008 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_87 WHERE date = "20 august 2008" |
Write a SQL query that answers the following question: Tell me the date of stade des martyrs, dr congo | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_89 WHERE venue = "stade des martyrs, dr congo" |
Write a SQL query that answers the following question: How much money, in millions, is paid to Infotalent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (amount__millions_ VARCHAR, payee VARCHAR) | SELECT amount__millions_ FROM table_name_92 WHERE payee = "infotalent" |
Write a SQL query that answers the following question: What is the purpose of Euromarine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (purpose VARCHAR, payee VARCHAR) | SELECT purpose FROM table_name_52 WHERE payee = "euromarine" |
Write a SQL query that answers the following question: What signatory has a purpose of police security and Infotalent payee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (signatories VARCHAR, purpose VARCHAR, payee VARCHAR) | SELECT signatories FROM table_name_71 WHERE purpose = "police security" AND payee = "infotalent" |
Write a SQL query that answers the following question: Tell me the highest launced for trn | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (launched INTEGER, name VARCHAR) | SELECT MAX(launched) FROM table_name_1 WHERE name = "trn" |
Write a SQL query that answers the following question: Tell me the period for red rock | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (period VARCHAR, place VARCHAR) | SELECT period FROM table_name_25 WHERE place = "red rock" |
Write a SQL query that answers the following question: Tell me the province for 260km ese of calgary | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (province VARCHAR, location VARCHAR) | SELECT province FROM table_name_15 WHERE location = "260km ese of calgary" |
Write a SQL query that answers the following question: Tell me the province of 1941-1946 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (province VARCHAR, period VARCHAR) | SELECT province FROM table_name_49 WHERE period = "1941-1946" |
Write a SQL query that answers the following question: Tell me the degree for chemistry 1965 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (degree VARCHAR, award_year VARCHAR, award VARCHAR) | SELECT degree FROM table_name_90 WHERE award_year = 1965 AND award = "chemistry" |
Write a SQL query that answers the following question: What is the Election date for Member william richmond category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (election_date VARCHAR, member VARCHAR) | SELECT election_date FROM table_name_49 WHERE member = "william richmond category:articles with hcards" |
Write a SQL query that answers the following question: What is the election date for the city of auckland category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (election_date VARCHAR, electorate VARCHAR) | SELECT election_date FROM table_name_16 WHERE electorate = "city of auckland category:articles with hcards" |
Write a SQL query that answers the following question: What electorate does Member dingley brittin category:articles with hcards represent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (electorate VARCHAR, member VARCHAR) | SELECT electorate FROM table_name_37 WHERE member = "dingley brittin category:articles with hcards" |
Write a SQL query that answers the following question: What is the election date for the electorate of member charles brown category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (election_date VARCHAR, member VARCHAR) | SELECT election_date FROM table_name_94 WHERE member = "charles brown category:articles with hcards" |
Write a SQL query that answers the following question: Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (date VARCHAR, event VARCHAR, acts VARCHAR, year VARCHAR) | SELECT date FROM table_name_4 WHERE acts = "6 bands" AND year > 1981 AND event = "monsters of rock" |
Write a SQL query that answers the following question: Tell me the stages for 1981 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (stages VARCHAR, year VARCHAR) | SELECT stages FROM table_name_42 WHERE year = 1981 |
Write a SQL query that answers the following question: Tell me the event for 6 bands | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (event VARCHAR, acts VARCHAR) | SELECT event FROM table_name_74 WHERE acts = "6 bands" |
Write a SQL query that answers the following question: What is the lightweight value with no information model and the flexible value is unknown? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (lightweight VARCHAR, information_model VARCHAR, flexible VARCHAR) | SELECT lightweight FROM table_name_79 WHERE information_model = "no" AND flexible = "unknown" |
Write a SQL query that answers the following question: What is the bore for a 9-cyl radial on a 9 AD? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (bore VARCHAR, cyl VARCHAR, name VARCHAR) | SELECT bore FROM table_name_8 WHERE cyl = "9-cyl radial" AND name = "9 ad" |
Write a SQL query that answers the following question: What bore goes with an 18 AB? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (bore VARCHAR, name VARCHAR) | SELECT bore FROM table_name_9 WHERE name = "18 ab" |
Write a SQL query that answers the following question: Tell me the venue for notes of 10.93 secs | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (venue VARCHAR, notes VARCHAR) | SELECT venue FROM table_name_45 WHERE notes = "10.93 secs" |
Write a SQL query that answers the following question: Tell me the venue for year less than 2003 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (venue VARCHAR, year INTEGER) | SELECT venue FROM table_name_81 WHERE year < 2003 |
Write a SQL query that answers the following question: What is the total number of points team Alfa Romeo 184T won? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (points INTEGER, team_chassis VARCHAR) | SELECT SUM(points) FROM table_name_56 WHERE team_chassis = "alfa romeo 184t" |
Write a SQL query that answers the following question: What engine was used after 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (engine VARCHAR, year INTEGER) | SELECT engine FROM table_name_87 WHERE year > 1984 |
Write a SQL query that answers the following question: In which year were the points more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (year VARCHAR, points INTEGER) | SELECT year FROM table_name_72 WHERE points > 0 |
Write a SQL query that answers the following question: What were the Tyres after 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (tyres VARCHAR, year INTEGER) | SELECT tyres FROM table_name_22 WHERE year > 1984 |
Write a SQL query that answers the following question: Tell me the bp comp 2 for % wt comp 1 of 76 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (bp_comp_2__˚c_ VARCHAR, _percentage_wt_comp_1 VARCHAR) | SELECT bp_comp_2__˚c_ FROM table_name_32 WHERE _percentage_wt_comp_1 = 76 |
Write a SQL query that answers the following question: Tell me the total number of % wt comp 1 foR % wt comp 2 or 27 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (_percentage_wt_comp_1 VARCHAR, _percentage_wt_comp_2 VARCHAR) | SELECT COUNT(_percentage_wt_comp_1) FROM table_name_1 WHERE _percentage_wt_comp_2 = 27 |
Write a SQL query that answers the following question: What is the percentage of the popular vote when there were 90 seats available? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (_percentage_of_popular_vote VARCHAR, _number_of_seats_available VARCHAR) | SELECT _percentage_of_popular_vote FROM table_name_53 WHERE _number_of_seats_available = 90 |
Write a SQL query that answers the following question: Name the gold for silver of 39 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (gold VARCHAR, silver VARCHAR) | SELECT gold FROM table_name_56 WHERE silver = 39 |
Write a SQL query that answers the following question: What is the compression ratio for the 302-2v Windsor v8 engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (compression_ratio VARCHAR, engine VARCHAR) | SELECT compression_ratio FROM table_name_41 WHERE engine = "302-2v windsor v8" |
Write a SQL query that answers the following question: How many games had 41 rushes and were than 197 yards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (games VARCHAR, rushes VARCHAR, yards VARCHAR) | SELECT COUNT(games) FROM table_name_21 WHERE rushes = 41 AND yards < 197 |
Write a SQL query that answers the following question: What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (yards INTEGER, rushes VARCHAR, games VARCHAR) | SELECT MAX(yards) FROM table_name_48 WHERE rushes < 51 AND games > 12 |
Write a SQL query that answers the following question: What is the pick # for Dimelon Westfield? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_name_93 WHERE player = "dimelon westfield" |
Write a SQL query that answers the following question: What was the final score of the November 8, 2001 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_64 WHERE date = "november 8, 2001" |
Write a SQL query that answers the following question: Tell me the bullet tip color of headstamp id of h1z | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (bullet_tip_color VARCHAR, headstamp_id VARCHAR) | SELECT bullet_tip_color FROM table_name_54 WHERE headstamp_id = "h1z" |
Write a SQL query that answers the following question: Tell me the total number of gold for bronze more than 0 and total more than 100 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (gold VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT COUNT(gold) FROM table_name_2 WHERE bronze > 0 AND rank = "total" AND "total" > 100 |
Write a SQL query that answers the following question: Tell me the least silver for total less than 6 and rank of 8 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (silver INTEGER, total VARCHAR, rank VARCHAR) | SELECT MIN(silver) FROM table_name_17 WHERE total < 6 AND rank = "8" |
Write a SQL query that answers the following question: What is the first leg score in that match where Marseille was the first team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_85 WHERE team_1 = "marseille" |
Write a SQL query that answers the following question: Tell me the discovery/publication for still living | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (discovery___publication_of_name VARCHAR, fossil_record VARCHAR) | SELECT discovery___publication_of_name FROM table_name_55 WHERE fossil_record = "still living" |
Write a SQL query that answers the following question: Tell me the discovery/publication for red deer cave people | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (discovery___publication_of_name VARCHAR, species VARCHAR) | SELECT discovery___publication_of_name FROM table_name_69 WHERE species = "red deer cave people" |
Write a SQL query that answers the following question: Tell me the discovery/publicatio of name for h.heidelbergensis | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (discovery___publication_of_name VARCHAR, species VARCHAR) | SELECT discovery___publication_of_name FROM table_name_78 WHERE species = "h.heidelbergensis" |
Write a SQL query that answers the following question: Tell me the fossil record for name of 1994/2003 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (fossil_record VARCHAR, discovery___publication_of_name VARCHAR) | SELECT fossil_record FROM table_name_33 WHERE discovery___publication_of_name = "1994/2003" |
Write a SQL query that answers the following question: Tell me lived for name of 1994/2003 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (lived_when___mya__ VARCHAR, discovery___publication_of_name VARCHAR) | SELECT lived_when___mya__ FROM table_name_99 WHERE discovery___publication_of_name = "1994/2003" |
Write a SQL query that answers the following question: When was the Monza circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_68 WHERE circuit = "monza" |
Write a SQL query that answers the following question: What is Metro's win percentage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (win__percentage VARCHAR, conference VARCHAR) | SELECT win__percentage FROM table_name_4 WHERE conference = "metro" |
Write a SQL query that answers the following question: How many elite eight teams came from the Atlantic 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (elite_eight VARCHAR, conference VARCHAR) | SELECT elite_eight FROM table_name_67 WHERE conference = "atlantic 10" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.