sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT MIN CF wins FROM table WHERE CF appearances > 4 AND Last CF = 2013 AND Team = chicago blackhawks AND Cup wins > 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest number of cf wins of the chicago blackhawks, which has more than 4 cf appearances, a last cf in 2013, and more than 2 cup wins?.It is not neccessary to use all the tables.
|
SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'c v v h d')) AND STRFTIME('%y', cost.chargetime) = '2104' GROUP BY cost.patienthealthsystemstayid) AS t1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the maximum hospital cost that involves a procedure called c v v h d in 2104.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Loss = wegman (2-6)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score of the game that had a loss of Wegman (2-6)?.It is not neccessary to use all the tables.
|
SELECT Country FROM table WHERE Score = 71-69-70-71=281
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Country's Player scored 71-69-70-71=281?.It is not neccessary to use all the tables.
|
SELECT COUNT(team) FROM table_242813_2 WHERE overall_rank = 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the team ranked 4It is not neccessary to use all the tables.
|
SELECT COUNT Against FROM table WHERE Losses < 13 AND Byes < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number listed under against when there were less than 13 losses and less than 2 byes?.It is not neccessary to use all the tables.
|
SELECT Finish FROM table WHERE First air date = March 6, 2008
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the results of episodes with the first air date of March 6, 2008?.It is not neccessary to use all the tables.
|
SELECT Outgoing manager FROM table WHERE Team = Aberdeen
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the outgoing manager for Aberdeen? .It is not neccessary to use all the tables.
|
SELECT Overall FROM table WHERE Season = 2003-04
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the overall record for the Pandas in the 2003-04 season? .It is not neccessary to use all the tables.
|
SELECT member FROM table_10054296_1 WHERE classification = "Sorority"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the members listed with the sorority classificationIt is not neccessary to use all the tables.
|
SELECT SUM(usn_2013) FROM table_name_63 WHERE bw_2013 < 1000 AND forbes_2011 > 17 AND cnn_2011 < 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the USN 2013 ranking with a BW 2013 ranking less than 1000 a Forbes 2011 ranking larger than 17 and a CNN 2011 ranking less than 13?It is not neccessary to use all the tables.
|
SELECT site FROM table_name_65 WHERE winning_team = "kansas city royals"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the series that the Kansas City Royals lost?It is not neccessary to use all the tables.
|
SELECT result FROM table_name_73 WHERE opponent = "everton"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result against everton?It is not neccessary to use all the tables.
|
SELECT AVG(ast_avg) FROM table_name_74 WHERE games > 101 AND rank = 5 AND total_assists < 331
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT IS THE AVG AST FOR GAMES LARGER THAN 101 RANK 5 TOTAL ASSISTS SMALLER THAN 331?It is not neccessary to use all the tables.
|
SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What party did the incumbent Thomas P. Moore belong to?It is not neccessary to use all the tables.
|
SELECT Trainer FROM table WHERE Year < 2009 AND Time = 1:10.09
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which trainer had a time of 1:10.09 with a year less than 2009?.It is not neccessary to use all the tables.
|
SELECT actors_name FROM table_10236830_1 WHERE director = "Vadim Ilyenko"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the actors name that vadim ilyenko directed?It is not neccessary to use all the tables.
|
SELECT COUNT(location_attendance) FROM table_27902171_8 WHERE record = "36-29"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of location attendance for 36-29 recordIt is not neccessary to use all the tables.
|
SELECT round FROM table_name_71 WHERE college = "indiana"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What round was a player from Indiana picked?It is not neccessary to use all the tables.
|
SELECT D 41 β FROM table WHERE D 43 O = r 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the D 41 β for having D 43 of r 13.It is not neccessary to use all the tables.
|
SELECT congress FROM table_name_51 WHERE _number_of_cosponsors = 19
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Congress has a # of cosponsors of 19?It is not neccessary to use all the tables.
|
SELECT division FROM table_1427998_1 WHERE year = 2006
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the division for the year 2006?It is not neccessary to use all the tables.
|
SELECT name FROM table_29743928_3 WHERE country = "DR Congo"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the names of players from the dr congo?It is not neccessary to use all the tables.
|
SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Very Extra High"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the most ceiling temperature for very extra highIt is not neccessary to use all the tables.
|
SELECT fastest_lap FROM table_name_31 WHERE winning_driver = "jacques villeneuve"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the winning driver was jacques villeneuve what was the fastest lap driven?It is not neccessary to use all the tables.
|
SELECT Home team FROM table WHERE Away team = south melbourne
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In the match where south melbourne was the away team, who was the home team?.It is not neccessary to use all the tables.
|
SELECT SUM Week FROM table WHERE Attendance < 59,743 AND Opponent = atlanta falcons
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What week did the Atlanta Falcons play in front of less than 59,743 people?.It is not neccessary to use all the tables.
|
SELECT Category FROM table WHERE Cab size = Crew AND Sub-category = Super tanker
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the category for cab size crew and super tanker.It is not neccessary to use all the tables.
|
SELECT SUM(drawn) FROM table_name_86 WHERE points > 9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many drawn having more than 9 points?It is not neccessary to use all the tables.
|
SELECT MIN Avg. FROM table WHERE Yards = 6 AND Rec. > 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the lowest avg for 6 yards and rec more than 1.It is not neccessary to use all the tables.
|
SELECT ERP (Analog/ Digital) FROM table WHERE Transmitter Location = mount goonaneman
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the ERP for the Mount Goonaneman transmitter?.It is not neccessary to use all the tables.
|
SELECT Channel FROM table WHERE Country = israel
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which channel comes out of Israel?.It is not neccessary to use all the tables.
|
SELECT High points FROM table WHERE Date = december 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who scored the most point on December 13?.It is not neccessary to use all the tables.
|
SELECT Engine FROM table WHERE Engine code = m119.985
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which engine has a code of m119.985?.It is not neccessary to use all the tables.
|
SELECT 2000 FROM table WHERE 1999 = toyota 1sz-fe 1.0l yaris AND category = sub 1 litre
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What car was awarded sub 1 litre in 2000 (won by toyota 1sz-fe 1.0l yaris in 1999)?.It is not neccessary to use all the tables.
|
SELECT MAX Crowd FROM table WHERE Venue = mcg
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the attendance when VFL played MCG?.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_38 WHERE sport = "baseball" AND championships__years_ = "0" AND league = "milb, florida state league" AND club = "jupiter hammerheads"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Venue has a Sport of baseball Championships (Years) of 0 a League of milb florida state league and a Club of jupiter hammerheads?It is not neccessary to use all the tables.
|
SELECT visitor FROM table_name_63 WHERE decision = "osgood" AND date = "february 15"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Visitor has a Decision of osgood, and a Date of february 15?It is not neccessary to use all the tables.
|
SELECT expected_end_date FROM table_name_65 WHERE trial_start_date = "nov 2007"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Expected End Date when Trial Start Date is Nov 2007?It is not neccessary to use all the tables.
|
SELECT Pictorials FROM table WHERE Interview subject = Steve Jobs
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the pictorials when the interview subject is steve jobs.It is not neccessary to use all the tables.
|
SELECT COUNT(fate) FROM table_1220125_4 WHERE pennant = "U33"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of fate for pennant of u33?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_32 WHERE dΓ©but > 1972 AND opposition = "limerick"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the date for the player who debuted later than 1972 against Limerick?It is not neccessary to use all the tables.
|
SELECT COUNT(date) FROM table_23281862_10 WHERE score = "L 106β116 (OT)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of date for score being l 106 116 (ot)It is not neccessary to use all the tables.
|
SELECT years FROM table_name_57 WHERE runners_up = "odd grenland"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the year of the competition in which Odd Grenland was the runner-up?It is not neccessary to use all the tables.
|
SELECT code FROM table_1610301_1 WHERE district = "Mahbubnagar"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the abbreviation of the district of Mahbubnagar?It is not neccessary to use all the tables.
|
SELECT mother_tongue FROM table_name_94 WHERE population__2006_ = 300
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the mother tongue language shared by 300 people in 2006?It is not neccessary to use all the tables.
|
SELECT MIN(year) FROM table_name_96 WHERE title = "cold feet"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is recorded as the lowest Year that has the Title of Cold Feet?It is not neccessary to use all the tables.
|
SELECT Country FROM table WHERE Athlete = fabiana beltrame
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the country for fabiana beltrame?.It is not neccessary to use all the tables.
|
SELECT winning_driver FROM table_25773116_2 WHERE date = "April 11"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who won the April 11 race?It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM table_203_536 WHERE "date" < (SELECT "date" FROM table_203_536 WHERE "date" = 'apr 7') AND "win" = 'morris'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
before april 7 , how many times had morris won ?It is not neccessary to use all the tables.
|
SELECT COUNT(laps) FROM table_name_68 WHERE qual > 142.81 AND grid = 12
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the total number of Laps for Qual being larger than 142.81 with Grid of 12It is not neccessary to use all the tables.
|
SELECT MIN(lane) FROM table_name_64 WHERE react > 0.164 AND nationality = "guinea"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the lowest lane when react is more than 0.164 and the nationality is guinea?It is not neccessary to use all the tables.
|
SELECT Rider FROM table WHERE Tues 24 Aug = 22' 09.44 93.840mph
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had the time of 22' 09.44 93.840mph on Tuesday August 24th?.It is not neccessary to use all the tables.
|
SELECT AVG Fiscal Year FROM table WHERE Headquarters = noida AND Employees < 85,335
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average Fiscal Year of the firm Headquartered in noida, with less than 85,335 employees?.It is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18150')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'output amt-blake drain' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
in the previous month has patient 016-18150 had any output amt-blake drain output?It is not neccessary to use all the tables.
|
SELECT week FROM table_name_46 WHERE date = "september 23, 1973"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
September 23 1973 landed on which week of the season?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_91 WHERE series = "bruins lead 2β1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Opponent has a Series of bruins lead 2β1?It is not neccessary to use all the tables.
|
SELECT COUNT(position) FROM table_name_61 WHERE goals_against > 48 AND points_1 = "29" AND played < 34
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of positions when there are more than 48 goals against 1 of 29 points are played and less than 34 games have been played?It is not neccessary to use all the tables.
|
SELECT attendance FROM table_name_95 WHERE week > 16
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the attendance when the week was more than 16?It is not neccessary to use all the tables.
|
SELECT Molecular Target FROM table WHERE Disease Area = antiviral
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the molecular target of the organism that has a disease area of antiviral?.It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE BBI = 5/27
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the player when the bbi is 5/27?.It is not neccessary to use all the tables.
|
SELECT winning_driver FROM table_name_55 WHERE winning_team = "engstler motorsport engstler motorsport" AND date = "22 july"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July?It is not neccessary to use all the tables.
|
SELECT MAX(game) FROM table_name_77 WHERE record = "47-21-3"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest game with a 47-21-3 record?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Game = 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score of Game 13?.It is not neccessary to use all the tables.
|
SELECT championship FROM table_name_79 WHERE score_in_the_final = "3β6, 6β4, 5β7"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which championship had a score in the final of 3β6 6β4 5β7?It is not neccessary to use all the tables.
|
SELECT MIN FA Cup FROM table WHERE Total = 0 2 AND League Cup < 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many FA cups were there without any league cups, but a total of 0 2?.It is not neccessary to use all the tables.
|
SELECT Opponents in the final FROM table WHERE Score in the final = 6β4, 7β6 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who were the opponents in the final where the score in the final is 6β4, 7β6 2?.It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE Pick # < 29 AND MLS team = chicago fire
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the player for pick number less than 29 and mls team of chicago fire.It is not neccessary to use all the tables.
|
SELECT First elected FROM table WHERE Incumbent = Bud Shuster
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was incumbent Bud Shuster first elected? .It is not neccessary to use all the tables.
|
SELECT Shoulder FROM table WHERE Length = 57.85 (2.278)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the shoulder measurement of the gun with a length of 57.85 (2.278)?.It is not neccessary to use all the tables.
|
SELECT Entrant FROM table WHERE Year < 1975 AND Chassis = lotus 20
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is entered earlier than 1975 and has a Lotus 20 chassis?.It is not neccessary to use all the tables.
|
SELECT Original airdate FROM table WHERE Title = "Going Bodmin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When did "Going Bodmin" originally air?.It is not neccessary to use all the tables.
|
SELECT game_site FROM table_name_44 WHERE week > 14
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Game site has a Week larger than 14?It is not neccessary to use all the tables.
|
SELECT COUNT(apogee__km_) FROM table_name_74 WHERE alt_name = "ops-8285" AND mass__kg_ > 1500
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Apogee sis Ops-8285 with more than 1500 kg?It is not neccessary to use all the tables.
|
SELECT Location/Attendance FROM table WHERE Date = June 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What stadium hosted the June 7 game and how many visitors were there?.It is not neccessary to use all the tables.
|
SELECT Year FROM table WHERE Superlative = youngest nominee
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year was the the youngest nominee a winner?.It is not neccessary to use all the tables.
|
SELECT MAX No. in season FROM table WHERE Production code = 4300062
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number in season for 4300062.It is not neccessary to use all the tables.
|
SELECT name FROM table_name_29 WHERE round = "e"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the name for round of eIt 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.ethnicity = "WHITE" AND diagnoses.short_title = "Pleural effusion NOS"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many patients with white ethnic background are diagnosed with unspecified pleural effusion?It is not neccessary to use all the tables.
|
SELECT ages FROM table_name_48 WHERE dance = "cha-cha-cha" AND pair = "mitchell & jessica"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How old were Mitchell & Jessica when they danced the Cha-Cha-Cha?It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Date = june 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who's the opponent for June 13?.It is not neccessary to use all the tables.
|
SELECT english_translation FROM table_name_81 WHERE season_in_sanskrit = "varsha"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the english translation of the sanskrit word varsha?It is not neccessary to use all the tables.
|
SELECT difficulty FROM table_24463470_1 WHERE circuit = "Athens"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the difficulty of the athens circuit?It is not neccessary to use all the tables.
|
SELECT 2012 FROM table_name_4 WHERE 2007 = "a" AND tournament = "australian open"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For the Australian Open in 2007 the result was A but what was the result in 2012?It is not neccessary to use all the tables.
|
SELECT district FROM table_name_62 WHERE party = "democratic" AND first_elected < 1996
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which district has a Democratic incumbent that was first elected before 1996?It is not neccessary to use all the tables.
|
SELECT MAX Fumb Yds FROM table WHERE Fumb F. = 0 AND Int LG < 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Fumb Yds has a Fumb F. of 0, and a Int LG smaller than 0?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Attendance > 5,804 AND Result = 6β3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Date has an Attendance larger than 5,804, and a Result of 6β3?.It is not neccessary to use all the tables.
|
SELECT Away team score FROM table WHERE Home team score = 6.7 (43)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the home team scored 6.7 (43), what was the away teams score?.It is not neccessary to use all the tables.
|
SELECT final_score FROM table_name_96 WHERE date = "january 9" AND host_team = "cincinnati bengals"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the final score for january 9 for cincinnati bengalsIt is not neccessary to use all the tables.
|
SELECT monday FROM table_name_45 WHERE sunday = "alice levine jamie east" AND series = "big brother 13"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the presenter on Monday of "Big Brother 13" in which Alice Levine Jamie East presented on Sunday?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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Intestinal infection due to Clostridium difficile" AND lab."CATEGORY" = "Blood Gas"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
give the number of patients whose diagnosis long title is intestinal infection due to clostridium difficile and lab test category is blood gas.It is not neccessary to use all the tables.
|
SELECT T1.School_name, T1.Mascot, T1.IHSAA_Football_Class FROM school AS T1 JOIN budget AS T2 ON T1.school_id = T2.school_id WHERE Budgeted > 6000 OR YEAR < 2003 ORDER BY T2.total_budget_percent_invested, T2.total_budget_percent_budgeted
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List the name IHSAA Football Class and Mascot of the schools that have more than 6000 of budgeted amount or were founded before 2003 in the order of percent of total invested budget and total budgeted budget.It is not neccessary to use all the tables.
|
SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'PATH' AND course.number = 643 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
The teacher for PATH 643 is whom ?It is not neccessary to use all the tables.
|
SELECT Written by FROM table WHERE Title = "Goliath (Part 2)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who wrote the episode titled "Goliath (Part 2)"?.It is not neccessary to use all the tables.
|
SELECT decision FROM table_name_85 WHERE date = "april 25"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Decision has a Date of april 25?It is not neccessary to use all the tables.
|
SELECT COUNT Incumbent FROM table WHERE Candidates = Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%?.It is not neccessary to use all the tables.
|
SELECT MAX Legs FROM table WHERE Winning yacht = Steinlager 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the most legs for steinlager 2.It is not neccessary to use all the tables.
|
SELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = "stephen mead wing"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What kind of Republican ticket has a Prohibition ticket of stephen mead wing?It is not neccessary to use all the tables.
|
SELECT COUNT(population) FROM table_157826_1 WHERE city_town = "Arendal"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total population in the city/town of Arendal?It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Date = December 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What team were the Bulls hosted by on December 7?.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.