sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Arabic FROM table WHERE Colombian = Finnish
CREATE TABLE INST, Here is a database schema( table schema);
how many arabic in colobians is finnish.It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_99 WHERE venue = "punt road oval"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the home team at the Punt Road Oval?It is not neccessary to use all the tables.
SELECT users___number_ FROM table_20018310_1 WHERE irrigation_district = "Del Este" AND juntas_de_regantes__wub_ = "Nisibon-Yuma"
CREATE TABLE INST, Here is a database schema( table schema);
What's the number of users in the Nisibon-Yuma within the Del Este district?It is not neccessary to use all the tables.
SELECT country FROM table_name_45 WHERE format = "cd" AND catalog = "rcd 10523"
CREATE TABLE INST, Here is a database schema( table schema);
What country has CD format and catalog RCD 10523?It is not neccessary to use all the tables.
SELECT division_record FROM table_name_93 WHERE school = "delmar"
CREATE TABLE INST, Here is a database schema( table schema);
For the Delmar school what is the division record?It is not neccessary to use all the tables.
SELECT MIN Top 10 FROM table WHERE Winnings = $1,741,176
CREATE TABLE INST, Here is a database schema( table schema);
What the rank in the top 10 when the winnings were $1,741,176?.It is not neccessary to use all the tables.
SELECT enrollment FROM table_2076608_3 WHERE location_s_ = "Alexandria"
CREATE TABLE INST, Here is a database schema( table schema);
Where are the Alexandria enrollment locations?It is not neccessary to use all the tables.
SELECT won FROM table_17675675_2 WHERE tries_against = "89"
CREATE TABLE INST, Here is a database schema( table schema);
with the amount of tries at 89 how many win's were there?It is not neccessary to use all the tables.
SELECT COUNT(position) FROM table_16729063_1 WHERE college = "Washington"
CREATE TABLE INST, Here is a database schema( table schema);
How many positions drafted players from Washington?It is not neccessary to use all the tables.
SELECT country FROM table_name_8 WHERE score = 71 - 72 = 143
CREATE TABLE INST, Here is a database schema( table schema);
Which of the countries showed a score of 71-72=143?It is not neccessary to use all the tables.
SELECT MAX(week) FROM table_name_1 WHERE date = "november 9, 1997"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest week of the game on November 9 1997?It is not neccessary to use all the tables.
SELECT 5 season FROM table WHERE 2 season = 3 168 673 (2 april 2008)
CREATE TABLE INST, Here is a database schema( table schema);
What is 5 Season, when 2 Season is "3 168 673 (2 April 2008)"?.It is not neccessary to use all the tables.
SELECT LOA (Metres) FROM table WHERE Yacht = Brindabella
CREATE TABLE INST, Here is a database schema( table schema);
What is the LOA of Brindabella?.It is not neccessary to use all the tables.
SELECT COUNT(wind__m_s_) FROM table_1231316_6 WHERE athlete = "Sunday Emmanuel"
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of wind m/s for sunday emmanuelIt is not neccessary to use all the tables.
SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya"
CREATE TABLE INST, Here is a database schema( table schema);
Which Time has a Year larger than 1985 and a Place smaller than 2 and an Athlete of riochy sekiya?It is not neccessary to use all the tables.
SELECT Attendance FROM table WHERE Date = june 11
CREATE TABLE INST, Here is a database schema( table schema);
Name the attendance with date of june 11.It is not neccessary to use all the tables.
SELECT party FROM table_name_2 WHERE result = "re-elected" AND district = "south carolina 5"
CREATE TABLE INST, Here is a database schema( table schema);
Which party was re-elected in south carolina 5 district?It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Player = Kevin Stevens
CREATE TABLE INST, Here is a database schema( table schema);
What is the nationality of the player kevin stevens?.It is not neccessary to use all the tables.
SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon"
CREATE TABLE INST, Here is a database schema( table schema);
What is every year where opponent in the final is John Mcenroe at Wimbledon?It is not neccessary to use all the tables.
SELECT Total trips (AM/PM) FROM table WHERE Operated by = atlantic coast charters
CREATE TABLE INST, Here is a database schema( table schema);
What trips are operated by Atlantic coast charters?.It is not neccessary to use all the tables.
SELECT AVG(rank) FROM table_name_62 WHERE day_1 < 71 AND country = "romania"
CREATE TABLE INST, Here is a database schema( table schema);
what is the average rank when the day 1 is less than 71 and the country is romania?It is not neccessary to use all the tables.
SELECT date FROM table_name_13 WHERE tie_no = "21"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Date of Tie no 21?It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Points < 35
CREATE TABLE INST, Here is a database schema( table schema);
Which team scored less than 35 points?.It is not neccessary to use all the tables.
SELECT score FROM table_23248869_8 WHERE record = "19–35"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score when the record was 19–35It is not neccessary to use all the tables.
SELECT assets_2013__bil$_ FROM table_24307126_3 WHERE rank_2013 = 1435
CREATE TABLE INST, Here is a database schema( table schema);
Name the assets when the rank is 1435It is not neccessary to use all the tables.
SELECT MAX(week) FROM table_name_61 WHERE attendance = "73,572"
CREATE TABLE INST, Here is a database schema( table schema);
What is the week with attendance of 73572?It is not neccessary to use all the tables.
SELECT score FROM table_name_61 WHERE opponent = "dodgers" AND date = "april 21"
CREATE TABLE INST, Here is a database schema( table schema);
Name the score when the opponent was the dodgers on april 21It is not neccessary to use all the tables.
SELECT SUM(points) FROM table_name_78 WHERE assists = 7 AND games = 11 AND goals < 6
CREATE TABLE INST, Here is a database schema( table schema);
If the goals scored were below 6 11 games were played and there were 7 assists what's the sum of points with games meeting these criteria?It is not neccessary to use all the tables.
SELECT Year Location FROM table WHERE Mens Singles = Liu Guozheng
CREATE TABLE INST, Here is a database schema( table schema);
In what year and location did Liu Guozheng win the Mens Singles?.It is not neccessary to use all the tables.
SELECT game FROM table_name_54 WHERE opponent = "new jersey devils"
CREATE TABLE INST, Here is a database schema( table schema);
Which game did New Jersey Devils played in?It is not neccessary to use all the tables.
SELECT place FROM table_name_10 WHERE country = "united states" AND score = 67 - 75 - 68 = 210
CREATE TABLE INST, Here is a database schema( table schema);
What place in the United States having a score of 67-75-68=210?It is not neccessary to use all the tables.
SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the 2nd member elected in 1461?It is not neccessary to use all the tables.
SELECT Series FROM table WHERE Position = 7
CREATE TABLE INST, Here is a database schema( table schema);
What series is at the position 7?.It is not neccessary to use all the tables.
SELECT partner FROM table_name_29 WHERE score = "6–1, 6–4"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the partner with a score of 6–1 6–4?It is not neccessary to use all the tables.
SELECT MAX Crowd FROM table WHERE Home team score = 14.12 (96)
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest crowd when the home team scores 14.12 (96)?.It is not neccessary to use all the tables.
SELECT "date" FROM table_204_55 WHERE "attendance" < 80000
CREATE TABLE INST, Here is a database schema( table schema);
which dates had below 80,000 in attendance ?It is not neccessary to use all the tables.
SELECT MAX(crowd) FROM table_name_58 WHERE venue = "arden street oval"
CREATE TABLE INST, Here is a database schema( table schema);
What was the largest crowd size at arden street oval?It is not neccessary to use all the tables.
SELECT Attendance FROM table WHERE Score = 88-98
CREATE TABLE INST, Here is a database schema( table schema);
What was the attendance when the score was 88-98?.It is not neccessary to use all the tables.
SELECT Xenon FROM table WHERE Neon = 20.1797(6)
CREATE TABLE INST, Here is a database schema( table schema);
Which Xenon has Neon of 20.1797(6)?.It is not neccessary to use all the tables.
SELECT Mission FROM table WHERE Head of Mission = pedro blandino
CREATE TABLE INST, Here is a database schema( table schema);
what is the mission when the head of mission is pedro blandino?.It is not neccessary to use all the tables.
SELECT COUNT Attendance FROM table WHERE Away = real juventud
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Attendance(s), when Away is Real Juventud?.It is not neccessary to use all the tables.
SELECT Round FROM table WHERE Record = 5-4
CREATE TABLE INST, Here is a database schema( table schema);
What is the Round of the event with a Record of 5-4?.It is not neccessary to use all the tables.
SELECT years_in_orlando FROM table_name_43 WHERE nationality = "united states" AND player = "doug overton"
CREATE TABLE INST, Here is a database schema( table schema);
Which Years in Orlando has a Nationality of united states and a Player of doug overton?It is not neccessary to use all the tables.
SELECT Mult. FROM table WHERE sSpec number = SLBLW(B1)
CREATE TABLE INST, Here is a database schema( table schema);
When slblw(b1) is the sspec number what is the mult.?.It is not neccessary to use all the tables.
SELECT Congress FROM table WHERE # of cosponsors = 19
CREATE TABLE INST, Here is a database schema( table schema);
Which Congress has a # of cosponsors of 19?.It is not neccessary to use all the tables.
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food_service.meal_code = flight.meal_code AND food_service.meal_description = 'BREAKFAST') AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'OAKLAND' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
CREATE TABLE INST, Here is a database schema( table schema);
OAKLAND to SAN FRANCISCO please BREAKFAST flightIt is not neccessary to use all the tables.
SELECT station_type FROM table_12547903_2 WHERE location__transmitter_site_ = "Calbayog"
CREATE TABLE INST, Here is a database schema( table schema);
What is the station type of calbayogIt is not neccessary to use all the tables.
SELECT det_pre_amp FROM table_name_56 WHERE _number_tubes = "4" AND rectifier = "x"
CREATE TABLE INST, Here is a database schema( table schema);
Name the det/pre-amp with # tubes of 4 and rectifier of xIt is not neccessary to use all the tables.
SELECT Country FROM table WHERE Transfer window = summer
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW?.It is not neccessary to use all the tables.
SELECT MAX(year) FROM table_name_95 WHERE playoffs = "did not qualify" AND open_cup = "2nd round"
CREATE TABLE INST, Here is a database schema( table schema);
When is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it to Open Cup 2nd Round?It is not neccessary to use all the tables.
SELECT "nation" FROM table_204_922 WHERE "rank" = (SELECT "rank" FROM table_204_922 WHERE "nation" = 'venezuela') + 1
CREATE TABLE INST, Here is a database schema( table schema);
who was ranked next after venezuela ?It is not neccessary to use all the tables.
SELECT outcome FROM table_name_20 WHERE score = "6–2, 6–2"
CREATE TABLE INST, Here is a database schema( table schema);
Which Outcome has a Score of 6–2 6–2?It is not neccessary to use all the tables.
SELECT Team (League) FROM table WHERE Reg GP = 0 AND Pick # < 136 AND Player = regan darby
CREATE TABLE INST, Here is a database schema( table schema);
Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby?.It is not neccessary to use all the tables.
SELECT "Position" FROM table_77428 WHERE "Nationality" = 'united states' AND "Player" = 'justin mapp category:articles with hcards'
CREATE TABLE INST, Here is a database schema( table schema);
What's the position when the player was Justin Mapp Category:articles with hcards with a United States nationality?It is not neccessary to use all the tables.
SELECT Model (list) FROM table WHERE TDP = 5.5 W
CREATE TABLE INST, Here is a database schema( table schema);
What's the model of the processor with a 5.5 w TDP?.It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Venue = princes park
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the away team at princes park?.It is not neccessary to use all the tables.
SELECT Wins FROM table WHERE F/Laps = test driver AND Team = lotus racing
CREATE TABLE INST, Here is a database schema( table schema);
what is the wins when the f/laps is test driver and team is lotus racing?.It is not neccessary to use all the tables.
SELECT prescriptions.icustay_id FROM prescriptions WHERE prescriptions.subject_id = "3343"
CREATE TABLE INST, Here is a database schema( table schema);
what is icu stay id of subject id 3343?It is not neccessary to use all the tables.
SELECT Total_Horses FROM farm ORDER BY Total_Horses
CREATE TABLE INST, Here is a database schema( table schema);
List the total number of horses on farms in ascending order.It is not neccessary to use all the tables.
SELECT surface FROM table_name_3 WHERE date = "12 september 2006"
CREATE TABLE INST, Here is a database schema( table schema);
Name the surface for 12 september 2006It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Tournament = dutch open AND Opponent = wong choong hann
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the player who played against Wong Choong Hann in the Dutch Open?.It is not neccessary to use all the tables.
SELECT Tie no FROM table WHERE Home team = scarborough
CREATE TABLE INST, Here is a database schema( table schema);
What is the Tie no when Scarborough is the Home team?.It is not neccessary to use all the tables.
SELECT COUNT Top 5 FROM table WHERE Winnings = $250,667
CREATE TABLE INST, Here is a database schema( table schema);
If the winnings was $250,667, what is the top 5 total number?.It is not neccessary to use all the tables.
SELECT score FROM table_name_47 WHERE location = "addis ababa"
CREATE TABLE INST, Here is a database schema( table schema);
What is the score at the Addis Ababa location?It is not neccessary to use all the tables.
SELECT Opponents in the final FROM table WHERE Tournament = puebla
CREATE TABLE INST, Here is a database schema( table schema);
What is the Opponents from the final with a Tournament that is puebla?.It is not neccessary to use all the tables.
SELECT greek FROM table_name_99 WHERE german = "ebbe"
CREATE TABLE INST, Here is a database schema( table schema);
What Greek word means the same thing as the German word ebbe?It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Location = china
CREATE TABLE INST, Here is a database schema( table schema);
What name is located in China?.It is not neccessary to use all the tables.
SELECT March 27-29 FROM table WHERE November 3 = 133
CREATE TABLE INST, Here is a database schema( table schema);
what is march 27-29 when november 3 is 133?.It is not neccessary to use all the tables.
SELECT player FROM table_name_32 WHERE country = "united states" AND total > 145
CREATE TABLE INST, Here is a database schema( table schema);
Who was the player from the United States with a total larger than 145?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Outcome = Winner
CREATE TABLE INST, Here is a database schema( table schema);
When winner is the outcome what is the score?.It is not neccessary to use all the tables.
SELECT MAX Year named FROM table WHERE Name = ganga valles
CREATE TABLE INST, Here is a database schema( table schema);
What is the Year named of the Ganga Valles?.It is not neccessary to use all the tables.
SELECT MAX(money___) AS $__ FROM table_name_22 WHERE player = "bernhard langer"
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest money ($) for bernhard langer?It is not neccessary to use all the tables.
SELECT "Points" FROM table_15679 WHERE "Chassis" = 'lotus 33' AND "Entrant" = 'team lotus' AND "Year" = '1964'
CREATE TABLE INST, Here is a database schema( table schema);
What point had team Lotus whit the lotus 33 chassis in 1964?It is not neccessary to use all the tables.
SELECT college_junior_club_team FROM table_2781227_10 WHERE player = "Wes Swinson"
CREATE TABLE INST, Here is a database schema( table schema);
what educational institute does wes swinson attendIt is not neccessary to use all the tables.
SELECT 2002 FROM table WHERE 2011 = atp masters series
CREATE TABLE INST, Here is a database schema( table schema);
What was 2002, when 2011 was, "atp masters series"?.It is not neccessary to use all the tables.
SELECT SUM(rank) FROM table_name_34 WHERE silver > 0 AND bronze = 4 AND total < 10
CREATE TABLE INST, Here is a database schema( table schema);
Which rank has a more than 0 silver 4 bronze and a total smaller than 10?It is not neccessary to use all the tables.
SELECT fleet_size FROM table_name_73 WHERE class = "vanguard 0-6-0dh"
CREATE TABLE INST, Here is a database schema( table schema);
What is the fleet size of the Vanguard 0-6-0dh class?It is not neccessary to use all the tables.
SELECT MAX(episode) FROM table_15739098_1 WHERE adapted_by = "Leon Griffiths"
CREATE TABLE INST, Here is a database schema( table schema);
Name the msot episode that was adapted by leon griffithsIt is not neccessary to use all the tables.
SELECT Drivers FROM table WHERE Engine = mercedes ic 108e AND Races = 8-10
CREATE TABLE INST, Here is a database schema( table schema);
Who drove a race car with a Mercedes IC 108e engine and has an 8-10 record?.It is not neccessary to use all the tables.
SELECT COUNT Artist FROM table WHERE Show = Thoroughly Modern Millie
CREATE TABLE INST, Here is a database schema( table schema);
How many artists were there for the show thoroughly modern millie?.It is not neccessary to use all the tables.
SELECT Runner(s)-up FROM table WHERE Tournament = general foods pga seniors' championship
CREATE TABLE INST, Here is a database schema( table schema);
Which Runner(s)-up has a Tournament of general foods pga seniors' championship?.It is not neccessary to use all the tables.
SELECT Time/Retired FROM table WHERE Grid > 9 AND Driver = rolf stommelen
CREATE TABLE INST, Here is a database schema( table schema);
What is the Time/Retired when the grid is larger than 9 and Rolf Stommelen is the driver?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "13" AND prescriptions.drug = "Caphosol"
CREATE TABLE INST, Here is a database schema( table schema);
provide the number of patients whose days of hospital stay is greater than 13 and drug name is caphosol?It is not neccessary to use all the tables.
SELECT Length/Fuel FROM table WHERE Quantity = 30
CREATE TABLE INST, Here is a database schema( table schema);
What is the Length/Fuel of the bus with a Quantity of 30?.It is not neccessary to use all the tables.
SELECT high_rebounds FROM table_18904831_5 WHERE high_points = "Sales (17)"
CREATE TABLE INST, Here is a database schema( table schema);
Who did the most high rebounds in the game where Sales (17) did the high points?It is not neccessary to use all the tables.
SELECT COUNT(rank) FROM table_name_7 WHERE col__m_ > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the rank when the col is larger than 0?It is not neccessary to use all the tables.
SELECT T1.name_first, T1.name_last, T1.player_id FROM player AS T1 JOIN player_award AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 3
CREATE TABLE INST, Here is a database schema( table schema);
Find the first name, last name and id for the top three players won the most player awards.It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Home team = st kilda
CREATE TABLE INST, Here is a database schema( table schema);
Who is the away side when st kilda is the home side?.It is not neccessary to use all the tables.
SELECT COUNT(goal_ratio) FROM table_name_46 WHERE rank = 2 AND games > 44
CREATE TABLE INST, Here is a database schema( table schema);
How many goal ratios have rank of 2 with more than 44 games?It is not neccessary to use all the tables.
SELECT Format FROM table WHERE Year > 1991 AND Catalog Number = 81868
CREATE TABLE INST, Here is a database schema( table schema);
What format is after 1991 and has a Catalog Number of 81868?.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Longitude = 246.0E
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of feature with a longitude 246.0e?.It is not neccessary to use all the tables.
SELECT elevation FROM table_name_1 WHERE route = 62
CREATE TABLE INST, Here is a database schema( table schema);
What is the Elevation of the mountain on Route 62?It is not neccessary to use all the tables.
SELECT born_died FROM table_name_60 WHERE term_end = "19 january 1943"
CREATE TABLE INST, Here is a database schema( table schema);
What is Born-Died, when Term End is 19 January 1943?It is not neccessary to use all the tables.
SELECT Team E FROM table WHERE Team D = aaron solloway
CREATE TABLE INST, Here is a database schema( table schema);
Who is team e when Aaron Solloway is team D?.It is not neccessary to use all the tables.
SELECT Characters FROM table WHERE Construction = 1873, foochow navy yard
CREATE TABLE INST, Here is a database schema( table schema);
Who has a Construction of 1873, foochow navy yard?.It is not neccessary to use all the tables.
SELECT COUNT(uk_co_presenter) FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND comedian = "Russell Kane"
CREATE TABLE INST, Here is a database schema( table schema);
Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian?It is not neccessary to use all the tables.
SELECT record FROM table_name_56 WHERE date = "may 17"
CREATE TABLE INST, Here is a database schema( table schema);
What was the team's record on May 17?It is not neccessary to use all the tables.
SELECT nurse FROM on_call WHERE blockfloor = 1 AND blockcode = 1
CREATE TABLE INST, Here is a database schema( table schema);
What nurses are on call with block floor 1 and block code 1? Tell me their names.It is not neccessary to use all the tables.
SELECT country FROM table_name_78 WHERE notes = "fa" AND athlete = "alan campbell"
CREATE TABLE INST, Here is a database schema( table schema);
What is Alan Campbell's Country with Notes of FA?It is not neccessary to use all the tables.
SELECT 2007 FROM table_name_92 WHERE 2010 = "qf" AND 2012 = "w"
CREATE TABLE INST, Here is a database schema( table schema);
What in 2007 has a 2010 of qf and a 2012 of w?It is not neccessary to use all the tables.