sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT MIN Execution units FROM table | CREATE TABLE INST, Here is a database schema( table schema); | What's the minimum number of execution units?.It is not neccessary to use all the tables. |
SELECT original_title FROM table_name_79 WHERE director = "sudhendu roy" | CREATE TABLE INST, Here is a database schema( table schema); | Name the original title directed by sudhendu royIt is not neccessary to use all the tables. |
SELECT director FROM table_10798928_1 WHERE original_title = "El nido" | CREATE TABLE INST, Here is a database schema( table schema); | Who directed El Nido?It is not neccessary to use all the tables. |
SELECT Time FROM table WHERE Distance = 24.00km AND Start time = 21:27 | CREATE TABLE INST, Here is a database schema( table schema); | What was the finishing time of the Stage that featured a distance of 24.00km and a start time of 21:27?.It is not neccessary to use all the tables. |
SELECT Engine FROM table WHERE Model = 2.0 bitdi (cr) dpf AND Torque = n·m (lb·ft) @ 1500–2000 rpm | CREATE TABLE INST, Here is a database schema( table schema); | What is the engine for model 2.0 bitdi (cr) dpf, with a Torque of n·m (lb·ft) @ 1500–2000 rpm?.It is not neccessary to use all the tables. |
SELECT phonetic FROM table_name_88 WHERE standard_thai = "ผ่า" | CREATE TABLE INST, Here is a database schema( table schema); | What is the phonetic when the standard thai is ผ่า?It is not neccessary to use all the tables. |
SELECT Date of registration FROM table WHERE Province = madrid AND Party = partido radical | CREATE TABLE INST, Here is a database schema( table schema); | When was the Partido radical party in Madrid registered?.It is not neccessary to use all the tables. |
SELECT July FROM table WHERE October = jill de vries | CREATE TABLE INST, Here is a database schema( table schema); | Who is in July where October is jill de vries?.It is not neccessary to use all the tables. |
SELECT lost FROM table_name_33 WHERE drawn = "0" AND tries_against = "41" | CREATE TABLE INST, Here is a database schema( table schema); | What is the value for Lost when Drawn is 0 and Tries against is 41?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Opponent = white sox AND Record = 81-48 | CREATE TABLE INST, Here is a database schema( table schema); | What was the game of the game against the White Sox with a record of 81-48?.It is not neccessary to use all the tables. |
SELECT SUM(round) FROM table_name_50 WHERE name = "mitch davis" AND overall < 118 | CREATE TABLE INST, Here is a database schema( table schema); | What round did Mitch Davis with an overall higher than 118 have?It is not neccessary to use all the tables. |
SELECT Confederation FROM table WHERE Remaining places in finals = 4 | CREATE TABLE INST, Here is a database schema( table schema); | What is the confederation when there are 4 places remaining in the finals?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Year = 1992 AND Result = loss | CREATE TABLE INST, Here is a database schema( table schema); | What's the score for 1992, with the result of a loss?.It is not neccessary to use all the tables. |
SELECT Home team score FROM table WHERE Away team score = 13.6 (84) | CREATE TABLE INST, Here is a database schema( table schema); | What was the home team's score at the game where the away team scored 13.6 (84)?.It is not neccessary to use all the tables. |
SELECT name FROM table_name_90 WHERE wins < 3 AND matches < 15 | CREATE TABLE INST, Here is a database schema( table schema); | What are the names of those who made less than 3 wins in 15 matches?It is not neccessary to use all the tables. |
SELECT SUM Draws FROM table WHERE Wins < 8 AND Goals for = 31 | CREATE TABLE INST, Here is a database schema( table schema); | How many draws have less than 8 wins, and 31 goals for?.It is not neccessary to use all the tables. |
SELECT party FROM table_name_57 WHERE incumbent = "virginia foxx" | CREATE TABLE INST, Here is a database schema( table schema); | What is the party affiliation of Virginia Foxx?It is not neccessary to use all the tables. |
SELECT COUNT Year FROM table WHERE Issue price > 15.95 AND Special notes = from edmonton oilers gift set | CREATE TABLE INST, Here is a database schema( table schema); | What year has an issue price over 15.95, and a special notes from edmonton oilers gift set?.It is not neccessary to use all the tables. |
SELECT Overall place FROM table WHERE Combined elapsed time = 170d 11h 31m 10s | CREATE TABLE INST, Here is a database schema( table schema); | What is the overall place that has 170d 11h 31m 10s as the combined elapsed time?.It is not neccessary to use all the tables. |
SELECT Starting_Year FROM technician ORDER BY Age DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the starting year of the oldest technicians?It is not neccessary to use all the tables. |
SELECT Winner FROM table WHERE Tier = tier iii | CREATE TABLE INST, Here is a database schema( table schema); | When the Tier is listed as tier iii, who is the Winner?.It is not neccessary to use all the tables. |
SELECT Away team score FROM table WHERE Away team = richmond | CREATE TABLE INST, Here is a database schema( table schema); | What is Richmond's away team score versus Geelong?.It is not neccessary to use all the tables. |
SELECT Div. FROM table WHERE Conf. = western AND Div. Finish = 2nd AND Head coach = rick adelman | CREATE TABLE INST, Here is a database schema( table schema); | what is the division in the western conference that finished 2nd in their division under rick adelman?.It is not neccessary to use all the tables. |
SELECT COUNT(attendance) FROM table_name_85 WHERE date = "may 6" | CREATE TABLE INST, Here is a database schema( table schema); | How many attended on may 6?It is not neccessary to use all the tables. |
SELECT place FROM table_name_81 WHERE score = 70 - 67 - 69 - 69 = 275 | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the Place that has the Score of 70-67-69-69=275?It is not neccessary to use all the tables. |
SELECT COUNT Top 10 FROM table WHERE Starts = 7 AND Avg. Finish < 16.7 | CREATE TABLE INST, Here is a database schema( table schema); | How many top 10s belong to the team with a start of 7 and an average finish less than 16.7?.It is not neccessary to use all the tables. |
SELECT 2005 FROM table_name_48 WHERE 2011 = "q2" AND 2012 = "q1" AND 2003 = "1r" | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2005 value with a q2 in 2011 a q1 in 2012 and 1r in 2003?It is not neccessary to use all the tables. |
SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934" | CREATE TABLE INST, Here is a database schema( table schema); | Name the laid down for completed of 22 october 1934It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'non-invasiv... | CREATE TABLE INST, Here is a database schema( table schema); | how many patients were prescribed with docusate sodium within 2 months after the procedure of non-invasive mech vent, in 2102?It is not neccessary to use all the tables. |
SELECT Partner FROM table WHERE Surface = hard AND Score = 6–4, 6–2 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the Partner in a game with the Score of 6–4, 6–2 on a hard surface?.It is not neccessary to use all the tables. |
SELECT Chinese name FROM table WHERE English name = andy lau | CREATE TABLE INST, Here is a database schema( table schema); | What is the Chinese name for the English name Andy Lau?.It is not neccessary to use all the tables. |
SELECT County FROM table WHERE School = merrillville | CREATE TABLE INST, Here is a database schema( table schema); | In what county is the school of Merrillville?.It is not neccessary to use all the tables. |
SELECT High points FROM table WHERE Game = 81 | CREATE TABLE INST, Here is a database schema( table schema); | Who had the most points in game 81?.It is not neccessary to use all the tables. |
SELECT candidates FROM table_1341843_19 WHERE incumbent = "Joe Waggonner" | CREATE TABLE INST, Here is a database schema( table schema); | Who were the candidates in the district whose incumbent is Joe Waggonner?It is not neccessary to use all the tables. |
SELECT College FROM table WHERE Player = Damon Bailey | CREATE TABLE INST, Here is a database schema( table schema); | what is the college for the player damon bailey?.It is not neccessary to use all the tables. |
SELECT validation FROM table_15905399_1 WHERE iin_ranges = "5610, 560221-560225" | CREATE TABLE INST, Here is a database schema( table schema); | What is the validation for iin ranges 5610 560221-560225?It is not neccessary to use all the tables. |
SELECT 2007 FROM table_name_89 WHERE 2011 = "4r" AND 2009 = "2r" | CREATE TABLE INST, Here is a database schema( table schema); | How many sets were played in 2007 at the tournament that had 4R in 2011 and 2R in 2009?It is not neccessary to use all the tables. |
SELECT COUNT Centerfold model FROM table WHERE Cover model = Torrie Wilson | CREATE TABLE INST, Here is a database schema( table schema); | How many centerfold models were there when the cover model was Torrie Wilson?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Visiting Team = san francisco 49ers AND Year > 2007 | CREATE TABLE INST, Here is a database schema( table schema); | What Date after 2007 had the San Francisco 49ers as the Visiting Team?.It is not neccessary to use all the tables. |
SELECT "Score" FROM table_67131 WHERE "Loss" = 'cox (6–2)' | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the game that had a loss of Cox (6 2)?It is not neccessary to use all the tables. |
SELECT teams FROM table_name_27 WHERE home = "1-0" AND season = "1988-89" | CREATE TABLE INST, Here is a database schema( table schema); | What teams has a home of 1-0, in the season 1988-89?It is not neccessary to use all the tables. |
SELECT MAX Points FROM table WHERE November = 7 | CREATE TABLE INST, Here is a database schema( table schema); | How many points are there on november 7?.It is not neccessary to use all the tables. |
SELECT Result FROM table WHERE Competition = 1948 og | CREATE TABLE INST, Here is a database schema( table schema); | What was the result of the 1948 og competition?.It is not neccessary to use all the tables. |
SELECT yankton_yanktonai FROM table_1499791_2 WHERE southern_lakota = "wičháša" | CREATE TABLE INST, Here is a database schema( table schema); | Name the yankton yanktonai for wičhášaIt is not neccessary to use all the tables. |
SELECT Children Together FROM table WHERE Name = Benjamin Harrison | CREATE TABLE INST, Here is a database schema( table schema); | Who were the children of Benjamin Harrison?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Game Site = Cleveland Municipal Stadium | CREATE TABLE INST, Here is a database schema( table schema); | What date did they play in Cleveland Municipal Stadium?.It is not neccessary to use all the tables. |
SELECT SUM Attendance FROM table WHERE Opponent = detroit lions | CREATE TABLE INST, Here is a database schema( table schema); | How many attendances had the Detroit Lions as opponents?.It is not neccessary to use all the tables. |
SELECT Week FROM table WHERE Hot 100 Reaction = did not debut AND Performer(s) = natalie cole | CREATE TABLE INST, Here is a database schema( table schema); | Which week has hot 100 reaction as did not debut for Natalie Cole?.It is not neccessary to use all the tables. |
SELECT country FROM table_name_8 WHERE city = "bandar abbas" | CREATE TABLE INST, Here is a database schema( table schema); | What country is Bandar Abbas in?It is not neccessary to use all the tables. |
SELECT Judges FROM table WHERE Seasons and winners = Season 1, 2013–2014: Upcoming season | CREATE TABLE INST, Here is a database schema( table schema); | who is the the judges with seasons and winners being season 1, 2013–2014: upcoming season.It is not neccessary to use all the tables. |
SELECT MAX(wkts) FROM table_name_21 WHERE runs < 26 AND player = "james hopes" AND ovrs > 2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest wkts for james hopes who had less than 26 runs and more than 2 ovrs?It is not neccessary to use all the tables. |
SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7–1" | CREATE TABLE INST, Here is a database schema( table schema); | Round of 1r and an away result of 7–1 is what season?It is not neccessary to use all the tables. |
SELECT MIN(league) AS Cup FROM table_12755786_8 | CREATE TABLE INST, Here is a database schema( table schema); | what is the least amount in the tournament?It is not neccessary to use all the tables. |
SELECT set_3 FROM table_name_72 WHERE total = "62 - 75" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Set 3 when the Total was 62 - 75?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Time = 5:00 | CREATE TABLE INST, Here is a database schema( table schema); | What was the record when there was a fight that lasted 5:00?.It is not neccessary to use all the tables. |
SELECT Nation FROM table WHERE Event = 1000 metres | CREATE TABLE INST, Here is a database schema( table schema); | What nation did the speed skater that set a record in the 1000 metres event represent?.It is not neccessary to use all the tables. |
SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings GROUP BY booking_end_date ORDER BY booking_end_date | CREATE TABLE INST, Here is a database schema( table schema); | How many apartment bookings in each day? Show me a line chart grouping by booking end date, and I want to sort by the x axis in asc.It is not neccessary to use all the tables. |
SELECT Against (%) FROM table WHERE ± Yes side 2008 (%) = +18.1 | CREATE TABLE INST, Here is a database schema( table schema); | When +18.1 is the ± yes side 2008 percentage what is the percentage of against?.It is not neccessary to use all the tables. |
SELECT Roll FROM table WHERE Authority = state AND Decile > 1 | CREATE TABLE INST, Here is a database schema( table schema); | When a school has authority of state and a decile greater than 1, what is the roll number?.It is not neccessary to use all the tables. |
SELECT played FROM table_17941032_2 WHERE tries_for = "56" | CREATE TABLE INST, Here is a database schema( table schema); | How many times were there plays with a try of 56?It is not neccessary to use all the tables. |
SELECT shop_name FROM shop WHERE NOT shop_id IN (SELECT shop_id FROM stock) | CREATE TABLE INST, Here is a database schema( table schema); | What are the names of shops that do not have any devices in stock?It is not neccessary to use all the tables. |
SELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name | CREATE TABLE INST, Here is a database schema( table schema); | Find number of tracks in each genre?It is not neccessary to use all the tables. |
SELECT MIN Pernambuco FROM table WHERE Northeast Total = 119978 | CREATE TABLE INST, Here is a database schema( table schema); | What was the lowest number in Pernambuco where the Northeast had a total of 119978?.It is not neccessary to use all the tables. |
SELECT SUM(tier) FROM table_name_45 WHERE postseason = "semifinalist" | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of tiers for the postseason of semifinalist?It is not neccessary to use all the tables. |
SELECT MIN(obama_number) FROM table_20799905_1 WHERE county = "LAKE" | CREATE TABLE INST, Here is a database schema( table schema); | How many votes did Obama get in Lake County?It is not neccessary to use all the tables. |
SELECT SUM Year FROM table WHERE Nominee = lesli margherita | CREATE TABLE INST, Here is a database schema( table schema); | In what year was Lesli Margherita nominated?.It is not neccessary to use all the tables. |
SELECT Original U.S. air-date FROM table WHERE Original Canadian air-date = december 9, 2007 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007?.It is not neccessary to use all the tables. |
SELECT AVG Grid FROM table WHERE Manufacturer = aprilia AND Rider = bradley smith | CREATE TABLE INST, Here is a database schema( table schema); | Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?.It is not neccessary to use all the tables. |
SELECT Previous champion(s) FROM table WHERE Champion(s) = Xix Xavant | CREATE TABLE INST, Here is a database schema( table schema); | Who was the champion prior to Xix Xavant?.It is not neccessary to use all the tables. |
SELECT MIN Kerry# FROM table WHERE Bush% = 50.9% | CREATE TABLE INST, Here is a database schema( table schema); | Name the minimum kerry # for bush % for 50.9%.It is not neccessary to use all the tables. |
SELECT MAX Percentage FROM table WHERE Total Blocks > 361 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest percentage when there are more than 361 blocks?.It is not neccessary to use all the tables. |
SELECT MAX(points) FROM table_name_43 WHERE team = "marlboro brm" AND chassis = "brm p180" | CREATE TABLE INST, Here is a database schema( table schema); | What are the highest points for the team of marlboro brm with brm p180 as the chassis?It is not neccessary to use all the tables. |
SELECT Genus/Species FROM table WHERE Accession number = BX897699.1 | CREATE TABLE INST, Here is a database schema( table schema); | Name the genus/species of accession number bx897699.1.It is not neccessary to use all the tables. |
SELECT "crown entities" FROM table_204_988 WHERE id = (SELECT id FROM table_204_988 WHERE "crown entities" = 'takeovers panel') - 1 | CREATE TABLE INST, Here is a database schema( table schema); | what is the crown entity listed before the takeovers panel ?It is not neccessary to use all the tables. |
SELECT MAX(rank) FROM table_name_73 WHERE name = "tsvetelina kirilova" AND result < 55.97 | CREATE TABLE INST, Here is a database schema( table schema); | Which Rank has a Name of tsvetelina kirilova and a Result smaller than 55.97?It is not neccessary to use all the tables. |
SELECT Time/Retired FROM table WHERE Grid = 6 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Time/Retired for Grid 6?.It is not neccessary to use all the tables. |
SELECT Unit FROM table WHERE Construction started = 01.07.1967 | CREATE TABLE INST, Here is a database schema( table schema); | Which Unit's Construction started on 01.07.1967?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_47 WHERE competition = "friendly match" AND result = "2–1" | CREATE TABLE INST, Here is a database schema( table schema); | When is the Competition of friendly match with a Result of 2–1?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Tie no = 5 | CREATE TABLE INST, Here is a database schema( table schema); | what date did tie number 5 occur?.It is not neccessary to use all the tables. |
SELECT winning_driver FROM table_1137696_3 WHERE grand_prix = "European grand_prix" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the driver of the european grand prix?It is not neccessary to use all the tables. |
SELECT kit_maker FROM table_name_44 WHERE manager = "trond sollied" | CREATE TABLE INST, Here is a database schema( table schema); | Which kit maker have Trond Sollied as a manager?It is not neccessary to use all the tables. |
SELECT couple FROM table_19744915_15 WHERE vote_percentage = "7.691%" | CREATE TABLE INST, Here is a database schema( table schema); | What couple had a vote percentage of 7.691%It is not neccessary to use all the tables. |
SELECT Nationality FROM table WHERE Rank < 6 AND Lane = 6 | CREATE TABLE INST, Here is a database schema( table schema); | Which nationality has a lane of 6 and a rank smaller than 6?.It is not neccessary to use all the tables. |
SELECT MAX 20 rebounds FROM table WHERE Double double = 5 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest rebound Dennis Rodman obtained within the 20 rebounds category given two of the following:points, rebounds, assists, steals, and blocked shots (points) greater equal to 5.It is not neccessary to use all the tables. |
SELECT SUM Natural change FROM table WHERE Natural change (per 1000) > 5.4 AND Crude death rate (per 1000) < 14.3 AND Live births < 6,950 AND Crude birth rate (per 1000) < 28.2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of Natural Change, when Natural Change (Per 1000) is greater than 5.4, when Crude Death Rate (Per 1000) is less than 14.3, when Live Births is less than 6,950, and when Crude Birth Rate (Per 1000) is less than 28.2?.It is not neccessary to use all the tables. |
SELECT type FROM table_name_25 WHERE characters = "廣丙" | CREATE TABLE INST, Here is a database schema( table schema); | What type has the characters 廣丙?It is not neccessary to use all the tables. |
SELECT SUM Car # FROM table WHERE Laps < 369 AND Make = dodge AND Points > 49 | CREATE TABLE INST, Here is a database schema( table schema); | What is the car number that has less than 369 laps for a Dodge with more than 49 points?.It is not neccessary to use all the tables. |
SELECT tournament FROM table_name_49 WHERE opponent_in_the_final = "andre agassi" | CREATE TABLE INST, Here is a database schema( table schema); | What is Tournament when Opponent In The Final is "Andre Agassi"?It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Television service = cartello promozionale sky hd | CREATE TABLE INST, Here is a database schema( table schema); | What country has a television service with Cartello Promozionale sky hd?.It is not neccessary to use all the tables. |
SELECT world_ranking__1_ FROM table_name_54 WHERE ranking_la__2_ = "5th" AND year_of_publication = "2008" | CREATE TABLE INST, Here is a database schema( table schema); | In 2008 what was the world ranking that ranked 5th in L.A.?It is not neccessary to use all the tables. |
SELECT Division / Section FROM table WHERE Average Attendance Home = 2.459 | CREATE TABLE INST, Here is a database schema( table schema); | Which division has an average home attendance of 2.459?.It is not neccessary to use all the tables. |
SELECT "Corrected Time d:hh:mm:ss" FROM table_22432 WHERE "Sail Number" = 'AUS70' | CREATE TABLE INST, Here is a database schema( table schema); | What was the corrected time of sail number aus70?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Ladder Position = 8th AND Opposition = Hawthorn | CREATE TABLE INST, Here is a database schema( table schema); | On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?.It is not neccessary to use all the tables. |
SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_density_people_km_2 = "110.8" | CREATE TABLE INST, Here is a database schema( table schema); | What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer?It is not neccessary to use all the tables. |
SELECT * FROM football_data WHERE (FTHG + FTAG) = 0 | CREATE TABLE INST, Here is a database schema( betfront); | Which games had no goals scored at full time?. It is not neccessary to use all the tables. |
SELECT "Market Share" FROM table_60026 WHERE "Assets (USD) Millions" = '25' AND "Rank" = '23' | CREATE TABLE INST, Here is a database schema( table schema); | What is the Market Share that has Assets of 25 Million and a rank of 23?It is not neccessary to use all the tables. |
SELECT Manufacturer FROM table WHERE Quantity = 1 AND LMMR Name = great mountain | CREATE TABLE INST, Here is a database schema( table schema); | Which Manufacturer has a Quantity of 1, and has the LMMR name Great Mountain?.It is not neccessary to use all the tables. |
SELECT AVG Blank Ends FROM table WHERE Shot % < 78 AND Ends Won > 43 | CREATE TABLE INST, Here is a database schema( table schema); | Name the average Blank Ends which has a Shot % smaller than 78, and a Ends Won larger than 43?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE High points = carmelo anthony (26) | CREATE TABLE INST, Here is a database schema( table schema); | What was the final score for the game in which Carmelo Anthony (26) was the high points scorer?.It is not neccessary to use all the tables. |
SELECT CFL Team FROM table WHERE Player = Darcy Brown | CREATE TABLE INST, Here is a database schema( table schema); | What CFL team did Darcy Brown play for?.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.