output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT title FROM table_name_54 WHERE character = "sheyda/ashraf" | CREATE TABLE table_name_54 (title VARCHAR, character VARCHAR), What is the title of the TV series with a character of Sheyda/Ashraf? |
SELECT year FROM table_name_88 WHERE character = "leiloon bala barareh" | CREATE TABLE table_name_88 (year VARCHAR, character VARCHAR), What is the year of the TV series that has a character of Leiloon Bala Barareh? |
SELECT title FROM table_name_70 WHERE year = "2012" | CREATE TABLE table_name_70 (title VARCHAR, year VARCHAR), What is the title of the TV series in 2012? |
SELECT publisher FROM table_name_17 WHERE year = "2014" AND title = "star citizen" | CREATE TABLE table_name_17 (publisher VARCHAR, year VARCHAR, title VARCHAR), Who published Star Citizen in 2014? |
SELECT title FROM table_name_96 WHERE developer = "battlecry studios" | CREATE TABLE table_name_96 (title VARCHAR, developer VARCHAR), Which title was developed by Battlecry Studios? |
SELECT attendance FROM table_name_66 WHERE date = "july 13" | CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR), How many people were at the match on July 13/ |
SELECT opponent FROM table_name_44 WHERE date = "july 27" | CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR), Who was the opponent on July 27? |
SELECT losing_bonus FROM table_name_48 WHERE points_for = "416" AND club = "ynysybwl rfc" | CREATE TABLE table_name_48 (losing_bonus VARCHAR, points_for VARCHAR, club VARCHAR), For Ynysybwl RFC, what was the losing bonus for 416 points? |
SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5" | CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR), For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn? |
SELECT points_against FROM table_name_51 WHERE drawn = "0" AND tries_for = "50" | CREATE TABLE table_name_51 (points_against VARCHAR, drawn VARCHAR, tries_for VARCHAR), For the club that had tries of 50 and drawn of 0, what were the points? |
SELECT losing_bonus FROM table_name_71 WHERE points_against = "546" | CREATE TABLE table_name_71 (losing_bonus VARCHAR, points_against VARCHAR), The club that had 546 points against, what was the losing bonus? |
SELECT lost FROM table_name_47 WHERE club = "ynysybwl rfc" | CREATE TABLE table_name_47 (lost VARCHAR, club VARCHAR), What is the lost of Ynysybwl RFC? |
SELECT points FROM table_name_41 WHERE "club" = "club" | CREATE TABLE table_name_41 (points VARCHAR), How many points does Club have? |
SELECT part_6 FROM table_name_89 WHERE part_4 = "march 2, 2008" | CREATE TABLE table_name_89 (part_6 VARCHAR, part_4 VARCHAR), When is Part 6, when Part 4 is on March 2, 2008? |
SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008" | CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR), What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008? |
SELECT part_2 FROM table_name_44 WHERE part_4 = "december 9, 2007" | CREATE TABLE table_name_44 (part_2 VARCHAR, part_4 VARCHAR), When is Part 2, when Part 4 is on December 9, 2007? |
SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008" | CREATE TABLE table_name_88 (part_1 VARCHAR, part_4 VARCHAR), When is Part 1, when Part 4 is on February 10, 2008? |
SELECT part_2 FROM table_name_42 WHERE part_5 = "january 24, 2008" | CREATE TABLE table_name_42 (part_2 VARCHAR, part_5 VARCHAR), When is Part 2, when Part 5 is on January 24, 2008? |
SELECT opponent_in_the_final FROM table_name_11 WHERE surface = "hard" | CREATE TABLE table_name_11 (opponent_in_the_final VARCHAR, surface VARCHAR), Who was the finals opponent on the hard surface tournament? |
SELECT surface FROM table_name_46 WHERE tournament = "curitiba" | CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR), Which surface was played during Curitiba tournament? |
SELECT MAX(round) FROM table_name_92 WHERE event = "ufc 109" | CREATE TABLE table_name_92 (round INTEGER, event VARCHAR), What is the highest round for UFC 109? |
SELECT round FROM table_name_92 WHERE opponent = "manny gamburyan" | CREATE TABLE table_name_92 (round VARCHAR, opponent VARCHAR), What round was the opponent Manny Gamburyan? |
SELECT SUM(week) FROM table_name_75 WHERE date = "december 6, 1964" | CREATE TABLE table_name_75 (week INTEGER, date VARCHAR), What was the week of the game played December 6, 1964? |
SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0 | CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR), What is the fewest losses that had an against score of 2190 and more than 0 draws? |
SELECT MIN(draws) FROM table_name_75 WHERE byes > 0 | CREATE TABLE table_name_75 (draws INTEGER, byes INTEGER), What is the fewest number of draws for teams with more than 0 byes? |
SELECT SUM(losses) FROM table_name_95 WHERE bellarine_fl = "geelong amateur" AND byes < 0 | CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR), What is the sum of losses for Geelong Amateur, with 0 byes? |
SELECT SUM(wins) FROM table_name_51 WHERE draws > 0 | CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER), What is the sum of the number of wins for teams with more than 0 draws? |
SELECT stadium FROM table_name_1 WHERE host_team = "jacksonville jaguars" | CREATE TABLE table_name_1 (stadium VARCHAR, host_team VARCHAR), What is the Stadium that hosts the team Jacksonville Jaguars? |
SELECT stadium FROM table_name_45 WHERE date = "november 13" | CREATE TABLE table_name_45 (stadium VARCHAR, date VARCHAR), What stadium was used on November 13? |
SELECT host_team FROM table_name_70 WHERE stadium = "lincoln financial field" | CREATE TABLE table_name_70 (host_team VARCHAR, stadium VARCHAR), What is the host team with the stadium Lincoln Financial Field? |
SELECT visiting_team FROM table_name_22 WHERE stadium = "cleveland browns stadium" | CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR), What team visited the Cleveland Browns Stadium? |
SELECT stadium FROM table_name_60 WHERE visiting_team = "denver broncos" | CREATE TABLE table_name_60 (stadium VARCHAR, visiting_team VARCHAR), What stadium did the Denver Broncos visit? |
SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium" | CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR), What team visited the Jacksonville Municipal Stadium? |
SELECT COUNT(boardings_and_deboardings) FROM table_name_68 WHERE city = "linthicum" | CREATE TABLE table_name_68 (boardings_and_deboardings VARCHAR, city VARCHAR), How many people boarded and de-boarded the Amtrak in Linthicum? |
SELECT total FROM table_name_86 WHERE europe = "00 0 0 (0)" | CREATE TABLE table_name_86 (total VARCHAR, europe VARCHAR), The Europe listing of 00 0 0 (0) also has what listed as the total? |
SELECT years FROM table_name_87 WHERE league = "400 (21)" | CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR), The league of 400 (21) has what years listed? |
SELECT other_[c_] FROM table_name_46 WHERE fa_cup = "0 44 0 (0)" | CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR), With a FA Cup of 0 44 0 (0), the other [C] is listed as what? |
SELECT league FROM table_name_5 WHERE europe = "117 0 (8)" | CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR), The Europe listing of 117 0 (8) belongs to what league? |
SELECT fa_cup FROM table_name_36 WHERE other_[c_] = "0 12 0 (0)" | CREATE TABLE table_name_36 (fa_cup VARCHAR, other_ VARCHAR, c_ VARCHAR), The other [C] of 0 12 0 (0) belongs to what FA Cup? |
SELECT MIN(gold) FROM table_name_33 WHERE silver = 4 AND edition = "viii" | CREATE TABLE table_name_33 (gold INTEGER, silver VARCHAR, edition VARCHAR), What is the lowest VIII Edition Gold with a Silver of 4? |
SELECT MAX(bronze) FROM table_name_22 WHERE silver > 10 AND edition = "i" AND gold > 9 | CREATE TABLE table_name_22 (bronze INTEGER, gold VARCHAR, silver VARCHAR, edition VARCHAR), What is the highest Edition I Bronze with a Gold higher than 9 and a Silver higher than 10? |
SELECT COUNT(total) FROM table_name_1 WHERE host_city = "mexico city" AND gold < 4 AND bronze < 2 | CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR), What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2? |
SELECT host_city FROM table_name_74 WHERE silver > 6 AND total = 22 | CREATE TABLE table_name_74 (host_city VARCHAR, silver VARCHAR, total VARCHAR), Which Host City has more than 6 Silver and a Total of 22? |
SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19 | CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR), What was the time for tracks before 19 on 8/26/69? |
SELECT venue FROM table_name_32 WHERE notes = "am" | CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR), Which venue has a note of AM? |
SELECT time FROM table_name_12 WHERE date = "august 16, 2008" | CREATE TABLE table_name_12 (time VARCHAR, date VARCHAR), What is the time associated with August 16, 2008? |
SELECT event FROM table_name_44 WHERE venue = "beijing" | CREATE TABLE table_name_44 (event VARCHAR, venue VARCHAR), Which event was held in Beijing? |
SELECT notes FROM table_name_59 WHERE venue = "rome" AND date = "july 30, 2009" | CREATE TABLE table_name_59 (notes VARCHAR, venue VARCHAR, date VARCHAR), For a venue of Rome on July 30, 2009, what are the notes? |
SELECT score FROM table_name_35 WHERE date = "october 9" | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR), Name the score for october 9 |
SELECT loss FROM table_name_90 WHERE series = "2-2" | CREATE TABLE table_name_90 (loss VARCHAR, series VARCHAR), Name the loss for series 2-2 |
SELECT COUNT(attendance) FROM table_name_52 WHERE date = "october 8" | CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR), Name the total number of attendance for october 8 |
SELECT engine FROM table_name_74 WHERE points = 0 AND entrant = "élie bayol" | CREATE TABLE table_name_74 (engine VARCHAR, points VARCHAR, entrant VARCHAR), Which engine did Élie Bayol use when they earned 0 points? |
SELECT MAX(season) FROM table_name_98 WHERE attendance_g < 3 OFFSET 289 | CREATE TABLE table_name_98 (season INTEGER, attendance_g INTEGER), What season had the highest attendance/g than 3,289? |
SELECT year FROM table_name_23 WHERE pts = 13 | CREATE TABLE table_name_23 (year VARCHAR, pts VARCHAR), What year had 13 points? |
SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13 | CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR), Which chassis has a year later than 1964, a Ford engine, and 13 points? |
SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24" | CREATE TABLE table_name_63 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR), Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis? |
SELECT MAX(pts) FROM table_name_41 WHERE engine = "ford" AND entrant = "brooke bond oxo team surtees" AND year = 1972 | CREATE TABLE table_name_41 (pts INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR), In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees? |
SELECT year FROM table_name_16 WHERE engine = "ford" AND pts = 13 | CREATE TABLE table_name_16 (year VARCHAR, engine VARCHAR, pts VARCHAR), What year had a Ford engine and 13 points? |
SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton" | CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR), What is the ERP for the Rockhampton region? |
SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND region_served = "southern downs" | CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR), What channels first aired on 31 December 1990 in the Southern Downs region? |
SELECT transmitter_location FROM table_name_95 WHERE city = "maryborough" | CREATE TABLE table_name_95 (transmitter_location VARCHAR, city VARCHAR), What is the transmitter location for city of Maryborough? |
SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman" | CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR), What is the ERP for the Mount Goonaneman transmitter? |
SELECT number FROM table_name_41 WHERE males = "11" | CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR), Which number has 11 males? |
SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar" | CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR), What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar? |
SELECT MAX(heat) FROM table_name_98 WHERE time = "4:57.90" AND rank > 22 | CREATE TABLE table_name_98 (heat INTEGER, time VARCHAR, rank VARCHAR), What is the largest heat with a time of 4:57.90, and a Rank larger than 22? |
SELECT time FROM table_name_28 WHERE name = "adi bichman" | CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR), What is the time for Adi Bichman? |
SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18" | CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR), What is the total attendance at games against the New York Mets with a record of 18-18? |
SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2" | CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR), What is the total attendance at games with a score of 4-2? |
SELECT date FROM table_name_42 WHERE host_team = "new york giants" | CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR), On what date did the New York Giants host a game? |
SELECT host_team FROM table_name_55 WHERE date = "december 27" | CREATE TABLE table_name_55 (host_team VARCHAR, date VARCHAR), Who was the host team for the game on December 27? |
SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium" | CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR), What was the final score of the game at Texas Stadium? |
SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome" | CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR), Who was the visiting team who played at the hubert h. humphrey metrodome stadium? |
SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots" | CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR), When did the New England Patriots play as the visiting team? |
SELECT stadium FROM table_name_85 WHERE visiting_team = "los angeles raiders" | CREATE TABLE table_name_85 (stadium VARCHAR, visiting_team VARCHAR), At which stadium did the Los Angeles Raiders play as the visiting team? |
SELECT player FROM table_name_43 WHERE height = 1.92 AND current_club = "montepaschi siena" | CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR), Who is 1.92 m tall and a current club member of Montepaschi Siena |
SELECT date FROM table_name_14 WHERE tournament = "la quinta" | CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR), Which date has a Tournament of la quinta? |
SELECT date FROM table_name_44 WHERE surface = "carpet (i)" | CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR), Which date has a Surface of carpet (i)? |
SELECT tournament FROM table_name_21 WHERE date = "april 20, 1987" | CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR), Which tournament has a Date of april 20, 1987? |
SELECT opponent FROM table_name_51 WHERE surface = "hardcourt" AND outcome = "runner-up" AND tournament = "honolulu" | CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR), Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu? |
SELECT tournament FROM table_name_75 WHERE score = "6–4, 6–4" | CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR), Which Tournament has a Score of 6–4, 6–4? |
SELECT score FROM table_name_39 WHERE surface = "hardcourt" AND date = "september 30, 1984" | CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR), Which score has a Surface of hardcourt, and a Date of september 30, 1984? |
SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001 | CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR), What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001? |
SELECT date FROM table_name_26 WHERE loss = "wakefield (5-2)" | CREATE TABLE table_name_26 (date VARCHAR, loss VARCHAR), What was the date of the game with a loss of Wakefield (5-2)? |
SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships" | CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR), What is the first year of the European Championships competition? |
SELECT position FROM table_name_40 WHERE venue = "helsinki, finland" | CREATE TABLE table_name_40 (position VARCHAR, venue VARCHAR), Which position has a venue of Helsinki, Finland? |
SELECT date FROM table_name_71 WHERE where_sunk = "east china sea" AND ship_type = "hell ship" | CREATE TABLE table_name_71 (date VARCHAR, where_sunk VARCHAR, ship_type VARCHAR), What is the date that a hell ship sunk in the East China Sea? |
SELECT nat FROM table_name_39 WHERE ship_type = "battlecruiser" AND estimate = "513" | CREATE TABLE table_name_39 (nat VARCHAR, ship_type VARCHAR, estimate VARCHAR), Which nation had a battlecruiser with an estimate of 513? |
SELECT date FROM table_name_59 WHERE where_sunk = "south atlantic" | CREATE TABLE table_name_59 (date VARCHAR, where_sunk VARCHAR), What is the date that a ship sank in the South Atlantic? |
SELECT ship_type FROM table_name_77 WHERE name = "shinano" | CREATE TABLE table_name_77 (ship_type VARCHAR, name VARCHAR), What type of ship was the Shinano? |
SELECT nat FROM table_name_24 WHERE name = "roma" | CREATE TABLE table_name_24 (nat VARCHAR, name VARCHAR), What nation had a ship named Roma? |
SELECT score FROM table_name_6 WHERE opponent = "indians" AND record = "21-19" | CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR, record VARCHAR), What was score of the Blue Jays' game versus the Indians when their record was 21-19? |
SELECT years_as_tallest FROM table_name_95 WHERE floors < 31 AND street_address = "211 union street" | CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR), During what years did the tallest building, located at 211 Union Street, have less than 31 floors? |
SELECT AVG(floors) FROM table_name_76 WHERE street_address = "170 fourth avenue north" | CREATE TABLE table_name_76 (floors INTEGER, street_address VARCHAR), What is the average number of floors at 170 Fourth Avenue North? |
SELECT street_address FROM table_name_94 WHERE name = "life & casualty tower" | CREATE TABLE table_name_94 (street_address VARCHAR, name VARCHAR), What is the address of the Life & Casualty Tower? |
SELECT tie_no FROM table_name_43 WHERE home_team = "gillingham" | CREATE TABLE table_name_43 (tie_no VARCHAR, home_team VARCHAR), What is listed as the Tie no for Home team of Gillingham? |
SELECT tie_no FROM table_name_13 WHERE away_team = "barnet" | CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR), What is the Tie no listed for the Away team of Barnet? |
SELECT attendance FROM table_name_97 WHERE tie_no = "5" | CREATE TABLE table_name_97 (attendance VARCHAR, tie_no VARCHAR), What is listed for the Attendance that has a Tie no of 5? |
SELECT away_team FROM table_name_38 WHERE tie_no = "4" | CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR), Which Away team has a Tie no of 4? |
SELECT home_team FROM table_name_14 WHERE attendance = "1,859" | CREATE TABLE table_name_14 (home_team VARCHAR, attendance VARCHAR), Which Home Team has an Attendance of 1,859? |
SELECT away_team FROM table_name_8 WHERE home_team = "bristol rovers" | CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR), What is listed as the Away team for the Home team of the Bristol Rovers? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.