instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
---|---|---|
Write a SQL query that answers the following question: What is the college that Jeffrey Simmer plays for?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15817998_5 (college VARCHAR, player VARCHAR)
|
SELECT college FROM table_15817998_5 WHERE player = "Jeffrey Simmer"
|
Write a SQL query that answers the following question: Name the least matches for year 2008
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15829930_5 (matches INTEGER, year VARCHAR)
|
SELECT MIN(matches) FROM table_15829930_5 WHERE year = 2008
|
Write a SQL query that answers the following question: Name the maximum wins for 68.75%
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15829930_5 (wins INTEGER, success_rate VARCHAR)
|
SELECT MAX(wins) FROM table_15829930_5 WHERE success_rate = "68.75%"
|
Write a SQL query that answers the following question: Name the summary for the success rate for 68.75%
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15829930_5 (summary VARCHAR, success_rate VARCHAR)
|
SELECT summary FROM table_15829930_5 WHERE success_rate = "68.75%"
|
Write a SQL query that answers the following question: Name the least tied
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15829930_5 (tied INTEGER)
|
SELECT MIN(tied) FROM table_15829930_5
|
Write a SQL query that answers the following question: Name the least wins of 56.25%
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15829930_5 (wins INTEGER, success_rate VARCHAR)
|
SELECT MIN(wins) FROM table_15829930_5 WHERE success_rate = "56.25%"
|
Write a SQL query that answers the following question: How many locomotives have a name of City of Birmingham
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15827397_1 (no VARCHAR, name VARCHAR)
|
SELECT COUNT(no) FROM table_15827397_1 WHERE name = "City of Birmingham"
|
Write a SQL query that answers the following question: How many locomotives have a livery that is highland railway green
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15827397_1 (name VARCHAR, livery VARCHAR)
|
SELECT COUNT(name) FROM table_15827397_1 WHERE livery = "Highland Railway green"
|
Write a SQL query that answers the following question: Which locomotive type has a status in static display
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15827397_1 (locomotive_type VARCHAR, status VARCHAR)
|
SELECT locomotive_type FROM table_15827397_1 WHERE status = "Static display"
|
Write a SQL query that answers the following question: What is the maximum number of points against when the attendance was 47678?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15847691_2 (points_against INTEGER, attendance VARCHAR)
|
SELECT MAX(points_against) FROM table_15847691_2 WHERE attendance = 47678
|
Write a SQL query that answers the following question: What was the total number of first down on October 23?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15847691_2 (first_downs VARCHAR, date VARCHAR)
|
SELECT COUNT(first_downs) FROM table_15847691_2 WHERE date = "October 23"
|
Write a SQL query that answers the following question: Name the most series number for giula sandler
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15838081_3 (series__number INTEGER, writer_s_ VARCHAR)
|
SELECT MAX(series__number) FROM table_15838081_3 WHERE writer_s_ = "Giula Sandler"
|
Write a SQL query that answers the following question: Name the number of season number for jeff truman
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15838081_3 (season__number VARCHAR, writer_s_ VARCHAR)
|
SELECT COUNT(season__number) FROM table_15838081_3 WHERE writer_s_ = "Jeff Truman"
|
Write a SQL query that answers the following question: Name the minimum enrollment for montana tech of the university of montana
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15851155_1 (enrollment INTEGER, school VARCHAR)
|
SELECT MIN(enrollment) FROM table_15851155_1 WHERE school = "Montana Tech of the University of Montana"
|
Write a SQL query that answers the following question: Name the location when control is private and founded is 1870
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15851155_1 (location VARCHAR, control VARCHAR, founded VARCHAR)
|
SELECT location FROM table_15851155_1 WHERE control = "Private" AND founded = 1870
|
Write a SQL query that answers the following question: Who directed the TV broadcast s03e19?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15861776_1 (directed_by VARCHAR, tv_broadcast VARCHAR)
|
SELECT directed_by FROM table_15861776_1 WHERE tv_broadcast = "S03E19"
|
Write a SQL query that answers the following question: What episode in the series is TV broadcast s03e20?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15861776_1 (no_in_series VARCHAR, tv_broadcast VARCHAR)
|
SELECT no_in_series FROM table_15861776_1 WHERE tv_broadcast = "S03E20"
|
Write a SQL query that answers the following question: WHAT WAS THE SCORE FOR GAME 31?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15869204_6 (score VARCHAR, game VARCHAR)
|
SELECT score FROM table_15869204_6 WHERE game = 31
|
Write a SQL query that answers the following question: WHO DID THE RAPTORS PLAY ON JANUARY 9?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15869204_6 (team VARCHAR, date VARCHAR)
|
SELECT team FROM table_15869204_6 WHERE date = "January 9"
|
Write a SQL query that answers the following question: Name thenames for 2002-04-01
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1585609_2 (name VARCHAR, date_of_designation VARCHAR)
|
SELECT name FROM table_1585609_2 WHERE date_of_designation = "2002-04-01"
|
Write a SQL query that answers the following question: Name all the date of designations for kurume
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1585609_2 (date_of_designation VARCHAR, name VARCHAR)
|
SELECT date_of_designation FROM table_1585609_2 WHERE name = "Kurume"
|
Write a SQL query that answers the following question: Name the total number of japanese for amagasaki
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR)
|
SELECT COUNT(japanese) FROM table_1585609_2 WHERE name = "Amagasaki"
|
Write a SQL query that answers the following question: Name the region for iwate
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1585609_2 (region VARCHAR, prefecture VARCHAR)
|
SELECT region FROM table_1585609_2 WHERE prefecture = "Iwate"
|
Write a SQL query that answers the following question: Who scored the most rebounds in the game against Chicago?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15869204_9 (high_rebounds VARCHAR, team VARCHAR)
|
SELECT high_rebounds FROM table_15869204_9 WHERE team = "Chicago"
|
Write a SQL query that answers the following question: What were the dates of the games where Jalen Rose (32) had the highest points?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15872814_5 (date VARCHAR, high_points VARCHAR)
|
SELECT date FROM table_15872814_5 WHERE high_points = "Jalen Rose (32)"
|
Write a SQL query that answers the following question: What is the location and total attendance for games played against New Orleans?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15872814_5 (location_attendance VARCHAR, team VARCHAR)
|
SELECT location_attendance FROM table_15872814_5 WHERE team = "New Orleans"
|
Write a SQL query that answers the following question: How many teams are listed for February 18?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15869204_7 (team VARCHAR, date VARCHAR)
|
SELECT COUNT(team) FROM table_15869204_7 WHERE date = "February 18"
|
Write a SQL query that answers the following question: What were the high rebounds on February 24?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15869204_7 (high_rebounds VARCHAR, date VARCHAR)
|
SELECT high_rebounds FROM table_15869204_7 WHERE date = "February 24"
|
Write a SQL query that answers the following question: What was the score in game 51?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15869204_7 (score VARCHAR, game VARCHAR)
|
SELECT score FROM table_15869204_7 WHERE game = 51
|
Write a SQL query that answers the following question: What was the score when they played against San Antonio?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15869204_7 (score VARCHAR, team VARCHAR)
|
SELECT score FROM table_15869204_7 WHERE team = "San Antonio"
|
Write a SQL query that answers the following question: Who was the high point scorer in game number 68?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15869204_8 (high_points VARCHAR, game VARCHAR)
|
SELECT high_points FROM table_15869204_8 WHERE game = 68
|
Write a SQL query that answers the following question: How many players had the most assists against New Jersey?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15873014_3 (high_assists VARCHAR, team VARCHAR)
|
SELECT COUNT(high_assists) FROM table_15873014_3 WHERE team = "New Jersey"
|
Write a SQL query that answers the following question: How many games were played in the season?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15873014_3 (game INTEGER)
|
SELECT MAX(game) FROM table_15873014_3
|
Write a SQL query that answers the following question: What team had high assists Rafer Alston (5)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15872814_7 (team VARCHAR, high_assists VARCHAR)
|
SELECT team FROM table_15872814_7 WHERE high_assists = "Rafer Alston (5)"
|
Write a SQL query that answers the following question: Who has the most assists on January 3?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15873014_5 (high_assists VARCHAR, date VARCHAR)
|
SELECT high_assists FROM table_15873014_5 WHERE date = "January 3"
|
Write a SQL query that answers the following question: Who is the rector of the residence hall who's mascot is the phoxes?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15873547_1 (rector VARCHAR, mascot VARCHAR)
|
SELECT rector FROM table_15873547_1 WHERE mascot = "Phoxes"
|
Write a SQL query that answers the following question: What is the mascot with the colors green and navy?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15873547_1 (mascot VARCHAR, colors VARCHAR)
|
SELECT mascot FROM table_15873547_1 WHERE colors = "Green and Navy"
|
Write a SQL query that answers the following question: What residence hall has the vermin mascot?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15873547_1 (residence_hall VARCHAR, mascot VARCHAR)
|
SELECT residence_hall FROM table_15873547_1 WHERE mascot = "Vermin"
|
Write a SQL query that answers the following question: What are the colors of Howard Hall?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15873547_1 (colors VARCHAR, residence_hall VARCHAR)
|
SELECT colors FROM table_15873547_1 WHERE residence_hall = "Howard Hall"
|
Write a SQL query that answers the following question: What is the content of la7 television service?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR)
|
SELECT content FROM table_15887683_1 WHERE television_service = "LA7"
|
Write a SQL query that answers the following question: What is the content of the rai 1 television service?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR)
|
SELECT content FROM table_15887683_1 WHERE television_service = "Rai 1"
|
Write a SQL query that answers the following question: What are the package/options when the TV service is rai 3?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_1 (package_option VARCHAR, television_service VARCHAR)
|
SELECT package_option FROM table_15887683_1 WHERE television_service = "Rai 3"
|
Write a SQL query that answers the following question: What high definition television options are available for Italia 1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_1 (hdtv VARCHAR, television_service VARCHAR)
|
SELECT hdtv FROM table_15887683_1 WHERE television_service = "Italia 1"
|
Write a SQL query that answers the following question: How many values of HDTV apply when television service is elite shopping tv?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
|
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "Elite Shopping TV"
|
Write a SQL query that answers the following question: How many countries have content of arte?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_16 (country VARCHAR, content VARCHAR)
|
SELECT COUNT(country) FROM table_15887683_16 WHERE content = "arte"
|
Write a SQL query that answers the following question: How many values of HDTV correspond to television service of la sorgente sat 1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
|
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "La Sorgente Sat 1"
|
Write a SQL query that answers the following question: What values of HDTV correspond to n° of 862?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_16 (hdtv VARCHAR, n° VARCHAR)
|
SELECT hdtv FROM table_15887683_16 WHERE n° = 862
|
Write a SQL query that answers the following question: Name the content for sky famiglia for italian and dar 16:9 for mtv hits
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_10 (content VARCHAR, television_service VARCHAR, dar VARCHAR, package_option VARCHAR, language VARCHAR)
|
SELECT content FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND language = "Italian" AND dar = "16:9" AND television_service = "MTV Hits"
|
Write a SQL query that answers the following question: Name the least number for mydeejay
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_10 (n INTEGER, television_service VARCHAR)
|
SELECT MIN(n) AS ° FROM table_15887683_10 WHERE television_service = "myDeejay"
|
Write a SQL query that answers the following question: Name the number of package options for music box italia
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_10 (package_option VARCHAR, television_service VARCHAR)
|
SELECT COUNT(package_option) FROM table_15887683_10 WHERE television_service = "Music Box Italia"
|
Write a SQL query that answers the following question: Name the hdtv for sky famiglia and dar 16:9 for mydeejay
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_10 (hdtv VARCHAR, television_service VARCHAR, package_option VARCHAR, dar VARCHAR)
|
SELECT hdtv FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND dar = "16:9" AND television_service = "myDeejay"
|
Write a SQL query that answers the following question: Name the dar for mtv rocks
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_10 (dar VARCHAR, television_service VARCHAR)
|
SELECT dar FROM table_15887683_10 WHERE television_service = "MTV Rocks"
|
Write a SQL query that answers the following question: Name the ppv for sky famiglia and dar 16:9 for mtv dance
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_10 (ppv VARCHAR, television_service VARCHAR, package_option VARCHAR, dar VARCHAR)
|
SELECT ppv FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND dar = "16:9" AND television_service = "MTV Dance"
|
Write a SQL query that answers the following question: Name the dar for telenord
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_17 (dar VARCHAR, television_service VARCHAR)
|
SELECT dar FROM table_15887683_17 WHERE television_service = "Telenord"
|
Write a SQL query that answers the following question: Name the total number of hdtv for eurotic tv
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_17 (hdtv VARCHAR, television_service VARCHAR)
|
SELECT COUNT(hdtv) FROM table_15887683_17 WHERE television_service = "Eurotic TV"
|
Write a SQL query that answers the following question: Name the dar for 912
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_17 (dar VARCHAR, n° VARCHAR)
|
SELECT dar FROM table_15887683_17 WHERE n° = 912
|
Write a SQL query that answers the following question: How many times was something listed under content when the television was R-light?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_19 (content VARCHAR, television_service VARCHAR)
|
SELECT COUNT(content) FROM table_15887683_19 WHERE television_service = "R-LIGHT"
|
Write a SQL query that answers the following question: Was there PPV when the service was SCT?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_19 (ppv VARCHAR, television_service VARCHAR)
|
SELECT ppv FROM table_15887683_19 WHERE television_service = "SCT"
|
Write a SQL query that answers the following question: Was there HDTV when the service was Privè?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_19 (hdtv VARCHAR, television_service VARCHAR)
|
SELECT hdtv FROM table_15887683_19 WHERE television_service = "PRIVÈ"
|
Write a SQL query that answers the following question: In what laguage was Contotv 5?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_19 (language VARCHAR, television_service VARCHAR)
|
SELECT language FROM table_15887683_19 WHERE television_service = "ContoTV 5"
|
Write a SQL query that answers the following question: What's the content of the Tutti i Pacchetti + Sky HD package?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_3 (content VARCHAR, package_option VARCHAR)
|
SELECT content FROM table_15887683_3 WHERE package_option = "Tutti i pacchetti + Sky HD"
|
Write a SQL query that answers the following question: What package offers Fox Sports HD?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_3 (package_option VARCHAR, television_service VARCHAR)
|
SELECT package_option FROM table_15887683_3 WHERE television_service = "FOX Sports HD"
|
Write a SQL query that answers the following question: What packages offer the Cartello Promozionale Sky HD service?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_3 (package_option VARCHAR, television_service VARCHAR)
|
SELECT package_option FROM table_15887683_3 WHERE television_service = "Cartello promozionale Sky HD"
|
Write a SQL query that answers the following question: How many different contents are offered by the Qualsiasi Tranne Sky HD package?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_3 (content VARCHAR, package_option VARCHAR)
|
SELECT COUNT(content) FROM table_15887683_3 WHERE package_option = "qualsiasi tranne Sky HD"
|
Write a SQL query that answers the following question: What's the content offered by the package number 204?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_3 (content VARCHAR, n° VARCHAR)
|
SELECT content FROM table_15887683_3 WHERE n° = 204
|
Write a SQL query that answers the following question: How many PPV values are listed for when television service Sky Cinema 1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_5 (ppv VARCHAR, television_service VARCHAR)
|
SELECT COUNT(ppv) FROM table_15887683_5 WHERE television_service = "Sky Cinema 1"
|
Write a SQL query that answers the following question: What DAR is available for n. 336 in Italian?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_5 (dar VARCHAR, n° VARCHAR, language VARCHAR)
|
SELECT dar FROM table_15887683_5 WHERE n° = "336" AND language = "Italian"
|
Write a SQL query that answers the following question: What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_5 (n° VARCHAR, television_service VARCHAR, package_option VARCHAR, content VARCHAR)
|
SELECT n° FROM table_15887683_5 WHERE package_option = "Sky Cinema" AND content = "cinema" AND television_service = "Sky Cinema" + 24
|
Write a SQL query that answers the following question: What language is Sky Cinema Passion television service n. 308?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_5 (language VARCHAR, television_service VARCHAR, n° VARCHAR)
|
SELECT language FROM table_15887683_5 WHERE television_service = "Sky Cinema Passion" AND n° = "308"
|
Write a SQL query that answers the following question: What package offers cinema content and is n. 333?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_5 (package_option VARCHAR, content VARCHAR, n° VARCHAR)
|
SELECT package_option FROM table_15887683_5 WHERE content = "cinema" AND n° = "333"
|
Write a SQL query that answers the following question: Name the total number of dar for disney channel and number is 613
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_9 (dar VARCHAR, television_service VARCHAR, n° VARCHAR)
|
SELECT COUNT(dar) FROM table_15887683_9 WHERE television_service = "Disney Channel" AND n° = 613
|
Write a SQL query that answers the following question: Name the country when dar is 16:9 for italian english for disney xd +2
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15887683_9 (country VARCHAR, television_service VARCHAR, dar VARCHAR, language VARCHAR)
|
SELECT country FROM table_15887683_9 WHERE dar = "16:9" AND language = "Italian English" AND television_service = "Disney XD +2"
|
Write a SQL query that answers the following question: Who was the player with a bowling best of 2/43?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15893020_2 (player VARCHAR, best_bowling VARCHAR)
|
SELECT player FROM table_15893020_2 WHERE best_bowling = "2/43"
|
Write a SQL query that answers the following question: What is the highest number of maidens when the bowling best was 1/13?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15893020_2 (maidens INTEGER, best_bowling VARCHAR)
|
SELECT MAX(maidens) FROM table_15893020_2 WHERE best_bowling = "1/13"
|
Write a SQL query that answers the following question: How many overs did Oliver Hannon-Dalby have?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15893020_2 (overs VARCHAR, player VARCHAR)
|
SELECT overs FROM table_15893020_2 WHERE player = "Oliver Hannon-Dalby"
|
Write a SQL query that answers the following question: What is the highest number of 5w when there was a 21.33 average?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15893020_2 (average VARCHAR)
|
SELECT MAX(5 AS w) FROM table_15893020_2 WHERE average = "21.33"
|
Write a SQL query that answers the following question: What are the countries in which the agricultural use (m 3 /p/yr)(in %) is 2040(93%)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
|
SELECT country FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "2040(93%)"
|
Write a SQL query that answers the following question: How many countries had a per capita withdrawal (m 3 /p/yr) of 372?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)
|
SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372
|
Write a SQL query that answers the following question: How many countries had a total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 428(62%)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
|
SELECT COUNT(total_freshwater_withdrawal__km_3__yr_) FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "428(62%)"
|
Write a SQL query that answers the following question: In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
|
SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "1029(96%)"
|
Write a SQL query that answers the following question: What was the country in which the agricultural use (m 3 /p/yr)(in %) was 794(86%)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
|
SELECT country FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "794(86%)"
|
Write a SQL query that answers the following question: In how many countries was the total freshwater withdrawal (km 3 /yr) 169.39?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15909409_2 (country VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR)
|
SELECT COUNT(country) FROM table_15909409_2 WHERE total_freshwater_withdrawal__km_3__yr_ = "169.39"
|
Write a SQL query that answers the following question: Name the date of winning score being 67-67-63=197
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1590652_4 (date VARCHAR, winning_score VARCHAR)
|
SELECT date FROM table_1590652_4 WHERE winning_score = 67 - 67 - 63 = 197
|
Write a SQL query that answers the following question: Name the runners up for when tournament is wgc-accenture match play championship
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1590652_4 (runner_s__up VARCHAR, tournament VARCHAR)
|
SELECT runner_s__up FROM table_1590652_4 WHERE tournament = "WGC-Accenture Match Play Championship"
|
Write a SQL query that answers the following question: Name the total number when date is 30 may 2010
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1590652_4 (no VARCHAR, date VARCHAR)
|
SELECT COUNT(no) FROM table_1590652_4 WHERE date = "30 May 2010"
|
Write a SQL query that answers the following question: Name th margin of victory when date is 10 jul 2011
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1590652_4 (margin_of_victory VARCHAR, date VARCHAR)
|
SELECT margin_of_victory FROM table_1590652_4 WHERE date = "10 Jul 2011"
|
Write a SQL query that answers the following question: Name the most number when tournament is madrid masters
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1590652_4 (no INTEGER, tournament VARCHAR)
|
SELECT MAX(no) FROM table_1590652_4 WHERE tournament = "Madrid Masters"
|
Write a SQL query that answers the following question: Name the most episode numbers of 6 january 2006
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1590967_2 (episode_number INTEGER, air_date VARCHAR)
|
SELECT MAX(episode_number) FROM table_1590967_2 WHERE air_date = "6 January 2006"
|
Write a SQL query that answers the following question: How many validations are listed for the iin range 36?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15905399_1 (validation VARCHAR, iin_ranges VARCHAR)
|
SELECT COUNT(validation) FROM table_15905399_1 WHERE iin_ranges = "36"
|
Write a SQL query that answers the following question: What is the validation for iin ranges 5610, 560221-560225?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15905399_1 (validation VARCHAR, iin_ranges VARCHAR)
|
SELECT validation FROM table_15905399_1 WHERE iin_ranges = "5610, 560221-560225"
|
Write a SQL query that answers the following question: What is the length for iin range 51-55?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15905399_1 (length VARCHAR, iin_ranges VARCHAR)
|
SELECT length FROM table_15905399_1 WHERE iin_ranges = "51-55"
|
Write a SQL query that answers the following question: Is the iin range 4 active?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15905399_1 (active VARCHAR, iin_ranges VARCHAR)
|
SELECT active FROM table_15905399_1 WHERE iin_ranges = "4"
|
Write a SQL query that answers the following question: What episode did Pamela Anderson guest host.
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1590967_7 (episode_number VARCHAR, guest_host VARCHAR)
|
SELECT COUNT(episode_number) FROM table_1590967_7 WHERE guest_host = "Pamela Anderson"
|
Write a SQL query that answers the following question: What song was performed when Barbara Windsor was the guest host?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1590967_7 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR)
|
SELECT musical_guest__song_performed_ FROM table_1590967_7 WHERE guest_host = "Barbara Windsor"
|
Write a SQL query that answers the following question: What is the entry for weight in kilograms of jockey D. Nikolic?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15926991_1 (weight__kg_ VARCHAR, jockey VARCHAR)
|
SELECT weight__kg_ FROM table_15926991_1 WHERE jockey = "D. Nikolic"
|
Write a SQL query that answers the following question: Which group had the time 1:11.65?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15926991_1 (group VARCHAR, time VARCHAR)
|
SELECT group FROM table_15926991_1 WHERE time = "1:11.65"
|
Write a SQL query that answers the following question: Which horse won with a time of 1:35.98 and what was their position?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15926991_1 (winner_2nd VARCHAR, time VARCHAR)
|
SELECT winner_2nd FROM table_15926991_1 WHERE time = "1:35.98"
|
Write a SQL query that answers the following question: What engine type is used in a Space Shuttle Vacuum scenario?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15944_5 (engine_type VARCHAR, scenario VARCHAR)
|
SELECT engine_type FROM table_15944_5 WHERE scenario = "Space shuttle vacuum"
|
Write a SQL query that answers the following question: What is the effective exhaust velocity in a Space Shuttle Vacuum?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15944_5 (effective_exhaust_velocity__m_s_ VARCHAR, scenario VARCHAR)
|
SELECT COUNT(effective_exhaust_velocity__m_s_) FROM table_15944_5 WHERE scenario = "Space shuttle vacuum"
|
Write a SQL query that answers the following question: What is the maximum specific impulse with a 4423 m/s effective exhaust velocity?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_15944_5 (specific_impulse__s_ INTEGER, effective_exhaust_velocity__m_s_ VARCHAR)
|
SELECT MAX(specific_impulse__s_) FROM table_15944_5 WHERE effective_exhaust_velocity__m_s_ = 4423
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.