sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT attendance FROM table_name_76 WHERE time = "3:31"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the attendance for the game played at 3:31?It is not neccessary to use all the tables.
|
SELECT package_option FROM table_name_68 WHERE content = "religione" AND country = "italy"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the package/option in Italy when the content is religione?It is not neccessary to use all the tables.
|
SELECT Number FROM table WHERE Party = socialist party AND Président = yves krattinger
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What number corresponds to Presidet Yves Krattinger of the Socialist party?.It is not neccessary to use all the tables.
|
SELECT MIN Squad No. FROM table WHERE Total Goals > 6 AND League Goals < 8 AND Playoff Goals > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?.It is not neccessary to use all the tables.
|
SELECT tournament_winner FROM table_28884880_4 WHERE conference = "Southwestern Athletic conference"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the tournament winner in the Southwestern Athletic Conference?It is not neccessary to use all the tables.
|
SELECT COUNT London FROM table WHERE Character = Frank
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many people play Frank in London?.It is not neccessary to use all the tables.
|
SELECT Away team score FROM table WHERE Away team = melbourne
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the visiting team of Melbourne's score?.It is not neccessary to use all the tables.
|
SELECT MAX(bronze) FROM table_name_81 WHERE silver > 2 AND nation = "germany" AND gold > 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the most bronze can be when silver is larger than 2 and the nation is germany and gold is more than 8?It is not neccessary to use all the tables.
|
SELECT title FROM table_name_36 WHERE number = 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is number 4's title?It is not neccessary to use all the tables.
|
SELECT SUM(draws) FROM table_name_74 WHERE against > 1158 AND wins = 9 AND losses < 9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Draws has an Against larger than 1158 and a Wins of 9 and a Losses smaller than 9?It is not neccessary to use all the tables.
|
SELECT COUNT Total FROM table WHERE Fumble rec > 0 AND Fumble force = 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many tackles for the player with over 0 fumble recovries and 0 forced fumbles?.It is not neccessary to use all the tables.
|
SELECT field FROM table_name_46 WHERE result = "w 18-12"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What field resulted with w 18-12?It is not neccessary to use all the tables.
|
SELECT score_in_the_final FROM table_name_82 WHERE tournament = "$25,000 glasgow, great britain"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What score in the final had a tournament of $25000 Glasgow Great Britain?It is not neccessary to use all the tables.
|
SELECT Guest FROM table WHERE Score (first match) = 3:0 (0:2)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who were the guest team wehn the match score was 3:0 (0:2)?.It is not neccessary to use all the tables.
|
SELECT Fri 26 Aug FROM table WHERE Mon 22 Aug = 32' 25.72 69.809mph
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mph?.It is not neccessary to use all the tables.
|
SELECT stage FROM table_name_39 WHERE start = "saint-girons" AND year = 1988
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What stage has a start of saint-girons in 1988?It is not neccessary to use all the tables.
|
SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many locations has spain as the winner?It is not neccessary to use all the tables.
|
SELECT MAX(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 = '027-144847')) AND lab.labname = 'creatinine' AND DATETIME(lab.labresulttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is patient 027-144847's maximum value for creatinine last month?It is not neccessary to use all the tables.
|
SELECT Place FROM table WHERE Player = tim simpson
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was Tim Simpson's place?.It is not neccessary to use all the tables.
|
SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Money of the Player with a Score of 69-71-69-72=281?It is not neccessary to use all the tables.
|
SELECT SUM sequence length (aa) FROM table WHERE common name = purple sea urchin AND divergence from human lineage (MYA) < 742.9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sequence length (aa) of the protein with the common name Purple Sea Urchin and a divergence from human lineage less than 742.9?.It is not neccessary to use all the tables.
|
SELECT COUNT Points classification FROM table WHERE Winner = Matteo Priamo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who won the points classifications in the stage where Matteo Priamo was the winner?.It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Record = 61-57
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the opponent when the record was 61-57?.It is not neccessary to use all the tables.
|
SELECT Outcome FROM table WHERE Surface = hard AND Score = 4–6, 6–7(3)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What outcome occurs on a hard surface with a score of 4–6, 6–7(3)?.It is not neccessary to use all the tables.
|
SELECT team FROM table_name_67 WHERE rate = "94.1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What team has a 94.1 rating?It is not neccessary to use all the tables.
|
SELECT 1977 FROM table WHERE 1972 = grand slam tournaments
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 1977 value that had Grand Slam Tournaments in 1972?.It is not neccessary to use all the tables.
|
SELECT MAX(week) FROM table_name_29 WHERE opponent = "tampa bay buccaneers"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the latest week that the Tampa Bay Buccaneers were an opponent?It is not neccessary to use all the tables.
|
SELECT DISTINCT semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'PHIL' AND course.number = 433 AND semester.semester_id = course_offering.semester ORDER BY semester.year LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
PHIL 433 has been available for how long ?It is not neccessary to use all the tables.
|
SELECT 3rd day FROM table WHERE Year < 2012 AND Finish position = 33rd
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 3rd day result for years under 2012 and a finish position of 33rd?.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_92 WHERE away_team = "stafford rangers"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score of the game where stafford rangers was the away team?It is not neccessary to use all the tables.
|
SELECT Area (km²) FROM table WHERE District = Chittorgarh
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the district is Chittorgarh, what is the area?.It is not neccessary to use all the tables.
|
SELECT Tournament Name FROM table WHERE Runners-up = gianni ocleppo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the name of the tournament that Gianni Ocleppo was the runner-up?.It is not neccessary to use all the tables.
|
SELECT MIN Points FROM table WHERE Games > 34 AND Name = andrew panko
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest value for Points, when Games is greater than 34, and when Name is Andrew Panko?.It is not neccessary to use all the tables.
|
SELECT wicket FROM table_name_55 WHERE runs__balls_ = "104 (69)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Wicket was it that had a 104 (69) Runs (balls) amount?It is not neccessary to use all the tables.
|
SELECT AVG Crowd FROM table WHERE Home team = collingwood
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average crowd attendance for Collingwood?.It is not neccessary to use all the tables.
|
SELECT gold FROM table_name_18 WHERE year = "1958"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who won the gold in 1958?It is not neccessary to use all the tables.
|
SELECT neck FROM table_name_48 WHERE bullet = "10.566 (.416)" AND base = "14.78 (.582)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Neck has a Bullet of 10.566 (.416) and a Base of 14.78 (.582)?It is not neccessary to use all the tables.
|
SELECT santee_sisseton FROM table_1499774_5 WHERE yankton_yanktonai = "wičháša"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the santee sisseton for wičhášaIt is not neccessary to use all the tables.
|
SELECT TYPE, AVG(Tonnage) FROM ship GROUP BY TYPE
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show different types of ships and the average tonnage of ships of each type.It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Against < 30 AND Opposing Team = new south wales
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Venue, when Against is less than 30, and when Opposing Team is New South Wales?.It is not neccessary to use all the tables.
|
SELECT MAX(occurrence) FROM table_26708105_2 WHERE matrix_sim = "0.925"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What occurence has 0.925 listed as the matrix sim?It is not neccessary to use all the tables.
|
SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the matches for NQF is 2009 what is the position?It is not neccessary to use all the tables.
|
SELECT winner FROM table_name_9 WHERE team = "peter jackson racing" AND circuit = "mallala motor sport park"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park?It is not neccessary to use all the tables.
|
SELECT Driver FROM table WHERE Date = october 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the Driver, when the Date is October 6?.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_48 WHERE set_2 = "15:21"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the score for Set 2 at 15:21?It is not neccessary to use all the tables.
|
SELECT MIN(year) FROM table_name_79 WHERE points = 9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the earliest year for 9 points?It is not neccessary to use all the tables.
|
SELECT MAX Total FROM table WHERE Championship < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest total when there is less than 1 championship?.It is not neccessary to use all the tables.
|
SELECT Rank FROM table WHERE Team = suzuki AND Points < 16
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which rank has a team of Suzuki with under 16 points?.It is not neccessary to use all the tables.
|
SELECT AVG Population FROM table WHERE Median household income = $40,340 AND Number of households < 64,767
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Median household income of $40,340, and a Number of households smaller than 64,767 is what average population?.It is not neccessary to use all the tables.
|
SELECT MAX Markatal FROM table WHERE Municipality = leirvík AND Inhabitants per km² > 79
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79?.It is not neccessary to use all the tables.
|
SELECT written_by FROM table_18734298_1 WHERE no_in_series = 14
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who wrote the series number 14?It is not neccessary to use all the tables.
|
SELECT nationality FROM table_name_92 WHERE years_for_jazz = "1984-85"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which nationality has Years for Jazz of 1984-85?It is not neccessary to use all the tables.
|
SELECT High points FROM table WHERE Game = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is High Points, when Game is "5"?.It is not neccessary to use all the tables.
|
SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Transfer window that has a Transfer fee of free with a Moving to of derby county?It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Goals = 25
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What name is the goals of 25?.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_53 WHERE home_team = "footscray"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the home team was footscray which venue did they play it?It is not neccessary to use all the tables.
|
SELECT current_club FROM table_23670057_7 WHERE player = "Artūrs Štālbergs"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is every current club for the player Artūrs Štālbergs?It is not neccessary to use all the tables.
|
SELECT COUNT Series # FROM table WHERE Written by = William N. Fordes
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many episodes were written only by William N. Fordes?.It is not neccessary to use all the tables.
|
SELECT *, CAST(100.0 * a.answered / a.total AS FLOAT(10, 2)) AS PercentAnswered FROM (SELECT t.TagName, SUM(CASE WHEN p.AnswerCount + p.CommentCount > 0 THEN 1 ELSE 0 END) AS answered, COUNT(p.Id) AS total FROM Posts AS p JOIN PostTags AS pTags ON pTags.PostId = p.Id JOIN Tags AS t ON pTags.TagId = t.Id GROUP BY t.TagName) AS a WHERE a.total > '##MinQuestions:int##' ORDER BY PercentAnswered DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Answered vs. unanswered questions, by tag.It is not neccessary to use all the tables.
|
SELECT MIN(rank) FROM table_name_76 WHERE name = "noriko inada"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the smallest rank of noriko inada?It is not neccessary to use all the tables.
|
SELECT MLB Draft FROM table WHERE Player = shaun boyd
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What MLB draft has Shaun Boyd?.It is not neccessary to use all the tables.
|
SELECT party FROM table_name_61 WHERE representative = "brian bosma"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Party has a Representative of brian bosma?It is not neccessary to use all the tables.
|
SELECT points FROM table_name_34 WHERE races = "7"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the points with 7 races?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_74 WHERE week > 16
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date for the game after week 16?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_35 WHERE home_team = "stockport county"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the date with home team of Stockport County?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "1" AND prescriptions.drug = "Timolol Maleate 0.5%"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many patients whose days of hospital stay is greater than 1 and drug name is timolol maleate 0.5%?It is not neccessary to use all the tables.
|
SELECT MAX No. in series FROM table WHERE Written by = Dan Vebber
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the series number of the episode written by Dan Vebber?.It is not neccessary to use all the tables.
|
SELECT "Week" FROM table_33635 WHERE "Date" = 'october 17, 2004'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which week was the October 17, 2004 game played?It is not neccessary to use all the tables.
|
SELECT genre FROM table_name_92 WHERE year < 2013 AND name = "kikumana"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Genre has a Year before 2013, and a Name of kikumana?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Date = 2008-06-28
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Score with a Date that is 2008-06-28?.It is not neccessary to use all the tables.
|
SELECT "High assists" FROM table_21453 WHERE "Date" = 'April 7'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the high assists on April 7?It is not neccessary to use all the tables.
|
SELECT To par FROM table WHERE Place = t9 AND Country = united states AND Player = john buczek
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the to par of player john buczek, who has a t9 place and is from the United States?.It is not neccessary to use all the tables.
|
SELECT MAX(l) & cr_no FROM table_1184344_1 WHERE name = "Archimedes"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the maximum l&cr number for archimedes?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_37 WHERE date = "january 12"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Score when Date is January 12?It is not neccessary to use all the tables.
|
SELECT MAX Winners FROM table WHERE Nation = BEC Tero Sasana
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many times did bec tero sasana win?.It is not neccessary to use all the tables.
|
SELECT AVG(match) FROM table_name_37 WHERE ground = "h" AND opponent = "chelsea under 18s"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What match number has a ground of H and the opponent Chelsea under 18s?It is not neccessary to use all the tables.
|
SELECT COUNT(top_10) FROM table_2190919_1 WHERE avg_finish = "23.3"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many teams finished in the top team with an average finish of 23.3?It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Points = 22
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the team for 22 points.It is not neccessary to use all the tables.
|
SELECT Package/Option FROM table WHERE Country = italy AND Content = general television AND Television service = cielo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the option from Italy with general television content, and the Cielo television service?.It is not neccessary to use all the tables.
|
SELECT MIN(league) FROM table_name_88 WHERE play_offs > 0 AND total = 25
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the lowest league for play-offs more than 0 and total of 25It is not neccessary to use all the tables.
|
SELECT 2006 FROM table_name_74 WHERE 2007 = "1r"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What 2006 has 1r as the 2007?It is not neccessary to use all the tables.
|
SELECT Novelty FROM table WHERE Authors = zhiming AND Notes = carcharodontosaurid
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Novelty of the dinosaur that was named by the Author, Zhiming, and whose Notes are, "carcharodontosaurid"?.It is not neccessary to use all the tables.
|
SELECT Poles FROM table WHERE Wins = 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When there are 2 wins, how many poles are?.It is not neccessary to use all the tables.
|
SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.catalog_level_number = "8"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the names of catalog entries with level number 8.It is not neccessary to use all the tables.
|
SELECT MIN("Players") FROM table_86
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the smallest number of players?It is not neccessary to use all the tables.
|
SELECT MAX(season__number) FROM table_29102612_1 WHERE us_viewers__millions_ = "5.3"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the season # when ther are 5.3 million U.S viewers?It is not neccessary to use all the tables.
|
SELECT leading_scorer FROM table_name_98 WHERE score = "80–112"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Leading scorer had a Score of 80–112?It is not neccessary to use all the tables.
|
SELECT mid_hill_zone FROM table_10638523_1 WHERE particulars_and_characteristics = "Altitude"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For mid-hill zone what is the altitude?It is not neccessary to use all the tables.
|
SELECT category FROM table_name_54 WHERE result = "nominated" AND nominee = "gene barry"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which category was Gene Barry nominated in?It is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18159) AND prescriptions.drug IN ('albuterol 0.083% neb soln', 'labetalol hcl', 'filgrastim') AND STRFTIME('%y-%m', prescriptions.startdate) = '2105-12'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
has patient 18159 been prescribed albuterol 0.083% neb soln, labetalol hcl, or filgrastim in 12/2105.It is not neccessary to use all the tables.
|
SELECT COUNT(high_assists) FROM table_13557843_7 WHERE score = "L 90–98 (OT)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many high assbeingts with score being l 90–98 (ot)It is not neccessary to use all the tables.
|
SELECT Report FROM table WHERE Time = 12:30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the report in the tournament that started at 12:30?.It is not neccessary to use all the tables.
|
SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many general elections that have won smaller than 23 with candidates larger than 108?It is not neccessary to use all the tables.
|
SELECT english_title FROM table_name_21 WHERE director = "jayme monjardim"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the English title of the film Directed by Jayme Monjardim?It is not neccessary to use all the tables.
|
SELECT MAX Attendance FROM table WHERE Result = l 6-28
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the highest attendance when the result was L 6-28?.It is not neccessary to use all the tables.
|
SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31169) AND prescriptions.drug = 'pantoprazole' AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-15 month') ORDER BY prescriptions.startdate LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what was the first dose of pantoprazole until 15 months ago, prescribed to patient 31169?It is not neccessary to use all the tables.
|
SELECT League FROM table WHERE Year = 2010
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the team's league in 2010?.It is not neccessary to use all the tables.
|
SELECT AVG(100 AS s) FROM table_name_86 WHERE highest_score = "196"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average value in the 100s category when the high score is 196?It is not neccessary to use all the tables.
|
SELECT Margin of victory FROM table WHERE Date = aug 24, 1986
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was Juli's winning margin on Aug 24, 1986?.It is not neccessary to use all the tables.
|
SELECT U.S. viewers (millions) FROM table WHERE Series # = 83
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many u.s. viewers (million) have a series # 83?.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.