sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT MAX("Area\u00b3") FROM table_27665 WHERE "Density\u00b2" = '533.59'
CREATE TABLE INST, Here is a database schema( table schema);
What is the area of the province with a density of 533.59?It is not neccessary to use all the tables.
SELECT COUNT(high_assists) FROM table_13619135_7 WHERE team = "@ Minnesota"
CREATE TABLE INST, Here is a database schema( table schema);
How many people had the high assists @ minnesota?It is not neccessary to use all the tables.
SELECT mens_singles FROM table_28138035_27 WHERE womens_doubles = "Wang Nan Zhang Yining"
CREATE TABLE INST, Here is a database schema( table schema);
Who is listed under mens singles when womens has wang nan zhang yining?It is not neccessary to use all the tables.
SELECT Directed by FROM table WHERE No. in season = 17
CREATE TABLE INST, Here is a database schema( table schema);
who were the director of the episode whose number in the season is 17? .It is not neccessary to use all the tables.
SELECT series FROM table_24998088_1 WHERE position = "7th"
CREATE TABLE INST, Here is a database schema( table schema);
In what series did he have the 7th position?It is not neccessary to use all the tables.
SELECT part_3 FROM table_name_4 WHERE class = "4"
CREATE TABLE INST, Here is a database schema( table schema);
Which part three is class 4?It is not neccessary to use all the tables.
SELECT AVG(overall) FROM table_name_63 WHERE round < 7 AND pick__number = 4
CREATE TABLE INST, Here is a database schema( table schema);
What's the overall average that has a round less than 7 and a Pick # of 4?It is not neccessary to use all the tables.
SELECT Chipset FROM table WHERE Codename = Arrandale AND Wireless LAN = Intel Centrino Ultimate-N 6300
CREATE TABLE INST, Here is a database schema( table schema);
How many series had the chipset of the Intel Centrino Ultimate-N 6300 wireless LAN with the codename Arrandale?.It is not neccessary to use all the tables.
SELECT score FROM table_27537518_7 WHERE record = "22-16-6"
CREATE TABLE INST, Here is a database schema( table schema);
What was the final score the game where the Thrashers over-all record went to 22-16-6?It is not neccessary to use all the tables.
SELECT "Name" FROM table_32044 WHERE "Caps" = '59'
CREATE TABLE INST, Here is a database schema( table schema);
Who has a 59 cap?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Player = mark hayes
CREATE TABLE INST, Here is a database schema( table schema);
What country does Mark Hayes play for?.It is not neccessary to use all the tables.
SELECT MAX Rank FROM table WHERE Tosses/Pyramids = 64.5
CREATE TABLE INST, Here is a database schema( table schema);
What is the rank when 64.5 is tosses/pyramids?.It is not neccessary to use all the tables.
SELECT Term in office FROM table WHERE State = qld AND Party = labor AND Electorate = fisher
CREATE TABLE INST, Here is a database schema( table schema);
Which term in office has a qld state, a Party of labor, and an Electorate of fisher?.It is not neccessary to use all the tables.
SELECT "Date" FROM table_9295 WHERE "Opposing Team" = 'western province'
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the match against western province?It is not neccessary to use all the tables.
SELECT for___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "17,874 (33.2)"
CREATE TABLE INST, Here is a database schema( table schema);
When 17874 (33.2) is the percentage against what is the percentage for?It is not neccessary to use all the tables.
SELECT SUM(draws) FROM table_name_27 WHERE el_zamalek_wins < 36 AND total > 2 AND al_ahly_wins > 37
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of draws for El Zamalek wins under 36 total over 2 and Al Ahly wins over 37?It is not neccessary to use all the tables.
SELECT DisplayName FROM Users WHERE Id = '##UserId##'
CREATE TABLE INST, Here is a database schema( table schema);
User's displayname (at the time of data dump).It is not neccessary to use all the tables.
SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE official_itv_hd_rating__millions_ = "1.12"
CREATE TABLE INST, Here is a database schema( table schema);
How many total itv viewers were there for the episode with official itv hd ratings of 1.12 million?It is not neccessary to use all the tables.
SELECT "athlete" FROM table_204_862 WHERE id = 1
CREATE TABLE INST, Here is a database schema( table schema);
who finished at the top with a gold medal ?It is not neccessary to use all the tables.
SELECT title FROM table_name_44 WHERE last_issue = "ongoing" AND first_issue = "february 2009"
CREATE TABLE INST, Here is a database schema( table schema);
What is the title that was first published in February 2009 and is still ongoing?It is not neccessary to use all the tables.
SELECT MAX Points FROM table WHERE Tied = 4 AND Goals for < 257 AND Games > 72
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played?.It is not neccessary to use all the tables.
SELECT english_meaning FROM table_name_22 WHERE full_word = "shens gamo"
CREATE TABLE INST, Here is a database schema( table schema);
What is English Meaning when Full Word is "Shens Gamo"?It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Third Place = magnus gustafsson
CREATE TABLE INST, Here is a database schema( table schema);
I want to know the tournament that has a third place of magnus gustafsson.It is not neccessary to use all the tables.
SELECT Lead FROM table WHERE Third = jeanna schraeder
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER?.It is not neccessary to use all the tables.
SELECT date FROM table_name_55 WHERE type = "individual time trial"
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the individual time trial?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Prize = $322,280
CREATE TABLE INST, Here is a database schema( table schema);
What is the date of the event with a $322,280 prize?.It is not neccessary to use all the tables.
SELECT player FROM table_name_55 WHERE round = 1
CREATE TABLE INST, Here is a database schema( table schema);
Who was the player in round 1?It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Home team = richmond
CREATE TABLE INST, Here is a database schema( table schema);
What did the away team score in the game against Richmond?.It is not neccessary to use all the tables.
SELECT venue FROM table_name_76 WHERE away_team = "footscray"
CREATE TABLE INST, Here is a database schema( table schema);
Where did Footscray play as the away team?It is not neccessary to use all the tables.
SELECT MIN Season FROM table WHERE Super G = 33
CREATE TABLE INST, Here is a database schema( table schema);
What is the oldest season that had a listed Super G score of 33?.It is not neccessary to use all the tables.
SELECT county FROM table_name_36 WHERE mascot = "pacers"
CREATE TABLE INST, Here is a database schema( table schema);
Which County has a Mascot of pacers?It is not neccessary to use all the tables.
SELECT venue FROM table_name_42 WHERE stage = "group g" AND date = "mar 8, 1998"
CREATE TABLE INST, Here is a database schema( table schema);
What venue did group g play at on Mar 8 1998?It is not neccessary to use all the tables.
SELECT COUNT(scores) FROM table_29141354_3 WHERE episode = "03x06"
CREATE TABLE INST, Here is a database schema( table schema);
How many scores had an episode of 03x06?It is not neccessary to use all the tables.
SELECT location_attendance FROM table_27756314_7 WHERE game = 19
CREATE TABLE INST, Here is a database schema( table schema);
where was the location that had game 19?It is not neccessary to use all the tables.
SELECT SUM Platform FROM table WHERE Frequency (per hour) = 4 AND Destination = west croydon
CREATE TABLE INST, Here is a database schema( table schema);
what is the platform when the frequency (per hour) is 4 and the destination is west croydon?.It is not neccessary to use all the tables.
SELECT sport FROM table_name_26 WHERE name = "ma yuxi"
CREATE TABLE INST, Here is a database schema( table schema);
What sport has Ma Yuxi in it?It is not neccessary to use all the tables.
SELECT top_5 FROM table_2182562_1 WHERE avg_finish = "40.3"
CREATE TABLE INST, Here is a database schema( table schema);
What are the top 5 average finishes equalling 40.3?It is not neccessary to use all the tables.
SELECT authors FROM table_name_90 WHERE novelty = "gen nov" AND location = "south africa" AND name = "criocephalosaurus"
CREATE TABLE INST, Here is a database schema( table schema);
What is Authors when Novelty is Gen Nov when Location is South Africa and when Name is Criocephalosaurus?It is not neccessary to use all the tables.
SELECT Best Male Lyricist FROM table WHERE Best Male Record = Neshia Nee
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Best Male Lyricist if Neshia Nee won the Best Male Record?.It is not neccessary to use all the tables.
SELECT SUM Week FROM table WHERE Attendance < 30,348 AND Result = w 37-21
CREATE TABLE INST, Here is a database schema( table schema);
In what Week were there less than 30,348 in Attendance with a Result of W 37-21?.It is not neccessary to use all the tables.
SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-2002"
CREATE TABLE INST, Here is a database schema( table schema);
How may players played for the Grizzlies from 2000-2002?It is not neccessary to use all the tables.
SELECT SUM Game FROM table WHERE Series = bruins lead 3–1
CREATE TABLE INST, Here is a database schema( table schema);
Which Game has a Series of bruins lead 3–1?.It is not neccessary to use all the tables.
SELECT pole_position FROM table_name_82 WHERE location = "jerez"
CREATE TABLE INST, Here is a database schema( table schema);
Who had the pole position in Jerez?It is not neccessary to use all the tables.
SELECT Grand Rapids (GRR) FROM table WHERE Detroit (DTW) = $378.55
CREATE TABLE INST, Here is a database schema( table schema);
What was the passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Home team = citizen team a
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the match with a home team of Citizen Team A?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Series Premiere = unknown AND TV Network(s) = mbc action
CREATE TABLE INST, Here is a database schema( table schema);
What country has a series premier of unknown and mbc action as their TV network?.It is not neccessary to use all the tables.
SELECT COUNT(laps) FROM table_name_99 WHERE rank = "3"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of all laps with rank 3?It is not neccessary to use all the tables.
SELECT Opponent in the final FROM table WHERE Date = november 23, 1998
CREATE TABLE INST, Here is a database schema( table schema);
Who played the final match on November 23, 1998?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.dob_year < "2150"
CREATE TABLE INST, Here is a database schema( table schema);
count the number of patients whose admission location is trsf within this facility and year of birth is less than 2150?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Home = montreal canadiens AND Date = april 11
CREATE TABLE INST, Here is a database schema( table schema);
What is the Score that has a Home of montreal canadiens on april 11?.It is not neccessary to use all the tables.
SELECT Media Debut FROM table WHERE Species = Asian black bear
CREATE TABLE INST, Here is a database schema( table schema);
what is the media debut for the asian black bear?.It is not neccessary to use all the tables.
SELECT Rank FROM table WHERE Season premiere = September 25, 2001
CREATE TABLE INST, Here is a database schema( table schema);
Name the rank that premiered september 25, 2001.It is not neccessary to use all the tables.
SELECT MIN(date_commissioned) FROM table_name_69 WHERE material = "iron" AND ship = "rmsrhone" AND gross_tonnage < 2 OFFSET 738
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the lowest date commissioned for iron rmsrhone and gross tonnage less than 2738It is not neccessary to use all the tables.
SELECT MAX(october) FROM table_name_41 WHERE game = 9
CREATE TABLE INST, Here is a database schema( table schema);
Which game has the highest score in October with 9?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, airport_service AS AIRPORT_SERVICE_2, airport_service AS AIRPORT_SERVICE_3, city AS CITY_0, city AS CITY_1, city AS CITY_2, city AS CITY_3, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE ((((CITY_3.city_code = AIRPORT_SERVICE_3.city_code AND CITY_3.city_name = 'PITTSBURGH' AND DATE_DAY_1.day_number = 21 AND DATE_DAY_1.month_number = 4 AND DATE_DAY_1.year = 1991 AND DAYS_1.day_name = DATE_DAY_1.day_name AND fare_basis.basis_days = DAYS_1.days_code AND fare.fare_basis_code = fare_basis.fare_basis_code AND fare.to_airport = AIRPORT_SERVICE_3.airport_code) AND CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'DENVER' AND fare.from_airport = AIRPORT_SERVICE_2.airport_code) AND DATE_DAY_0.day_number = 21 AND DATE_DAY_0.month_number = 4 AND DATE_DAY_0.year = 1991 AND DAYS_0.day_name = DATE_DAY_0.day_name AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias4, airport_service AS AIRPORT_SERVICEalias5, city AS CITYalias4, city AS CITYalias5, date_day AS DATE_DAYalias2, days AS DAYSalias2, fare AS FAREalias1, fare_basis AS FARE_BASISalias1 WHERE (CITYalias5.city_code = AIRPORT_SERVICEalias5.city_code AND CITYalias5.city_name = 'PITTSBURGH' AND DATE_DAYalias2.day_number = 21 AND DATE_DAYalias2.month_number = 4 AND DATE_DAYalias2.year = 1991 AND DAYSalias2.day_name = DATE_DAYalias2.day_name AND FARE_BASISalias1.basis_days = DAYSalias2.days_code AND FAREalias1.fare_basis_code = FARE_BASISalias1.fare_basis_code AND FAREalias1.to_airport = AIRPORT_SERVICEalias5.airport_code) AND CITYalias4.city_code = AIRPORT_SERVICEalias4.city_code AND CITYalias4.city_name = 'DENVER' AND FAREalias1.from_airport = AIRPORT_SERVICEalias4.airport_code) AND flight_fare.fare_id = fare.fare_id AND flight.flight_days = DAYS_0.days_code AND flight.flight_id = flight_fare.flight_id) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
CREATE TABLE INST, Here is a database schema( table schema);
from DENVER to PITTSBURGH on 4 21 i need the cheapest flightIt is not neccessary to use all the tables.
SELECT COUNT(wins) FROM table_name_60 WHERE percentage_wins = "52.11%" AND flags < 8
CREATE TABLE INST, Here is a database schema( table schema);
What's the number of wins when the flags were less than 8 and 52.11% of wins?It is not neccessary to use all the tables.
SELECT Candidates FROM table WHERE District = Louisiana 2
CREATE TABLE INST, Here is a database schema( table schema);
Who was the candidate in the election in the Louisiana 2 district? .It is not neccessary to use all the tables.
SELECT COUNT Rider FROM table WHERE Tues 1 June = 21' 05.27 107.351mph
CREATE TABLE INST, Here is a database schema( table schema);
If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?.It is not neccessary to use all the tables.
SELECT gold_coast FROM table_name_36 WHERE melbourne = "yes" AND perth = "yes" AND auckland = "no" AND sydney = "no"
CREATE TABLE INST, Here is a database schema( table schema);
Which gold Coast has a Melbourne of yes a Perth of yes an Auckland of no and a Sydney of no?It is not neccessary to use all the tables.
SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING COUNT(*) < 3
CREATE TABLE INST, Here is a database schema( table schema);
Show all template type codes with less than three templates.It is not neccessary to use all the tables.
SELECT MAX Game FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest game number?.It is not neccessary to use all the tables.
SELECT U.S. viewers (million) FROM table WHERE Title = "Miss Mystic Falls"
CREATE TABLE INST, Here is a database schema( table schema);
How many millions of U.S viewers watched the episode titled "Miss Mystic Falls"?.It is not neccessary to use all the tables.
SELECT sets FROM table_name_95 WHERE nadal = 13 AND federer = 6
CREATE TABLE INST, Here is a database schema( table schema);
What were the sets when Federer had 6 and a nadal of 13?It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Home team = richmond
CREATE TABLE INST, Here is a database schema( table schema);
What score was conceded by Richmond?.It is not neccessary to use all the tables.
SELECT Season FROM table WHERE Winner = kiveton park AND Final venue = sandy lane
CREATE TABLE INST, Here is a database schema( table schema);
During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner?.It is not neccessary to use all the tables.
SELECT COUNT Laps FROM table WHERE Time/Retired = +33.912
CREATE TABLE INST, Here is a database schema( table schema);
What's the lap number for time/retired of +33.912?.It is not neccessary to use all the tables.
SELECT MIN Year FROM table WHERE Author = reki kawahara
CREATE TABLE INST, Here is a database schema( table schema);
what is the earliest year when the author is reki kawahara?.It is not neccessary to use all the tables.
SELECT Weight FROM people ORDER BY Height LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the weight of the shortest person?It is not neccessary to use all the tables.
SELECT COUNT Number FROM table WHERE SP = 20/1 AND Finishing position = Fence 19
CREATE TABLE INST, Here is a database schema( table schema);
How many numbers have sp of 20/1 and a finishing position of fence 19?.It is not neccessary to use all the tables.
SELECT COUNT Played FROM table WHERE Drawn < 5 AND Team = army AND Points > 51
CREATE TABLE INST, Here is a database schema( table schema);
How many games played for the army team with over 51 points and under 5 games drawn?.It is not neccessary to use all the tables.
SELECT date FROM table_name_70 WHERE away_team = "richmond"
CREATE TABLE INST, Here is a database schema( table schema);
What is the date of the game where Richmond was the away team?It is not neccessary to use all the tables.
SELECT demographic.dob FROM demographic WHERE demographic.subject_id = "65652"
CREATE TABLE INST, Here is a database schema( table schema);
what is date of birth of subject id 65652?It is not neccessary to use all the tables.
SELECT Vertical 0 b FROM table WHERE Horizontal 0 a = 明勾(YS月南)
CREATE TABLE INST, Here is a database schema( table schema);
Name the vertical for 明勾(ys月南).It is not neccessary to use all the tables.
SELECT MAX(bronze) FROM table_name_89 WHERE rank > 5 AND nation = "chinese taipei" AND total < 1
CREATE TABLE INST, Here is a database schema( table schema);
Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Loss = ponson (4–3)
CREATE TABLE INST, Here is a database schema( table schema);
What date was the loss of ponson (4–3)?.It is not neccessary to use all the tables.
SELECT laps FROM table_name_4 WHERE qual = "138.212"
CREATE TABLE INST, Here is a database schema( table schema);
How many laps was qualifier of 138.212?It is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Notes = half marathon
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the competition for half marathon.It is not neccessary to use all the tables.
SELECT MAX Ranking Round Rank FROM table WHERE Nation = russia AND Final Rank > 11
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Ranking Round Rank for Russia with a Final Rank over 11?.It is not neccessary to use all the tables.
SELECT MAX(runs) FROM table_name_45 WHERE matches > 5
CREATE TABLE INST, Here is a database schema( table schema);
What was the highest amount of runs for more than 5 matches?It is not neccessary to use all the tables.
SELECT MIN No. in season FROM table WHERE Directed by = Bryan Spicer
CREATE TABLE INST, Here is a database schema( table schema);
How many seasons were directed by Bryan Spicer?.It is not neccessary to use all the tables.
SELECT COUNT(gold) FROM table_name_23 WHERE silver < 1 AND nation = "belgium"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of gold with less than 1 silver from Belgium?It is not neccessary to use all the tables.
SELECT AVG Year FROM table WHERE Loses = 4 AND Wins < 18 AND Draws > 1
CREATE TABLE INST, Here is a database schema( table schema);
What average Year has Losses 4, and Wins less than 18, and Draws greater than 1?.It is not neccessary to use all the tables.
SELECT Obama% FROM table WHERE McCain# = 3648
CREATE TABLE INST, Here is a database schema( table schema);
What percentage of the votes did Obama get in the county where McCain got 3648 votes?.It is not neccessary to use all the tables.
SELECT Surface FROM table WHERE Date = 2 june 2003
CREATE TABLE INST, Here is a database schema( table schema);
What Surface was used on 2 June 2003?.It is not neccessary to use all the tables.
SELECT 2nd leg FROM table WHERE Team 2 = marbella
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2nd Leg, when Team 2 is Marbella?.It is not neccessary to use all the tables.
SELECT Game Name FROM table WHERE Top Prize = $888
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the game with a top prize of $888?.It is not neccessary to use all the tables.
SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june 24, 2007"
CREATE TABLE INST, Here is a database schema( table schema);
What venue has a EAFF report on June 24 2007?It is not neccessary to use all the tables.
SELECT Mark FROM table WHERE Name = dmytro hlushchenko
CREATE TABLE INST, Here is a database schema( table schema);
What is Mark, when Name is Dmytro Hlushchenko?.It is not neccessary to use all the tables.
SELECT COUNT(year) FROM table_name_77 WHERE venue = "los angeles" AND event = "foil team"
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of years that the event was foil team and took place in Los Angeles?It is not neccessary to use all the tables.
SELECT away_team FROM table_name_28 WHERE venue = "lake oval"
CREATE TABLE INST, Here is a database schema( table schema);
What is the away team at lake oval?It is not neccessary to use all the tables.
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23605' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) AND lab.labname = 'chloride' ORDER BY lab.labresulttime LIMIT 1 OFFSET 1) - (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23605' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) AND lab.labname = 'chloride' ORDER BY lab.labresulttime LIMIT 1)
CREATE TABLE INST, Here is a database schema( table schema);
what is the difference in chloride levels of patient 031-23605 second measured on the first hospital visit compared to the value first measured on the first hospital visit?It is not neccessary to use all the tables.
SELECT COUNT(height_m___ft__) FROM table_13998897_1 WHERE notes = "via WCCV; formerly W236AJ"
CREATE TABLE INST, Here is a database schema( table schema);
how many height m ( ft ) with notes being via wccv; formerly w236ajIt is not neccessary to use all the tables.
SELECT COUNT(verbal_noun) FROM table_12784134_1 WHERE basic_stem__root_ = "-bil-"
CREATE TABLE INST, Here is a database schema( table schema);
What's the number of verbal nouns with the basic stem (root) -bil-?It is not neccessary to use all the tables.
SELECT MAX Points FROM table WHERE Wins = 4
CREATE TABLE INST, Here is a database schema( table schema);
When a team wins 4, how much is the Maximum amount of points?.It is not neccessary to use all the tables.
SELECT COUNT(gold) FROM table_name_19 WHERE silver = 3 AND bronze > 3
CREATE TABLE INST, Here is a database schema( table schema);
How much gold does the tank have that has 3 silver and more than 3 bronze?It is not neccessary to use all the tables.
SELECT Location_Code, COUNT(*) FROM Document_Locations GROUP BY Location_Code ORDER BY Location_Code DESC
CREATE TABLE INST, Here is a database schema( table schema);
Show the location codes and the number of documents in each location in a bar chart, and I want to display by the names from high to low.It is not neccessary to use all the tables.
SELECT COUNT Tries for FROM table WHERE Points for < 137 AND Tries against > 12
CREATE TABLE INST, Here is a database schema( table schema);
How many Tries has Points for smaller than 137, and Tries against larger than 12?.It is not neccessary to use all the tables.
SELECT MIN(draws) FROM table_name_68 WHERE south_west_dfl = "tyrendarra" AND byes > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest value for Draws when South West DFL is "Tyrendarra" and when Byes is greater than 0?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE High points = douglas (15)
CREATE TABLE INST, Here is a database schema( table schema);
Which Score has High points of douglas (15)?.It is not neccessary to use all the tables.
SELECT AVG February FROM table WHERE Record = 18-26-10 AND Game < 54
CREATE TABLE INST, Here is a database schema( table schema);
What is the average February that has 18-26-10 as the record, with a game less than 54?.It is not neccessary to use all the tables.