instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the Home team of the game with a Score of 2 – 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (home_team VARCHAR, score VARCHAR)
SELECT home_team FROM table_name_98 WHERE score = "2 – 2"
Write a SQL query that answers the following question: What is the Attendance of the game with a Score of 0 – 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_94 WHERE score = "0 – 0"
Write a SQL query that answers the following question: What year had Nintendo EAD, Monolith Soft as developers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (year INTEGER, developer_s_ VARCHAR)
SELECT SUM(year) FROM table_name_36 WHERE developer_s_ = "nintendo ead, monolith soft"
Write a SQL query that answers the following question: what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (location VARCHAR, designer VARCHAR, restaurant_name VARCHAR)
SELECT location FROM table_name_48 WHERE designer = "glen peloso" AND restaurant_name = "joe boo's cookoos"
Write a SQL query that answers the following question: What year did the team from City of Aurora join?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (year_joined__or_joining_ INTEGER, city VARCHAR)
SELECT AVG(year_joined__or_joining_) FROM table_name_57 WHERE city = "aurora"
Write a SQL query that answers the following question: What was the total enrollment 08-09 of Franklin County?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (enrollment_08_09 VARCHAR, school VARCHAR)
SELECT COUNT(enrollment_08_09) FROM table_name_93 WHERE school = "franklin county"
Write a SQL query that answers the following question: What school has a team called the Pirates?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR)
SELECT school FROM table_name_79 WHERE team_name = "pirates"
Write a SQL query that answers the following question: What is the rank of the team with a time of 1:00.61?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (rank INTEGER, time VARCHAR)
SELECT AVG(rank) FROM table_name_1 WHERE time = "1:00.61"
Write a SQL query that answers the following question: What's the lane with a time of 1:00.66?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (lane INTEGER, time VARCHAR)
SELECT AVG(lane) FROM table_name_93 WHERE time = "1:00.66"
Write a SQL query that answers the following question: What's the rank when the time was 59.65?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (rank VARCHAR, time VARCHAR)
SELECT rank FROM table_name_43 WHERE time = "59.65"
Write a SQL query that answers the following question: What is the record when they played New York?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_64 WHERE opponent = "new york"
Write a SQL query that answers the following question: Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR)
SELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = "montezuma"
Write a SQL query that answers the following question: Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)
SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bears"
Write a SQL query that answers the following question: Can you tell me the Mascot that has the School of rosedale?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (mascot VARCHAR, school VARCHAR)
SELECT mascot FROM table_name_70 WHERE school = "rosedale"
Write a SQL query that answers the following question: Can you tell me the Conference Joined that has the Mascot of little sycamores?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (conference_joined VARCHAR, mascot VARCHAR)
SELECT conference_joined FROM table_name_88 WHERE mascot = "little sycamores"
Write a SQL query that answers the following question: Can you tell me the Location that has the Mascot of lakers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_69 WHERE mascot = "lakers"
Write a SQL query that answers the following question: What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (time VARCHAR, team VARCHAR, speed VARCHAR)
SELECT time FROM table_name_55 WHERE team = "348cc k4 honda" AND speed = "97.743mph"
Write a SQL query that answers the following question: What is the Lane of the swimmer with a Time of 8:34.25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (lane VARCHAR, time VARCHAR)
SELECT lane FROM table_name_30 WHERE time = "8:34.25"
Write a SQL query that answers the following question: What is the Name of the swimmer with a Time of 9:04.86 in Heat 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (name VARCHAR, heat VARCHAR, time VARCHAR)
SELECT name FROM table_name_40 WHERE heat = 2 AND time = "9:04.86"
Write a SQL query that answers the following question: What is the Location of the Event in Round 1 with a Time of 1:25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, time VARCHAR)
SELECT location FROM table_name_21 WHERE round = 1 AND time = "1:25"
Write a SQL query that answers the following question: What is the average goals when the last appearance was before 1984, there were more than 17 appearances, the first appearance was before 1961 and the position was mf?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (goals INTEGER, position VARCHAR, first_appearance VARCHAR, last_appearance VARCHAR, appearances VARCHAR)
SELECT AVG(goals) FROM table_name_52 WHERE last_appearance < 1984 AND appearances > 17 AND first_appearance < 1961 AND position = "mf"
Write a SQL query that answers the following question: what is the school that left in 1966?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (school VARCHAR, year_left VARCHAR)
SELECT school FROM table_name_18 WHERE year_left = 1966
Write a SQL query that answers the following question: what is the mascot for moores hill that joined later than 1952?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (mascot VARCHAR, year_joined VARCHAR, school VARCHAR)
SELECT mascot FROM table_name_19 WHERE year_joined > 1952 AND school = "moores hill"
Write a SQL query that answers the following question: what is the conference joined for the county 69 ripley in 1952 in versailles?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (conference_joined VARCHAR, location VARCHAR, county VARCHAR, year_joined VARCHAR)
SELECT conference_joined FROM table_name_58 WHERE county = "69 ripley" AND year_joined = 1952 AND location = "versailles"
Write a SQL query that answers the following question: who is the mascot of the county 78 switzerland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (mascot VARCHAR, county VARCHAR)
SELECT mascot FROM table_name_91 WHERE county = "78 switzerland"
Write a SQL query that answers the following question: What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT COUNT(time) FROM table_name_52 WHERE lane < 8 AND nationality = "canada" AND rank < 8
Write a SQL query that answers the following question: What is the total react number with a time less than 20.05 and a lane less than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (react VARCHAR, time VARCHAR, lane VARCHAR)
SELECT COUNT(react) FROM table_name_53 WHERE time < 20.05 AND lane < 6
Write a SQL query that answers the following question: What is the average react of bryan barnett, who has a lane less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (react INTEGER, name VARCHAR, lane VARCHAR)
SELECT AVG(react) FROM table_name_59 WHERE name = "bryan barnett" AND lane < 2
Write a SQL query that answers the following question: What year did the Hornets leave the conference?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR)
SELECT year_left FROM table_name_68 WHERE team_name = "hornets"
Write a SQL query that answers the following question: In what city was the team that left the conference in 1949 based?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (city VARCHAR, year_left VARCHAR)
SELECT city FROM table_name_65 WHERE year_left = "1949"
Write a SQL query that answers the following question: What year did the team based in the city of Winamac join the conference?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (year_joined VARCHAR, city VARCHAR)
SELECT year_joined FROM table_name_6 WHERE city = "winamac"
Write a SQL query that answers the following question: From what county was the team that left the conference in 1993?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR)
SELECT county FROM table_name_3 WHERE year_left = "1993"
Write a SQL query that answers the following question: From what school was the team that left the conference in 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (school VARCHAR, year_left VARCHAR)
SELECT school FROM table_name_63 WHERE year_left = "1992"
Write a SQL query that answers the following question: In what year did the team from the Western school join the conference?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR)
SELECT year_joined FROM table_name_10 WHERE school = "western"
Write a SQL query that answers the following question: What is the place when less than 1 point is scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (place INTEGER, points INTEGER)
SELECT AVG(place) FROM table_name_77 WHERE points < 1
Write a SQL query that answers the following question: What is the highest draw number when 23 points are scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR)
SELECT MAX(draw) FROM table_name_36 WHERE points = 23
Write a SQL query that answers the following question: What is the lowest heat that had a time of 1:02.85 in a lane larger than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (heat INTEGER, time VARCHAR, lane VARCHAR)
SELECT MIN(heat) FROM table_name_40 WHERE time = "1:02.85" AND lane > 7
Write a SQL query that answers the following question: What is the sum of the lanes before heat 7 that elizabeth simmonds swam?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (lane INTEGER, heat VARCHAR, name VARCHAR)
SELECT SUM(lane) FROM table_name_75 WHERE heat < 7 AND name = "elizabeth simmonds"
Write a SQL query that answers the following question: What's the Südbayern in 1928?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR)
SELECT südbayern FROM table_name_27 WHERE year = 1928
Write a SQL query that answers the following question: What's the Württemberg for Karlsruher FV happening after 1931?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR)
SELECT württemberg FROM table_name_51 WHERE baden = "karlsruher fv" AND year > 1931
Write a SQL query that answers the following question: What's the year that has a Baden Freiburger FC?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (year VARCHAR, baden VARCHAR)
SELECT COUNT(year) FROM table_name_78 WHERE baden = "freiburger fc"
Write a SQL query that answers the following question: What's the Württemberg in the year before 1929?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (württemberg VARCHAR, year INTEGER)
SELECT württemberg FROM table_name_42 WHERE year < 1929
Write a SQL query that answers the following question: What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR)
SELECT nordbayern FROM table_name_92 WHERE year < 1932 AND württemberg = "union böckingen"
Write a SQL query that answers the following question: What was the high rebounds for the game that had a score of w 76-66?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66"
Write a SQL query that answers the following question: What was the location/attendance for the game with a record of 16-6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_79 WHERE record = "16-6"
Write a SQL query that answers the following question: What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR)
SELECT nationality FROM table_name_24 WHERE lane > 1 AND rank > 5 AND name = "hsu chi-chieh"
Write a SQL query that answers the following question: What is the lane with a time of 1:56.64, and a tank smaller than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (lane VARCHAR, time VARCHAR, rank VARCHAR)
SELECT COUNT(lane) FROM table_name_31 WHERE time = "1:56.64" AND rank < 7
Write a SQL query that answers the following question: What is the rank of Japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (rank VARCHAR, nationality VARCHAR)
SELECT rank FROM table_name_84 WHERE nationality = "japan"
Write a SQL query that answers the following question: What is the time for Russia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR)
SELECT time FROM table_name_54 WHERE nationality = "russia"
Write a SQL query that answers the following question: What nation has more than 0 silver medals and is ranked 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_27 WHERE silver > 0 AND rank = "1"
Write a SQL query that answers the following question: What is the rank of the country with total more than 3 and more than 6 silver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR)
SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 6
Write a SQL query that answers the following question: What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_54 WHERE gold > "1" AND bronze = 3 AND rank = "1" AND total < 12
Write a SQL query that answers the following question: What nation has a total less than 11, more than 1 silver and less than 1 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)
SELECT nation FROM table_name_58 WHERE total < 11 AND silver < 1 AND bronze < 1
Write a SQL query that answers the following question: What is the most silver won by Norway?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (silver INTEGER, nation VARCHAR)
SELECT MAX(silver) FROM table_name_76 WHERE nation = "norway"
Write a SQL query that answers the following question: What district has a constituency of 60?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR)
SELECT district FROM table_name_27 WHERE constituency_number = "60"
Write a SQL query that answers the following question: What is district has a name of Rajnagar?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (district VARCHAR, name VARCHAR)
SELECT district FROM table_name_88 WHERE name = "rajnagar"
Write a SQL query that answers the following question: What was the score for the away team of Brentford?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_25 WHERE away_team = "brentford"
Write a SQL query that answers the following question: What was the score of the tied game or the away team of Crewe Alexandra?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_13 WHERE away_team = "crewe alexandra"
Write a SQL query that answers the following question: What was the date of the game for the Wrexham away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_17 WHERE away_team = "wrexham"
Write a SQL query that answers the following question: What was the date of the game for the HartlePool United team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_27 WHERE home_team = "hartlepool united"
Write a SQL query that answers the following question: What is the number of tickets sold and available for the concert at Long Beach Arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (tickets_sold___available VARCHAR, venue VARCHAR)
SELECT tickets_sold___available FROM table_name_18 WHERE venue = "long beach arena"
Write a SQL query that answers the following question: Which city has a venue of the Arco Arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (city VARCHAR, venue VARCHAR)
SELECT city FROM table_name_42 WHERE venue = "arco arena"
Write a SQL query that answers the following question: What is the lowest round that has kazushi sakuraba as the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (round INTEGER, opponent VARCHAR)
SELECT MIN(round) FROM table_name_92 WHERE opponent = "kazushi sakuraba"
Write a SQL query that answers the following question: Japan (JPN) with a total of less than 5, has what average gold medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT AVG(gold) FROM table_name_51 WHERE nation = "japan (jpn)" AND total < 5
Write a SQL query that answers the following question: What is the average bronze medal when gold is greater than 0, and there is less than 0 silver medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
SELECT AVG(bronze) FROM table_name_86 WHERE gold > 0 AND silver < 0
Write a SQL query that answers the following question: What is the sum of bronze medals when the rank is greater than 2, and less than 2 total medals with silver medals being more than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (bronze VARCHAR, silver VARCHAR, rank VARCHAR, total VARCHAR)
SELECT COUNT(bronze) FROM table_name_2 WHERE rank > 2 AND total < 2 AND silver > 0
Write a SQL query that answers the following question: With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_23 WHERE rank > 4 AND silver > 0 AND bronze < 1
Write a SQL query that answers the following question: What is the fewest gold medals when the bronze medals is greater than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (gold INTEGER, bronze INTEGER)
SELECT MIN(gold) FROM table_name_49 WHERE bronze > 5
Write a SQL query that answers the following question: What is the player when the team is oakland raiders?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR)
SELECT player FROM table_name_89 WHERE team = "oakland raiders"
Write a SQL query that answers the following question: What is the team when the college is virginia tech?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (team VARCHAR, college VARCHAR)
SELECT team FROM table_name_30 WHERE college = "virginia tech"
Write a SQL query that answers the following question: What college has a team of new york jets?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (college VARCHAR, team VARCHAR)
SELECT college FROM table_name_74 WHERE team = "new york jets"
Write a SQL query that answers the following question: What team has a pick larger than 30, when the college is saginaw valley state?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (team VARCHAR, pick VARCHAR, college VARCHAR)
SELECT team FROM table_name_74 WHERE pick > 30 AND college = "saginaw valley state"
Write a SQL query that answers the following question: What is the highest pick when the college is saginaw valley state?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (pick INTEGER, college VARCHAR)
SELECT MAX(pick) FROM table_name_61 WHERE college = "saginaw valley state"
Write a SQL query that answers the following question: what is the record when the opponent is akiko inoue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_37 WHERE opponent = "akiko inoue"
Write a SQL query that answers the following question: what is the even when the location is tokyo, japan and the record is 6-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (event VARCHAR, location VARCHAR, record VARCHAR)
SELECT event FROM table_name_7 WHERE location = "tokyo, japan" AND record = "6-1"
Write a SQL query that answers the following question: Which range includes Mount Fukushima, and is ranked 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (range VARCHAR, name VARCHAR, rank VARCHAR)
SELECT range FROM table_name_7 WHERE name = "mount fukushima" AND rank = 38
Write a SQL query that answers the following question: What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (altitude__meters_ INTEGER, range VARCHAR, name VARCHAR)
SELECT SUM(altitude__meters_) FROM table_name_93 WHERE range = "belgica mountains" AND name = "mount launoit"
Write a SQL query that answers the following question: What is the Altitude (meters) associated with a rank smaller than 10, and the range Mühlig-Hofmann Mountains?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR)
SELECT COUNT(altitude__meters_) FROM table_name_72 WHERE range = "mühlig-hofmann mountains" AND rank < 10
Write a SQL query that answers the following question: What name is associated with a rank greater than 69, an altitude (meters) smaller than 2154, and a range of Sivorgfjella?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (name VARCHAR, altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR)
SELECT name FROM table_name_79 WHERE range = "sivorgfjella" AND rank > 69 AND altitude__meters_ < 2154
Write a SQL query that answers the following question: What name is associated with a rank of less than 24, and an altitude (meters) of 3085?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (name VARCHAR, rank VARCHAR, altitude__meters_ VARCHAR)
SELECT name FROM table_name_41 WHERE rank < 24 AND altitude__meters_ = 3085
Write a SQL query that answers the following question: What is the primary conference with a IHSAA Football Class of A, at South Decatur school?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (primary_conference VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)
SELECT primary_conference FROM table_name_56 WHERE ihsaa_football_class = "a" AND school = "south decatur"
Write a SQL query that answers the following question: What is the Location with a county of 30 Hancock?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (location VARCHAR, county VARCHAR)
SELECT location FROM table_name_28 WHERE county = "30 hancock"
Write a SQL query that answers the following question: What county has an IHSAA Football Class of A, and a Mascot of royals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR)
SELECT county FROM table_name_36 WHERE ihsaa_football_class = "a" AND mascot = "royals"
Write a SQL query that answers the following question: What school has a county of 69 ripley?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (school VARCHAR, county VARCHAR)
SELECT school FROM table_name_74 WHERE county = "69 ripley"
Write a SQL query that answers the following question: What is the enrollment for the school with the mascot of the Fighting '59ers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (enrollment VARCHAR, mascot VARCHAR)
SELECT enrollment FROM table_name_9 WHERE mascot = "fighting '59ers"
Write a SQL query that answers the following question: What nation has a total less than 2, silver of 1 and bronze less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_32 WHERE total < 2 AND bronze < 1 AND silver = 1
Write a SQL query that answers the following question: What's the total with silver being less than 0, less than 1 gold, and 3 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_25 WHERE bronze = 3 AND gold < 1 AND silver < 0
Write a SQL query that answers the following question: What's Australia's time in the heat more than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (time VARCHAR, heat VARCHAR, nationality VARCHAR)
SELECT time FROM table_name_43 WHERE heat > 4 AND nationality = "australia"
Write a SQL query that answers the following question: What's Sara Isakovič's lane number that had a heat of 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (lane INTEGER, heat VARCHAR, name VARCHAR)
SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = "sara isakovič"
Write a SQL query that answers the following question: What's the heat that was timed 2:08.54?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (heat VARCHAR, time VARCHAR)
SELECT COUNT(heat) FROM table_name_64 WHERE time = "2:08.54"
Write a SQL query that answers the following question: Who is the Director of Fish Tales?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_94 WHERE title = "fish tales"
Write a SQL query that answers the following question: What was released on 1936-08-29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (title VARCHAR, release_date VARCHAR)
SELECT title FROM table_name_40 WHERE release_date = "1936-08-29"
Write a SQL query that answers the following question: What is the release date of Milk and Money?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_50 WHERE title = "milk and money"
Write a SQL query that answers the following question: What is the release date of I Wanna Play House?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_95 WHERE title = "i wanna play house"
Write a SQL query that answers the following question: Who is the director of Little Beau Porky?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_31 WHERE title = "little beau porky"
Write a SQL query that answers the following question: What is the release date of The Blow Out?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_59 WHERE title = "the blow out"
Write a SQL query that answers the following question: Who was the author for company Buzz Productions Theater?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (author VARCHAR, company VARCHAR)
SELECT author FROM table_name_18 WHERE company = "buzz productions theater"
Write a SQL query that answers the following question: What country had the play Cyclops?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (country VARCHAR, play VARCHAR)
SELECT country FROM table_name_15 WHERE play = "cyclops"
Write a SQL query that answers the following question: What country had the play Medea?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (country VARCHAR, play VARCHAR)
SELECT country FROM table_name_5 WHERE play = "medea"
Write a SQL query that answers the following question: What play is from the country Belgium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (play VARCHAR, country VARCHAR)
SELECT play FROM table_name_18 WHERE country = "belgium"