instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: who is the driver with the grid of 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_84 WHERE grid = 13 |
Write a SQL query that answers the following question: How many championships did the team or teams established in 1976 win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (championships INTEGER, established VARCHAR) | SELECT SUM(championships) FROM table_name_92 WHERE established = 1976 |
Write a SQL query that answers the following question: Which WNBA team that won at least 2 championships was established most recently? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (established INTEGER, league VARCHAR, championships VARCHAR) | SELECT MAX(established) FROM table_name_54 WHERE league = "wnba" AND championships > 2 |
Write a SQL query that answers the following question: What are the venues that host WNBA games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (venue VARCHAR, league VARCHAR) | SELECT venue FROM table_name_39 WHERE league = "wnba" |
Write a SQL query that answers the following question: Name the bowling style of the player born 16 march 1974 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (bowling_style VARCHAR, date_of_birth VARCHAR) | SELECT bowling_style FROM table_name_10 WHERE date_of_birth = "16 march 1974" |
Write a SQL query that answers the following question: Name the batting style for heath streak | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (batting_style VARCHAR, player VARCHAR) | SELECT batting_style FROM table_name_57 WHERE player = "heath streak" |
Write a SQL query that answers the following question: What is the name of a building that has 52 floors? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (name VARCHAR, floors VARCHAR) | SELECT name FROM table_name_87 WHERE floors = 52 |
Write a SQL query that answers the following question: How many floors does the Custom House Tower have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (floors VARCHAR, name VARCHAR) | SELECT COUNT(floors) FROM table_name_95 WHERE name = "custom house tower" |
Write a SQL query that answers the following question: How many floors does the building on 800 Boylston Street have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (floors INTEGER, street_address VARCHAR) | SELECT MAX(floors) FROM table_name_52 WHERE street_address = "800 boylston street" |
Write a SQL query that answers the following question: What is the street address for the Prudential Tower building? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (street_address VARCHAR, name VARCHAR) | SELECT street_address FROM table_name_17 WHERE name = "prudential tower" |
Write a SQL query that answers the following question: There is a building at 800 Boylston Street, how many floors does it have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR) | SELECT SUM(floors) FROM table_name_81 WHERE street_address = "800 boylston street" |
Write a SQL query that answers the following question: What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR) | SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8 |
Write a SQL query that answers the following question: What was the number of WJC Jews with a WJC rank of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (number_of_jews__wjc_ VARCHAR, rank___wjc__ VARCHAR) | SELECT number_of_jews__wjc_ FROM table_name_96 WHERE rank___wjc__ = 6 |
Write a SQL query that answers the following question: How many number of WJC Jews in the Los Angeles Metro Area has a ARDA rank of more than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (number_of_jews__wjc_ INTEGER, metro_area VARCHAR, rank__arda_ VARCHAR) | SELECT SUM(number_of_jews__wjc_) FROM table_name_73 WHERE metro_area = "los angeles" AND rank__arda_ > 2 |
Write a SQL query that answers the following question: Who drove during the race with less than 19 laps and a time listed as ignition? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT driver FROM table_name_55 WHERE laps < 19 AND time_retired = "ignition" |
Write a SQL query that answers the following question: What is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in the mist? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (record VARCHAR, round VARCHAR, event VARCHAR) | SELECT record FROM table_name_90 WHERE round > 2 AND event = "raging wolf 6: mayhem in the mist" |
Write a SQL query that answers the following question: What is the highest number of people that attended a game at Moorabbin Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_54 WHERE venue = "moorabbin oval" |
Write a SQL query that answers the following question: What is the least amount of people that attended a game when Essendon was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_83 WHERE away_team = "essendon" |
Write a SQL query that answers the following question: Which date did South Melbourne play as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_74 WHERE away_team = "south melbourne" |
Write a SQL query that answers the following question: What is the constructor for Jackie Stewart's car? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_3 WHERE driver = "jackie stewart" |
Write a SQL query that answers the following question: What is the location where Denny Hulme was the driver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (location VARCHAR, driver VARCHAR) | SELECT location FROM table_name_54 WHERE driver = "denny hulme" |
Write a SQL query that answers the following question: What is number of the train that originated in Secunderabad Junction? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (train_no VARCHAR, origin VARCHAR) | SELECT train_no FROM table_name_87 WHERE origin = "secunderabad junction" |
Write a SQL query that answers the following question: From where did the train that arrived in the Anand Vihar Terminal originate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (origin VARCHAR, destination VARCHAR) | SELECT origin FROM table_name_29 WHERE destination = "anand vihar terminal" |
Write a SQL query that answers the following question: From where did Train No. 15929/30 originate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (origin VARCHAR, train_no VARCHAR) | SELECT origin FROM table_name_15 WHERE train_no = "15929/30" |
Write a SQL query that answers the following question: What is the frequency of the train to Bangalore? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (frequency VARCHAR, destination VARCHAR) | SELECT frequency FROM table_name_82 WHERE destination = "bangalore" |
Write a SQL query that answers the following question: How many Norwegian Americans have Norwegian Americans (2000) of 109,744? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (norwegian_americans__2009_ VARCHAR, norwegian_americans__2000_ VARCHAR) | SELECT COUNT(norwegian_americans__2009_) FROM table_name_72 WHERE norwegian_americans__2000_ = 109 OFFSET 744 |
Write a SQL query that answers the following question: Which state has a Percent (2009) of 6.2%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (state VARCHAR, percent__2009_ VARCHAR) | SELECT state FROM table_name_95 WHERE percent__2009_ = "6.2%" |
Write a SQL query that answers the following question: What is the holding of the customers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (holding VARCHAR, component VARCHAR) | SELECT holding FROM table_name_56 WHERE component = "customers" |
Write a SQL query that answers the following question: What Allied-Unrelated is labeled as "common"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (allied_unrelated VARCHAR, allied_related VARCHAR) | SELECT allied_unrelated FROM table_name_61 WHERE allied_related = "common" |
Write a SQL query that answers the following question: Which integrated has an allied-related of some shared? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (integrated VARCHAR, allied_related VARCHAR) | SELECT integrated FROM table_name_40 WHERE allied_related = "some shared" |
Write a SQL query that answers the following question: What integrated has an allied-related of centralized? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (integrated VARCHAR, allied_related VARCHAR) | SELECT integrated FROM table_name_11 WHERE allied_related = "centralized" |
Write a SQL query that answers the following question: What component has an integrated of one? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (component VARCHAR, integrated VARCHAR) | SELECT component FROM table_name_21 WHERE integrated = "one" |
Write a SQL query that answers the following question: How many candidates had 0 percent of the vote in 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (candidates VARCHAR, seats_won VARCHAR, _percentage_of_vote VARCHAR, election VARCHAR) | SELECT COUNT(candidates) FROM table_name_71 WHERE _percentage_of_vote = 0 AND election = 1999 AND seats_won > 0 |
Write a SQL query that answers the following question: What is the score of the game with Manu ginóbili (44) as the leading scorer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (score VARCHAR, leading_scorer VARCHAR) | SELECT score FROM table_name_27 WHERE leading_scorer = "manu ginóbili (44)" |
Write a SQL query that answers the following question: What is the record of the game on February 21, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_60 WHERE date = "february 21, 2008" |
Write a SQL query that answers the following question: Who was the home team of the game with manu ginóbili (34) as the leading scorer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR) | SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)" |
Write a SQL query that answers the following question: What is the record of the game on February 25, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_59 WHERE date = "february 25, 2008" |
Write a SQL query that answers the following question: What type is shown with a moving to of valenciennes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR) | SELECT type FROM table_name_7 WHERE moving_to = "valenciennes" |
Write a SQL query that answers the following question: What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | SELECT transfer_window FROM table_name_63 WHERE transfer_fee = "n/a" AND moving_to = "free agent" AND name = "joe sagar" |
Write a SQL query that answers the following question: What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR) | SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "cardiff city" |
Write a SQL query that answers the following question: What Transfer window that has a Transfer fee of free, with a Moving to of derby county? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county" |
Write a SQL query that answers the following question: What is the first game number that had attendance of 56,505? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR) | SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505 |
Write a SQL query that answers the following question: What was the crowd size for the away team footscray? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_59 WHERE away_team = "footscray" |
Write a SQL query that answers the following question: Which Race Name has Goodwood in the Curcuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (race_name VARCHAR, circuit VARCHAR) | SELECT race_name FROM table_name_4 WHERE circuit = "goodwood" |
Write a SQL query that answers the following question: Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (constructor VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | SELECT constructor FROM table_name_6 WHERE winning_driver = "jim clark" AND circuit = "syracuse" |
Write a SQL query that answers the following question: Which Constructor has the Winning Driver, Jo Siffert? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (constructor VARCHAR, winning_driver VARCHAR) | SELECT constructor FROM table_name_72 WHERE winning_driver = "jo siffert" |
Write a SQL query that answers the following question: Which Constructor has Pergusa in the Circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (constructor VARCHAR, circuit VARCHAR) | SELECT constructor FROM table_name_49 WHERE circuit = "pergusa" |
Write a SQL query that answers the following question: On what date was a game played at MCG? | 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 = "mcg" |
Write a SQL query that answers the following question: What is the average total medals of the team with 2 gold and less than 1 silver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (total INTEGER, gold VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 1 |
Write a SQL query that answers the following question: What is the lowest amount of silver medals Iceland, who has less than 87 medals, has? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_95 WHERE nation = "iceland" AND total < 87 |
Write a SQL query that answers the following question: What is the least amount of bronze Andorra, who has more than 6 total medals, has? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (bronze INTEGER, nation VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_86 WHERE nation = "andorra" AND total > 6 |
Write a SQL query that answers the following question: What is the lowest amount of bronze Liechtenstein, who has more than 11 gold, has? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_75 WHERE nation = "liechtenstein" AND gold > 11 |
Write a SQL query that answers the following question: What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT AVG(silver) FROM table_name_87 WHERE bronze < 15 AND nation = "montenegro" AND total > 11 |
Write a SQL query that answers the following question: What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (voter_turnout INTEGER, byut VARCHAR, ou_psd VARCHAR) | SELECT MIN(voter_turnout) FROM table_name_62 WHERE byut = 50.7 AND ou_psd < 36.8 |
Write a SQL query that answers the following question: What is the voter registration that has a BYut of 48.2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (voter_registration VARCHAR, byut VARCHAR) | SELECT COUNT(voter_registration) FROM table_name_78 WHERE byut = 48.2 |
Write a SQL query that answers the following question: Who was the home team at VFL Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_22 WHERE venue = "vfl park" |
Write a SQL query that answers the following question: Who was the home team at Kardinia Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_78 WHERE venue = "kardinia park" |
Write a SQL query that answers the following question: What type of paper is the 1 cent denominations made on? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (paper_type VARCHAR, denomination VARCHAR) | SELECT paper_type FROM table_name_3 WHERE denomination = "1 cent" |
Write a SQL query that answers the following question: What is the paper type that the one that was issued on 26 july 2007 done on? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (paper_type VARCHAR, date_of_issue VARCHAR) | SELECT paper_type FROM table_name_7 WHERE date_of_issue = "26 july 2007" |
Write a SQL query that answers the following question: What did the home team footscray score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_65 WHERE home_team = "footscray" |
Write a SQL query that answers the following question: What was the total crowd size for the him team footscray? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray" |
Write a SQL query that answers the following question: What is the Home team at corio oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_57 WHERE venue = "corio oval" |
Write a SQL query that answers the following question: What livery was worn on the date before 1936, with the description of Gresley RF? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (livery VARCHAR, date VARCHAR, description VARCHAR) | SELECT livery FROM table_name_82 WHERE date < 1936 AND description = "gresley rf" |
Write a SQL query that answers the following question: Which number and name has the description Gresley RB and a date before 1937? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (number_ VARCHAR, _name VARCHAR, description VARCHAR, date VARCHAR) | SELECT number_ & _name FROM table_name_16 WHERE description = "gresley rb" AND date < 1937 |
Write a SQL query that answers the following question: Who is the owner before 1940, who had a number and name of no. 1222? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (owner_s_ VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR) | SELECT owner_s_ FROM table_name_60 WHERE date < 1940 AND number_ & _name = "no. 1222" |
Write a SQL query that answers the following question: What type has a scratch of 750 GB? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR) | SELECT type FROM table_name_2 WHERE scratch = "750 gb" |
Write a SQL query that answers the following question: What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (cache VARCHAR, memory VARCHAR, number VARCHAR) | SELECT cache FROM table_name_13 WHERE memory = "24 gb qpi 5.86 gt/s" AND number = 64 |
Write a SQL query that answers the following question: What is the Memory for a Number 32 with a Clock of 2.26ghz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (memory VARCHAR, clock VARCHAR, number VARCHAR) | SELECT memory FROM table_name_68 WHERE clock = "2.26ghz" AND number = 32 |
Write a SQL query that answers the following question: Of those acquired in 2008, where were they born? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (place_of_birth VARCHAR, acquired VARCHAR) | SELECT place_of_birth FROM table_name_62 WHERE acquired = 2008 |
Write a SQL query that answers the following question: What is the shooting preference of Matthew Myers, acquired in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (shoots VARCHAR, acquired VARCHAR, player VARCHAR) | SELECT shoots FROM table_name_99 WHERE acquired = 2010 AND player = "matthew myers" |
Write a SQL query that answers the following question: In what year was player Bruce Graham acquired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (acquired VARCHAR, player VARCHAR) | SELECT acquired FROM table_name_18 WHERE player = "bruce graham" |
Write a SQL query that answers the following question: Name the D 42 √ when it has D 44 √ of r 36 √ | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (d_42_√ VARCHAR, d_44_√ VARCHAR) | SELECT d_42_√ FROM table_name_67 WHERE d_44_√ = "r 36 √" |
Write a SQL query that answers the following question: Name the D 45 O that has D 46 O of d 26 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (d_45_o VARCHAR, d_46_o VARCHAR) | SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26" |
Write a SQL query that answers the following question: Name the least goals for goal difference of 7 and losses more than 13 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (goals_against INTEGER, goal_difference VARCHAR, losses VARCHAR) | SELECT MIN(goals_against) FROM table_name_29 WHERE goal_difference = 7 AND losses > 13 |
Write a SQL query that answers the following question: Tell me the total number of positions with goal difference more than -17 and played less than 38 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (position VARCHAR, goal_difference VARCHAR, played VARCHAR) | SELECT COUNT(position) FROM table_name_12 WHERE goal_difference > -17 AND played < 38 |
Write a SQL query that answers the following question: What was the attendance when South Melbourne played as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_21 WHERE home_team = "south melbourne" |
Write a SQL query that answers the following question: What was the attendance when Footscray played as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_80 WHERE away_team = "footscray" |
Write a SQL query that answers the following question: What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (quantity INTEGER, manufacturer VARCHAR, gwr_nos VARCHAR) | SELECT MIN(quantity) FROM table_name_72 WHERE manufacturer = "peckett and sons" AND gwr_nos = "696, 779, 93 5" |
Write a SQL query that answers the following question: What is the lowest capacity with an opening larger than 2015 in Trabzon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (capacity INTEGER, opening VARCHAR, city VARCHAR) | SELECT MIN(capacity) FROM table_name_95 WHERE opening > 2015 AND city = "trabzon" |
Write a SQL query that answers the following question: What is the average opening at Stadyum Samsun with a capacity smaller than 34,658? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (opening INTEGER, stadium VARCHAR, capacity VARCHAR) | SELECT AVG(opening) FROM table_name_20 WHERE stadium = "stadyum samsun" AND capacity < 34 OFFSET 658 |
Write a SQL query that answers the following question: What is the Years for Jazz Club at Oregon State? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (years_for_jazz VARCHAR, school_club_team VARCHAR) | SELECT years_for_jazz FROM table_name_46 WHERE school_club_team = "oregon state" |
Write a SQL query that answers the following question: Which player is Andre Owens in Year for Jazz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (years_for_jazz VARCHAR, player VARCHAR) | SELECT years_for_jazz FROM table_name_38 WHERE player = "andre owens" |
Write a SQL query that answers the following question: What is the Year for Jazz club of Houston? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (years_for_jazz VARCHAR, school_club_team VARCHAR) | SELECT years_for_jazz FROM table_name_54 WHERE school_club_team = "houston" |
Write a SQL query that answers the following question: What is position does Dan O'Sullivan play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_58 WHERE player = "dan o'sullivan" |
Write a SQL query that answers the following question: What position in the club team of Kansas? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_21 WHERE school_club_team = "kansas" |
Write a SQL query that answers the following question: Who is the center position of Years for Jazz, Greg Ostertag? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, player VARCHAR) | SELECT years_for_jazz FROM table_name_43 WHERE position = "center" AND player = "greg ostertag" |
Write a SQL query that answers the following question: What is the Date for the Away team University? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_73 WHERE away_team = "university" |
Write a SQL query that answers the following question: What is the Home team score at junction oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_19 WHERE venue = "junction oval" |
Write a SQL query that answers the following question: What Date did the Home team play in essendon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_48 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: What country has OF-1 Locotenent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (country VARCHAR, of_1 VARCHAR) | SELECT country FROM table_name_1 WHERE of_1 = "locotenent" |
Write a SQL query that answers the following question: What country has OF-1 Locotenent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (country VARCHAR, of_1 VARCHAR) | SELECT country FROM table_name_40 WHERE of_1 = "locotenent" |
Write a SQL query that answers the following question: Which OF-5 is in Ghana? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (of_5 VARCHAR, country VARCHAR) | SELECT of_5 FROM table_name_48 WHERE country = "ghana" |
Write a SQL query that answers the following question: What is the OF-4 of Albania? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR) | SELECT of_4 FROM table_name_47 WHERE country = "albania" |
Write a SQL query that answers the following question: What is the total pick numbers for the CFL team Edmonton Eskimos? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (pick__number INTEGER, cfl_team VARCHAR) | SELECT SUM(pick__number) FROM table_name_79 WHERE cfl_team = "edmonton eskimos" |
Write a SQL query that answers the following question: What p;layer attended Concordia College? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_40 WHERE college = "concordia" |
Write a SQL query that answers the following question: What is the total number of picks for the position of OL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (pick__number INTEGER, position VARCHAR) | SELECT SUM(pick__number) FROM table_name_87 WHERE position = "ol" |
Write a SQL query that answers the following question: Name the highest week for result of w 38-13 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_7 WHERE result = "w 38-13" |
Write a SQL query that answers the following question: I want to know the date with attendance of 35,763 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_88 WHERE attendance = "35,763" |
Write a SQL query that answers the following question: Which series with a total of 27 albums did Dargaud edit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (series VARCHAR, editor VARCHAR, albums VARCHAR) | SELECT series FROM table_name_39 WHERE editor = "dargaud" AND albums = "27" |
Write a SQL query that answers the following question: What years did the magazine Vaillant and Pif run? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (years VARCHAR, magazine VARCHAR) | SELECT years FROM table_name_78 WHERE magazine = "vaillant and pif" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.