instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
history of anemia ( hb < 9 mg / dl ) .
### Response:
|
SELECT * FROM table_test_8 WHERE anemia = 1 OR hb < 9
|
### Instruction:
For how many days Stephanie Sechan stayed in the hospital?
### Response:
|
SELECT demographic.days_stay FROM demographic WHERE demographic.name = "Stephanie Suchan"
|
### Instruction:
What is Surface, when Tournament is 'Sunderland , United Kingdom'?
### Response:
|
SELECT surface FROM table_name_4 WHERE tournament = "sunderland , united kingdom"
|
### Instruction:
how many points for with points against being 177
### Response:
|
SELECT COUNT("Points for") FROM table_19112 WHERE "Points against" = '177'
|
### Instruction:
Who was the Democratic when then Incumbent was Christopher Shays?
### Response:
|
SELECT democratic FROM table_name_40 WHERE incumbent = "christopher shays"
|
### Instruction:
how many chevrolets were in the top 10 ?
### Response:
|
SELECT COUNT(*) FROM table_203_131 WHERE "make" = 'chevrolet'
|
### Instruction:
display all the information of those employees who did not have any job in the past.
### Response:
|
SELECT * FROM employees WHERE NOT employee_id IN (SELECT employee_id FROM job_history)
|
### Instruction:
what was written by alex carter?
### Response:
|
SELECT written_by FROM table_26561498_1 WHERE patient_portrayer = "Alex Carter"
|
### Instruction:
What is the Doha, Qatar when the snatch is total?
### Response:
|
SELECT doha_, _qatar FROM table_name_17 WHERE snatch = "total"
|
### Instruction:
What is the Record when the high rebounds was Antonio Davis (9)?
### Response:
|
SELECT record FROM table_name_5 WHERE high_rebounds = "antonio davis (9)"
|
### Instruction:
Which Region has an Area of 9,451km ?
### Response:
|
SELECT region FROM table_name_65 WHERE area__km²_ = "9,451"
|
### Instruction:
What was the team features at Oran Park Raceway?
### Response:
|
SELECT "Team" FROM table_45175 WHERE "Circuit" = 'oran park raceway'
|
### Instruction:
What is the visitor team of the game with Chicago as the home team?
### Response:
|
SELECT "Visitor" FROM table_55390 WHERE "Home" = 'chicago'
|
### Instruction:
What is the college that Jeffrey Simmer plays for?
### Response:
|
SELECT college FROM table_15817998_5 WHERE player = "Jeffrey Simmer"
|
### Instruction:
What is the scoring average where the wins are 0?
### Response:
|
SELECT COUNT("Scoring average") FROM table_35364 WHERE "Wins" < '0'
|
### Instruction:
What result did Indiana have when they were an opponent?
### Response:
|
SELECT "Result" FROM table_44406 WHERE "Opponent#" = 'indiana'
|
### Instruction:
When did the 4th, Midwest season happen?
### Response:
|
SELECT "Year" FROM table_2188 WHERE "Regular Season" = '4th, Midwest'
|
### Instruction:
Name the loss with record of 14-19
### Response:
|
SELECT "Loss" FROM table_68892 WHERE "Record" = '14-19'
|
### Instruction:
What was Carlton's score when they were the away team?
### Response:
|
SELECT away_team AS score FROM table_name_86 WHERE away_team = "carlton"
|
### Instruction:
What is the sum of crowd(s) at princes park?
### Response:
|
SELECT SUM(crowd) FROM table_name_45 WHERE venue = "princes park"
|
### Instruction:
What is the pick number for tulane university?
### Response:
|
SELECT SUM("Pick") FROM table_37581 WHERE "School" = 'tulane university'
|
### Instruction:
How many people have more reputation than me.
### Response:
|
SELECT COUNT(Id) AS users_count FROM Users WHERE Reputation > (SELECT Reputation FROM Users WHERE Id = @UserId)
|
### Instruction:
how many total trains were destined for new delhi ?
### Response:
|
SELECT COUNT("train name") FROM table_204_78 WHERE "destination" = 'new delhi'
|
### Instruction:
What date was the opponent the Los Angeles Raiders?
### Response:
|
SELECT date FROM table_16729063_2 WHERE opponent = "Los Angeles Raiders"
|
### Instruction:
What is the highest round number for donnie caraway?
### Response:
|
SELECT MAX("Round") FROM table_77233 WHERE "Name" = 'donnie caraway'
|
### Instruction:
Which was the lowest gold when silver was smaller than 0?
### Response:
|
SELECT MIN("Gold") FROM table_70898 WHERE "Silver" < '0'
|
### Instruction:
what is procedure short title of subject id 18480?
### Response:
|
SELECT procedures.short_title FROM procedures WHERE procedures.subject_id = "18480"
|
### Instruction:
What was St Kilda's away team score?
### Response:
|
SELECT "Away team score" FROM table_51766 WHERE "Home team" = 'st kilda'
|
### Instruction:
Name the 2008 for 2012 f
### Response:
|
SELECT 2008 FROM table_name_37 WHERE 2012 = "f"
|
### Instruction:
What was the smallest crowd for a Carlton away game?
### Response:
|
SELECT MIN(crowd) FROM table_name_14 WHERE away_team = "carlton"
|
### Instruction:
Which club participated with a record of 45 tries against?
### Response:
|
SELECT "Club" FROM table_15587 WHERE "Tries against" = '45'
|
### Instruction:
Name the us exclusive for miley cyrus
### Response:
|
SELECT "US exclusive" FROM table_27008 WHERE "Artist/Band" = 'Miley Cyrus'
|
### Instruction:
In what week was the record 5-9?
### Response:
|
SELECT MAX(week) FROM table_13258972_2 WHERE record = "5-9"
|
### Instruction:
in what year did he carry for the furthest yards ?
### Response:
|
SELECT "year" FROM table_204_914 ORDER BY "yards" DESC LIMIT 1
|
### Instruction:
What day did Yugoslavia play Luxembourg?
### Response:
|
SELECT "Date" FROM table_37550 WHERE "Opponent" = 'luxembourg'
|
### Instruction:
What candidates are from mississippi 6?
### Response:
|
SELECT "Candidates" FROM table_72406 WHERE "District" = 'Mississippi 6'
|
### Instruction:
what is death status of subject name jerry deberry?
### Response:
|
SELECT demographic.expire_flag FROM demographic WHERE demographic.name = "Jerry Deberry"
|
### Instruction:
What date did the New York Giants play as a visiting team?
### Response:
|
SELECT date FROM table_name_34 WHERE visiting_team = "new york giants"
|
### Instruction:
how many players were not signed from the academy ?
### Response:
|
SELECT COUNT("name") FROM table_204_753 WHERE "signed from" <> 'the academy'
|
### Instruction:
What was segment A when segment B was snowboards?
### Response:
|
SELECT "Segment A" FROM table_19892 WHERE "Segment B" = 'Snowboards'
|
### Instruction:
What is the Venue of the Competition with a Score of 2 0?
### Response:
|
SELECT venue FROM table_name_89 WHERE score = "2–0"
|
### Instruction:
When the finish was t31 what was the To par?
### Response:
|
SELECT "To par" FROM table_62595 WHERE "Finish" = 't31'
|
### Instruction:
What is SS Player Rich McKinney's Team?
### Response:
|
SELECT team FROM table_name_19 WHERE position = "ss" AND player = "rich mckinney"
|
### Instruction:
What is the current status of the KDAF ** Station?
### Response:
|
SELECT "Current Status" FROM table_18787 WHERE "Station" = 'KDAF **'
|
### Instruction:
Name the nationality of the player with an overall of 74
### Response:
|
SELECT "Nationality" FROM table_51527 WHERE "Overall" = '74'
|
### Instruction:
What's the name that has the characters ?
### Response:
|
SELECT name__wade_giles_ FROM table_name_87 WHERE characters = "廣亨"
|
### Instruction:
Which items in segment A have a segment D of marble sculptures?
### Response:
|
SELECT segment_a FROM table_name_34 WHERE segment_d = "marble sculptures"
|
### Instruction:
Name the date for raymond james stadium
### Response:
|
SELECT date FROM table_24427210_1 WHERE stadium = "Raymond James stadium"
|
### Instruction:
What's the total for a league cup less than 1?
### Response:
|
SELECT COUNT("League Cup") FROM table_67603 WHERE "Total" < '1'
|
### Instruction:
Who is the original performer when the episode is casting?
### Response:
|
SELECT original_performer FROM table_29547777_1 WHERE episode = "Casting"
|
### Instruction:
what's the party with district being alabama 3
### Response:
|
SELECT "Party" FROM table_18632 WHERE "District" = 'Alabama 3'
|
### Instruction:
Who won Funny Car in 2012?
### Response:
|
SELECT "Funny Car" FROM table_45046 WHERE "Year" = '2012'
|
### Instruction:
Name the number of pinyin where simplified is
### Response:
|
SELECT COUNT(pinyin) FROM table_1638437_2 WHERE simplified = "河西区"
|
### Instruction:
What is the score on the 1 December 2007 game?
### Response:
|
SELECT score FROM table_name_78 WHERE date = "1 december 2007"
|
### Instruction:
What is the place of Mark O'Meara?
### Response:
|
SELECT "Place" FROM table_43746 WHERE "Player" = 'mark o''meara'
|
### Instruction:
What was the CB CW for the year of 1982?
### Response:
|
SELECT cb_cw FROM table_name_89 WHERE year = 1982
|
### Instruction:
what is the language of subject id 12220?
### Response:
|
SELECT demographic.language FROM demographic WHERE demographic.subject_id = "12220"
|
### Instruction:
What is the venue of the race where Lineth Chepkurui placed 4th?
### Response:
|
SELECT venue FROM table_name_12 WHERE position = "4th"
|
### Instruction:
Find the maximum and minimum monthly rental for all student addresses.
### Response:
|
SELECT MAX(monthly_rental), MIN(monthly_rental) FROM Student_Addresses
|
### Instruction:
What was the winning score in the PGA Championship?
### Response:
|
SELECT "Winning score" FROM table_67416 WHERE "Championship" = 'pga championship'
|
### Instruction:
how many countries have at least one athlete who ranks in the top 25 ?
### Response:
|
SELECT COUNT(DISTINCT "country") FROM table_203_211
|
### Instruction:
When was Season Three premiered in region 2?
### Response:
|
SELECT "Region 2" FROM table_24159 WHERE "DVD Name" = 'Season Three'
|
### Instruction:
What is the Country of the 10,000m Event?
### Response:
|
SELECT country FROM table_name_39 WHERE event = "10,000m"
|
### Instruction:
who is the artist performing at heineken music hall?
### Response:
|
SELECT "Artist" FROM table_821 WHERE "Venue" = 'Heineken Music Hall'
|
### Instruction:
How many places named asan-maina?
### Response:
|
SELECT COUNT("Region") FROM table_28161 WHERE "Village" = 'Asan-Maina'
|
### Instruction:
How many bids does Atlantic 10 have?
### Response:
|
SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10"
|
### Instruction:
What country did Jonas Geirnaert direct a film in?
### Response:
|
SELECT country FROM table_name_30 WHERE director_s_ = "jonas geirnaert"
|
### Instruction:
What years did the player with a total larger than 157 have wins?
### Response:
|
SELECT year_s__won FROM table_name_75 WHERE total > 157
|
### Instruction:
who won the only gold medal in 1962 ?
### Response:
|
SELECT "gold" FROM table_204_75 WHERE "year" = 1962
|
### Instruction:
What game happened on December 19?
### Response:
|
SELECT MAX(game) FROM table_15780049_5 WHERE date = "December 19"
|
### Instruction:
WHich team had dave penney as an incoming manager
### Response:
|
SELECT "Team" FROM table_29125 WHERE "Incoming manager" = 'Dave Penney'
|
### Instruction:
How many wins does the driver with 217 points have?
### Response:
|
SELECT "Wins" FROM table_10007 WHERE "Points" = '217'
|
### Instruction:
What is the current venue for the Miami Masters tournament?
### Response:
|
SELECT current_venue FROM table_14903081_1 WHERE tournament = "Miami Masters"
|
### Instruction:
In what district is the incumbent John Linder?
### Response:
|
SELECT "District" FROM table_2147 WHERE "Incumbent" = 'John Linder'
|
### Instruction:
Who is the spokesperson after 2012?
### Response:
|
SELECT spokesperson FROM table_name_33 WHERE year_s_ > 2012
|
### Instruction:
What is the duration of the commissioner from the zeeland province?
### Response:
|
SELECT "Duration" FROM table_60422 WHERE "Province" = 'zeeland'
|
### Instruction:
When 1 is the number in series who is the director?
### Response:
|
SELECT director FROM table_18335117_3 WHERE no_in_series = 1
|
### Instruction:
On which field was the game played on July 12?
### Response:
|
SELECT "Field" FROM table_55322 WHERE "Date" = 'july 12'
|
### Instruction:
How many attended the game on april 14?
### Response:
|
SELECT COUNT("Attendance") FROM table_53054 WHERE "Date" = 'april 14'
|
### Instruction:
Which city has a venue of the Arco Arena?
### Response:
|
SELECT "City" FROM table_63725 WHERE "Venue" = 'arco arena'
|
### Instruction:
What circuit has volvo cars australia as the team?
### Response:
|
SELECT "Circuit" FROM table_51035 WHERE "Team" = 'volvo cars australia'
|
### Instruction:
What is the status when points is 4595?
### Response:
|
SELECT status FROM table_29572583_19 WHERE points = 4595
|
### Instruction:
When was the document named 'Marry CV' stored? Give me the date.
### Response:
|
SELECT date_stored FROM all_documents WHERE document_name = "Marry CV"
|
### Instruction:
how many total laps did alex figge complete ?
### Response:
|
SELECT "laps" FROM table_203_761 WHERE "driver" = 'alex figge'
|
### Instruction:
What ist he matches where the player is ms dhoni?
### Response:
|
SELECT "Matches" FROM table_26512 WHERE "Player" = 'MS Dhoni'
|
### Instruction:
Name the total number of japanese for amagasaki
### Response:
|
SELECT COUNT("Japanese") FROM table_20345 WHERE "Name" = 'Amagasaki'
|
### Instruction:
When north melbourne was the home team who was the Away team?
### Response:
|
SELECT away_team FROM table_name_32 WHERE home_team = "north melbourne"
|
### Instruction:
What was the earliest year that T rlea took 7th place?
### Response:
|
SELECT MIN("Year") FROM table_4625 WHERE "Position" = '7th'
|
### Instruction:
Which ICB Sector had a ticker symbol of pp?
### Response:
|
SELECT "ICB Sector" FROM table_9679 WHERE "Ticker symbol" = 'pp'
|
### Instruction:
What Game site has an Opponent of Miami Dolphins?
### Response:
|
SELECT game_site FROM table_name_90 WHERE opponent = "miami dolphins"
|
### Instruction:
The position that has a pick # of 16 is what?
### Response:
|
SELECT "Position" FROM table_31915 WHERE "Pick #" = '16'
|
### Instruction:
With a record of 43-26, what was the score that game?
### Response:
|
SELECT score FROM table_name_89 WHERE record = "43-26"
|
### Instruction:
what is the class when the identifier is cjbc-1-fm?
### Response:
|
SELECT class FROM table_name_60 WHERE identifier = "cjbc-1-fm"
|
### Instruction:
Name the result for 13 october 2004
### Response:
|
SELECT result FROM table_name_85 WHERE date = "13 october 2004"
|
### Instruction:
which country scored the most gold medals at this event ?
### Response:
|
SELECT "nation" FROM table_204_922 ORDER BY "gold" DESC LIMIT 1
|
### Instruction:
papers by sarah
### Response:
|
SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'sarah' AND writes.authorid = author.authorid
|
### Instruction:
What school or team does Al Jefferson play for?
### Response:
|
SELECT school_club_team FROM table_11545282_10 WHERE player = "Al Jefferson"
|
### Instruction:
how many points did clay regazzoni receive ?
### Response:
|
SELECT "points" FROM table_204_584 WHERE "driver" = 'clay regazzoni'
|
### Instruction:
Name the opponents for december 3
### Response:
|
SELECT COUNT(opponent) FROM table_23453931_5 WHERE date = "December 3"
|
### Instruction:
What is the Super G value for the season that has an Overall score of 16?
### Response:
|
SELECT super_g FROM table_name_8 WHERE overall = "16"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.