sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average start with wins larger than 0 and 32nd position?It is not neccessary to use all the tables.
|
SELECT European Competitions FROM table WHERE Tier = 2 AND Season = 2000–01
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tier of 2, and a Season of 2000–01 is what European competitions?.It is not neccessary to use all the tables.
|
SELECT Region FROM table WHERE Label = universal music group
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the region when the label was the universal music group?.It is not neccessary to use all the tables.
|
SELECT "at/vs." FROM table_45745 WHERE "Opponent'" = 'new york saints' AND "Attendance" > '16,042'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the at/vs against the New York Saints with over 16,042 in attendance?It is not neccessary to use all the tables.
|
SELECT Reason for change FROM table WHERE Date successor seated = December 13, 1880
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the reason for change to the successor that was seated on December 13, 1880?.It is not neccessary to use all the tables.
|
SELECT CHI FROM table WHERE NHC Advisory Number = 49B
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b?.It is not neccessary to use all the tables.
|
SELECT Owner FROM table WHERE Lengths Behind = 5½
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who the Owner that has a Lengths Behind of 5½?.It is not neccessary to use all the tables.
|
SELECT AVG("Wins") FROM table_35622 WHERE "Season" < '1906' AND "Draws" < '0'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average number of wins before the season in 1906 where there were 0 draws?It is not neccessary to use all the tables.
|
SELECT Track FROM table WHERE City = holland
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the track in Holland?.It is not neccessary to use all the tables.
|
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_0_19 = "21,11%"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is every value for % 20-39 if % 0-19 is 21,11%?It is not neccessary to use all the tables.
|
SELECT Playoffs FROM table WHERE Open Cup = did not qualify AND Regular Season = 3rd, south atlantic
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What shows for Playoffs when the Open Cup shows as did not qualify, and a Regular Season was 3rd, south atlantic?.It is not neccessary to use all the tables.
|
SELECT MAX(Market_Value_in_Billion), MIN(Market_Value_in_Billion) FROM company
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the maximum and minimum market value of companies?It is not neccessary to use all the tables.
|
SELECT Away team FROM table WHERE Venue = western oval
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the away team for venue of western oval.It is not neccessary to use all the tables.
|
SELECT MAX Loses FROM table WHERE Draws < 3 AND Points = 51
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest number of losses for teams with under 3 draws and 51 points?.It is not neccessary to use all the tables.
|
SELECT away_team AS score FROM table_name_49 WHERE away_team = "south melbourne"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When South Melbourne was the Away Team, what was their score?It is not neccessary to use all the tables.
|
SELECT MAX(games) FROM table_name_41 WHERE points = 32 AND team = "montepaschi siena" AND rank > 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest game that has 32 points and a team rank larger than 4 named montepaschi sienaIt is not neccessary to use all the tables.
|
SELECT COUNT Title FROM table WHERE No. in season = 19
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many episode titles does episode 19 in the season have?.It is not neccessary to use all the tables.
|
SELECT COUNT("U.S. Acres Episode") FROM table_22402 WHERE "Garfield Episode 2" = 'The Picnic Panic'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many u.s. episodes have Garfield episode 2 the picnic panic?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_45 WHERE opponents = "amanda brown brenda remilton"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Score with an Opponent that is amanda brown brenda remilton?It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Heat > 4 AND Lane = 4 AND Nationality = australia
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the swimmer from Australia in lane 4 with a heat larger than 4?.It is not neccessary to use all the tables.
|
SELECT Margin of victory FROM table WHERE Winning score = 74-68-67-75=284
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the Winning score is 74-68-67-75=284, what was the Margin of victory?.It is not neccessary to use all the tables.
|
SELECT publisher FROM table_name_4 WHERE title = "far cry"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which publisher has Far Cry as the title?It is not neccessary to use all the tables.
|
SELECT Soap Opera FROM table WHERE Character = teemu luotola
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Soap Opera with the character Teemu Luotola?.It is not neccessary to use all the tables.
|
SELECT (CASE p.PostTypeId WHEN 1 THEN 'Q' WHEN 2 THEN 'A' END), v.PostId AS "post_link", p.OwnerUserId AS "User Link", v.CreationDate AS "date", (CAST((JULIANDAY(v.CreationDate) - JULIANDAY(MIN(p.CreationDate))) * 86400.0 AS INT) + 86400) / 86400 AS "age", COUNT(*) AS "upvotes" FROM Votes AS v LEFT JOIN Posts AS p ON p.Id = v.PostId WHERE v.VoteTypeId = 2 AND NOT p.PostTypeId IS NULL GROUP BY v.PostId, v.CreationDate, p.OwnerUserId, p.PostTypeId ORDER BY 'date' DESC LIMIT 100
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Top 100 upvotes per post and per day. Show the posts that received the most upvotes in one dayIt is not neccessary to use all the tables.
|
SELECT "School/Club Team" FROM table_32664 WHERE "Round" > '4' AND "Position" = 'wide receiver'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which school(s) had a wide receiver drafted in round 4?It is not neccessary to use all the tables.
|
SELECT state FROM table_name_72 WHERE current_governor = "susana martinez"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What state is susana martinez from?It is not neccessary to use all the tables.
|
SELECT In-State Area FROM table WHERE Outlet = colorado river AND % In-State = a038 84.8%
|
CREATE TABLE INST, Here is a database schema( table schema);
|
With an outlet of Colorado River and a % instate of a038 84.8% what is in-state area?.It is not neccessary to use all the tables.
|
SELECT candidates FROM table_1342256_32 WHERE district = "New York 29"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who are the contenders In the New York 29 polling area race?It is not neccessary to use all the tables.
|
SELECT MAX Year FROM table WHERE Entrant = dean van lines
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the most recent year for Dean Van Lines?.It is not neccessary to use all the tables.
|
SELECT "University students and Adults (18yrs+)" FROM table_5335 WHERE "Gender" = 'male' AND "Specification" = 'minimum weight'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What value for university students and adult goes with male gender for minimum weight?It is not neccessary to use all the tables.
|
SELECT loser FROM table_name_55 WHERE sport = "football" AND winner = "england b" AND date > 1992
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the loser playing football with england b as a winner after 1992?It is not neccessary to use all the tables.
|
SELECT away_team AS score FROM table_name_67 WHERE home_team = "essendon"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the Home team of essendon is playing what is the Away team score?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_80 WHERE tie_no = "4"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
on what date was tie number 4?It is not neccessary to use all the tables.
|
SELECT MIN Winner's share (¥) FROM table WHERE Year = 2011
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest Winner's share (¥) in 2011?.It is not neccessary to use all the tables.
|
SELECT founded FROM table_262505_1 WHERE current_conference = "school closed in 2005"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the founded for school closed in 2005It is not neccessary to use all the tables.
|
SELECT partnerships FROM table_name_17 WHERE versus = "namibia" AND runs = "166*"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the partnership in the game with 166* runs and an opponent of Namibia?It is not neccessary to use all the tables.
|
SELECT assembled FROM table_name_47 WHERE elected = "1620/21"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the assembled date of the parliament elected in 1620/21?It is not neccessary to use all the tables.
|
SELECT position FROM table_name_83 WHERE hometown = "beaumont, texas"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the position of the player from Beaumont Texas?It is not neccessary to use all the tables.
|
SELECT College FROM table WHERE PBA team = san miguel beermen
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the College of the Player from San Miguel Beermen PBA Team?.It is not neccessary to use all the tables.
|
SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ FROM table_213088_1 WHERE reactor_type = "RBMK-1000"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List all the locations with a RBMK-1000 reactor.It is not neccessary to use all the tables.
|
SELECT MAX("Strike Rate") FROM table_50479 WHERE "Matches" < '13' AND "Average" < '50.25'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest Strike Rate when the average is less than 50.25 with less than 13 matches played?It is not neccessary to use all the tables.
|
SELECT MAX(played) FROM table_name_25 WHERE season = "2003-04"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest amount of games played in the 2003-04 season?It is not neccessary to use all the tables.
|
SELECT "Result" FROM table_52995 WHERE "Date" = 'june 12, 1997'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the Result listed that has a Date of June 12, 1997?It is not neccessary to use all the tables.
|
SELECT wicket FROM table_name_73 WHERE fielding_team = "sri lanka"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the wicket ranking for the match that had a fielding team of Sri Lanka?It is not neccessary to use all the tables.
|
SELECT MIN Episode no. FROM table WHERE Airdate = 18 October 2012
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which episode number aired on 18 october 2012?.It is not neccessary to use all the tables.
|
SELECT School FROM table WHERE Position = ends
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the school of the player who plays ends?.It is not neccessary to use all the tables.
|
SELECT Product_Type_Code, COUNT(*) FROM Products GROUP BY Product_Type_Code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show different type codes of products and the number of products with each type code.It is not neccessary to use all the tables.
|
SELECT Home team FROM table WHERE Away team score = 9.11 (65)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Home Team, when Away Team Score is 9.11 (65)?.It is not neccessary to use all the tables.
|
SELECT proximity FROM table_name_67 WHERE plural = "amader (our)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Proximity when Plural is amader (our)?It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE High points = tracy mcgrady (24)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Team, when High Points is "Tracy McGrady (24)"?.It is not neccessary to use all the tables.
|
SELECT team FROM table_name_42 WHERE races = "1" AND position = "1st"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which teams had the 1st position and entered 1 race?It is not neccessary to use all the tables.
|
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "CONGESTIVE HEART FAILURE"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is minimum age of patients whose gender is f and primary disease is congestive heart failure?It is not neccessary to use all the tables.
|
SELECT SUM First time as HC climb FROM table WHERE No. of HC climbs > 1 AND No. of times visited > 29 AND Most recent > 2012
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was the first HC climb which, more recently than 2012, had more than 1 HC climbs, more than 29 times visited?.It is not neccessary to use all the tables.
|
SELECT Mountains Classification FROM table WHERE Aggressive Rider = Bradley White
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the mountains classification for bradley white.It is not neccessary to use all the tables.
|
SELECT no_of_processors FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of processors for october 2006 - january 2010It is not neccessary to use all the tables.
|
SELECT Couple FROM table WHERE Dance = jive AND Score = 21 (6, 7, 8)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which couple danced a jive and received a score of 21 (6, 7, 8)?.It is not neccessary to use all the tables.
|
SELECT Name FROM People ORDER BY Weight
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the names of people in ascending order of weight?It is not neccessary to use all the tables.
|
SELECT character FROM table_name_10 WHERE portrayed_by = "elias koteas"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which character is portrayed by Elias Koteas?It is not neccessary to use all the tables.
|
SELECT Final Score FROM table WHERE Visiting Team = denver broncos
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the final score when the Denver Broncos were the visiting team?.It is not neccessary to use all the tables.
|
SELECT city_of_license FROM table_name_28 WHERE frequency_mhz > 102.3 AND call_sign = "k292eu"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In which city is the station licensed whose frequency MHz is higher than 102.3 and whose call sign is K292EU?It is not neccessary to use all the tables.
|
SELECT MIN Turnout FROM table WHERE Electorate > 47,822 AND Spoilt = 2,333
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT IS THE LOWEST TURNOUT FOR AN ELECTORATE LARGER THAN 47,822 AND SPOILT OF 2,333?.It is not neccessary to use all the tables.
|
SELECT Nickname FROM table WHERE Years in Competition = 1982-1994
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Nickname in the Competition of 1982-1994?.It is not neccessary to use all the tables.
|
SELECT COUNT Age FROM table WHERE Player = Maureen Connolly Brinker
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many ages have Maureen Connolly Brinker as the player?.It is not neccessary to use all the tables.
|
SELECT finish FROM table_name_74 WHERE start = "3" AND year = 2010
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Finish when the start shows 3 in the year of 2010?It is not neccessary to use all the tables.
|
SELECT COUNT Crowd FROM table WHERE Home team score = 16.16 (112)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many games did the home team score 16.16 (112)?.It is not neccessary to use all the tables.
|
SELECT demographic.diagnosis, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "85673"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is primary disease and diagnoses short title of subject id 85673?It is not neccessary to use all the tables.
|
SELECT result FROM table_name_12 WHERE opponent = "at dallas cowboys"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the result when the opponent is at dallas cowboys?It is not neccessary to use all the tables.
|
SELECT SUM(week) FROM table_name_3 WHERE date = "october 18, 1992"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Week on October 18 1992?It is not neccessary to use all the tables.
|
SELECT Ply (UK, NZ, AU) FROM table WHERE Yarn Type (US) = Fingering
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the ply (uk, nz, au) for fingering .It is not neccessary to use all the tables.
|
SELECT high_assists FROM table_27755603_7 WHERE team = "New Orleans"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had the most assists agains New Orleans?It is not neccessary to use all the tables.
|
SELECT country FROM table_name_1 WHERE player = "doug ford"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Doug Ford's country?It is not neccessary to use all the tables.
|
SELECT SUM Diagram FROM table WHERE Builder = york
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total diagram for builder york?.It is not neccessary to use all the tables.
|
SELECT MIN Year FROM table WHERE Points < 45 AND Team = yamaha AND Rank = 21st
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the earliest year with less than 45 points for Yamaha team in 21st rank?.It is not neccessary to use all the tables.
|
SELECT AVG(bronze) FROM table_name_85 WHERE total = 2 AND silver < 1 AND gold > 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average bronze when the total is 2 silver is less than 1 and gold is more than 1?It is not neccessary to use all the tables.
|
SELECT location FROM table_name_83 WHERE name = "third bridge over panama canal"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the third bridge over panama canal?It is not neccessary to use all the tables.
|
SELECT round FROM table_name_26 WHERE time = "0:37"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Round has a Time of 0:37?It is not neccessary to use all the tables.
|
SELECT MAX(round) FROM table_name_18 WHERE college = "nebraska" AND overall < 190
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest round for College of Nebraska if the Overall is under 190?It is not neccessary to use all the tables.
|
SELECT crowd FROM table_name_29 WHERE home_team = "carlton"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the home team was carlton how many people were in the crowd?It is not neccessary to use all the tables.
|
SELECT Place FROM table WHERE Score = 67-74-73=214
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What place was the scorer of 67-74-73=214?.It is not neccessary to use all the tables.
|
SELECT name FROM table_name_70 WHERE app_gs_sub_ = "14 (8/6)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell what has the App(GS/Sub) of 14 (8/6)It is not neccessary to use all the tables.
|
SELECT "System" FROM table_77524 WHERE "Name" = 'elkjs'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the system called that is named ELKJS?It is not neccessary to use all the tables.
|
SELECT memory FROM table_name_93 WHERE socket = "socket g1" AND turbo = "1/1/6/9"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the memory with a socket g1 and a 1/1/6/9 turbo?It is not neccessary to use all the tables.
|
SELECT Place FROM table WHERE To par = –8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Place has a To par of –8?.It is not neccessary to use all the tables.
|
SELECT monounsaturated_fat FROM table_name_85 WHERE smoke_point = "°c ()" AND total_fat = "100g" AND polyunsaturated_fat = "11g" AND saturated_fat = "14g"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the monounsaturated fat with a smoke point of °c () a total fat of 100g 11g of polyunsaturated fat and 14g of saturated fat?It is not neccessary to use all the tables.
|
SELECT Nation FROM table WHERE Gold = 0 AND Bronze < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For what nation is the gold medals 0, and the bronze medals less than 1?.It is not neccessary to use all the tables.
|
SELECT MAX(opp_points) FROM table_22903773_2 WHERE record = "16-5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many points did the opponents score on the game where Sooners' record was 16-5?It is not neccessary to use all the tables.
|
SELECT torque FROM table_name_80 WHERE power = "hp (kw; ps)@5800"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the torque on the model with power of hp (kw; ps)@5800?It is not neccessary to use all the tables.
|
SELECT TOTAL Time in Office: FROM table WHERE Rank: < 18 AND Premier: = joh bjelke-petersen
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the TOTAL Time in Office with a rank smaller than 18, and premier is Joh Bjelke-Petersen?.It is not neccessary to use all the tables.
|
SELECT Length FROM table WHERE Year = 2000
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Length has a Year of 2000?.It is not neccessary to use all the tables.
|
SELECT district FROM table_10342194_3 WHERE total_amount_of_trees < 150817.6878461314 AND amount_of_old_trees = "1,928 (1.89%)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the district when the total amount of trees is smaller than 150817.6878461314 and amount of old trees is 1928 (1.89%)?It is not neccessary to use all the tables.
|
SELECT model_number FROM table_name_57 WHERE order_part_number = "tmsmt37bqx5ld"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which model number has an order part number of TMSMT37BQX5LD?It is not neccessary to use all the tables.
|
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-21970')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'urine catheter' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m-%d', intakeoutput.intakeoutputtime) = '09-26' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what was the last urine catheter output time for patient 031-21970 on 09/26/this year?It is not neccessary to use all the tables.
|
SELECT COUNT Laps FROM table WHERE Time/Retired = +1:42.517 AND Grid > 33
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Laps have a Time/Retired of +1:42.517, and a Grid larger than 33?.It is not neccessary to use all the tables.
|
SELECT Call sign FROM table WHERE ERP W > 50
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Call Sign, when ERP W is greater than 50?.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_8 WHERE position = "center"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Utah Jazz player played Center?It is not neccessary to use all the tables.
|
SELECT MIN Year FROM table WHERE Team = pramac d'antin ducati
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Question doesn't make sense since there is no team of pramac d'antin ducati.It is not neccessary to use all the tables.
|
SELECT finish FROM table_name_79 WHERE win__percentage = ".585"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the final rank of the Brewers when they achieved a win percentage of .585?It is not neccessary to use all the tables.
|
SELECT Constructor FROM table WHERE Grid = 20
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the contstructor of the car having a grid of 20?.It is not neccessary to use all the tables.
|
SELECT COUNT Pitcher FROM table WHERE Overall Rank = 9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of pitcher for 9 overall rank.It is not neccessary to use all the tables.
|
SELECT week_5 FROM table_name_68 WHERE week_1 = "mandy ashford"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what kind of Week 5 that has a Week 1 of mandy ashford?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.