sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Bhubaneswar%' ORDER BY Reputation DESC LIMIT 100
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Top 100 User of Bhubaneswar.It is not neccessary to use all the tables.
|
SELECT utah FROM table_name_7 WHERE colorado = "bush" AND new_mexico = "bush"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the value for utah when colorado and new mexico are bush?It is not neccessary to use all the tables.
|
SELECT Location FROM table WHERE Began < 1990 AND Country = france
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the location when began is before 1990 and the country is france?.It is not neccessary to use all the tables.
|
SELECT Tournament FROM table WHERE Runner(s)-up = tom kite
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What tournament had a Runner(s)-up of Tom Kite?.It is not neccessary to use all the tables.
|
SELECT COUNT(rank) FROM table_name_14 WHERE nation = "turkey (tur)" AND total > 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the rank of Turkey (TUR) with a total more than 2?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_92 WHERE february > 2 AND game < 55
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What team was the opponent when February shows more than 2 with a game number less than 55?It is not neccessary to use all the tables.
|
SELECT "Winning score" FROM table_41964 WHERE "Date" = 'jul 14, 1973'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the winning score for the tournament played on Jul 14, 1973?It is not neccessary to use all the tables.
|
SELECT title FROM table_25800134_2 WHERE airdate = "May 10, 1958"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the title of the episode that aired on May 10 1958?It is not neccessary to use all the tables.
|
SELECT driver FROM table_name_55 WHERE laps < 19 AND time_retired = "ignition"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who drove during the race with less than 19 laps and a time listed as ignition?It is not neccessary to use all the tables.
|
SELECT Athlete FROM table WHERE Year < 1984 AND Event = 800 m
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which athlete performed before 1984 in an 800 m event?.It is not neccessary to use all the tables.
|
SELECT opponent FROM table_23612439_2 WHERE date = "July 22"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which opponents are on the date July 22?It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Crowd > 18,817 AND Away team score = 11.14 (80)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the game with a crowd of 18,817 and an away team score of 11.14 (80) held?.It is not neccessary to use all the tables.
|
SELECT Written by FROM table WHERE UK Ratings (BBC2 Rank) = 2.27m (5)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who wrote the episode what had the rating 2.27m (5)?.It is not neccessary to use all the tables.
|
SELECT airport FROM table_name_73 WHERE code__iata_ = "ams"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which airport has an IATA code of AMS?It is not neccessary to use all the tables.
|
SELECT january FROM table_name_55 WHERE opponent = "toronto maple leafs"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which January has an Opponent of toronto maple leafs?It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Record = 78-60
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which opponent has a record of 78-60?.It is not neccessary to use all the tables.
|
SELECT Region FROM table WHERE Format = cd AND Catalog = 32xa-119
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the region of the release of a CD with catalog 32xa-119?.It is not neccessary to use all the tables.
|
SELECT COUNT Rank FROM table WHERE Notes = fb AND Time = 7:20.32
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Rank of the Player with a Time of 7:20.32 and Notes of FB?.It is not neccessary to use all the tables.
|
SELECT MAX(rank) FROM table_1912276_2 WHERE __750m = "45.505"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If -750 is 45.505 what is the maximum rank?It is not neccessary to use all the tables.
|
SELECT elevator FROM table_name_29 WHERE title = "bishop of palestrina"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Elevator has a Title of bishop of palestrina?It is not neccessary to use all the tables.
|
SELECT model_no FROM table_name_28 WHERE manufacturer = "bombardier"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which model number does bombardier manufacture?It is not neccessary to use all the tables.
|
SELECT bandwidth___mhz__ FROM table_2394927_1 WHERE profile = "8b"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the mhz when the profile is 8b?It is not neccessary to use all the tables.
|
SELECT Centerfold model FROM table WHERE 20 Questions = Krysten Ritter
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the centerfold model when Krysten Ritter played 20 questions?.It is not neccessary to use all the tables.
|
SELECT COUNT(week__number) FROM table_26250155_1 WHERE theme = "Billboard Hot 100 Hits" AND order__number = "3" AND original_artist = "Sixpence None the Richer"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the number of weeks that had a Billboard Hot 100 Hits theme an order number of 3 and an original artist of Sixpence None the Richer?It is not neccessary to use all the tables.
|
SELECT COUNT Film title used in nomination FROM table WHERE Director = Martin Repka Category:Articles with hCards
|
CREATE TABLE INST, Here is a database schema( table schema);
|
HOw many films did martin repka category:articles with hcards direct?.It is not neccessary to use all the tables.
|
SELECT COUNT Car No. FROM table WHERE Time/Retired = +4.0019
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many car numbers were recorded when the time/retired is +4.0019?.It is not neccessary to use all the tables.
|
SELECT Coat Of Cash Wearing Celebrity FROM table WHERE Who knows the most about the guest host? Panelists = Scott Mills and Sally Lindsay
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the coat of cash celeb when Scott Mills and Sally Lindsay appeared?.It is not neccessary to use all the tables.
|
SELECT AVG(game) FROM table_name_22 WHERE points = 19 AND opponent = "new jersey devils"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the average game against the New Jersey Devils with 19 points?It is not neccessary to use all the tables.
|
SELECT 2010 FROM table WHERE 2009 = 21.662
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2010 Lukoil oil prodroduction when in 2009 oil production 21.662 million tonnes?.It is not neccessary to use all the tables.
|
SELECT COUNT(Posts.Id) FROM Posts INNER JOIN (SELECT DISTINCT PostId FROM PostTags WHERE TagId = (SELECT Id FROM Tags WHERE TagName = 'vba')) AS t1 ON Posts.Id = t1.PostId WHERE Posts.PostTypeId = 1 UNION ALL SELECT COUNT(Posts.Id) FROM Posts INNER JOIN (SELECT DISTINCT PostId FROM PostTags WHERE TagId = (SELECT Id FROM Tags WHERE TagName = 'vba')) AS t1 ON Posts.Id = t1.PostId LEFT JOIN (SELECT DISTINCT PostId FROM PostTags INNER JOIN (SELECT Id FROM Tags WHERE TagName LIKE '%-vba') AS t2 ON PostTags.TagId = t2.Id) AS t3 ON Posts.Id = t3.PostId WHERE Posts.PostTypeId = 1 AND t3.PostId IS NULL
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Questions tagged vba, with/without vba variants.It is not neccessary to use all the tables.
|
SELECT month, _year FROM table_name_73 WHERE sunk_by_aircraft < 106005 AND sunk_by_warship_or_raider = 61857
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the month and year less than 106005 were sunk by aircraft and 61857 were sunk by warship or raider?It is not neccessary to use all the tables.
|
SELECT year FROM table_name_21 WHERE reg_season = "8th" AND open_cup = "3rd round"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year was the team 8th in the season and made it to the 3rd round in Open Cup?It is not neccessary to use all the tables.
|
SELECT township FROM table_18600760_8 WHERE county = "Kidder"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the township for kidderIt is not neccessary to use all the tables.
|
SELECT october FROM table_name_11 WHERE opponent = "toronto maple leafs"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date in October did the Flyers play against the Toronto Maple Leafs?It is not neccessary to use all the tables.
|
SELECT class FROM table_name_36 WHERE year = 1968
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which class has a Year of 1968?It is not neccessary to use all the tables.
|
SELECT MIN(draws) FROM table_name_66 WHERE losses > 0 AND against < 1728 AND ballarat_fl = "melton" AND byes < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest draws that have losses greater than 0 an against less than 1728 melton as the ballarat fl and byes less than 2?It is not neccessary to use all the tables.
|
SELECT T1.first_name, T1.last_name, T1.employee_id, T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id JOIN countries AS T4 ON T3.country_id = T4.country_id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
display the full name (first and last name ) of employee with ID and name of the country presently where (s)he is working.It is not neccessary to use all the tables.
|
SELECT Name, MAX(Revenue) FROM Manufacturers GROUP BY Headquarter ORDER BY MAX(Revenue)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Give me a bar chart to show the names and revenue of the company that earns the highest revenue in each headquarter city, list in asc by the y axis.It is not neccessary to use all the tables.
|
SELECT 2008 FROM table_name_40 WHERE 2007 = "a" AND 2010 = "2r"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What 2008 has A as the 2007 and 2r as the 2010?It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Partnerships = herschelle gibbs / justin kemp
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What venue did the partnership of herschelle gibbs / justin kemp happen?.It is not neccessary to use all the tables.
|
SELECT broadcast_date FROM table_name_39 WHERE viewership__millions_ = 9.65
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the broadcast date of the episode with 9.65 million viewers?It is not neccessary to use all the tables.
|
SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Elimination move listed against Regal?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE High points = Pierce (30)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the score when high points is from pierce (30)?.It is not neccessary to use all the tables.
|
SELECT Set 3 FROM table WHERE Score = 0–3 AND Time = 18:30 AND Date = july 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Set 3 has a Score of 0–3, a Time of 18:30, and a Date of july 10?.It is not neccessary to use all the tables.
|
SELECT music_director FROM table_name_35 WHERE film = "vettaiyaadu vilaiyaadu"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the musical director of the film Vettaiyaadu vilaiyaadu?It is not neccessary to use all the tables.
|
SELECT languages, AVG(rating) FROM song GROUP BY languages ORDER BY languages
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show me a bar chart for what is the average rating of songs for each language?, and I want to order by the x axis in asc.It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE School = sussex tech
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the School of the Sussex Tech's Team?.It is not neccessary to use all the tables.
|
SELECT city, MAX(lat) FROM station GROUP BY city ORDER BY city DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For each city, what is the highest latitude for its stations Visualize by bar chart, show in descending by the names.It is not neccessary to use all the tables.
|
SELECT SUM(number_of_households) FROM table_name_76 WHERE median_family_income = "$65,240" AND population > 744 OFFSET 344
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of households in the county with median income of $65240 and population greater than 744344?It is not neccessary to use all the tables.
|
SELECT final_rank FROM table_13114949_3 WHERE event = "Uneven Bars" AND competition = "U.S. Championships"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the final-rank for the uneven bars and the competition is u.s. championships?It is not neccessary to use all the tables.
|
SELECT max_pressure FROM table_173103_1 WHERE muzzle_energy = "201ft•lbf (273 J)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)?It is not neccessary to use all the tables.
|
SELECT AVG(wins) FROM table_name_82 WHERE against > 1244 AND losses < 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When against is more than 1244 with less than 8 losses what is the average of wins?It is not neccessary to use all the tables.
|
SELECT COALESCE(c.TargetTagName, b.TargetTagName, a.TargetTagName, Tags.TagName) AS "tagname", COUNT(Posts.ClosedDate) AS closed, COUNT(*) - COUNT(Posts.ClosedDate) AS "open" FROM Posts JOIN PostTags ON (Posts.Id = PostTags.PostId) JOIN Tags ON (PostTags.TagId = Tags.Id) LEFT JOIN TagSynonyms AS a ON (Tags.TagName = a.SourceTagName) LEFT JOIN TagSynonyms AS b ON (a.TargetTagName = b.SourceTagName) LEFT JOIN TagSynonyms AS c ON (b.TargetTagName = c.SourceTagName) WHERE Posts.PostTypeId = 1 GROUP BY COALESCE(c.TargetTagName, b.TargetTagName, a.TargetTagName, Tags.TagName) ORDER BY COUNT(*) - COUNT(Posts.ClosedDate), COUNT(*)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Open and Closed questions per tag.It is not neccessary to use all the tables.
|
SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the greek modern for słyszałeś był / słyszałaś byłaIt is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Week = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When has a Week of 1?.It is not neccessary to use all the tables.
|
SELECT MAX Grid FROM table WHERE Rider = gregorio lavilla
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest grid that has gregorio lavilla as the rider?.It is not neccessary to use all the tables.
|
SELECT SUM("Solo Blocks") FROM table_12684 WHERE "Errors" > '126' AND "Kills" > '551' AND "Season" = '2007' AND "Assists" > '40'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When there are more than 126 errors, more than 551 kills, and more than 40 assists for the 2007 season, what is the total of Solo Blocks?It is not neccessary to use all the tables.
|
SELECT type FROM table_name_14 WHERE name = "edson ratinho"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Type has a Name of edson ratinho?It is not neccessary to use all the tables.
|
SELECT Format FROM table WHERE Location = taipei
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What event did he compete in at Taipei?.It is not neccessary to use all the tables.
|
SELECT date FROM table_name_17 WHERE away_team = "hawthorn"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what date were they playing in hawthornIt is not neccessary to use all the tables.
|
SELECT COUNT(against) FROM table_15319684_1 WHERE team = "Portuguesa Santista"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of against for portuguesa santistaIt is not neccessary to use all the tables.
|
SELECT Years in Toronto FROM table WHERE Player = Marcus Banks
|
CREATE TABLE INST, Here is a database schema( table schema);
|
During which years was Marcus Banks in Toronto?.It is not neccessary to use all the tables.
|
SELECT Directed by FROM table WHERE Title = "homewrecker for the holidays"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the director for the episode titled "homewrecker for the holidays"?.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "ASIAN" AND diagnoses.icd9_code = "78057"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many asian patients had 78057 as their diagnosis icd9 codeIt is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM Ref_colors WHERE NOT color_code IN (SELECT color_code FROM products)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many colors are never used by any product?It is not neccessary to use all the tables.
|
SELECT reader FROM table_20174050_23 WHERE title = "Department X"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
who the reader of title department x?It is not neccessary to use all the tables.
|
SELECT averaging_time FROM table_name_53 WHERE regulatory_citation = "40 cfr 50.4(b)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the averaging time when the regulatory citation is 40 cfr 50.4(b)?It is not neccessary to use all the tables.
|
SELECT Round FROM table WHERE Pick = 174
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Round has a Pick of 174?.It is not neccessary to use all the tables.
|
SELECT COUNT("Bush%") FROM table_18862 WHERE "Total#" = '191269'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many bush% with total# being 191269It is not neccessary to use all the tables.
|
SELECT Date in Service FROM table WHERE Installed capacity (MW) = 135
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When did this wind farm started service with a capacity of 135 MW?.It is not neccessary to use all the tables.
|
SELECT AVG Ratio FROM table WHERE Similar ISO A size = a3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Ratio has a Similar ISO A size of a3?.It is not neccessary to use all the tables.
|
SELECT s Sikh FROM table WHERE Buddhist = 955
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of s sikh where 955 is the number of buddhists?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Week > 7 AND Record = 9–1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Date for a week higher than 7 with a record of 9–1?.It is not neccessary to use all the tables.
|
SELECT SUM(quantity) FROM table_name_71 WHERE date = "1900"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Quantity on Date 1900?It is not neccessary to use all the tables.
|
SELECT Chassis FROM table WHERE Entrant = lavazza march AND Year = 1975
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the chassis when the entrant was Lavazza March, and the year was 1975?.It is not neccessary to use all the tables.
|
SELECT Branding FROM table WHERE Frequency = 93.1mhz AND Coverage = zamboanga
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?.It is not neccessary to use all the tables.
|
SELECT MAX Points FROM table WHERE Player = Curtis
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many maximum points did Curtis scored?.It is not neccessary to use all the tables.
|
SELECT location_attendance FROM table_name_1 WHERE record = "3-1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the location/attendance of the game with a 3-1 record?It is not neccessary to use all the tables.
|
SELECT duration FROM table_name_73 WHERE translation = "1000 lies"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which one of the duration has a translation of 1000 lies?It is not neccessary to use all the tables.
|
SELECT Attendance FROM table WHERE Title = 44th
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Attendance number for the title of 44th?.It is not neccessary to use all the tables.
|
SELECT Persian FROM table WHERE Domari = na
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Persian word has the same meaning as the Domari word na?.It is not neccessary to use all the tables.
|
SELECT Time/Retired FROM table WHERE Points = 32
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the Time/Retired when the points were 32..It is not neccessary to use all the tables.
|
SELECT Winners from previous round FROM table WHERE Phase = First Phase AND Clubs involved = 16
|
CREATE TABLE INST, Here is a database schema( table schema);
|
During the first phase portion of phase and having 16 clubs involved; what would you find for the winners from previous round?.It is not neccessary to use all the tables.
|
SELECT Credentials Presented FROM table WHERE State = vermont
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What day were credentials presented for vermont?.It is not neccessary to use all the tables.
|
SELECT MIN Game FROM table WHERE Date = october 17 AND Attendance > 49,347
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What game, played on October 17 in front of 49,347 fans, had the lowest score?.It is not neccessary to use all the tables.
|
SELECT youth_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the youth classification for michael barryIt is not neccessary to use all the tables.
|
SELECT MIN ERP W FROM table WHERE Call sign = wpib
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the call sign is wpib, what is lowest ERP W?.It is not neccessary to use all the tables.
|
SELECT rate FROM table_name_55 WHERE year = "17 years"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the rate of 17 years?It is not neccessary to use all the tables.
|
SELECT position FROM table_name_31 WHERE wins = "2" AND season = 1992
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which position has 2 wins in 1992?It is not neccessary to use all the tables.
|
SELECT headquarters FROM table_name_23 WHERE employees__world_ = 100
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which HQ is associated with a number of employees of 100?It is not neccessary to use all the tables.
|
SELECT location FROM table_1974545_2 WHERE nickname = "Falcons"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where is the school whose students are nicknamed falcons located?It is not neccessary to use all the tables.
|
SELECT report FROM table_name_65 WHERE fastest_lap = "jacques villeneuve" AND grand_prix = "australian grand prix"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
During the Australian Grand Prix and the fastest lap was driven by Jacques Villeneuve what's the report recorded?It is not neccessary to use all the tables.
|
SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'send 500mg vial'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what are the methods of consumption of send 500mg vial?It is not neccessary to use all the tables.
|
SELECT chassis FROM table_name_39 WHERE year < 1954 AND points = 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What chassis had fewer than 0 points in a year before 1954?It is not neccessary to use all the tables.
|
SELECT MIN(die_size__mm_2__) FROM table_26040604_1 WHERE sm_count = 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the minimum die size for an SM count of exactly 2?It is not neccessary to use all the tables.
|
SELECT COUNT 1391 Carelia FROM table WHERE 1398 Donnera = 2397 Lappajärvi
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many 1391 carelia where 1398 donnera is 2397 lappajärvi.It is not neccessary to use all the tables.
|
SELECT res FROM table_name_63 WHERE time = "2:48"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result for the match that was only 2:48 long?It is not neccessary to use all the tables.
|
SELECT Tuesday Tiw/ Tyr FROM table WHERE Sunday Sunna/Sól = sondag
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Tuesday Tiw/Tyr has a Sunday Sunna/Sol of sondag?.It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'furosemide' AND STRFTIME('%y', prescriptions.startdate) >= '2104'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what was the number of furosemide prescriptions prescribed since 2104?It is not neccessary to use all the tables.
|
SELECT q.Id AS "post_link", q.CreationDate, COUNT(a.Id) AS answers, MAX(a.Score) AS max_score FROM Posts AS q LEFT JOIN Posts AS a ON a.ParentId = q.Id WHERE q.PostTypeId = 1 AND q.AcceptedAnswerId IS NULL AND q.Tags LIKE '%star-wars-legends%' AND q.DeletionDate IS NULL AND q.ClosedDate IS NULL GROUP BY q.Id, q.CreationDate HAVING MAX(a.Score) < 10 ORDER BY max_score, CreationDate
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tolkien questions with low scoring answers and no accepted answer.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.