sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Branding FROM table WHERE Callsign = dxed-tv
CREATE TABLE INST, Here is a database schema( table schema);
What is Branding, when Callsign is "DXED-TV"?.It is not neccessary to use all the tables.
SELECT COUNT Seed FROM table WHERE Points defending = 900
CREATE TABLE INST, Here is a database schema( table schema);
List the competitor ranking with 900 defense points..It is not neccessary to use all the tables.
SELECT tournament_venue__city_ FROM table_24348134_3 WHERE tournament_winner = "Oklahoma"
CREATE TABLE INST, Here is a database schema( table schema);
In what city did oklahoma win the tournament.It is not neccessary to use all the tables.
SELECT outgoing_manager FROM table_17275810_7 WHERE team = "Mantova"
CREATE TABLE INST, Here is a database schema( table schema);
Name the outgoing manager for mantovaIt is not neccessary to use all the tables.
SELECT MAX Top-25 FROM table WHERE Events > 2 AND Wins < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is his highest number of top 25s when eh played over 2 events and under 0 wins?.It is not neccessary to use all the tables.
SELECT conference_matchups FROM table_name_66 WHERE city = "glendale, arizona"
CREATE TABLE INST, Here is a database schema( table schema);
What was the conference matchup for the bowl game played in Glendale Arizona?It is not neccessary to use all the tables.
SELECT COUNT No. in series FROM table WHERE Directed by = Bryan Cranston
CREATE TABLE INST, Here is a database schema( table schema);
How many entries for number in series when director is Bryan Cranston?.It is not neccessary to use all the tables.
SELECT Catalogue FROM table WHERE Track < 16 AND Recorded = 2/3/56 AND Song Title = lawdy miss clawdy
CREATE TABLE INST, Here is a database schema( table schema);
What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy?.It is not neccessary to use all the tables.
SELECT Spacewalkers FROM table WHERE Spacecraft = STS-101 EVA 1
CREATE TABLE INST, Here is a database schema( table schema);
Who walked in space from STS-101 Eva 1?.It is not neccessary to use all the tables.
SELECT SUM(pick) FROM table_name_70 WHERE position = "defensive end" AND round = 8
CREATE TABLE INST, Here is a database schema( table schema);
What pick was used to select a Defensive End in round 8?It is not neccessary to use all the tables.
SELECT Part 1 FROM table WHERE Part 2 = December 2, 2007
CREATE TABLE INST, Here is a database schema( table schema);
What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007?.It is not neccessary to use all the tables.
SELECT MIN Top division titles FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What is the least top division titles?.It is not neccessary to use all the tables.
SELECT SUM(interview) FROM table_name_57 WHERE average = 8.363 AND evening_gown > 8.37
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the sum of interview for evening gown more than 8.37 and average of 8.363It is not neccessary to use all the tables.
SELECT 2011 GDP (PPP) billions of USD FROM table WHERE Country = Iraq
CREATE TABLE INST, Here is a database schema( table schema);
What 2011 GDP (PPP) billions of USD does Iraq have?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.dod_year <= "2158.0"
CREATE TABLE INST, Here is a database schema( table schema);
Count the number of asian patients who died in or before 2158.It is not neccessary to use all the tables.
SELECT MAX Draw FROM table WHERE Song = u ritmu ljubavi AND Points > 87
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?.It is not neccessary to use all the tables.
SELECT date FROM table_25572118_1 WHERE series = "EMT 9"
CREATE TABLE INST, Here is a database schema( table schema);
When emt 9 is the series what is the date?It is not neccessary to use all the tables.
SELECT AVG(oilers_points) FROM table_name_1 WHERE record = "10–6" AND oilers_first_downs > 14
CREATE TABLE INST, Here is a database schema( table schema);
Which Oilers points have a Record of 10–6 and Oilers first downs larger than 14?It is not neccessary to use all the tables.
SELECT MAX Modified speed (6th gear) FROM table WHERE Standard speed (6th gear) = 98
CREATE TABLE INST, Here is a database schema( table schema);
when the max speed for modified speed (6th gear) where standard speed (6th gear) is 98.It is not neccessary to use all the tables.
SELECT COUNT(won) FROM table_17510803_2 WHERE points_against = "410"
CREATE TABLE INST, Here is a database schema( table schema);
How many won when points against is 410?It is not neccessary to use all the tables.
SELECT college FROM "t" AS able_name_20 WHERE pick__number > 13 AND position = "t"
CREATE TABLE INST, Here is a database schema( table schema);
What college did the T who was pick after 13 go to?It is not neccessary to use all the tables.
SELECT COUNT Quantity FROM table WHERE DRG Number(s) = e 62 01–e 62 05
CREATE TABLE INST, Here is a database schema( table schema);
What is the quantity when the DRG was E 62 01–E 62 05?.It is not neccessary to use all the tables.
SELECT Transliteration FROM table WHERE Period covered = 1125-1223
CREATE TABLE INST, Here is a database schema( table schema);
what is the transliteration where the period covered is 1125-1223?.It is not neccessary to use all the tables.
SELECT COUNT(pick) FROM table_name_29 WHERE school = "central state" AND round < 2
CREATE TABLE INST, Here is a database schema( table schema);
How many picks did Central State have before round 2?It is not neccessary to use all the tables.
SELECT COUNT Record FROM table WHERE Game = 61
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of record for 61.It is not neccessary to use all the tables.
SELECT bleeding_time FROM table_238124_1 WHERE condition = "Glanzmann's thrombasthenia"
CREATE TABLE INST, Here is a database schema( table schema);
What is the bleeding time for glanzmann's thrombasthenia?It is not neccessary to use all the tables.
SELECT D 42 √ FROM table WHERE D 46 √ = r 6
CREATE TABLE INST, Here is a database schema( table schema);
What is the D 42 √ figure when D 46 √ is r 6?.It is not neccessary to use all the tables.
SELECT set_2 FROM table_name_81 WHERE total = "52:44"
CREATE TABLE INST, Here is a database schema( table schema);
What is Set 2 when Total is "52:44"?It is not neccessary to use all the tables.
SELECT COUNT(avge) FROM table_name_25 WHERE name = "john hall" AND goals < 63
CREATE TABLE INST, Here is a database schema( table schema);
What is the total avge of John Hall, who has less than 63 goals?It is not neccessary to use all the tables.
SELECT T2.points_won FROM player_award as T1 JOIN player_award_vote as T2 ON T1.player_id = T2.player_id WHERE T1.league_id = "NL" AND T1.award_id = "Most Valuable Player" AND T1.year = "1990" AND T2.league_id = "NL" AND T2.year = "1990"
CREATE TABLE INST, Here is a database schema( hall of fame);
How much points were received by the NL league's most valuable player winner in 1990?. It is not neccessary to use all the tables.
SELECT * FROM hiring
CREATE TABLE INST, Here is a database schema( table schema);
Give me all the information about hiring.It is not neccessary to use all the tables.
SELECT winning_score FROM table_name_32 WHERE margin_of_victory = "1 stroke" AND date = "jan 22, 1995"
CREATE TABLE INST, Here is a database schema( table schema);
What was the winning score on Jan 22 1995 when the margin of victory was 1 stroke?It is not neccessary to use all the tables.
SELECT Career SR FROM table WHERE Tournament = masters series sr
CREATE TABLE INST, Here is a database schema( table schema);
What is the Career SR of the year that held the masters series Sr tournament.It is not neccessary to use all the tables.
SELECT Model FROM table WHERE Graphics = agp AND FSB (MHz) = 400
CREATE TABLE INST, Here is a database schema( table schema);
Which model(s) has AGP graphics and 400 FSB (MHz)?.It is not neccessary to use all the tables.
SELECT runner_up FROM table_name_49 WHERE year < 2008 AND champion = "josé acasuso"
CREATE TABLE INST, Here is a database schema( table schema);
Which Runner-up has a Year smaller than 2008 and a Champion of josé acasuso?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Team = Saturn
CREATE TABLE INST, Here is a database schema( table schema);
What is the location of the team Saturn?.It is not neccessary to use all the tables.
SELECT COUNT("High rebounds") FROM table_25485 WHERE "Date" = 'April 7'
CREATE TABLE INST, Here is a database schema( table schema);
How many high rebounds were there on April 7?It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Home team score = 15.14 (104)
CREATE TABLE INST, Here is a database schema( table schema);
Which away team has a Home team score of 15.14 (104)?.It is not neccessary to use all the tables.
SELECT Player FROM table WHERE CFL Team = Calgary Stampeders
CREATE TABLE INST, Here is a database schema( table schema);
Who was drafted by the calgary stampeders?.It is not neccessary to use all the tables.
SELECT Outcome FROM table WHERE Championship = premier league darts
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the outcome for premier league darts.It is not neccessary to use all the tables.
SELECT series FROM table_30087032_5 WHERE high_points = "Charles Barkley (34)"
CREATE TABLE INST, Here is a database schema( table schema);
In what series did Charles Barkley (34) did most high points?It is not neccessary to use all the tables.
SELECT Leagues entering at this round FROM table WHERE Clubs remaining = 24
CREATE TABLE INST, Here is a database schema( table schema);
What league is entering this round with 24 clubs remaining?.It is not neccessary to use all the tables.
SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"
CREATE TABLE INST, Here is a database schema( table schema);
What is the least amount of appearances by new zealand when they scored 4 goals?It is not neccessary to use all the tables.
SELECT Womens Doubles FROM table WHERE Womens Singles = Ding Ning
CREATE TABLE INST, Here is a database schema( table schema);
Who was the womens double winner when the womens singles winner was Ding Ning?.It is not neccessary to use all the tables.
SELECT MAX Population FROM table WHERE Altitude (mslm) < 229 AND Area (km 2 ) > 32.7
CREATE TABLE INST, Here is a database schema( table schema);
Which Population is the highest one that has an Altitude (mslm) smaller than 229, and an Area (km 2) larger than 32.7?.It is not neccessary to use all the tables.
SELECT MIN(total) FROM table_name_26 WHERE silver > 0 AND nation = "italy" AND gold < 29
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the total for silver more than 0 for italy with gold less than 29It is not neccessary to use all the tables.
SELECT date FROM table_name_81 WHERE tournament = "gte north classic"
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the gte north classic tournament?It is not neccessary to use all the tables.
SELECT U.S. viewers (million) FROM table WHERE Title = "Kandor"
CREATE TABLE INST, Here is a database schema( table schema);
How many millions of people in the US saw the episode titled "Kandor"?.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Population = 810
CREATE TABLE INST, Here is a database schema( table schema);
What name has a population of 810?.It is not neccessary to use all the tables.
SELECT date FROM table_27882867_9 WHERE score = "W 104-98"
CREATE TABLE INST, Here is a database schema( table schema);
What date was the game score w 104-98?It is not neccessary to use all the tables.
SELECT winner FROM table_name_61 WHERE circuit = "phillip island grand prix circuit"
CREATE TABLE INST, Here is a database schema( table schema);
Which driver won the Phillip Island Grand Prix Circuit?It is not neccessary to use all the tables.
SELECT MIN Top-10 FROM table WHERE Tournament = the open championship AND Wins > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the minimum Top-10 when the Open Championship was the tournament and the wins greater than 0?.It is not neccessary to use all the tables.
SELECT Distance FROM table WHERE Weight = 6.11
CREATE TABLE INST, Here is a database schema( table schema);
What was the distance when the weight was 6.11?.It is not neccessary to use all the tables.
SELECT Weight FROM table WHERE Player = jonathan bender
CREATE TABLE INST, Here is a database schema( table schema);
How much does Jonathan Bender weigh?.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Rank = 1
CREATE TABLE INST, Here is a database schema( table schema);
What was the result of rank 1?.It is not neccessary to use all the tables.
SELECT Lane FROM table WHERE Rank < 4 AND Nationality = netherlands
CREATE TABLE INST, Here is a database schema( table schema);
Which lane ranked less than 4 for the Netherlands?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Opposing Teams = wales
CREATE TABLE INST, Here is a database schema( table schema);
Where did Wales play?.It is not neccessary to use all the tables.
SELECT SUM(goals) FROM table_name_36 WHERE name = "johan cruyff" AND rank < 3
CREATE TABLE INST, Here is a database schema( table schema);
How many goals were there for Johan Cruyff when the rank's less than 3?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Balls = 50
CREATE TABLE INST, Here is a database schema( table schema);
Which player had 50 balls?.It is not neccessary to use all the tables.
SELECT COUNT("Position") FROM table_4035 WHERE "NHL team" = 'St. Louis Blues'
CREATE TABLE INST, Here is a database schema( table schema);
How many positions are associated with the St. Louis Blues?It is not neccessary to use all the tables.
SELECT film_title_used_in_nomination FROM table_name_65 WHERE original_title = "sedamdeset i dva dana"
CREATE TABLE INST, Here is a database schema( table schema);
What is the film title used for nomination with the original title sedamdeset i dva dana?It is not neccessary to use all the tables.
SELECT birth_country FROM player GROUP BY birth_country ORDER BY COUNT(*) LIMIT 3
CREATE TABLE INST, Here is a database schema( table schema);
List three countries which are the origins of the least players.It is not neccessary to use all the tables.
SELECT date FROM table_name_31 WHERE course = "rome to naples"
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the race course from Rome to Naples?It is not neccessary to use all the tables.
SELECT COUNT(bronze) FROM table_name_36 WHERE rank < 2 AND gold < 0
CREATE TABLE INST, Here is a database schema( table schema);
How many bronze medals for the nation ranked above 2 and under 0 golds?It is not neccessary to use all the tables.
SELECT Date of Birth (Age) FROM table WHERE Position = lock AND Caps = 10
CREATE TABLE INST, Here is a database schema( table schema);
When was the lock with 10 caps born?.It is not neccessary to use all the tables.
SELECT COUNT Field stability FROM table WHERE Agent = cyanogen bromide AND Effectiveness as blood agent > 9
CREATE TABLE INST, Here is a database schema( table schema);
What is the field stability of Cyanogen Bromide that has an effectiveness of 9?.It is not neccessary to use all the tables.
SELECT District FROM table WHERE Vacator = Ralph Harvey (R)
CREATE TABLE INST, Here is a database schema( table schema);
Which district did Ralph Harvey (r) vacated when he resigned?.It is not neccessary to use all the tables.
SELECT Date of death FROM table WHERE Player = Archie Roberts
CREATE TABLE INST, Here is a database schema( table schema);
What day did ARchie Roberts die?.It is not neccessary to use all the tables.
SELECT Project_ID, COUNT(*) FROM Documents GROUP BY Project_ID
CREATE TABLE INST, Here is a database schema( table schema);
Return a scatter on how many documents correspond with each project id?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE High rebounds = nolan (10)
CREATE TABLE INST, Here is a database schema( table schema);
What is Score, when High Rebounds is "Nolan (10)"?.It is not neccessary to use all the tables.
SELECT MDT (-6 UTC) FROM table WHERE EDT (-4 UTC) = set AND PDT (-7 UTC) = 6:00 a.m.
CREATE TABLE INST, Here is a database schema( table schema);
What time is MDT when EDT is set and PDT is 6:00 a.m.?.It is not neccessary to use all the tables.
SELECT "Player" FROM table_13443 WHERE "Goals" > '10' AND "Debut year" < '1993' AND "Years at club" = '1990–1993'
CREATE TABLE INST, Here is a database schema( table schema);
Which Player has Goals larger than 10, and a Debut year smaller than 1993, and Years at club of 1990 1993?It is not neccessary to use all the tables.
SELECT Engine FROM table WHERE Chassis = reynard 01i AND Drivers = casey mears
CREATE TABLE INST, Here is a database schema( table schema);
What engine did Casey Mears use on the Reynard 01i Chassis?.It is not neccessary to use all the tables.
SELECT COUNT Lost FROM table WHERE Against < 15
CREATE TABLE INST, Here is a database schema( table schema);
How many losses have points against less than 15?.It is not neccessary to use all the tables.
SELECT Group A Winner FROM table WHERE Group B Winner = Modena
CREATE TABLE INST, Here is a database schema( table schema);
What is the group a winner for modena?.It is not neccessary to use all the tables.
SELECT Tracking Method FROM table WHERE Latest stable release = 6.0
CREATE TABLE INST, Here is a database schema( table schema);
Which tracking method has a latest stable release of 6.0?.It is not neccessary to use all the tables.
SELECT Singles W-L FROM table WHERE Player = Kim Doo-Hwan
CREATE TABLE INST, Here is a database schema( table schema);
what's the singles w-l for kim doo-hwan.It is not neccessary to use all the tables.
SELECT Wheel arrangement FROM table WHERE Manufacturer = baldwin AND Quantity made = 12
CREATE TABLE INST, Here is a database schema( table schema);
What is Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12?.It is not neccessary to use all the tables.
SELECT number_of_episodes FROM table_name_86 WHERE status = "2001 - 2003, 2005 - 2009"
CREATE TABLE INST, Here is a database schema( table schema);
What is Number Of Episodes when Status is "2001 - 2003 2005 - 2009"?It is not neccessary to use all the tables.
SELECT 2002 FROM table_name_85 WHERE 2010 = "69"
CREATE TABLE INST, Here is a database schema( table schema);
What shows for 2002 when 2010 shows 69?It is not neccessary to use all the tables.
SELECT COUNT(u.Id) AS "users_with_a_post" FROM Users AS u WHERE EXISTS(SELECT p.Id FROM Posts AS p WHERE p.OwnerUserId = u.Id)
CREATE TABLE INST, Here is a database schema( table schema);
Users with at least one post.It is not neccessary to use all the tables.
SELECT Round FROM table WHERE Record = 4-1
CREATE TABLE INST, Here is a database schema( table schema);
What is Round, when Record is "4-1"?.It is not neccessary to use all the tables.
SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involved = 4
CREATE TABLE INST, Here is a database schema( table schema);
When 4 clubs are involved what is the average number of fixtures?It is not neccessary to use all the tables.
SELECT SUM Pick FROM table WHERE Position = defensive end AND Round = 8
CREATE TABLE INST, Here is a database schema( table schema);
What pick was used to select a Defensive End in round 8?.It is not neccessary to use all the tables.
SELECT MAX(time) FROM table_name_48 WHERE heat_rank = 8 AND lane > 2
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the highest time for heat rank of 8 and lane more than 2It is not neccessary to use all the tables.
SELECT years FROM table_name_97 WHERE model = "250"
CREATE TABLE INST, Here is a database schema( table schema);
What are the years for the 250 model?It is not neccessary to use all the tables.
SELECT title FROM table_name_67 WHERE date = "august 2004"
CREATE TABLE INST, Here is a database schema( table schema);
Which film was released in August 2004?It is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Opponent = peterborough phantoms AND Date = 2
CREATE TABLE INST, Here is a database schema( table schema);
What was the name of the competition that had Peterborough Phantoms as an opponent and a date of 2?.It is not neccessary to use all the tables.
SELECT Song FROM table WHERE Work done = guest vocals AND Year = 2006 AND Artist(s) = cobra starship
CREATE TABLE INST, Here is a database schema( table schema);
Which 2006 Cobra Starship song has work done of guest vocals?.It is not neccessary to use all the tables.
SELECT high_points FROM table_13464416_4 WHERE game = 7
CREATE TABLE INST, Here is a database schema( table schema);
Who were the high point scorers in game 7?It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Venue = punt road oval
CREATE TABLE INST, Here is a database schema( table schema);
When the venue was punt road oval, what was the Home teams score?.It is not neccessary to use all the tables.
SELECT record FROM table_name_17 WHERE date = "march 10"
CREATE TABLE INST, Here is a database schema( table schema);
What is the record for March 10?It is not neccessary to use all the tables.
SELECT "NFL Team" FROM table_1435 WHERE "College" = 'Norfolk State'
CREATE TABLE INST, Here is a database schema( table schema);
What is the NFL team for the player who's college was Norfolk State?It is not neccessary to use all the tables.
SELECT affiliation FROM table_28253870_1 WHERE enrollment = 27209
CREATE TABLE INST, Here is a database schema( table schema);
Name the affiliation for 27209 enrollmentIt is not neccessary to use all the tables.
SELECT record FROM table_name_58 WHERE visitor = "quebec nordiques" AND score = "4–5"
CREATE TABLE INST, Here is a database schema( table schema);
Which Record has a Visitor of quebec nordiques with a Score of 4–5?It is not neccessary to use all the tables.
SELECT MAX NBR number FROM table WHERE Class = j AND Road number = 1211
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest NBR number that corresponds to the J class and the road number of 1211?.It is not neccessary to use all the tables.
SELECT MIN(goals) FROM table_name_76 WHERE ranking < 4 AND years = "1996–13"
CREATE TABLE INST, Here is a database schema( table schema);
Who had fewer goals than 4 during the years of 1996–13?It is not neccessary to use all the tables.
SELECT Cardinalatial order and title FROM table WHERE Elector = bosone
CREATE TABLE INST, Here is a database schema( table schema);
What is the cardinalatial order and title of bosone?.It is not neccessary to use all the tables.
SELECT AVG Map Key FROM table WHERE Pop (2004) < 433,819 AND Capital City = hajjah AND Area km² < 9,376
CREATE TABLE INST, Here is a database schema( table schema);
Name the amount of Map Key which has a Pop (2004) smaller than 433,819, and a Capital City of hajjah, and an Area km² smaller than 9,376? Question 1.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Attendance < 10,553
CREATE TABLE INST, Here is a database schema( table schema);
What score has an attendance less than 10,553?.It is not neccessary to use all the tables.