instruction
stringlengths 67
299
| input
stringlengths 110
572
| output
stringlengths 18
557
|
---|---|---|
Write a SQL query that answers the following question: Name the matches for mark taylor category:articles with hcards | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_21486890_1 (matches INTEGER, name VARCHAR) | SELECT MAX(matches) FROM table_21486890_1 WHERE name = "Mark Taylor Category:Articles with hCards" |
Write a SQL query that answers the following question: When 17.07 is the loa (metres) what is the type of yacht? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_1858574_2 (yacht VARCHAR, loa__metres_ VARCHAR) | SELECT yacht AS Type FROM table_1858574_2 WHERE loa__metres_ = "17.07" |
Write a SQL query that answers the following question: What year and ceremony was the original title বৃত্তের বাইরে (britter baire)? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_17156199_1 (year__ceremony_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_17156199_1 WHERE original_title = "বৃত্তের বাইরে (Britter Baire)" |
Write a SQL query that answers the following question: What is the time with 10 grids? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_81 WHERE grid = 10 |
Write a SQL query that answers the following question: Name the class with call sign of wmhn | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_74 (class VARCHAR, call_sign VARCHAR) | SELECT class FROM table_name_74 WHERE call_sign = "wmhn" |
Write a SQL query that answers the following question: On which date did Geelong play at home? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_74 WHERE home_team = "geelong" |
Write a SQL query that answers the following question: Name the ply uk, nz, au for wraps per inch 7 wpi | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, wraps_per_inch__wpi_ VARCHAR) | SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi" |
Write a SQL query that answers the following question: Which Finalist has a Winner and score of boris becker 7–6(3), 6–3, 3–6, 6–3? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_86 (finalist VARCHAR, winner_and_score VARCHAR) | SELECT finalist FROM table_name_86 WHERE winner_and_score = "boris becker 7–6(3), 6–3, 3–6, 6–3" |
Write a SQL query that answers the following question: Who was the leading scorer on February 9? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_96 (leading_scorer VARCHAR, date VARCHAR) | SELECT leading_scorer FROM table_name_96 WHERE date = "february 9" |
Write a SQL query that answers the following question: Name the high points for the date of november 24 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_17323529_5 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_17323529_5 WHERE date = "November 24" |
Write a SQL query that answers the following question: What is the sum of the number of wins for teams with more than 0 draws? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER) | SELECT SUM(wins) FROM table_name_51 WHERE draws > 0 |
Write a SQL query that answers the following question: What is the highest week that has carolina panthers as the opponent? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_51 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_51 WHERE opponent = "carolina panthers" |
Write a SQL query that answers the following question: What is the score of the September 20, 2005 match when the Opponents are FC Bayern Munich? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_2 (score VARCHAR, opponents VARCHAR, date VARCHAR) | SELECT score FROM table_name_2 WHERE opponents = "fc bayern munich" AND date = "september 20, 2005" |
Write a SQL query that answers the following question: what is the result when the rank is 12? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_13 (result VARCHAR, rank VARCHAR) | SELECT result FROM table_name_13 WHERE rank = 12 |
Write a SQL query that answers the following question: Which kind of policy type was chosen by the most customers? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE Customer_Policies (Policy_Type_Code VARCHAR) | SELECT Policy_Type_Code FROM Customer_Policies GROUP BY Policy_Type_Code ORDER BY COUNT(*) DESC LIMIT 1 |
Write a SQL query that answers the following question: What is the land area (sqmi) for the township at longtidue 47.548602? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_18600760_20 (land___sqmi__ VARCHAR, latitude VARCHAR) | SELECT land___sqmi__ FROM table_18600760_20 WHERE latitude = "47.548602" |
Write a SQL query that answers the following question: What is Myron Walwyn with a Territorial at-large Constiuency's First Elected Date | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_87 (first_elected VARCHAR, constiuency VARCHAR, name VARCHAR) | SELECT first_elected FROM table_name_87 WHERE constiuency = "territorial at-large" AND name = "myron walwyn" |
Write a SQL query that answers the following question: What was the round that had 32 winners from previous round? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_28039032_1 (round VARCHAR, winners_from_previous_round VARCHAR) | SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "32" |
Write a SQL query that answers the following question: What is the location of the venue owned by johnson c. smith university? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_26 (location VARCHAR, owner VARCHAR) | SELECT location FROM table_name_26 WHERE owner = "johnson c. smith university" |
Write a SQL query that answers the following question: Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_1137694_3 (grand_prix VARCHAR, winning_constructor VARCHAR) | SELECT grand_prix FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda" |
Write a SQL query that answers the following question: Where did the player in Pos mf, move to until 30 june 2009 ? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_18 (moving_to VARCHAR, date_to VARCHAR, pos VARCHAR) | SELECT moving_to FROM table_name_18 WHERE date_to = "30 june 2009" AND pos = "mf" |
Write a SQL query that answers the following question: Who recorded the decision when philadelphia was away? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_41 (decision VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_41 WHERE visitor = "philadelphia" |
Write a SQL query that answers the following question: What is the name when Windows is partial? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_55 (name VARCHAR, windows VARCHAR) | SELECT name FROM table_name_55 WHERE windows = "partial" |
Write a SQL query that answers the following question: Name the winner for 26 january 2009 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_19930660_1 (winner VARCHAR, first_broadcast VARCHAR) | SELECT winner FROM table_19930660_1 WHERE first_broadcast = "26 January 2009" |
Write a SQL query that answers the following question: What is the least number of silver medals won | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_22355_50 (silver INTEGER) | SELECT MIN(silver) FROM table_22355_50 |
Write a SQL query that answers the following question: What is the record of the game on December 5, 2007? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_55 WHERE date = "december 5, 2007" |
Write a SQL query that answers the following question: What drama role does she play in 1973? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_57 (role VARCHAR, genre VARCHAR, year VARCHAR) | SELECT role FROM table_name_57 WHERE genre = "drama" AND year = 1973 |
Write a SQL query that answers the following question: What is the home team of the April 14 game? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_27 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_27 WHERE date = "april 14" |
Write a SQL query that answers the following question: Tell me the average heat rank for time less than 24.02 and lane of 1 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_15 (heat_rank INTEGER, time VARCHAR, lane VARCHAR) | SELECT AVG(heat_rank) FROM table_name_15 WHERE time < 24.02 AND lane = 1 |
Write a SQL query that answers the following question: Who was the home team in the game broadcast on the Big East Network? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_26842217_12 (home_team VARCHAR, broadcast VARCHAR) | SELECT home_team FROM table_26842217_12 WHERE broadcast = "Big East Network" |
Write a SQL query that answers the following question: What is the paper type for the date of issue July 8? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_25468520_1 (paper_type VARCHAR, date_of_issue VARCHAR) | SELECT paper_type FROM table_25468520_1 WHERE date_of_issue = "July 8" |
Write a SQL query that answers the following question: What is the time of retirement with Laps smaller than 66, a grid less than 10, and a Driver of heinz-harald frentzen? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_65 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_65 WHERE laps < 66 AND grid < 10 AND driver = "heinz-harald frentzen" |
Write a SQL query that answers the following question: Which city is Alianza? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_62 (city VARCHAR, name VARCHAR) | SELECT city FROM table_name_62 WHERE name = "alianza" |
Write a SQL query that answers the following question: What is Caps, when Province / Club is Example, when Position is Prop, and when Player is Sam Walters? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_96 (caps VARCHAR, player VARCHAR, province___club VARCHAR, position VARCHAR) | SELECT caps FROM table_name_96 WHERE province___club = "example" AND position = "prop" AND player = "sam walters" |
Write a SQL query that answers the following question: What is the lowest Loss number when the Gain is less than 61 and the Avg/G is 6? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_94 (loss INTEGER, gain VARCHAR, avg_g VARCHAR) | SELECT MIN(loss) FROM table_name_94 WHERE gain < 61 AND avg_g = 6 |
Write a SQL query that answers the following question: what's the naturalisation by marriage with numer of jamaicans granted british citizenship being 3165 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR) | SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer_of_jamaicans_granted_british_citizenship = 3165 |
Write a SQL query that answers the following question: If the parallel bars is 16.150, who is the gymnast? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR) | SELECT gymnast FROM table_18662026_10 WHERE parallel_bars = "16.150" |
Write a SQL query that answers the following question: Name the report for v grand prix de paris | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_11 (report VARCHAR, race_name VARCHAR) | SELECT report FROM table_name_11 WHERE race_name = "v grand prix de paris" |
Write a SQL query that answers the following question: What is the name of the first appearance when Chad Williams is a portrayal? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_26 (first_appearance VARCHAR, portrayed_by VARCHAR) | SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams" |
Write a SQL query that answers the following question: Player Craig Parry of Australia is in what place number? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_86 (place VARCHAR, country VARCHAR, player VARCHAR) | SELECT place FROM table_name_86 WHERE country = "australia" AND player = "craig parry" |
Write a SQL query that answers the following question: In the country where Bush won 4333 votes, what percentage did other receive? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_13625792_1 (other__percentage VARCHAR, bush__number VARCHAR) | SELECT other__percentage FROM table_13625792_1 WHERE bush__number = 4333 |
Write a SQL query that answers the following question: If the latitude is 76°25′n, what is the longitude? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_52 (longitude VARCHAR, latitude VARCHAR) | SELECT longitude FROM table_name_52 WHERE latitude = "76°25′n" |
Write a SQL query that answers the following question: Show all artist names who didn't have an exhibition in 2004. | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR) | SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004 |
Write a SQL query that answers the following question: How many times was Louisiana-Monroe a visiting team? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR) | SELECT COUNT(time) FROM table_26842217_6 WHERE visiting_team = "Louisiana-Monroe" |
Write a SQL query that answers the following question: What score has fred couples as the player? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_3 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_3 WHERE player = "fred couples" |
Write a SQL query that answers the following question: Who had the lowest field goals but had 10 points and more than 2 touchdowns? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_68 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR) | SELECT MIN(field_goals) FROM table_name_68 WHERE points = 10 AND touchdowns > 2 |
Write a SQL query that answers the following question: What week had an attendance of 14,381? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_25 (week INTEGER, attendance VARCHAR) | SELECT AVG(week) FROM table_name_25 WHERE attendance = "14,381" |
Write a SQL query that answers the following question: What is the record for the team on January 19? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_17288825_7 (record VARCHAR, date VARCHAR) | SELECT record FROM table_17288825_7 WHERE date = "January 19" |
Write a SQL query that answers the following question: What is the Score when Deportes Savio is the Home team? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_99 WHERE home = "deportes savio" |
Write a SQL query that answers the following question: Which Score has an Opponent in the final of chris haggard robbie koenig? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig" |
Write a SQL query that answers the following question: Name the % yes for yes votes for 78961 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_256286_14 (_percentage_yes VARCHAR, yes_votes VARCHAR) | SELECT _percentage_yes FROM table_256286_14 WHERE yes_votes = 78961 |
Write a SQL query that answers the following question: List the title of all cartoon directed by "Ben Jones" or "Brandon Vietti". | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE Cartoon (Title VARCHAR, Directed_by VARCHAR) | SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones" OR Directed_by = "Brandon Vietti" |
Write a SQL query that answers the following question: How many points were scored when the Chassis is BRM p25? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_57 (pts VARCHAR, chassis VARCHAR) | SELECT pts FROM table_name_57 WHERE chassis = "brm p25" |
Write a SQL query that answers the following question: What genre is Star Plus from India? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_50 (genre VARCHAR, origin_of_programming VARCHAR, network VARCHAR) | SELECT genre FROM table_name_50 WHERE origin_of_programming = "india" AND network = "star plus" |
Write a SQL query that answers the following question: Name the third place for anders järryd | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_75 (third_place VARCHAR, runner_up VARCHAR) | SELECT third_place FROM table_name_75 WHERE runner_up = "anders järryd" |
Write a SQL query that answers the following question: Tell me the school with a height of 6-9 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_82 (school VARCHAR, height VARCHAR) | SELECT school FROM table_name_82 WHERE height = "6-9" |
Write a SQL query that answers the following question: How much money does the player with a 68-71-68-72=279 score have? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_78 (money___£__ VARCHAR, score VARCHAR) | SELECT money___£__ FROM table_name_78 WHERE score = 68 - 71 - 68 - 72 = 279 |
Write a SQL query that answers the following question: What is the least total that had more Bronzes than 1 and more silvers than 2? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_82 (total INTEGER, bronze VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_82 WHERE bronze > 1 AND silver > 2 |
Write a SQL query that answers the following question: Name the team at the rose garden 20,565 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_23286158_8 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565" |
Write a SQL query that answers the following question: Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_73 (team VARCHAR, kitmaker VARCHAR, shirt_sponsor VARCHAR) | SELECT team FROM table_name_73 WHERE kitmaker = "saller" AND shirt_sponsor = "krombacher" |
Write a SQL query that answers the following question: Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_44 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR) | SELECT composer_s_ FROM table_name_44 WHERE arranger_s_ = "banana boat" AND length = "4:25" |
Write a SQL query that answers the following question: which company has a person that can wear clothing in 33-23-36 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_27515452_3 (agency VARCHAR, sizes VARCHAR) | SELECT agency FROM table_27515452_3 WHERE sizes = "33-23-36" |
Write a SQL query that answers the following question: With a less than 4 rank, and a time less than 24.42 what is the smallest lane? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_52 (lane INTEGER, rank VARCHAR, time VARCHAR) | SELECT MIN(lane) FROM table_name_52 WHERE rank < 4 AND time < 24.42 |
Write a SQL query that answers the following question: Result F–A of 5–0 had what group position? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_93 (group_position VARCHAR, result_f_a VARCHAR) | SELECT group_position FROM table_name_93 WHERE result_f_a = "5–0" |
Write a SQL query that answers the following question: What is the 1st leg with a 4-3 agg.? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_25 (agg VARCHAR) | SELECT 1 AS st_leg FROM table_name_25 WHERE agg = "4-3" |
Write a SQL query that answers the following question: Which Chief Judge has Appointed by of reagan category:articles with hcards? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_42 (chief_judge VARCHAR, appointed_by VARCHAR) | SELECT chief_judge FROM table_name_42 WHERE appointed_by = "reagan category:articles with hcards" |
Write a SQL query that answers the following question: What position does alun wyn jones play? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_59 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_59 WHERE player = "alun wyn jones" |
Write a SQL query that answers the following question: What is the original air date the was written by mark st. germain and direct by jay sandrich? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_2818164_7 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_2818164_7 WHERE written_by = "Mark St. Germain" AND directed_by = "Jay Sandrich" |
Write a SQL query that answers the following question: What is the width for hte truss with a source of zacher (1994)? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_8 (width_feet__m_ VARCHAR, source__year_ VARCHAR) | SELECT width_feet__m_ FROM table_name_8 WHERE source__year_ = "zacher (1994)" |
Write a SQL query that answers the following question: Name the opponent with attendance of 31,777 | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_6 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_6 WHERE attendance = "31,777" |
Write a SQL query that answers the following question: Which department has the largest number of employees? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE department (name VARCHAR, departmentID VARCHAR) | SELECT name FROM department GROUP BY departmentID ORDER BY COUNT(departmentID) DESC LIMIT 1 |
Write a SQL query that answers the following question: Which stadium has a payout of $3 million? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR) | SELECT stadium FROM table_16046689_29 WHERE payout___us$__ = "$3 Million" |
Write a SQL query that answers the following question: In the 2008/2009 season one team had a season total points of 31, for that team how many total points were scored against them? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_13399573_4 (points_against VARCHAR, points VARCHAR) | SELECT points_against FROM table_13399573_4 WHERE points = "31" |
Write a SQL query that answers the following question: What is the % of seats where the difference is 0.25? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_86 (_percentage_of_seats VARCHAR, difference VARCHAR) | SELECT _percentage_of_seats FROM table_name_86 WHERE difference = "0.25" |
Write a SQL query that answers the following question: What is the Record on april 13? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_32 WHERE date = "april 13" |
Write a SQL query that answers the following question: What is the highest Week with the Opponent Buffalo Bills? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_67 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_67 WHERE opponent = "buffalo bills" |
Write a SQL query that answers the following question: What is the total number of tied games when Old Dominion is the independent and the years is more than 4? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_41 (tied INTEGER, independent VARCHAR, years VARCHAR) | SELECT SUM(tied) FROM table_name_41 WHERE independent = "old dominion" AND years > 4 |
Write a SQL query that answers the following question: Name the silver for baseball | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR) | SELECT MIN(silver) FROM table_22360_3 WHERE discipline = "Baseball" |
Write a SQL query that answers the following question: how many posiitions did saudi arabia land on | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_19412902_1 (pos VARCHAR, member_association VARCHAR) | SELECT COUNT(pos) FROM table_19412902_1 WHERE member_association = "Saudi Arabia" |
Write a SQL query that answers the following question: How many uninterrupted ranks does john dingell have? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_87 (uninterrupted_rank VARCHAR, name VARCHAR) | SELECT COUNT(uninterrupted_rank) FROM table_name_87 WHERE name = "john dingell" |
Write a SQL query that answers the following question: what is the name of the race where newman/haas racing is the winning team and rick mears is at the pole position? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_10707142_2 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT race_name FROM table_10707142_2 WHERE winning_team = "Newman/Haas Racing" AND pole_position = "Rick Mears" |
Write a SQL query that answers the following question: Which Score has a Away team of walthamstow avenue? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue" |
Write a SQL query that answers the following question: Show the names and main services for train stations that have the top three total number of passengers. | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE station (name VARCHAR, main_services VARCHAR, total_passengers VARCHAR) | SELECT name, main_services FROM station ORDER BY total_passengers DESC LIMIT 3 |
Write a SQL query that answers the following question: What is the lowest round of the Kitchener Rangers (OHA)? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_97 (round INTEGER, college_junior_club_team__league_ VARCHAR) | SELECT MIN(round) FROM table_name_97 WHERE college_junior_club_team__league_ = "kitchener rangers (oha)" |
Write a SQL query that answers the following question: What was the attendance total for week 10? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_77 WHERE week = 10 |
Write a SQL query that answers the following question: How many different end dates are there for the series seen by 4.2 million people? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_24057191_2 (end_date VARCHAR, average_viewers__millions_ VARCHAR) | SELECT COUNT(end_date) FROM table_24057191_2 WHERE average_viewers__millions_ = "4.2" |
Write a SQL query that answers the following question: What engine class is associated with a year after 1985 and over 0 wins? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_44 (class VARCHAR, year VARCHAR, wins VARCHAR) | SELECT class FROM table_name_44 WHERE year > 1985 AND wins > 0 |
Write a SQL query that answers the following question: Name the population for 2002 being ada | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_2562572_5 (population__2002_ INTEGER, urban_settlement VARCHAR) | SELECT MIN(population__2002_) FROM table_2562572_5 WHERE urban_settlement = "Ada" |
Write a SQL query that answers the following question: What year had a score of 6–7(5), 2–6 and opponent of Brenda Schultz-Mccarthy? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_96 (year VARCHAR, opponent_in_the_final VARCHAR, score VARCHAR) | SELECT year FROM table_name_96 WHERE opponent_in_the_final = "brenda schultz-mccarthy" AND score = "6–7(5), 2–6" |
Write a SQL query that answers the following question: What is the Round with an Opponent that is torpedo moscow? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_35 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_35 WHERE opponent = "torpedo moscow" |
Write a SQL query that answers the following question: Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_53 (name VARCHAR, average VARCHAR, overs VARCHAR, wickets VARCHAR) | SELECT name FROM table_name_53 WHERE overs < 2047.3 AND wickets > 200 AND average > 29.02 |
Write a SQL query that answers the following question: what is the maximum completed for delta bessborough | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_13397394_1 (completed INTEGER, building VARCHAR) | SELECT MAX(completed) FROM table_13397394_1 WHERE building = "Delta Bessborough" |
Write a SQL query that answers the following question: What ranking did Team 250cc Honda end up in when it finished a race with a time of 1:27.57.28? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_44 (rank VARCHAR, team VARCHAR, time VARCHAR) | SELECT COUNT(rank) FROM table_name_44 WHERE team = "250cc honda" AND time = "1:27.57.28" |
Write a SQL query that answers the following question: What is the total rank for the lane before 2? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_87 (rank INTEGER, lane INTEGER) | SELECT SUM(rank) FROM table_name_87 WHERE lane < 2 |
Write a SQL query that answers the following question: What team does Bill Walker play for? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_1 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_1 WHERE player = "bill walker" |
Write a SQL query that answers the following question: What is the firefox value with a 22.0% internet explorer? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_56 (firefox VARCHAR, internet_explorer VARCHAR) | SELECT firefox FROM table_name_56 WHERE internet_explorer = "22.0%" |
Write a SQL query that answers the following question: What was the location and how many attended when Golden State played? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_22883210_9 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_22883210_9 WHERE team = "Golden State" |
Write a SQL query that answers the following question: What position does the player from the MLS New England Revolution team hold? | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_name_35 (position VARCHAR, mls_team VARCHAR) | SELECT position FROM table_name_35 WHERE mls_team = "new england revolution" |
Write a SQL query that answers the following question: Who left a seat open for the district of connecticut at-large | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE table_224844_4 (vacator VARCHAR, district VARCHAR) | SELECT vacator FROM table_224844_4 WHERE district = "Connecticut At-large" |
Write a SQL query that answers the following question: Find the movies with the highest average rating. Return the movie titles and average rating. | The relevant table was constructed using the following SQL CREATE TABLE statement: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) | SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) DESC LIMIT 1 |