sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT race AS Winner FROM table_name_48 WHERE pole_position = "niki lauda"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the winner when Niki Lauda held pole position?It is not neccessary to use all the tables.
|
SELECT COUNT Original air date FROM table WHERE Title = "Dick Jokes"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many dates did "dick jokes" originally air on?.It is not neccessary to use all the tables.
|
SELECT MAX Pumpers FROM table WHERE Cars = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the highest pumpers when cars is 5?.It is not neccessary to use all the tables.
|
SELECT SUM(altitude__meters_) FROM table_name_93 WHERE range = "belgica mountains" AND name = "mount launoit"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the altitude (meters) is associated with the Name Mount Launoit with the range as Belgica Mountains?It is not neccessary to use all the tables.
|
SELECT rank FROM table_name_28 WHERE season = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What rank for season 1?It is not neccessary to use all the tables.
|
SELECT "Opponent" FROM table_49308 WHERE "Attendance" = '58,836'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Opponent, when Attendance is 58,836?It is not neccessary to use all the tables.
|
SELECT goal_average_1 FROM table_17357929_1 WHERE lost = 9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the goal average 1 for teams that lost 9 games?It is not neccessary to use all the tables.
|
SELECT fcc_info FROM table_name_67 WHERE call_sign = "kpcc"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the FCC info for call sign of kpccIt is not neccessary to use all the tables.
|
SELECT To par FROM table WHERE Player = nick price
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score to par after two rounds for Nick Price?.It is not neccessary to use all the tables.
|
SELECT length FROM table_name_63 WHERE class = "all" AND date = "march 18"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the length for all class and date of march 18It is not neccessary to use all the tables.
|
SELECT nationality FROM table_name_94 WHERE pick < 33 AND school_club_team = "vanderbilt"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the nationality of the player who has a pick lower than 33 and a School/Club Team of Vanderbilt?It is not neccessary to use all the tables.
|
SELECT High points FROM table WHERE Score = L 109–112 (OT)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the high points for l 109–112 (ot).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, days, fare, flight, flight_fare WHERE ((((((flight.arrival_time < flight.departure_time) AND days.day_name = 'MONDAY' AND flight.flight_days = days.days_code) OR (days.day_name = 'TUESDAY' AND flight.flight_days = days.days_code AND NOT (flight.arrival_time < flight.departure_time))) AND flight.arrival_time > 1200) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADELPHIA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' 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, days AS DAYSalias1, fare AS FAREalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1 WHERE (((((FLIGHTalias1.arrival_time < FLIGHTalias1.departure_time) AND DAYSalias1.day_name = 'MONDAY' AND FLIGHTalias1.flight_days = DAYSalias1.days_code) OR (DAYSalias1.day_name = 'TUESDAY' AND FLIGHTalias1.flight_days = DAYSalias1.days_code AND NOT (FLIGHTalias1.arrival_time < FLIGHTalias1.departure_time))) AND FLIGHTalias1.arrival_time > 1200) AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'PHILADELPHIA' AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'ATLANTA' 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);
|
the cheapest flights from ATLANTA to PHILADELPHIA that arrive after 12pm on a TUESDAYIt is not neccessary to use all the tables.
|
SELECT inclination FROM table_name_16 WHERE semimajor_axis___au__ = "20 au"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What inclination has a semimajor axis of 20 au?It is not neccessary to use all the tables.
|
SELECT Winning Driver FROM table WHERE Circuit = Okayama International Circuit
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the winning driver at Okayama International Circuit?.It is not neccessary to use all the tables.
|
SELECT province FROM table_19905183_1 WHERE team = "Ruhuna Royals"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What province does the Ruhuna Royals team come from?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Tournament = transitions championship
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what date was the Transitions Championship?.It is not neccessary to use all the tables.
|
SELECT 2010 FROM table WHERE 2009 = 1r AND 2008 = 1r
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2010 when the 2009 is 1r, and a 2008 is 1r?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Tournament = tokyo, japan AND Score = 4–6, 6–4, 6–4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tournament of tokyo, japan, and a Score of 4–6, 6–4, 6–4 had which date attached?.It is not neccessary to use all the tables.
|
SELECT (SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'choledochlith nos w obst') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t1) - (SELECT COUNT(DISTINCT t2.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'choledochlith nos w obst') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t2 JOIN admissions ON t2.subject_id = admissions.subject_id WHERE t2.charttime < admissions.admittime AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND DATETIME(admissions.admittime) BETWEEN DATETIME(t2.charttime) AND DATETIME(t2.charttime, '+2 month'))
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many people were diagnosed with choledochlith nos w obst and did not visit the hospital within 2 months this year?It is not neccessary to use all the tables.
|
SELECT "Operator" FROM table_3962 WHERE "Bodybuilder" = 'Roe'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the operator when Roe was the bodybuilder?It is not neccessary to use all the tables.
|
SELECT COUNT(segment_d) FROM table_15187735_18 WHERE segment_b = "Solar Water Heaters"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of sement d for solar water heatersIt is not neccessary to use all the tables.
|
SELECT winner FROM table_name_84 WHERE course = "milan circuit race"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the winner at Milan Circuit Race?It is not neccessary to use all the tables.
|
SELECT AVG(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Count the average age of patients who are still living with a known history of st elevation myocardial infarction/cardiac catheterization as the primary disease.It is not neccessary to use all the tables.
|
SELECT capital FROM table_name_21 WHERE hangul = "양주"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the capital of the province with 양주 in Hangul?It is not neccessary to use all the tables.
|
SELECT head_of_household FROM table_name_89 WHERE married_filing_separately = "$104,426–$186,475"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the head of household that has married filing separately of $104426–$186475It is not neccessary to use all the tables.
|
SELECT grand_finalist FROM table_1139835_3 WHERE winners = "Collingwood"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the grand finalist where winners is collingwoodIt is not neccessary to use all the tables.
|
SELECT Episode FROM table WHERE Viewers (millions) = 11.73
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what episode number had 11.73 million viewers? .It is not neccessary to use all the tables.
|
SELECT MAX(no) FROM table_21979779_1 WHERE production_code = "2T7211"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the biggest series episode number whose production code is 2t7211?It is not neccessary to use all the tables.
|
SELECT surface FROM table_29163303_4 WHERE score = "6–1, 4–6, [12–10]"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what surface was it the year when the score was 6–1 4–6 [12–10]?It is not neccessary to use all the tables.
|
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'CDB' AND course.number = 683 AND semester.semester = 'Spring' AND semester.year = 2016
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In the Spring , who teaches CDB 683 ?It is not neccessary to use all the tables.
|
SELECT COUNT(wins) FROM table_name_11 WHERE byes > 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the total wins of a team with more than 2 byes?It is not neccessary to use all the tables.
|
SELECT T1.Id, T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING COUNT(*) >= 2 INTERSECT SELECT T1.Id, T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model GROUP BY T1.Id HAVING COUNT(*) > 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?It is not neccessary to use all the tables.
|
SELECT T1.booking_status_code FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_number = "Suite 634"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the booking status code of the apartment with apartment number "Suite 634"?It is not neccessary to use all the tables.
|
SELECT Region FROM table WHERE Name = tv uskana
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the region for tv uskana?.It is not neccessary to use all the tables.
|
SELECT outcome FROM table_name_26 WHERE date = "2 december 2012"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the outcome on 2 December 2012?It is not neccessary to use all the tables.
|
SELECT Oberbayern B FROM table WHERE Oberpfalz = FC Schwandorf
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When fc schwandorf is the oberpfalz what is the oberbayern b?.It is not neccessary to use all the tables.
|
SELECT name, headquarter, founder FROM manufacturers ORDER BY revenue DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the name headquarter and founder of the manufacturer that has the highest revenue.It is not neccessary to use all the tables.
|
SELECT Division Record FROM table WHERE School = milford
|
CREATE TABLE INST, Here is a database schema( table schema);
|
The Milford School has what Division Record?.It is not neccessary to use all the tables.
|
SELECT date_of_appointment FROM table_27091128_2 WHERE outgoing_manager = "Kadir Özcan"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of appointment for the manager replacing Kadir Özcan?It is not neccessary to use all the tables.
|
SELECT Date of Death FROM table WHERE Date of Birth = 24 september 1851
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When did the person born 24 September 1851 pass away?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Decision = joseph AND Home = san jose
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the date when Joseph is the decision and San Jose is the home team?.It is not neccessary to use all the tables.
|
SELECT "Position" FROM table_56580 WHERE "Goals" = '0' AND "Points" = '28' AND "Player" = 'mike forshaw'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Mike Forshaw had 0 goals and 28 points. What is his position?It is not neccessary to use all the tables.
|
SELECT MIN Games FROM table WHERE Rank > 1 AND Rebounds > 212
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How few games are there for a rank more than 1 and more than 212 rebounds?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Margin of victory = 2 strokes
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date had a margin victory of 2 strokes?.It is not neccessary to use all the tables.
|
SELECT Third place FROM table WHERE Season = Four
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who won third place in season four?.It is not neccessary to use all the tables.
|
SELECT Status FROM table WHERE Date = 21/08/1999
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What status is on 21/08/1999?.It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Time (CET) = 09:58
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is every name for time(cet) of 09:58?.It is not neccessary to use all the tables.
|
SELECT "team" FROM table_204_506 WHERE "seasons" = 8 ORDER BY "ch.wins" DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what team had the most ch . wins during season 8 ?It is not neccessary to use all the tables.
|
SELECT Opposing Teams FROM table WHERE Against = 11
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the opposing team with 11 against?.It is not neccessary to use all the tables.
|
SELECT frequency FROM table_12095519_1 WHERE origin = "Sealdah"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How often does a train leave sealdah?It is not neccessary to use all the tables.
|
SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num GROUP BY T1.prof_num HAVING COUNT(*) > 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the first names of professors who are teaching more than one class.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_93 WHERE result = "draw"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which venue led to a draw?It is not neccessary to use all the tables.
|
SELECT Year premiered FROM table WHERE Main presenter = Behzat Uighur
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is every year premiered when Behzat Uighur is main presenter?.It is not neccessary to use all the tables.
|
SELECT Manager_Name, COUNT(Manager_Name) FROM gas_station GROUP BY Manager_Name ORDER BY COUNT(Manager_Name)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many gas stations dors each manager have? Plot a bar chart, and I want to list in asc by the y-axis.It is not neccessary to use all the tables.
|
SELECT COUNT("city") FROM table_204_190 WHERE "percentage" > 15
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many municipalities have above 15 % korean american percentage of overall population ?It is not neccessary to use all the tables.
|
SELECT processor FROM table_name_58 WHERE model = "powerbook 100"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
The Powerbook 100 model has what processor?It is not neccessary to use all the tables.
|
SELECT * FROM table_train_31 WHERE periodic_paralysis = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
history of periodic paralysis associated with carbohydrate loading;It is not neccessary to use all the tables.
|
SELECT MIN Played FROM table WHERE Drawn < 12 AND Against = 41 AND Points < 69
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest number of played games of the team with less than 12 drawns, 41 against, and less than 69 points?.It is not neccessary to use all the tables.
|
SELECT Director FROM table WHERE Year > 1949 AND Role = eula goodnight
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who directed the eula goodnight movie after 1949?.It is not neccessary to use all the tables.
|
SELECT MIN(tournaments) FROM table_name_76 WHERE name = "baruto"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest Tournaments when Name is "Baruto"?It is not neccessary to use all the tables.
|
SELECT round FROM table_name_16 WHERE venue = "galpharm stadium"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what round happened at galpharm stadium?It is not neccessary to use all the tables.
|
SELECT Country FROM table WHERE Score = 70-66=136
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which country has a score of 70-66=136?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Date = april 6, 2008
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score on April 6, 2008?.It is not neccessary to use all the tables.
|
SELECT solar FROM table_name_48 WHERE year = 2011 AND hydroelectricity < 119.6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In 2011 with a hydroelectricity less than 119.6 what was the solar?It is not neccessary to use all the tables.
|
SELECT Competition FROM table WHERE Score = 4-0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which competition has 4-0 as the score?.It is not neccessary to use all the tables.
|
SELECT week FROM table_name_62 WHERE air_date = "august 2, 2008"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Week has an Air Date of august 2 2008?It is not neccessary to use all the tables.
|
SELECT Circuit FROM table WHERE Round > 2 AND State/Territory = victoria
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What circuit was after round 2 in Victoria?.It is not neccessary to use all the tables.
|
SELECT SUM("Asts") FROM table_55655 WHERE "School/Country" = 'boston college' AND "Rebs" > '63'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the sum of asts for boston college with a rebs over 63?It is not neccessary to use all the tables.
|
SELECT COUNT(rank) FROM table_name_33 WHERE nationality = "denmark"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the rank for Denmark?It is not neccessary to use all the tables.
|
SELECT Song Sung FROM table WHERE Status = eliminated
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Song Sung has a Status of Eliminated?.It is not neccessary to use all the tables.
|
SELECT Series FROM table WHERE Wins < 3 AND Points = 9 AND Podiums = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the series when wins is less than 3, points is 9 and podiums is 1?.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT FacID) FROM Faculty_participates_in
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many faculty members participate in an activity?It is not neccessary to use all the tables.
|
SELECT us_national_average_electric_mix FROM table_16105186_2 WHERE midwest__des_moines_ = "280 g/mi (174 g/km)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest?It is not neccessary to use all the tables.
|
SELECT Virtues FROM table WHERE Psycho Social Crisis = intimacy vs. isolation
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Virtue looks at the intimacy vs. isolation crisis?.It is not neccessary to use all the tables.
|
SELECT MAX Crowd FROM table WHERE Away team = st kilda
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the largest crowd when st kilda was the away team?.It is not neccessary to use all the tables.
|
SELECT MAX Pick FROM table WHERE School = washington
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest pick from Washington?.It is not neccessary to use all the tables.
|
SELECT country FROM table_14523485_9 WHERE channel = "Fox"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Country is the show aired on Fox?It is not neccessary to use all the tables.
|
SELECT Winning % FROM table WHERE Years = 2006-11
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the winning % for the years 2006-11?.It is not neccessary to use all the tables.
|
SELECT run_4 FROM table_name_12 WHERE run_2 = "1:29.00"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Run 4 when Run 2 is 1:29.00?It is not neccessary to use all the tables.
|
SELECT Launched FROM table WHERE Ship = Carysfort
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was the Carysfort launched?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE High points = suns AND Record = 33–13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what date did the Suns have high points with a record of 33–13?.It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Date = may 1 AND Loss = speier (1–3)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record at the game held on May 1st with a loss of Speier (1–3)?.It is not neccessary to use all the tables.
|
SELECT DISTINCT course.name, course.number, program_course.workload FROM course, program_course WHERE course.department LIKE '%ACC%' AND program_course.course_id = course.course_id AND program_course.workload < 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
An easy ACC class is what I need .It is not neccessary to use all the tables.
|
SELECT SUM(goals) FROM table_name_46 WHERE tries = 24 AND points > 96
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of goals from 24 tries and 96 or greater points?It is not neccessary to use all the tables.
|
SELECT high_rebounds FROM table_22822559_8 WHERE record = "23-47"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had the highest rebounds during the game with a record of 23-47?It is not neccessary to use all the tables.
|
SELECT year FROM table_name_3 WHERE main = "eintracht frankfurt" AND hessen = "fsv mainz 05"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05?It is not neccessary to use all the tables.
|
SELECT no_in_series FROM table_15472061_1 WHERE us_viewers__millions_ = "7.78"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number in the series for when the viewers is 7.78It is not neccessary to use all the tables.
|
SELECT MIN Rank FROM table WHERE Lane < 5 AND Nationality = germany AND Name = sandra völker
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the least rank for lane less than 5 for germany and sandra völker.It is not neccessary to use all the tables.
|
SELECT MAX Runs scored FROM table
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the most runs scored.It is not neccessary to use all the tables.
|
SELECT 2009 FROM table_name_56 WHERE 2011 = "1r" AND tournament = "australian open"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the 2009 of the Australian Open having a 1R in 2011?It is not neccessary to use all the tables.
|
SELECT MAX Lost FROM table WHERE Team = quetta zorawar
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the most number of losses for Quetta Zorawar?.It is not neccessary to use all the tables.
|
SELECT high_points FROM table_name_61 WHERE date = "march 27"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had the highest points on March 27?It is not neccessary to use all the tables.
|
SELECT original_title FROM table_20963074_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "Report on Death"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the original title for not nominated result with report on deathIt is not neccessary to use all the tables.
|
SELECT to_par FROM table_name_95 WHERE country = "denmark"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the To par for denmarkIt is not neccessary to use all the tables.
|
SELECT Time/Retired FROM table WHERE Laps = 6 AND Grid < 18 AND Driver = clay regazzoni
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the time/retired when the laps is 6, the grid is less than 18 and the driver is clay regazzoni?.It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Replaced by = gary megson
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which team hired Gary Megson as the replacement manager?.It is not neccessary to use all the tables.
|
SELECT ICB Sector FROM table WHERE Company = vallourec
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which ICB Sector belongs to vallourec?.It is not neccessary to use all the tables.
|
SELECT MIN Points FROM table WHERE Losses < 12 AND Goals against < 50 AND Goal Difference > 11 AND Played < 30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the fewest points for positions with under 12 losses, goals against under 50, goal difference over 11, and under 30 played?.It is not neccessary to use all the tables.
|
SELECT Wins FROM table WHERE Points = 112
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many wins were listed when he had 112 points? .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.