instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
---|---|---|
Write a SQL query that answers the following question: In what TV season did the 3rd season air?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1348989_2 (TV VARCHAR, season VARCHAR)
|
SELECT TV AS season FROM table_1348989_2 WHERE season = "3rd"
|
Write a SQL query that answers the following question: How many rankings did the 5th season have?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1348989_2 (ranking VARCHAR, season VARCHAR)
|
SELECT COUNT(ranking) FROM table_1348989_2 WHERE season = "5th"
|
Write a SQL query that answers the following question: How many times did the 2nd season have a finale?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1348989_2 (season VARCHAR)
|
SELECT COUNT(season) AS Finale FROM table_1348989_2 WHERE season = "2nd"
|
Write a SQL query that answers the following question: how many county with per capita income being $20,101
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1350350_2 (county VARCHAR, per_capita_income VARCHAR)
|
SELECT COUNT(county) FROM table_1350350_2 WHERE per_capita_income = "$20,101"
|
Write a SQL query that answers the following question: who is the the place with per capita income being $14,793
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1350350_2 (place VARCHAR, per_capita_income VARCHAR)
|
SELECT place FROM table_1350350_2 WHERE per_capita_income = "$14,793"
|
Write a SQL query that answers the following question: what's the number of households with per capita income being $16,820
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1350350_2 (number_of_households VARCHAR, per_capita_income VARCHAR)
|
SELECT number_of_households FROM table_1350350_2 WHERE per_capita_income = "$16,820"
|
Write a SQL query that answers the following question: what is the maximum rank with per capita income being $17,013
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1350350_2 (rank INTEGER, per_capita_income VARCHAR)
|
SELECT MAX(rank) FROM table_1350350_2 WHERE per_capita_income = "$17,013"
|
Write a SQL query that answers the following question: How old is Darryll Holland's horse
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13498403_1 (barrier VARCHAR, jockey VARCHAR)
|
SELECT barrier FROM table_13498403_1 WHERE jockey = "Darryll Holland"
|
Write a SQL query that answers the following question: how many people work with N Rawiller
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13498403_1 (trainer VARCHAR, jockey VARCHAR)
|
SELECT COUNT(trainer) FROM table_13498403_1 WHERE jockey = "N Rawiller"
|
Write a SQL query that answers the following question: How old is Daniel Morton
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13498403_1 (barrier INTEGER, trainer VARCHAR)
|
SELECT MAX(barrier) FROM table_13498403_1 WHERE trainer = "Daniel Morton"
|
Write a SQL query that answers the following question: What are radio electricals when secretariat is wtr i?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1348246_3 (Radio VARCHAR, secretariat VARCHAR)
|
SELECT Radio AS electrical FROM table_1348246_3 WHERE secretariat = "WTR I"
|
Write a SQL query that answers the following question: What are electricals where secretariat is po(w)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1348246_3 (electrical VARCHAR, secretariat VARCHAR)
|
SELECT electrical FROM table_1348246_3 WHERE secretariat = "PO(W)"
|
Write a SQL query that answers the following question: What mechanical has lpm regulation?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1348246_3 (mechanical VARCHAR, regulating VARCHAR)
|
SELECT mechanical FROM table_1348246_3 WHERE regulating = "LPM"
|
Write a SQL query that answers the following question: What number episode in the series is the episode "things that fly"?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13505192_3 (series_number INTEGER, episode_title VARCHAR)
|
SELECT MAX(series_number) FROM table_13505192_3 WHERE episode_title = "Things That Fly"
|
Write a SQL query that answers the following question: What is the production code for season episode 8?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13505192_3 (production_code INTEGER, season_number VARCHAR)
|
SELECT MIN(production_code) FROM table_13505192_3 WHERE season_number = 8
|
Write a SQL query that answers the following question: How many episodes have a series number of 35?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13505192_3 (episode_title VARCHAR, series_number VARCHAR)
|
SELECT COUNT(episode_title) FROM table_13505192_3 WHERE series_number = 35
|
Write a SQL query that answers the following question: What is the series number for season episode 24?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13505192_3 (series_number INTEGER, season_number VARCHAR)
|
SELECT MIN(series_number) FROM table_13505192_3 WHERE season_number = 24
|
Write a SQL query that answers the following question: how many have times of 6
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, rnd VARCHAR)
|
SELECT COUNT(fastest_lap) FROM table_13512105_3 WHERE rnd = 6
|
Write a SQL query that answers the following question: which brand have drivers who won with the names of ryan briscoe and tomas scheckter
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
|
SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter"
|
Write a SQL query that answers the following question: who else along with scott dixon and graham rahal drove with the most speed
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR)
|
SELECT fastest_lap FROM table_13512105_3 WHERE most_laps_led = "Scott Dixon" AND pole_position = "Graham Rahal"
|
Write a SQL query that answers the following question: tell the number of times where kansas was the location
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR)
|
SELECT COUNT(rnd) FROM table_13512105_3 WHERE race = "Kansas"
|
Write a SQL query that answers the following question: What TV channel had a license from Boston?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR)
|
SELECT channel_tv___dt__ FROM table_1353096_2 WHERE city_of_license_market = "Boston"
|
Write a SQL query that answers the following question: Which station has a license in Fort Collins, Colorado?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_2 (station VARCHAR, city_of_license_market VARCHAR)
|
SELECT station FROM table_1353096_2 WHERE city_of_license_market = "Fort Collins, Colorado"
|
Write a SQL query that answers the following question: What is the current status of the KDAF ** Station?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)
|
SELECT current_status FROM table_1353096_2 WHERE station = "KDAF **"
|
Write a SQL query that answers the following question: How many entries are listed under "current status" for the WJW-TV ++ Station?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)
|
SELECT COUNT(current_status) FROM table_1353096_2 WHERE station = "WJW-TV ++"
|
Write a SQL query that answers the following question: How many stations have fox as the primary affiliation and have been owned since 1986?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_1 (station VARCHAR, primary_affiliation VARCHAR, owned_since VARCHAR)
|
SELECT COUNT(station) FROM table_1353096_1 WHERE primary_affiliation = "Fox" AND owned_since = "1986"
|
Write a SQL query that answers the following question: What channel has station kdfw ++?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, station VARCHAR)
|
SELECT channel_tv___dt__ FROM table_1353096_1 WHERE station = "KDFW ++"
|
Write a SQL query that answers the following question: What city has channel tv (dt) 25 (31)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)
|
SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)"
|
Write a SQL query that answers the following question: How many channel tv (dt)s are in austin, texas?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)
|
SELECT COUNT(channel_tv___dt__) FROM table_1353096_1 WHERE city_of_license__market = "Austin, Texas"
|
Write a SQL query that answers the following question: When was 10 (10) bought?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1353096_1 (owned_since VARCHAR, channel_tv___dt__ VARCHAR)
|
SELECT owned_since FROM table_1353096_1 WHERE channel_tv___dt__ = "10 (10)"
|
Write a SQL query that answers the following question: Who were the umpires when Paul Medhurst (C) won the Simpson Medal?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)
|
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)"
|
Write a SQL query that answers the following question: Who were the umpires when Paul Vines (S) won the Simpson Medal?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)
|
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Vines (S)"
|
Write a SQL query that answers the following question: Which venue did Luke Blackwell serve as captain?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13514348_7 (venue VARCHAR, captain VARCHAR)
|
SELECT venue FROM table_13514348_7 WHERE captain = "Luke Blackwell"
|
Write a SQL query that answers the following question: what's the minimum 180s value
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13535824_2 (Id VARCHAR)
|
SELECT MIN(180 AS s) FROM table_13535824_2
|
Write a SQL query that answers the following question: What channel number is Gladiators on
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13549921_18 (new_channel_s_ VARCHAR, programme VARCHAR)
|
SELECT new_channel_s_ FROM table_13549921_18 WHERE programme = "Gladiators"
|
Write a SQL query that answers the following question: What show is coming back on in July 2008
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13549921_18 (programme VARCHAR, date_s__of_return VARCHAR)
|
SELECT programme FROM table_13549921_18 WHERE date_s__of_return = "July 2008"
|
Write a SQL query that answers the following question: Who are the mens doubles and womens singles is wang shixian?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13553701_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
|
SELECT mens_doubles FROM table_13553701_1 WHERE womens_singles = "Wang Shixian"
|
Write a SQL query that answers the following question: Who is the mens singles and womens singlses is wang shixian?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR)
|
SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Wang Shixian"
|
Write a SQL query that answers the following question: Who are the mens doubles and and mens singles is lee hyun-il?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13553701_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
|
SELECT mens_doubles FROM table_13553701_1 WHERE mens_singles = "Lee Hyun-il"
|
Write a SQL query that answers the following question: Who are the mens singles and womens singles with sun yu?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR)
|
SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Sun Yu"
|
Write a SQL query that answers the following question: what is the highest number where people got done at 31.1
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1354805_6 (competition_finish INTEGER, average VARCHAR)
|
SELECT MAX(competition_finish) FROM table_1354805_6 WHERE average = "31.1"
|
Write a SQL query that answers the following question: who danced 11 and finished at more than a 2.0
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1354805_6 (couple VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR)
|
SELECT couple FROM table_1354805_6 WHERE number_of_dances = 11 AND competition_finish > 2.0
|
Write a SQL query that answers the following question: tell the competitions where the mean is 1
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1354805_6 (average VARCHAR, number_of_dances VARCHAR)
|
SELECT average FROM table_1354805_6 WHERE number_of_dances = 1
|
Write a SQL query that answers the following question: tell the mean of the times competition for the 7 jigs
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1354805_6 (rank_by_average VARCHAR, number_of_dances VARCHAR)
|
SELECT rank_by_average FROM table_1354805_6 WHERE number_of_dances = 7
|
Write a SQL query that answers the following question: how many turns were completed to make a mean of 34.0
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1354805_6 (number_of_dances VARCHAR, average VARCHAR)
|
SELECT COUNT(number_of_dances) FROM table_1354805_6 WHERE average = "34.0"
|
Write a SQL query that answers the following question: What is the gender of the junior high school is 24mm?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13555999_1 (gender VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)
|
SELECT gender FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "24mm"
|
Write a SQL query that answers the following question: What amount of the university students and adults ehre the the senior high school is 26mm?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13555999_1 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)
|
SELECT university_students_and_adults__18yrs + _ FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm"
|
Write a SQL query that answers the following question: What amount of senior high school where junior high school is 114cm?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13555999_1 (senior_high_school__15_18_yrs_ VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)
|
SELECT senior_high_school__15_18_yrs_ FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "114cm"
|
Write a SQL query that answers the following question: What is the specification where senior high school is 25mm?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13555999_1 (specification VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)
|
SELECT specification FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "25mm"
|
Write a SQL query that answers the following question: What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13555999_1 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR, specification VARCHAR)
|
SELECT junior_high_school__12_15_yrs_ FROM table_13555999_1 WHERE gender = "Male" AND specification = "Minimum diameter of sakigawa"
|
Write a SQL query that answers the following question: What is the gender of senior high school 26mm?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13555999_1 (gender VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)
|
SELECT gender FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm"
|
Write a SQL query that answers the following question: What was the score of the game when the team was 1-2?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_3 (score VARCHAR, record VARCHAR)
|
SELECT score FROM table_13557843_3 WHERE record = "1-2"
|
Write a SQL query that answers the following question: Who had the high assists against charlotte?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_3 (high_assists VARCHAR, team VARCHAR)
|
SELECT high_assists FROM table_13557843_3 WHERE team = "Charlotte"
|
Write a SQL query that answers the following question: How many leading scorers were there in the game against Utah?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_5 (high_points VARCHAR, team VARCHAR)
|
SELECT COUNT(high_points) FROM table_13557843_5 WHERE team = "Utah"
|
Write a SQL query that answers the following question: how many location attendance with team being charlotte
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_7 (location_attendance VARCHAR, team VARCHAR)
|
SELECT COUNT(location_attendance) FROM table_13557843_7 WHERE team = "Charlotte"
|
Write a SQL query that answers the following question: what's the game with date being march 7
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_7 (game VARCHAR, date VARCHAR)
|
SELECT game FROM table_13557843_7 WHERE date = "March 7"
|
Write a SQL query that answers the following question: what's the date with game being 72
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_7 (date VARCHAR, game VARCHAR)
|
SELECT date FROM table_13557843_7 WHERE game = 72
|
Write a SQL query that answers the following question: how many high assbeingts with score being l 90–98 (ot)
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_7 (high_assists VARCHAR, score VARCHAR)
|
SELECT COUNT(high_assists) FROM table_13557843_7 WHERE score = "L 90–98 (OT)"
|
Write a SQL query that answers the following question: who is the the high rebounds with team being vancouver
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_7 (high_rebounds VARCHAR, team VARCHAR)
|
SELECT high_rebounds FROM table_13557843_7 WHERE team = "Vancouver"
|
Write a SQL query that answers the following question: How many pairs of numbers are under record on April 12?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13557843_8 (record VARCHAR, date VARCHAR)
|
SELECT COUNT(record) FROM table_13557843_8 WHERE date = "April 12"
|
Write a SQL query that answers the following question: Name total number of won for tries for 92
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564702_3 (won VARCHAR, tries_for VARCHAR)
|
SELECT COUNT(won) FROM table_13564702_3 WHERE tries_for = "92"
|
Write a SQL query that answers the following question: Name the club when tries for is 83
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564702_3 (club VARCHAR, tries_for VARCHAR)
|
SELECT club FROM table_13564702_3 WHERE tries_for = "83"
|
Write a SQL query that answers the following question: Name the try bonus for kenfig hill rfc
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564702_3 (try_bonus VARCHAR, club VARCHAR)
|
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC"
|
Write a SQL query that answers the following question: Name the tries against for played 22 and points against of 183
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564702_3 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR)
|
SELECT tries_against FROM table_13564702_3 WHERE played = "22" AND points_against = "183"
|
Write a SQL query that answers the following question: Name the total number of points for when try bonus is 10
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR)
|
SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "10"
|
Write a SQL query that answers the following question: Name the number of won for maesteg harlequins rfc
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564702_3 (won VARCHAR, club VARCHAR)
|
SELECT COUNT(won) FROM table_13564702_3 WHERE club = "Maesteg Harlequins RFC"
|
Write a SQL query that answers the following question: What amount had all played that lost were 8?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_3 (played VARCHAR, lost VARCHAR)
|
SELECT played FROM table_13564637_3 WHERE lost = "8"
|
Write a SQL query that answers the following question: what is the name of the club where drawn is 1 and lost is 10?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_3 (club VARCHAR, drawn VARCHAR, lost VARCHAR)
|
SELECT club FROM table_13564637_3 WHERE drawn = "1" AND lost = "10"
|
Write a SQL query that answers the following question: what are the tries where the game was lost by 4?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_3 (tries_against VARCHAR, lost VARCHAR)
|
SELECT tries_against FROM table_13564637_3 WHERE lost = "4"
|
Write a SQL query that answers the following question: what amount of try bonus where the game was won by 11?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_3 (try_bonus VARCHAR, won VARCHAR)
|
SELECT COUNT(try_bonus) FROM table_13564637_3 WHERE won = "11"
|
Write a SQL query that answers the following question: what is the total amount of tries where the points were 325?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_3 (tries_against VARCHAR, points_for VARCHAR)
|
SELECT COUNT(tries_against) FROM table_13564637_3 WHERE points_for = "325"
|
Write a SQL query that answers the following question: What is the name of the column points against?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_4 (Id VARCHAR)
|
SELECT "points" AS _against FROM table_13564637_4 WHERE "points" = "points"
|
Write a SQL query that answers the following question: How many points for when the points was 53?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_4 (points_for VARCHAR, points VARCHAR)
|
SELECT points_for FROM table_13564637_4 WHERE points = "53"
|
Write a SQL query that answers the following question: What is the played total when the points against was 321?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_4 (played VARCHAR, points_against VARCHAR)
|
SELECT played FROM table_13564637_4 WHERE points_against = "321"
|
Write a SQL query that answers the following question: How many tries for when the points against was 547?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_4 (tries_for VARCHAR, points_against VARCHAR)
|
SELECT tries_for FROM table_13564637_4 WHERE points_against = "547"
|
Write a SQL query that answers the following question: How many total games drawn for club tylorstown rfc?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13564637_4 (drawn VARCHAR, club VARCHAR)
|
SELECT drawn FROM table_13564637_4 WHERE club = "Tylorstown RFC"
|
Write a SQL query that answers the following question: How many communities had a total renewable generation of 1375?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13566548_1 (autonomous_community VARCHAR, total_renewable_generation VARCHAR)
|
SELECT COUNT(autonomous_community) FROM table_13566548_1 WHERE total_renewable_generation = 1375
|
Write a SQL query that answers the following question: What is the community with a wind power of 1042?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13566548_1 (autonomous_community VARCHAR, wind_power VARCHAR)
|
SELECT autonomous_community FROM table_13566548_1 WHERE wind_power = 1042
|
Write a SQL query that answers the following question: How many races were for a distance of 2020 m?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1358608_4 (group VARCHAR, distance VARCHAR)
|
SELECT COUNT(group) FROM table_1358608_4 WHERE distance = "2020 m"
|
Write a SQL query that answers the following question: Who was the winner of the race at Belmont?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1358608_4 (winner_2nd VARCHAR, venue VARCHAR)
|
SELECT winner_2nd FROM table_1358608_4 WHERE venue = "Belmont"
|
Write a SQL query that answers the following question: On what date did Northerly place 6th?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1358608_4 (date VARCHAR, result VARCHAR)
|
SELECT date FROM table_1358608_4 WHERE result = "6th"
|
Write a SQL query that answers the following question: What was the weight in kg on the day of the race at Ranvet Stakes?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1358608_4 (weight__kg_ VARCHAR, race VARCHAR)
|
SELECT weight__kg_ FROM table_1358608_4 WHERE race = "Ranvet Stakes"
|
Write a SQL query that answers the following question: What was Northerly's result at the race on 19 Oct 2002?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1358608_4 (result VARCHAR, date VARCHAR)
|
SELECT result FROM table_1358608_4 WHERE date = "19 Oct 2002"
|
Write a SQL query that answers the following question: What was the distance of the race in which Northerly raced in group G3?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1358608_4 (distance VARCHAR, group VARCHAR)
|
SELECT distance FROM table_1358608_4 WHERE group = "G3"
|
Write a SQL query that answers the following question: what's the software executable space protection with dbeingtribution being gentoo
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1357052_6 (software_executable_space_protection VARCHAR, distribution VARCHAR)
|
SELECT software_executable_space_protection FROM table_1357052_6 WHERE distribution = "Gentoo"
|
Write a SQL query that answers the following question: what's the dbeingtribution with grsecurity being no
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR)
|
SELECT distribution FROM table_1357052_6 WHERE grsecurity = "No"
|
Write a SQL query that answers the following question: what's the grsecurity with dbeingtribution being debian / ubuntu
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1357052_6 (grsecurity VARCHAR, distribution VARCHAR)
|
SELECT grsecurity FROM table_1357052_6 WHERE distribution = "Debian / Ubuntu"
|
Write a SQL query that answers the following question: what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR, compile_time_buffer_checks VARCHAR)
|
SELECT distribution FROM table_1357052_6 WHERE grsecurity = "Optional" AND compile_time_buffer_checks = "Yes"
|
Write a SQL query that answers the following question: what's the dbeingtribution with rsbac being unknown
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1357052_6 (distribution VARCHAR, rsbac VARCHAR)
|
SELECT distribution FROM table_1357052_6 WHERE rsbac = "Unknown"
|
Write a SQL query that answers the following question: Who is on the 2002 commission from district 3?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_136027_2 (district VARCHAR)
|
SELECT 2002 AS _commission FROM table_136027_2 WHERE district = "district 3"
|
Write a SQL query that answers the following question: what's the others% with parbeingh being tangipahoa
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13608101_1 (others_percentage VARCHAR, parish VARCHAR)
|
SELECT others_percentage FROM table_13608101_1 WHERE parish = "Tangipahoa"
|
Write a SQL query that answers the following question: what is the maximum bush# with others% being 1.57%
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)
|
SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%"
|
Write a SQL query that answers the following question: how many bush% with total# being 191269
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13608101_1 (bush_percentage VARCHAR, total_number VARCHAR)
|
SELECT COUNT(bush_percentage) FROM table_13608101_1 WHERE total_number = 191269
|
Write a SQL query that answers the following question: What is the highest game number?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13619027_10 (game INTEGER)
|
SELECT MAX(game) FROM table_13619027_10
|
Write a SQL query that answers the following question: How many entries are there for weight when the winner is 1st - defier and venue is randwick?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1360997_3 (weight__kg_ VARCHAR, winner_2nd VARCHAR, venue VARCHAR)
|
SELECT COUNT(weight__kg_) FROM table_1360997_3 WHERE winner_2nd = "1st - Defier" AND venue = "Randwick"
|
Write a SQL query that answers the following question: Who was the jockey at Rosehill and the weight was 57.5 kg?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR)
|
SELECT jockey FROM table_1360997_3 WHERE venue = "Rosehill" AND weight__kg_ = "57.5"
|
Write a SQL query that answers the following question: When the time is 1:36.30 what shows as winner?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1360997_3 (winner_2nd VARCHAR, time VARCHAR)
|
SELECT winner_2nd FROM table_1360997_3 WHERE time = "1:36.30"
|
Write a SQL query that answers the following question: What was the depravitiy of earnings where international sales was 2470?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, exports__usd_mn__2011 VARCHAR)
|
SELECT income_poverty_f FROM table_13618358_1 WHERE exports__usd_mn__2011 = 2470
|
Write a SQL query that answers the following question: What was head count in 2010 where the farm production is 6.9?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13618358_1 (agri_culture_b VARCHAR)
|
SELECT MAX(2010 AS _population__000_) FROM table_13618358_1 WHERE agri_culture_b = "6.9"
|
Write a SQL query that answers the following question: How many districts had an depravity level of 27.7
|
The relevant table was constructed using the following SQL : CREATE TABLE table_13618358_1 (district VARCHAR, income_poverty_f VARCHAR)
|
SELECT COUNT(district) FROM table_13618358_1 WHERE income_poverty_f = "27.7"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.