instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which HPFS has a no for ReFS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (hpfs VARCHAR, refs VARCHAR) | SELECT hpfs FROM table_name_51 WHERE refs = "no" |
Write a SQL query that answers the following question: Which FAT32 has yes v1.0/v1.1 for NTFS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (fat32 VARCHAR, ntfs VARCHAR) | SELECT fat32 FROM table_name_31 WHERE ntfs = "yes v1.0/v1.1" |
Write a SQL query that answers the following question: Which FAT32 has a no for HPFS, a no for ReFS, and a yes v3.0 fir NTFS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (fat32 VARCHAR, ntfs VARCHAR, hpfs VARCHAR, refs VARCHAR) | SELECT fat32 FROM table_name_54 WHERE hpfs = "no" AND refs = "no" AND ntfs = "yes v3.0" |
Write a SQL query that answers the following question: Which ReFS has yes v3.0 for NTFS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (refs VARCHAR, ntfs VARCHAR) | SELECT refs FROM table_name_43 WHERE ntfs = "yes v3.0" |
Write a SQL query that answers the following question: Which NTFS has a no for ReFS and a yes for HPFS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (ntfs VARCHAR, refs VARCHAR, hpfs VARCHAR) | SELECT ntfs FROM table_name_50 WHERE refs = "no" AND hpfs = "yes" |
Write a SQL query that answers the following question: What home team plays at glenferrie oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_5 WHERE venue = "glenferrie oval" |
Write a SQL query that answers the following question: What is the away side that playes at lake oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_12 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: Who is the away team at western oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_84 WHERE venue = "western oval" |
Write a SQL query that answers the following question: What is the Icelandic title for the Norweigan titled galgeblomsten? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (icelandic_title VARCHAR, norwegian_title VARCHAR) | SELECT icelandic_title FROM table_name_28 WHERE norwegian_title = "galgeblomsten" |
Write a SQL query that answers the following question: When is the event at lake oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_79 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: What is the away team's score at western oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_73 WHERE venue = "western oval" |
Write a SQL query that answers the following question: What's the home team's score at lake oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_89 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: What date did VFL play MCG? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_87 WHERE venue = "mcg" |
Write a SQL query that answers the following question: How many times is st kilda the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "st kilda" |
Write a SQL query that answers the following question: When the crowd was larger than 20,915 what did the Away team score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER) | SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915 |
Write a SQL query that answers the following question: What did the Away team score in their game at Victoria Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_64 WHERE venue = "victoria park" |
Write a SQL query that answers the following question: What did the Home team score when they were in MCG? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_25 WHERE venue = "mcg" |
Write a SQL query that answers the following question: What was the attendance for each game held at Foxboro Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_48 WHERE game_site = "foxboro stadium" |
Write a SQL query that answers the following question: When was the game against the Indianapolis Colts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_40 WHERE opponent = "indianapolis colts" |
Write a SQL query that answers the following question: How many weeks total did the New York Jets face the Pittsburgh Steelers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_72 WHERE opponent = "pittsburgh steelers" |
Write a SQL query that answers the following question: What week did the Jets play in the meadowlands with and attendance of 78,161? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR) | SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161" |
Write a SQL query that answers the following question: Who did the Jets play in the Meadowlands on week 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_46 WHERE game_site = "the meadowlands" AND week = 14 |
Write a SQL query that answers the following question: What was the Jets week 17 attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_21 WHERE week = 17 |
Write a SQL query that answers the following question: When did the hotel with 727 rooms open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (opening_date VARCHAR, hotel_rooms VARCHAR) | SELECT opening_date FROM table_name_80 WHERE hotel_rooms = 727 |
Write a SQL query that answers the following question: Which school(s) had a wide receiver drafted in round 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (school_club_team VARCHAR, round VARCHAR, position VARCHAR) | SELECT school_club_team FROM table_name_16 WHERE round > 4 AND position = "wide receiver" |
Write a SQL query that answers the following question: Who was the opponent before week 6 at cleveland municipal stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) | SELECT opponent FROM table_name_19 WHERE week < 6 AND game_site = "cleveland municipal stadium" |
Write a SQL query that answers the following question: What date was Richmond the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_28 WHERE away_team = "richmond" |
Write a SQL query that answers the following question: Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (county VARCHAR, rank VARCHAR, _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) | SELECT county FROM table_name_82 WHERE _percentage__2040_ > 1.8 AND _percentage__2000_ < 4.1 AND _percentage__1960_ < 3.2 AND rank = "13" |
Write a SQL query that answers the following question: What is the % (1960) of Troms, which has a % (2040) smaller than 100 and a % (2000) smaller than 4.7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (_percentage__1960_ INTEGER, county VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) | SELECT SUM(_percentage__1960_) FROM table_name_48 WHERE _percentage__2040_ < 100 AND _percentage__2000_ < 4.7 AND county = "troms" |
Write a SQL query that answers the following question: What is the % (1960) of the county with a % (2040) of 3.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (_percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR) | SELECT COUNT(_percentage__1960_) FROM table_name_98 WHERE _percentage__2040_ = 3.4 |
Write a SQL query that answers the following question: What record company has robert craft conducting? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (record_company VARCHAR, conductor VARCHAR) | SELECT record_company FROM table_name_32 WHERE conductor = "robert craft" |
Write a SQL query that answers the following question: Who is the conductor when the chicago symphony orchestra is featured? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (conductor VARCHAR, orchestra VARCHAR) | SELECT conductor FROM table_name_3 WHERE orchestra = "chicago symphony orchestra" |
Write a SQL query that answers the following question: How many people attended the Cleveland Browns game on November 11, 1979? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_58 WHERE date = "november 11, 1979" AND week > 11 |
Write a SQL query that answers the following question: The game on September 2, 1979 was during which week of the season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (week VARCHAR, date VARCHAR) | SELECT COUNT(week) FROM table_name_89 WHERE date = "september 2, 1979" |
Write a SQL query that answers the following question: What was the home team's score at the game where Richmond was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond" |
Write a SQL query that answers the following question: What was the size of the crowd when Essendon was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_40 WHERE away_team = "essendon" |
Write a SQL query that answers the following question: What is the whenbuilt of the Brighton built Blandford Forum with a withdrawn of september 1964? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (whenbuilt VARCHAR, name VARCHAR, builder VARCHAR, withdrawn VARCHAR) | SELECT whenbuilt FROM table_name_67 WHERE builder = "brighton" AND withdrawn = "september 1964" AND name = "blandford forum" |
Write a SQL query that answers the following question: What was the listed attendance when north melbourne was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_71 WHERE home_team = "north melbourne" |
Write a SQL query that answers the following question: What day was geelong the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_81 WHERE home_team = "geelong" |
Write a SQL query that answers the following question: Who played as the home team when the attendance was more than 30,080? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (home_team VARCHAR, crowd INTEGER) | SELECT home_team FROM table_name_21 WHERE crowd > 30 OFFSET 080 |
Write a SQL query that answers the following question: What was the highest attendance at Junction Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_90 WHERE venue = "junction oval" |
Write a SQL query that answers the following question: What was the away teams score when Hawthorn played as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_5 WHERE home_team = "hawthorn" |
Write a SQL query that answers the following question: How many bids does Atlantic 10 have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR) | SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10" |
Write a SQL query that answers the following question: What was the away team's score in the game against North Melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_35 WHERE home_team = "north melbourne" |
Write a SQL query that answers the following question: What was the average crowd size when the away team was South Melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_63 WHERE away_team = "south melbourne" |
Write a SQL query that answers the following question: At what venue was the away team Fitzroy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_19 WHERE away_team = "fitzroy" |
Write a SQL query that answers the following question: In what year saw a total distance of 1,870.23 km? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (year VARCHAR, distance VARCHAR) | SELECT year FROM table_name_52 WHERE distance = "1,870.23 km" |
Write a SQL query that answers the following question: Who won in 1965? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (winner VARCHAR, year VARCHAR) | SELECT winner FROM table_name_42 WHERE year = "1965" |
Write a SQL query that answers the following question: What stage was 1,648 km achieved? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (stages VARCHAR, distance VARCHAR) | SELECT stages FROM table_name_59 WHERE distance = "1,648 km" |
Write a SQL query that answers the following question: What year was stage 8 reached? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (year VARCHAR, stages VARCHAR) | SELECT year FROM table_name_54 WHERE stages = "8" |
Write a SQL query that answers the following question: What is the lowest number of bronze medals for teams ranked below 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER) | SELECT MIN(bronze) FROM table_name_91 WHERE rank > 13 |
Write a SQL query that answers the following question: How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT COUNT(gold) FROM table_name_79 WHERE bronze = 3 AND rank > 7 AND total < 5 |
Write a SQL query that answers the following question: What is the lowest score in the Highest score column when Master P was the Worst dancer(s), Drew Lachey was the Best dancer(s), and the Lowest score was under 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR) | SELECT MIN(highest_score) FROM table_name_92 WHERE worst_dancer_s_ = "master p" AND best_dancer_s_ = "drew lachey" AND lowest_score < 8 |
Write a SQL query that answers the following question: Which of the Worst dancer(s) has the Lowest score of 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (worst_dancer_s_ VARCHAR, lowest_score VARCHAR) | SELECT worst_dancer_s_ FROM table_name_43 WHERE lowest_score = 14 |
Write a SQL query that answers the following question: What is the Dance with the Highest score under 30 and Stacy Keibler as the Best dancer(s)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (dance VARCHAR, highest_score VARCHAR, best_dancer_s_ VARCHAR) | SELECT dance FROM table_name_10 WHERE highest_score < 30 AND best_dancer_s_ = "stacy keibler" |
Write a SQL query that answers the following question: What is the lowest of the Highest score for the Quickstep Dance and the Lowest score under 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR) | SELECT MIN(highest_score) FROM table_name_72 WHERE dance = "quickstep" AND lowest_score < 16 |
Write a SQL query that answers the following question: What is his record at ufc 67? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_20 WHERE event = "ufc 67" |
Write a SQL query that answers the following question: What is his record at ufc 115? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_14 WHERE event = "ufc 115" |
Write a SQL query that answers the following question: Which opponent had an attendance of 40,070? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_48 WHERE attendance = "40,070" |
Write a SQL query that answers the following question: What's the result for the game held on December 27, 2004 with a week greater than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR, date VARCHAR) | SELECT result FROM table_name_4 WHERE week > 2 AND date = "december 27, 2004" |
Write a SQL query that answers the following question: Who was the opponent for week 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_40 WHERE week = 6 |
Write a SQL query that answers the following question: Which opponent had the result of W 24-14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_64 WHERE result = "w 24-14" |
Write a SQL query that answers the following question: What's the attendance for the game held on January 2, 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_28 WHERE date = "january 2, 2005" |
Write a SQL query that answers the following question: Which had an attendance of larger than 33,435? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (result VARCHAR, attendance INTEGER) | SELECT result FROM table_name_26 WHERE attendance > 33 OFFSET 435 |
Write a SQL query that answers the following question: Which team lost under interim head coach, Dewayne Walker? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (team VARCHAR, result VARCHAR, interim_head_coach VARCHAR) | SELECT team FROM table_name_18 WHERE result = "lost" AND interim_head_coach = "dewayne walker" |
Write a SQL query that answers the following question: What was the result under interim head coach, Gary Darnell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (result VARCHAR, interim_head_coach VARCHAR) | SELECT result FROM table_name_62 WHERE interim_head_coach = "gary darnell" |
Write a SQL query that answers the following question: What team has a bowl of humanitarian? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (team VARCHAR, bowl VARCHAR) | SELECT team FROM table_name_21 WHERE bowl = "humanitarian" |
Write a SQL query that answers the following question: What is the result under the season coach Rich Rodriguez? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (result VARCHAR, season_coach VARCHAR) | SELECT result FROM table_name_29 WHERE season_coach = "rich rodriguez" |
Write a SQL query that answers the following question: Who is the 2008 head coach of UCLA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (team VARCHAR) | SELECT 2008 AS _head_coach FROM table_name_7 WHERE team = "ucla" |
Write a SQL query that answers the following question: In what score did the match against Marcos Daniel end? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_43 WHERE opponent_in_the_final = "marcos daniel" |
Write a SQL query that answers the following question: What was the score of the game played on a clay surface on June 6, 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score FROM table_name_23 WHERE surface = "clay" AND date = "june 6, 2005" |
Write a SQL query that answers the following question: On what date did the match against Flavio Cipolla, played on a clay surface, occur? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla" |
Write a SQL query that answers the following question: What was Fitzroy's score when they were the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_16 WHERE home_team = "fitzroy" |
Write a SQL query that answers the following question: Where was the Hawthorn game played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_43 WHERE away_team = "hawthorn" |
Write a SQL query that answers the following question: What was the away teams score at Princes Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_27 WHERE venue = "princes park" |
Write a SQL query that answers the following question: Which Rider finished with a speed of 81.91mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (rider VARCHAR, speed VARCHAR) | SELECT rider FROM table_name_39 WHERE speed = "81.91mph" |
Write a SQL query that answers the following question: Which Rider finished with a speed of 80.18mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (rider VARCHAR, speed VARCHAR) | SELECT rider FROM table_name_61 WHERE speed = "80.18mph" |
Write a SQL query that answers the following question: What is the home team's score at princes park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_85 WHERE venue = "princes park" |
Write a SQL query that answers the following question: What is the venue for the Footscray home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_66 WHERE home_team = "footscray" |
Write a SQL query that answers the following question: Which home team's venue is Windy Hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_86 WHERE venue = "windy hill" |
Write a SQL query that answers the following question: What is the score for Hawthorn as an away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_7 WHERE away_team = "hawthorn" |
Write a SQL query that answers the following question: What is the score of the away team when the home team is Essendon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: What date was the Home team fitzroy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_18 WHERE home_team = "fitzroy" |
Write a SQL query that answers the following question: What is the largest crowd when st kilda was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_60 WHERE away_team = "st kilda" |
Write a SQL query that answers the following question: What was the score of essendon when they were the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_15 WHERE away_team = "essendon" |
Write a SQL query that answers the following question: What home team played at the western oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_93 WHERE venue = "western oval" |
Write a SQL query that answers the following question: Which mid-hill zone has a slightly warm temperature? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (high_hill_zone VARCHAR, mid_hill_zone VARCHAR) | SELECT high_hill_zone FROM table_name_87 WHERE mid_hill_zone = "slightly warm temperature" |
Write a SQL query that answers the following question: Which one took place on December 3, 1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_60 WHERE date = "december 3, 1995" |
Write a SQL query that answers the following question: Who was the opponent of the New Orleans Saints? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_79 WHERE opponent = "new orleans saints" |
Write a SQL query that answers the following question: What grid has 23 laps done by Josh Brookes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (grid VARCHAR, laps VARCHAR, rider VARCHAR) | SELECT grid FROM table_name_1 WHERE laps = 23 AND rider = "josh brookes" |
Write a SQL query that answers the following question: What is noriyuki haga's time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (time VARCHAR, rider VARCHAR) | SELECT time FROM table_name_69 WHERE rider = "noriyuki haga" |
Write a SQL query that answers the following question: What laps have a Time of +28.778? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR) | SELECT laps FROM table_name_37 WHERE time = "+28.778" |
Write a SQL query that answers the following question: Where was the game held where Hawthorn was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_46 WHERE away_team = "hawthorn" |
Write a SQL query that answers the following question: What was the date of the game when Richmond was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_42 WHERE home_team = "richmond" |
Write a SQL query that answers the following question: Who was the home team at the game played at Kardinia Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_44 WHERE venue = "kardinia park" |
Write a SQL query that answers the following question: What is the date of the game when the venue is MCG? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_31 WHERE venue = "mcg" |
Write a SQL query that answers the following question: What is the home team score when the away team is Essendon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_77 WHERE away_team = "essendon" |
Write a SQL query that answers the following question: What is the name of the away team whose venue is Kardinia Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_73 WHERE venue = "kardinia park" |
Write a SQL query that answers the following question: What was the result when they were on a bye week? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (result VARCHAR, stadium VARCHAR) | SELECT result FROM table_name_33 WHERE stadium = "bye week" |
Write a SQL query that answers the following question: What was the result when the attendance was 25,418? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_99 WHERE attendance = "25,418" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.