sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT examples FROM table_name_10 WHERE australian = "əm" | CREATE TABLE INST, Here is a database schema( table schema); | Which Examples has Australian of əm?It is not neccessary to use all the tables. |
SELECT AVG(year) FROM table_name_25 WHERE power = "bhp (kw)" AND trim = "ls/2lt" | CREATE TABLE INST, Here is a database schema( table schema); | What's the Year Average that has a Power of BHP (KW) and Trim of LS/2LT?It is not neccessary to use all the tables. |
SELECT Years FROM table WHERE Total = 101 (16) | CREATE TABLE INST, Here is a database schema( table schema); | What years have 101 (16) as the total?.It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE January = 27 | CREATE TABLE INST, Here is a database schema( table schema); | Who were the opponents on January 27?.It is not neccessary to use all the tables. |
SELECT arena FROM table_name_5 WHERE founded = 2000 | CREATE TABLE INST, Here is a database schema( table schema); | Which arena was founded in 2000?It is not neccessary to use all the tables. |
SELECT COUNT Name FROM table WHERE Weight = 78kg AND Home Team = UMBC | CREATE TABLE INST, Here is a database schema( table schema); | If the home team is UMBC and the weight is 78kg, what the the name total number?.It is not neccessary to use all the tables. |
SELECT icelandic FROM table_name_59 WHERE danish = "blåt/blå" | CREATE TABLE INST, Here is a database schema( table schema); | Which Icelandic has a Danish of blåt/blå?It is not neccessary to use all the tables. |
SELECT score_final FROM table_name_86 WHERE apparatus = "ribbon" | CREATE TABLE INST, Here is a database schema( table schema); | What was her final score on the ribbon apparatus?It is not neccessary to use all the tables. |
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' | CREATE TABLE INST, Here is a database schema( table schema); | For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of hire_date and the average of department_id bin hire_date by weekday.It is not neccessary to use all the tables. |
SELECT report FROM table_1137696_3 WHERE round = 3 | CREATE TABLE INST, Here is a database schema( table schema); | What is the report for round 3?It is not neccessary to use all the tables. |
SELECT AVG(total_matches) FROM table_name_73 WHERE points__percentage > 33.3 AND year = "2007" | CREATE TABLE INST, Here is a database schema( table schema); | In 2007 what is the average total matches with points % larger than 33.3?It is not neccessary to use all the tables. |
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY ACC_Road DESC | CREATE TABLE INST, Here is a database schema( table schema); | Stacked bar chart of team_id for with each All_Home in each acc road, I want to order from high to low by the ACC_Road.It is not neccessary to use all the tables. |
SELECT MIN Year FROM table WHERE Chassis = jordan 193 | CREATE TABLE INST, Here is a database schema( table schema); | What was the first year to have a Chassis of Jordan 193?.It is not neccessary to use all the tables. |
SELECT make FROM table_27940569_1 WHERE sponsor = "Aflac" | CREATE TABLE INST, Here is a database schema( table schema); | What car make was sponsored by Aflac?It is not neccessary to use all the tables. |
SELECT partner FROM table_name_95 WHERE opponents_in_the_final = "florian mayer & alexander waske" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the partner facing the opponents florian Mayer & alexander waske in the final?It is not neccessary to use all the tables. |
SELECT modern_german__standard_wording_ FROM table_181240_1 WHERE english___bcp__ = "For thine is the kingdom, the power" | CREATE TABLE INST, Here is a database schema( table schema); | What is the english (bcp) phrase "for thine is the kingdom the power" in modern german with standard wording?It is not neccessary to use all the tables. |
SELECT To par FROM table WHERE Country = england | CREATE TABLE INST, Here is a database schema( table schema); | What's england's to par?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_3 WHERE player = "fred couples" | CREATE TABLE INST, Here is a database schema( table schema); | What score has fred couples as the player?It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Player < 113 AND Event = 2011 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent in the 2011 event with less than 113 players?.It is not neccessary to use all the tables. |
SELECT 2007 FROM table WHERE Position = 6 | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2007 rating of the channel with a position of 6?.It is not neccessary to use all the tables. |
SELECT SUM(round) FROM table_name_79 WHERE method = "submission (banana split)" | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of Round(s) when Method is "Submission (Banana Split)"?It is not neccessary to use all the tables. |
SELECT current_club FROM table_name_13 WHERE height > 1.8 AND position = "guard" AND year_born < 1982 AND player = "tariq kirksay" | CREATE TABLE INST, Here is a database schema( table schema); | What team does tariq kirksay, a guard who is taller than 1.8M and born before 1982, represent?It is not neccessary to use all the tables. |
SELECT owns FROM table_name_65 WHERE delivery_date = "1997 1997" | CREATE TABLE INST, Here is a database schema( table schema); | with delivery date 1997 1997 what is the owns?It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Event = sb 24 - return of the heavyweights 2 AND Method = tko (knee and punches) | CREATE TABLE INST, Here is a database schema( table schema); | Which opponent's event was sb 24 - return of the heavyweights 2, and had a method of TKO (knee and punches)?.It is not neccessary to use all the tables. |
SELECT myspace_band FROM table_name_38 WHERE original_airdate = "19 february 2008" | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the MySpace Band with an Original Airdate of 19 february 2008?It is not neccessary to use all the tables. |
SELECT to_par FROM table_name_59 WHERE score = 69 - 70 = 139 | CREATE TABLE INST, Here is a database schema( table schema); | What is the To par of the Player with a Score of 69-70=139?It is not neccessary to use all the tables. |
SELECT County FROM table WHERE Opposition = dublin | CREATE TABLE INST, Here is a database schema( table schema); | What County has Dublin as the Opposition?.It is not neccessary to use all the tables. |
SELECT home FROM table_name_96 WHERE decision = "mason" AND visitor = "dallas" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the home team at the game with a decision of Mason and a visiting team of Dallas?It is not neccessary to use all the tables. |
SELECT power__kw_ FROM table_name_59 WHERE frequency = "102.3mhz" AND location = "baguio" | CREATE TABLE INST, Here is a database schema( table schema); | What is the power at Baguio where the frequency is 102.3mhz?It is not neccessary to use all the tables. |
SELECT Barony FROM table WHERE Area( acres ) = 560 | CREATE TABLE INST, Here is a database schema( table schema); | what is the barony and an area of 560?.It is not neccessary to use all the tables. |
SELECT % of votes nationally FROM table WHERE Candidates = Mahmoud Ahmadinejad | CREATE TABLE INST, Here is a database schema( table schema); | What was the percentage of national votes for Mahmoud Ahmadinejad?.It is not neccessary to use all the tables. |
SELECT MAX(total__kg_) FROM table_name_43 WHERE bodyweight < 136.16 AND clean_ & _jerk > 135 | CREATE TABLE INST, Here is a database schema( table schema); | Which weightlifter who had a bodyweight of less than 136.16 and a clean and jerk larger than 135 had the highest Total?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Runner-up = richard krajicek | CREATE TABLE INST, Here is a database schema( table schema); | what is the score when the runner-up is richard krajicek?.It is not neccessary to use all the tables. |
SELECT SUM(laps) FROM table_name_84 WHERE time = "accident" AND rider = "carmelo morales" AND grid > 25 | CREATE TABLE INST, Here is a database schema( table schema); | How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?It is not neccessary to use all the tables. |
SELECT "Case type" FROM table_74707 WHERE "Base diameter" = '13.03 (.513)' AND "Case length" = '63.5 (2.5)' | CREATE TABLE INST, Here is a database schema( table schema); | Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)?It is not neccessary to use all the tables. |
SELECT result FROM table_2668401_12 WHERE district = "Pennsylvania 8" | CREATE TABLE INST, Here is a database schema( table schema); | What was the result for Pennsylvania 8?It is not neccessary to use all the tables. |
SELECT Constellation FROM table WHERE Message = cosmic call 1 AND Arrival date = october 2067 | CREATE TABLE INST, Here is a database schema( table schema); | Which constellation has cosmic call 1 as the message, and an arrival date of october 2067?.It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Career = 1989–2004 | CREATE TABLE INST, Here is a database schema( table schema); | What Country has a Career of 1989–2004?.It is not neccessary to use all the tables. |
SELECT MIN(pick__number) FROM table_2897457_8 WHERE player = "Paul Krake" | CREATE TABLE INST, Here is a database schema( table schema); | What was the pick number when Paul Krake was selected?It is not neccessary to use all the tables. |
SELECT U.S. viewers (million) FROM table WHERE Production code = 4ALH19 | CREATE TABLE INST, Here is a database schema( table schema); | What was the u.s. viewers (millions) when the production code was 4alh19?.It is not neccessary to use all the tables. |
SELECT COUNT Average FROM table WHERE Matches < 52 AND Runs < 4564 AND Wickets < 265 | CREATE TABLE INST, Here is a database schema( table schema); | Name the total number of average for wickets less than 265, runs less than 4564 and matches less than 52.It is not neccessary to use all the tables. |
SELECT original_season FROM table_18974269_1 WHERE player = "Evelyn Smith" | CREATE TABLE INST, Here is a database schema( table schema); | What was the season where Evelyn Smith was on?It is not neccessary to use all the tables. |
SELECT score_in_the_final FROM table_name_96 WHERE date = "april 5, 1995" | CREATE TABLE INST, Here is a database schema( table schema); | On the final date of April 5 1995 what was the score?It is not neccessary to use all the tables. |
SELECT Game 3 FROM table WHERE Game 2 = ian french | CREATE TABLE INST, Here is a database schema( table schema); | Wjat game 3 has ian french as a game of 2?.It is not neccessary to use all the tables. |
SELECT TV season FROM table WHERE Season < 8 AND Households (in millions) = 15.92 (17.1 rating) | CREATE TABLE INST, Here is a database schema( table schema); | Which TV season has a Season smaller than 8, and a Household (in millions) of 15.92 (17.1 rating)?.It is not neccessary to use all the tables. |
SELECT MAX Founded FROM table WHERE Nickname = Belles | CREATE TABLE INST, Here is a database schema( table schema); | under belles, which is the most possible created?.It is not neccessary to use all the tables. |
SELECT MIN(year) FROM table_name_6 WHERE position = "7th" | CREATE TABLE INST, Here is a database schema( table schema); | What was the earliest year that Târlea took 7th place?It is not neccessary to use all the tables. |
SELECT "Printer ports" FROM table_609 WHERE "Model number" = 'EX Plus3' | CREATE TABLE INST, Here is a database schema( table schema); | What's the type of printer ports in the model number EX Plus3?It is not neccessary to use all the tables. |
SELECT COUNT("Acres") FROM table_41788 WHERE "Landfill" = 'sai tso wan' AND "Opened" < '1978' | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of acres at Sai Tso Wan, opening before 1978?It is not neccessary to use all the tables. |
SELECT Double Non-Suited Match FROM table WHERE Non-Suited Match = 3:1 AND House Edge = 3.53% | CREATE TABLE INST, Here is a database schema( table schema); | With a house edge of 3.53% and a Non-Suited Matched of 3:1, name the Double Non-Suited Match..It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Type = transfer AND Transfer fee = €8m + €2m in variables | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the person with a type of transfer, and a Transfer fee of €8m + €2m in variables?.It is not neccessary to use all the tables. |
SELECT AVG(gold) FROM table_name_98 WHERE silver > 2 AND nation = "west germany" | CREATE TABLE INST, Here is a database schema( table schema); | What is the average value for Gold when the value for Silver is greater than 2 and when the Nation is West Germany?It is not neccessary to use all the tables. |
SELECT oct FROM table_name_94 WHERE nov = "51/30" | CREATE TABLE INST, Here is a database schema( table schema); | What were the Oct. temperatures for the city that had Nov. temperatures of 51/30?It is not neccessary to use all the tables. |
SELECT package_option FROM table_name_68 WHERE content = "religione" AND country = "italy" | CREATE TABLE INST, Here is a database schema( table schema); | What is the package/option in Italy when the content is religione?It is not neccessary to use all the tables. |
SELECT Time FROM table WHERE Opponent = royals AND Record = 81–73 | CREATE TABLE INST, Here is a database schema( table schema); | What was time of the game against the Royals with a record of 81–73?.It is not neccessary to use all the tables. |
SELECT drawn FROM table_20396710_1 WHERE points_for = "39" | CREATE TABLE INST, Here is a database schema( table schema); | when points for is 39 what is the total number of drawnIt is not neccessary to use all the tables. |
SELECT competition FROM table_name_27 WHERE score = "3–3" | CREATE TABLE INST, Here is a database schema( table schema); | What Competition had a Score of 3–3?It is not neccessary to use all the tables. |
SELECT high_rebounds FROM table_17058226_5 WHERE high_assists = "Craig Smith (4)" | CREATE TABLE INST, Here is a database schema( table schema); | Who performed all the high rebounds when craig smith (4) was the lead for high assists?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Place = t7 AND Player = justin leonard | CREATE TABLE INST, Here is a database schema( table schema); | What is T7 Place Player Justin Leonard's Score?.It is not neccessary to use all the tables. |
SELECT Home team score FROM table WHERE Home team = geelong | CREATE TABLE INST, Here is a database schema( table schema); | What is Geelong's home team score?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Game = 3 | CREATE TABLE INST, Here is a database schema( table schema); | What is the score in game 3?.It is not neccessary to use all the tables. |
SELECT score_in_the_final FROM table_name_70 WHERE surface = "clay" AND tournament = "dortmund" | CREATE TABLE INST, Here is a database schema( table schema); | Played on Clay Surface what was the Score of the Dortmund Tournament?It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_92 WHERE score = "postponed (rain) not rescheduled" | CREATE TABLE INST, Here is a database schema( table schema); | Name the opponent for Score of postponed (rain) not rescheduledIt is not neccessary to use all the tables. |
SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Round for the jiu-jitsu vs martial arts?It is not neccessary to use all the tables. |
SELECT Location Attendance FROM table WHERE High assists = luke ridnour (10) AND Date = december 3 | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the Location Attendance that has the High assists of luke ridnour (10), and the Date of december 3?.It is not neccessary to use all the tables. |
SELECT COUNT Date of successors formal installation FROM table WHERE Successor = Aaron Ogden (F) | CREATE TABLE INST, Here is a database schema( table schema); | how many times has Aaron Ogden (f), been a successor and has had a formal installation? .It is not neccessary to use all the tables. |
SELECT school FROM table_name_32 WHERE county = "45 lake" AND location = "merrillville" | CREATE TABLE INST, Here is a database schema( table schema); | What school is from 45 Lake county and is located in Merrillville?It is not neccessary to use all the tables. |
SELECT nickname FROM table_1974545_1 WHERE enrollment = 9000 | CREATE TABLE INST, Here is a database schema( table schema); | Name the nickname for enrollment being 9000It is not neccessary to use all the tables. |
SELECT district FROM table_1341453_15 WHERE incumbent = "John Porter" | CREATE TABLE INST, Here is a database schema( table schema); | What district was John Porter elected in?It is not neccessary to use all the tables. |
SELECT Circuit FROM table WHERE Date = 16 april | CREATE TABLE INST, Here is a database schema( table schema); | what is the circuit when the date is 16 april?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_72 WHERE year < 2009 AND event = "3000 m" AND competition = "world youth championships" | CREATE TABLE INST, Here is a database schema( table schema); | Which Venue has a Year smaller than 2009 and an Event of 3000 m and a Competition of world youth championships?It is not neccessary to use all the tables. |
SELECT AVG Works number FROM table WHERE Number > 807 AND Type = 0-6-0 AND Date = 1920 | CREATE TABLE INST, Here is a database schema( table schema); | Which Works number has a Number larger than 807, and a Type of 0-6-0, and a Date of 1920?.It is not neccessary to use all the tables. |
SELECT "Outcome" FROM table_77239 WHERE "Year" < '1997' | CREATE TABLE INST, Here is a database schema( table schema); | What was the outcome before 1997?It is not neccessary to use all the tables. |
SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE author___editor___source = "The Economist" AND year_of_publication = "2007" AND ranking_la__2_ = "2nd" | CREATE TABLE INST, Here is a database schema( table schema); | How many countries were sampled in the index created by The Economist published in 2007 and ranked 2nd in the LA Ranking?It is not neccessary to use all the tables. |
SELECT Colors FROM table WHERE Residence Hall = Howard Hall | CREATE TABLE INST, Here is a database schema( table schema); | What are the colors of Howard Hall?.It is not neccessary to use all the tables. |
SELECT order__number FROM table_19508635_1 WHERE theme = "1960s" | CREATE TABLE INST, Here is a database schema( table schema); | Name the order number for 1960sIt is not neccessary to use all the tables. |
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'diagnoses_icd' AND cost.event_id IN (SELECT diagnoses_icd.row_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'poisoning-barbiturates')) | CREATE TABLE INST, Here is a database schema( table schema); | how much does a medical diagnosis of poisoning-barbiturates cost?It is not neccessary to use all the tables. |
SELECT Rounds FROM table WHERE Driver = frédéric vervisch | CREATE TABLE INST, Here is a database schema( table schema); | How many rounds did frédéric vervisch go?.It is not neccessary to use all the tables. |
SELECT district FROM table_name_54 WHERE constituency_number = "98" | CREATE TABLE INST, Here is a database schema( table schema); | What district has 98 constituencies?It is not neccessary to use all the tables. |
SELECT Engine FROM table WHERE Year < 1977 | CREATE TABLE INST, Here is a database schema( table schema); | Name the engine for year less than 1977.It is not neccessary to use all the tables. |
SELECT AVG December FROM table WHERE Opponent = @ toronto maple leafs | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the average December rhat has the Opponent of @ toronto maple leafs?.It is not neccessary to use all the tables. |
SELECT visitor FROM table_name_6 WHERE date = "march 26" | CREATE TABLE INST, Here is a database schema( table schema); | Who visited on march 26?It is not neccessary to use all the tables. |
SELECT at_manhattan FROM table_15740666_4 WHERE kansas_state_vs = "TCU" | CREATE TABLE INST, Here is a database schema( table schema); | What is the at Manhattan record against TCU?It is not neccessary to use all the tables. |
SELECT Winner FROM table WHERE UCI Rating = CN | CREATE TABLE INST, Here is a database schema( table schema); | who was the winner of uci rating cn?.It is not neccessary to use all the tables. |
SELECT "Name" FROM table_41728 WHERE "Position" = 'guard/forward' | CREATE TABLE INST, Here is a database schema( table schema); | Which player is in the position of Guard/Forward?It is not neccessary to use all the tables. |
SELECT Attendance FROM table WHERE Time = 3:00 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of people in attendance when the time is 3:00?.It is not neccessary to use all the tables. |
SELECT game FROM table_name_80 WHERE location = "philadelphia spectrum" AND date = "april 1" | CREATE TABLE INST, Here is a database schema( table schema); | What Game has a Location of Philadelphia Spectrum and a Date of April 1?It is not neccessary to use all the tables. |
SELECT Case Length FROM table WHERE Name = .416 barrett | CREATE TABLE INST, Here is a database schema( table schema); | A .416 barrett has which Case Length?.It is not neccessary to use all the tables. |
SELECT Surface FROM table WHERE Opponent in the final = laura golarsa | CREATE TABLE INST, Here is a database schema( table schema); | What was the surface that Laura Golarsa and her opponent played on in the final?.It is not neccessary to use all the tables. |
SELECT position FROM table_name_95 WHERE round = 27 | CREATE TABLE INST, Here is a database schema( table schema); | What Position has a Round of 27?It is not neccessary to use all the tables. |
SELECT attendance FROM table_name_78 WHERE week = 12 | CREATE TABLE INST, Here is a database schema( table schema); | How many were in attendance during week 12?It is not neccessary to use all the tables. |
SELECT MIN FA Trophy FROM table WHERE Club = forest green rovers AND Play-offs > 0 | CREATE TABLE INST, Here is a database schema( table schema); | Which of the lowest FA Trophys involved the Forest Green Rovers club when the play-offs number was bigger than 0?.It is not neccessary to use all the tables. |
SELECT COUNT(3 AS rd_pl) FROM table_13196576_2 WHERE team = "Ducati Xerox" | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number for 3rd place for ducati xerox?It is not neccessary to use all the tables. |
SELECT Series FROM table WHERE Date = April 18 | CREATE TABLE INST, Here is a database schema( table schema); | Which series were played on April 18?.It is not neccessary to use all the tables. |
SELECT COUNT(cancelled) FROM table_211615_2 WHERE station = "Turnham Green" | CREATE TABLE INST, Here is a database schema( table schema); | Name the number of cancelled for turnham greenIt is not neccessary to use all the tables. |
SELECT team FROM table_name_64 WHERE stadium = "vikings stadium" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the team at vikings stadium?It is not neccessary to use all the tables. |
SELECT machine FROM table_name_95 WHERE place = 5 | CREATE TABLE INST, Here is a database schema( table schema); | What machine has 5 as the place?It is not neccessary to use all the tables. |
SELECT "Incumbent" FROM table_18372 WHERE "First elected" = '1940' | CREATE TABLE INST, Here is a database schema( table schema); | Who was the incumbent in 1940?It is not neccessary to use all the tables. |
SELECT COUNT Rnd FROM table WHERE Race = Kansas | CREATE TABLE INST, Here is a database schema( table schema); | tell the number of times where kansas was the location.It is not neccessary to use all the tables. |
SELECT COUNT No. in series FROM table WHERE Title = "The Key" | CREATE TABLE INST, Here is a database schema( table schema); | how many episodes in the serie were title "the key".It is not neccessary to use all the tables. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.