sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Round FROM table WHERE Opponent = ryan bixler
CREATE TABLE INST, Here is a database schema( table schema);
Which Round has an Opponent of ryan bixler?.It is not neccessary to use all the tables.
SELECT type FROM table_262560_2 WHERE nickname = "Oilers"
CREATE TABLE INST, Here is a database schema( table schema);
What type of school has the nickname the Oilers?It is not neccessary to use all the tables.
SELECT military_and_or_civilian_wounded FROM table_name_39 WHERE civilian_deaths = "unknown" AND total_deaths__not_including_foreigners_ = "unknown"
CREATE TABLE INST, Here is a database schema( table schema);
How many military or civilians were wounded in the conflict that had an unknown number of civilian and total deaths?It is not neccessary to use all the tables.
SELECT Name of Award FROM table WHERE Language = Marathi
CREATE TABLE INST, Here is a database schema( table schema);
Name the name of award for marathi.It is not neccessary to use all the tables.
SELECT AVG(runs) FROM table_name_21 WHERE player = "donald bradman"
CREATE TABLE INST, Here is a database schema( table schema);
What was Donald Bradman's average runs?It is not neccessary to use all the tables.
SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš"
CREATE TABLE INST, Here is a database schema( table schema);
What is the team 1 with tikveš as team 2?It is not neccessary to use all the tables.
SELECT No.(s) FROM table WHERE Height in Ft. = 6-7 AND Position = guard
CREATE TABLE INST, Here is a database schema( table schema);
Name the numbers for the player with a height in ft of 6-7 for the guard.It is not neccessary to use all the tables.
SELECT Museum city FROM table WHERE Discoverer = jane solem
CREATE TABLE INST, Here is a database schema( table schema);
What is the city of the Museum that houses the specimen discovered by Jane Solem?.It is not neccessary to use all the tables.
SELECT 2007/ 08 FROM table WHERE 2008/ 09 = tournament not held AND 2005/ 06 = tournament not held AND 1999/ 00 = tournament not held
CREATE TABLE INST, Here is a database schema( table schema);
Which 2007/ 08 has a 2008/ 09 of tournament not held, a 2005/ 06 of tournament not held, and a 1999/ 00 of tournament not held?.It is not neccessary to use all the tables.
SELECT 8:30 FROM table WHERE 9:30 = e! specials
CREATE TABLE INST, Here is a database schema( table schema);
What 8:30 has e! specials as the 9:30?.It is not neccessary to use all the tables.
SELECT MAX Year signed FROM table WHERE Reason for separation = † AND Year separated = 1997
CREATE TABLE INST, Here is a database schema( table schema);
What is the most current year signed for separation of † and a separation year of 1997?.It is not neccessary to use all the tables.
SELECT "Original air date" FROM table_659 WHERE "Title" = 'Hell Bent for Leather'
CREATE TABLE INST, Here is a database schema( table schema);
When did the episode 'Hell bent for leather' originally air?It is not neccessary to use all the tables.
SELECT location FROM table_name_72 WHERE capacity = "101,119"
CREATE TABLE INST, Here is a database schema( table schema);
Which location has 101119 as the capacity?It is not neccessary to use all the tables.
SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest draft after round 2 is from the United States and has picked less than 113?It is not neccessary to use all the tables.
SELECT MAX Year FROM table WHERE Venue = edmonton, canada
CREATE TABLE INST, Here is a database schema( table schema);
Which Year is the highest one that has a Venue of edmonton, canada?.It is not neccessary to use all the tables.
SELECT "High assists" FROM table_21207 WHERE "Game" = '70'
CREATE TABLE INST, Here is a database schema( table schema);
Name the high assists for 70 gameIt is not neccessary to use all the tables.
SELECT japanese_title FROM table_name_12 WHERE episodes > 9 AND romaji_title = "haikei, chichiue-sama"
CREATE TABLE INST, Here is a database schema( table schema);
Which Japanese Title has more than 9 Episodes and a Romaji Title of haikei chichiue-sama?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM table_204_363 WHERE "round" >= 2
CREATE TABLE INST, Here is a database schema( table schema);
how many fights lasted at least 2 rounds ?It is not neccessary to use all the tables.
SELECT Mission FROM table WHERE Name = david scott
CREATE TABLE INST, Here is a database schema( table schema);
David Scott went on which mission?.It is not neccessary to use all the tables.
SELECT MAX(peak_lessons_taught) FROM table_name_95 WHERE evaluation_average__before_april_2009_ = "4.4"
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest number of Peak lessons taught when the Evaluation average (Before April 2009) was 4.4?It is not neccessary to use all the tables.
SELECT height FROM table_name_42 WHERE name = "trevard lindley"
CREATE TABLE INST, Here is a database schema( table schema);
What is Trevard Lindley's height?It is not neccessary to use all the tables.
SELECT Year FROM table WHERE Rank > 5
CREATE TABLE INST, Here is a database schema( table schema);
What year ranked larger than 5?.It is not neccessary to use all the tables.
SELECT Episode Title FROM table WHERE Prod Code = 1gowo04
CREATE TABLE INST, Here is a database schema( table schema);
What was the title of the episode with a production code of 1gowo04?.It is not neccessary to use all the tables.
SELECT MAX Successes FROM table WHERE Failures > 1 AND Launches < 28
CREATE TABLE INST, Here is a database schema( table schema);
What is the greatest successes that have failures greater than 1 and launches less than 28?.It is not neccessary to use all the tables.
SELECT Call Sign FROM table WHERE Tail Code = oy AND Weapon Systems Officer = capt charles b. debellevue
CREATE TABLE INST, Here is a database schema( table schema);
Which Call Sign that has a Tail Code of oy belong to Weapon Systems Officer Capt Charles B. Debellevue?.It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Competition = european u23 championships
CREATE TABLE INST, Here is a database schema( table schema);
What is the Position for the European U23 Championships?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Surface = hard AND Rank = 10
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the match played on hard with a person ranked 10?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Incumbent = Bud Shuster
CREATE TABLE INST, Here is a database schema( table schema);
Who was in the election that was for incumbent bud shuster's seat?.It is not neccessary to use all the tables.
SELECT scorers FROM table_name_8 WHERE venue = "a" AND opponent = "st. johnstone"
CREATE TABLE INST, Here is a database schema( table schema);
Who was in a with opponent St. Johnstone?It is not neccessary to use all the tables.
SELECT school FROM table_11677691_12 WHERE hometown = "Placer, California"
CREATE TABLE INST, Here is a database schema( table schema);
What is the hometown of the players for placer californiaIt is not neccessary to use all the tables.
SELECT MAX(drawn) FROM table_name_79 WHERE played > 14
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest drawn when played is more than 14?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM rooms WHERE NOT roomid IN (SELECT DISTINCT room FROM reservations)
CREATE TABLE INST, Here is a database schema( table schema);
Find the number of rooms that do not have any reservation.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM csu_fees WHERE campusfee > (SELECT AVG(campusfee) FROM csu_fees)
CREATE TABLE INST, Here is a database schema( table schema);
How many universities have a campus fee greater than the average?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Finish = t8
CREATE TABLE INST, Here is a database schema( table schema);
What country had a Finish of t8?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Place = 4
CREATE TABLE INST, Here is a database schema( table schema);
What country has a place of 4?.It is not neccessary to use all the tables.
SELECT area FROM table_1204998_2 WHERE english_name = "Shanghang County"
CREATE TABLE INST, Here is a database schema( table schema);
What is the area of the English name Shanghang County?It is not neccessary to use all the tables.
SELECT Album FROM table WHERE Remixed by = royal garden sound AND Version = royal g's club mix
CREATE TABLE INST, Here is a database schema( table schema);
Which album is the royal g's club mix version, which is remixed by royal garden sound, from?.It is not neccessary to use all the tables.
SELECT School FROM table WHERE Mascot = panthers
CREATE TABLE INST, Here is a database schema( table schema);
Which school has a mascot of the Panthers?.It is not neccessary to use all the tables.
SELECT AVG Points FROM table WHERE English translation = sing
CREATE TABLE INST, Here is a database schema( table schema);
The English translation of Sing has what average points?.It is not neccessary to use all the tables.
SELECT COUNT Dismissals FROM table WHERE Innings = 8
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest number of dismissals in a match with 8 innings.It is not neccessary to use all the tables.
SELECT SUM(wins) FROM table_name_59 WHERE team = "mv agusta" AND points > 10 AND year > 1957
CREATE TABLE INST, Here is a database schema( table schema);
How many wins for team mv agusta over 10 points and after 1957?It is not neccessary to use all the tables.
SELECT "wrestler" FROM table_204_721 WHERE "combined\ndays" = '1'
CREATE TABLE INST, Here is a database schema( table schema);
who is the only wrestler to have only 1 combined day ?It is not neccessary to use all the tables.
SELECT visitor FROM table_name_48 WHERE date = "march 7"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the visitor of the game on March 7?It is not neccessary to use all the tables.
SELECT MIN Runners FROM table WHERE Placing < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest number of Runners that has a Placing that isn't 1?.It is not neccessary to use all the tables.
SELECT ole_miss FROM table_name_90 WHERE year > 2008 AND mississippi_st = "eric moulds"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the player associated with Ole Miss in years after 2008 with a Mississippi St. name of Eric Moulds?It is not neccessary to use all the tables.
SELECT "To par" FROM table_60502 WHERE "Country" = 'united states' AND "Place" = 't1'
CREATE TABLE INST, Here is a database schema( table schema);
What is the to par of the player from the United States with a t1 place?It is not neccessary to use all the tables.
SELECT AVG Matches FROM table WHERE Country = austria germany AND Rank < 5
CREATE TABLE INST, Here is a database schema( table schema);
When the country is austria germany and the rank is kept under 5, what's the average number of matches played?.It is not neccessary to use all the tables.
SELECT College/Junior/Club team FROM table WHERE Round = 6
CREATE TABLE INST, Here is a database schema( table schema);
Which College/Junior/Club team has a Round of 6?.It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_23 WHERE away_team = "st kilda"
CREATE TABLE INST, Here is a database schema( table schema);
What is the home team's score when st kilda is away?It is not neccessary to use all the tables.
SELECT young_rider_classification FROM table_12261714_2 WHERE stage = "12"
CREATE TABLE INST, Here is a database schema( table schema);
Who's the leader in the young rider classification in stage 12?It is not neccessary to use all the tables.
SELECT "Men's singles" FROM table_43856 WHERE "Mixed doubles" = 'kevin cao melody liang'
CREATE TABLE INST, Here is a database schema( table schema);
Which men's singles has mixed doubles with Kevin Cao Melody Liang?It is not neccessary to use all the tables.
SELECT 2005 FROM table WHERE 2001 = sf
CREATE TABLE INST, Here is a database schema( table schema);
What's the 2005 result when 2001 is sf?.It is not neccessary to use all the tables.
SELECT 2003 FROM table WHERE 1998 = 1r AND 1994 = 1r AND Career = 7-12
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2003 value with a 1r in 1998, a 14 in 1994, and a 7-12 career?.It is not neccessary to use all the tables.
SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro"
CREATE TABLE INST, Here is a database schema( table schema);
Name the original title for the last metroIt is not neccessary to use all the tables.
SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-12192')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.celllabel = 'ffp' AND DATETIME(intakeoutput.intakeoutputtime) <= DATETIME(CURRENT_TIME(), '-959 day')
CREATE TABLE INST, Here is a database schema( table schema);
until 959 days ago had patient 005-12192 had any intake of ffp?It is not neccessary to use all the tables.
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_0_19 = "21,11%"
CREATE TABLE INST, Here is a database schema( table schema);
What is every value for % 20-39 if % 0-19 is 2111%?It is not neccessary to use all the tables.
SELECT Second Vice President FROM table WHERE Inaugurated = 26 march 1928
CREATE TABLE INST, Here is a database schema( table schema);
What is Second Vice President, when Inaugurated is "26 March 1928"?.It is not neccessary to use all the tables.
SELECT player FROM table_name_55 WHERE college = "ohio state"
CREATE TABLE INST, Here is a database schema( table schema);
Which player is from Ohio State College?It is not neccessary to use all the tables.
SELECT Place FROM table WHERE Score = 70-66-65=201
CREATE TABLE INST, Here is a database schema( table schema);
What place goes with the score of 70-66-65=201?.It is not neccessary to use all the tables.
SELECT Tonnage FROM table WHERE Built = 2007
CREATE TABLE INST, Here is a database schema( table schema);
What tonnage was built in 2007?.It is not neccessary to use all the tables.
SELECT "Killed" FROM table_56583 WHERE "Unit" = 'personal staff'
CREATE TABLE INST, Here is a database schema( table schema);
What was the number of Personal Staff Units Killed?It is not neccessary to use all the tables.
SELECT COUNT Kenenisa Bekele ( ETH ) FROM table WHERE World record = African record
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of kenesia for african record.It is not neccessary to use all the tables.
SELECT COUNT 1st Prize( $ ) FROM table WHERE Date = sep 18
CREATE TABLE INST, Here is a database schema( table schema);
For sep 18 what is the total number of 1 prize ($).It is not neccessary to use all the tables.
SELECT date FROM table_name_95 WHERE venue = "brisbane cricket ground"
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the venue at Brisbane Cricket Ground?It is not neccessary to use all the tables.
SELECT japanese FROM table_name_15 WHERE prefecture = "ibaraki" AND name = "tsukuba"
CREATE TABLE INST, Here is a database schema( table schema);
What Japanese prefecture has Ibaraki Tsukuba?It is not neccessary to use all the tables.
SELECT Best Supporting Actress FROM table WHERE Best Supporting Actor = Sun Honglei for Mongol
CREATE TABLE INST, Here is a database schema( table schema);
Name the best supporting actress for sun honglei for mongol.It is not neccessary to use all the tables.
SELECT first_broadcast FROM table_19930660_2 WHERE episode = "2x11"
CREATE TABLE INST, Here is a database schema( table schema);
When was episode 2x11 aired for the first time?It is not neccessary to use all the tables.
SELECT Host FROM table WHERE Ratings = 9.6/26
CREATE TABLE INST, Here is a database schema( table schema);
Who was the host that garnered ratings of 9.6/26?.It is not neccessary to use all the tables.
SELECT MIN(year) FROM table_name_76 WHERE athlete = "markus thalmann" AND time = "23:28:24"
CREATE TABLE INST, Here is a database schema( table schema);
Which Year is the lowest one that has an Athlete of markus thalmann and a Time of 23:28:24?It is not neccessary to use all the tables.
SELECT "team" FROM table_203_30 ORDER BY "won" DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
which team had the most wins ?It is not neccessary to use all the tables.
SELECT "Player" FROM table_51311 WHERE "Year" = '1992'
CREATE TABLE INST, Here is a database schema( table schema);
Who played in 1992?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Player = greg norman
CREATE TABLE INST, Here is a database schema( table schema);
What country does Greg Norman represent?.It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Title = "Hell Hath No Fury"
CREATE TABLE INST, Here is a database schema( table schema);
When did the episode titled "Hell hath no fury" air for the first time?.It is not neccessary to use all the tables.
SELECT partner FROM table_name_45 WHERE surface = "clay" AND opponents = "guillermo garcía-lópez albert portas"
CREATE TABLE INST, Here is a database schema( table schema);
What was the partner of the team that faced the guillermo garcía-lópez albert portas on clay?It is not neccessary to use all the tables.
SELECT dissolved FROM table_name_53 WHERE summoned = "28 february 1467"
CREATE TABLE INST, Here is a database schema( table schema);
What is the dissolved date of the parliament summoned on 28 February 1467?It is not neccessary to use all the tables.
SELECT date FROM table_name_42 WHERE recipient = "passion pictures"
CREATE TABLE INST, Here is a database schema( table schema);
What date did Passion Pictures receive an award?It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Uni# = 14
CREATE TABLE INST, Here is a database schema( table schema);
Which position does #14 play?.It is not neccessary to use all the tables.
SELECT Release date FROM table WHERE Release title = martial law: take out
CREATE TABLE INST, Here is a database schema( table schema);
What is the release date of Martial Law: Take Out?.It is not neccessary to use all the tables.
SELECT weight FROM table_name_31 WHERE club = "uralochka zlatoust" AND date_of_birth = "1981-02-24"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Weight of the person born 1981-02-24 from the Uralochka Zlatoust club ?It is not neccessary to use all the tables.
SELECT Place FROM table WHERE Player = phil rodgers
CREATE TABLE INST, Here is a database schema( table schema);
What place did Phil Rodgers finish?.It is not neccessary to use all the tables.
SELECT MIN Rank by average FROM table WHERE Competition finish = 5 AND Number of dances < 9
CREATE TABLE INST, Here is a database schema( table schema);
Name the least rank by average for number of dances less than 9 and competition finish of 5.It is not neccessary to use all the tables.
SELECT COUNT Game FROM table WHERE Team = minnesota
CREATE TABLE INST, Here is a database schema( table schema);
What game was Minnesota the team?.It is not neccessary to use all the tables.
SELECT Runner-Up FROM table WHERE Location = Ellenton, FL AND Year = 2004
CREATE TABLE INST, Here is a database schema( table schema);
who is the runner-up where location is ellenton, fl and year is 2004.It is not neccessary to use all the tables.
SELECT language FROM table_name_98 WHERE network = "ary digital"
CREATE TABLE INST, Here is a database schema( table schema);
What language does the Ary Digital network broadcast in?It is not neccessary to use all the tables.
SELECT military_deaths FROM table_name_92 WHERE total_casualties = "1,615"
CREATE TABLE INST, Here is a database schema( table schema);
How many military deaths were there when there were 1615 total casualties?It is not neccessary to use all the tables.
SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admission_location = "TRSF WITHIN THIS FACILITY"
CREATE TABLE INST, Here is a database schema( table schema);
what is average age of patients whose marital status is married and admission location is trsf within this facility?It is not neccessary to use all the tables.
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending" ORDER BY T2.customer_id
CREATE TABLE INST, Here is a database schema( table schema);
Return the distinct name of customers whose order status is Pending in the order of customer id.It is not neccessary to use all the tables.
SELECT SUM(crowd) FROM table_name_88 WHERE away_team = "south melbourne"
CREATE TABLE INST, Here is a database schema( table schema);
What was the attendance when South Melbourne was the away team?It is not neccessary to use all the tables.
SELECT James E. Holmes FROM table WHERE Rockingham County = Joe Baez
CREATE TABLE INST, Here is a database schema( table schema);
Name the james e. holmes for joe baez.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Opponent = chicago bears
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE RESULT WHEN THE OPPONENT WAS CHICAGO BEARS?.It is not neccessary to use all the tables.
SELECT COUNT(pick) FROM table_name_46 WHERE round = 7 AND school_club_team = "arizona st."
CREATE TABLE INST, Here is a database schema( table schema);
Name all Pick that has a Round of 7 and a School/Club Team of arizona st.?It is not neccessary to use all the tables.
SELECT month FROM table_name_83 WHERE year < 1973 AND album = "united we stand"
CREATE TABLE INST, Here is a database schema( table schema);
What month before 1973 is listed for the album united we stand?It is not neccessary to use all the tables.
SELECT Nationality, AVG(Age) FROM journalist GROUP BY Nationality ORDER BY AVG(Age)
CREATE TABLE INST, Here is a database schema( table schema);
What are the nationalities and their average ages of journalists Show me a bar chart, and order by the Y from low to high please.It is not neccessary to use all the tables.
SELECT MIN(total) FROM table_name_79 WHERE year_s__won = "1968 , 1971" AND to_par < 11
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Total when Year(s) Won is "1968 1971" and when To Par is less than 11?It is not neccessary to use all the tables.
SELECT COUNT Stellar classification FROM table WHERE System = 3 Neptune planets < 1 AU
CREATE TABLE INST, Here is a database schema( table schema);
Name number of stellar classification for 3 neptune planets < 1 au.It is not neccessary to use all the tables.
SELECT COUNT Capacity FROM table WHERE Stadium = Somerset Park
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of capacity at somerset park?.It is not neccessary to use all the tables.
SELECT date FROM table_name_25 WHERE game_site = "candlestick park"
CREATE TABLE INST, Here is a database schema( table schema);
When did they play at Candlestick Park?It is not neccessary to use all the tables.
SELECT English title FROM table WHERE Official # = 22
CREATE TABLE INST, Here is a database schema( table schema);
What is the English title for the official number 22 episode?.It is not neccessary to use all the tables.
SELECT Opponenent FROM table WHERE Result = 2-2 (draw)
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent when the result was 2-2 (draw)?.It is not neccessary to use all the tables.
SELECT COUNT(us_viewers__millions_) FROM table_27910411_1 WHERE no_in_series = 5
CREATE TABLE INST, Here is a database schema( table schema);
How many items are listed for U.S. viewers for episode number 5 in the series?It is not neccessary to use all the tables.