sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT date_of_designation FROM table_name_36 WHERE name = "kurume"
CREATE TABLE INST, Here is a database schema( table schema);
Which Date of designation has a Name of kurume?It is not neccessary to use all the tables.
SELECT Event FROM table WHERE Method = submission (armbar) AND Opponent = jason st. louis
CREATE TABLE INST, Here is a database schema( table schema);
What is Event, when Method is "Submission (Armbar)", and when Opponent is "Jason St. Louis"?.It is not neccessary to use all the tables.
SELECT Television service FROM table WHERE Content = presentazione
CREATE TABLE INST, Here is a database schema( table schema);
What is Television Service, when Content is Presentazione?.It is not neccessary to use all the tables.
SELECT MAX(2006) FROM table_name_16 WHERE 2002 < 0
CREATE TABLE INST, Here is a database schema( table schema);
How much is the highest number in 2006 with fewer than 0 in 2002?It is not neccessary to use all the tables.
SELECT attendance FROM table_name_47 WHERE opponent = "houston oilers"
CREATE TABLE INST, Here is a database schema( table schema);
What is the attendance when the opponent was the Houston Oilers?It is not neccessary to use all the tables.
SELECT MIN(edition) FROM table_name_13 WHERE winner = "arsenal" AND third = "celtic"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the lowest edition for winner of arsenal and third of celticIt is not neccessary to use all the tables.
SELECT Shivalik Zone FROM table WHERE Mid-Hill Zone = 10%
CREATE TABLE INST, Here is a database schema( table schema);
What is the percentage of the Shivalik Zone where the percentage of the Mid-Hill Zone is 10%?.It is not neccessary to use all the tables.
SELECT DISTINCT President_Vote, VICE_President_Vote FROM VOTING_RECORD
CREATE TABLE INST, Here is a database schema( table schema);
Report the distinct president vote and the vice president vote.It is not neccessary to use all the tables.
SELECT COUNT(podium) FROM table_name_42 WHERE race = 14 AND flap > 1
CREATE TABLE INST, Here is a database schema( table schema);
On Race 14 when the FLap is larger than 1 what is the podium number?It is not neccessary to use all the tables.
SELECT Parameter FROM table WHERE 3rd stage = 20kn
CREATE TABLE INST, Here is a database schema( table schema);
What is the Parameter that has the third phase of 20kn?.It is not neccessary to use all the tables.
SELECT "Away team score" FROM table_52929 WHERE "Away team" = 'essendon'
CREATE TABLE INST, Here is a database schema( table schema);
What did Essendon score when they were the away team?It is not neccessary to use all the tables.
SELECT COUNT Song Title FROM table WHERE Artist = Ratt
CREATE TABLE INST, Here is a database schema( table schema);
How many song titles belong to the artist Ratt?.It is not neccessary to use all the tables.
SELECT MAX Oilers points FROM table WHERE Opponent = san francisco 49ers AND Opponents > 19
CREATE TABLE INST, Here is a database schema( table schema);
Which Oilers points have an Opponent of san francisco 49ers, and Opponents larger than 19?.It is not neccessary to use all the tables.
SELECT origin FROM table_name_67 WHERE registration = "s5-hpb"
CREATE TABLE INST, Here is a database schema( table schema);
What is the country of origin of the aircraft with a registration s5-hpb?It is not neccessary to use all the tables.
SELECT Country FROM market ORDER BY Number_cities DESC
CREATE TABLE INST, Here is a database schema( table schema);
List all countries of markets in descending order of number of cities.It is not neccessary to use all the tables.
SELECT tries_against FROM table_name_39 WHERE points_against = "383"
CREATE TABLE INST, Here is a database schema( table schema);
How many tries against did the club with 383 points against have?It is not neccessary to use all the tables.
SELECT away_team AS score FROM table_name_1 WHERE away_team = "geelong"
CREATE TABLE INST, Here is a database schema( table schema);
What is the away team's score of the game where the away team is Geelong?It is not neccessary to use all the tables.
SELECT name FROM web_client_accelerator WHERE name LIKE "%Opera%"
CREATE TABLE INST, Here is a database schema( table schema);
Which accelerator name contains substring "Opera"?It is not neccessary to use all the tables.
SELECT Recipient FROM table WHERE Award = £4,203
CREATE TABLE INST, Here is a database schema( table schema);
Who was the recipient of an award of £4,203?.It is not neccessary to use all the tables.
SELECT Attendance FROM table WHERE Date = 11/09/1946
CREATE TABLE INST, Here is a database schema( table schema);
What was the Attendance on 11/09/1946?.It is not neccessary to use all the tables.
SELECT Mar 17 FROM table WHERE April 21 = 10
CREATE TABLE INST, Here is a database schema( table schema);
What is the rank for Mar 17 when the April 21 rank is 10?.It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Country = france
CREATE TABLE INST, Here is a database schema( table schema);
What player is from France?.It is not neccessary to use all the tables.
SELECT COUNT Silver FROM table WHERE Gold = 2
CREATE TABLE INST, Here is a database schema( table schema);
How many silver metals are possessed by countries with 2 gold medals?.It is not neccessary to use all the tables.
SELECT industry FROM table_1682026_6 WHERE market_value__billion_$_ = "80.3"
CREATE TABLE INST, Here is a database schema( table schema);
Which industry has a company with a market value of 80.3 billion?It is not neccessary to use all the tables.
SELECT date FROM table_name_63 WHERE catalog = "887 195-2" AND format = "cd maxi"
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has a Catalog of 887 195-2 and a Format of cd maxi?It is not neccessary to use all the tables.
SELECT type FROM table_name_14 WHERE year > 2004
CREATE TABLE INST, Here is a database schema( table schema);
What was the type after 2004?It is not neccessary to use all the tables.
SELECT pba_team FROM table_name_96 WHERE college = "ateneo de manila"
CREATE TABLE INST, Here is a database schema( table schema);
What is Ateneo de Manila's PBA Team?It is not neccessary to use all the tables.
SELECT MAX Wins FROM table WHERE Top-5 > 0 AND Events < 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the most wins associated with under 4 events with 0 top-5s?.It is not neccessary to use all the tables.
SELECT AVG(num_of_staff), AVG(score) FROM shop
CREATE TABLE INST, Here is a database schema( table schema);
What are the average score and average staff number of all shops?It is not neccessary to use all the tables.
SELECT MAX(first_elected) FROM table_2668347_17
CREATE TABLE INST, Here is a database schema( table schema);
Name the most first electedIt is not neccessary to use all the tables.
SELECT COUNT(DISTINCT i_id) FROM review
CREATE TABLE INST, Here is a database schema( table schema);
How many different items were reviewed by some users?It is not neccessary to use all the tables.
SELECT 2012 club FROM table WHERE Pos. = cf
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2012 club of the cf pos. player?.It is not neccessary to use all the tables.
SELECT ACC_Regular_Season, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent DESC
CREATE TABLE INST, Here is a database schema( table schema);
Show me about the distribution of ACC_Regular_Season and All_Games_Percent in a bar chart, and list Y-axis from high to low order.It is not neccessary to use all the tables.
SELECT AVG(points) FROM table_name_23 WHERE engine = "cosworth v8" AND year = 1973
CREATE TABLE INST, Here is a database schema( table schema);
What is the average points of a Cosworth v8 engine in 1973.It is not neccessary to use all the tables.
SELECT "Name origin" FROM table_21080 WHERE "Name" = 'Ovda Fluctus'
CREATE TABLE INST, Here is a database schema( table schema);
What is every name origin with the name Ovda Fluctus?It is not neccessary to use all the tables.
SELECT color FROM table_name_16 WHERE transcription = "wan suk"
CREATE TABLE INST, Here is a database schema( table schema);
Which Color has a Transcription of wan suk?It is not neccessary to use all the tables.
SELECT Successor FROM table WHERE Reason for change = Vacant AND Date successor seated = December 3, 1862
CREATE TABLE INST, Here is a database schema( table schema);
Name the successor for vacant and december 3, 1862.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_54 WHERE tournament = "herceg novi"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the opponent at the Herceg Novi tournament?It is not neccessary to use all the tables.
SELECT "Attendance" FROM table_8742 WHERE "Date" = 'december 6, 1998'
CREATE TABLE INST, Here is a database schema( table schema);
What iwas the attendance of the game that took place on december 6, 1998?It is not neccessary to use all the tables.
SELECT weight_class FROM table_name_65 WHERE time = "4:59"
CREATE TABLE INST, Here is a database schema( table schema);
Which weight class had a time of 4:59?It is not neccessary to use all the tables.
SELECT Fname FROM STUDENT WHERE Age > 22
CREATE TABLE INST, Here is a database schema( table schema);
Find the first names of students with age above 22.It is not neccessary to use all the tables.
SELECT SUM Places FROM table WHERE Name = adrian vasile AND Points < 127.74
CREATE TABLE INST, Here is a database schema( table schema);
What is the place number for adrian vasile with less than 127.74 points?.It is not neccessary to use all the tables.
SELECT 2009 FROM table_name_45 WHERE 2011 = "39th"
CREATE TABLE INST, Here is a database schema( table schema);
What 2009 has 39th as the 2011?It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Date = April 1
CREATE TABLE INST, Here is a database schema( table schema);
Which team played on April 1?.It is not neccessary to use all the tables.
SELECT record FROM table_name_64 WHERE opponent = "new york"
CREATE TABLE INST, Here is a database schema( table schema);
What is the record when they played New York?It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Margin of victory = 3 strokes AND Winning score = 71-66-70-67=274
CREATE TABLE INST, Here is a database schema( table schema);
Name the tournament when margin of victory is 3 strokes and winning score is 71-66-70-67=274.It is not neccessary to use all the tables.
SELECT MAX(points) FROM table_name_15 WHERE equipment = "zabel-wsp" AND position > 7
CREATE TABLE INST, Here is a database schema( table schema);
What were highest points received from someone using a zabel-wsp with a position greater than 7?It is not neccessary to use all the tables.
SELECT College/junior/club team FROM table WHERE NHL team = new york rangers AND Position = defence
CREATE TABLE INST, Here is a database schema( table schema);
What is the college/junior/club team of the defence player drafted by the New York Rangers?.It is not neccessary to use all the tables.
SELECT MIN(points) FROM table_name_98 WHERE games > 34 AND name = "andrew panko"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest value for Points when Games is greater than 34 and when Name is Andrew Panko?It is not neccessary to use all the tables.
SELECT original_air_date FROM table_10953197_3 WHERE production_code = "2394087"
CREATE TABLE INST, Here is a database schema( table schema);
what are the original air dates with a production code of 2394087It is not neccessary to use all the tables.
SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Bob'
CREATE TABLE INST, Here is a database schema( table schema);
Find the name of persons who are friends with Bob.It is not neccessary to use all the tables.
SELECT venue FROM table_name_58 WHERE result = "2–2" AND attendance = "5,760"
CREATE TABLE INST, Here is a database schema( table schema);
Which Venue has a Result of 2–2 and Attendances of 5760?It is not neccessary to use all the tables.
SELECT Outcomes FROM table WHERE Rocket launch = rehnuma-11
CREATE TABLE INST, Here is a database schema( table schema);
What Outcome has a Rocket launch of rehnuma-11?.It is not neccessary to use all the tables.
SELECT race_time FROM table_2196127_1 WHERE driver = "Jeff Gordon"
CREATE TABLE INST, Here is a database schema( table schema);
What was the race time for Jeff Gordon?It is not neccessary to use all the tables.
SELECT team FROM table_name_1 WHERE circuit = "phillip island grand prix circuit"
CREATE TABLE INST, Here is a database schema( table schema);
What is Team when Circuit is Phillip Island Grand Prix Circuit?It is not neccessary to use all the tables.
SELECT venue FROM table_name_23 WHERE year < 1991
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the venue that was used before 1991?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Record = 27-31
CREATE TABLE INST, Here is a database schema( table schema);
When were the Brewers 27-31?.It is not neccessary to use all the tables.
SELECT SUM(attendance) FROM table_name_30 WHERE week = 16
CREATE TABLE INST, Here is a database schema( table schema);
Name the sum of attendacne for 16 weeksIt is not neccessary to use all the tables.
SELECT MIN(no) FROM table_25851971_1 WHERE written_by = "Anthony Sparks"
CREATE TABLE INST, Here is a database schema( table schema);
What episode number was written by Anthony Sparks?It is not neccessary to use all the tables.
SELECT AVG(round) FROM table_name_83 WHERE location = "auckland, new zealand" AND method = "tko" AND date = "1994-11-24"
CREATE TABLE INST, Here is a database schema( table schema);
Which Round has a Location of auckland new zealand and a Method of tko on 1994-11-24?It is not neccessary to use all the tables.
SELECT "Writer" FROM table_40581 WHERE "Date" = 'january 1975'
CREATE TABLE INST, Here is a database schema( table schema);
What is the Writer with a Date that is january 1975?It is not neccessary to use all the tables.
SELECT to_par FROM table_name_46 WHERE player = "jimmy hines"
CREATE TABLE INST, Here is a database schema( table schema);
What is the to par that has jimmy hines as the player?It is not neccessary to use all the tables.
SELECT College/Junior/Club Team (League) FROM table WHERE Position = right wing AND Round < 3
CREATE TABLE INST, Here is a database schema( table schema);
Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3?.It is not neccessary to use all the tables.
SELECT MIN(first_season) FROM table_1560673_1
CREATE TABLE INST, Here is a database schema( table schema);
What was the earliest season recorded for any teamIt is not neccessary to use all the tables.
SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller"
CREATE TABLE INST, Here is a database schema( table schema);
Which school/club has a pick smaller than 196 a round higher than 5 and has Blake Miller?It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Team = philadelphia
CREATE TABLE INST, Here is a database schema( table schema);
Which Record has a Team of philadelphia?.It is not neccessary to use all the tables.
SELECT "Opponents" FROM table_6971 WHERE "Score" = '6–3, 6–4, 6–1'
CREATE TABLE INST, Here is a database schema( table schema);
Which Opponents has a Score of 6 3, 6 4, 6 1?It is not neccessary to use all the tables.
SELECT Team #2 FROM table WHERE Team #1 = Poseidon Neoi Porroi
CREATE TABLE INST, Here is a database schema( table schema);
which team#2 played against poseidon neoi porroi.It is not neccessary to use all the tables.
SELECT Frequency MHz FROM table WHERE City of license = Chattanooga, Tennessee
CREATE TABLE INST, Here is a database schema( table schema);
what's the frequency mhz with city of license being chattanooga, tennessee.It is not neccessary to use all the tables.
SELECT MAX(lost) FROM table_name_40 WHERE drawn < 6 AND goals_against < 44 AND points_1 = "27"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest lost entry that has a drawn entry less than 6 goals against less than 44 and a points 1 entry of 27?It is not neccessary to use all the tables.
SELECT visitor FROM table_name_41 WHERE record = "5-2-0"
CREATE TABLE INST, Here is a database schema( table schema);
Which team was the visitor with a record of 5-2-0?It is not neccessary to use all the tables.
SELECT COUNT Gold FROM table WHERE Silver = 3 AND Bronze > 3
CREATE TABLE INST, Here is a database schema( table schema);
How much gold does the tank have that has 3 silver and more than 3 bronze?.It is not neccessary to use all the tables.
SELECT Tie no FROM table WHERE Home team = chelsea
CREATE TABLE INST, Here is a database schema( table schema);
What is home team Chelsea's Tie no?.It is not neccessary to use all the tables.
SELECT system FROM table_name_66 WHERE name = "elkjs"
CREATE TABLE INST, Here is a database schema( table schema);
Which system is named ELKJS?It is not neccessary to use all the tables.
SELECT SUM Points FROM table WHERE Equipment = zabel-bsu AND Position = 42
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of Points, when Equipment was "Zabel-BSU", and when Position was 42?.It is not neccessary to use all the tables.
SELECT penalties FROM table_name_88 WHERE pim = "34.5"
CREATE TABLE INST, Here is a database schema( table schema);
What penalties has P.I.M. of 34.5?It is not neccessary to use all the tables.
SELECT lost FROM table_12792876_2 WHERE points_against = "714"
CREATE TABLE INST, Here is a database schema( table schema);
How many loses corresponded to giving up 714 points?It is not neccessary to use all the tables.
SELECT COUNT(area_km_2) FROM table_name_52 WHERE official_name = "addington"
CREATE TABLE INST, Here is a database schema( table schema);
What's the total area in kilometers of the parish addington?It is not neccessary to use all the tables.
SELECT COUNT(season_no) FROM table_21781578_2 WHERE us_viewers__millions_ = "12.30"
CREATE TABLE INST, Here is a database schema( table schema);
What was the number of season number entries that had US Viewers of 12.30 million?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Notes = 1:23:07
CREATE TABLE INST, Here is a database schema( table schema);
Which venue did the runner have a note of 1:23:07?.It is not neccessary to use all the tables.
SELECT COUNT Round FROM table WHERE Record = 4-0
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of rounds with a 4-0 record?.It is not neccessary to use all the tables.
SELECT result FROM table_name_73 WHERE road_team = "boston" AND game = "game 4"
CREATE TABLE INST, Here is a database schema( table schema);
What is the result for Boston's road team in game 4?It is not neccessary to use all the tables.
SELECT format_s_ FROM table_name_15 WHERE label = "atlantic records" AND catalog = "512336"
CREATE TABLE INST, Here is a database schema( table schema);
What are the formats associated with the Atlantic Records label catalog number 512336?It is not neccessary to use all the tables.
SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets"
CREATE TABLE INST, Here is a database schema( table schema);
What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?It is not neccessary to use all the tables.
SELECT COUNT Country FROM table WHERE Total Freshwater Withdrawal (km 3 /yr) = 169.39
CREATE TABLE INST, Here is a database schema( table schema);
In how many countries was the total freshwater withdrawal (km 3 /yr) 169.39?.It is not neccessary to use all the tables.
SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott"
CREATE TABLE INST, Here is a database schema( table schema);
How many times did Charles Jarrott report?It is not neccessary to use all the tables.
SELECT score FROM table_name_60 WHERE date = "may 4"
CREATE TABLE INST, Here is a database schema( table schema);
Which Score has a Date of may 4?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Persian title = میم مثل مادر
CREATE TABLE INST, Here is a database schema( table schema);
For the Persian Title میم مثل مادر, what were the results?.It is not neccessary to use all the tables.
SELECT Other deaths FROM table WHERE Israeli and/or foreigner wounded = 242
CREATE TABLE INST, Here is a database schema( table schema);
How many other deaths were in the attack with 242 Israelis and/or foreigners wounded?.It is not neccessary to use all the tables.
SELECT COUNT(*), T1.school_code FROM department AS T1 JOIN professor AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.school_code
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of professors for different school?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Date = 1990-10-21
CREATE TABLE INST, Here is a database schema( table schema);
What team was the opponent on 1990-10-21?.It is not neccessary to use all the tables.
SELECT Chassis FROM table WHERE Driver = otto stuppacher
CREATE TABLE INST, Here is a database schema( table schema);
What Chassis was driven by Otto Stuppacher?.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Round = final
CREATE TABLE INST, Here is a database schema( table schema);
The round that had the final, what was the result?.It is not neccessary to use all the tables.
SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = 7
CREATE TABLE INST, Here is a database schema( table schema);
What is the Pixie and Dixie skit in episode 7?It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Date = september 7
CREATE TABLE INST, Here is a database schema( table schema);
On September 7 what was the record?.It is not neccessary to use all the tables.
SELECT date_joined_staff FROM staff WHERE first_name = "Janessa" AND last_name = "Sawayn"
CREATE TABLE INST, Here is a database schema( table schema);
When did the staff member named Janessa Sawayn join the company?It is not neccessary to use all the tables.
SELECT Original Canadian air-date FROM table WHERE Director = mark rydell
CREATE TABLE INST, Here is a database schema( table schema);
What was the Original Canadian air-date for the episode directed by mark rydell?.It is not neccessary to use all the tables.
SELECT AVG Gold FROM table WHERE Total = 2 AND Silver < 1 AND Rank > 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Gold, when Total is 2, when Silver is less than 1, and when Rank is greater than 5?.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM table_204_475 WHERE "score" = "score"
CREATE TABLE INST, Here is a database schema( table schema);
during the second leg , what number of matches ended in a draw ?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Venue = a AND Date = 17 february 1900
CREATE TABLE INST, Here is a database schema( table schema);
Who played against in venue a on 17 february 1900?.It is not neccessary to use all the tables.