answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT COUNT(runners) FROM table_name_55 WHERE placing > 1
How many Runners have a Placing that isn't 1?
CREATE TABLE table_name_55 (runners VARCHAR, placing INTEGER)
SELECT COUNT(latitude) FROM table_18600760_15 WHERE water__sqmi_ = "0.081"
how many latitudes have 0.081 (sqmi) of water?
CREATE TABLE table_18600760_15 (latitude VARCHAR, water__sqmi_ VARCHAR)
SELECT "Goals" FROM table_58183 WHERE "Club Apps" = '229'
How many goals did the player with 229 club apps have?
CREATE TABLE table_58183 ( "Nationality" text, "Position" text, "Tottenham Hotspur career" text, "Club Apps" text, "Goals" text )
SELECT MIN(runners) FROM table_name_12 WHERE placing < 1
What is the lowest number of Runners that has a Placing that isn't 1?
CREATE TABLE table_name_12 (runners INTEGER, placing INTEGER)
SELECT MIN(geo_id) FROM table_18600760_15
what is the lowest geo id?
CREATE TABLE table_18600760_15 (geo_id INTEGER)
SELECT "Points" FROM table_64103 WHERE "Place" < '2'
Which points has place smaller than 2?
CREATE TABLE table_64103 ( "Draw" real, "Language" text, "Artist" text, "Song" text, "English translation" text, "Place" real, "Points" real )
SELECT MIN(prize__) AS £k_ FROM table_name_87 WHERE race = "irish derby"
What is the lowest Prize amount for the Irish Derby Race?
CREATE TABLE table_name_87 (prize__ INTEGER, race VARCHAR)
SELECT MAX(geo_id) FROM table_18600760_10 WHERE water__sqmi_ = "0.771"
What is the geo ID for the township with 0.771 square miles of water?
CREATE TABLE table_18600760_10 (geo_id INTEGER, water__sqmi_ VARCHAR)
SELECT MAX(points) FROM table_name_80 WHERE entrant = "fred tuck cars" AND year > 1960
How many points after 1960 for fred tuck cars?
CREATE TABLE table_name_80 ( points INTEGER, entrant VARCHAR, year VARCHAR )
SELECT AVG(mintage) FROM table_name_62 WHERE issue_price = "$1,099.99" AND artist = "pamela stagg"
What was the mintage having an issue price of $1,099.99, artist being Pamela Stagg?
CREATE TABLE table_name_62 (mintage INTEGER, issue_price VARCHAR, artist VARCHAR)
SELECT MAX(geo_id) FROM table_18600760_10 WHERE county = "Logan"
What is the geo id for Logan county?
CREATE TABLE table_18600760_10 (geo_id INTEGER, county VARCHAR)
SELECT "Written by" FROM table_2263 WHERE "No. in season" = '20'
Who were the writers of episode 20?
CREATE TABLE table_2263 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT AVG(year) FROM table_name_31 WHERE issue_price = "$1,295.95"
What was the year that had an issue price of $1,295.95?
CREATE TABLE table_name_31 (year INTEGER, issue_price VARCHAR)
SELECT land___sqmi__ FROM table_18600760_10 WHERE county = "Grand Forks"
How big is the land in square miles of Grand Forks county?
CREATE TABLE table_18600760_10 (land___sqmi__ VARCHAR, county VARCHAR)
SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'zofran' AND patient.uniquepid = '013-29301' AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TI...
the last time patient 013-29301 was prescribed protonix and zofran at the same time in 08/this year?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, ...
SELECT AVG(mintage) FROM table_name_75 WHERE artist = "celia godkin" AND year < 2010
What was the average mintage for that of artist Celia Godkin, before the year 2010?
CREATE TABLE table_name_75 (mintage INTEGER, artist VARCHAR, year VARCHAR)
SELECT MAX(geo_id) FROM table_18600760_10 WHERE township = "Joliette"
What is the geo id for Joliette?
CREATE TABLE table_18600760_10 (geo_id INTEGER, township VARCHAR)
SELECT "duration of strike" FROM table_203_759 WHERE "company" = 'nynex'
how long were employees of nynex on strike ?
CREATE TABLE table_203_759 ( id number, "year" number, "company" text, "number of members affected" number, "duration of strike" text, "notes" text )
SELECT away_team AS score FROM table_name_15 WHERE venue = "windy hill"
What was the away team score at Windy Hill?
CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)
SELECT latitude FROM table_18600760_10 WHERE water__sqmi_ = "4.243"
What was the lattitude for the area with 4.243 square miles of water?
CREATE TABLE table_18600760_10 (latitude VARCHAR, water__sqmi_ VARCHAR)
SELECT "Opponent" FROM table_14901 WHERE "Series" = '1-0'
Who was the opponent with a series of 1-0?
CREATE TABLE table_14901 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Series" text )
SELECT home_team FROM table_name_66 WHERE venue = "lake oval"
Who was the home team at Lake Oval?
CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
SELECT township FROM table_18600760_10 WHERE land___sqmi__ = "28.597"
What township is 28.597 square miles of land?
CREATE TABLE table_18600760_10 (township VARCHAR, land___sqmi__ VARCHAR)
SELECT COUNT(series__number) FROM table_25800134_9 WHERE airdate = "December 26, 1964"
what is the number of series where the airdate is december 26, 1964?
CREATE TABLE table_25800134_9 ( series__number VARCHAR, airdate VARCHAR )
SELECT date FROM table_name_5 WHERE venue = "vfl park"
On what date was the venue VFL Park?
CREATE TABLE table_name_5 (date VARCHAR, venue VARCHAR)
SELECT township FROM table_18600760_12 WHERE longitude = "-98.741656"
Which township has a longitude of -98.741656?
CREATE TABLE table_18600760_12 (township VARCHAR, longitude VARCHAR)
SELECT player FROM table_2850912_10 WHERE nhl_team = "New York Rangers"
Which player was drafted by the New York Rangers?
CREATE TABLE table_2850912_10 ( player VARCHAR, nhl_team VARCHAR )
SELECT home_team FROM table_name_82 WHERE venue = "glenferrie oval"
Which team was the home team at Glenferrie Oval?
CREATE TABLE table_name_82 (home_team VARCHAR, venue VARCHAR)
SELECT land___sqmi__ FROM table_18600760_12 WHERE township = "Lansing"
What is the land (sqmi) in lansing township?
CREATE TABLE table_18600760_12 (land___sqmi__ VARCHAR, township VARCHAR)
SELECT finish FROM table_name_44 WHERE stage > 15
Give the Finish for a Stage that is larger than 15
CREATE TABLE table_name_44 ( finish VARCHAR, stage INTEGER )
SELECT date FROM table_name_49 WHERE opponent_in_the_final = "steffi graf" AND score_in_the_final = "2–6, 0–6"
What was the date when Steffi Graf was the opponent in the final and the score was 2–6, 0–6?
CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT MIN(geo_id) FROM table_18600760_12 WHERE water__sqmi_ = "0.457"
What is the geo id when water is 0.457?
CREATE TABLE table_18600760_12 (geo_id INTEGER, water__sqmi_ VARCHAR)
SELECT p.Id, p.Title, p.ViewCount FROM Posts AS p INNER JOIN Tags AS t ON t.TagName = '##TagName##' INNER JOIN PostTags AS pt ON pt.PostId = p.Id AND pt.TagId = t.Id WHERE p.PostTypeId = 1 AND p.Body LIKE '%##SearchTerm##%' OR p.Title LIKE '%##SearchTerm##%' ORDER BY p.CreationDate DESC
Search for keyword within a tag.
CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) C...
SELECT surface FROM table_name_19 WHERE outcome = "winner" AND date = "12 march 1989"
What was the surface where the outcome was winner on 12 march 1989?
CREATE TABLE table_name_19 (surface VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT MAX(geo_id) FROM table_18600760_12 WHERE land___sqmi__ = "35.999"
What is the geo id of the land at 35.999?
CREATE TABLE table_18600760_12 (geo_id INTEGER, land___sqmi__ VARCHAR)
SELECT LAST_NAME, SALARY FROM employees WHERE FIRST_NAME LIKE '%m' ORDER BY LAST_NAME
For those employees whose first name is ending with the letter m, visualize a bar chart to show each employee's salary by the last name, and display from low to high by the x axis please.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT outcome FROM table_name_68 WHERE tournament = "lugano , switzerland wta virginia slims" AND opponent_in_the_final = "bonnie gadusek"
What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek?
CREATE TABLE table_name_68 (outcome VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT land___sqmi__ FROM table_18600760_12 WHERE geo_id = 3801947380
What is the land (sqmi) at geo id 3801947380?
CREATE TABLE table_18600760_12 (land___sqmi__ VARCHAR, geo_id VARCHAR)
SELECT MAX("League Cup goals") FROM table_9697 WHERE "Scorer" = 'ken houghton' AND "FA Cup goals" < '0'
Which League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0?
CREATE TABLE table_9697 ( "Scorer" text, "Club" text, "League goals" text, "FA Cup goals" real, "League Cup goals" real, "Total" real )
SELECT outcome FROM table_name_75 WHERE opponent_in_the_final = "sylvia hanika" AND surface = "hard (i)"
What is the outcome of the match against Sylvia Hanika on a hard (i) surface?
CREATE TABLE table_name_75 (outcome VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR)
SELECT MAX(pop__2010_) FROM table_18600760_13 WHERE latitude = "48.676125"
What is the population associated with latitude 48.676125?
CREATE TABLE table_18600760_13 (pop__2010_ INTEGER, latitude VARCHAR)
SELECT AVG(demographic.age) FROM demographic WHERE demographic.discharge_location = "HOME HEALTH CARE" AND demographic.diagnosis = "GASTROINTESTINAL BLEED"
what is the average age of patients who are discharged due to home health care and diagnosed with primary disease gastrointestinal bleed?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT player FROM table_name_67 WHERE no_s_ = "20"
What player had numbers of 20
CREATE TABLE table_name_67 (player VARCHAR, no_s_ VARCHAR)
SELECT COUNT(ansi_code) FROM table_18600760_13 WHERE latitude = "48.247662"
How many places associated with latitude 48.247662?
CREATE TABLE table_18600760_13 (ansi_code VARCHAR, latitude VARCHAR)
SELECT TIME_TO_STR(P.CreationDate, '%YEAR') AS PostYear, TIME_TO_STR(P.CreationDate, '%-mONT%-H') AS PostMonth, COUNT(*) AS Posts, SUM(AnswerCount) AS AnswerSum, SUM(CommentCount) AS CommentSum, MIN(FavoriteCount) AS FavoriteMin, AVG(FavoriteCount) AS FavoriteAvg, MAX(FavoriteCount) AS FavoriteMax, SUM(FavoriteCount) A...
Post Metrics Over Year and Month.
CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ...
SELECT height_in_ft FROM table_name_47 WHERE years_for_rockets = "1999-2004"
Tell me the height in ft for 1999-2004
CREATE TABLE table_name_47 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
SELECT longitude FROM table_18600760_13 WHERE water__sqmi_ = "0.068"
What longitudes associated with a water (sqmi) area of 0.068?
CREATE TABLE table_18600760_13 (longitude VARCHAR, water__sqmi_ VARCHAR)
SELECT score FROM table_name_87 WHERE game < 21 AND high_rebounds = "antonio davis (12)"
What is the Score for the Game less than 21, and of antonio davis (12)had the High rebounds?
CREATE TABLE table_name_87 ( score VARCHAR, game VARCHAR, high_rebounds VARCHAR )
SELECT no_s_ FROM table_name_18 WHERE height_in_ft = "6-7"
Tell me the number for height in ft of 6-7
CREATE TABLE table_name_18 (no_s_ VARCHAR, height_in_ft VARCHAR)
SELECT MIN(ansi_code) FROM table_18600760_13
What is the smallest ansi code?
CREATE TABLE table_18600760_13 (ansi_code INTEGER)
SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557"
Name the high rebounds for american airlines center 20,557
CREATE TABLE table_23284271_11 ( high_rebounds VARCHAR, location_attendance VARCHAR )
SELECT player FROM table_name_13 WHERE school_club_team_country = "missouri"
What player had a school of missouri
CREATE TABLE table_name_13 (player VARCHAR, school_club_team_country VARCHAR)
SELECT county FROM table_18600760_13 WHERE ansi_code = 1759686
What county is associated with ansi code 1759686?
CREATE TABLE table_18600760_13 (county VARCHAR, ansi_code VARCHAR)
SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id
What electives are offered for CS majors that are upper level ?
CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campus_job_id int,...
SELECT AVG(pick__number) FROM table_name_26 WHERE team_from = "rimouski océanic"
What pick # has a team from Rimouski Océanic?
CREATE TABLE table_name_26 (pick__number INTEGER, team_from VARCHAR)
SELECT COUNT(geo_id) FROM table_18600760_13 WHERE township = "Malcolm"
What is the geo id for malcolm township?
CREATE TABLE table_18600760_13 (geo_id VARCHAR, township VARCHAR)
SELECT runner_up FROM table_28601467_1 WHERE winner = "Ireland 59 points"
What is the runner-up record where winner record is Ireland 59 points?
CREATE TABLE table_28601467_1 ( runner_up VARCHAR, winner VARCHAR )
SELECT player FROM table_name_45 WHERE position = "d" AND team_from = "hotchkiss school"
Who is the player from Hotchkiss School with a position of d?
CREATE TABLE table_name_45 (player VARCHAR, position VARCHAR, team_from VARCHAR)
SELECT land___sqmi__ FROM table_18600760_18 WHERE township = "Reed"
What is the land area of Reed Township?
CREATE TABLE table_18600760_18 (land___sqmi__ VARCHAR, township VARCHAR)
SELECT COUNT(*) FROM table_203_715 WHERE "position" > 8
how many times did they rank below 8th place ?
CREATE TABLE table_203_715 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text )
SELECT type FROM table_name_23 WHERE distance = "km (mi)" AND course = "sorrento to sapri"
What type is the sorrento to sapri course with a distance of km (mi)?
CREATE TABLE table_name_23 (type VARCHAR, distance VARCHAR, course VARCHAR)
SELECT township FROM table_18600760_18 WHERE longitude = "-100.680772"
What is the township at longitude -100.680772?
CREATE TABLE table_18600760_18 (township VARCHAR, longitude VARCHAR)
SELECT COUNT(*) > 0 FROM course, program, program_course WHERE course.department = 'ENVIRON' AND course.number = 102 AND program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id
Can I take ENVIRON 102 for PreMajor ?
CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE ...
SELECT type FROM table_name_24 WHERE course = "misurina to bassano del grappa"
What type is the misurina to bassano del grappa course?
CREATE TABLE table_name_24 (type VARCHAR, course VARCHAR)
SELECT MIN(ansi_code) FROM table_18600760_18 WHERE land___sqmi__ = "35.737"
What is the ANSI code of the township where the area is 35.737 square miles?
CREATE TABLE table_18600760_18 (ansi_code INTEGER, land___sqmi__ VARCHAR)
SELECT date FROM table_name_28 WHERE score = "29-7"
What date was the score 29-7?
CREATE TABLE table_name_28 ( date VARCHAR, score VARCHAR )
SELECT distance FROM table_name_66 WHERE course = "chieti to macerata"
What's the distance for the chieti to macerata course?
CREATE TABLE table_name_66 (distance VARCHAR, course VARCHAR)
SELECT MAX(geo_id) FROM table_18600760_18 WHERE land___sqmi__ = "32.532"
What is the GEO ID of the township with area of 32.532 square miles?
CREATE TABLE table_18600760_18 (geo_id INTEGER, land___sqmi__ VARCHAR)
SELECT "School" FROM table_37447 WHERE "Location" = 'michigan city'
What school is located in Michigan City?
CREATE TABLE table_37447 ( "School" text, "Mascot" text, "Location" text, "Enrollment" real, "IHSAA Class" text, "IHSAA Football Class" text, "County" text )
SELECT MIN(points) FROM table_name_51 WHERE make = "chevrolet" AND driver = "sterling marlin" AND car__number < 14
Which is the lowest points value that had a Chevrolet car, whose driver was Sterling Marlin, and whose car number was less than 14?
CREATE TABLE table_name_51 (points INTEGER, car__number VARCHAR, make VARCHAR, driver VARCHAR)
SELECT township FROM table_18600760_18 WHERE land___sqmi__ = "34.781"
What township is 34.781 square miles?
CREATE TABLE table_18600760_18 (township VARCHAR, land___sqmi__ VARCHAR)
SELECT Id AS "post_link", FavoriteCount, CAST(CAST(CAST(FavoriteCount AS FLOAT) * 4 AS INT) AS TEXT(3)) + '%' AS Favorite, CAST(FavoriteCount AS TEXT(3)) + '%' AS Stellar FROM Posts WHERE PostTypeId = 1 AND FavoriteCount > 0 ORDER BY FavoriteCount DESC LIMIT 500
Progress towards Favorite Question and Stellar Question badges. Questions need to be favorited 25 times for Favorite Question nad 100 times for Stellar Question
CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Posts ( Id nu...
SELECT MIN(points) FROM table_name_17 WHERE make = "chevrolet" AND car__number < 24 AND laps = 312 AND winnings = "$122,325"
Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325?
CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR)
SELECT longitude FROM table_18600760_20 WHERE township = "Tatman"
What longitude is tatman township?
CREATE TABLE table_18600760_20 (longitude VARCHAR, township VARCHAR)
SELECT * FROM Posts
Tell me about my question!.
CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE...
SELECT location FROM table_name_78 WHERE result = "win" AND opponent = "johan mparmpagiannis"
What is the location for the win against Johan Mparmpagiannis?
CREATE TABLE table_name_78 (location VARCHAR, result VARCHAR, opponent VARCHAR)
SELECT land___sqmi__ FROM table_18600760_20 WHERE latitude = "47.548602"
What is the land area (sqmi) for the township at longtidue 47.548602?
CREATE TABLE table_18600760_20 (land___sqmi__ VARCHAR, latitude VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.long_title = "Insertion of one vascular stent"
give me the number of patients whose admission type is urgent and procedure long title is insertion of one vascular stent?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT method FROM table_name_29 WHERE opponent = "björn bregy"
What is the method against Björn Bregy?
CREATE TABLE table_name_29 (method VARCHAR, opponent VARCHAR)
SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "46.415037"
How many ansi codes are there for longitude 46.415037?
CREATE TABLE table_18600760_20 (ansi_code VARCHAR, latitude VARCHAR)
SELECT DISTINCT venueid FROM paper WHERE title = 'Fracture of acrylic bone cement'
What is the venue of Fracture of acrylic bone cement ?
CREATE TABLE field ( fieldid int ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREA...
SELECT method FROM table_name_26 WHERE opponent = "paula mataele"
What is the method against Paula Mataele?
CREATE TABLE table_name_26 (method VARCHAR, opponent VARCHAR)
SELECT water__sqmi_ FROM table_18600760_20 WHERE latitude = "48.423224"
What is the water area (sqmi) for the township at latitude 48.423224?
CREATE TABLE table_18600760_20 (water__sqmi_ VARCHAR, latitude VARCHAR)
SELECT AVG("1st place") FROM table_41161 WHERE "Rank" > '10'
What is the average 1st place with a Rank that is larger than 10?
CREATE TABLE table_41161 ( "Rank" real, "Country" text, "1st place" real, "2nd place" real, "3rd place" real, "Total" real )
SELECT date FROM table_name_60 WHERE location = "vilnius, lithuania"
What is the date of the match in Vilnius, Lithuania?
CREATE TABLE table_name_60 (date VARCHAR, location VARCHAR)
SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "48.142938"
How many ansi codes are there for latitude 48.142938?
CREATE TABLE table_18600760_20 (ansi_code VARCHAR, latitude VARCHAR)
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3929) AND prescriptions.route = 'ou' AND STRFTIME('%y-%m', prescriptions.startdate) <= '2105-01' ORDER BY prescriptions.startdate LIMIT 1
when was patient 3929 for the first time prescribed a drug via ou route until 01/2105?
CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, ...
SELECT result FROM table_name_81 WHERE opponent = "errol zimmerman" AND date = "2007-04-07"
What is the result against Errol Zimmerman on 2007-04-07?
CREATE TABLE table_name_81 (result VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT township FROM table_18600760_8 WHERE county = "Kidder"
Name the township for kidder
CREATE TABLE table_18600760_8 (township VARCHAR, county VARCHAR)
SELECT "ICAO" FROM table_10069 WHERE "Province" = 'heilongjiang' AND "IATA" = 'jmu'
Which ICAO has a Province of heilongjiang, and a IATA of jmu?
CREATE TABLE table_10069 ( "City" text, "Province" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT location FROM table_name_75 WHERE opponent = "martinis knyzelis"
What is the location of the match against Martinis Knyzelis?
CREATE TABLE table_name_75 (location VARCHAR, opponent VARCHAR)
SELECT latitude FROM table_18600760_8 WHERE geo_id = 3810536900
Name the latitude for 3810536900
CREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR)
SELECT second_runner_up FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel"
Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
CREATE TABLE table_1825751_4 ( second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR )
SELECT date FROM table_name_87 WHERE home_team = "st kilda"
What day is st kilda the home side?
CREATE TABLE table_name_87 (date VARCHAR, home_team VARCHAR)
SELECT latitude FROM table_18600760_8 WHERE geo_id = 3809935740
Name the latitude for 3809935740
CREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR)
SELECT position FROM table_name_45 WHERE hometown = "queens, ny"
What is the name of the position of the person whose hometown is Queens, NY?
CREATE TABLE table_name_45 ( position VARCHAR, hometown VARCHAR )
SELECT away_team AS score FROM table_name_29 WHERE away_team = "melbourne"
What is melbourne's away score?
CREATE TABLE table_name_29 (away_team VARCHAR)
SELECT COUNT(county) FROM table_18600760_8 WHERE pop__2010_ = 90
Name the number of county for 90 population
CREATE TABLE table_18600760_8 (county VARCHAR, pop__2010_ VARCHAR)
SELECT "Virtue" FROM table_36359 WHERE "(Vice)" = 'lust'
Which Virtue has a (vice) of lust?
CREATE TABLE table_36359 ( "Virtue" text, "Latin" text, "Gloss" text, "(Vice)" text, "(Latin)" text )
SELECT home_team AS score FROM table_name_1 WHERE away_team = "geelong"
What was the home team's score when Geelong was the away team?
CREATE TABLE table_name_1 (home_team VARCHAR, away_team VARCHAR)