sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT Washington, D.C. FROM table WHERE New York = Ramapo LL Ramapo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What teams played in Washington, DC the year that Ramapo LL Ramapo was the game in New York?.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, date_day, days, flight, state AS STATE_0, state AS STATE_1 WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'INDIANAPOLIS' AND date_day.day_number = 22 AND date_day.month_number = 3 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND STATE_1.state_code = CITY_1.state_code AND STATE_1.state_name = 'INDIANA') AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN DIEGO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND STATE_0.state_code = CITY_0.state_code AND STATE_0.state_name = 'CALIFORNIA') AND flight.departure_time BETWEEN 1200 AND 1800
|
CREATE TABLE INST, Here is a database schema( table schema);
|
i need a flight from SAN DIEGO CALIFORNIA to INDIANAPOLIS INDIANA leaving in the afternoon on tuesdayIt is not neccessary to use all the tables.
|
SELECT visitor FROM table_name_77 WHERE series = "2 – 3"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who has Series of 2 – 3?It is not neccessary to use all the tables.
|
SELECT team FROM table_name_88 WHERE wins > 10 AND champion = "mat mladin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which team had more than 10 wins with a champion of Mat Mladin?It is not neccessary to use all the tables.
|
SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY COUNT(*) LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the code of airport that has fewest number of flights?It is not neccessary to use all the tables.
|
SELECT pole_position FROM table_name_82 WHERE race_name = "2006 gehl championship finale"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What pole position did 2006 gehl championship finale have?It is not neccessary to use all the tables.
|
SELECT Circuit FROM table WHERE Date = 10/08/86
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For the race held on 10/08/86, what was the circuit?.It is not neccessary to use all the tables.
|
SELECT MIN(clubs_involved) FROM table_19089486_1 WHERE leagues_entering_this_round = "none" AND round = "Semi finals"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the least clubs involved for leagues being none for semi finalsIt is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-53717')) AND vitalperiodic.respiration BETWEEN respiration_lower AND respiration_upper AND NOT vitalperiodic.respiration IS NULL AND STRFTIME('%y-%m', vitalperiodic.observationtime) >= '2104-07'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
has the human respiration of patient 030-53717 been normal since 07/2104?It is not neccessary to use all the tables.
|
SELECT "Country" FROM table_66211 WHERE "Athlete" = 'zhang xiuyun'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the country for zhang xiuyun?It is not neccessary to use all the tables.
|
SELECT SUM(match) FROM table_name_83 WHERE points > 22
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many matches ended with more than 22 points?It is not neccessary to use all the tables.
|
SELECT COUNT Sacks FROM table WHERE Solo = 72 AND TTkl < 112
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many sacks have 72 as the solo and a TTkl less than 112?.It is not neccessary to use all the tables.
|
SELECT MIN Races FROM table WHERE T.C. = 3rd AND D.C. = 7th
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Races has a T.C. of 3rd, and a D.C. of 7th?.It is not neccessary to use all the tables.
|
SELECT AVG(points) FROM table_name_38 WHERE drawn > 0 AND lost > 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Points have a Drawn larger than 0 and a Lost larger than 1?It is not neccessary to use all the tables.
|
SELECT MIN Nick prod. # FROM table
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest Nick production number? .It is not neccessary to use all the tables.
|
SELECT COUNT(outgoing_manager) FROM table_28164986_4 WHERE team = "Sunshine Stars"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many managers left sunshine stars?It is not neccessary to use all the tables.
|
SELECT AVG Bronze FROM table WHERE Gold > 2 AND Total < 14 AND Silver = 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the bronze with more than 2 gold and less than 14 total and 4 silver?.It is not neccessary to use all the tables.
|
SELECT MAX(week) FROM table_name_77 WHERE attendance = "58,701"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which week had the highest attendance with 58701?It is not neccessary to use all the tables.
|
SELECT home FROM table_name_52 WHERE record = "20–13–3"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the home team when there was a record of 20–13–3?It is not neccessary to use all the tables.
|
SELECT Host FROM table WHERE Network = rtl-tvi
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the host for rtl-tvi.It is not neccessary to use all the tables.
|
SELECT location_attendance FROM table_name_27 WHERE record = "11–34"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Location Attendance has a Record of 11–34?It is not neccessary to use all the tables.
|
SELECT MAX(rank) FROM table_21100348_11 WHERE strike_rate = "91.67"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the rank for a strike rate of 91.67?It is not neccessary to use all the tables.
|
SELECT COUNT Week FROM table WHERE Opponent = at Cleveland Browns
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of weeks for at cleveland browns.It is not neccessary to use all the tables.
|
SELECT Distance FROM table WHERE Jockey = Jason Titley
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the distance of jockey Jason Titley?.It is not neccessary to use all the tables.
|
SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 'rash, infectious' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-1 year') GROUP BY STRFTIME('%y-%m-%d', diagnosis.diagnosistime)) AS t1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the average daily number of patients who have had rash, infectious since 1 year ago?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Visitor = chicago black hawks AND Record = 1-1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date was the visitor chicago black hawks, and a Record of 1-1?.It is not neccessary to use all the tables.
|
SELECT country FROM table_name_19 WHERE supermarkets = "50"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What country has 50 supermarkets?It is not neccessary to use all the tables.
|
SELECT Away team FROM table WHERE Home team = carlton
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the away team when the home team was Carlton?.It is not neccessary to use all the tables.
|
SELECT decision FROM table_name_71 WHERE visitor = "chicago"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the decision of the Kings game when Chicago was the visiting team?It is not neccessary to use all the tables.
|
SELECT COUNT Fab ( nm ) FROM table WHERE Model Number = Whistler LP
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many values for fab(nm) if the model number is Whistler LP?.It is not neccessary to use all the tables.
|
SELECT COUNT 2001 % FROM table WHERE Ethnic group = Other: Total
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many times is the ethnic group other: total?.It is not neccessary to use all the tables.
|
SELECT High points FROM table WHERE Game = 72
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had the most poinst in game 72?.It is not neccessary to use all the tables.
|
SELECT MIN(rec) FROM table_name_83 WHERE yards > 647 AND avg < 14
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many receptions for players with over 647 yards and an under 14 yard average?It is not neccessary to use all the tables.
|
SELECT AVG Net Yds FROM table WHERE Long = 68 AND Start > 1984
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average net yds for the player who had a long of 68 and started after 1984?.It is not neccessary to use all the tables.
|
SELECT record FROM table_name_20 WHERE date = "23 february 1986"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Record has a Date of 23 february 1986?It is not neccessary to use all the tables.
|
SELECT MIN Total attendance FROM table WHERE Sport = Association football AND League = Premier League
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the minimum total attendance of the Premier League association football?.It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Result = loss AND Date = march 26, 2005
|
CREATE TABLE INST, Here is a database schema( table schema);
|
During the loss on march 26, 2005, what was the venue where the match was played?.It is not neccessary to use all the tables.
|
SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the attendance of the match with motagua as the home team?It is not neccessary to use all the tables.
|
SELECT building FROM table_name_13 WHERE year = "2013" AND floors < 20
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For the Year 2013 what building(s) had less than 20 Floors?It is not neccessary to use all the tables.
|
SELECT director_s_ FROM table_name_21 WHERE prize = "¥300,000" AND film = "hanzubon no ojisan"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Director(s) made the film hanzubon no ojisan and received a prize of ¥300000?It is not neccessary to use all the tables.
|
SELECT SUM(long) FROM table_name_24 WHERE avg < 6 AND rec < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the sum of long for avg less than 6 and rec less than 2It is not neccessary to use all the tables.
|
SELECT weight FROM table_name_54 WHERE date_of_birth = "1979-09-26"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Weight of the Player with a Date of Birth of 1979-09-26?It is not neccessary to use all the tables.
|
SELECT * FROM Posts WHERE CreationDate = '##PostDate##' LIMIT 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Questions on a specific date.It is not neccessary to use all the tables.
|
SELECT overall FROM table_name_72 WHERE pick < 9 AND college = "michigan state" AND name = "buck mystrom"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the overall pick number for a draft pick smaller than 9 named buck mystrom from Michigan State college?It is not neccessary to use all the tables.
|
SELECT date FROM table_22464685_1 WHERE georgian_name = "ცხოვრება და უწყება ბაგრატონიანთა"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the date for when the georgian name is ცხოვრება და უწყება ბაგრატონიანთა?It is not neccessary to use all the tables.
|
SELECT Long-term C pk FROM table WHERE Short-term C pk = 2.00
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is long-term C PK when the short-term C PK is 2.00?.It is not neccessary to use all the tables.
|
SELECT MAX Year FROM table WHERE U.S. Captain = ken venturi
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the highest year that the U.S. captain is ken venturi?.It is not neccessary to use all the tables.
|
SELECT home_team AS score FROM table_name_51 WHERE venue = "punt road oval"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the home team's score at the game held at Punt Road Oval?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Game smaller than 70 and a Record of 43–16–8 is what opponent?It is not neccessary to use all the tables.
|
SELECT COUNT San Julián Municipality (%) FROM table WHERE San Antonio de Lomerío Municipality (%) = 5.480
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the San Antonio de Lomerio municipality percentage is 5.480, what is the total percentage for the San Julian municipality?.It is not neccessary to use all the tables.
|
SELECT Model name FROM table WHERE Engine code = B5254 T4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the model name with engine code being b5254 t4.It is not neccessary to use all the tables.
|
SELECT mascot FROM table_name_33 WHERE school = "shelbyville"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the mascot for shelbyvilleIt is not neccessary to use all the tables.
|
SELECT away_team AS score FROM table_name_67 WHERE venue = "glenferrie oval"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score of the away team at the the glenferrie oval?It is not neccessary to use all the tables.
|
SELECT "Life" FROM table_38014 WHERE "Name" = 'stefanie rabatsch'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lifespan of Stefanie Rabatsch?It is not neccessary to use all the tables.
|
SELECT Real Name FROM table WHERE Primary military speciality = shock paratrooper
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the real name of the person whose primary military specialty is shock paratrooper?.It is not neccessary to use all the tables.
|
SELECT 2012–13 FROM table WHERE 2013–14 = 2.750
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which 2012–13 has a 2013–14 of 2.750?.It is not neccessary to use all the tables.
|
SELECT audition_city FROM table_name_81 WHERE callback_venue = "amelia island plantation"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which audition city held callbacks at Amelia Island Plantation?It is not neccessary to use all the tables.
|
SELECT Region FROM table WHERE Province = Constitutional Province of Callao
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the region containing the Constitutional Province of Callao?.It is not neccessary to use all the tables.
|
SELECT Studio FROM table WHERE Director = david fincher
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What studio is director David Fincher from?.It is not neccessary to use all the tables.
|
SELECT D 42 √ FROM table WHERE D 44 √ = r 36 √
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the D 42 √ when it has D 44 √ of r 36 √.It is not neccessary to use all the tables.
|
SELECT Wheel arrangement FROM table WHERE Year(s) retired = 1955
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the wheel arrangement for the model that was retired in 1955?.It is not neccessary to use all the tables.
|
SELECT MAX Total FROM table WHERE Year(s) won = 1976
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the winning total from 1976?.It is not neccessary to use all the tables.
|
SELECT Conformity to original design FROM table WHERE Construction date = After 1945 AND Registration = HB-SAE
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is every conformity to original design if the construction date is after 1945 and registration is HB-SAE?.It is not neccessary to use all the tables.
|
SELECT School/Club Team FROM table WHERE Player = michael stewart
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Michael Stewart's school or club team?.It is not neccessary to use all the tables.
|
SELECT "Opponent" FROM table_43835 WHERE "Site" = 'legion field • birmingham, al'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the opponent when they played at the legion field birmingham, al site?It is not neccessary to use all the tables.
|
SELECT COUNT("type") FROM table_203_356 WHERE "height (mm)" > 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many types have a height greater than 5 mm ?It is not neccessary to use all the tables.
|
SELECT SUM(launches) FROM table_name_4 WHERE rocket = "long march 3" AND failures > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of launches with Long March 3 and 0 failures?It is not neccessary to use all the tables.
|
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a bar chart about the distribution of hire_date and the sum of salary bin hire_date by weekday.It is not neccessary to use all the tables.
|
SELECT attendance FROM table_name_25 WHERE week = "15"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the attendance in week 15?It is not neccessary to use all the tables.
|
SELECT competition FROM table_name_64 WHERE date = "november 16, 2007"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Competition on November 16 2007?It is not neccessary to use all the tables.
|
SELECT Women's singles FROM table WHERE Year = 2002
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who played women's singles in 2002?.It is not neccessary to use all the tables.
|
SELECT period FROM table_name_93 WHERE built = "578"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what time period were 578 built?It is not neccessary to use all the tables.
|
SELECT MIN(points) FROM table_name_5 WHERE chassis = "epperly indy roadster" AND year = 1959
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest amount of points held by the Epperly Indy roadster in 1959?It is not neccessary to use all the tables.
|
SELECT Winner FROM table WHERE Tournament = graz-seiersberg
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the winner in the Tournament of Graz-Seiersberg?.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.diagnosis = "CORONARY ARTERY DISEASE"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
get me the number of elective hospital admission patients who had coronary artery primary disease.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "49" AND demographic.admityear < "2198"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many patients are below 49 years of age and admitted under the year 2198?It is not neccessary to use all the tables.
|
SELECT date_of_appointment FROM table_name_33 WHERE team = "ac horsens"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT IS THE APPOINTMENT DATE FOR AC HORSENS?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.marital_status = "MARRIED" AND diagnoses.long_title = "Acute on chronic diastolic heart failure"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many patients are married and diagnosed with acute or chronic diastolic heart failure?It is not neccessary to use all the tables.
|
SELECT tournament FROM table_name_98 WHERE date = "2 october 2006"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Tournament was on 2 October 2006?It is not neccessary to use all the tables.
|
SELECT MIN First elected FROM table WHERE District = massachusetts 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest First Elected, when District is "Massachusetts 10"?.It is not neccessary to use all the tables.
|
SELECT Years FROM table WHERE Goals = 82
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Years have a Goal of 82?.It is not neccessary to use all the tables.
|
SELECT COUNT Pick FROM table WHERE Position = offensive guard AND Player = reggie mckenzie AND Round > 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Pick has a Position of offensive guard, a Player of reggie mckenzie, and a Round larger than 2?.It is not neccessary to use all the tables.
|
SELECT AVG(rank__night_) FROM table_name_29 WHERE rating > 4.3 AND viewers__millions_ > 10.72
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the rank (night) when the rating is more than 4.3 and the viewers (millions) is more than 10.72?It is not neccessary to use all the tables.
|
SELECT COUNT(game) FROM table_23453931_8 WHERE opponent = "Carolina Hurricanes"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many games did they play the carolina hurricanes?It is not neccessary to use all the tables.
|
SELECT MIN(steals) FROM table_22824302_3 WHERE rebounds = 121
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many steals for the player who had 121 rebounds?It is not neccessary to use all the tables.
|
SELECT nationality FROM table_name_44 WHERE round = 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What nationality was the round 6 draft pick?It is not neccessary to use all the tables.
|
SELECT winner FROM table_12261714_2 WHERE young_rider_classification = "Francesco Casagrande" AND stage = "1a"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who's the winner in stage 1a where the leader in the young rider classification is Francesco Casagrande?It is not neccessary to use all the tables.
|
SELECT MIN(grid) FROM table_name_10 WHERE laps = 21 AND manufacturer = "yamaha" AND time = "+18.802"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest Grid when Laps is 21 when Manufacturer is Yamaha and when Time is +18.802?It is not neccessary to use all the tables.
|
SELECT Type FROM table WHERE Location = los angeles, california
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the school type for Los Angeles, California?.It is not neccessary to use all the tables.
|
SELECT SUM Laps FROM table WHERE Rider = pere riba
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many laps did pere riba ride?.It is not neccessary to use all the tables.
|
SELECT Winner FROM table WHERE Pole Position = ben spies AND Date = elkhart lake, wisconsin
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wisconsin?.It is not neccessary to use all the tables.
|
SELECT number_one_single_s_ FROM table_27441210_17 WHERE artist = "Pep's"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What number-one single is performed by artist Pep's?It is not neccessary to use all the tables.
|
SELECT COUNT Station Type FROM table WHERE Callsign = DXCC-TV
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When dxcc-tv is the call sign how many station types are there?.It is not neccessary to use all the tables.
|
SELECT career_caps FROM table_name_73 WHERE position = "half-back" AND tests > 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the career caps for half-back when tests is more than 3?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Week > 6 AND Opponent = new york jets
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of the game after week 6 with the New York Jets as the opponent?.It is not neccessary to use all the tables.
|
SELECT Lead FROM table WHERE Skip = jamie meikle
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the lead when Jamie Meikle was the skip?.It is not neccessary to use all the tables.
|
SELECT Episode Summary FROM table WHERE Episode = 15
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What the summary of episode 15?.It is not neccessary to use all the tables.
|
SELECT current_venue FROM table_14903081_1 WHERE location = "Mason, Ohio"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which current venues location is Mason Ohio?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ANGIOEDEMA" AND procedures.short_title = "Ventricl shunt tube punc"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many patients are diagnosed with primary disease angioedema and operated with procedure ventricl shunt tube punc?It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_60 WHERE date = "october 13, 2007"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the venue on October 13 2007?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.