instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the highest attendance for the match against west ham united at the venue of a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (attendance INTEGER, venue VARCHAR, opponent VARCHAR) | SELECT MAX(attendance) FROM table_name_42 WHERE venue = "a" AND opponent = "west ham united" |
Write a SQL query that answers the following question: Which Country has a Score of 67? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_84 WHERE score = 67 |
Write a SQL query that answers the following question: Which To par has a Player of momoko ueda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_64 WHERE player = "momoko ueda" |
Write a SQL query that answers the following question: Which To par has a Player of johanna head? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_87 WHERE player = "johanna head" |
Write a SQL query that answers the following question: What is the notes for the team from Denmark? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (notes VARCHAR, country VARCHAR) | SELECT notes FROM table_name_48 WHERE country = "denmark" |
Write a SQL query that answers the following question: Which athlete had a rank of 6 and notes of sc/d? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (athlete VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT athlete FROM table_name_94 WHERE notes = "sc/d" AND rank = 6 |
Write a SQL query that answers the following question: Which country is the athlete latt shwe zin with notes of sc/d from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (country VARCHAR, notes VARCHAR, athlete VARCHAR) | SELECT country FROM table_name_56 WHERE notes = "sc/d" AND athlete = "latt shwe zin" |
Write a SQL query that answers the following question: What's the HR number when the LMS number is 14758? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (hr_no VARCHAR, lms_no VARCHAR) | SELECT hr_no FROM table_name_36 WHERE lms_no = 14758 |
Write a SQL query that answers the following question: What's the CR number that has an LMS number less than 14761 and works of Hawthorn Leslie 3100? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (cr_no INTEGER, works VARCHAR, lms_no VARCHAR) | SELECT AVG(cr_no) FROM table_name_23 WHERE works = "hawthorn leslie 3100" AND lms_no < 14761 |
Write a SQL query that answers the following question: What's the HR Number when the LMS number is 14757 and has a built of 9/1915? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (hr_no VARCHAR, built VARCHAR, lms_no VARCHAR) | SELECT hr_no FROM table_name_75 WHERE built = "9/1915" AND lms_no = 14757 |
Write a SQL query that answers the following question: What's the built date when the CR number is more than 940 and the LMS number is 14760? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR) | SELECT built FROM table_name_57 WHERE cr_no > 940 AND lms_no = 14760 |
Write a SQL query that answers the following question: What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (home VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT home FROM table_name_44 WHERE visitor = "modo hockey" AND date = "thursday, december 11" |
Write a SQL query that answers the following question: What is the traditional Chinese name for the record titled Sunrise? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (chinese__traditional_ VARCHAR, english_title VARCHAR) | SELECT chinese__traditional_ FROM table_name_36 WHERE english_title = "sunrise" |
Write a SQL query that answers the following question: What would be the traditional Chinese name tat is simplified as 崇拜? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (chinese__traditional_ VARCHAR, chinese__simplified_ VARCHAR) | SELECT chinese__traditional_ FROM table_name_66 WHERE chinese__simplified_ = "崇拜" |
Write a SQL query that answers the following question: What traditional Chinese name would the Rock Records release Grown up Overnight be given? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (chinese__traditional_ VARCHAR, label VARCHAR, english_title VARCHAR) | SELECT chinese__traditional_ FROM table_name_54 WHERE label = "rock records" AND english_title = "grown up overnight" |
Write a SQL query that answers the following question: What is the traditional Chinese name for the record Beautiful? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (chinese__traditional_ VARCHAR, english_title VARCHAR) | SELECT chinese__traditional_ FROM table_name_84 WHERE english_title = "beautiful" |
Write a SQL query that answers the following question: What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR) | SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = "情歌没有告诉你" |
Write a SQL query that answers the following question: What is the simplified Chinese name for the 9th album? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (chinese__simplified_ VARCHAR, album_number VARCHAR) | SELECT chinese__simplified_ FROM table_name_21 WHERE album_number = "9th" |
Write a SQL query that answers the following question: Which Eliminated has a Tag Team of jindrak and cade? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (eliminated VARCHAR, tag_team VARCHAR) | SELECT eliminated AS by FROM table_name_18 WHERE tag_team = "jindrak and cade" |
Write a SQL query that answers the following question: Which Eliminated has an Entered smaller than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (eliminated VARCHAR, entered INTEGER) | SELECT eliminated AS by FROM table_name_42 WHERE entered < 2 |
Write a SQL query that answers the following question: Name the Tag Team with Entered of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (tag_team VARCHAR, entered VARCHAR) | SELECT tag_team FROM table_name_94 WHERE entered = 6 |
Write a SQL query that answers the following question: Name Tag Team with a Eliminated of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (tag_team VARCHAR, eliminated VARCHAR) | SELECT tag_team FROM table_name_42 WHERE eliminated = "5" |
Write a SQL query that answers the following question: Name the Tag Team with a Time of 03:34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (tag_team VARCHAR, time VARCHAR) | SELECT tag_team FROM table_name_10 WHERE time = "03:34" |
Write a SQL query that answers the following question: Which Episodes have a TV Station of ntv, and a Japanese Title of あいのうた? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (episodes INTEGER, tv_station VARCHAR, japanese_title VARCHAR) | SELECT AVG(episodes) FROM table_name_17 WHERE tv_station = "ntv" AND japanese_title = "あいのうた" |
Write a SQL query that answers the following question: Which TV Station has Average Ratings of 16.89%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (tv_station VARCHAR, average_ratings VARCHAR) | SELECT tv_station FROM table_name_54 WHERE average_ratings = "16.89%" |
Write a SQL query that answers the following question: Which Episodes have a TV Station of tbs, and a Japanese Title of 今夜ひとりのベッドで? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (episodes INTEGER, tv_station VARCHAR, japanese_title VARCHAR) | SELECT MAX(episodes) FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "今夜ひとりのベッドで" |
Write a SQL query that answers the following question: Which Japanese Title has a TV Station of tbs, and a Romaji Title of hana yori dango? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (japanese_title VARCHAR, tv_station VARCHAR, romaji_title VARCHAR) | SELECT japanese_title FROM table_name_58 WHERE tv_station = "tbs" AND romaji_title = "hana yori dango" |
Write a SQL query that answers the following question: Who was the away team with a tie number of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_68 WHERE tie_no = "4" |
Write a SQL query that answers the following question: What date was the tie number of 32? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_46 WHERE tie_no = "32" |
Write a SQL query that answers the following question: What was the score when the tie number was a replay and the home team was mansfield town? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_59 WHERE tie_no = "replay" AND home_team = "mansfield town" |
Write a SQL query that answers the following question: what is the to par when the score is 67-68-76=211? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_42 WHERE score = 67 - 68 - 76 = 211 |
Write a SQL query that answers the following question: what is the score for tom watson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_51 WHERE player = "tom watson" |
Write a SQL query that answers the following question: who is the player when the place is t10 and the score is 67-72-72=211? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_37 WHERE place = "t10" AND score = 67 - 72 - 72 = 211 |
Write a SQL query that answers the following question: what is the place for bryce molder? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_31 WHERE player = "bryce molder" |
Write a SQL query that answers the following question: what is the to par for mathew goggin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_72 WHERE player = "mathew goggin" |
Write a SQL query that answers the following question: Which Quantity has an Axle arrangement of 2′c h2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (quantity INTEGER, axle_arrangement VARCHAR) | SELECT AVG(quantity) FROM table_name_86 WHERE axle_arrangement = "2′c h2" |
Write a SQL query that answers the following question: Which Year(s) of manufacture has an Axle arrangement of 2′b n2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (year_s__of_manufacture VARCHAR, axle_arrangement VARCHAR) | SELECT year_s__of_manufacture FROM table_name_92 WHERE axle_arrangement = "2′b n2" |
Write a SQL query that answers the following question: Which Rank has a Time of 5:56.73? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (rank VARCHAR, time VARCHAR) | SELECT rank FROM table_name_81 WHERE time = "5:56.73" |
Write a SQL query that answers the following question: Which Rank has Notes of fb, and a Time of 5:57.31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (rank VARCHAR, notes VARCHAR, time VARCHAR) | SELECT rank FROM table_name_70 WHERE notes = "fb" AND time = "5:57.31" |
Write a SQL query that answers the following question: Which 2007 has a Country or territory of china, and a 2002 smaller than 670,099? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (country_or_territory VARCHAR) | SELECT MIN(2007) FROM table_name_96 WHERE country_or_territory = "china" AND 2002 < 670 OFFSET 099 |
Write a SQL query that answers the following question: what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (giro_wins INTEGER, young_rider VARCHAR, jerseys VARCHAR, country VARCHAR) | SELECT SUM(giro_wins) FROM table_name_29 WHERE jerseys = 2 AND country = "portugal" AND young_rider > 0 |
Write a SQL query that answers the following question: what is the highest jersey when points is 0, different holders is less than 3, giro wins is less than 1 and young rider is more than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (jerseys INTEGER, young_rider VARCHAR, giro_wins VARCHAR, points VARCHAR, different_holders VARCHAR) | SELECT MAX(jerseys) FROM table_name_72 WHERE points = 0 AND different_holders < 3 AND giro_wins < 1 AND young_rider > 1 |
Write a SQL query that answers the following question: how many times is young rider more than 0, country is france and points less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (jerseys VARCHAR, points VARCHAR, young_rider VARCHAR, country VARCHAR) | SELECT COUNT(jerseys) FROM table_name_78 WHERE young_rider > 0 AND country = "france" AND points < 1 |
Write a SQL query that answers the following question: what is the least different holders when the country is ireland and giro wins is less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (different_holders INTEGER, country VARCHAR, giro_wins VARCHAR) | SELECT MIN(different_holders) FROM table_name_93 WHERE country = "ireland" AND giro_wins < 1 |
Write a SQL query that answers the following question: What is Brian Mateer's Speed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (speed VARCHAR, rider VARCHAR) | SELECT speed FROM table_name_1 WHERE rider = "brian mateer" |
Write a SQL query that answers the following question: What is the Rank of the Rider with a Speed of 111.072mph in Team 250CC Honda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (rank INTEGER, team VARCHAR, speed VARCHAR) | SELECT AVG(rank) FROM table_name_36 WHERE team = "250cc honda" AND speed = "111.072mph" |
Write a SQL query that answers the following question: What is the Nationality of the swimmer with a Time of 1:08.80? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_6 WHERE time = "1:08.80" |
Write a SQL query that answers the following question: What is Anna Khlistunova's Nationality? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_20 WHERE name = "anna khlistunova" |
Write a SQL query that answers the following question: What is the penalty for the DET team player Andreas Lilja? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (penalty VARCHAR, team VARCHAR, player VARCHAR) | SELECT penalty FROM table_name_42 WHERE team = "det" AND player = "andreas lilja" |
Write a SQL query that answers the following question: What is the penalty for Jonathan Toews? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (penalty VARCHAR, player VARCHAR) | SELECT penalty FROM table_name_19 WHERE player = "jonathan toews" |
Write a SQL query that answers the following question: What is the period for Ben Eager? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (period VARCHAR, player VARCHAR) | SELECT period FROM table_name_49 WHERE player = "ben eager" |
Write a SQL query that answers the following question: What is the period for the DET Team with a time of 11:27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (period VARCHAR, team VARCHAR, time VARCHAR) | SELECT period FROM table_name_52 WHERE team = "det" AND time = "11:27" |
Write a SQL query that answers the following question: What player has a penalty of holding on the DET team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (player VARCHAR, penalty VARCHAR, team VARCHAR) | SELECT player FROM table_name_35 WHERE penalty = "holding" AND team = "det" |
Write a SQL query that answers the following question: What time does Dustin Byfuglien have in 1st period? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (time VARCHAR, period VARCHAR, player VARCHAR) | SELECT time FROM table_name_36 WHERE period = "1st" AND player = "dustin byfuglien" |
Write a SQL query that answers the following question: Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (competition VARCHAR, assist_pass VARCHAR, result VARCHAR, location VARCHAR) | SELECT competition FROM table_name_85 WHERE result = "2-0" AND location = "ferreiras" AND assist_pass = "casey nogueira" |
Write a SQL query that answers the following question: What is the score with the Lineup match reports? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (score VARCHAR, lineup VARCHAR) | SELECT score FROM table_name_5 WHERE lineup = "match reports" |
Write a SQL query that answers the following question: On what date is there an assist/pass by Shannon Boxx? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, assist_pass VARCHAR) | SELECT date FROM table_name_92 WHERE assist_pass = "shannon boxx" |
Write a SQL query that answers the following question: Which assist/pass is in Ferreiras? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (assist_pass VARCHAR, location VARCHAR) | SELECT assist_pass FROM table_name_80 WHERE location = "ferreiras" |
Write a SQL query that answers the following question: Willy Sagnol with a type as career end had what has the transfer fee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR) | SELECT transfer_fee FROM table_name_34 WHERE type = "career end" AND name = "willy sagnol" |
Write a SQL query that answers the following question: Marcell Jansen with a transfer window of summer, and of transfer as type is from what nation? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (nat VARCHAR, name VARCHAR, transfer_window VARCHAR, type VARCHAR) | SELECT nat FROM table_name_15 WHERE transfer_window = "summer" AND type = "transfer" AND name = "marcell jansen" |
Write a SQL query that answers the following question: Marcell Jansen of the nation GER has what for the type? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (type VARCHAR, nat VARCHAR, name VARCHAR) | SELECT type FROM table_name_2 WHERE nat = "ger" AND name = "marcell jansen" |
Write a SQL query that answers the following question: What player had a transfer window of winter, and free as the transfer fee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (name VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_72 WHERE transfer_window = "winter" AND transfer_fee = "free" |
Write a SQL query that answers the following question: Which player from GER has a transfer window of summer, and a transfer fee of n/a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (name VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR, nat VARCHAR) | SELECT name FROM table_name_85 WHERE transfer_window = "summer" AND nat = "ger" AND transfer_fee = "n/a" |
Write a SQL query that answers the following question: What's the highest Year Left that's got a Conference Joined of Sagamore with a Year Joined larger than 1942? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (year_left INTEGER, conference_joined VARCHAR, year_joined VARCHAR) | SELECT MAX(year_left) FROM table_name_3 WHERE conference_joined = "sagamore" AND year_joined > 1942 |
Write a SQL query that answers the following question: What's the highest Year Left for the School of Danville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (year_left INTEGER, school VARCHAR) | SELECT MAX(year_left) FROM table_name_81 WHERE school = "danville" |
Write a SQL query that answers the following question: What was lane 4's time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (time VARCHAR, lane VARCHAR) | SELECT time FROM table_name_70 WHERE lane = 4 |
Write a SQL query that answers the following question: What's the part number of the processor that has an 1.8 ghz frequency and 2 × 256 kb L@ Cache? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (part_number_s_ VARCHAR, l2_cache VARCHAR, frequency VARCHAR) | SELECT part_number_s_ FROM table_name_56 WHERE l2_cache = "2 × 256 kb" AND frequency = "1.8 ghz" |
Write a SQL query that answers the following question: What's the sSpec number of the processor having an ultra-low power I/O? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (sspec_number VARCHAR, i_o_bus VARCHAR) | SELECT sspec_number FROM table_name_57 WHERE i_o_bus = "ultra-low power" |
Write a SQL query that answers the following question: What the cores with a release date of February 2011 and a BGA-1023 socket? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (cores VARCHAR, socket VARCHAR, release_date VARCHAR) | SELECT cores FROM table_name_81 WHERE socket = "bga-1023" AND release_date = "february 2011" |
Write a SQL query that answers the following question: What's the L3 Cache that has a standard power I/O? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (l3_cache VARCHAR, i_o_bus VARCHAR) | SELECT l3_cache FROM table_name_63 WHERE i_o_bus = "standard power" |
Write a SQL query that answers the following question: What's the release date of the processor with 2.8 ghz of frequency? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (release_date VARCHAR, frequency VARCHAR) | SELECT release_date FROM table_name_77 WHERE frequency = "2.8 ghz" |
Write a SQL query that answers the following question: What round was the match at Westpac Stadium that had the Newcastle Jets as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (round VARCHAR, venue VARCHAR, away VARCHAR) | SELECT round FROM table_name_24 WHERE venue = "westpac stadium" AND away = "newcastle jets" |
Write a SQL query that answers the following question: On what weekday was the match that had Perth Glory as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (weekday VARCHAR, away VARCHAR) | SELECT weekday FROM table_name_86 WHERE away = "perth glory" |
Write a SQL query that answers the following question: What is the British record for the fish with a Guernsey record of 32-8-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (british_record VARCHAR, guernsey_record VARCHAR) | SELECT british_record FROM table_name_70 WHERE guernsey_record = "32-8-0" |
Write a SQL query that answers the following question: What year was the Guernsey record of 2-3-12 set? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (year VARCHAR, guernsey_record VARCHAR) | SELECT year FROM table_name_75 WHERE guernsey_record = "2-3-12" |
Write a SQL query that answers the following question: What was the guernsey record set with a fish caught at Bordeaux Harbour? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (guernsey_record VARCHAR, location VARCHAR) | SELECT guernsey_record FROM table_name_80 WHERE location = "bordeaux harbour" |
Write a SQL query that answers the following question: When was the film released that a less than 5038 production number and was of the character Bosko? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (release_date VARCHAR, production_num VARCHAR, characters VARCHAR) | SELECT release_date FROM table_name_21 WHERE production_num < 5038 AND characters = "bosko" |
Write a SQL query that answers the following question: With 4645 as the production number what was the title? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (title VARCHAR, production_num VARCHAR) | SELECT title FROM table_name_4 WHERE production_num = 4645 |
Write a SQL query that answers the following question: The film titled Bosko's fox hunt had what as the smallest production number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (production_num INTEGER, title VARCHAR) | SELECT MIN(production_num) FROM table_name_56 WHERE title = "bosko's fox hunt" |
Write a SQL query that answers the following question: What is the smallest production number for the LT series with the Dumb Patrol title? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (production_num INTEGER, series VARCHAR, title VARCHAR) | SELECT MIN(production_num) FROM table_name_85 WHERE series = "lt" AND title = "dumb patrol" |
Write a SQL query that answers the following question: What was the average capacity for vélez sársfield? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (capacity INTEGER, home_team_s_ VARCHAR) | SELECT AVG(capacity) FROM table_name_72 WHERE home_team_s_ = "vélez sársfield" |
Write a SQL query that answers the following question: What city was the home team Tigre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (city VARCHAR, home_team_s_ VARCHAR) | SELECT city FROM table_name_5 WHERE home_team_s_ = "tigre" |
Write a SQL query that answers the following question: What province is in Mendoza with a stadium feliciano gambarte? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (province VARCHAR, city VARCHAR, stadium VARCHAR) | SELECT province FROM table_name_72 WHERE city = "mendoza" AND stadium = "feliciano gambarte" |
Write a SQL query that answers the following question: On what date was there a tv time of ABC 8:00pm and after week 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR) | SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = "abc 8:00pm" |
Write a SQL query that answers the following question: What is total number of years that has genre of first-person shooter? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (year INTEGER, genre VARCHAR) | SELECT SUM(year) FROM table_name_50 WHERE genre = "first-person shooter" |
Write a SQL query that answers the following question: Which year is the lowest for genre of action-adventure? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (year INTEGER, genre VARCHAR) | SELECT MIN(year) FROM table_name_36 WHERE genre = "action-adventure" |
Write a SQL query that answers the following question: what is the "normalized" transliteration for Roman i | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (roman_equivalent VARCHAR) | SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i" |
Write a SQL query that answers the following question: what is the normal environment of occurrence that has a Proto-Germanic origin /ai/ | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR) | SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = "/ai/" |
Write a SQL query that answers the following question: Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR) | SELECT MIN(against) FROM table_name_66 WHERE status = "tour match" AND venue = "ravenhill , belfast" |
Write a SQL query that answers the following question: Name the average Against that has a Venue of twickenham , london on 25 november 1978? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (against INTEGER, venue VARCHAR, date VARCHAR) | SELECT AVG(against) FROM table_name_73 WHERE venue = "twickenham , london" AND date = "25 november 1978" |
Write a SQL query that answers the following question: Name the highest Against on 21 november 1978? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (against INTEGER, date VARCHAR) | SELECT MAX(against) FROM table_name_30 WHERE date = "21 november 1978" |
Write a SQL query that answers the following question: Name the Against of Venue of brewery field , bridgend? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (against VARCHAR, venue VARCHAR) | SELECT against FROM table_name_31 WHERE venue = "brewery field , bridgend" |
Write a SQL query that answers the following question: Name the Status with an Against larger than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (status VARCHAR, against INTEGER) | SELECT status FROM table_name_98 WHERE against > 15 |
Write a SQL query that answers the following question: Who is the home team when the away team is newcastle united? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_16 WHERE away_team = "newcastle united" |
Write a SQL query that answers the following question: who is the home team when the away team is wolverhampton wanderers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers" |
Write a SQL query that answers the following question: what is the date when the tie no is 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_46 WHERE tie_no = "9" |
Write a SQL query that answers the following question: who is the away team when the tie no is 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_7 WHERE tie_no = "7" |
Write a SQL query that answers the following question: what is the score when the home team is sunderland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_91 WHERE home_team = "sunderland" |
Write a SQL query that answers the following question: What is the name of the title that was directed by Friz Freleng and has a production number of 443? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR, production_number VARCHAR) | SELECT title FROM table_name_81 WHERE director = "friz freleng" AND production_number = "443" |
Write a SQL query that answers the following question: Which title has a production number of 627? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (title VARCHAR, production_number VARCHAR) | SELECT title FROM table_name_21 WHERE production_number = "627" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.