output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT modern_title_of_house FROM table_name_46 WHERE translation = "prison" | CREATE TABLE table_name_46 (modern_title_of_house VARCHAR, translation VARCHAR), Which modern house title translates to prison? |
SELECT latin_motto FROM table_name_94 WHERE translation = "spouse" | CREATE TABLE table_name_94 (latin_motto VARCHAR, translation VARCHAR), What is the Latin motto of the sign that translates to spouse? |
SELECT modern_title_of_house FROM table_name_27 WHERE house = "1st" | CREATE TABLE table_name_27 (modern_title_of_house VARCHAR, house VARCHAR), What is the modern house title of the 1st house? |
SELECT sign FROM table_name_50 WHERE modern_title_of_house = "house of partnerships" | CREATE TABLE table_name_50 (sign VARCHAR, modern_title_of_house VARCHAR), Which sign has a modern house title of House of Partnerships? |
SELECT SUM(int_yards) FROM table_name_81 WHERE assts > 3 AND player = "jay alford" | CREATE TABLE table_name_81 (int_yards INTEGER, assts VARCHAR, player VARCHAR), What is the sum for the int yards that has an assts more than 3, and player Jay Alford? |
SELECT time FROM table_name_38 WHERE score = "80-34" | CREATE TABLE table_name_38 (time VARCHAR, score VARCHAR), What is the Time with a Score that is 80-34? |
SELECT date FROM table_name_29 WHERE home = "hamilton wildcats" | CREATE TABLE table_name_29 (date VARCHAR, home VARCHAR), What is the Date with a Home that is hamilton wildcats? |
SELECT ground FROM table_name_42 WHERE date = "2008-06-20" | CREATE TABLE table_name_42 (ground VARCHAR, date VARCHAR), What is the Ground with a Date that is 2008-06-20? |
SELECT away FROM table_name_88 WHERE ground = "humber college lakeshore" | CREATE TABLE table_name_88 (away VARCHAR, ground VARCHAR), What is the Away with a Ground that is humber college lakeshore? |
SELECT time FROM table_name_7 WHERE ground = "humber college north" | CREATE TABLE table_name_7 (time VARCHAR, ground VARCHAR), What is the Time with a Ground that is humber college north? |
SELECT away FROM table_name_9 WHERE ground = "humber college north" | CREATE TABLE table_name_9 (away VARCHAR, ground VARCHAR), What is the Away with a Ground that is humber college north? |
SELECT college FROM table_name_20 WHERE round__number = 290 | CREATE TABLE table_name_20 (college VARCHAR, round__number VARCHAR), What is the College with a Round # that is 290? |
SELECT college FROM table_name_49 WHERE player = "dean caliguire" | CREATE TABLE table_name_49 (college VARCHAR, player VARCHAR), What is the College with a Player that is dean caliguire? |
SELECT first_leg FROM table_name_78 WHERE round = "semi-final" | CREATE TABLE table_name_78 (first_leg VARCHAR, round VARCHAR), What was the first leg of the semi-final? |
SELECT first_leg FROM table_name_66 WHERE opposition = "real sociedad" | CREATE TABLE table_name_66 (first_leg VARCHAR, opposition VARCHAR), What was the first leg score against Real Sociedad? |
SELECT first_leg FROM table_name_13 WHERE opposition = "hibernian" | CREATE TABLE table_name_13 (first_leg VARCHAR, opposition VARCHAR), What was the first leg against Hibernian? |
SELECT opposition FROM table_name_50 WHERE round = "quarter-final" | CREATE TABLE table_name_50 (opposition VARCHAR, round VARCHAR), Who were the opposition in the quarter-final? |
SELECT MIN(assists) FROM table_name_53 WHERE rank = 2 | CREATE TABLE table_name_53 (assists INTEGER, rank VARCHAR), What is the least number of assists among players ranked 2? |
SELECT MIN(total) FROM table_name_34 WHERE rank = "14" AND gold > 0 | CREATE TABLE table_name_34 (total INTEGER, rank VARCHAR, gold VARCHAR), What is the lowest total when the rank is 14 and the gold medals is larger than 0? |
SELECT SUM(total) FROM table_name_83 WHERE gold = 18 | CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR), What is the total number of medals when there are 18 gold medals? |
SELECT bronze FROM table_name_94 WHERE total > 1 AND silver > "2" AND rank = "2" | CREATE TABLE table_name_94 (bronze VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR), What is the number of bronze medals when the total is greater than 1, more than 2 silver medals are won, and the rank is 2? |
SELECT location FROM table_name_74 WHERE record = "12-4" | CREATE TABLE table_name_74 (location VARCHAR, record VARCHAR), What was the location of the game when the record was 12-4? |
SELECT location FROM table_name_86 WHERE record = "2-1" | CREATE TABLE table_name_86 (location VARCHAR, record VARCHAR), What was the location of the game when the record was 2-1? |
SELECT date FROM table_name_85 WHERE visitor = "cavaliers" AND home = "knicks" | CREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR, home VARCHAR), What day was the game that had the Cavaliers as visiting team and the Knicks as the home team? |
SELECT main_span_feet FROM table_name_69 WHERE year_opened > 2009 AND rank < 94 AND main_span_metres = "1,310" | CREATE TABLE table_name_69 (main_span_feet VARCHAR, main_span_metres VARCHAR, year_opened VARCHAR, rank VARCHAR), What is the main span in feet from a year of 2009 or more recent with a rank less than 94 and 1,310 main span metres? |
SELECT main_span_feet FROM table_name_43 WHERE year_opened = 1936 AND country = "united states" AND rank > 47 AND main_span_metres = "421" | CREATE TABLE table_name_43 (main_span_feet VARCHAR, main_span_metres VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR), What is the main span feet from opening year of 1936 in the United States with a rank greater than 47 and 421 main span metres? |
SELECT MAX(rank) FROM table_name_69 WHERE year_opened > 2010 AND main_span_metres = "430" | CREATE TABLE table_name_69 (rank INTEGER, year_opened VARCHAR, main_span_metres VARCHAR), What is the highest rank from the year greater than 2010 with 430 main span metres? |
SELECT MIN(year_opened) FROM table_name_52 WHERE main_span_feet = "1,640" AND country = "south korea" | CREATE TABLE table_name_52 (year_opened INTEGER, main_span_feet VARCHAR, country VARCHAR), What is the oldest year with a main span feet of 1,640 in South Korea? |
SELECT score FROM table_name_49 WHERE record = "39–21–4" | CREATE TABLE table_name_49 (score VARCHAR, record VARCHAR), What was the score of the game when the record was 39–21–4? |
SELECT date FROM table_name_60 WHERE score = "2–1" | CREATE TABLE table_name_60 (date VARCHAR, score VARCHAR), What was the date of the game with a score of 2–1? |
SELECT MIN(week) FROM table_name_10 WHERE game_site = "cleveland browns stadium" | CREATE TABLE table_name_10 (week INTEGER, game_site VARCHAR), What is the earliest week that the Texans played at the Cleveland Browns Stadium? |
SELECT date FROM table_name_90 WHERE game_site = "lp field" | CREATE TABLE table_name_90 (date VARCHAR, game_site VARCHAR), When did the Texans play at LP Field? |
SELECT name FROM table_name_11 WHERE avg_g = 195.8 | CREATE TABLE table_name_11 (name VARCHAR, avg_g VARCHAR), Which quarterback had an Avg/G of 195.8? |
SELECT royal_house FROM table_name_84 WHERE name = "polyxenos epiphanes soter" | CREATE TABLE table_name_84 (royal_house VARCHAR, name VARCHAR), Which royal house corresponds to Polyxenos Epiphanes Soter? |
SELECT mark FROM table_name_19 WHERE name = "dmytro hlushchenko" | CREATE TABLE table_name_19 (mark VARCHAR, name VARCHAR), What is Mark, when Name is Dmytro Hlushchenko? |
SELECT country FROM table_name_80 WHERE lane = 5 AND react > 0.166 | CREATE TABLE table_name_80 (country VARCHAR, lane VARCHAR, react VARCHAR), What is Country, when Lane is 5, and when React is greater than 0.166? |
SELECT MIN(lane) FROM table_name_28 WHERE country = "france" AND react < 0.14100000000000001 | CREATE TABLE table_name_28 (lane INTEGER, country VARCHAR, react VARCHAR), What is the lowest Lane, when Country is France, and when React is less than 0.14100000000000001? |
SELECT heat FROM table_name_42 WHERE mark = "6.69" | CREATE TABLE table_name_42 (heat VARCHAR, mark VARCHAR), What is Heat, when Mark is 6.69? |
SELECT AVG(points) FROM table_name_35 WHERE rank = "2nd" AND draw > 3 | CREATE TABLE table_name_35 (points INTEGER, rank VARCHAR, draw VARCHAR), What is the average number of points for a song ranked 2nd with a draw greater than 3? |
SELECT COUNT(draw) FROM table_name_64 WHERE performer = "miranda" AND points < 48 | CREATE TABLE table_name_64 (draw VARCHAR, performer VARCHAR, points VARCHAR), What is the total number of draws for songs performed by Miranda with fewer than 48 points? |
SELECT hdtv FROM table_name_54 WHERE content = "timeshift +1 di disney junior" | CREATE TABLE table_name_54 (hdtv VARCHAR, content VARCHAR), What is the HDTV when the content shows a timeshift +1 di disney junior? |
SELECT country FROM table_name_12 WHERE language = "italian english" AND television_service = "disney xd +1" | CREATE TABLE table_name_12 (country VARCHAR, language VARCHAR, television_service VARCHAR), What is the Country when the language is italian english, and the television service is disney xd +1? |
SELECT hdtv FROM table_name_67 WHERE package_option = "sky famiglia" AND television_service = "boomerang +1" | CREATE TABLE table_name_67 (hdtv VARCHAR, package_option VARCHAR, television_service VARCHAR), What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1? |
SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +1" | CREATE TABLE table_name_75 (content VARCHAR, television_service VARCHAR), What shows as Content for the Television service of nickelodeon +1? |
SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377 | CREATE TABLE table_name_23 (year_2007 INTEGER, year_2005 INTEGER), What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377? |
SELECT date FROM table_name_17 WHERE score = "97-38" | CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR), On what day was the game that ended in a score of 97-38? |
SELECT home FROM table_name_53 WHERE time = "14:00" | CREATE TABLE table_name_53 (home VARCHAR, time VARCHAR), Who was the home team of the game at the time of 14:00? |
SELECT home FROM table_name_33 WHERE time = "15:00" | CREATE TABLE table_name_33 (home VARCHAR, time VARCHAR), Who was the home team of the game at the time of 15:00? |
SELECT date FROM table_name_1 WHERE score = "97-38" | CREATE TABLE table_name_1 (date VARCHAR, score VARCHAR), On what day was the game that ended in a score of 97-38? |
SELECT away FROM table_name_57 WHERE time = "15:00" | CREATE TABLE table_name_57 (away VARCHAR, time VARCHAR), Who was the away team of the game at the time 15:00? |
SELECT ground FROM table_name_5 WHERE away = "toronto rebels" | CREATE TABLE table_name_5 (ground VARCHAR, away VARCHAR), On what grounds did the away team of the Toronto Rebels play? |
SELECT capital FROM table_name_97 WHERE hangul_chosongul = "경상남도" | CREATE TABLE table_name_97 (capital VARCHAR, hangul_chosongul VARCHAR), Which capital has a Hangul of 경상남도? |
SELECT country FROM table_name_83 WHERE hanja = "平安北道" | CREATE TABLE table_name_83 (country VARCHAR, hanja VARCHAR), Which country has a city with a Hanja of 平安北道? |
SELECT rr_romaja FROM table_name_85 WHERE hangul_chosongul = "강원도" AND capital = "wonsan" | CREATE TABLE table_name_85 (rr_romaja VARCHAR, hangul_chosongul VARCHAR, capital VARCHAR), What is the RR Romaja for the province that has Hangul of 강원도 and capital of Wonsan? |
SELECT area FROM table_name_60 WHERE hangul_chosongul = "경기도" | CREATE TABLE table_name_60 (area VARCHAR, hangul_chosongul VARCHAR), What is the area for the province having Hangul of 경기도? |
SELECT m_r_romaja FROM table_name_34 WHERE capital = "cheongju" | CREATE TABLE table_name_34 (m_r_romaja VARCHAR, capital VARCHAR), What is the M-R Romaja for the province having a capital of Cheongju? |
SELECT MAX(games) FROM table_name_41 WHERE points = 32 AND team = "montepaschi siena" AND rank > 4 | CREATE TABLE table_name_41 (games INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR), What is the highest game that has 32 points and a team rank larger than 4 named montepaschi siena |
SELECT MIN(built) FROM table_name_38 WHERE floors > 23 AND rank = 3 | CREATE TABLE table_name_38 (built INTEGER, floors VARCHAR, rank VARCHAR), What is the lowest Built, when Floors is greater than 23, and when Rank is 3? |
SELECT height FROM table_name_84 WHERE rank < 20 AND floors > 9 AND built = 2005 AND name = "the edge (c)" | CREATE TABLE table_name_84 (height VARCHAR, name VARCHAR, built VARCHAR, rank VARCHAR, floors VARCHAR), What is Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)? |
SELECT MIN(floors) FROM table_name_90 WHERE built > 1970 AND name = "nv building 3" | CREATE TABLE table_name_90 (floors INTEGER, built VARCHAR, name VARCHAR), What is the lowest Floors, when Built is greater than 1970, and when Name is NV Building 3? |
SELECT COUNT(built) FROM table_name_55 WHERE floors < 22 AND rank < 8 AND name = "white, mediacityuk" | CREATE TABLE table_name_55 (built VARCHAR, name VARCHAR, floors VARCHAR, rank VARCHAR), What is the total number of Built, when Floors is less than 22, when Rank is less than 8, and when Name is White, Mediacityuk? |
SELECT height FROM table_name_80 WHERE home_town = "las vegas, nv" | CREATE TABLE table_name_80 (height VARCHAR, home_town VARCHAR), What is the height of the player from Las Vegas, NV? |
SELECT name FROM table_name_44 WHERE position = "guard" AND home_town = "cary, nc" | CREATE TABLE table_name_44 (name VARCHAR, position VARCHAR, home_town VARCHAR), What is the name of the guard from Cary, NC? |
SELECT year FROM table_name_90 WHERE position = "forward" AND name = "iman mcfarland" | CREATE TABLE table_name_90 (year VARCHAR, position VARCHAR, name VARCHAR), In what year of school is the forward Iman McFarland? |
SELECT height FROM table_name_56 WHERE position = "guard" AND year = "freshman" AND name = "cetera degraffenreid" | CREATE TABLE table_name_56 (height VARCHAR, name VARCHAR, position VARCHAR, year VARCHAR), How tall is the freshman guard Cetera Degraffenreid? |
SELECT position FROM table_name_10 WHERE height = "5-8" AND home_town = "grottoes, va" | CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR, home_town VARCHAR), What position does the 5-8 player from Grottoes, VA play? |
SELECT year FROM table_name_52 WHERE home_town = "fayetteville, nc" | CREATE TABLE table_name_52 (year VARCHAR, home_town VARCHAR), In what year of school is the player from Fayetteville, NC? |
SELECT team FROM table_name_76 WHERE game > 56 AND score = "l 85–90 (ot)" | CREATE TABLE table_name_76 (team VARCHAR, game VARCHAR, score VARCHAR), What is the Team with a game of more than 56, and the score is l 85–90 (ot)? |
SELECT record FROM table_name_5 WHERE high_rebounds = "antonio davis (9)" | CREATE TABLE table_name_5 (record VARCHAR, high_rebounds VARCHAR), What is the Record when the high rebounds was Antonio Davis (9)? |
SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa" | CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR), What is the home score with marek dupnitsa as opponent? |
SELECT label FROM table_name_60 WHERE catalog = "b0011141-01" | CREATE TABLE table_name_60 (label VARCHAR, catalog VARCHAR), What is the Label of the B0011141-01 Catalog? |
SELECT label FROM table_name_42 WHERE catalog = "uici-1069" | CREATE TABLE table_name_42 (label VARCHAR, catalog VARCHAR), What is the Label of the UICI-1069 Catalog? |
SELECT region FROM table_name_71 WHERE catalog = "1766390" | CREATE TABLE table_name_71 (region VARCHAR, catalog VARCHAR), What is the Region of the 1766390 Catalog? |
SELECT school_club_team FROM table_name_27 WHERE player = "dominique wilkins" | CREATE TABLE table_name_27 (school_club_team VARCHAR, player VARCHAR), What School/Club did Dominique Wilkins play for? |
SELECT outcome FROM table_name_7 WHERE score = "4–6, 6–4, 6–3, 7–6 (7–2)" | CREATE TABLE table_name_7 (outcome VARCHAR, score VARCHAR), What is the outcome of the 4–6, 6–4, 6–3, 7–6 (7–2) score? |
SELECT outcome FROM table_name_89 WHERE opponent = "roger federer" | CREATE TABLE table_name_89 (outcome VARCHAR, opponent VARCHAR), What is the outcome of the match with Roger Federer as the opponent? |
SELECT surface FROM table_name_84 WHERE championship = "australian open (1)" | CREATE TABLE table_name_84 (surface VARCHAR, championship VARCHAR), What surface was the Australian Open (1) played on? |
SELECT MAX(rank) FROM table_name_92 WHERE matches = 362 | CREATE TABLE table_name_92 (rank INTEGER, matches VARCHAR), What is the Rank of the player with 362 Matches? |
SELECT COUNT(rank) FROM table_name_85 WHERE goals = 158 AND matches > 362 | CREATE TABLE table_name_85 (rank VARCHAR, goals VARCHAR, matches VARCHAR), What is the Rank of the player with 158 Goals in more than 362 Matches? |
SELECT COUNT(drawn) FROM table_name_9 WHERE played > 12 | CREATE TABLE table_name_9 (drawn VARCHAR, played INTEGER), What is the sum of drawn that has a played more than 12? |
SELECT difference FROM table_name_66 WHERE points > 10 AND drawn < 2 | CREATE TABLE table_name_66 (difference VARCHAR, points VARCHAR, drawn VARCHAR), What difference has a points greater than 10, and a drawn less than 2? |
SELECT result FROM table_name_41 WHERE attendance = "72,949" | CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR), What is the Result of the game with 72,949 in attendance? |
SELECT attendance FROM table_name_39 WHERE week < 16 AND date = "bye" | CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, date VARCHAR), What is the Attendance for a Week earlier than 16, and a Date of bye? |
SELECT result FROM table_name_70 WHERE opponent = "indianapolis colts" | CREATE TABLE table_name_70 (result VARCHAR, opponent VARCHAR), What is the Result of the game against the Indianapolis Colts? |
SELECT song FROM table_name_25 WHERE points > 66 AND draw > 3 AND rank = "3rd" | CREATE TABLE table_name_25 (song VARCHAR, rank VARCHAR, points VARCHAR, draw VARCHAR), Which song has more than 66 points, a draw greater than 3, and is ranked 3rd? |
SELECT MIN(points) FROM table_name_60 WHERE rank = "1st" | CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR), What is the lowest points when the ranking is 1st? |
SELECT AVG(points) FROM table_name_63 WHERE rank = "7th" AND draw < 4 | CREATE TABLE table_name_63 (points INTEGER, rank VARCHAR, draw VARCHAR), What is the average number of points when the ranking is 7th and the draw is less than 4? |
SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1" | CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR), What is the total number of points of the honda hr-1 engine? |
SELECT rank FROM table_name_50 WHERE year < 2002 AND chassis = "reynard 2ki" | CREATE TABLE table_name_50 (rank VARCHAR, year VARCHAR, chassis VARCHAR), What is the rank of the reynard 2ki chassis before 2002? |
SELECT home_team FROM table_name_80 WHERE date = "april 13, 2008" AND away_team = "itabuna" | CREATE TABLE table_name_80 (home_team VARCHAR, date VARCHAR, away_team VARCHAR), Who was the home team on April 13, 2008 when Itabuna was the away team? |
SELECT home_team FROM table_name_57 WHERE round = "2nd" AND away_team = "vitória da conquista" | CREATE TABLE table_name_57 (home_team VARCHAR, round VARCHAR, away_team VARCHAR), What is the name of the home team with a round of 2nd and Vitória da Conquista as the way team? |
SELECT home_team FROM table_name_48 WHERE date = "april 13, 2008" AND away_team = "itabuna" | CREATE TABLE table_name_48 (home_team VARCHAR, date VARCHAR, away_team VARCHAR), What is the name of the home team on April 13, 2008 when Itabuna was the away team? |
SELECT home_team FROM table_name_30 WHERE score = "5 - 5" | CREATE TABLE table_name_30 (home_team VARCHAR, score VARCHAR), What home team has a score of 5 - 5? |
SELECT date FROM table_name_54 WHERE score = "0 - 0" | CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR), On which date was the score 0 - 0? |
SELECT home_team FROM table_name_89 WHERE away_team = "vitória" | CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR), Who played as the home team when Vitória was the away team? |
SELECT MIN(grid) FROM table_name_30 WHERE time_retired = "+ 5 laps" AND laps < 161 | CREATE TABLE table_name_30 (grid INTEGER, time_retired VARCHAR, laps VARCHAR), What grid is the lowest when the time/retired is + 5 laps and the laps is less than 161? |
SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs" | CREATE TABLE table_name_34 (points INTEGER, grid VARCHAR, time_retired VARCHAR), What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs? |
SELECT AVG(laps) FROM table_name_96 WHERE driver = "ricardo sperafico" | CREATE TABLE table_name_96 (laps INTEGER, driver VARCHAR), Driver Ricardo Sperafico has what as his average laps? |
SELECT driver FROM table_name_35 WHERE points = 6 | CREATE TABLE table_name_35 (driver VARCHAR, points VARCHAR), What is the name of the driver with 6 points? |
SELECT AVG(points) FROM table_name_54 WHERE driver = "ryan hunter-reay" | CREATE TABLE table_name_54 (points INTEGER, driver VARCHAR), What is the average points that the driver Ryan Hunter-Reay has? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.