sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT COUNT(attendance) FROM table_17120964_8 WHERE result = "Lost 5-3" | CREATE TABLE INST, Here is a database schema( table schema); | How many attendance figures are given for the game where the final score was lost 5-3?It is not neccessary to use all the tables. |
SELECT Club Chairman FROM table WHERE Team captain = Murat Erdoğan | CREATE TABLE INST, Here is a database schema( table schema); | Who is the club chairman of the team that Murat Erdoğan is the captain of?.It is not neccessary to use all the tables. |
SELECT class_a FROM table_14601528_2 WHERE class_aAAAA = Pearland | CREATE TABLE INST, Here is a database schema( table schema); | Name the class a for pearlandIt is not neccessary to use all the tables. |
SELECT SUM(height__m_) FROM table_name_70 WHERE year_built > 1984 AND name = "commerzbank tower" | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of the heights in meters for the commerzbank tower built after 1984?It is not neccessary to use all the tables. |
SELECT President FROM table WHERE Presidency > 7 | CREATE TABLE INST, Here is a database schema( table schema); | What President has a Presidency greater than 7?.It is not neccessary to use all the tables. |
SELECT 2011 FROM table_name_2 WHERE tournament = "us open" | CREATE TABLE INST, Here is a database schema( table schema); | what is the 2011 performance for the US open?It is not neccessary to use all the tables. |
SELECT attendance FROM table_name_48 WHERE week = 1 | CREATE TABLE INST, Here is a database schema( table schema); | What was the attendance for Week 1?It is not neccessary to use all the tables. |
SELECT AVG Wins FROM table WHERE Hampden FL = south warrambool | CREATE TABLE INST, Here is a database schema( table schema); | How many wins did South Warrambool have?.It is not neccessary to use all the tables. |
SELECT MIN Attendance FROM table WHERE Date = 8 october 1986 | CREATE TABLE INST, Here is a database schema( table schema); | What was the lowest Attendance on 8 October 1986?.It is not neccessary to use all the tables. |
SELECT MIN Bronze FROM table WHERE Rank = 3 AND Silver < 2 | CREATE TABLE INST, Here is a database schema( table schema); | Which Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2?.It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_43 WHERE week > 16 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent after week 16?It is not neccessary to use all the tables. |
SELECT record FROM table_name_56 WHERE games = "1991 port of spain" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Record of the 1991 Port of Spain Games?It is not neccessary to use all the tables. |
SELECT COUNT Attendance FROM table 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 Venue FROM table WHERE Away team = north melbourne | CREATE TABLE INST, Here is a database schema( table schema); | Where was the game played where North Melbourne was the away team?.It is not neccessary to use all the tables. |
SELECT COUNT(number_of_dances) FROM table_20424140_3 WHERE place = 6 | CREATE TABLE INST, Here is a database schema( table schema); | How many different numbers of total dances are there for the couple ranked at number 6?It is not neccessary to use all the tables. |
SELECT Attendance FROM table WHERE Opponent = montreal alouettes AND Date = oct 4 | CREATE TABLE INST, Here is a database schema( table schema); | What is Attendance, when Opponent is Montreal Alouettes, and when Date is Oct 4?.It is not neccessary to use all the tables. |
SELECT Number FROM table WHERE percentage (%) = 80.62 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number with an 80.62 percentage?.It is not neccessary to use all the tables. |
SELECT location FROM table_name_92 WHERE method = "submission (standing guillotine choke)" | CREATE TABLE INST, Here is a database schema( table schema); | Where was the match with a method of submission (standing guillotine choke)?It is not neccessary to use all the tables. |
SELECT MAX(opened) FROM table_name_34 WHERE city = "glasgow, scotland" | CREATE TABLE INST, Here is a database schema( table schema); | What is the latest opened year of the team in Glasgow Scotland?It is not neccessary to use all the tables. |
SELECT ABS("result" - "result") FROM table_204_662 WHERE "week" = 1 | CREATE TABLE INST, Here is a database schema( table schema); | what was the difference in points in week ones match up ?It is not neccessary to use all the tables. |
SELECT season FROM table_20217456_7 WHERE rl_süd__1st_ = "SV Darmstadt 98" | CREATE TABLE INST, Here is a database schema( table schema); | What season did SV Darmstadt 98 end up at RL Süd (1st)?It is not neccessary to use all the tables. |
SELECT SUM(votes__gib_) FROM table_name_38 WHERE party = "green" | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of votes for the green party?It is not neccessary to use all the tables. |
SELECT population FROM table_name_25 WHERE median_household_income = "$69,760" | CREATE TABLE INST, Here is a database schema( table schema); | What is the population for a county that has a median income of $69760?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Home team = st kilda | CREATE TABLE INST, Here is a database schema( table schema); | What day is st kilda the home side?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_91 WHERE loss = "cerutti (0-1)" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the game that had a loss of Cerutti (0-1)?It is not neccessary to use all the tables. |
SELECT COUNT Episode Count FROM table WHERE Actor = liz carr | CREATE TABLE INST, Here is a database schema( table schema); | How many Episode Counts have an Actor of liz carr?.It is not neccessary to use all the tables. |
SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24 | CREATE TABLE INST, Here is a database schema( table schema); | What is the least round number for Jon Olinger who was picked before pick # 24?It is not neccessary to use all the tables. |
SELECT COUNT Left FROM table WHERE Nickname = Cardinals | CREATE TABLE INST, Here is a database schema( table schema); | Name the number of left for cardinals.It is not neccessary to use all the tables. |
SELECT Played FROM table WHERE Won = 0 | CREATE TABLE INST, Here is a database schema( table schema); | How many teams that played won 0 games?.It is not neccessary to use all the tables. |
SELECT joined FROM table_261931_2 WHERE location = "Lewiston, Maine" | CREATE TABLE INST, Here is a database schema( table schema); | When did the institution located in Lewiston Maine join the conference?It is not neccessary to use all the tables. |
SELECT Touchdowns FROM table WHERE QB Rating = 66.6 | CREATE TABLE INST, Here is a database schema( table schema); | How many touchdowns were there with QB rating of 66.6?.It is not neccessary to use all the tables. |
SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62 | CREATE TABLE INST, Here is a database schema( table schema); | When a lane of 4 has a QUART greater than 44.62 what is the lowest HEAT?It is not neccessary to use all the tables. |
SELECT COUNT(county) FROM table_18600760_8 WHERE pop__2010_ = 90 | CREATE TABLE INST, Here is a database schema( table schema); | Name the number of county for 90 populationIt is not neccessary to use all the tables. |
SELECT MAX(game) FROM table_22879323_8 WHERE high_rebounds = "Kris Humphries (8)" | CREATE TABLE INST, Here is a database schema( table schema); | What's the highest game number for a game in which Kris Humphries (8) did the high rebounds?It is not neccessary to use all the tables. |
SELECT T1.emp_fname FROM employee AS T1 JOIN class AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'CIS-220' INTERSECT SELECT T1.emp_fname FROM employee AS T1 JOIN class AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'QM-261' | CREATE TABLE INST, Here is a database schema( table schema); | Find the first name of the professor who is teaching two courses with code CIS-220 and QM-261.It is not neccessary to use all the tables. |
SELECT MIN(opponents) FROM table_24560733_1 | CREATE TABLE INST, Here is a database schema( table schema); | What was the minimum number for opponents?It is not neccessary to use all the tables. |
SELECT SUM Gold FROM table WHERE Silver > 17 AND Bronze > 24 | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum for gold when there is more than 17 silver and more than 24 bronze?.It is not neccessary to use all the tables. |
SELECT MIN Silver FROM table WHERE Bronze = 2 AND Total > 4 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest silver that has 2 as the bronze, with a total greater than 4?.It is not neccessary to use all the tables. |
SELECT MAX Poles FROM table WHERE Season = 2011 | CREATE TABLE INST, Here is a database schema( table schema); | How many pole positions were there for the 2011 season? .It is not neccessary to use all the tables. |
SELECT MIN Rank FROM table WHERE Name = jeremiah massey AND Games < 20 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20?.It is not neccessary to use all the tables. |
SELECT name FROM table_name_26 WHERE first_performance = "3 july 2011" | CREATE TABLE INST, Here is a database schema( table schema); | who had the first performance on 3 july 2011?It is not neccessary to use all the tables. |
SELECT 1913 Class FROM table WHERE 1st built < 494 AND W.A. = 4-4-0t | CREATE TABLE INST, Here is a database schema( table schema); | What is the 1913 class of locomotive that has a 1st built value under 494 and WA of 4-4-0t?.It is not neccessary to use all the tables. |
SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university" | CREATE TABLE INST, Here is a database schema( table schema); | Which Conference has a City of boca raton and a School of florida atlantic university?It is not neccessary to use all the tables. |
SELECT engine FROM table_name_3 WHERE team = "bettenhausen motorsports" | CREATE TABLE INST, Here is a database schema( table schema); | What is the engine for the Bettenhausen Motorsports team?It is not neccessary to use all the tables. |
SELECT week_2_sept_7 FROM table_name_8 WHERE week_7_oct_12 = "ball state (7-0)" | CREATE TABLE INST, Here is a database schema( table schema); | Which Week 2 Sept 7 has a Week 7 Oct 12 of ball state (7-0)?It is not neccessary to use all the tables. |
SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY HIRE_DATE | CREATE TABLE INST, Here is a database schema( table schema); | For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a line chart about the change of department_id over hire_date , order by the HIRE_DATE in ascending.It is not neccessary to use all the tables. |
SELECT Vault FROM table WHERE Total = 56.635 | CREATE TABLE INST, Here is a database schema( table schema); | What is the vault score for the total of 56.635?.It is not neccessary to use all the tables. |
SELECT Termination of mission FROM table WHERE Appointed by = franklin pierce | CREATE TABLE INST, Here is a database schema( table schema); | Name the termination of mission for appointed by of franklin pierce.It is not neccessary to use all the tables. |
SELECT Combativity award FROM table WHERE Winner = luis león sánchez | CREATE TABLE INST, Here is a database schema( table schema); | Name the combativity award with winner of luis león sánchez.It is not neccessary to use all the tables. |
SELECT Result F – A FROM table WHERE League position = 2nd AND Opponents = liverpool | CREATE TABLE INST, Here is a database schema( table schema); | What Result F – A has a League position of 2nd, and Opponents of liverpool?.It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Extra = pentathlon | CREATE TABLE INST, Here is a database schema( table schema); | What is Venue, when Extra is Pentathlon?.It is not neccessary to use all the tables. |
SELECT AVG Year FROM table WHERE Quantity = 10 AND GWR Numbers = 409, 290, 315, 317–321, 324, 333 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317–321, 324, 333?.It is not neccessary to use all the tables. |
SELECT SUM Bronze FROM table WHERE Silver > 5 AND Gold < 20 | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of bronzes having silvers over 5 and golds under 20?.It is not neccessary to use all the tables. |
SELECT winner FROM table_name_39 WHERE finalist = "lietuvos rytas" AND season < 2010 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist?It is not neccessary to use all the tables. |
SELECT 2013 FROM table WHERE Tournament = us open | CREATE TABLE INST, Here is a database schema( table schema); | What value for 2013 corresponds to the US Open Tournament?.It is not neccessary to use all the tables. |
SELECT game FROM table_name_1 WHERE date = "may 29" | CREATE TABLE INST, Here is a database schema( table schema); | What game was played on May 29?It is not neccessary to use all the tables. |
SELECT 2010 FROM table_name_8 WHERE 2009 = "w" AND 2007 = "qf" | CREATE TABLE INST, Here is a database schema( table schema); | what is 2010 when 2009 is w and 2007 is qf?It is not neccessary to use all the tables. |
SELECT 2006 FROM table_name_72 WHERE 2009 = "0" AND tournament = "runner-ups" | CREATE TABLE INST, Here is a database schema( table schema); | What is the value in 2006 when the value for 2009 is 0 with runner-ups for tournament?It is not neccessary to use all the tables. |
SELECT t1.TagName AS "tag_link", t2.TagName AS "tag_link", COUNT(pt1.PostId) AS "post_count" FROM PostTags AS pt1 JOIN PostTags AS pt2 ON pt1.PostId = pt2.PostId JOIN Tags AS t1 ON t1.Id = pt1.TagId JOIN Tags AS t2 ON t2.Id = pt2.TagId GROUP BY t1.TagName, t2.TagName ORDER BY COUNT(pt1.PostId) DESC LIMIT 1000 | CREATE TABLE INST, Here is a database schema( table schema); | Tags that are used together. This might give some interesting insight in the types of posts on a site..It is not neccessary to use all the tables. |
SELECT date FROM table_name_87 WHERE venue = "princes park" | CREATE TABLE INST, Here is a database schema( table schema); | Name the date for princes parkIt is not neccessary to use all the tables. |
SELECT Withdrawn FROM table WHERE GSR Class = 296 | CREATE TABLE INST, Here is a database schema( table schema); | What is withdrawn with a GSR Class of 296?.It is not neccessary to use all the tables. |
SELECT winning_driver FROM table_1769428_2 WHERE team = "Hendrick Motorsports" AND make = "Chevrolet Impala SS" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the winning driver for Hendrick Motorsports in a Chevrolet Impala SS?It is not neccessary to use all the tables. |
SELECT COUNT EBIT (US $m) FROM table WHERE Revenue (US $million) > 434.8 AND Net profit (US $m) > 96.4 | CREATE TABLE INST, Here is a database schema( table schema); | COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?.It is not neccessary to use all the tables. |
SELECT decade FROM table_name_92 WHERE artist = "the replacements" | CREATE TABLE INST, Here is a database schema( table schema); | What decade is the artist the replacements?It is not neccessary to use all the tables. |
SELECT athlete FROM table_name_30 WHERE rank < 17 AND total = "119" | CREATE TABLE INST, Here is a database schema( table schema); | Who had a rank under 17 with a total of 119?It is not neccessary to use all the tables. |
SELECT district FROM table_name_41 WHERE name = "abhayapuri south" | CREATE TABLE INST, Here is a database schema( table schema); | What district has abhayapuri south as the name?It is not neccessary to use all the tables. |
SELECT position FROM table_26996293_7 WHERE cfl_team = "Saskatchewan (7)" | CREATE TABLE INST, Here is a database schema( table schema); | What is the position of cfl team saskatchewan (7)?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Opponent = @ detroit | CREATE TABLE INST, Here is a database schema( table schema); | What record has @ detroit as the opponent?.It is not neccessary to use all the tables. |
SELECT software_platform, COUNT(*) FROM device GROUP BY software_platform | CREATE TABLE INST, Here is a database schema( table schema); | Please show different software platforms and the corresponding number of devices using each.It is not neccessary to use all the tables. |
SELECT launched FROM table_name_64 WHERE ship = "fearless" | CREATE TABLE INST, Here is a database schema( table schema); | What launch has a Ship of fearless?It is not neccessary to use all the tables. |
SELECT MAX Number FROM table WHERE Name = Trevard Lindley | CREATE TABLE INST, Here is a database schema( table schema); | What was Trevard Lindley's number?.It is not neccessary to use all the tables. |
SELECT chassis FROM table_name_5 WHERE points = 13 AND year = 1975 AND entrant = "scuderia citta del mille" | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the Chassis that has the Points of 13, and the Year of 1975, and the Entrant of scuderia citta del mille?It is not neccessary to use all the tables. |
SELECT High assists FROM table WHERE Date = November 4 | CREATE TABLE INST, Here is a database schema( table schema); | Who had the highest assists on November 4.It is not neccessary to use all the tables. |
SELECT driver FROM table_name_91 WHERE time_retired = "engine" AND grid < 9 | CREATE TABLE INST, Here is a database schema( table schema); | Who drive the car that retired due to engine failure and a grid of less than 9?It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Record = 43-56 | CREATE TABLE INST, Here is a database schema( table schema); | Which is the opponent when the record was 43-56?.It is not neccessary to use all the tables. |
SELECT Race Winner FROM table WHERE Constructor = Renault | CREATE TABLE INST, Here is a database schema( table schema); | what's the race winner with constructor renault.It is not neccessary to use all the tables. |
SELECT Original Broadway production FROM table WHERE Role = dr. victor von frankenstein | CREATE TABLE INST, Here is a database schema( table schema); | Which Original Broadway production has a Role of dr. victor von frankenstein?.It is not neccessary to use all the tables. |
SELECT audition_city FROM table_22897967_1 WHERE callback_venue = "Hyatt Regency Chicago" | CREATE TABLE INST, Here is a database schema( table schema); | Name the audition city for hyatt regency chicagoIt is not neccessary to use all the tables. |
SELECT COUNT(rank) FROM table_22916979_5 WHERE densest_incorporated_place = "Stone Park" | CREATE TABLE INST, Here is a database schema( table schema); | Name the number of rank for stone parkIt is not neccessary to use all the tables. |
SELECT points_against FROM table_name_9 WHERE lost = "3" | CREATE TABLE INST, Here is a database schema( table schema); | With the lost of 3 how many points?It is not neccessary to use all the tables. |
SELECT leading_scorer FROM table_name_40 WHERE date = "12 january 2008" | CREATE TABLE INST, Here is a database schema( table schema); | Name the leading scorer for 12 january 2008It is not neccessary to use all the tables. |
SELECT notes FROM table_name_77 WHERE time = "6:05.21" | CREATE TABLE INST, Here is a database schema( table schema); | what is the notes for the time 6:05.21?It is not neccessary to use all the tables. |
SELECT player FROM table_name_41 WHERE date = "07/06/1997" | CREATE TABLE INST, Here is a database schema( table schema); | Which player played on 07/06/1997?It is not neccessary to use all the tables. |
SELECT MAX(pos) FROM table_18811741_15 WHERE podiums = 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest pos for a driver with 1 podium?It is not neccessary to use all the tables. |
SELECT MIN(average) FROM table_name_61 WHERE lowest > 288 AND team = "east stirlingshire" | CREATE TABLE INST, Here is a database schema( table schema); | Lowest larger than 288, and a Team of east stirlingshire has what lowest average?It is not neccessary to use all the tables. |
SELECT class FROM table_name_75 WHERE name = "hms heartsease" | CREATE TABLE INST, Here is a database schema( table schema); | What's the class of the HMS Heartsease?It is not neccessary to use all the tables. |
SELECT points_classification FROM table_name_9 WHERE general_classification = "cyril dessel" | CREATE TABLE INST, Here is a database schema( table schema); | Which Points Classification does the General Classification of Cyril Dessel have?It is not neccessary to use all the tables. |
SELECT first_edition FROM table_name_60 WHERE pages = "264" AND isbn = "978-0785111832" | CREATE TABLE INST, Here is a database schema( table schema); | Which first edition has 264 pages and the ISBN of 978-0785111832?It is not neccessary to use all the tables. |
SELECT MIN(attendance) FROM table_14945881_1 WHERE date = "September 19, 1976" | CREATE TABLE INST, Here is a database schema( table schema); | Name the attendance for september 19 1976It is not neccessary to use all the tables. |
SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the largest goal ratio with Goals smaller than 0?It is not neccessary to use all the tables. |
SELECT neon FROM table_name_89 WHERE argon = "4.203" | CREATE TABLE INST, Here is a database schema( table schema); | What neon has an Argon of 4.203?It is not neccessary to use all the tables. |
SELECT place FROM table_name_14 WHERE score > 68 AND to_par = "e" AND player = "bunky henry" | CREATE TABLE INST, Here is a database schema( table schema); | When Bunky Henry of the United States scored higher than 68 and his To par was e what was his place?It is not neccessary to use all the tables. |
SELECT Represents FROM table WHERE Hometown = Los Alcarrizos | CREATE TABLE INST, Here is a database schema( table schema); | Name the represents for los alcarrizos.It is not neccessary to use all the tables. |
SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score for the South American Championship dated December 13 1925?It is not neccessary to use all the tables. |
SELECT COUNT Gold FROM table WHERE Silver > 0 AND Total > 1 AND Bronze > 3 | CREATE TABLE INST, Here is a database schema( table schema); | How many golds for nations with over 0 silvers, over 1 total, and over 3 bronze?.It is not neccessary to use all the tables. |
SELECT COUNT Crowd FROM table WHERE Away team score = 11.15 (81) | CREATE TABLE INST, Here is a database schema( table schema); | How large was the crowd when the away team scored 11.15 (81)?.It is not neccessary to use all the tables. |
SELECT date FROM table_27755784_8 WHERE team = "New Orleans" | CREATE TABLE INST, Here is a database schema( table schema); | What is the date when the team is listed as New Orleans?It is not neccessary to use all the tables. |
SELECT city_of_license FROM table_name_93 WHERE network = "latv" | CREATE TABLE INST, Here is a database schema( table schema); | In which city is the network latv licensed?It is not neccessary to use all the tables. |
SELECT MAX(drawn) FROM table_name_80 WHERE games < 6 | CREATE TABLE INST, Here is a database schema( table schema); | What are the highest number of games drawn for games numbered under 6?It is not neccessary to use all the tables. |
SELECT Common English FROM table WHERE Abbr = ai | CREATE TABLE INST, Here is a database schema( table schema); | What is the common english word with the abbr of ai?.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.