instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What was the rank of the team with a run 2 of 1:20.8 and a run 4 of 1:23.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (rank VARCHAR, run_2 VARCHAR, run_4 VARCHAR) | SELECT rank FROM table_name_71 WHERE run_2 = "1:20.8" AND run_4 = "1:23.0" |
Write a SQL query that answers the following question: What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (run_1 VARCHAR, run_3 VARCHAR, run_4 VARCHAR) | SELECT run_1 FROM table_name_9 WHERE run_3 = "1:21.4" AND run_4 = "1:23.0" |
Write a SQL query that answers the following question: Which team had a run 4 of 1:24.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (team VARCHAR, run_4 VARCHAR) | SELECT team FROM table_name_7 WHERE run_4 = "1:24.4" |
Write a SQL query that answers the following question: What is the Attendance at the game against the Oakland Raiders? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_40 WHERE opponent = "oakland raiders" |
Write a SQL query that answers the following question: What was the Attendance in Week 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_59 WHERE week = 10 |
Write a SQL query that answers the following question: Which Principal activities have an Incorporated in of france? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (principal_activities VARCHAR, incorporated_in VARCHAR) | SELECT principal_activities FROM table_name_76 WHERE incorporated_in = "france" |
Write a SQL query that answers the following question: Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR) | SELECT type FROM table_name_54 WHERE incorporated_in = "netherlands" AND principal_activities = "airline" AND company = "transavia.com" |
Write a SQL query that answers the following question: Which Type has a Company of epcor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (type VARCHAR, company VARCHAR) | SELECT type FROM table_name_21 WHERE company = "epcor" |
Write a SQL query that answers the following question: Which Type has a Principal activities of health services? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (type VARCHAR, principal_activities VARCHAR) | SELECT type FROM table_name_28 WHERE principal_activities = "health services" |
Write a SQL query that answers the following question: For the verb dhoa, what is the 2VF? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (verb VARCHAR) | SELECT 2 AS __vf_ FROM table_name_75 WHERE verb = "dhoa" |
Write a SQL query that answers the following question: What is the name of the subject who ran in the general election for Queen Anne's County State's Attorney? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (subject VARCHAR, election VARCHAR, office VARCHAR) | SELECT subject FROM table_name_63 WHERE election = "general" AND office = "queen anne's county state's attorney" |
Write a SQL query that answers the following question: Who was the writer of The Year of the Cat from the BBV? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (writer VARCHAR, company VARCHAR, title VARCHAR) | SELECT writer FROM table_name_2 WHERE company = "bbv" AND title = "the year of the cat" |
Write a SQL query that answers the following question: How many Goals For have Drawn of 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (goals_for VARCHAR, drawn VARCHAR) | SELECT COUNT(goals_for) FROM table_name_83 WHERE drawn = 10 |
Write a SQL query that answers the following question: Which Lost has Drawn larger than 12, and Goals Against of 54? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (lost INTEGER, drawn VARCHAR, goals_against VARCHAR) | SELECT MAX(lost) FROM table_name_94 WHERE drawn > 12 AND goals_against = 54 |
Write a SQL query that answers the following question: What is the record for the Superbrawl 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_68 WHERE event = "superbrawl 21" |
Write a SQL query that answers the following question: What location shows round was 1, and against Ricky Shivers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (location VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_43 WHERE round = 1 AND opponent = "ricky shivers" |
Write a SQL query that answers the following question: What is the method for a match with a Round larger than 2, he took a loss, and 15β3 was the record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR) | SELECT method FROM table_name_67 WHERE round > 2 AND res = "loss" AND record = "15β3" |
Write a SQL query that answers the following question: Which Position has a Pick of 11 (via calgary)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_8 WHERE pick = "11 (via calgary)" |
Write a SQL query that answers the following question: Which Round has a Pick of 25 (via hamilton)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (round INTEGER, pick VARCHAR) | SELECT SUM(round) FROM table_name_88 WHERE pick = "25 (via hamilton)" |
Write a SQL query that answers the following question: Which School/Club Team has a Round larger than 3, and a Player of sammy okpro? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (school_club_team VARCHAR, round VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_15 WHERE round > 3 AND player = "sammy okpro" |
Write a SQL query that answers the following question: Which Round has a Player of sammy okpro? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (round INTEGER, player VARCHAR) | SELECT AVG(round) FROM table_name_32 WHERE player = "sammy okpro" |
Write a SQL query that answers the following question: Which Position has a Round of 4, and a School/Club Team of concordia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_34 WHERE round = 4 AND school_club_team = "concordia" |
Write a SQL query that answers the following question: What is the Score of the game with a Record of 29β23β13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_21 WHERE record = "29β23β13" |
Write a SQL query that answers the following question: What is the Visitor of the game with a Record of 21β17β13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_70 WHERE record = "21β17β13" |
Write a SQL query that answers the following question: What is the Visitor of the game on December 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_26 WHERE date = "december 25" |
Write a SQL query that answers the following question: What is the Date of the game with a Record of 8β10β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_99 WHERE record = "8β10β6" |
Write a SQL query that answers the following question: What is the Date of the game with a Record of 1β2β4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_27 WHERE record = "1β2β4" |
Write a SQL query that answers the following question: What is the Date of the game with a Record of 27β21β13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_11 WHERE record = "27β21β13" |
Write a SQL query that answers the following question: Which Year(s) won has a Total smaller than 292, and a Player of hale irwin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (year_s__won VARCHAR, total VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_42 WHERE total < 292 AND player = "hale irwin" |
Write a SQL query that answers the following question: What is fuzzy zoeller's to par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_12 WHERE player = "fuzzy zoeller" |
Write a SQL query that answers the following question: What To par was won in 1982? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR) | SELECT to_par FROM table_name_15 WHERE year_s__won = "1982" |
Write a SQL query that answers the following question: What is curtis strange's to par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_26 WHERE player = "curtis strange" |
Write a SQL query that answers the following question: WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_80 WHERE date = "november 18" |
Write a SQL query that answers the following question: WHAT IS THE VISITOR FOR FEBRUARY 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_27 WHERE date = "february 9" |
Write a SQL query that answers the following question: What is the place of the player who scored less than 70? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (place VARCHAR, score INTEGER) | SELECT place FROM table_name_96 WHERE score < 70 |
Write a SQL query that answers the following question: Which player was chosen by Saskatchewan in a pick larger than 38? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (player VARCHAR, pick__number VARCHAR, cfl_team VARCHAR) | SELECT player FROM table_name_21 WHERE pick__number > 38 AND cfl_team = "saskatchewan" |
Write a SQL query that answers the following question: If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (points INTEGER, goals VARCHAR, assists VARCHAR, games VARCHAR) | SELECT SUM(points) FROM table_name_78 WHERE assists = 7 AND games = 11 AND goals < 6 |
Write a SQL query that answers the following question: What's the highest amount of Games recorded that have more than 10 assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (games INTEGER, assists INTEGER) | SELECT MAX(games) FROM table_name_64 WHERE assists > 10 |
Write a SQL query that answers the following question: What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (updated_in_past_30_days VARCHAR, registration VARCHAR) | SELECT updated_in_past_30_days FROM table_name_93 WHERE registration = "open to people 13 and over" |
Write a SQL query that answers the following question: What is Permanent Account, when Updated In Past 30 Days is 10324? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (permanent_account VARCHAR, updated_in_past_30_days VARCHAR) | SELECT permanent_account FROM table_name_96 WHERE updated_in_past_30_days = "10324" |
Write a SQL query that answers the following question: What is Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR) | SELECT userpics_free FROM table_name_18 WHERE registration = "open" AND yearly_cost_for_paid_account = "unknown" AND name = "kraslan" |
Write a SQL query that answers the following question: What is Userpics Free, when Monthly Cost For Paid Account is "unknown", and when S Registered User is 2340? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (userpics_free VARCHAR, monthly_cost_for_paid_account VARCHAR, s_registered_user VARCHAR) | SELECT userpics_free FROM table_name_89 WHERE monthly_cost_for_paid_account = "unknown" AND s_registered_user = "2340" |
Write a SQL query that answers the following question: What is Yearly Cost For Paid Account, when Montly Cost For Paid Account is 5 USD, and when Userpics Paid is 50? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (yearly_cost_for_paid_account VARCHAR, monthly_cost_for_paid_account VARCHAR, userpics_paid VARCHAR) | SELECT yearly_cost_for_paid_account FROM table_name_94 WHERE monthly_cost_for_paid_account = "5 usd" AND userpics_paid = "50" |
Write a SQL query that answers the following question: What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR) | SELECT s_registered_user FROM table_name_98 WHERE userpics_free = "6 [free] or 15 [plus]" |
Write a SQL query that answers the following question: What is Venue, when Date is "2003-08-13"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_72 WHERE date = "2003-08-13" |
Write a SQL query that answers the following question: What is Score, when Date is "2000-05-23"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_93 WHERE date = "2000-05-23" |
Write a SQL query that answers the following question: What is Result, when Date is "2000-05-23"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_57 WHERE date = "2000-05-23" |
Write a SQL query that answers the following question: What is Competition, when Date is "1999-08-07"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_13 WHERE date = "1999-08-07" |
Write a SQL query that answers the following question: In what Week was Serena Williams 6β1, 6β7(7), 6β3 the Winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (week VARCHAR, winners VARCHAR) | SELECT week FROM table_name_65 WHERE winners = "serena williams 6β1, 6β7(7), 6β3" |
Write a SQL query that answers the following question: Who was the Finalist on a Hard Surface with Winner Serena Williams 6β1, 6β7(7), 6β3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (finalists VARCHAR, surface VARCHAR, winners VARCHAR) | SELECT finalists FROM table_name_34 WHERE surface = "hard" AND winners = "serena williams 6β1, 6β7(7), 6β3" |
Write a SQL query that answers the following question: In what Week is the Rome Tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (week VARCHAR, tournament VARCHAR) | SELECT week FROM table_name_70 WHERE tournament = "rome" |
Write a SQL query that answers the following question: Which regio has a label of zzt and a date of 27 september 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (region VARCHAR, label VARCHAR, date VARCHAR) | SELECT region FROM table_name_5 WHERE label = "zzt" AND date = "27 september 2004" |
Write a SQL query that answers the following question: Which catalog has a date of 24 march 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_44 WHERE date = "24 march 2006" |
Write a SQL query that answers the following question: Which format has a region of united kingdom? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (format VARCHAR, region VARCHAR) | SELECT format FROM table_name_19 WHERE region = "united kingdom" |
Write a SQL query that answers the following question: Which date has a region of united kingdom? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, region VARCHAR) | SELECT date FROM table_name_54 WHERE region = "united kingdom" |
Write a SQL query that answers the following question: Which regio has a date of 24 march 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_15 WHERE date = "24 march 2006" |
Write a SQL query that answers the following question: What is the A330 for A310 B10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR) | SELECT a330 FROM table_name_62 WHERE a310 = "b10" |
Write a SQL query that answers the following question: What is the A330 and the A310 wide? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR) | SELECT a330 FROM table_name_62 WHERE a310 = "wide" |
Write a SQL query that answers the following question: What model is the A310 of 1983? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (model VARCHAR, a310 VARCHAR) | SELECT model FROM table_name_48 WHERE a310 = "1983" |
Write a SQL query that answers the following question: What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR) | SELECT no_2 FROM table_name_7 WHERE no_6 = "ethan" AND no_3 = "mason" |
Write a SQL query that answers the following question: In what region and year was Jacob the number 2 name and Ryan the number 10 name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (region__year_ VARCHAR, no_2 VARCHAR, no_10 VARCHAR) | SELECT region__year_ FROM table_name_98 WHERE no_2 = "jacob" AND no_10 = "ryan" |
Write a SQL query that answers the following question: What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (no_7 VARCHAR, no_6 VARCHAR, no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR) | SELECT no_7 FROM table_name_68 WHERE no_1 = "mason" AND no_9 = "jackson" AND no_10 = "logan" AND no_6 = "owen" |
Write a SQL query that answers the following question: What name was in the number 4 spot when Aiden was number 7 and James was number 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (no_4 VARCHAR, no_7 VARCHAR, no_3 VARCHAR) | SELECT no_4 FROM table_name_29 WHERE no_7 = "aiden" AND no_3 = "james" |
Write a SQL query that answers the following question: What is the positions of Damon Jones? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_87 WHERE player = "damon jones" |
Write a SQL query that answers the following question: for how many years did the player who graduated from stanford play for Grizzlies? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_11 WHERE school_club_team = "stanford" |
Write a SQL query that answers the following question: Which school did Dahntay Jones graduate from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_24 WHERE player = "dahntay jones" |
Write a SQL query that answers the following question: Which player gradyated from Florida State? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_76 WHERE school_club_team = "florida state" |
Write a SQL query that answers the following question: What is the Playoffs MVP of the game with a Result of 4β1 with Champions Daejeon Hyundai Dynat? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (playoffs_mvp VARCHAR, result VARCHAR, champions VARCHAR) | SELECT playoffs_mvp FROM table_name_65 WHERE result = "4β1" AND champions = "daejeon hyundai dynat" |
Write a SQL query that answers the following question: What is the Year of the game with Result of 4β3 and Champions of Daegu Tongyang Orions? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (year VARCHAR, result VARCHAR, champions VARCHAR) | SELECT year FROM table_name_86 WHERE result = "4β3" AND champions = "daegu tongyang orions" |
Write a SQL query that answers the following question: What is the Runners-up of the game with a Result of 4β1 and Champions of Wonju Dongbu Promy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (runners_up VARCHAR, result VARCHAR, champions VARCHAR) | SELECT runners_up FROM table_name_1 WHERE result = "4β1" AND champions = "wonju dongbu promy" |
Write a SQL query that answers the following question: Where was the venue that Linfield was the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_58 WHERE opponent = "linfield" |
Write a SQL query that answers the following question: Which scorer plays for Aldershot and has scored a total of 19 League goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (scorer VARCHAR, club VARCHAR, league_goals VARCHAR) | SELECT scorer FROM table_name_17 WHERE club = "aldershot" AND league_goals = "19" |
Write a SQL query that answers the following question: What is the highest number of League Cup goals that were scored by Hartlepool? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (league_cup_goals INTEGER, club VARCHAR) | SELECT MAX(league_cup_goals) FROM table_name_6 WHERE club = "hartlepool" |
Write a SQL query that answers the following question: When was the game at the North Shore Events Centre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_99 WHERE venue = "north shore events centre" |
Write a SQL query that answers the following question: What is the report corresponding to the game that had the Townsville Crocodiles as home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (report VARCHAR, home_team VARCHAR) | SELECT report FROM table_name_59 WHERE home_team = "townsville crocodiles" |
Write a SQL query that answers the following question: When was the game that had Sydney Spirit as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_64 WHERE away_team = "sydney spirit" |
Write a SQL query that answers the following question: What was the box score for the game that had the Townsville Crocodiles as home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (Box VARCHAR, home_team VARCHAR) | SELECT Box AS score FROM table_name_95 WHERE home_team = "townsville crocodiles" |
Write a SQL query that answers the following question: What was the box score for the game that had the Cairns Taipans as home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (Box VARCHAR, home_team VARCHAR) | SELECT Box AS score FROM table_name_23 WHERE home_team = "cairns taipans" |
Write a SQL query that answers the following question: What's the lap number for time/retired of +33.912? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_71 WHERE time_retired = "+33.912" |
Write a SQL query that answers the following question: Total laps for Shinya Nakano at smaller than 10 grids. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (laps VARCHAR, rider VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_18 WHERE rider = "shinya nakano" AND grid < 10 |
Write a SQL query that answers the following question: Which player wears the number 2 on his jersey? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (player VARCHAR, jersey_number_s_ VARCHAR) | SELECT player FROM table_name_18 WHERE jersey_number_s_ = "2" |
Write a SQL query that answers the following question: What is the highest number of rebounds of the san antonio spurs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_48 WHERE team = "san antonio spurs" |
Write a SQL query that answers the following question: What was the score of game 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_84 WHERE game = 4 |
Write a SQL query that answers the following question: What is the date of the game with a w 105-88 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_78 WHERE score = "w 105-88" |
Write a SQL query that answers the following question: What is the game with the golden state warriors? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (game VARCHAR, team VARCHAR) | SELECT game FROM table_name_37 WHERE team = "golden state warriors" |
Write a SQL query that answers the following question: What is the Pick # of the Player from Southern MIssissippi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (pick VARCHAR, school VARCHAR) | SELECT COUNT(pick) FROM table_name_98 WHERE school = "southern mississippi" |
Write a SQL query that answers the following question: In what Round was Derrick Franklin picked? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_23 WHERE player = "derrick franklin" |
Write a SQL query that answers the following question: In what Round does Duke have a Pick larger than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (round VARCHAR, pick VARCHAR, school VARCHAR) | SELECT COUNT(round) FROM table_name_49 WHERE pick > 9 AND school = "duke" |
Write a SQL query that answers the following question: In what Round was Tommy Norman picked? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (round INTEGER, player VARCHAR) | SELECT MAX(round) FROM table_name_19 WHERE player = "tommy norman" |
Write a SQL query that answers the following question: What is the 2000 value if the 1998 value is 1.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (Id VARCHAR) | SELECT 2000 FROM table_name_5 WHERE 1998 = "1.5" |
Write a SQL query that answers the following question: What is the 2004 value if the 1998 value is 35? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (Id VARCHAR) | SELECT 2004 FROM table_name_73 WHERE 1998 = "35" |
Write a SQL query that answers the following question: What is the 1998 value if the 2000 value is 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (Id VARCHAR) | SELECT 1998 FROM table_name_3 WHERE 2000 = "25" |
Write a SQL query that answers the following question: What is the 1998 value if the 2007 value is 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (Id VARCHAR) | SELECT 1998 FROM table_name_13 WHERE 2007 = "8" |
Write a SQL query that answers the following question: What is the 2000 value if the 1998 value is 1.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (Id VARCHAR) | SELECT 2000 FROM table_name_67 WHERE 1998 = "1.5" |
Write a SQL query that answers the following question: What is the 1998 value if the 2011 value is 30.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (Id VARCHAR) | SELECT 1998 FROM table_name_86 WHERE 2011 = "30.4" |
Write a SQL query that answers the following question: What is the interface of the product xerox travel scanner 100? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (interface VARCHAR, product VARCHAR) | SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100" |
Write a SQL query that answers the following question: What is the pages per minute (color) of the machine that has a max page size of a4 and dimensions (mm) of 303 x 94 x 60? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (pages_per_minute__color_ VARCHAR, max_page_size VARCHAR, dimensions__mm_ VARCHAR) | SELECT pages_per_minute__color_ FROM table_name_31 WHERE max_page_size = "a4" AND dimensions__mm_ = "303 x 94 x 60" |
Write a SQL query that answers the following question: What club had Guus Hiddink as outgoing manager? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (club VARCHAR, name VARCHAR) | SELECT club FROM table_name_51 WHERE name = "guus hiddink" |
Write a SQL query that answers the following question: When did Brendan Rodgers depart his position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date_of_departure VARCHAR, name VARCHAR) | SELECT date_of_departure FROM table_name_46 WHERE name = "brendan rodgers" |
Write a SQL query that answers the following question: On what date was Paulo Sousa appointed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (date_of_appointment VARCHAR, replacement VARCHAR) | SELECT date_of_appointment FROM table_name_17 WHERE replacement = "paulo sousa" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.