sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT COUNT(0 AS _100km_h), s FROM table_name_19 WHERE output = "ps (kw; hp) @4000 rpm"
CREATE TABLE INST, Here is a database schema( table schema);
What is the 0–100km/hs for the output of ps (kw; hp) @4000 rpm?It is not neccessary to use all the tables.
SELECT outcome FROM table_name_35 WHERE surface = "carpet"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Outcome of the Doubles played on Carpet?It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Home team = richmond
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the away team when the home team was richmond?.It is not neccessary to use all the tables.
SELECT Preliminary Average FROM table WHERE Semifinal Average = 8.966 (3)
CREATE TABLE INST, Here is a database schema( table schema);
What was the preliminary average for the one who had a semifinal average of 8.966 (3)?.It is not neccessary to use all the tables.
SELECT Game Cost FROM table WHERE Real-Life Eventual Outcome = Merged with New York Central to form Penn Central
CREATE TABLE INST, Here is a database schema( table schema);
Name the game cost for merged with new york central to form penn central.It is not neccessary to use all the tables.
SELECT MAX Opponents FROM table WHERE Date = Dec. 19
CREATE TABLE INST, Here is a database schema( table schema);
How many points did the opposing team score on Dec. 19, 1982?.It is not neccessary to use all the tables.
SELECT US Modern Rock FROM table WHERE Code = bad 0003
CREATE TABLE INST, Here is a database schema( table schema);
What is the US modern rock rank of code bad 0003?.It is not neccessary to use all the tables.
SELECT Notes FROM table WHERE Bronze = pasi ikonen
CREATE TABLE INST, Here is a database schema( table schema);
What is Notes, when Bronze is "Pasi Ikonen"?.It is not neccessary to use all the tables.
SELECT AVG(draws) FROM table_name_31 WHERE points < 17 AND wins < 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of draws of the team with less than 17 points and less than 4 wins?It is not neccessary to use all the tables.
SELECT MAX Attendance FROM table WHERE Date = december 14, 1958 AND Week > 12
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest attendance for December 14, 1958 for after week 12.It is not neccessary to use all the tables.
SELECT original_air_date FROM table_29803475_2 WHERE us_viewers__million_ = "0.23"
CREATE TABLE INST, Here is a database schema( table schema);
What is every original air date with U.S. viewers of 0.23 million?It is not neccessary to use all the tables.
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'EECS' AND semester.semester = 'Spring' AND (SELECT COUNT(DISTINCT SEMESTERalias1.semester) FROM course AS COURSEalias1 INNER JOIN course_offering ON COURSEalias1.course_id = course_offering.course_id INNER JOIN semester AS SEMESTERalias1 ON SEMESTERalias1.semester_id = course_offering.semester WHERE course.course_id = COURSEalias1.course_id) = 1
CREATE TABLE INST, Here is a database schema( table schema);
Which courses are only available during Spring ?It is not neccessary to use all the tables.
SELECT MAX(no_in_series) FROM table_17901155_3 WHERE directed_by = "Kelly Sandefur"
CREATE TABLE INST, Here is a database schema( table schema);
what is the series # for the episode directed by Kelly Sandefur?It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Chassis = brabham bt33
CREATE TABLE INST, Here is a database schema( table schema);
how many times is the chassis brabham bt33?.It is not neccessary to use all the tables.
SELECT genre FROM table_name_12 WHERE original_title = "malina (ger.-aus.-fr.)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Genre for Malina (ger.-aus.-fr.) an Original Title?It is not neccessary to use all the tables.
SELECT bonus_points FROM table_name_63 WHERE drawn = "2" AND points_for = "475"
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of bonus points for the team with 2 drawn games and 475 points?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Visiting Team = st. louis rams AND Result = 26-0
CREATE TABLE INST, Here is a database schema( table schema);
When was the game that had the St. Louis Rams as visiting team and resulted in a score of 26-0?.It is not neccessary to use all the tables.
SELECT U.S. Air Date FROM table WHERE Broadcast Order = S04 E01
CREATE TABLE INST, Here is a database schema( table schema);
What's the original air date of the episode with a broadcast order s04 e01?.It is not neccessary to use all the tables.
SELECT MAX("Melamine content(mg/kg)") FROM table_66321 WHERE "Producer" = 'guangzhou jinding dairy products factory' AND "Samples failed" > '1'
CREATE TABLE INST, Here is a database schema( table schema);
What's the most melamine content that has more than 1 samples failed and produced by Guangzhou Jinding Dairy Products Factory?It is not neccessary to use all the tables.
SELECT publisher FROM table_16907214_1 WHERE hardcover = "ISBN 1-937007-44-8"
CREATE TABLE INST, Here is a database schema( table schema);
Who pubilshed isbn 1-937007-44-8?It is not neccessary to use all the tables.
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19473)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d_items.linksto = 'chartevents') AND chartevents.valuenum < 66.0 ORDER BY chartevents.charttime DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
when was the last time that patient 19473 had a heart rate that was less than 66.0?It is not neccessary to use all the tables.
SELECT Hometown FROM table WHERE Province, Community = santiago
CREATE TABLE INST, Here is a database schema( table schema);
What is the hometown for Santiago?.It is not neccessary to use all the tables.
SELECT COUNT Platform FROM table WHERE Mystic Arte = Celsius Calibur
CREATE TABLE INST, Here is a database schema( table schema);
How many platforms have celsius calibur as mystic arte?.It is not neccessary to use all the tables.
SELECT memory FROM table_name_13 WHERE release_date = "january 2010" AND socket = "bga-1288"
CREATE TABLE INST, Here is a database schema( table schema);
What is the memory when release date is January 2010 and socket is BGA-1288?It is not neccessary to use all the tables.
SELECT Try bonus FROM table WHERE Tries against = 55
CREATE TABLE INST, Here is a database schema( table schema);
tries against is 55, what is the try bonus?.It is not neccessary to use all the tables.
SELECT Round FROM table WHERE Against = South Africa
CREATE TABLE INST, Here is a database schema( table schema);
in what round types did the opponent come from south africa?.It is not neccessary to use all the tables.
SELECT r_miles_ FROM table_15416002_1 WHERE chi = "9.9"
CREATE TABLE INST, Here is a database schema( table schema);
What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9?It is not neccessary to use all the tables.
SELECT loss FROM table_name_12 WHERE attendance = "38,062"
CREATE TABLE INST, Here is a database schema( table schema);
What is the loss of the game with 38062 folks in attendance?It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Country = united states AND Score = 67-71-73=211
CREATE TABLE INST, Here is a database schema( table schema);
What is the to par for the United States with a 67-71-73=211 score?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2174.0" AND prescriptions.formulary_drug_cd = "OSEL75"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the number of patients who died in or before 2174 and had drug code osel75.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Date = october 29, 1989
CREATE TABLE INST, Here is a database schema( table schema);
What was the result on October 29, 1989?.It is not neccessary to use all the tables.
SELECT polling_institute FROM table_name_46 WHERE lead = "12%" AND labour = "40.2%"
CREATE TABLE INST, Here is a database schema( table schema);
Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%?It is not neccessary to use all the tables.
SELECT candidates FROM table_1341973_3 WHERE district = "Alabama 6"
CREATE TABLE INST, Here is a database schema( table schema);
Which candidates ran in the Alabama 6 district?It is not neccessary to use all the tables.
SELECT MAX(lost) FROM table_name_51 WHERE played < 9
CREATE TABLE INST, Here is a database schema( table schema);
What is the greatest lost where played is less than 9?It is not neccessary to use all the tables.
SELECT block_a FROM table_name_85 WHERE antonio_thomas = "kondo (13:24)"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the block A for antonio thomas of kondo (13:24)It is not neccessary to use all the tables.
SELECT 2 AS nd_leg FROM table_27603010_14 WHERE team__number1 = "Deportivo Pasto"
CREATE TABLE INST, Here is a database schema( table schema);
What was the 2nd leg score if the team 1 is Deportivo Pasto?It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Rank > 8 AND Rider = chris barrett
CREATE TABLE INST, Here is a database schema( table schema);
Rank larger than 8, and a Rider of chris barrett is what team?.It is not neccessary to use all the tables.
SELECT MIN Entries FROM table WHERE Front row starts < 15 AND Driver = michael schumacher
CREATE TABLE INST, Here is a database schema( table schema);
What are the lowest entries for a front row smaller than 15 where Michael Schumacher was driving?.It is not neccessary to use all the tables.
SELECT Semi finalists FROM table WHERE Runner-up = lisa raymond
CREATE TABLE INST, Here is a database schema( table schema);
Who were semi-finalists in the event with a runner-up of Lisa Raymond?.It is not neccessary to use all the tables.
SELECT MIN(attendance) FROM table_name_30 WHERE week = 14
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest attendance with week 14?It is not neccessary to use all the tables.
SELECT wins FROM table_1697190_1 WHERE best_finish = "2nd"
CREATE TABLE INST, Here is a database schema( table schema);
Name the wins for best finish being 2ndIt is not neccessary to use all the tables.
SELECT High assists FROM table WHERE Date = May 11
CREATE TABLE INST, Here is a database schema( table schema);
What was the high assist total on May 11?.It is not neccessary to use all the tables.
SELECT OwnerUserId, SUM(LENGTH(Body) - LENGTH(REPLACE(LOWER(Body), 'a', ''))) AS "a" FROM Posts WHERE OwnerUserId IN ('##UserID##') GROUP BY OwnerUserId
CREATE TABLE INST, Here is a database schema( table schema);
Most common letters used in posts. absolutely useless, more of an experimentIt is not neccessary to use all the tables.
SELECT coastal_carolina_head_coach FROM table_28418916_3 WHERE year = 2013
CREATE TABLE INST, Here is a database schema( table schema);
Who was the coastal Carolina head coach in 2013?It is not neccessary to use all the tables.
SELECT AVG Year FROM table WHERE Miss Fire (3rd Runner-up) = caroline medina
CREATE TABLE INST, Here is a database schema( table schema);
What year was Caroline Medina Miss Fire (3rd Runner-up)?.It is not neccessary to use all the tables.
SELECT MAX F/Laps FROM table WHERE Wins < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest f/laps with less than 0 wins?.It is not neccessary to use all the tables.
SELECT Party FROM table WHERE District = south carolina 2
CREATE TABLE INST, Here is a database schema( table schema);
What party has the South Carolina 2 district?.It is not neccessary to use all the tables.
SELECT COUNT(promoted_from_league) FROM table_23927423_4 WHERE relegated_to_league = "Esher"
CREATE TABLE INST, Here is a database schema( table schema);
How many were promoted from the league when Esher was relegated to the league?It is not neccessary to use all the tables.
SELECT Wrestler FROM table WHERE Elimination = 1
CREATE TABLE INST, Here is a database schema( table schema);
Who's the wrestler with an elimination of 1?.It is not neccessary to use all the tables.
SELECT part_name, COUNT(*) FROM Parts AS T1 JOIN Asset_Parts AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_name ORDER BY part_name
CREATE TABLE INST, Here is a database schema( table schema);
How many assets can each parts be used in? List the part name and the number with a bar chart, and rank by the x axis in ascending.It is not neccessary to use all the tables.
SELECT Other Party FROM table WHERE District = 3
CREATE TABLE INST, Here is a database schema( table schema);
Who is the other party nominee for district 3?.It is not neccessary to use all the tables.
SELECT COUNT Date FROM table WHERE Score = W 107–97 (OT)
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of date for w 107–97 (ot).It is not neccessary to use all the tables.
SELECT COUNT(*) FROM FLIGHTS WHERE DestAirport = "ATO"
CREATE TABLE INST, Here is a database schema( table schema);
How many flights have destination ATO?It is not neccessary to use all the tables.
SELECT Type FROM table WHERE Platform = gamecube
CREATE TABLE INST, Here is a database schema( table schema);
What is the type of electronic with the Gamecube Platform?.It is not neccessary to use all the tables.
SELECT to_par FROM table_name_87 WHERE country = "united states" AND score = 74 - 69 - 71 - 74 = 288
CREATE TABLE INST, Here is a database schema( table schema);
What is the To par for the place in the United States and a score of 74-69-71-74=288?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Champion = steve gotsche
CREATE TABLE INST, Here is a database schema( table schema);
Where did Steve Gotsche win?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Opponent = dodgers AND Date = april 21
CREATE TABLE INST, Here is a database schema( table schema);
Name the score when the opponent was the dodgers on april 21.It is not neccessary to use all the tables.
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, fare AS FAREalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'BOSTON' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'SAN FRANCISCO' AND FAREalias1.round_trip_required = 'NO' AND FLIGHT_FAREalias1.fare_id = FAREalias1.fare_id AND FLIGHTalias1.flight_id = FLIGHT_FAREalias1.flight_id AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND fare.round_trip_required = 'NO' AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
CREATE TABLE INST, Here is a database schema( table schema);
find the cheapest one way fare from BOSTON to SAN FRANCISCOIt is not neccessary to use all the tables.
SELECT MAX First elected FROM table WHERE District = Georgia5
CREATE TABLE INST, Here is a database schema( table schema);
What's Georgia5's first elected year?.It is not neccessary to use all the tables.
SELECT Conference Finals FROM table WHERE Seed = † denotes division championship
CREATE TABLE INST, Here is a database schema( table schema);
Which Conference Finals has a Seed of † denotes division championship?.It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Home team = fitzroy
CREATE TABLE INST, Here is a database schema( table schema);
In fitzroy's match where they were the home team, how much did they score?.It is not neccessary to use all the tables.
SELECT location FROM table_name_5 WHERE name_of_system = "atm (1880–1911) geta (1911–1944)" AND traction_type = "electric"
CREATE TABLE INST, Here is a database schema( table schema);
At what location did the event that used electric traction and system name ATM (1880–1911) GETA (1911–1944) occur?It is not neccessary to use all the tables.
SELECT * FROM table_train_242 WHERE serum_creatinine > 1.6
CREATE TABLE INST, Here is a database schema( table schema);
serum creatinine consistently > 1.6 mg / dl;It is not neccessary to use all the tables.
SELECT round FROM table_name_39 WHERE opponent = "joe lauzon"
CREATE TABLE INST, Here is a database schema( table schema);
In what round did opponent Joe Lauzon play?It is not neccessary to use all the tables.
SELECT chemical_class FROM table_name_90 WHERE example = "chloroethane (ethyl chloride)"
CREATE TABLE INST, Here is a database schema( table schema);
Which chemical class uses the example Chloroethane (ethyl chloride)?It is not neccessary to use all the tables.
SELECT "Rank" FROM table_45355 WHERE "Cause of death" = 'gunfire' AND "Badge/Serial Number" = '11755'
CREATE TABLE INST, Here is a database schema( table schema);
What is the Rank of the Officer with Badge/Serial Number 11755 who died in Gunfire?It is not neccessary to use all the tables.
SELECT artist FROM table_name_42 WHERE certification = "4x platinum"
CREATE TABLE INST, Here is a database schema( table schema);
Which artist had a 4x platinum?It is not neccessary to use all the tables.
SELECT Series FROM table WHERE Points = 68
CREATE TABLE INST, Here is a database schema( table schema);
What series did the racer earn 68 points in?.It is not neccessary to use all the tables.
SELECT MIN Year FROM table WHERE Mintage < 10,000
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest year with a Mintage smaller than 10,000?.It is not neccessary to use all the tables.
SELECT election FROM table_286271_1 WHERE _percentage_of_popular_vote = "4.48%"
CREATE TABLE INST, Here is a database schema( table schema);
Name the election for the percent of popular vote being 4.48%It is not neccessary to use all the tables.
SELECT Title FROM table WHERE № = 65
CREATE TABLE INST, Here is a database schema( table schema);
What is the title of episode No. 65?.It is not neccessary to use all the tables.
SELECT attendance FROM table_name_32 WHERE visitor = "san jose" AND date = "may 4"
CREATE TABLE INST, Here is a database schema( table schema);
What is the attendance at the game where San Jose was the visitor on May 4?It is not neccessary to use all the tables.
SELECT event FROM table_name_98 WHERE record = "4-0"
CREATE TABLE INST, Here is a database schema( table schema);
Which event led to a 4-0 record?It is not neccessary to use all the tables.
SELECT manuals FROM table_name_89 WHERE kind = "r" AND opus = "144"
CREATE TABLE INST, Here is a database schema( table schema);
What are the manuals with a kind of r and an opus of 144?It is not neccessary to use all the tables.
SELECT MAX Transfer fee ( € million) FROM table WHERE Year = 2008 AND From = psv AND Rank > 17
CREATE TABLE INST, Here is a database schema( table schema);
What was the highest transfer fee in 2008 that is from psv and is ranked larger than 17?.It is not neccessary to use all the tables.
SELECT MAX Subscribers (2006) (thousands) FROM table WHERE Provider = Glo Mobile
CREATE TABLE INST, Here is a database schema( table schema);
What is the maximum number of 2006 subscribers for Glo Mobile?.It is not neccessary to use all the tables.
SELECT AVG Played FROM table WHERE Draw = 5 AND Points > 43
CREATE TABLE INST, Here is a database schema( table schema);
What's the average Played for a draw of 5 and more than 43 points?.It is not neccessary to use all the tables.
SELECT race FROM table_name_78 WHERE fastest_lap = "niki lauda" AND location = "brands hatch"
CREATE TABLE INST, Here is a database schema( table schema);
What Brands Hatch race had Niki Lauda as its Fastest Lap?It is not neccessary to use all the tables.
SELECT "Date" FROM table_77005 WHERE "Winner" = 'amer sulaiman'
CREATE TABLE INST, Here is a database schema( table schema);
What is the date amer sulaiman won?It is not neccessary to use all the tables.
SELECT MIN(no_result) FROM table_name_80 WHERE lost > 5 AND _percentage_win_[a_] < 58.06
CREATE TABLE INST, Here is a database schema( table schema);
What is the low no result with more than 5 loss and a win ration lesser than 58.06?It is not neccessary to use all the tables.
SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141
CREATE TABLE INST, Here is a database schema( table schema);
What is Country when Score is "73-68=141"?It is not neccessary to use all the tables.
SELECT partner FROM table_name_31 WHERE opponents_in_the_final = "roy emerson rod laver" AND date < 1975
CREATE TABLE INST, Here is a database schema( table schema);
What is the Partner with Opponents in the final with roy emerson rod laver with Date smaller than 1975?It is not neccessary to use all the tables.
SELECT COUNT Altitude (meters) FROM table WHERE Range = mühlig-hofmann mountains AND Rank < 10
CREATE TABLE INST, Here is a database schema( table schema);
What is the Altitude (meters) associated with a rank smaller than 10, and the range Mühlig-Hofmann Mountains?.It is not neccessary to use all the tables.
SELECT date FROM table_name_6 WHERE opponent = "new orleans saints"
CREATE TABLE INST, Here is a database schema( table schema);
On what date did the team play againt the New Orleans Saints?It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Time = 12:00 pm AND Ground = waverley park
CREATE TABLE INST, Here is a database schema( table schema);
What is Home Team Score, when Time is 12:00 PM, and when Ground is Waverley Park?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Attendance = 43,502
CREATE TABLE INST, Here is a database schema( table schema);
What was the record when the attendance was 43,502?.It is not neccessary to use all the tables.
SELECT driver FROM table_name_12 WHERE constructor = "brm" AND laps > 30
CREATE TABLE INST, Here is a database schema( table schema);
What driver has BRM as a constructor and had more than 30 laps?It is not neccessary to use all the tables.
SELECT nickname FROM table_name_25 WHERE years_in_gfl = "1986-1988"
CREATE TABLE INST, Here is a database schema( table schema);
What is the nickname of the team who was in the GFL from 1986-1988?It is not neccessary to use all the tables.
SELECT Result F – A FROM table WHERE Round = round 1 replay
CREATE TABLE INST, Here is a database schema( table schema);
what game ended f-a with a round of round 1 replay.It is not neccessary to use all the tables.
SELECT * FROM (SELECT Posts.Id FROM Tags JOIN PostTags ON PostTags.TagId = Tags.Id JOIN Posts ON Posts.Id = PostTags.PostId WHERE TagName = '##tagName##' AND Posts.PostTypeId = 1) AS questions JOIN Posts ON Posts.ParentId = questions.Id WHERE Posts.PostTypeId = 2 AND Posts.OwnerUserId = '##UserId##' AND Posts.CreationDate > '2019/9/01'
CREATE TABLE INST, Here is a database schema( table schema);
My answers for a given tag.It is not neccessary to use all the tables.
SELECT score FROM table_name_55 WHERE team_2 = "al-qadsia"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the game in which Al-Qadsia was Team 2?It is not neccessary to use all the tables.
SELECT COUNT(race_number) FROM table_25594888_1 WHERE yacht = "Loki"
CREATE TABLE INST, Here is a database schema( table schema);
How many races was Loki in?It is not neccessary to use all the tables.
SELECT traffic_direction FROM table_name_94 WHERE street = "97th street"
CREATE TABLE INST, Here is a database schema( table schema);
What is the traffic direction of 97th street?It is not neccessary to use all the tables.
SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "4x0"
CREATE TABLE INST, Here is a database schema( table schema);
What is the brand name associated with the model 4x0?It is not neccessary to use all the tables.
SELECT Duration FROM table WHERE Actor = nickolas grace
CREATE TABLE INST, Here is a database schema( table schema);
What is the duration for nickolas grace as the actor?.It is not neccessary to use all the tables.
SELECT Users.Id AS "user_link", SUM(Answers.Score) AS Score, Tags.TagName FROM Posts AS Answers INNER JOIN Posts AS ParentQuestions ON ParentQuestions.Id = Answers.ParentId INNER JOIN Users AS Users ON Answers.OwnerUserId = Users.Id INNER JOIN PostTags ON PostTags.PostId = Answers.ParentId INNER JOIN Tags ON Tags.Id = PostTags.TagId WHERE Users.Id < 150000000 AND Users.Id >= 15000000 AND LOWER(Location) LIKE LOWER('%Russia%') GROUP BY Users.Id, Tags.TagName ORDER BY Score
CREATE TABLE INST, Here is a database schema( table schema);
Top Users by location and tag. Created by samliew (http://stackoverflow.com/users/584192/samuel-liew)It is not neccessary to use all the tables.
SELECT MAX Winner's share FROM table WHERE Champion = jiyai shin AND Year < 2009
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest winner's share that has jiyai shin as the championship with a year prior to 2009?.It is not neccessary to use all the tables.
SELECT Championship FROM table WHERE Year > 1985 AND Winning score = –8 (68-72-69-71=280)
CREATE TABLE INST, Here is a database schema( table schema);
Which championship after 1985 had a winning score of –8 (68-72-69-71=280)?.It is not neccessary to use all the tables.
SELECT title FROM table_26961951_6 WHERE directed_by = "Romeo Tirone"
CREATE TABLE INST, Here is a database schema( table schema);
What is the title of the episode directed by Romeo Tirone?It is not neccessary to use all the tables.
SELECT * FROM employees WHERE first_name LIKE '%D%' OR first_name LIKE '%S%' ORDER BY salary DESC
CREATE TABLE INST, Here is a database schema( table schema);
display all the information for all employees who have the letters D or S in their first name and also arrange the result in descending order by salary.It is not neccessary to use all the tables.