instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What was the attendance for the game against miami dolphins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_68 WHERE opponent = "miami dolphins" |
Write a SQL query that answers the following question: What is the result of the game with 67,715 fans attending? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_54 WHERE attendance = "67,715" |
Write a SQL query that answers the following question: Who was the opponent for the game that had 90,287 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_77 WHERE attendance = "90,287" |
Write a SQL query that answers the following question: What is the team with 1st period at 12:37? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (team VARCHAR, period VARCHAR, time VARCHAR) | SELECT team FROM table_name_53 WHERE period = "1st" AND time = "12:37" |
Write a SQL query that answers the following question: who is the athlete with the time 6:02.46? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (athlete VARCHAR, time VARCHAR) | SELECT athlete FROM table_name_83 WHERE time = "6:02.46" |
Write a SQL query that answers the following question: what is the country for rank 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_3 WHERE rank = 6 |
Write a SQL query that answers the following question: what is the notes when the rank is less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (notes VARCHAR, rank INTEGER) | SELECT notes FROM table_name_59 WHERE rank < 2 |
Write a SQL query that answers the following question: what is the rank for athlete hauffe, seifert, kaeufer, adamski? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR) | SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski" |
Write a SQL query that answers the following question: what is the notes for the time 6:05.21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_77 WHERE time = "6:05.21" |
Write a SQL query that answers the following question: Who was the discoverer of the object with an Aphelion above 97 in 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (discoverer_s_ VARCHAR, aphelion__au_ VARCHAR, year_discovered VARCHAR) | SELECT discoverer_s_ FROM table_name_41 WHERE aphelion__au_ > 97 AND year_discovered = 2004 |
Write a SQL query that answers the following question: What model number has part number cl8064701510101? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR) | SELECT model_number FROM table_name_69 WHERE part_number_s_ = "cl8064701510101" |
Write a SQL query that answers the following question: What is the I/O bus entry for the processor with a release price of $657? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (i_o_bus VARCHAR, release_price___usd__ VARCHAR) | SELECT i_o_bus FROM table_name_65 WHERE release_price___usd__ = "$657" |
Write a SQL query that answers the following question: What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (l2_cache VARCHAR, gpu_model VARCHAR, frequency VARCHAR) | SELECT l2_cache FROM table_name_96 WHERE gpu_model = "iris pro graphics 5200" AND frequency = "2.6 ghz" |
Write a SQL query that answers the following question: What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (frequency VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR) | SELECT frequency FROM table_name_14 WHERE release_price___usd__ = "$383" AND sspec_number = "sr15f(c0)" |
Write a SQL query that answers the following question: What is the GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (gpu_frequency VARCHAR, release_date VARCHAR, sspec_number VARCHAR) | SELECT gpu_frequency FROM table_name_27 WHERE release_date = "june 2013" AND sspec_number = "sr17l(c0)" |
Write a SQL query that answers the following question: What is the L3 cache of the processor with a release price of $440? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (l3_cache VARCHAR, release_price___usd__ VARCHAR) | SELECT l3_cache FROM table_name_3 WHERE release_price___usd__ = "$440" |
Write a SQL query that answers the following question: What is the OS X for the Home Media Center? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (os_x VARCHAR, name VARCHAR) | SELECT os_x FROM table_name_88 WHERE name = "home media center" |
Write a SQL query that answers the following question: What is the name when Windows is partial? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (name VARCHAR, windows VARCHAR) | SELECT name FROM table_name_55 WHERE windows = "partial" |
Write a SQL query that answers the following question: What is the license for Rygel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (license VARCHAR, name VARCHAR) | SELECT license FROM table_name_11 WHERE name = "rygel" |
Write a SQL query that answers the following question: What is the license for Jriver Media Center? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (license VARCHAR, name VARCHAR) | SELECT license FROM table_name_91 WHERE name = "jriver media center" |
Write a SQL query that answers the following question: Of the series that last aired August 20, 2010, what is the lowest number of seasons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (season INTEGER, last_aired VARCHAR) | SELECT MIN(season) FROM table_name_42 WHERE last_aired = "august 20, 2010" |
Write a SQL query that answers the following question: Of the series that first aired April 8, 2011, what is the total number of episodes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (episodes INTEGER, first_aired VARCHAR) | SELECT SUM(episodes) FROM table_name_53 WHERE first_aired = "april 8, 2011" |
Write a SQL query that answers the following question: What's the total when the position was more than 6 and had an A Score of less than 7.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (total INTEGER, position VARCHAR, a_score VARCHAR) | SELECT MAX(total) FROM table_name_83 WHERE position > 6 AND a_score < 7.6 |
Write a SQL query that answers the following question: What's the total when A Score was less than 6.9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (total INTEGER, a_score INTEGER) | SELECT AVG(total) FROM table_name_98 WHERE a_score < 6.9 |
Write a SQL query that answers the following question: What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (water__sqmi_ INTEGER, land___sqmi__ VARCHAR, longitude VARCHAR) | SELECT SUM(water__sqmi_) FROM table_name_68 WHERE land___sqmi__ = 35.918 AND longitude < -97.115459 |
Write a SQL query that answers the following question: What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR) | SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404 |
Write a SQL query that answers the following question: What's the lowest listed longitude that has a Latitude of 46.843963 and Water (sqmi) that is smaller than 0.052000000000000005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (longitude INTEGER, latitude VARCHAR, water__sqmi_ VARCHAR) | SELECT MIN(longitude) FROM table_name_31 WHERE latitude = 46.843963 AND water__sqmi_ < 0.052000000000000005 |
Write a SQL query that answers the following question: What is the total heat ranked higher than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (heat INTEGER, rank INTEGER) | SELECT SUM(heat) FROM table_name_46 WHERE rank > 7 |
Write a SQL query that answers the following question: Which cyclist is from Australia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (cyclist VARCHAR, nation VARCHAR) | SELECT cyclist FROM table_name_90 WHERE nation = "australia" |
Write a SQL query that answers the following question: Which nation has a heat of 4, and is ranked 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (nation VARCHAR, heat VARCHAR, rank VARCHAR) | SELECT nation FROM table_name_13 WHERE heat = 4 AND rank = 8 |
Write a SQL query that answers the following question: What is John Curtice's position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_35 WHERE player = "john curtice" |
Write a SQL query that answers the following question: What player is from Seton Hall University? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR) | SELECT player FROM table_name_24 WHERE school = "seton hall university" |
Write a SQL query that answers the following question: What is the lowest pick of a player for the SS, P Position for the Minnesota Twins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, team VARCHAR) | SELECT MIN(pick) FROM table_name_51 WHERE position = "ss, p" AND team = "minnesota twins" |
Write a SQL query that answers the following question: What is the average v-band for Ka-band values under 33 and Q-bands of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR) | SELECT AVG(v_band) FROM table_name_53 WHERE ka_band < 33 AND q_band = 1 |
Write a SQL query that answers the following question: What award has a year earlier than 2004 and the episode shows —? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR) | SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—" |
Write a SQL query that answers the following question: What year has a Nominee of —, and a Result of nominated? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (year INTEGER, nominee VARCHAR, result VARCHAR) | SELECT AVG(year) FROM table_name_14 WHERE nominee = "—" AND result = "nominated" |
Write a SQL query that answers the following question: What is the Country of the Play Electra? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR) | SELECT country FROM table_name_60 WHERE play = "electra" |
Write a SQL query that answers the following question: What is the Athens Base play with Dance Theatre Roes Company? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (play VARCHAR, base VARCHAR, company VARCHAR) | SELECT play FROM table_name_59 WHERE base = "athens" AND company = "dance theatre roes" |
Write a SQL query that answers the following question: Who is the author of the Play Electra? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (author VARCHAR, play VARCHAR) | SELECT author FROM table_name_24 WHERE play = "electra" |
Write a SQL query that answers the following question: Waht is the Country of the play by Author Aristophanes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (country VARCHAR, author VARCHAR) | SELECT country FROM table_name_25 WHERE author = "aristophanes" |
Write a SQL query that answers the following question: What Country has the Play The Libation Bearers a Base of Mecklenburg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (country VARCHAR, base VARCHAR, play VARCHAR) | SELECT country FROM table_name_52 WHERE base = "mecklenburg" AND play = "the libation bearers" |
Write a SQL query that answers the following question: Which series had a title of Boyhood Daze? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (series VARCHAR, title VARCHAR) | SELECT series FROM table_name_78 WHERE title = "boyhood daze" |
Write a SQL query that answers the following question: What was the release date of Rabbit Romeo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_8 WHERE title = "rabbit romeo" |
Write a SQL query that answers the following question: What was the release date of Three Little Bops? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_42 WHERE title = "three little bops" |
Write a SQL query that answers the following question: In 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (money_list_rank INTEGER, earnings__$_ VARCHAR, lpga_wins VARCHAR, year VARCHAR) | SELECT MIN(money_list_rank) FROM table_name_2 WHERE lpga_wins < 2 AND year = 2005 AND earnings__$_ < 615 OFFSET 499 |
Write a SQL query that answers the following question: What is the team name from Hammond Bishop Noll? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (team_name VARCHAR, school VARCHAR) | SELECT team_name FROM table_name_42 WHERE school = "hammond bishop noll" |
Write a SQL query that answers the following question: What city has a team in IHSAA class 3a, and previous conference of lake? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (city VARCHAR, previous_counference VARCHAR, ihsaa_class VARCHAR) | SELECT city FROM table_name_83 WHERE previous_counference = "lake" AND ihsaa_class = "3a" |
Write a SQL query that answers the following question: What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (enrollment_08_09 INTEGER, previous_counference VARCHAR, ihsaa_class VARCHAR) | SELECT AVG(enrollment_08_09) FROM table_name_28 WHERE previous_counference = "lake" AND ihsaa_class = "3a" |
Write a SQL query that answers the following question: What is the Date of the Kroger Classic Tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_64 WHERE tournament = "kroger classic" |
Write a SQL query that answers the following question: What is the Date of the Ameritech Senior Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_61 WHERE tournament = "ameritech senior open" |
Write a SQL query that answers the following question: What Tournament has a Winning score of −16 (66-64-67=197)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197) |
Write a SQL query that answers the following question: What is Wu Xing (五行) with Korean (RR) of 임 (im)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (wu_xing___五行__ VARCHAR, korean___rr__ VARCHAR) | SELECT wu_xing___五行__ FROM table_name_80 WHERE korean___rr__ = "임 (im)" |
Write a SQL query that answers the following question: What's Manchu (Möllendorff) with the Wi Xing Correltation of 南 South, along with Wuu Wuupin of ting44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (manchu___möllendorff__ VARCHAR, wu_xing_correlations VARCHAR, wuu_wuupin VARCHAR) | SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44" |
Write a SQL query that answers the following question: Which Japanese Title has a TV Station of ntv? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (japanese_title VARCHAR, tv_station VARCHAR) | SELECT japanese_title FROM table_name_19 WHERE tv_station = "ntv" |
Write a SQL query that answers the following question: Which TV Station has a Romaji Title of kegareta shita? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (tv_station VARCHAR, romaji_title VARCHAR) | SELECT tv_station FROM table_name_43 WHERE romaji_title = "kegareta shita" |
Write a SQL query that answers the following question: Which Theme Song(s) has a Japanese Title of 恋におちたら~僕の成功の秘密~? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (theme_song_s_ VARCHAR, japanese_title VARCHAR) | SELECT theme_song_s_ FROM table_name_54 WHERE japanese_title = "恋におちたら~僕の成功の秘密~" |
Write a SQL query that answers the following question: Churai has what as the fewest number of electorates? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) | SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai" |
Write a SQL query that answers the following question: what is the title when the release date is 1938-12-17 and the production number is 8610? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (title VARCHAR, release_date VARCHAR, production_num VARCHAR) | SELECT title FROM table_name_86 WHERE release_date = "1938-12-17" AND production_num = "8610" |
Write a SQL query that answers the following question: The match played July 8, 2007 had what outcome? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_54 WHERE date = "july 8, 2007" |
Write a SQL query that answers the following question: The final match played against Evie Dominikovic was played on what surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT surface FROM table_name_54 WHERE opponent_in_the_final = "evie dominikovic" |
Write a SQL query that answers the following question: Olga Blahotová was the opponent in the final at what tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (tournament VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_42 WHERE opponent_in_the_final = "olga blahotová" |
Write a SQL query that answers the following question: In the final against Ashley Harkleroad what was the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_21 WHERE opponent_in_the_final = "ashley harkleroad" |
Write a SQL query that answers the following question: At what time did the opponent Takaichi Hirayama have an event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama" |
Write a SQL query that answers the following question: In which round was Gabriel Veiga the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_42 WHERE opponent = "gabriel veiga" |
Write a SQL query that answers the following question: Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR) | SELECT method FROM table_name_86 WHERE round = "3" AND res = "loss" AND event = "juiz de fora - fight 1" |
Write a SQL query that answers the following question: Which opponent has a record of 4-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_55 WHERE record = "4-2" |
Write a SQL query that answers the following question: what is the country for zhang xiuyun? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (country VARCHAR, athlete VARCHAR) | SELECT country FROM table_name_91 WHERE athlete = "zhang xiuyun" |
Write a SQL query that answers the following question: what is the country for fabiana beltrame? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (country VARCHAR, athlete VARCHAR) | SELECT country FROM table_name_56 WHERE athlete = "fabiana beltrame" |
Write a SQL query that answers the following question: what is the notes when the time is 7:58.71? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_44 WHERE time = "7:58.71" |
Write a SQL query that answers the following question: what is the highest rank when the time is 7:52.65? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (rank INTEGER, time VARCHAR) | SELECT MAX(rank) FROM table_name_73 WHERE time = "7:52.65" |
Write a SQL query that answers the following question: what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun" |
Write a SQL query that answers the following question: Who had a rank under 17 with a total of 119? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (athlete VARCHAR, rank VARCHAR, total VARCHAR) | SELECT athlete FROM table_name_30 WHERE rank < 17 AND total = "119" |
Write a SQL query that answers the following question: What round has 2-1 as the result, and A as the venue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (round VARCHAR, result VARCHAR, venue VARCHAR) | SELECT round FROM table_name_2 WHERE result = "2-1" AND venue = "a" |
Write a SQL query that answers the following question: What is the most time for the swimmer from South Africa who was in a lane greater than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (time INTEGER, nationality VARCHAR, lane VARCHAR) | SELECT MAX(time) FROM table_name_64 WHERE nationality = "south africa" AND lane > 3 |
Write a SQL query that answers the following question: Which school has enrollment of 887? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (school VARCHAR, enrollment VARCHAR) | SELECT school FROM table_name_44 WHERE enrollment = 887 |
Write a SQL query that answers the following question: what is the round when the pick # is less than 236 and the position is offensive guard? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (round INTEGER, pick__number VARCHAR, position VARCHAR) | SELECT AVG(round) FROM table_name_64 WHERE pick__number < 236 AND position = "offensive guard" |
Write a SQL query that answers the following question: what is the position in round 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_9 WHERE round = 3 |
Write a SQL query that answers the following question: What is the Position of the Pick 8 Player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_99 WHERE pick = 8 |
Write a SQL query that answers the following question: Which High assists has a Score of w 71-56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (high_assists VARCHAR, score VARCHAR) | SELECT high_assists FROM table_name_85 WHERE score = "w 71-56" |
Write a SQL query that answers the following question: Which Score has a High assists of whalen (5)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR) | SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)" |
Write a SQL query that answers the following question: Which High rebounds has a Game smaller than 9, and a Opponent of detroit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit" |
Write a SQL query that answers the following question: Which High rebounds has a Score of w 81-69? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_name_62 WHERE score = "w 81-69" |
Write a SQL query that answers the following question: Which Surface has a Result of fernando verdasco? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (surface VARCHAR, result VARCHAR) | SELECT surface FROM table_name_10 WHERE result = "fernando verdasco" |
Write a SQL query that answers the following question: How many events did clay win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR) | SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay" |
Write a SQL query that answers the following question: Which Surface has an Opponent of rafael nadal, and an Event of 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (surface VARCHAR, opponent VARCHAR, event VARCHAR) | SELECT surface FROM table_name_59 WHERE opponent = "rafael nadal" AND NOT event = 2 |
Write a SQL query that answers the following question: Who is iván navarro's opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_7 WHERE result = "iván navarro" |
Write a SQL query that answers the following question: Which Event has a Surface of semifinal, and a Winner of hard (i)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (MAX VARCHAR, surface VARCHAR, winner VARCHAR) | SELECT NOT MAX AS event FROM table_name_23 WHERE surface = "semifinal" AND winner = "hard (i)" |
Write a SQL query that answers the following question: Who was the leader at the summit earlier than 1956, when Carcassonne shows for finish? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR) | SELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = "carcassonne" |
Write a SQL query that answers the following question: What year was finish Toulouse, and stage was larger than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (year INTEGER, finish VARCHAR, stage VARCHAR) | SELECT SUM(year) FROM table_name_90 WHERE finish = "toulouse" AND stage > 12 |
Write a SQL query that answers the following question: What is the highest stage number for a year later than 1948, leader at the summit was group, and finish was Bagnères-De-Bigorre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (stage INTEGER, finish VARCHAR, year VARCHAR, leader_at_the_summit VARCHAR) | SELECT MAX(stage) FROM table_name_36 WHERE year > 1948 AND leader_at_the_summit = "group" AND finish = "bagnères-de-bigorre" |
Write a SQL query that answers the following question: which Vacator has a Reason for change of resigned november 10, 1965? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (vacator VARCHAR, reason_for_change VARCHAR) | SELECT vacator FROM table_name_6 WHERE reason_for_change = "resigned november 10, 1965" |
Write a SQL query that answers the following question: Which Reason has a State (class) of tennessee (2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (reason_for_change VARCHAR, state__class_ VARCHAR) | SELECT reason_for_change FROM table_name_54 WHERE state__class_ = "tennessee (2)" |
Write a SQL query that answers the following question: Which State (class) has a Successor of harry f. byrd, jr. (d)? Question | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (state__class_ VARCHAR, successor VARCHAR) | SELECT state__class_ FROM table_name_54 WHERE successor = "harry f. byrd, jr. (d)" |
Write a SQL query that answers the following question: Which country has a Col (m) of 1374? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (country VARCHAR, col__m_ VARCHAR) | SELECT country FROM table_name_33 WHERE col__m_ = 1374 |
Write a SQL query that answers the following question: How many Games have Years at club of 1971–1974, and a Debut year larger than 1971? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (games INTEGER, years_at_club VARCHAR, debut_year VARCHAR) | SELECT SUM(games) FROM table_name_94 WHERE years_at_club = "1971–1974" AND debut_year > 1971 |
Write a SQL query that answers the following question: Which Games have Years at club of 1974–1975, and Goals of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (games INTEGER, years_at_club VARCHAR, goals VARCHAR) | SELECT AVG(games) FROM table_name_89 WHERE years_at_club = "1974–1975" AND goals = 4 |
Write a SQL query that answers the following question: Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR) | SELECT years_at_club FROM table_name_10 WHERE games < 7 AND goals > 2 AND player = "john frazer" |
Write a SQL query that answers the following question: Which Games have Years at club of 1977, and Goals of 17, and a Debut year smaller than 1977? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (games INTEGER, debut_year VARCHAR, years_at_club VARCHAR, goals VARCHAR) | SELECT AVG(games) FROM table_name_5 WHERE years_at_club = "1977" AND goals = 17 AND debut_year < 1977 |
Write a SQL query that answers the following question: Which Goals have Games smaller than 41, and a Player of mark amos? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (goals INTEGER, games VARCHAR, player VARCHAR) | SELECT MIN(goals) FROM table_name_57 WHERE games < 41 AND player = "mark amos" |
Write a SQL query that answers the following question: What is Melaine Walker's Rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (rank INTEGER, name VARCHAR) | SELECT SUM(rank) FROM table_name_78 WHERE name = "melaine walker" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.