instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What was the final score of the player from Inglewood, California? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (score VARCHAR, city VARCHAR) | SELECT score FROM table_name_14 WHERE city = "inglewood, california" |
Write a SQL query that answers the following question: What tour was cancelled? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (name VARCHAR, date VARCHAR) | SELECT name FROM table_name_14 WHERE date = "cancelled" |
Write a SQL query that answers the following question: Who won the Fedex tour of Calabarzon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (winner VARCHAR, name VARCHAR) | SELECT winner FROM table_name_76 WHERE name = "fedex tour of calabarzon" |
Write a SQL query that answers the following question: What year has the time of 55:29:20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (year VARCHAR, time VARCHAR) | SELECT COUNT(year) FROM table_name_16 WHERE time = "55:29:20" |
Write a SQL query that answers the following question: What was the score when Mark parterned with lorenzo manta? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_name_19 WHERE partner = "lorenzo manta" |
Write a SQL query that answers the following question: Who was his partner when he played on carpet? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR) | SELECT partner FROM table_name_22 WHERE surface = "carpet" |
Write a SQL query that answers the following question: When did he play with peter nyborg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date VARCHAR, partner VARCHAR) | SELECT date FROM table_name_76 WHERE partner = "peter nyborg" |
Write a SQL query that answers the following question: What day did he play on hard with tom mercer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date VARCHAR, surface VARCHAR, partner VARCHAR) | SELECT date FROM table_name_69 WHERE surface = "hard" AND partner = "tom mercer" |
Write a SQL query that answers the following question: What was the week 2's record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (record VARCHAR, week VARCHAR) | SELECT record FROM table_name_92 WHERE week = "2" |
Write a SQL query that answers the following question: What was week 12's record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (record VARCHAR, week VARCHAR) | SELECT record FROM table_name_57 WHERE week = "12" |
Write a SQL query that answers the following question: What was the Bye week attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_25 WHERE record = "bye" |
Write a SQL query that answers the following question: When was the kickoff time of the SB XXXVI? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (kickoff VARCHAR, week VARCHAR) | SELECT kickoff FROM table_name_93 WHERE week = "sb xxxvi" |
Write a SQL query that answers the following question: What was the home team score for the game played at Princes Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_3 WHERE venue = "princes park" |
Write a SQL query that answers the following question: What event had a time of 6:37.73? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_42 WHERE time = "6:37.73" |
Write a SQL query that answers the following question: What is the time for the 50m breaststroke? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_34 WHERE event = "50m breaststroke" |
Write a SQL query that answers the following question: What age group has a time of 6:37.73 at the 200m breaststroke? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (age_group VARCHAR, event VARCHAR, time VARCHAR) | SELECT age_group FROM table_name_75 WHERE event = "200m breaststroke" AND time = "6:37.73" |
Write a SQL query that answers the following question: What date did the 90-94 year old have a tie of 1:25.91 at the LC pool? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, time VARCHAR, age_group VARCHAR, pool VARCHAR) | SELECT date FROM table_name_25 WHERE age_group = "90-94" AND pool = "lc" AND time = "1:25.91" |
Write a SQL query that answers the following question: How many point totals are there that rank higher than 9 and have a PPG avg higher than 13.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (total_points VARCHAR, rank VARCHAR, ppg_avg VARCHAR) | SELECT COUNT(total_points) FROM table_name_48 WHERE rank > 9 AND ppg_avg > 13.4 |
Write a SQL query that answers the following question: How many players played over 125 games and were named david gonzalvez? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (rank VARCHAR, games VARCHAR, player VARCHAR) | SELECT COUNT(rank) FROM table_name_16 WHERE games > 125 AND player = "david gonzalvez" |
Write a SQL query that answers the following question: Which host university is based in Missoula? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (host VARCHAR, city VARCHAR) | SELECT host FROM table_name_40 WHERE city = "missoula" |
Write a SQL query that answers the following question: What state is the city of Ruston in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (state VARCHAR, city VARCHAR) | SELECT state FROM table_name_13 WHERE city = "ruston" |
Write a SQL query that answers the following question: Which mideast regional state contains the city of Seattle? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (state VARCHAR, region VARCHAR, city VARCHAR) | SELECT state FROM table_name_53 WHERE region = "mideast" AND city = "seattle" |
Write a SQL query that answers the following question: Which region does Old Dominion University represent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (region VARCHAR, host VARCHAR) | SELECT region FROM table_name_33 WHERE host = "old dominion university" |
Write a SQL query that answers the following question: Which state is University of Tennessee based in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (state VARCHAR, host VARCHAR) | SELECT state FROM table_name_27 WHERE host = "university of tennessee" |
Write a SQL query that answers the following question: What was the grid for Bruno Junqueira for Dale Coyne Racing? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (grid VARCHAR, team VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_45 WHERE team = "dale coyne racing" AND driver = "bruno junqueira" |
Write a SQL query that answers the following question: What were the highest points for less than 78 laps and on grid 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (points INTEGER, grid VARCHAR, laps VARCHAR) | SELECT MAX(points) FROM table_name_86 WHERE grid = 5 AND laps < 78 |
Write a SQL query that answers the following question: How many were in the crowd at the Junction Oval venue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_15 WHERE venue = "junction oval" |
Write a SQL query that answers the following question: What was the away team score in the game at Arden Street Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_31 WHERE venue = "arden street oval" |
Write a SQL query that answers the following question: What was the date of the Arden Street Oval game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_59 WHERE venue = "arden street oval" |
Write a SQL query that answers the following question: What venue saw a crowd larger than 29,840? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (venue VARCHAR, crowd INTEGER) | SELECT venue FROM table_name_13 WHERE crowd > 29 OFFSET 840 |
Write a SQL query that answers the following question: When does week 11 start? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_25 WHERE week = "11" |
Write a SQL query that answers the following question: Which week starts on December 28, 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_1 WHERE date = "december 28, 1997" |
Write a SQL query that answers the following question: When does week 1 start? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_54 WHERE week = "1" |
Write a SQL query that answers the following question: Who one in the Tampa Bay Buccaneers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_59 WHERE opponent = "tampa bay buccaneers" |
Write a SQL query that answers the following question: Which week starts on November 23, 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_55 WHERE date = "november 23, 1997" |
Write a SQL query that answers the following question: Who is the away team when the home team was Fitzroy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_55 WHERE home_team = "fitzroy" |
Write a SQL query that answers the following question: What was Melbourne's score when they were the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_37 WHERE home_team = "melbourne" |
Write a SQL query that answers the following question: What is the date of the game where Collingwood was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_31 WHERE home_team = "collingwood" |
Write a SQL query that answers the following question: Who watches North Melbourne when they are away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_14 WHERE away_team = "north melbourne" |
Write a SQL query that answers the following question: What Away team is visiting Carlton? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_27 WHERE home_team = "carlton" |
Write a SQL query that answers the following question: What team has Windy Hill as their home venue | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_47 WHERE venue = "windy hill" |
Write a SQL query that answers the following question: When richmond played away, what was the largest number of people who watched? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_8 WHERE away_team = "richmond" |
Write a SQL query that answers the following question: Which country is ranked higher than 68, with a city named Santa Fe and a stadium that has a capacity of 32,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (country VARCHAR, city VARCHAR, rank VARCHAR, capacity VARCHAR) | SELECT country FROM table_name_10 WHERE rank > 68 AND capacity = "32,000" AND city = "santa fe" |
Write a SQL query that answers the following question: What is the capacity of the stadium with a rank lower than 31 located in the city of Belém ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (capacity VARCHAR, rank VARCHAR, city VARCHAR) | SELECT capacity FROM table_name_97 WHERE rank < 31 AND city = "belém" |
Write a SQL query that answers the following question: What is the sum of week(s) with an attendance of 30,751? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (week INTEGER, attendance VARCHAR) | SELECT SUM(week) FROM table_name_77 WHERE attendance = 30 OFFSET 751 |
Write a SQL query that answers the following question: On what date did the home team Essendon play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_50 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: What was South Melbourne's home team score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_90 WHERE home_team = "south melbourne" |
Write a SQL query that answers the following question: On what date was the venue of Glenferrie Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_12 WHERE venue = "glenferrie oval" |
Write a SQL query that answers the following question: What was the score for the away team when they played collingwood? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_57 WHERE home_team = "collingwood" |
Write a SQL query that answers the following question: What was the score when essendon was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_75 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: What is the date of the game where Richmond was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_70 WHERE away_team = "richmond" |
Write a SQL query that answers the following question: Who was the home team when Carlton was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_97 WHERE away_team = "carlton" |
Write a SQL query that answers the following question: Which home team played against Hawthorn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_49 WHERE away_team = "hawthorn" |
Write a SQL query that answers the following question: What date did the Geelong team play on as a home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_12 WHERE home_team = "geelong" |
Write a SQL query that answers the following question: What school/club team did the player who was drafted after round 13 with an overall rank of 384 play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (school_club_team VARCHAR, round VARCHAR, overall VARCHAR) | SELECT school_club_team FROM table_name_38 WHERE round > 13 AND overall = 384 |
Write a SQL query that answers the following question: What is the largest overall rank for a center drafted before round 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (overall INTEGER, position VARCHAR, round VARCHAR) | SELECT MAX(overall) FROM table_name_22 WHERE position = "center" AND round < 10 |
Write a SQL query that answers the following question: What position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR) | SELECT position FROM table_name_70 WHERE overall < 306 AND round < 11 AND school_club_team = "texas state" |
Write a SQL query that answers the following question: What is the average overall rank of all players drafted from Duke after round 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (overall INTEGER, school_club_team VARCHAR, round VARCHAR) | SELECT AVG(overall) FROM table_name_49 WHERE school_club_team = "duke" AND round > 9 |
Write a SQL query that answers the following question: What is the sum of all rounds where a Tennessee State player with an overall rank less than 261 was drafted? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (round VARCHAR, school_club_team VARCHAR, overall VARCHAR) | SELECT COUNT(round) FROM table_name_95 WHERE school_club_team = "tennessee state" AND overall < 261 |
Write a SQL query that answers the following question: What is the highest overall rank of any Tennessee State player drafted before round 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR) | SELECT MIN(overall) FROM table_name_48 WHERE school_club_team = "tennessee state" AND round < 10 |
Write a SQL query that answers the following question: How many rounds did Blane Smith play linebacker? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (round VARCHAR, position VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_12 WHERE position = "linebacker" AND player = "blane smith" |
Write a SQL query that answers the following question: How many times was Arizona the team and the round was bigger than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (overall VARCHAR, school_club_team VARCHAR, round VARCHAR) | SELECT COUNT(overall) FROM table_name_86 WHERE school_club_team = "arizona" AND round > 11 |
Write a SQL query that answers the following question: What is the result of the game after week 5 against the st. louis rams? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_52 WHERE week > 5 AND opponent = "st. louis rams" |
Write a SQL query that answers the following question: What day did they play on week 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_56 WHERE week = 4 |
Write a SQL query that answers the following question: What is the largest crowd at princes park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_88 WHERE venue = "princes park" |
Write a SQL query that answers the following question: What day is north melbourne the away side? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_51 WHERE away_team = "north melbourne" |
Write a SQL query that answers the following question: What day is essendon the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_69 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: How many games had an assist number greater than 54? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (games INTEGER, assist INTEGER) | SELECT SUM(games) FROM table_name_54 WHERE assist > 54 |
Write a SQL query that answers the following question: Which years did the USA have a rank lower than 6 and an assist number less than 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (years VARCHAR, nation VARCHAR, assist VARCHAR, rank VARCHAR) | SELECT years FROM table_name_47 WHERE assist < 26 AND rank < 6 AND nation = "usa" |
Write a SQL query that answers the following question: Which year or years did a team win 174 games and had an assist number less than 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (years VARCHAR, assist VARCHAR, games VARCHAR) | SELECT years FROM table_name_40 WHERE assist < 17 AND games = 174 |
Write a SQL query that answers the following question: Which party does Claudette Tardif belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (party VARCHAR, name VARCHAR) | SELECT party FROM table_name_85 WHERE name = "claudette tardif" |
Write a SQL query that answers the following question: Who appointed the conservative from Ontario on June 18, 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (appointed_by VARCHAR, date_appointed VARCHAR, party VARCHAR, province__division_ VARCHAR) | SELECT appointed_by FROM table_name_61 WHERE party = "conservative" AND province__division_ = "ontario" AND date_appointed = "june 18, 1993" |
Write a SQL query that answers the following question: What competition, federation, or league are the Tennessee Titans a member of? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR) | SELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = "tennessee titans" |
Write a SQL query that answers the following question: What day is south melbourne at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_71 WHERE home_team = "south melbourne" |
Write a SQL query that answers the following question: What is the lowest crowd at corio oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_20 WHERE venue = "corio oval" |
Write a SQL query that answers the following question: What venue features carlton as an away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_34 WHERE away_team = "carlton" |
Write a SQL query that answers the following question: What day does the team play at western oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_59 WHERE venue = "western oval" |
Write a SQL query that answers the following question: What venue features collingwood as the home side? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_4 WHERE home_team = "collingwood" |
Write a SQL query that answers the following question: What is the attendance of week 1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_92 WHERE week = 1 |
Write a SQL query that answers the following question: What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (result VARCHAR, couple VARCHAR, score VARCHAR) | SELECT result FROM table_name_48 WHERE couple = "kelly & alec" AND score = "22 (8, 7, 7)" |
Write a SQL query that answers the following question: What is the Music for the Dance that Scored 25 (9, 8, 8) and a Result of bottom 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (music VARCHAR, score VARCHAR, result VARCHAR) | SELECT music FROM table_name_2 WHERE score = "25 (9, 8, 8)" AND result = "bottom 2" |
Write a SQL query that answers the following question: How many totals are there for players with an average under 8 and less than 4 matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (total VARCHAR, average VARCHAR, matches VARCHAR) | SELECT COUNT(total) FROM table_name_53 WHERE average < 8 AND matches < 4 |
Write a SQL query that answers the following question: What is the highest rank for championships with christy heffernan with over 4 matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (rank INTEGER, player VARCHAR, matches VARCHAR) | SELECT MAX(rank) FROM table_name_44 WHERE player = "christy heffernan" AND matches > 4 |
Write a SQL query that answers the following question: What is the date of the game at Junction Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_55 WHERE venue = "junction oval" |
Write a SQL query that answers the following question: What was the away team score at Windy Hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_25 WHERE venue = "windy hill" |
Write a SQL query that answers the following question: Where did St Kilda play as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_50 WHERE away_team = "st kilda" |
Write a SQL query that answers the following question: What away team played at Glenferrie Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_34 WHERE venue = "glenferrie oval" |
Write a SQL query that answers the following question: How many people attended the game at Lake Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_76 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: What home team played at Lake Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_1 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: What was the terrain for stage 10 of the tour? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (terrain VARCHAR, stage VARCHAR) | SELECT terrain FROM table_name_69 WHERE stage = "10" |
Write a SQL query that answers the following question: Which stage took the tour through Boulogne-Billancourt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (stage VARCHAR, route VARCHAR) | SELECT stage FROM table_name_90 WHERE route = "boulogne-billancourt" |
Write a SQL query that answers the following question: Who won at stage 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_85 WHERE stage = "22" |
Write a SQL query that answers the following question: Who was the winner of stage 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_76 WHERE stage = "12" |
Write a SQL query that answers the following question: When was the Hon Ian Causley first elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (first_elected VARCHAR, member VARCHAR) | SELECT first_elected FROM table_name_66 WHERE member = "hon ian causley" |
Write a SQL query that answers the following question: When was Jill Hall of the Labor Party first elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (first_elected VARCHAR, party VARCHAR, member VARCHAR) | SELECT first_elected FROM table_name_6 WHERE party = "labor" AND member = "jill hall" |
Write a SQL query that answers the following question: What state is Tanya Plibersek from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (state VARCHAR, member VARCHAR) | SELECT state FROM table_name_15 WHERE member = "tanya plibersek" |
Write a SQL query that answers the following question: What is the smallest number of goals for the player from 2008-present named tony beltran, ranked lower than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (goals INTEGER, rank VARCHAR, years VARCHAR, player VARCHAR) | SELECT MIN(goals) FROM table_name_98 WHERE years = "2008-present" AND player = "tony beltran" AND rank > 7 |
Write a SQL query that answers the following question: What is the smallest number of goals for andy williams? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (goals INTEGER, player VARCHAR) | SELECT MIN(goals) FROM table_name_92 WHERE player = "andy williams" |
Write a SQL query that answers the following question: What is the highest number of goals for robbie findley ranked above 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (goals INTEGER, player VARCHAR, rank VARCHAR) | SELECT MAX(goals) FROM table_name_37 WHERE player = "robbie findley" AND rank < 10 |
Write a SQL query that answers the following question: Which NTFS has a yes for FAT32 and a no for ReFS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (ntfs VARCHAR, fat32 VARCHAR, refs VARCHAR) | SELECT ntfs FROM table_name_20 WHERE fat32 = "yes" AND refs = "no" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.