sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT population FROM table_name_51 WHERE deed_number = "21352021"
CREATE TABLE INST, Here is a database schema( table schema);
What is the population for Deed number of 21352021?It is not neccessary to use all the tables.
SELECT T2.student_details FROM student_course_registrations AS T1 JOIN students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.registration_date DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
What is detail of the student who most recently registered course?It is not neccessary to use all the tables.
SELECT MIN Gold FROM table WHERE Bronze = 0 AND Total < 2 AND Silver < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0?.It is not neccessary to use all the tables.
SELECT state FROM table_name_8 WHERE name = "li"
CREATE TABLE INST, Here is a database schema( table schema);
What was the state that had the vassal name of li?It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Record = 39-31
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of years for a 39-31 record.It is not neccessary to use all the tables.
SELECT Segment A FROM table WHERE Segment D = wigs
CREATE TABLE INST, Here is a database schema( table schema);
Which segment A item that has a Segment D of wigs?.It is not neccessary to use all the tables.
SELECT COUNT Visitors (total) FROM table WHERE Exhibitors (total) = 1654
CREATE TABLE INST, Here is a database schema( table schema);
how many people come to visit when the 1654 exhibitions.It is not neccessary to use all the tables.
SELECT MIN No. in season FROM table WHERE Title = "Quitters"
CREATE TABLE INST, Here is a database schema( table schema);
What's the season number of the episode titled "Quitters"?.It is not neccessary to use all the tables.
SELECT Actor/Actress FROM table WHERE Film title used in nomination = Mrs. Miniver
CREATE TABLE INST, Here is a database schema( table schema);
In the film Mrs. Miniver, what is the actresses name?.It is not neccessary to use all the tables.
SELECT description FROM table_name_49 WHERE livery = "black" AND date < 1897 AND number_ & _name = "scottish tar distillers no. 78"
CREATE TABLE INST, Here is a database schema( table schema);
What's the Description for Scottish Tar Distillers No. 78 that's Livery is black and a date prior to 1897?It is not neccessary to use all the tables.
SELECT Position FROM table WHERE NHL team = vancouver canucks AND Pick # = 101
CREATE TABLE INST, Here is a database schema( table schema);
What position in the Vancouver Canucks has a Pick # of 101?.It is not neccessary to use all the tables.
SELECT Decision FROM table WHERE Date = april 18
CREATE TABLE INST, Here is a database schema( table schema);
What was the Decision on April 18?.It is not neccessary to use all the tables.
SELECT COUNT Races ridden FROM table WHERE Nationality = german AND Races won < 10
CREATE TABLE INST, Here is a database schema( table schema);
How many races did the German racer that won less than 10 races ride?.It is not neccessary to use all the tables.
SELECT Object type FROM table WHERE Constellation = orion AND NGC number > 2174 AND Declination ( J2000 ) = °48′06″
CREATE TABLE INST, Here is a database schema( table schema);
Which Object type has a Constellation of orion, and an NGC number larger than 2174, and a Declination (J2000) of °48′06″?.It is not neccessary to use all the tables.
SELECT "Grand Prix" FROM table_52450 WHERE "Winning Driver" = 'david coulthard' AND "Pole Position" = 'michael schumacher' AND "Round" < '9'
CREATE TABLE INST, Here is a database schema( table schema);
Which Grand Prix did David Coulthard win with Michael Schumacher in the pole position before round 9?It is not neccessary to use all the tables.
SELECT nominee FROM table_name_30 WHERE category = "outstanding director of a musical"
CREATE TABLE INST, Here is a database schema( table schema);
Who was nominated for outstanding director of a musical?It is not neccessary to use all the tables.
SELECT player FROM table_name_11 WHERE opposition = "clare"
CREATE TABLE INST, Here is a database schema( table schema);
Which Player has an Opposition of clare?It is not neccessary to use all the tables.
SELECT MIN(game) FROM table_name_13 WHERE score = "129–105"
CREATE TABLE INST, Here is a database schema( table schema);
What Game had a Score of 129–105?It is not neccessary to use all the tables.
SELECT Winner FROM table WHERE Semi finalists = anke huber chanda rubin
CREATE TABLE INST, Here is a database schema( table schema);
What is the Winner when anke huber chanda rubin was semi finalist?.It is not neccessary to use all the tables.
SELECT Visitor FROM table WHERE Record = 14-10
CREATE TABLE INST, Here is a database schema( table schema);
Who is the visitor with the 14-10 record?.It is not neccessary to use all the tables.
SELECT Votes (%) FROM table WHERE First broadcast = 13 march 1998
CREATE TABLE INST, Here is a database schema( table schema);
What is Votes (%), when First Broadcast is "13 March 1998"?.It is not neccessary to use all the tables.
SELECT SUM Year FROM table WHERE Entrant = bryant heating
CREATE TABLE INST, Here is a database schema( table schema);
What year did Bryant Heating enter?.It is not neccessary to use all the tables.
SELECT MAX Poles FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What are the most poles listed?.It is not neccessary to use all the tables.
SELECT label FROM table_name_61 WHERE country = "united kingdom" AND date = "22 september 2008" AND catalogue_number_s_ = "eredv711"
CREATE TABLE INST, Here is a database schema( table schema);
Which Label has a Country of united kingdom a Date of 22 september 2008 and a Catalogue number(s) of eredv711?It is not neccessary to use all the tables.
SELECT Region FROM table WHERE Label = alfa records AND Date = january 23, 1987
CREATE TABLE INST, Here is a database schema( table schema);
What region has the label of alfa records and the date of January 23, 1987?.It is not neccessary to use all the tables.
SELECT losing_bonus FROM table_name_35 WHERE tries_against = "33" AND lost = "5"
CREATE TABLE INST, Here is a database schema( table schema);
What is the losing bonus for the team that has 33 tries against and 5 lost?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE To par = 12 AND Country = united states
CREATE TABLE INST, Here is a database schema( table schema);
Which united states player had a To par of 12?.It is not neccessary to use all the tables.
SELECT COUNT(deadline_for_completion) FROM table_12078626_1 WHERE description = "Facebook becomes a publicly traded company"
CREATE TABLE INST, Here is a database schema( table schema);
what is the total number of deadline for completion where description is facebook becomes a publicly traded companyIt is not neccessary to use all the tables.
SELECT home_team FROM table_name_65 WHERE date = "28 january 1984" AND tie_no = "4"
CREATE TABLE INST, Here is a database schema( table schema);
What is Home Team when Date is "28 January 1984" and when Tie No is "4"?It is not neccessary to use all the tables.
SELECT Party FROM table WHERE District = Pennsylvania 21
CREATE TABLE INST, Here is a database schema( table schema);
what's party with district being pennsylvania 21.It is not neccessary to use all the tables.
SELECT Attendance FROM table WHERE Week = 17
CREATE TABLE INST, Here is a database schema( table schema);
What was the Attendance in Week 17?.It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Home team score = 21.15 (141)
CREATE TABLE INST, Here is a database schema( table schema);
When the home team score was 21.15 (141), what was the away team?.It is not neccessary to use all the tables.
SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Road, All_Home ORDER BY All_Home
CREATE TABLE INST, Here is a database schema( table schema);
Give me the comparison about School_ID over the All_Home , and group by attribute ACC_Road, and show bar in asc order.It is not neccessary to use all the tables.
SELECT country FROM table_name_77 WHERE rank = 5
CREATE TABLE INST, Here is a database schema( table schema);
Which Country has a Rank of 5?It is not neccessary to use all the tables.
SELECT MIN(year) FROM table_16677738_1
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest overall year?It is not neccessary to use all the tables.
SELECT dates_active FROM table_name_78 WHERE storm_name = "irwin"
CREATE TABLE INST, Here is a database schema( table schema);
what date did the irwin storm take placeIt is not neccessary to use all the tables.
SELECT Leading scorer FROM table WHERE Date = february 26
CREATE TABLE INST, Here is a database schema( table schema);
On February 26, who was the leading scorer?.It is not neccessary to use all the tables.
SELECT MAX Attendance FROM table WHERE Week = 9
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest attendance of the game on week 9?.It is not neccessary to use all the tables.
SELECT Draws FROM table WHERE Wins = did not qualify
CREATE TABLE INST, Here is a database schema( table schema);
What is Draws, when Wins is "Did Not Qualify"?.It is not neccessary to use all the tables.
SELECT EMP_HIREDATE, COUNT(EMP_HIREDATE) FROM EMPLOYEE AS T1 JOIN PROFESSOR AS T2 ON T1.EMP_NUM = T2.EMP_NUM WHERE T2.PROF_OFFICE = 'DRE 102' ORDER BY COUNT(EMP_HIREDATE) DESC
CREATE TABLE INST, Here is a database schema( table schema);
How many professors whose office is located in DRE 102 are hired in each month? Return a bar chart, and show y-axis in desc order.It is not neccessary to use all the tables.
SELECT model FROM table_name_62 WHERE seats = "37-78"
CREATE TABLE INST, Here is a database schema( table schema);
Which Model had 37-78 seats?It is not neccessary to use all the tables.
SELECT chassis FROM table_name_89 WHERE team = "marlboro brm"
CREATE TABLE INST, Here is a database schema( table schema);
Which chassis has marlboro brm as the team?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "KAWA" AND T2.lastname = "GORDON"
CREATE TABLE INST, Here is a database schema( table schema);
How many students does KAWA GORDON teaches?It is not neccessary to use all the tables.
SELECT SUM(silver) FROM table_name_29 WHERE rank = "1" AND bronze < 3
CREATE TABLE INST, Here is a database schema( table schema);
How much Silver has a Rank of 1 and a Bronze smaller than 3?It is not neccessary to use all the tables.
SELECT identifier FROM table_name_45 WHERE power = "50,000 watts"
CREATE TABLE INST, Here is a database schema( table schema);
What is the identifier that has 50000 watts of power?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Client = agiba-agip
CREATE TABLE INST, Here is a database schema( table schema);
What country did the client Agiba-agip work in?.It is not neccessary to use all the tables.
SELECT Party FROM table WHERE Result = Re-elected AND District = Virginia 12
CREATE TABLE INST, Here is a database schema( table schema);
What party was re-elected to Virginia 12?.It is not neccessary to use all the tables.
SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = "Norwich City, Coventry City"
CREATE TABLE INST, Here is a database schema( table schema);
How many caps figures are there for Norwich City Coventry City?It is not neccessary to use all the tables.
SELECT "School" FROM table_63696 WHERE "Year Left" = '1992'
CREATE TABLE INST, Here is a database schema( table schema);
From what school was the team that left the conference in 1992?It is not neccessary to use all the tables.
SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf"
CREATE TABLE INST, Here is a database schema( table schema);
What district is incumbent frank chelf from?It is not neccessary to use all the tables.
SELECT lok_sabha FROM table_name_13 WHERE party_affiliation = "dravida munnetra kazhagam" AND duration = "1999-04"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Lok Sabha for Dravida Munnetra Kazhagam in 1999-04?It is not neccessary to use all the tables.
SELECT MIN(term_limited) FROM table_26129220_2 WHERE residence = "Coshocton"
CREATE TABLE INST, Here is a database schema( table schema);
What is the earliest term limit for the senator who resides in Coshocton?It is not neccessary to use all the tables.
SELECT MIN Round FROM table WHERE Pick # > 10 AND Position = tight end AND Overall < 132
CREATE TABLE INST, Here is a database schema( table schema);
Which Round is the lowest one that has a Pick # larger than 10, and a Position of tight end, and an Overall smaller than 132?.It is not neccessary to use all the tables.
SELECT School FROM table WHERE Location Denotes location of school by Seattle neighborhood, does not necessary correspond with attendance area = Columbia City
CREATE TABLE INST, Here is a database schema( table schema);
Name the school for columbia city.It is not neccessary to use all the tables.
SELECT MAX(caps) FROM table_name_54 WHERE player = "bruce djite"
CREATE TABLE INST, Here is a database schema( table schema);
What is the greatest number of caps for Bruce Djite?It is not neccessary to use all the tables.
SELECT developer FROM table_name_97 WHERE publisher = "rockstar games"
CREATE TABLE INST, Here is a database schema( table schema);
Who does Rockstar Games use as a developer?It is not neccessary to use all the tables.
SELECT date FROM table_name_61 WHERE attendance = "40,005"
CREATE TABLE INST, Here is a database schema( table schema);
What is the date of the game with 40005 in attendance?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM Flight
CREATE TABLE INST, Here is a database schema( table schema);
How many flights do we have?It is not neccessary to use all the tables.
SELECT torque FROM table_11167610_1 WHERE performance = "0–100km/h: 7.5s auto, VMax: km/h (mph)"
CREATE TABLE INST, Here is a database schema( table schema);
what's the torque where performance is 0–100km/h: 7.5s auto vmax: km/h (mph)It is not neccessary to use all the tables.
SELECT COUNT Record FROM table WHERE Date = March 27, 2009
CREATE TABLE INST, Here is a database schema( table schema);
How many records were made on March 27, 2009?.It is not neccessary to use all the tables.
SELECT location FROM table_26681728_1 WHERE score_final = "15.050"
CREATE TABLE INST, Here is a database schema( table schema);
Where did the event with a final score of 15.050 occur?It is not neccessary to use all the tables.
SELECT MIN(share) FROM table_name_67 WHERE viewers__m_ < 8.78 AND timeslot_rank < 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million?It is not neccessary to use all the tables.
SELECT soap_opera FROM table_name_4 WHERE duration = "18 years" AND character = "miley byrne"
CREATE TABLE INST, Here is a database schema( table schema);
what is the soap opera when the duration is 18 years and the character is miley byrne?It is not neccessary to use all the tables.
SELECT years_for_jazz FROM table_11545282_6 WHERE player = "Jim Farmer"
CREATE TABLE INST, Here is a database schema( table schema);
During which years did Jim Farmer play for Jazz?It is not neccessary to use all the tables.
SELECT AVG Units sold FROM table WHERE Publisher = square enix
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the average units sold for square enix.It is not neccessary to use all the tables.
SELECT SUM Attendance FROM table WHERE Date = may 31
CREATE TABLE INST, Here is a database schema( table schema);
How many people attended the game on May 31?.It is not neccessary to use all the tables.
SELECT name, ID FROM swimmer ORDER BY ID
CREATE TABLE INST, Here is a database schema( table schema);
Visualize a bar chart about the distribution of name and ID , I want to order by the Y-axis in asc.It is not neccessary to use all the tables.
SELECT DISTINCT flight.flight_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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.departure_time > 2100 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) 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 (CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'BOSTON' AND FLIGHTalias1.departure_time > 2100 AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.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 flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id
CREATE TABLE INST, Here is a database schema( table schema);
show me the cheapest one way flight from SAN FRANCISCO to BOSTON leaving SAN FRANCISCO after 2100It is not neccessary to use all the tables.
SELECT stage__winner_ FROM table_name_42 WHERE sprint_classification = "mark cavendish" AND team_classification = "garmin-chipotle-h30" AND young_classification = "mark cavendish"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the winner for a Sprint Classification and Young Classification to Mark Cavendish and Garmin-Chipotle-H30 for team?It is not neccessary to use all the tables.
SELECT team AS Captain FROM table_name_91 WHERE head_coach = "felix magath"
CREATE TABLE INST, Here is a database schema( table schema);
For the team led by head coach Felix Magath who is the team captain?It is not neccessary to use all the tables.
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13054 AND admissions.dischtime IS NULL) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'white blood cells') ORDER BY labevents.charttime LIMIT 1 OFFSET 1) < (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13054 AND admissions.dischtime IS NULL) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'white blood cells') ORDER BY labevents.charttime LIMIT 1)
CREATE TABLE INST, Here is a database schema( table schema);
is the value of white blood cells second measured on the current hospital visit of patient 13054 less than its value first measured on the current hospital visit?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT school_code) FROM department
CREATE TABLE INST, Here is a database schema( table schema);
how many schools exist in total?It is not neccessary to use all the tables.
SELECT MAX Rank FROM table WHERE Location = dresden AND Fastest time (s) < 10.88
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest rank in dresden with a time faster than 10.88?.It is not neccessary to use all the tables.
SELECT year FROM table_name_7 WHERE gen_secretary = "silvana jansen"
CREATE TABLE INST, Here is a database schema( table schema);
Which year has a Gen.-Secretary of silvana jansen?It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Coach = unknown AND Location = athelstone
CREATE TABLE INST, Here is a database schema( table schema);
Which team has an unknown coach and location of Athelstone?.It is not neccessary to use all the tables.
SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216
CREATE TABLE INST, Here is a database schema( table schema);
What was the player for t9 and a score of 73-69-74=216?It is not neccessary to use all the tables.
SELECT bandwidth_included FROM table_name_66 WHERE price = "266 sar"
CREATE TABLE INST, Here is a database schema( table schema);
For the provider that costs 266 sar what is the Bandwidth Included?It is not neccessary to use all the tables.
SELECT MIN(population__2010_) FROM table_261951_1
CREATE TABLE INST, Here is a database schema( table schema);
What was the smallist population in 2010?It is not neccessary to use all the tables.
SELECT Section FROM table WHERE Level = tier 3 AND Position = 6th AND Season = 1937-38
CREATE TABLE INST, Here is a database schema( table schema);
Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season?.It is not neccessary to use all the tables.
SELECT Credits, DNO FROM Course ORDER BY Credits
CREATE TABLE INST, Here is a database schema( table schema);
Visualize a scatter chart about the correlation between Credits and DNO .It is not neccessary to use all the tables.
SELECT number FROM table_name_90 WHERE position = "forward" AND school_club_team = "la salle"
CREATE TABLE INST, Here is a database schema( table schema);
What is the number for the forward position from the school/club team La Salle?It is not neccessary to use all the tables.
SELECT MIN(round) FROM table_name_65 WHERE overall > 186 AND position = "defensive end"
CREATE TABLE INST, Here is a database schema( table schema);
During which round was the first defensive end with an overall rank larger than 186 drafted?It is not neccessary to use all the tables.
SELECT assists_per_game FROM table_2761641_1 WHERE points_per_game = "6.8"
CREATE TABLE INST, Here is a database schema( table schema);
How many assists per game did he have when he had 6.8 points per game?It is not neccessary to use all the tables.
SELECT loss FROM table_name_81 WHERE date = "june 10"
CREATE TABLE INST, Here is a database schema( table schema);
What loss occurred on June 10?It is not neccessary to use all the tables.
SELECT COUNT Table points FROM table WHERE difference = +194
CREATE TABLE INST, Here is a database schema( table schema);
How many table points are listed for the deficit is +194? .It is not neccessary to use all the tables.
SELECT MAX(events) FROM table_name_93 WHERE top_5 > 5 AND top_10 > 28
CREATE TABLE INST, Here is a database schema( table schema);
Which Events is the highest one that has a Top-5 larger than 5 and a Top-10 larger than 28?It is not neccessary to use all the tables.
SELECT SUM(decile) FROM table_name_44 WHERE authority = "state" AND name = "pokuru school" AND roll < 109
CREATE TABLE INST, Here is a database schema( table schema);
What is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109?It is not neccessary to use all the tables.
SELECT 1978 FROM table_name_99 WHERE 1976 = "62%"
CREATE TABLE INST, Here is a database schema( table schema);
What 1978 has a 1976 of 62%?It is not neccessary to use all the tables.
SELECT written_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97"
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the episode that was watched by 2.97 million U.S. viewers?It is not neccessary to use all the tables.
SELECT Home (2nd leg) FROM table WHERE 1st Leg = 2-0
CREATE TABLE INST, Here is a database schema( table schema);
When 2-0 is the 1st leg what are the home (2nd leg)?.It is not neccessary to use all the tables.
SELECT record FROM table_14863869_1 WHERE date = "December 2, 1984"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score in the game played on December 2 1984?It is not neccessary to use all the tables.
SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken ORDER BY date_test_taken DESC
CREATE TABLE INST, Here is a database schema( table schema);
Find the dates of the tests taken with result 'Pass', and count them by a bar chart, and rank names in descending order.It is not neccessary to use all the tables.
SELECT to_par FROM table_name_23 WHERE place = "t9" AND player = "lee trevino"
CREATE TABLE INST, Here is a database schema( table schema);
What is To Par, when Place is 'T9', and when Player is 'Lee Trevino'?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "NEWBORN" AND demographic.dod_year <= "2122.0"
CREATE TABLE INST, Here is a database schema( table schema);
what is the number of patients whose primary disease is newborn and year of death is less than or equal to 2122?It is not neccessary to use all the tables.
SELECT host_team FROM table_name_71 WHERE visiting_team = "indianapolis colts"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Host team that has indianapolis colts as a Visiting team?It is not neccessary to use all the tables.
SELECT current_car FROM table_name_54 WHERE number_of_cars = 1 AND year_started = 1999
CREATE TABLE INST, Here is a database schema( table schema);
Which Current car has a Number of cars of 1 and a Year started of 1999?It is not neccessary to use all the tables.
SELECT Distance FROM table WHERE Name = mjåkollen
CREATE TABLE INST, Here is a database schema( table schema);
what is the distance for mjåkollen?.It is not neccessary to use all the tables.
SELECT location FROM table_name_81 WHERE year > 1993 AND killed = "100.9"
CREATE TABLE INST, Here is a database schema( table schema);
What location has a killed of 100.9 and a year later than 1993?It is not neccessary to use all the tables.
SELECT set_3 FROM table_name_7 WHERE score = "3–1" AND set_2 = "13–15"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Set 3 with a Score of 3–1 and has a Set 2 of 13–15?It is not neccessary to use all the tables.
SELECT Deaths FROM table WHERE Number of hurricanes = 10 AND Number of major hurricanes = 1
CREATE TABLE INST, Here is a database schema( table schema);
How many deaths did the year with 10 hurricanes and exactly 1 major hurricane have?.It is not neccessary to use all the tables.