instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which County has an IHSAA Class of aaa, and an Enrollment smaller than 799? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (county VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR) | SELECT county FROM table_name_68 WHERE ihsaa_class = "aaa" AND enrollment < 799 |
Write a SQL query that answers the following question: Which Location has a Mascot of tigers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (location VARCHAR, mascot VARCHAR) | SELECT location FROM table_name_34 WHERE mascot = "tigers" |
Write a SQL query that answers the following question: What's the most overall when the executive appointments were 28 and the background was smaller than 37? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (overall INTEGER, executive_appointments VARCHAR, background VARCHAR) | SELECT MAX(overall) FROM table_name_77 WHERE executive_appointments = 28 AND background < 37 |
Write a SQL query that answers the following question: What was the record at the game with a score of 21-16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_77 WHERE score = "21-16" |
Write a SQL query that answers the following question: Who was the opponent at the game with a score of 42-28 after week 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_91 WHERE week > 4 AND score = "42-28" |
Write a SQL query that answers the following question: what is the result when the opponent is at dallas cowboys? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_12 WHERE opponent = "at dallas cowboys" |
Write a SQL query that answers the following question: what is the enrollement for the year joined 1958 in clarksville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (enrollment INTEGER, year_joined VARCHAR, location VARCHAR) | SELECT SUM(enrollment) FROM table_name_79 WHERE year_joined = 1958 AND location = "clarksville" |
Write a SQL query that answers the following question: what is the #/county that is ihsaa class aaa, has enrollment higher than 611 and the dragons is the mascot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (_number___county VARCHAR, mascot VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR) | SELECT _number___county FROM table_name_13 WHERE ihsaa_class = "aaa" AND enrollment > 611 AND mascot = "dragons" |
Write a SQL query that answers the following question: Where was the title released in 1977? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (country_of_release VARCHAR, year_of_release VARCHAR) | SELECT country_of_release FROM table_name_98 WHERE year_of_release = 1977 |
Write a SQL query that answers the following question: What was the last year MCA had a Release? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (year_of_release INTEGER, label VARCHAR) | SELECT MAX(year_of_release) FROM table_name_40 WHERE label = "mca" |
Write a SQL query that answers the following question: What is the lowest pick for the Buffalo Bills? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (pick INTEGER, team VARCHAR) | SELECT MIN(pick) FROM table_name_60 WHERE team = "buffalo bills" |
Write a SQL query that answers the following question: Which player played for the Boston Patriots? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (player VARCHAR, team VARCHAR) | SELECT player FROM table_name_61 WHERE team = "boston patriots" |
Write a SQL query that answers the following question: How much Attendance has a Result of 2–4, and a Visitor of brynäs if? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (attendance INTEGER, result VARCHAR, visitor VARCHAR) | SELECT SUM(attendance) FROM table_name_10 WHERE result = "2–4" AND visitor = "brynäs if" |
Write a SQL query that answers the following question: Which Result has a Round larger than 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (result VARCHAR, round INTEGER) | SELECT result FROM table_name_37 WHERE round > 17 |
Write a SQL query that answers the following question: What is the smallest electorate for the Conservative party in South West Devon constituency, with over 2 conservatives and a name of Plymstock Radford? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (electorate INTEGER, name VARCHAR, political_party VARCHAR, constituency VARCHAR) | SELECT MIN(electorate) FROM table_name_57 WHERE political_party = "conservative" AND constituency = "south west devon" AND "conservative" > 2 AND name = "plymstock radford" |
Write a SQL query that answers the following question: What event was in a year later than 2007 and in the 88th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (event VARCHAR, year VARCHAR, position VARCHAR) | SELECT event FROM table_name_66 WHERE year > 2007 AND position = "88th" |
Write a SQL query that answers the following question: What are the notes for 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR) | SELECT notes FROM table_name_36 WHERE year = 2005 |
Write a SQL query that answers the following question: Who is the owner of CKLF-FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (owner VARCHAR, call_sign VARCHAR) | SELECT owner FROM table_name_78 WHERE call_sign = "cklf-fm" |
Write a SQL query that answers the following question: What frequency is First Nations Community? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (frequency VARCHAR, format VARCHAR) | SELECT frequency FROM table_name_78 WHERE format = "first nations community" |
Write a SQL query that answers the following question: What format is CBC Radio 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (format VARCHAR, branding VARCHAR) | SELECT format FROM table_name_84 WHERE branding = "cbc radio 2" |
Write a SQL query that answers the following question: Who owns CKSB-8-FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (owner VARCHAR, call_sign VARCHAR) | SELECT owner FROM table_name_72 WHERE call_sign = "cksb-8-fm" |
Write a SQL query that answers the following question: What format is Première Chaîne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (format VARCHAR, branding VARCHAR) | SELECT format FROM table_name_44 WHERE branding = "première chaîne" |
Write a SQL query that answers the following question: What year was olympics, Canada and the Men's Eight Event ended with a silver medal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (year INTEGER, result VARCHAR, nation VARCHAR, championship VARCHAR, event VARCHAR) | SELECT MAX(year) FROM table_name_92 WHERE championship = "olympics" AND event = "men's eight" AND nation = "canada" AND result = "silver" |
Write a SQL query that answers the following question: What event was in 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (event VARCHAR, year VARCHAR) | SELECT event FROM table_name_2 WHERE year = 2006 |
Write a SQL query that answers the following question: What championship was in the USA after 1994, and resulted in 5th place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (championship VARCHAR, result VARCHAR, nation VARCHAR, year VARCHAR) | SELECT championship FROM table_name_99 WHERE nation = "usa" AND year > 1994 AND result = "5th" |
Write a SQL query that answers the following question: What year did Canada get a silver in the olympics in the Men's Coxless Pair event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (year INTEGER, event VARCHAR, championship VARCHAR, nation VARCHAR, result VARCHAR) | SELECT MIN(year) FROM table_name_65 WHERE nation = "canada" AND result = "silver" AND championship = "olympics" AND event = "men's coxless pair" |
Write a SQL query that answers the following question: Where is the lacrosse school located? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (location VARCHAR, school VARCHAR) | SELECT location FROM table_name_98 WHERE school = "lacrosse" |
Write a SQL query that answers the following question: Which IHSAA Class has a Mascot of tigers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR) | SELECT ihsaa_class FROM table_name_32 WHERE mascot = "tigers" |
Write a SQL query that answers the following question: Which Location has an Enrollment larger than 543? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (location VARCHAR, enrollment INTEGER) | SELECT location FROM table_name_62 WHERE enrollment > 543 |
Write a SQL query that answers the following question: Which County has an Enrollment of 297? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (county VARCHAR, enrollment VARCHAR) | SELECT county FROM table_name_16 WHERE enrollment = 297 |
Write a SQL query that answers the following question: Which School has an Enrollment larger than 264, and a County of 46 la porte? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (school VARCHAR, enrollment VARCHAR, county VARCHAR) | SELECT school FROM table_name_52 WHERE enrollment > 264 AND county = "46 la porte" |
Write a SQL query that answers the following question: What is the number of silver medals when there are more than 1 gold, and more than 6 bronze? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, bronze VARCHAR) | SELECT MIN(silver) FROM table_name_90 WHERE gold > 1 AND bronze > 6 |
Write a SQL query that answers the following question: What is the total when the Yugoslavia number of silver won is more than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (total INTEGER, silver VARCHAR, nation VARCHAR) | SELECT MAX(total) FROM table_name_32 WHERE silver > 1 AND nation = "yugoslavia" |
Write a SQL query that answers the following question: What is the total attendance before week 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (attendance INTEGER, week INTEGER) | SELECT SUM(attendance) FROM table_name_16 WHERE week < 1 |
Write a SQL query that answers the following question: When was sniffles and the bookworm released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_81 WHERE title = "sniffles and the bookworm" |
Write a SQL query that answers the following question: When was land of the midnight fun in the mm series released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (release_date VARCHAR, series VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_54 WHERE series = "mm" AND title = "land of the midnight fun" |
Write a SQL query that answers the following question: Which series had a release on 1939-07-15 with the 8863 production number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (series VARCHAR, release_date VARCHAR, production_num VARCHAR) | SELECT series FROM table_name_53 WHERE release_date = "1939-07-15" AND production_num = "8863" |
Write a SQL query that answers the following question: Who directed hamateur night? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_2 WHERE title = "hamateur night" |
Write a SQL query that answers the following question: When was Production Number 9105 released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (release_date VARCHAR, production_num VARCHAR) | SELECT release_date FROM table_name_29 WHERE production_num = "9105" |
Write a SQL query that answers the following question: What Class has a Frequency of 90.1 FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (class VARCHAR, frequency VARCHAR) | SELECT class FROM table_name_8 WHERE frequency = "90.1 fm" |
Write a SQL query that answers the following question: What is listed for the RECNet that also has a Frequency of 91.1 FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (recnet VARCHAR, frequency VARCHAR) | SELECT recnet FROM table_name_51 WHERE frequency = "91.1 fm" |
Write a SQL query that answers the following question: What Class has the Identifier fo CBFX-FM-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (class VARCHAR, identifier VARCHAR) | SELECT class FROM table_name_42 WHERE identifier = "cbfx-fm-2" |
Write a SQL query that answers the following question: What is the RECNet with a Class of B and the City of License of Rouyn-Noranda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (recnet VARCHAR, class VARCHAR, city_of_license VARCHAR) | SELECT recnet FROM table_name_51 WHERE class = "b" AND city_of_license = "rouyn-noranda" |
Write a SQL query that answers the following question: What Class has the Identifier of CBFX-FM-6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (class VARCHAR, identifier VARCHAR) | SELECT class FROM table_name_21 WHERE identifier = "cbfx-fm-6" |
Write a SQL query that answers the following question: What Frequency has the Identifier of CBFX-FM-6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (frequency VARCHAR, identifier VARCHAR) | SELECT frequency FROM table_name_53 WHERE identifier = "cbfx-fm-6" |
Write a SQL query that answers the following question: What is the total number of gold with less than 1 silver, from Belgium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (gold VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT COUNT(gold) FROM table_name_23 WHERE silver < 1 AND nation = "belgium" |
Write a SQL query that answers the following question: Which Lost has Points smaller than 15, and a Name of sc forst, and Drawn smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (lost INTEGER, drawn VARCHAR, points VARCHAR, name VARCHAR) | SELECT AVG(lost) FROM table_name_89 WHERE points < 15 AND name = "sc forst" AND drawn < 0 |
Write a SQL query that answers the following question: How much Position has a Lost of 8, and a Played larger than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (position INTEGER, lost VARCHAR, played VARCHAR) | SELECT SUM(position) FROM table_name_78 WHERE lost = 8 AND played > 14 |
Write a SQL query that answers the following question: Which Drawn has a Lost larger than 8, and Points smaller than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (drawn INTEGER, lost VARCHAR, points VARCHAR) | SELECT SUM(drawn) FROM table_name_80 WHERE lost > 8 AND points < 7 |
Write a SQL query that answers the following question: How much Drawn has a Name of erc lechbruck, and Points smaller than 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (drawn VARCHAR, name VARCHAR, points VARCHAR) | SELECT COUNT(drawn) FROM table_name_13 WHERE name = "erc lechbruck" AND points < 17 |
Write a SQL query that answers the following question: What town is from the molėtai district municipality and has a population rank of 187 and a population less than 470 in 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (town VARCHAR, population_rank VARCHAR, municipality VARCHAR, population__2001_ VARCHAR) | SELECT town FROM table_name_81 WHERE municipality = "molėtai district municipality" AND population__2001_ < 470 AND population_rank = 187 |
Write a SQL query that answers the following question: What county is the town with a rank of 205 located in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (county VARCHAR, population_rank VARCHAR) | SELECT county FROM table_name_78 WHERE population_rank = 205 |
Write a SQL query that answers the following question: What is the fewest draws for percentages of 5.02%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (draw INTEGER, percentage VARCHAR) | SELECT MIN(draw) FROM table_name_95 WHERE percentage = "5.02%" |
Write a SQL query that answers the following question: What is the position of the player from the denver broncos? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (position VARCHAR, team VARCHAR) | SELECT position FROM table_name_28 WHERE team = "denver broncos" |
Write a SQL query that answers the following question: What is the average pick of the kansas city chiefs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (pick INTEGER, team VARCHAR) | SELECT AVG(pick) FROM table_name_12 WHERE team = "kansas city chiefs" |
Write a SQL query that answers the following question: What is the pick of wiley college? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (pick VARCHAR, college VARCHAR) | SELECT pick FROM table_name_70 WHERE college = "wiley" |
Write a SQL query that answers the following question: What was the attendance for the game with alfreton town as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_53 WHERE home_team = "alfreton town" |
Write a SQL query that answers the following question: What was the score of the game where stafford rangers was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_92 WHERE away_team = "stafford rangers" |
Write a SQL query that answers the following question: Who was the home team that has a tie no of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_29 WHERE tie_no = "1" |
Write a SQL query that answers the following question: What is the tie no that has southport as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_28 WHERE away_team = "southport" |
Write a SQL query that answers the following question: What was the attendance for the game that had the king's lynn as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_53 WHERE home_team = "king's lynn" |
Write a SQL query that answers the following question: What was the score for the game with a tie no of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_56 WHERE tie_no = "1" |
Write a SQL query that answers the following question: What is the game number on December 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (game VARCHAR, date VARCHAR) | SELECT COUNT(game) FROM table_name_53 WHERE date = "december 21" |
Write a SQL query that answers the following question: What is the Game with a Record of 19-15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (game VARCHAR, record VARCHAR) | SELECT game FROM table_name_71 WHERE record = "19-15" |
Write a SQL query that answers the following question: What is the Date of the game against Detroit in game 31 or after? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_59 WHERE game > 31 AND opponent = "detroit" |
Write a SQL query that answers the following question: During which years did the golfer with the total of 289 win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (year_s__won VARCHAR, total VARCHAR) | SELECT year_s__won FROM table_name_42 WHERE total = 289 |
Write a SQL query that answers the following question: What was the To par for the player who finished t56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (to_par VARCHAR, finish VARCHAR) | SELECT to_par FROM table_name_84 WHERE finish = "t56" |
Write a SQL query that answers the following question: Which county did the player with a total of 294 represent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (country VARCHAR, total VARCHAR) | SELECT country FROM table_name_53 WHERE total = 294 |
Write a SQL query that answers the following question: What was the total for united states player phil mickelson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (total INTEGER, country VARCHAR, player VARCHAR) | SELECT MIN(total) FROM table_name_72 WHERE country = "united states" AND player = "phil mickelson" |
Write a SQL query that answers the following question: With a less than 4 rank, and a time less than 24.42 what is the smallest lane? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (lane INTEGER, rank VARCHAR, time VARCHAR) | SELECT MIN(lane) FROM table_name_52 WHERE rank < 4 AND time < 24.42 |
Write a SQL query that answers the following question: The swimmer from the United States in a lane less than 5, had what as the average time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (time INTEGER, nationality VARCHAR, lane VARCHAR) | SELECT AVG(time) FROM table_name_8 WHERE nationality = "united states" AND lane < 5 |
Write a SQL query that answers the following question: What nationality is the swimmer that is in the lane that is less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (nationality VARCHAR, lane INTEGER) | SELECT nationality FROM table_name_3 WHERE lane < 2 |
Write a SQL query that answers the following question: Which Losses have Draws smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (losses INTEGER, draws INTEGER) | SELECT MAX(losses) FROM table_name_15 WHERE draws < 0 |
Write a SQL query that answers the following question: Which Losses have Draws larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (losses INTEGER, draws INTEGER) | SELECT MAX(losses) FROM table_name_28 WHERE draws > 0 |
Write a SQL query that answers the following question: How much Against has Losses smaller than 7, and a Wimmera FL of horsham? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (against INTEGER, losses VARCHAR, wimmera_fl VARCHAR) | SELECT SUM(against) FROM table_name_66 WHERE losses < 7 AND wimmera_fl = "horsham" |
Write a SQL query that answers the following question: How many Draws have Wins larger than 7, and a Wimmera FL of nhill, and Losses larger than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (draws INTEGER, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR) | SELECT SUM(draws) FROM table_name_83 WHERE wins > 7 AND wimmera_fl = "nhill" AND losses > 8 |
Write a SQL query that answers the following question: What was the outcome of the match with a score of 3-6, 2-6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_52 WHERE score = "3-6, 2-6" |
Write a SQL query that answers the following question: What was the tournament that had byron black playing against magnus larsson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_70 WHERE opponent = "magnus larsson" |
Write a SQL query that answers the following question: What tournament had a game with a score of 6-7, 4-6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_35 WHERE score = "6-7, 4-6" |
Write a SQL query that answers the following question: what is the result when the round is less than 7 and the opponent is melbourne storm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (result VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_76 WHERE round < 7 AND opponent = "melbourne storm" |
Write a SQL query that answers the following question: what is the venue when the result is loss and the opponent is st george-illawarra dragons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_58 WHERE result = "loss" AND opponent = "st george-illawarra dragons" |
Write a SQL query that answers the following question: Who won silver in 1982? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (silver VARCHAR, year VARCHAR) | SELECT silver FROM table_name_15 WHERE year = 1982 |
Write a SQL query that answers the following question: What is the Time of the Rowers in Rank 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (time VARCHAR, rank VARCHAR) | SELECT time FROM table_name_7 WHERE rank = 1 |
Write a SQL query that answers the following question: What is the Time of the Rowers from Belgium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (time VARCHAR, country VARCHAR) | SELECT time FROM table_name_36 WHERE country = "belgium" |
Write a SQL query that answers the following question: What time does lane 7 have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (time VARCHAR, lane VARCHAR) | SELECT time FROM table_name_56 WHERE lane = 7 |
Write a SQL query that answers the following question: What are the years employed shown for mathematics & prefect master? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (employed VARCHAR, position_held VARCHAR) | SELECT employed FROM table_name_74 WHERE position_held = "mathematics & prefect master" |
Write a SQL query that answers the following question: What citation is shown for the employed years of 1970–1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (citation VARCHAR, employed VARCHAR) | SELECT citation FROM table_name_6 WHERE employed = "1970–1996" |
Write a SQL query that answers the following question: What is the name of the person employed 1970–2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (name VARCHAR, employed VARCHAR) | SELECT name FROM table_name_48 WHERE employed = "1970–2005" |
Write a SQL query that answers the following question: What is the Time of the Rowers from Finland with a Rank of less than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (time VARCHAR, rank VARCHAR, country VARCHAR) | SELECT time FROM table_name_28 WHERE rank < 4 AND country = "finland" |
Write a SQL query that answers the following question: What is the Rank of the Rowers with a Time of 7:30.92? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (rank INTEGER, time VARCHAR) | SELECT SUM(rank) FROM table_name_56 WHERE time = "7:30.92" |
Write a SQL query that answers the following question: What are the Notes of the Country of finland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (notes VARCHAR, country VARCHAR) | SELECT notes FROM table_name_16 WHERE country = "finland" |
Write a SQL query that answers the following question: Who were the opponents for week 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_31 WHERE week = 12 |
Write a SQL query that answers the following question: Which polling institute showed a lead of 6%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (polling_institute VARCHAR, lead VARCHAR) | SELECT polling_institute FROM table_name_1 WHERE lead = "6%" |
Write a SQL query that answers the following question: Which date released had a Democratic Alternative value of 1% and Labour of 34%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date_s__released VARCHAR, democratic_alternative VARCHAR, labour VARCHAR) | SELECT date_s__released FROM table_name_76 WHERE democratic_alternative = "1%" AND labour = "34%" |
Write a SQL query that answers the following question: What is the Nationalist share of the poll for the response in which Undecided/No Answer received 29.2%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (nationalist VARCHAR, undecided__no_answer VARCHAR) | SELECT nationalist FROM table_name_8 WHERE undecided__no_answer = "29.2%" |
Write a SQL query that answers the following question: What is the value of the Democratic Alternative for the poll released by Malta Today? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (democratic_alternative VARCHAR, polling_institute VARCHAR) | SELECT democratic_alternative FROM table_name_31 WHERE polling_institute = "malta today" |
Write a SQL query that answers the following question: Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (polling_institute VARCHAR, lead VARCHAR, labour VARCHAR) | SELECT polling_institute FROM table_name_46 WHERE lead = "12%" AND labour = "40.2%" |
Write a SQL query that answers the following question: What is the lowest week that has Minnesota Vikings as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (week INTEGER, opponent VARCHAR) | SELECT MIN(week) FROM table_name_75 WHERE opponent = "minnesota vikings" |
Write a SQL query that answers the following question: What opponent has December 6, 1964 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_40 WHERE date = "december 6, 1964" |
Write a SQL query that answers the following question: What was the attendance of the game on September 18, 1965 before week 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (attendance VARCHAR, week VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_72 WHERE week < 3 AND date = "september 18, 1965" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.