output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT COUNT(year) FROM table_name_30 WHERE competition = "anugerah bintang popular berita harian 23" | CREATE TABLE table_name_30 (year VARCHAR, competition VARCHAR), What was the year that had Anugerah Bintang Popular Berita Harian 23 as competition? |
SELECT round FROM table_name_55 WHERE opponent = "watford" | CREATE TABLE table_name_55 (round VARCHAR, opponent VARCHAR), What round was the game against Watford? |
SELECT round FROM table_name_44 WHERE venue = "n" AND result = "5-1" | CREATE TABLE table_name_44 (round VARCHAR, venue VARCHAR, result VARCHAR), What round was the game with a result of 5-1 at N venue? |
SELECT MAX(attendance) FROM table_name_94 WHERE result = "5-1" | CREATE TABLE table_name_94 (attendance INTEGER, result VARCHAR), What is the highest attendance at a game with a result of 5-1? |
SELECT country FROM table_name_99 WHERE date = "december 8, 1968" | CREATE TABLE table_name_99 (country VARCHAR, date VARCHAR), What was the nationality of the winner on December 8, 1968? |
SELECT date FROM table_name_43 WHERE edition = "48th" | CREATE TABLE table_name_43 (date VARCHAR, edition VARCHAR), On what date was the 48th Edition raced? |
SELECT country FROM table_name_90 WHERE edition = "42nd" | CREATE TABLE table_name_90 (country VARCHAR, edition VARCHAR), What was the nationality of the winner of the 42nd Edition? |
SELECT country FROM table_name_84 WHERE edition = "20th" | CREATE TABLE table_name_84 (country VARCHAR, edition VARCHAR), What was the nationality of the winner for the 20th Edition? |
SELECT winner FROM table_name_58 WHERE edition = "23rd" | CREATE TABLE table_name_58 (winner VARCHAR, edition VARCHAR), Who was the winner of the 23rd Edition? |
SELECT report FROM table_name_8 WHERE date = "1 september" | CREATE TABLE table_name_8 (report VARCHAR, date VARCHAR), Who reported the game played on 1 september? |
SELECT report FROM table_name_67 WHERE date = "6 october" | CREATE TABLE table_name_67 (report VARCHAR, date VARCHAR), Who reported the game on 6 october? |
SELECT venue FROM table_name_19 WHERE date = "20 may" | CREATE TABLE table_name_19 (venue VARCHAR, date VARCHAR), Where was the game played on 20 may? |
SELECT score FROM table_name_49 WHERE date = "1 september" | CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR), What was the score of the game on 1 september? |
SELECT date FROM table_name_85 WHERE label = "total holocaust records" AND format = "ed remaster cassette" | CREATE TABLE table_name_85 (date VARCHAR, label VARCHAR, format VARCHAR), Which date has Total Holocaust records in the ed Remaster cassette format? |
SELECT country FROM table_name_43 WHERE date = "2004" AND catalog_nr = "thr-048" | CREATE TABLE table_name_43 (country VARCHAR, date VARCHAR, catalog_nr VARCHAR), Which country has the catalog nr of thr-048 in 2004? |
SELECT country FROM table_name_97 WHERE label = "debemur morti prod." | CREATE TABLE table_name_97 (country VARCHAR, label VARCHAR), What country is the Debemur Morti prod. label from? |
SELECT sales_total FROM table_name_30 WHERE chart = "oricon monthly albums chart" | CREATE TABLE table_name_30 (sales_total VARCHAR, chart VARCHAR), Which Sales Total has a Chart of oricon monthly albums chart? |
SELECT chart FROM table_name_68 WHERE peak_position = 1 | CREATE TABLE table_name_68 (chart VARCHAR, peak_position VARCHAR), Which Chart has a Peak Position of 1? |
SELECT date FROM table_name_7 WHERE record = "1-3" | CREATE TABLE table_name_7 (date VARCHAR, record VARCHAR), When has a Record of 1-3? |
SELECT visitor FROM table_name_74 WHERE home = "chicago black hawks" AND date = "april 20" | CREATE TABLE table_name_74 (visitor VARCHAR, home VARCHAR, date VARCHAR), Name the Visitor that has a Home of chicago black hawks on april 20? |
SELECT score FROM table_name_61 WHERE record = "0-1" | CREATE TABLE table_name_61 (score VARCHAR, record VARCHAR), Which Score has a Record of 0-1? |
SELECT date FROM table_name_34 WHERE record = "1-4" | CREATE TABLE table_name_34 (date VARCHAR, record VARCHAR), Which Date has a Record of 1-4? |
SELECT home FROM table_name_45 WHERE date = "april 22" | CREATE TABLE table_name_45 (home VARCHAR, date VARCHAR), Which Home is on april 22? |
SELECT score FROM table_name_48 WHERE visitor = "buffalo sabres" AND record = "1-3" | CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR, record VARCHAR), Which Score has a Visitor of buffalo sabres and a Record of 1-3? |
SELECT record FROM table_name_64 WHERE date = "february 26" | CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR), What is the Record of the February 26 date? |
SELECT record FROM table_name_47 WHERE date = "february 10" | CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR), What is the Record from February 10? |
SELECT score FROM table_name_30 WHERE home = "chicago black hawks" AND visitor = "vancouver canucks" AND date = "november 17" | CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR), What is the Score of the Chicago Black Hawks Home game with the Visiting Vancouver Canucks on November 17? |
SELECT service_name FROM table_name_60 WHERE owner = "utv" | CREATE TABLE table_name_60 (service_name VARCHAR, owner VARCHAR), What Service Name has UTV as the owner? |
SELECT download FROM table_name_55 WHERE catch_up_period = "varies" | CREATE TABLE table_name_55 (download VARCHAR, catch_up_period VARCHAR), What is the download of the varies catch-up period? |
SELECT catch_up_period FROM table_name_30 WHERE owner = "utv" | CREATE TABLE table_name_30 (catch_up_period VARCHAR, owner VARCHAR), What is the Catch-up period for UTV? |
SELECT service_name FROM table_name_53 WHERE owner = "bbc" | CREATE TABLE table_name_53 (service_name VARCHAR, owner VARCHAR), What is the Service name of BBC? |
SELECT MIN(wins) FROM table_name_15 WHERE byes < 0 | CREATE TABLE table_name_15 (wins INTEGER, byes INTEGER), What is the lowest number of wins where the byes are less than 0? |
SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0 | CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, draws VARCHAR), What is the lowest number of wins where the losses are more than 12 and the draws are less than 0? |
SELECT AVG(wins) FROM table_name_31 WHERE byes < 0 | CREATE TABLE table_name_31 (wins INTEGER, byes INTEGER), What is the average of wins when the byes are less than 0? |
SELECT COUNT(losses) FROM table_name_36 WHERE byes > 0 | CREATE TABLE table_name_36 (losses VARCHAR, byes INTEGER), What is the total number of losses where the byes were greater than 0? |
SELECT MAX(byes) FROM table_name_93 WHERE losses = 9 AND draws < 0 | CREATE TABLE table_name_93 (byes INTEGER, losses VARCHAR, draws VARCHAR), What is the highest number of byes where the losses were 9 and the draws were less than 0? |
SELECT AVG(losses) FROM table_name_73 WHERE geelong_dfl = "bell post hill" AND draws < 0 | CREATE TABLE table_name_73 (losses INTEGER, geelong_dfl VARCHAR, draws VARCHAR), What are the average losses for Geelong DFL of Bell Post Hill where the draws are less than 0? |
SELECT MIN(yards) FROM table_name_5 WHERE carries < 23 AND team = "at chi" AND average < 8.5 | CREATE TABLE table_name_5 (yards INTEGER, average VARCHAR, carries VARCHAR, team VARCHAR), Which Yards have Carries smaller than 23, and a Team of at chi, and an Average smaller than 8.5? |
SELECT team FROM table_name_18 WHERE carries = 19 AND week > 13 | CREATE TABLE table_name_18 (team VARCHAR, carries VARCHAR, week VARCHAR), Which Team has 19 Carries, and a Week larger than 13? |
SELECT MIN(average) FROM table_name_98 WHERE yards > 167 AND team = "at tb" AND week > 7 | CREATE TABLE table_name_98 (average INTEGER, week VARCHAR, yards VARCHAR, team VARCHAR), Which Average has Yards larger than 167, and a Team of at tb, and a Week larger than 7? |
SELECT result FROM table_name_17 WHERE attendance = "57,234" | CREATE TABLE table_name_17 (result VARCHAR, attendance VARCHAR), What is the result of the game with 57,234 people in attendance? |
SELECT attendance FROM table_name_56 WHERE kickoff_time = "cbs 1:00pm" AND week < 8 AND date = "september 15, 2002" | CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR, kickoff_time VARCHAR, week VARCHAR), How many people attended the game with a kickoff time of cbs 1:00pm, in a week earlier than 8, on September 15, 2002? |
SELECT kickoff_time FROM table_name_92 WHERE week = 17 | CREATE TABLE table_name_92 (kickoff_time VARCHAR, week VARCHAR), What is the kickoff time for the game in week of 17? |
SELECT AVG(week) FROM table_name_71 WHERE opponent = "san diego chargers" | CREATE TABLE table_name_71 (week INTEGER, opponent VARCHAR), What week was the opponent the San Diego Chargers? |
SELECT COUNT(week) FROM table_name_12 WHERE kickoff_time = "cbs 1:00pm" AND attendance = "60,473" | CREATE TABLE table_name_12 (week VARCHAR, kickoff_time VARCHAR, attendance VARCHAR), What week number was the kickoff time cbs 1:00pm, with 60,473 people in attendance? |
SELECT kickoff_time FROM table_name_28 WHERE date = "november 10, 2002" | CREATE TABLE table_name_28 (kickoff_time VARCHAR, date VARCHAR), What is the kickoff time on November 10, 2002? |
SELECT district FROM table_name_31 WHERE college_or_campus_name = "anna university college of engineering kanchipuram" | CREATE TABLE table_name_31 (district VARCHAR, college_or_campus_name VARCHAR), What District has a College or Campus Name of anna university college of engineering kanchipuram? |
SELECT district FROM table_name_24 WHERE location = "tharamani" | CREATE TABLE table_name_24 (district VARCHAR, location VARCHAR), What District has a Location of tharamani? |
SELECT location FROM table_name_81 WHERE college_or_campus_name = "anna university - tharamani campus" | CREATE TABLE table_name_81 (location VARCHAR, college_or_campus_name VARCHAR), What Location has a College or Campus Name of anna university - tharamani campus? |
SELECT weblink FROM table_name_85 WHERE college_or_campus_name = "anna university college of engineering kanchipuram" | CREATE TABLE table_name_85 (weblink VARCHAR, college_or_campus_name VARCHAR), What Weblink has a College or Campus Name of anna university college of engineering kanchipuram? |
SELECT district FROM table_name_53 WHERE location = "villupuram" | CREATE TABLE table_name_53 (district VARCHAR, location VARCHAR), What District has a Location of villupuram? |
SELECT weblink FROM table_name_76 WHERE college_or_campus_name = "anna university college of engineering tindivanam" | CREATE TABLE table_name_76 (weblink VARCHAR, college_or_campus_name VARCHAR), What Weblink has a College or Campus Name of anna university college of engineering tindivanam? |
SELECT super_g FROM table_name_31 WHERE victories = 26 AND country = "austria" | CREATE TABLE table_name_31 (super_g VARCHAR, victories VARCHAR, country VARCHAR), What Super G has Victories of 26, and a Country of austria? |
SELECT super_g FROM table_name_25 WHERE career = "1980–1996" | CREATE TABLE table_name_25 (super_g VARCHAR, career VARCHAR), What Super G has a Career of 1980–1996? |
SELECT career FROM table_name_6 WHERE parallel = "–" AND combined = "–" AND giant_slalom = "5" | CREATE TABLE table_name_6 (career VARCHAR, giant_slalom VARCHAR, parallel VARCHAR, combined VARCHAR), What Career has a Parallel of –, a Combined of –, and a Giant Slalom of 5? |
SELECT country FROM table_name_26 WHERE career = "1989–2004" | CREATE TABLE table_name_26 (country VARCHAR, career VARCHAR), What Country has a Career of 1989–2004? |
SELECT giant_slalom FROM table_name_45 WHERE victories > 27 AND slalom = "–" AND career = "1996–2009" | CREATE TABLE table_name_45 (giant_slalom VARCHAR, career VARCHAR, victories VARCHAR, slalom VARCHAR), What Giant Slalom has Victories larger than 27, a Slalom of –, and a Career of 1996–2009? |
SELECT career FROM table_name_61 WHERE super_g = "5" AND combined = "6" | CREATE TABLE table_name_61 (career VARCHAR, super_g VARCHAR, combined VARCHAR), What Career has a Super G of 5, and a Combined of 6? |
SELECT class FROM table_name_32 WHERE year_s__of_manufacture = "1899" | CREATE TABLE table_name_32 (class VARCHAR, year_s__of_manufacture VARCHAR), Which Class has a Year(s) of Manufacture of 1899? |
SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = "7001–7165" | CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR), Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165? |
SELECT MIN(quantity) FROM table_name_87 WHERE type = "e h4v" AND year_s__of_manufacture = "1920–1924" | CREATE TABLE table_name_87 (quantity INTEGER, type VARCHAR, year_s__of_manufacture VARCHAR), Which Quantity has a Type of e h4v, and a Year(s) of Manufacture of 1920–1924? |
SELECT outcome FROM table_name_1 WHERE championship = "premier league snooker" AND year < 2010 | CREATE TABLE table_name_1 (outcome VARCHAR, championship VARCHAR, year VARCHAR), What was Shaun Murphy's outcome in the Premier League Snooker championship held before 2010? |
SELECT league FROM table_name_33 WHERE home = "3-1" | CREATE TABLE table_name_33 (league VARCHAR, home VARCHAR), What league has a 3-1 home? |
SELECT home FROM table_name_99 WHERE away = "1-1" AND season = "2004-05" | CREATE TABLE table_name_99 (home VARCHAR, away VARCHAR, season VARCHAR), What is the home with a 1-1 away in the 2004-05 season? |
SELECT teams FROM table_name_41 WHERE season = "2006-07" | CREATE TABLE table_name_41 (teams VARCHAR, season VARCHAR), Which teams were in the 2006-07 season? |
SELECT league FROM table_name_37 WHERE home = "0:1" | CREATE TABLE table_name_37 (league VARCHAR, home VARCHAR), What is the league with a 0:1 home? |
SELECT season FROM table_name_38 WHERE league = "regionalliga süd" AND home = "1-0" AND away = "2-3" | CREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR), What season has a regionalliga süd league, a 1-0 home, and an away of 2-3? |
SELECT season FROM table_name_41 WHERE league = "regionalliga süd (iii)" | CREATE TABLE table_name_41 (season VARCHAR, league VARCHAR), Which season has the regionalliga süd (iii) league? |
SELECT MIN(gold) FROM table_name_71 WHERE bronze = 2 AND rank = 6 AND total > 2 | CREATE TABLE table_name_71 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR), What is the smallest number of gold of a country of rank 6, with 2 bronzes? |
SELECT rank FROM table_name_83 WHERE total > 2 AND gold = 2 | CREATE TABLE table_name_83 (rank VARCHAR, total VARCHAR, gold VARCHAR), What is the rank of the country with more than 2 medals, and 2 gold medals? |
SELECT SUM(total) FROM table_name_32 WHERE silver > 1 | CREATE TABLE table_name_32 (total INTEGER, silver INTEGER), How many total medals does a country with more than 1 silver medals have? |
SELECT co_contestant__yaar_vs_pyaar_ FROM table_name_90 WHERE main_contestant = "vishal singh" | CREATE TABLE table_name_90 (co_contestant__yaar_vs_pyaar_ VARCHAR, main_contestant VARCHAR), Who is the co-contestant (yaar vs. Pyaar) with Vishal Singh as the main contestant? |
SELECT main_contestant FROM table_name_62 WHERE scores_by_each_individual_judge = 8 + 7 + 7 = 21 | CREATE TABLE table_name_62 (main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR), Who is the main contestant with scores by each individual judge of 8 + 7 + 7 = 21? |
SELECT main_contestant FROM table_name_29 WHERE total_score_week = "42/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev" | CREATE TABLE table_name_29 (main_contestant VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR), Who is the main contestant with a total score/week of 42/60 and a co-contestant (Yaar vs. Pyaa) of Tina Sachdev? |
SELECT position FROM table_name_60 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev" | CREATE TABLE table_name_60 (position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR), What is Tina Sachdev's position? |
SELECT rank FROM table_name_43 WHERE mountain_peak = "crested butte pb" | CREATE TABLE table_name_43 (rank VARCHAR, mountain_peak VARCHAR), Name the Rank of Rank Mountain Peak of crested butte pb? |
SELECT prominence FROM table_name_81 WHERE mountain_peak = "matchless mountain pb" | CREATE TABLE table_name_81 (prominence VARCHAR, mountain_peak VARCHAR), Name the Prominence of the Mountain Peak of matchless mountain pb? |
SELECT year FROM table_name_63 WHERE nominee = "mary elizabeth mastrantonio" | CREATE TABLE table_name_63 (year VARCHAR, nominee VARCHAR), What year was Mary Elizabeth Mastrantonio nominated? |
SELECT result FROM table_name_90 WHERE category = "best revival of a musical" | CREATE TABLE table_name_90 (result VARCHAR, category VARCHAR), What was the result for the nomination of Best Revival of a Musical? |
SELECT nanquan FROM table_name_76 WHERE nandao > 9.49 AND rank = 4 | CREATE TABLE table_name_76 (nanquan VARCHAR, nandao VARCHAR, rank VARCHAR), Which Nanquan has a Nandao larger than 9.49, and a Rank of 4? |
SELECT MIN(nanquan) FROM table_name_27 WHERE nandao < 9.44 AND rank < 9 AND total > 18.68 | CREATE TABLE table_name_27 (nanquan INTEGER, total VARCHAR, nandao VARCHAR, rank VARCHAR), Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and a Total larger than 18.68? |
SELECT SUM(week) FROM table_name_75 WHERE winning_team = "yellow team" AND event = "foos it or lose it" | CREATE TABLE table_name_75 (week INTEGER, winning_team VARCHAR, event VARCHAR), How many weeks have a Winning team of yellow team, and an Event of foos it or lose it? |
SELECT week FROM table_name_62 WHERE air_date = "august 2, 2008" | CREATE TABLE table_name_62 (week VARCHAR, air_date VARCHAR), Which Week has an Air Date of august 2, 2008? |
SELECT week FROM table_name_73 WHERE air_date = "august 30, 2008" | CREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR), Which Week has an Air Date of august 30, 2008? |
SELECT winners_club FROM table_name_20 WHERE week = 4.5 | CREATE TABLE table_name_20 (winners_club VARCHAR, week VARCHAR), Which Winners club has a Week of 4.5? |
SELECT winners_club FROM table_name_68 WHERE event = "hang tight" | CREATE TABLE table_name_68 (winners_club VARCHAR, event VARCHAR), Which Winners club has an Event of hang tight? |
SELECT date FROM table_name_80 WHERE tie_no = "4" | CREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR), on what date was tie number 4? |
SELECT tie_no FROM table_name_3 WHERE home_team = "minehead" | CREATE TABLE table_name_3 (tie_no VARCHAR, home_team VARCHAR), minehead has what tie number? |
SELECT tie_no FROM table_name_47 WHERE home_team = "enfield" | CREATE TABLE table_name_47 (tie_no VARCHAR, home_team VARCHAR), what is enfield's tie number? |
SELECT show FROM table_name_15 WHERE network__last_aired_ = "abc" AND last_aired > 2002 | CREATE TABLE table_name_15 (show VARCHAR, network__last_aired_ VARCHAR, last_aired VARCHAR), What show was played on ABC laster after 2002? |
SELECT returning FROM table_name_49 WHERE show = "soul train music awards" | CREATE TABLE table_name_49 (returning VARCHAR, show VARCHAR), When did soul train music awards return? |
SELECT returning FROM table_name_13 WHERE last_aired = 2002 | CREATE TABLE table_name_13 (returning VARCHAR, last_aired VARCHAR), When did a show last aired in 2002 return? |
SELECT venue FROM table_name_89 WHERE past_season = "2nd" | CREATE TABLE table_name_89 (venue VARCHAR, past_season VARCHAR), What Venue has a Past Season of 2nd? |
SELECT MAX(capacity) FROM table_name_93 WHERE head_coach = "ali asghar modir roosta" | CREATE TABLE table_name_93 (capacity INTEGER, head_coach VARCHAR), What is the Capacity of the Venue of Head Coach Ali Asghar Modir Roosta? |
SELECT SUM(capacity) FROM table_name_34 WHERE head_coach = "farhad kazemi" | CREATE TABLE table_name_34 (capacity INTEGER, head_coach VARCHAR), What is the Capacity of the Venue of Head Coach Farhad Kazemi? |
SELECT COUNT(1991 AS _1992) FROM table_name_57 WHERE team = "gimnasia de la plata" AND points > 113 | CREATE TABLE table_name_57 (team VARCHAR, points VARCHAR), How much 1991-1992 has a Team of gimnasia de la plata, and more than 113 points? |
SELECT role FROM table_name_22 WHERE pick__number = 10 | CREATE TABLE table_name_22 (role VARCHAR, pick__number VARCHAR), What role did Pick # 10 have? |
SELECT employee__real_name_ FROM table_name_94 WHERE pick__number < 6 AND brand__from_ = "raw" AND role = "male wrestler" | CREATE TABLE table_name_94 (employee__real_name_ VARCHAR, role VARCHAR, pick__number VARCHAR, brand__from_ VARCHAR), What is the real name of the male wrestler from Raw with a pick # smaller than 6? |
SELECT brand__from_ FROM table_name_5 WHERE pick__number = 3 | CREATE TABLE table_name_5 (brand__from_ VARCHAR, pick__number VARCHAR), Pick # 3 works for which brand? |
SELECT employee__real_name_ FROM table_name_67 WHERE pick__number > 9 | CREATE TABLE table_name_67 (employee__real_name_ VARCHAR, pick__number INTEGER), What is the real name of the Pick # that is greater than 9? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.