instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: what date was mallala motor sport park the circuit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_76 WHERE circuit = "mallala motor sport park"
Write a SQL query that answers the following question: what date did the m3 motorsport team compete at winton motor raceway?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date VARCHAR, team VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_38 WHERE team = "m3 motorsport" AND circuit = "winton motor raceway"
Write a SQL query that answers the following question: Name the agg for team 2 of asl sport guyanais.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (agg VARCHAR, team_2 VARCHAR)
SELECT agg FROM table_name_34 WHERE team_2 = "asl sport guyanais"
Write a SQL query that answers the following question: Name the agg for seba united
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (agg VARCHAR, team_1 VARCHAR)
SELECT agg FROM table_name_12 WHERE team_1 = "seba united"
Write a SQL query that answers the following question: Name the 2nd leg for defence force
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "defence force"
Write a SQL query that answers the following question: Which country does FC Atyrau represent after the 2006 season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR)
SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau"
Write a SQL query that answers the following question: In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR)
SELECT MAX(season) FROM table_name_72 WHERE country = "uzbekistan" AND team = "fc pakhtakor tashkent" AND apps > 6
Write a SQL query that answers the following question: How many seasons have 1 goals and more than 11 apps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (season VARCHAR, goals VARCHAR, apps VARCHAR)
SELECT COUNT(season) FROM table_name_89 WHERE goals = 1 AND apps > 11
Write a SQL query that answers the following question: What game that had a record of 39-44 had the lowest attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_44 WHERE record = "39-44"
Write a SQL query that answers the following question: Who was the opponent at the game that had a loss of Saarloos (7-7)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_7 WHERE loss = "saarloos (7-7)"
Write a SQL query that answers the following question: What was the score of the game with a record of 81-60?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_71 WHERE record = "81-60"
Write a SQL query that answers the following question: What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR, loss VARCHAR)
SELECT MIN(attendance) FROM table_name_29 WHERE score = "5-4" AND loss = "williams (2-4)"
Write a SQL query that answers the following question: What year did the 11th place play 26 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year VARCHAR, place VARCHAR, played VARCHAR)
SELECT year FROM table_name_96 WHERE place = "11th" AND played = 26
Write a SQL query that answers the following question: What is the total played games of a 22 G.A.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (played VARCHAR, ga VARCHAR)
SELECT COUNT(played) FROM table_name_24 WHERE ga = "22"
Write a SQL query that answers the following question: Name the winner for genoa to livorno
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_39 WHERE course = "genoa to livorno"
Write a SQL query that answers the following question: Name the winner for 5 june
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_80 WHERE date = "5 june"
Write a SQL query that answers the following question: Name the winner for rest day race leader
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (winner VARCHAR, race_leader VARCHAR)
SELECT winner FROM table_name_97 WHERE race_leader = "rest day"
Write a SQL query that answers the following question: Name the least rank for lane less than 5 for germany and sandra völker
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT MIN(rank) FROM table_name_22 WHERE lane < 5 AND nationality = "germany" AND name = "sandra völker"
Write a SQL query that answers the following question: Name the total number of rank for lane 7
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (rank VARCHAR, lane VARCHAR)
SELECT COUNT(rank) FROM table_name_69 WHERE lane = 7
Write a SQL query that answers the following question: Name the most time for katrin meißner and rank less than 5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (time INTEGER, name VARCHAR, rank VARCHAR)
SELECT MAX(time) FROM table_name_71 WHERE name = "katrin meißner" AND rank < 5
Write a SQL query that answers the following question: Tell me the name for time of 25.74
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (name VARCHAR, time VARCHAR)
SELECT name FROM table_name_2 WHERE time = 25.74
Write a SQL query that answers the following question: Was the University of Southern California Signed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (signed VARCHAR, school VARCHAR)
SELECT signed FROM table_name_50 WHERE school = "university of southern california"
Write a SQL query that answers the following question: Was the University of Michigan Signed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR)
SELECT signed FROM table_name_13 WHERE school = "university of michigan"
Write a SQL query that answers the following question: What is the University of Southern California's highest Round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (round INTEGER, school VARCHAR)
SELECT MAX(round) FROM table_name_92 WHERE school = "university of southern california"
Write a SQL query that answers the following question: Who was the home captain at Sabina Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR)
SELECT home_captain FROM table_name_89 WHERE venue = "sabina park"
Write a SQL query that answers the following question: What was the result of the game hosted at Queen's Park Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_30 WHERE venue = "queen's park oval"
Write a SQL query that answers the following question: Name the genre for release-year of first charted record of 1988
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR)
SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988
Write a SQL query that answers the following question: What was the loss of the game with a record of 77-65?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_96 WHERE record = "77-65"
Write a SQL query that answers the following question: What was the loss of the game with a record of 84-71?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_29 WHERE record = "84-71"
Write a SQL query that answers the following question: What date was the record 34-41?
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 = "34-41"
Write a SQL query that answers the following question: What type had a course of Grosseto To Rieti?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_18 WHERE course = "grosseto to rieti"
Write a SQL query that answers the following question: In what Season were there 86 Assists in the WCJHL League?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (season VARCHAR, league VARCHAR, assists VARCHAR)
SELECT season FROM table_name_53 WHERE league = "wcjhl" AND assists = 86
Write a SQL query that answers the following question: In the WCHL League, what is the last Assists with less than 65 Goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (assists INTEGER, league VARCHAR, goals VARCHAR)
SELECT MIN(assists) FROM table_name_37 WHERE league = "wchl" AND goals < 65
Write a SQL query that answers the following question: What are the most Points with an Assist of 46?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (points INTEGER, assists VARCHAR)
SELECT MAX(points) FROM table_name_53 WHERE assists = 46
Write a SQL query that answers the following question: What compound is yellow?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (compound_name VARCHAR, colour VARCHAR)
SELECT compound_name FROM table_name_2 WHERE colour = "yellow"
Write a SQL query that answers the following question: What color is the super-soft compound?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR)
SELECT colour FROM table_name_31 WHERE compound_name = "super-soft"
Write a SQL query that answers the following question: Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR)
SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232"
Write a SQL query that answers the following question: What is the Gross Revenue (1979) of the Venue, lyceum theatre?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR)
SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre"
Write a SQL query that answers the following question: What is the amount of Tickets Sold/ Available at the Venue of hippodrome?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, venue VARCHAR)
SELECT tickets_sold___available FROM table_name_44 WHERE venue = "hippodrome"
Write a SQL query that answers the following question: Which Venue has a Gross Revenue (2012) of $179,712?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR)
SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712"
Write a SQL query that answers the following question: Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (venue VARCHAR, tickets_sold___available VARCHAR)
SELECT venue FROM table_name_21 WHERE tickets_sold___available = "4,700 / 4,700 (100%)"
Write a SQL query that answers the following question: What was the date of the game that had a loss of Willis (0–1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_32 WHERE loss = "willis (0–1)"
Write a SQL query that answers the following question: What was the opponent at the game that had a loss of Travers (0–2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_9 WHERE loss = "travers (0–2)"
Write a SQL query that answers the following question: What was the Loss when the Record was 50-54?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_46 WHERE record = "50-54"
Write a SQL query that answers the following question: Who was the opponent when the loss was Wells (4-7)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)"
Write a SQL query that answers the following question: What shows for shoots for craig peacock a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (shoots VARCHAR, player VARCHAR)
SELECT shoots FROM table_name_62 WHERE player = "craig peacock a"
Write a SQL query that answers the following question: What is the average Acquired when the Number shows as 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (acquired INTEGER, number VARCHAR)
SELECT AVG(acquired) FROM table_name_73 WHERE number = 7
Write a SQL query that answers the following question: What is the total of 2013 with 6th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (total INTEGER)
SELECT MAX(total) FROM table_name_87 WHERE 2013 = "6th"
Write a SQL query that answers the following question: Which 2009 year has a total of 1, and 2004 year of 7th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (total VARCHAR)
SELECT 2009 FROM table_name_45 WHERE total = 1 AND 2004 = "7th"
Write a SQL query that answers the following question: What is the year 2013 with a total of 5, and 5th in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (total VARCHAR)
SELECT 2013 FROM table_name_78 WHERE total = 5 AND 2009 = "5th"
Write a SQL query that answers the following question: What is the year 2001 with a total larger than 1, and 2009 with 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (total VARCHAR)
SELECT 2001 FROM table_name_26 WHERE total > 1 AND 2009 = "8"
Write a SQL query that answers the following question: What opponents have a record of 90-70?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_34 WHERE record = "90-70"
Write a SQL query that answers the following question: What game had more than 50,324 in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_45 WHERE attendance > 50 OFFSET 324
Write a SQL query that answers the following question: What is the start of Offy engine and in 1972?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR)
SELECT start FROM table_name_76 WHERE engine = "offy" AND year = 1972
Write a SQL query that answers the following question: What is the chassis for offy engine and 25th finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (chassis VARCHAR, engine VARCHAR, finish VARCHAR)
SELECT chassis FROM table_name_12 WHERE engine = "offy" AND finish = "25th"
Write a SQL query that answers the following question: What is the finish of Mclaren chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR)
SELECT finish FROM table_name_7 WHERE chassis = "mclaren"
Write a SQL query that answers the following question: Name the wrestlers with days held of 428
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (wrestlers VARCHAR, days_held VARCHAR)
SELECT wrestlers FROM table_name_83 WHERE days_held = "428"
Write a SQL query that answers the following question: Name the wrestlers for days held of 69
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (wrestlers VARCHAR, days_held VARCHAR)
SELECT wrestlers FROM table_name_58 WHERE days_held = "69"
Write a SQL query that answers the following question: Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotá" AND score = "6–0, 6–4"
Write a SQL query that answers the following question: Which opponent has a Score of 6–4, 3–6, 6–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_7 WHERE score = "6–4, 3–6, 6–3"
Write a SQL query that answers the following question: What is the score for 04 september 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_21 WHERE date = "04 september 2006"
Write a SQL query that answers the following question: Which Tournament has a Score of 4-6 6-2 6-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_40 WHERE score = "4-6 6-2 6-1"
Write a SQL query that answers the following question: Which outcome has a Surface of clay and a Score of 4–6, 7–5, 2–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (outcome VARCHAR, surface VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_50 WHERE surface = "clay" AND score = "4–6, 7–5, 2–6"
Write a SQL query that answers the following question: What date was versmold?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_15 WHERE tournament = "versmold"
Write a SQL query that answers the following question: Name the competition for motherwell opponents
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (competition VARCHAR, opponents VARCHAR)
SELECT competition FROM table_name_17 WHERE opponents = "motherwell"
Write a SQL query that answers the following question: Name the home leg for uefa europa league and round of q1 with opponents of motherwell
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (home_leg VARCHAR, opponents VARCHAR, competition VARCHAR, round VARCHAR)
SELECT home_leg FROM table_name_82 WHERE competition = "uefa europa league" AND round = "q1" AND opponents = "motherwell"
Write a SQL query that answers the following question: Name the aggregate with opponents of tauras
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (aggregate VARCHAR, opponents VARCHAR)
SELECT aggregate FROM table_name_65 WHERE opponents = "tauras"
Write a SQL query that answers the following question: What date was 53-75 recorded?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_16 WHERE record = "53-75"
Write a SQL query that answers the following question: Overall of 62 is what average round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (round INTEGER, overall VARCHAR)
SELECT AVG(round) FROM table_name_42 WHERE overall = 62
Write a SQL query that answers the following question: College of san diego state, and a Pick # smaller than 30 is what lowest overall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
SELECT MIN(overall) FROM table_name_32 WHERE college = "san diego state" AND pick__number < 30
Write a SQL query that answers the following question: College of san diego state, and a Pick # smaller than 30 has what lowest overall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30
Write a SQL query that answers the following question: Which city of license has an independent network affiliation, a variety format and is station KKUP?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (city_of_license VARCHAR, station VARCHAR, network_affiliation VARCHAR, format VARCHAR)
SELECT city_of_license FROM table_name_9 WHERE network_affiliation = "independent" AND format = "variety" AND station = "kkup"
Write a SQL query that answers the following question: What is the status of the independent station KPFB?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (status VARCHAR, network_affiliation VARCHAR, station VARCHAR)
SELECT status FROM table_name_60 WHERE network_affiliation = "independent" AND station = "kpfb"
Write a SQL query that answers the following question: Which city station is owned by Coyote Communications?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (city_of_license VARCHAR, status VARCHAR)
SELECT city_of_license FROM table_name_56 WHERE status = "owned by coyote communications"
Write a SQL query that answers the following question: What year were the Olympic Games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year INTEGER, competition VARCHAR)
SELECT SUM(year) FROM table_name_10 WHERE competition = "olympic games"
Write a SQL query that answers the following question: What's the year in 5th position that happened in Osaka, Japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (year INTEGER, position VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_92 WHERE position = "5th" AND venue = "osaka, japan"
Write a SQL query that answers the following question: What year was the venue in Barcelona, Spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (year INTEGER, venue VARCHAR)
SELECT MIN(year) FROM table_name_57 WHERE venue = "barcelona, spain"
Write a SQL query that answers the following question: For a school with authority of state and a roll of 798, what is the decile?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (decile VARCHAR, authority VARCHAR, roll VARCHAR)
SELECT decile FROM table_name_10 WHERE authority = "state" AND roll = 798
Write a SQL query that answers the following question: Murupara has a roll greater than 296 for what years?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (years VARCHAR, roll VARCHAR, area VARCHAR)
SELECT years FROM table_name_6 WHERE roll > 296 AND area = "murupara"
Write a SQL query that answers the following question: When a school has authority of state and a decile greater than 1, what is the roll number?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (roll VARCHAR, authority VARCHAR, decile VARCHAR)
SELECT roll FROM table_name_66 WHERE authority = "state" AND decile > 1
Write a SQL query that answers the following question: Who did the Jays play on August 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_53 WHERE date = "august 30"
Write a SQL query that answers the following question: Which opponent has a record of 5-0-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_10 WHERE record = "5-0-1"
Write a SQL query that answers the following question: What method does the opponent of Dan New use?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_90 WHERE opponent = "dan new"
Write a SQL query that answers the following question: Which method has a record of 3-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_27 WHERE record = "3-0"
Write a SQL query that answers the following question: Which event is a win by an opponent of Nicolas Smith, with the round marked n/a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (event VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR)
SELECT event FROM table_name_24 WHERE res = "win" AND round = "n/a" AND opponent = "nicolas smith"
Write a SQL query that answers the following question: Which event lasted 1 round and included an opponent of Dan Spychalski?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (event VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_36 WHERE round = "1" AND opponent = "dan spychalski"
Write a SQL query that answers the following question: What is Jimmy Smith's opponent's record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_70 WHERE opponent = "jimmy smith"
Write a SQL query that answers the following question: Name the sum of frequecy with brand of exa fm
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (frequency INTEGER, brand VARCHAR)
SELECT SUM(frequency) FROM table_name_47 WHERE brand = "exa fm"
Write a SQL query that answers the following question: Name the webcast for website of • and frequency of 103.3
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (webcast VARCHAR, website VARCHAR, frequency VARCHAR)
SELECT webcast FROM table_name_5 WHERE website = "•" AND frequency = 103.3
Write a SQL query that answers the following question: Name the lowest frequency for brand of radio manantial
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (frequency INTEGER, brand VARCHAR)
SELECT MIN(frequency) FROM table_name_54 WHERE brand = "radio manantial"
Write a SQL query that answers the following question: Score of new york yankees – 2, brooklyn dodgers – 3 involves how many number of games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (game VARCHAR, score VARCHAR)
SELECT COUNT(game) FROM table_name_13 WHERE score = "new york yankees – 2, brooklyn dodgers – 3"
Write a SQL query that answers the following question: Date of october 5 had what score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_15 WHERE date = "october 5"
Write a SQL query that answers the following question: brooklyn dodgers – 3, new york yankees – 5, and a Game larger than 1 had what attendance figure?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (attendance INTEGER, score VARCHAR, game VARCHAR)
SELECT SUM(attendance) FROM table_name_47 WHERE score = "brooklyn dodgers – 3, new york yankees – 5" AND game > 1
Write a SQL query that answers the following question: Who won mixed doubles in the 2002 season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (mixed_doubles VARCHAR, season VARCHAR)
SELECT mixed_doubles FROM table_name_42 WHERE season = 2002
Write a SQL query that answers the following question: Name the lowest Quay cranes for Berths of 1 and operator of mtl with terminal of terminal 5 (ct5)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (quay_cranes INTEGER, terminal VARCHAR, berths VARCHAR, operator VARCHAR)
SELECT MIN(quay_cranes) FROM table_name_72 WHERE berths = 1 AND operator = "mtl" AND terminal = "terminal 5 (ct5)"
Write a SQL query that answers the following question: Name the operator with berths more than 1 and depth of 12.5-15.5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (operator VARCHAR, berths VARCHAR, depth__m_ VARCHAR)
SELECT operator FROM table_name_81 WHERE berths > 1 AND depth__m_ = "12.5-15.5"
Write a SQL query that answers the following question: What is the average points that Centro Asegurador earned with the McLaren M23 chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR, entrant VARCHAR)
SELECT AVG(points) FROM table_name_3 WHERE chassis = "mclaren m23" AND entrant = "centro asegurador"
Write a SQL query that answers the following question: What was the chassis of Emilio de Villota in 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER)
SELECT chassis FROM table_name_94 WHERE year > 1981
Write a SQL query that answers the following question: What directors won an award on 14/6/6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (director_s_ VARCHAR, date VARCHAR)
SELECT director_s_ FROM table_name_98 WHERE date = "14/6/6"
Write a SQL query that answers the following question: What date did Passion Pictures receive an award?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (date VARCHAR, recipient VARCHAR)
SELECT date FROM table_name_42 WHERE recipient = "passion pictures"