output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT production_code FROM table_22948559_1 WHERE no_in_season = "21"
CREATE TABLE table_22948559_1 (production_code VARCHAR, no_in_season VARCHAR), Name the production code for number in season being 21
SELECT production_code FROM table_22948559_1 WHERE written_by = "Paul Lieberstein"
CREATE TABLE table_22948559_1 (production_code VARCHAR, written_by VARCHAR), Name the production code by paul lieberstein
SELECT MAX(blocks) FROM table_22993636_5 WHERE rebounds = 198
CREATE TABLE table_22993636_5 (blocks INTEGER, rebounds VARCHAR), How many blockings occured in the game with 198 rebounds?
SELECT minutes FROM table_22993636_5 WHERE player = "Jordan Coleman"
CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR), For how long did Jordan Coleman play?
SELECT COUNT(minutes) FROM table_22993636_5 WHERE player = "Chanel Chisholm"
CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR), How much time, in minutes, did Chanel Chisholm play?
SELECT MIN(three_pointers) FROM table_22993636_5 WHERE steals = 52
CREATE TABLE table_22993636_5 (three_pointers INTEGER, steals VARCHAR), What is the lowest number of 3 pointers that occured in games with 52 steals?
SELECT MIN(games_played) FROM table_22993636_5 WHERE steals = 50
CREATE TABLE table_22993636_5 (games_played INTEGER, steals VARCHAR), What is the lowest number of games played by the player with 50 steals?
SELECT COUNT(country) FROM table_2305948_1 WHERE name = "The Rock"
CREATE TABLE table_2305948_1 (country VARCHAR, name VARCHAR), What countries does the Rock come from?
SELECT COUNT(other_placings) FROM table_2305948_1 WHERE federation = "ROH, WWE"
CREATE TABLE table_2305948_1 (other_placings VARCHAR, federation VARCHAR), How many times has a wrestler whose federation was roh, wwe competed in this event?
SELECT _number FROM table_2305948_1 WHERE name = "Eddie Guerrero"
CREATE TABLE table_2305948_1 (_number VARCHAR, name VARCHAR), What are the rank/s of Eddie Guerrero?
SELECT COUNT(2) FROM table_2305948_1 WHERE country = "England"
CREATE TABLE table_2305948_1 (country VARCHAR), How many times has a wrestler from the country of England wrestled in this event?
SELECT written_by FROM table_23235679_1 WHERE no_in_series = 88
CREATE TABLE table_23235679_1 (written_by VARCHAR, no_in_series VARCHAR), Name who wrote number 88
SELECT written_by FROM table_23235679_1 WHERE production_code = "5AJN11"
CREATE TABLE table_23235679_1 (written_by VARCHAR, production_code VARCHAR), Name who wrote 5ajn11
SELECT written_by FROM table_23235679_1 WHERE directed_by = "Pam Cooke & Jansen Yee"
CREATE TABLE table_23235679_1 (written_by VARCHAR, directed_by VARCHAR), Name who wrote the episode directed by pam cooke & jansen yee
SELECT COUNT(year) FROM table_23235767_4 WHERE score_in_the_final = "6–3, 6–2" AND surface = "Hard"
CREATE TABLE table_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR), Name the number of year for 6–3, 6–2 hard surface
SELECT surface FROM table_23235767_4 WHERE championship = "Philadelphia"
CREATE TABLE table_23235767_4 (surface VARCHAR, championship VARCHAR), Name the surface for philadelphia
SELECT championship FROM table_23235767_4 WHERE surface = "Clay" AND opponent_in_the_final = "Corrado Barazzutti"
CREATE TABLE table_23235767_4 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR), Name the championship for clay and corrado barazzutti
SELECT year FROM table_23235767_4 WHERE surface = "Clay" AND championship = "Boston" AND opponent_in_the_final = "Guillermo Vilas"
CREATE TABLE table_23235767_4 (year VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR), Name the year for clay for boston and guillermo vilas
SELECT COUNT(opponent_in_the_final) FROM table_23235767_4 WHERE score_in_the_final = "6–2, 6–1, 6–3"
CREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR), Name the total number of opponent in the final for 6–2, 6–1, 6–3
SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon"
CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR), What is every year where opponent in the final is John Mcenroe at Wimbledon?
SELECT score_in_the_final FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "US Open"
CREATE TABLE table_23235767_1 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR), What is every score in the final for opponent in final John Mcenroe at US Open?
SELECT surface FROM table_23235767_1 WHERE score_in_the_final = "6–4, 6–7 (1–7) , 6–7 (4–7) , 4–6"
CREATE TABLE table_23235767_1 (surface VARCHAR, score_in_the_final VARCHAR), What is every surface with a score in the final of 6–4, 6–7 (1–7) , 6–7 (4–7) , 4–6?
SELECT score FROM table_23248910_11 WHERE game = 6
CREATE TABLE table_23248910_11 (score VARCHAR, game VARCHAR), What was the score in game 6?
SELECT high_rebounds FROM table_23248910_11 WHERE game = 2
CREATE TABLE table_23248910_11 (high_rebounds VARCHAR, game VARCHAR), What were the amount of rebounds in game 2?
SELECT date FROM table_23274514_8 WHERE location_attendance = "TD Garden 18,624"
CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR), On what date was the attendance at TD Garden 18,624?
SELECT date FROM table_23274514_6 WHERE record = "14-27"
CREATE TABLE table_23274514_6 (date VARCHAR, record VARCHAR), What day was the record 14-27?
SELECT COUNT(high_points) FROM table_23274514_6 WHERE game = 35
CREATE TABLE table_23274514_6 (high_points VARCHAR, game VARCHAR), How many people got high points in game 35?
SELECT high_points FROM table_23274514_6 WHERE date = "January 2"
CREATE TABLE table_23274514_6 (high_points VARCHAR, date VARCHAR), Who had the highest points on January 2?
SELECT high_rebounds FROM table_23281862_6 WHERE high_points = "Carl Landry (23)"
CREATE TABLE table_23281862_6 (high_rebounds VARCHAR, high_points VARCHAR), Who did the high rebounds in the game where Carl Landry (23) did the most high points?
SELECT score FROM table_23281862_6 WHERE high_rebounds = "Shane Battier (8)"
CREATE TABLE table_23281862_6 (score VARCHAR, high_rebounds VARCHAR), What's the end score of the game where Shane Battier (8) did the high rebounds?
SELECT location_attendance FROM table_23281862_6 WHERE high_points = "Carl Landry (25)"
CREATE TABLE table_23281862_6 (location_attendance VARCHAR, high_points VARCHAR), Where was the game in which Carl Landry (25) did the most high points played?
SELECT high_assists FROM table_23284271_8 WHERE record = "32-19"
CREATE TABLE table_23284271_8 (high_assists VARCHAR, record VARCHAR), Who had the most high assists with a record of 32-19?
SELECT date FROM table_23284271_8 WHERE record = "32-19"
CREATE TABLE table_23284271_8 (date VARCHAR, record VARCHAR), When did the Mavericks have a record of 32-19?
SELECT COUNT(location_attendance) FROM table_23284271_9 WHERE record = "45-22"
CREATE TABLE table_23284271_9 (location_attendance VARCHAR, record VARCHAR), List the stadium and number of people in attendance when the team record was 45-22.
SELECT MAX(game) FROM table_23284271_9 WHERE record = "46-22"
CREATE TABLE table_23284271_9 (game INTEGER, record VARCHAR), How many games had been played when the Mavericks had a 46-22 record?
SELECT date FROM table_23285761_8 WHERE score = "W 109–95 (OT)"
CREATE TABLE table_23285761_8 (date VARCHAR, score VARCHAR), Name the date for score w 109–95 (ot)
SELECT high_points FROM table_23285761_8 WHERE location_attendance = "Pepsi Center 19,155"
CREATE TABLE table_23285761_8 (high_points VARCHAR, location_attendance VARCHAR), Name the high points for pepsi center 19,155
SELECT team FROM table_23285805_4 WHERE record = "5-8"
CREATE TABLE table_23285805_4 (team VARCHAR, record VARCHAR), If the record is 5-8, what is the team name?
SELECT MAX(game) FROM table_23285805_4 WHERE record = "5-5"
CREATE TABLE table_23285805_4 (game INTEGER, record VARCHAR), If the record is 5-5, what is the game maximum?
SELECT score FROM table_23285805_4 WHERE record = "6-8"
CREATE TABLE table_23285805_4 (score VARCHAR, record VARCHAR), If the record is 6-8, what was the score?
SELECT date FROM table_23286112_6 WHERE game = 3
CREATE TABLE table_23286112_6 (date VARCHAR, game VARCHAR), When was the game number 3 played?
SELECT location_attendance FROM table_23286112_6 WHERE high_points = "Kevin Durant (25)"
CREATE TABLE table_23286112_6 (location_attendance VARCHAR, high_points VARCHAR), Where was the game in which Kevin Durant (25) did the most high points played?
SELECT record FROM table_23286112_6 WHERE high_rebounds = "Jeff Green (14)"
CREATE TABLE table_23286112_6 (record VARCHAR, high_rebounds VARCHAR), What was the record in the game in which Jeff Green (14) did the most high rebounds?
SELECT team FROM table_23286112_8 WHERE date = "January 4"
CREATE TABLE table_23286112_8 (team VARCHAR, date VARCHAR), Name the team for january 4
SELECT location_attendance FROM table_23286112_8 WHERE date = "January 18"
CREATE TABLE table_23286112_8 (location_attendance VARCHAR, date VARCHAR), Name the location attendance for january 18
SELECT MIN(game) FROM table_23286112_8 WHERE date = "January 29"
CREATE TABLE table_23286112_8 (game INTEGER, date VARCHAR), Name the least game for january 29
SELECT location_attendance FROM table_23286112_7 WHERE high_assists = "Russell Westbrook (5)" AND high_rebounds = "Nenad Krstic (8)"
CREATE TABLE table_23286112_7 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR), What location attendance has russell westbrook (5) as high assists and nenad krstic (8) as high rebounds?
SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Toyota Center 15,095"
CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR), Who has high points when toyota center 15,095 is location attendance?
SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Verizon Center 17,152"
CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR), Who has high points when verizon center 17,152 is location attendance?
SELECT score FROM table_23286112_7 WHERE date = "December 7"
CREATE TABLE table_23286112_7 (score VARCHAR, date VARCHAR), What is the score for the date of December 7?
SELECT game FROM table_23286223_5 WHERE high_rebounds = "Carlos Boozer (8)"
CREATE TABLE table_23286223_5 (game VARCHAR, high_rebounds VARCHAR), What's the number of the game in which Carlos Boozer (8) did the high rebounds?
SELECT date FROM table_23286223_5 WHERE high_assists = "Deron Williams (13)"
CREATE TABLE table_23286223_5 (date VARCHAR, high_assists VARCHAR), When was the game in which Deron Williams (13) did the high assists played?
SELECT COUNT(high_rebounds) FROM table_23286223_5 WHERE game = 26
CREATE TABLE table_23286223_5 (high_rebounds VARCHAR, game VARCHAR), How many different high rebound results are there for the game number 26?
SELECT COUNT(high_assists) FROM table_23286223_8 WHERE date = "March 4"
CREATE TABLE table_23286223_8 (high_assists VARCHAR, date VARCHAR), How many different players did the most high assists on the March 4 game?
SELECT record FROM table_23286223_8 WHERE high_assists = "Deron Williams (6)"
CREATE TABLE table_23286223_8 (record VARCHAR, high_assists VARCHAR), What was the record at the game where Deron Williams (6) did the high assists?
SELECT location_attendance FROM table_23286223_8 WHERE date = "March 24"
CREATE TABLE table_23286223_8 (location_attendance VARCHAR, date VARCHAR), Where was the March 24 game played?
SELECT COUNT(high_points) FROM table_23286223_8 WHERE record = "39-22"
CREATE TABLE table_23286223_8 (high_points VARCHAR, record VARCHAR), How many players did the most high points in the game with 39-22 record?
SELECT first_broadcast FROM table_23292220_8 WHERE jasons_team = "Rhod Gilbert and Shappi Khorsandi"
CREATE TABLE table_23292220_8 (first_broadcast VARCHAR, jasons_team VARCHAR), What is the broadcast date where Jason's team is Rhod Gilbert and Shappi Khorsandi?
SELECT COUNT(episode) FROM table_23292220_8 WHERE seans_team = "Jeremy Clarkson and James McQuillan"
CREATE TABLE table_23292220_8 (episode VARCHAR, seans_team VARCHAR), In how many episodes did Sean's team include Jeremy Clarkson and James McQuillan?
SELECT jasons_team FROM table_23292220_8 WHERE first_broadcast = "12 June 2009"
CREATE TABLE table_23292220_8 (jasons_team VARCHAR, first_broadcast VARCHAR), Who was on Jason's team for the 12 June 2009 episode?
SELECT jasons_team FROM table_23292220_8 WHERE seans_team = "Reginald D. Hunter and Kelly Osbourne"
CREATE TABLE table_23292220_8 (jasons_team VARCHAR, seans_team VARCHAR), Who was on Jason's team in the episode where Sean's team was Reginald D. Hunter and Kelly Osbourne?
SELECT record FROM table_23346303_3 WHERE location = "Tampa, FL" AND opponent = "Louisville"
CREATE TABLE table_23346303_3 (record VARCHAR, location VARCHAR, opponent VARCHAR), what is the record where the locaiton is tampa, fl and the opponent is louisville?
SELECT COUNT(opponent) FROM table_23346303_3 WHERE location = "Syracuse, NY"
CREATE TABLE table_23346303_3 (opponent VARCHAR, location VARCHAR), what is the number of opponents where the location is syracuse, ny?
SELECT record FROM table_23346303_3 WHERE opponent = "Central Connecticut"
CREATE TABLE table_23346303_3 (record VARCHAR, opponent VARCHAR), what is the record where the opponent is central connecticut?
SELECT horizontal_order FROM table_233830_1 WHERE channels = "WXYZRSTUVPQ"
CREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR), If the channels is wxyzrstuvpq, what is the horizontal order?
SELECT channels FROM table_233830_1 WHERE soundfield_type = "mixed-order" AND height_order = 1
CREATE TABLE table_233830_1 (channels VARCHAR, soundfield_type VARCHAR, height_order VARCHAR), If the height order is 1 and the soundfield type is mixed-order, what are all the channels?
SELECT number_of_channels FROM table_233830_1 WHERE channels = "WXYZUV"
CREATE TABLE table_233830_1 (number_of_channels VARCHAR, channels VARCHAR), If the channels is wxyzuv, what is the number of channels?
SELECT title FROM table_23399481_4 WHERE us_viewers__in_millions_ = "1.10"
CREATE TABLE table_23399481_4 (title VARCHAR, us_viewers__in_millions_ VARCHAR), What are the titles of the episodes which had 1.10 million U.S. viewers?
SELECT title FROM table_23399481_4 WHERE us_viewers__in_millions_ = "1.22"
CREATE TABLE table_23399481_4 (title VARCHAR, us_viewers__in_millions_ VARCHAR), What is the name of the episodes which had 1.22 million U.S. viewers?
SELECT us_viewers__in_millions_ FROM table_23399481_4 WHERE written_by = "Andrea Conway Kagey"
CREATE TABLE table_23399481_4 (us_viewers__in_millions_ VARCHAR, written_by VARCHAR), How many millions of viewers did the episode written by Andrea Conway Kagey?
SELECT title FROM table_23399481_4 WHERE written_by = "Michael Gans & Richard Register"
CREATE TABLE table_23399481_4 (title VARCHAR, written_by VARCHAR), What is the title of the episode/s written by Michael Gans & Richard Register?
SELECT MAX(total_score) FROM table_23465011_5 WHERE average_ranking = 7
CREATE TABLE table_23465011_5 (total_score INTEGER, average_ranking VARCHAR), What is the total score when 7 is the average ranking?
SELECT couple FROM table_23465011_5 WHERE total_score = 295
CREATE TABLE table_23465011_5 (couple VARCHAR, total_score VARCHAR), Which couple has 295 as a total score?
SELECT average FROM table_23465011_5 WHERE couple = "Anh & Luda"
CREATE TABLE table_23465011_5 (average VARCHAR, couple VARCHAR), What is the average for the couple anh & luda?
SELECT MAX(attendance) FROM table_23486853_5
CREATE TABLE table_23486853_5 (attendance INTEGER), What was the largest attended game?
SELECT score FROM table_23486853_7 WHERE date = "February 9"
CREATE TABLE table_23486853_7 (score VARCHAR, date VARCHAR), What scores happened on February 9?
SELECT score FROM table_23486853_7 WHERE date = "February 11"
CREATE TABLE table_23486853_7 (score VARCHAR, date VARCHAR), What scores happened on February 11?
SELECT COUNT(directed_by) FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.80"
CREATE TABLE table_23499946_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR), How many directed by have 2.80 as u.s. viewers (in millions)?
SELECT title FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.50"
CREATE TABLE table_23499946_1 (title VARCHAR, us_viewers__in_millions_ VARCHAR), What is the title when 2.50 is u.s. viewers (in millions)?
SELECT COUNT(points) AS defending FROM table_23501776_16 WHERE new_points = 1075
CREATE TABLE table_23501776_16 (points VARCHAR, new_points VARCHAR), Name the number of points defending for 1075
SELECT points AS won FROM table_23501776_16 WHERE points = 1230
CREATE TABLE table_23501776_16 (points VARCHAR), Name the points won for 1230
SELECT status FROM table_23501776_16 WHERE points = 3185
CREATE TABLE table_23501776_16 (status VARCHAR, points VARCHAR), Name the status for points 3185
SELECT numbers FROM table_2351952_1 WHERE order_number = "713096-713119"
CREATE TABLE table_2351952_1 (numbers VARCHAR, order_number VARCHAR), What are the numbers for the order number 713096-713119?
SELECT country FROM table_2351952_1 WHERE numbers = "801-812"
CREATE TABLE table_2351952_1 (country VARCHAR, numbers VARCHAR), The numbers 801-812 are in which country?
SELECT country FROM table_2351952_1 WHERE order_number = "711871-711880"
CREATE TABLE table_2351952_1 (country VARCHAR, order_number VARCHAR), What country has the order number 711871-711880?
SELECT country FROM table_2351952_1 WHERE serial_numbers = "713096-713119"
CREATE TABLE table_2351952_1 (country VARCHAR, serial_numbers VARCHAR), The serial numbers 713096-713119 are in which country?
SELECT serial_numbers FROM table_2351952_1 WHERE order_number = "713726-713735"
CREATE TABLE table_2351952_1 (serial_numbers VARCHAR, order_number VARCHAR), The order number 713726-713735 has what serial number?
SELECT COUNT(railroad) FROM table_2351952_1 WHERE numbers = "864-873"
CREATE TABLE table_2351952_1 (railroad VARCHAR, numbers VARCHAR), How many railroads have the numbers 864-873?
SELECT victim_s_ FROM table_23546266_1 WHERE executed_person = "Linroy Bottoson"
CREATE TABLE table_23546266_1 (victim_s_ VARCHAR, executed_person VARCHAR), What's the name of Linroy Bottoson's victim?
SELECT couple FROM table_23662272_4 WHERE number_of_dances = 6
CREATE TABLE table_23662272_4 (couple VARCHAR, number_of_dances VARCHAR), What was the name of the couple if the number of dances is 6?
SELECT couple FROM table_23662272_4 WHERE total_points_earned = 161
CREATE TABLE table_23662272_4 (couple VARCHAR, total_points_earned VARCHAR), What is the name of the couple if the total points earned is 161?
SELECT COUNT(total_points_earned) FROM table_23662272_4 WHERE average = "21.3"
CREATE TABLE table_23662272_4 (total_points_earned VARCHAR, average VARCHAR), What is the total points earned total number if the average is 21.3?
SELECT COUNT(number_of_dances) FROM table_23662272_4 WHERE average = "22.3"
CREATE TABLE table_23662272_4 (number_of_dances VARCHAR, average VARCHAR), What is the number of dances total number if the average is 22.3?
SELECT player FROM table_23670057_6 WHERE height__m_ = "1.85"
CREATE TABLE table_23670057_6 (player VARCHAR, height__m_ VARCHAR), Name the player that is 1.85 m
SELECT height__f_ FROM table_23670057_6 WHERE player = "Demond Greene"
CREATE TABLE table_23670057_6 (height__f_ VARCHAR, player VARCHAR), Name the height of demond greene
SELECT height__f_ FROM table_23670057_6 WHERE year_born = 1989 AND height__m_ = "2.11"
CREATE TABLE table_23670057_6 (height__f_ VARCHAR, year_born VARCHAR, height__m_ VARCHAR), Name the height for the player born 1989 and height 2.11
SELECT height__m_ FROM table_23670057_6 WHERE year_born = 1981
CREATE TABLE table_23670057_6 (height__m_ VARCHAR, year_born VARCHAR), Name the height for the player born in 1981
SELECT height__f_ FROM table_23670057_6 WHERE player = "Steffen Hamann"
CREATE TABLE table_23670057_6 (height__f_ VARCHAR, player VARCHAR), Name the height for steffen hamann
SELECT written_by FROM table_23799653_1 WHERE directed_by = "Karen Gaviola"
CREATE TABLE table_23799653_1 (written_by VARCHAR, directed_by VARCHAR), Who wrote the episode whose director is Karen Gaviola?
SELECT original_air_date FROM table_23799653_1 WHERE us_viewers__millions_ = "10.50"
CREATE TABLE table_23799653_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR), When did the episode viewed by 10.50 millions of people in the US run for the first time?