sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT MAX Metropolitan area FROM table WHERE City = Manchester
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total membership for the metropolitan area in the city of Manchester?.It is not neccessary to use all the tables.
|
SELECT report FROM table_15511178_3 WHERE pole_position = "Carl Skerlong" AND winning_team = "Newman Wachs Racing"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl SkerlongIt is not neccessary to use all the tables.
|
SELECT COUNT(stage) FROM table_15088557_1 WHERE winner = "Jose Vicente Garcia Acosta"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In how many stages did Jose Vicente Garcia Acosta won?It is not neccessary to use all the tables.
|
SELECT Game FROM table WHERE Year = 2011
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which game was released in 2011?.It is not neccessary to use all the tables.
|
SELECT Posts.Id, Posts.Id AS "post_link" FROM Posts WHERE Tags = '<homework>' AND ClosedDate IS NULL ORDER BY Posts.LastEditDate
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Finding Posts tagged only homework, which are not closed.It is not neccessary to use all the tables.
|
SELECT Tournament FROM table WHERE Runner(s)-up = bubba watson
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For what tournament was Bubba Watson the runner-up?.It is not neccessary to use all the tables.
|
SELECT AVG(year) FROM table_name_8 WHERE runners_up = "australia" AND venue = "victoria golf club"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average Year when Australia was the runner-up at victoria golf club?It is not neccessary to use all the tables.
|
SELECT ceased_operation FROM table_name_86 WHERE launched = "august 8, 1968"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the ceased operation with a launch date of August 8 1968?It is not neccessary to use all the tables.
|
SELECT method FROM table_name_4 WHERE event = "mars: attack 1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the method of fight completion for the Mars: Attack 1 event?It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Date = november 29, 2001
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT WAS THE RESULT FOR NOVEMBER 29, 2001?.It is not neccessary to use all the tables.
|
SELECT entered_senate FROM table_24415627_2 WHERE senator = "Joseph Tydings"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what date did congressman joseph tydings enter take his seat?It is not neccessary to use all the tables.
|
SELECT COUNT Season Finale FROM table WHERE Season = 2nd
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many times did the 2nd season have a finale?.It is not neccessary to use all the tables.
|
SELECT rider FROM table_name_78 WHERE speed = "86.15mph"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph?It is not neccessary to use all the tables.
|
SELECT "Party" FROM table_25285 WHERE "Constituency" = '10. Tindivanam'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the party where the constituency is 10. Tindivanam?It is not neccessary to use all the tables.
|
SELECT Name of Deity FROM table WHERE Name of the River = sone
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the diety for the river of sone?.It is not neccessary to use all the tables.
|
SELECT AVG Year FROM table WHERE Country = france/hong kong
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average year of the film from France/Hong Kong?.It is not neccessary to use all the tables.
|
SELECT Name (Namesake) FROM table
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are all the name(namesakes) for the entire chart?.It is not neccessary to use all the tables.
|
SELECT COUNT(administrative_panel) FROM table_name_59 WHERE labour_panel > 2 AND total = 28 AND nominated_by_the_taoiseach > 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the total number of administrative panel with labour panel more than 2 nominated by taoiseach more than 6 and total of 28It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dod_year <= "2126.0"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
count the number of patients whose year of death is less than or equal to 2126?It is not neccessary to use all the tables.
|
SELECT country FROM table_name_96 WHERE transfer_fee = "undisclosed" AND moving_to = "nacional"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What country is the player with an undisclosed transfer fee and moving to Nacional from?It is not neccessary to use all the tables.
|
SELECT Carpet FROM table WHERE Clay = 1–0 AND Hard = 1–1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which carpet has a Clay of 1–0 and a Hard 1–1?.It is not neccessary to use all the tables.
|
SELECT MAX(2003) FROM table_name_84 WHERE 1990 > 74 AND 1985 = 125 AND 1995 > 130
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest 2003 value with a 1990 greater than 74 a 125 value in 1985 and a 1995 value greater than 130?It is not neccessary to use all the tables.
|
SELECT COUNT("2004") FROM table_69006 WHERE "2005" < '56' AND "2006" = '14'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Country has a number smaller than 56 in 2005 and of 14 in 2006?It is not neccessary to use all the tables.
|
SELECT EP Winning Team FROM table WHERE CP Winning Team = Dave Clark AND GM Winning Team = Stuart Northrup
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?.It is not neccessary to use all the tables.
|
SELECT COUNT(average) FROM table_15081939_4 WHERE evening_gown = "8.00"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many averages for the province with evening gown score of 8.00It is not neccessary to use all the tables.
|
SELECT MAX(position) FROM table_name_23 WHERE against < 41 AND lost > 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest Position when the against is less than 41 and lost is more than 7?It is not neccessary to use all the tables.
|
SELECT Max. aperture FROM table WHERE Focal Length = 20mm
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the maximum aperture of the lens(es) with a focal length of 20mm?.It is not neccessary to use all the tables.
|
SELECT MIN(area_km_2) FROM table_name_61 WHERE member_state = "czech republic" AND population_in_millions < 10.3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest area km2 of the member state of the Czech Republic and has a population in millions lesss than 10.3?It is not neccessary to use all the tables.
|
SELECT overall_record FROM table_name_9 WHERE school = "indian river"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the overall record for indian riverIt is not neccessary to use all the tables.
|
SELECT state FROM table_name_67 WHERE host = "university of california, los angeles"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What state has the University of California Los Angeles?It is not neccessary to use all the tables.
|
SELECT DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS "month", COUNT(*) AS "# Users Added", COUNT(IIF(u.Reputation >= 50, 1, NULL)) AS "# Users Added (current rep >= 50)" FROM Users AS u GROUP BY DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) ORDER BY DATEADD(month, DATEDIFF(month, 0, CreationDate), 0)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Total users added, by month, with reputation at least 50.It is not neccessary to use all the tables.
|
SELECT time_retired FROM table_17330069_1 WHERE points = "28"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If there are 28 points what is the time/retired?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Circuit = brands hatch
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what Date is there a race on the Circuit of brands hatch?.It is not neccessary to use all the tables.
|
SELECT entrant FROM table_name_25 WHERE year = 1975 AND chassis = "hill gh1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the entrant for 1975 and chassis of hill gh1It is not neccessary to use all the tables.
|
SELECT Rating/Share (18–49) FROM table WHERE Viewers (millions) = 3.79
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the rating for 3.79 viewers.It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Record = 5–4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Result has a Record of 5–4?.It is not neccessary to use all the tables.
|
SELECT Won Promotion FROM table WHERE Season = 1987
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the won promotion for 1987.It is not neccessary to use all the tables.
|
SELECT COUNT(silver) FROM table_name_81 WHERE gold < 34 AND rank = "6" AND total > 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of Silver when Gold is less than 34 when Rank is "6" and when Total is greater than 10?It is not neccessary to use all the tables.
|
SELECT Winner FROM table WHERE Finalist = andre agassi
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHo is the Winner of andre agassi Finalist?.It is not neccessary to use all the tables.
|
SELECT name FROM table_name_55 WHERE decile < 10 AND roll = 297
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name with a Decile less than 10 and a Roll of 297?It is not neccessary to use all the tables.
|
SELECT fastest_lap FROM table_22379931_2 WHERE pole_position = "Benoît Tréluyer"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who has the fastest lap where Benoît Tréluyer got the pole position?It is not neccessary to use all the tables.
|
SELECT Manufacturer FROM table WHERE Time/Retired = +15.665
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which manufacturer has a Time/Retired of +15.665?.It is not neccessary to use all the tables.
|
SELECT 1.93 FROM table WHERE Name = svetlana shkolina
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 1.93 for Svetlana Shkolina?.It is not neccessary to use all the tables.
|
SELECT Total FROM table WHERE A Score > 6.4 AND B Score < 9.025
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the Total that has the A Score larger than 6.4, and the B Score smaller than 9.025?.It is not neccessary to use all the tables.
|
SELECT MIN(rank) FROM table_name_16 WHERE borough = "richmondshire" AND population > 8 OFFSET 178
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Rank is the lowest one that has a Borough of richmondshire and a Population larger than 8178?It is not neccessary to use all the tables.
|
SELECT Height FROM table WHERE Player = mike bibby
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Height has a Player of mike bibby?.It is not neccessary to use all the tables.
|
SELECT 2007 FROM table 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 SUM(crowd) FROM table_name_50 WHERE venue = "victoria park"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the crowd numbers when the VFL played Victoria Park?It is not neccessary to use all the tables.
|
SELECT pick FROM table_2840500_8 WHERE player = "Matthew Scorsune"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the pick for matthew scorsuneIt is not neccessary to use all the tables.
|
SELECT AVG(draft) FROM table_name_56 WHERE round = "1" AND nationality = "canada" AND pick = "1" AND player = "vincent lecavalier"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Draft has a Round of 1 a Nationality of canada a Pick of 1 and a Player of vincent lecavalier?It is not neccessary to use all the tables.
|
SELECT COUNT Hometown FROM table WHERE Name = Faisal Aden
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many hometowns for faisal aden?.It is not neccessary to use all the tables.
|
SELECT COUNT Average FROM table WHERE Goals < 41 AND Goalkeeper = claudio bravo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average goals less than 41 that goalkeeper Claudio Bravo had?.It is not neccessary to use all the tables.
|
SELECT COUNT(market_value___usd_million_) FROM table_name_10 WHERE industry = "automotive"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the market value of the automotive industry?It is not neccessary to use all the tables.
|
SELECT Baltimore group FROM table WHERE Virion shape = icosahedral AND envelopment = non-enveloped AND Replication site = cytoplasm AND Family = astroviridae
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family?.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_40 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 State FROM table WHERE Title = duke AND Royal house = ji
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What state had a title of duke for the royal house of ji?.It is not neccessary to use all the tables.
|
SELECT DISTINCT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.grade = 1 EXCEPT SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names.It is not neccessary to use all the tables.
|
SELECT COUNT(week_2) FROM table_28946565_2 WHERE week_7 = 40 + 40 = 80
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many week 2 scores have a week 7 score of 40 + 40 = 80?It is not neccessary to use all the tables.
|
SELECT away_captain FROM table_name_72 WHERE result = "draw" AND venue = "lord's"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Away captain when the Result was draw, and a Venue of lord's?It is not neccessary to use all the tables.
|
SELECT time FROM table_name_65 WHERE lane < 5 AND name = "ágnes kovács"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When is the lane less than 5 and is named ágnes kovács?It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Record = 0–1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the result with record being 0–1.It is not neccessary to use all the tables.
|
SELECT abbr FROM table_name_65 WHERE italian = "argovia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the abbr of argovia?It is not neccessary to use all the tables.
|
SELECT leading_scorer FROM table_name_96 WHERE visitor = "bulls"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the leading scorer against the visiting team Bulls?It is not neccessary to use all the tables.
|
SELECT Area FROM table WHERE Decile = 2 AND Roll = 222
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the area of the school with a decile of 2 and a roll number 222?.It is not neccessary to use all the tables.
|
SELECT Country FROM table WHERE Builder = karljohansverns verft AND Ship = brage
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What country was Brage, built by karljohansverns verft, from?.It is not neccessary to use all the tables.
|
SELECT Cable rank FROM table WHERE Airdate = 10 December 2009
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the cable rank for the airdate of 10 december 2009?.It is not neccessary to use all the tables.
|
SELECT MIN Attendance FROM table WHERE Record = 52-48
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Blue Jays lowest attendance when their record was 52-48?.It is not neccessary to use all the tables.
|
SELECT Status FROM table WHERE Name = diogo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What shows as the status for Diogo?.It is not neccessary to use all the tables.
|
SELECT ihsaa_class FROM table_name_34 WHERE location = "indianapolis"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the IHSAA classes of the Indianapolis schools?It is not neccessary to use all the tables.
|
SELECT Best Winning Average FROM table WHERE Games Won = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the games won are 5, what is the best winning average?.It is not neccessary to use all the tables.
|
SELECT "Margin of victory" FROM table_8122 WHERE "Runner(s)-up" = 'betty burfeindt' AND "Tournament" = 'pompano beach classic'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Margin of victory has a Runner(s)-up of betty burfeindt, and a Tournament of pompano beach classic?It is not neccessary to use all the tables.
|
SELECT MAX(task_no) FROM table_name_94 WHERE date_given = "january 22, 2010 (day 111)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the task number on January 22 2010 (day 111)?It is not neccessary to use all the tables.
|
SELECT COUNT Location Attendance FROM table WHERE Record = 36-29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of location attendance for 36-29 record.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_24 WHERE wins < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the player with less than 2 wins?It is not neccessary to use all the tables.
|
SELECT outcome FROM table_name_76 WHERE date = "july 16, 2011"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the Outcome for the Date of July 16 2011?It is not neccessary to use all the tables.
|
SELECT languages FROM table_21133193_1 WHERE member_countries = "Estonia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the languages for estoniaIt is not neccessary to use all the tables.
|
SELECT Users.Id AS "user_link", Reputation, UpVotes + DownVotes AS Votes, COUNT(Posts.Id) AS "posts_count" FROM Users INNER JOIN Posts ON Users.Id = Posts.OwnerUserId WHERE UpVotes + DownVotes <= @MaxVotes AND Reputation >= @MinRep GROUP BY Users.Id, Reputation, UpVotes, DownVotes HAVING COUNT(Posts.Id) >= @MinPostCount ORDER BY Reputation DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Users Min Reputation and Posts, but low Votes..It is not neccessary to use all the tables.
|
SELECT COUNT Year FROM table WHERE League = USISL Pro League
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of years for usisl pro league.It is not neccessary to use all the tables.
|
SELECT college FROM table_name_55 WHERE overall > 102 AND name = "keenan robinson"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the college for keenan robinson when overall is more than 102?It is not neccessary to use all the tables.
|
SELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T1.city = "Taizhou ( Zhejiang )"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the host year of city "Taizhou ( Zhejiang )"?It is not neccessary to use all the tables.
|
SELECT reg_season FROM table_name_7 WHERE record = "16-12"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What regular season had a record of 16-12?It is not neccessary to use all the tables.
|
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT labevents.itemid FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30789) AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', labevents.charttime) = '01' ORDER BY labevents.charttime LIMIT 1)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what tests did patient 30789 have first in 01/last year?It is not neccessary to use all the tables.
|
SELECT MIN Silver FROM table
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the least number of silver medals won.It is not neccessary to use all the tables.
|
SELECT title FROM table_2468961_3 WHERE written_by = "Bob Rosenfarb" AND directed_by = "Richard Correll"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll?It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE Draft < 1975 AND Round < 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which player had a draft before 1975 and before round 6?.It is not neccessary to use all the tables.
|
SELECT COUNT(position) FROM table_name_21 WHERE 2012 = "0.92"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of positions that have 2012 ratings of 0.92?It is not neccessary to use all the tables.
|
SELECT Code FROM table WHERE District = Mahbubnagar
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the abbreviation of the district of Mahbubnagar?.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_13 WHERE school_club_team = "maryland"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the player that played for the school/club team Maryland?It is not neccessary to use all the tables.
|
SELECT T2.student_id FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "statistics" ORDER BY T2.registration_date
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List the id of students who registered course statistics in the order of registration date.It is not neccessary to use all the tables.
|
SELECT Ground FROM table WHERE Home team score = 12.9 (81)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where did the team play when the home team score was 12.9 (81)?.It is not neccessary to use all the tables.
|
SELECT mayor FROM table_name_37 WHERE election = 2010 AND municipality = "riva del garda"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Mayor of Riva del Garda in 2010?It is not neccessary to use all the tables.
|
SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the names of customers who never placed an order.It is not neccessary to use all the tables.
|
SELECT surface FROM table_24638867_6 WHERE partner = "Nathalie Tauziat"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the surface for nathalie tauziatIt is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hematocrit') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14836) AND STRFTIME('%y', labevents.charttime) = '2105'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
have patient 14836 had a hematocrit test in 2105?It is not neccessary to use all the tables.
|
SELECT p.Id AS "post_link", p.Score, (SELECT COUNT(v.Id) FROM Votes AS v WHERE v.VoteTypeId IN (2, 3) AND v.PostId = p.Id) AS VoteCount, p.CreationDate FROM Posts AS p WHERE p.Score < '##ScoreInput##' AND (p.CreationDate < GETDATE() AND p.CreationDate > DATEADD(day, -'##DaysAgo##', GETDATE())) ORDER BY p.CreationDate DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Questions with X amount of votes..It is not neccessary to use all the tables.
|
SELECT dimensions (mm) FROM table WHERE product = Plustek MobileOffice D28 Corporate
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the mm dimensions of the Plustek Mobileoffice D28 Corporate?.It is not neccessary to use all the tables.
|
SELECT catalog FROM table_name_56 WHERE region = "europe"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Catalog with a Region that is europe?It is not neccessary to use all the tables.
|
SELECT MAX Avg. emission per km 2 of its land (tons) FROM table WHERE Country = India
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?.It is not neccessary to use all the tables.
|
SELECT result FROM table_name_93 WHERE week = "week 2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the result of week 2?It is not neccessary to use all the tables.
|
SELECT Hometown FROM table WHERE College = ucla
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the hometown of the player that attends UCLA?.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.