sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Home team FROM table WHERE Score = 85-101
CREATE TABLE INST, Here is a database schema( table schema);
Which home team had a score of 85-101?.It is not neccessary to use all the tables.
SELECT Co-Drivers FROM table WHERE Year < 2010 AND Laps < 326
CREATE TABLE INST, Here is a database schema( table schema);
Who are the co-drivers before 2010 with under 326 laps?.It is not neccessary to use all the tables.
SELECT AVG Loses FROM table WHERE Wins = 3 AND Pos. > 3
CREATE TABLE INST, Here is a database schema( table schema);
Wins of 3, and a Pos. larger than 3 is what average loses?.It is not neccessary to use all the tables.
SELECT SUM(population) FROM table_name_38 WHERE name_of_city = "chimbote"
CREATE TABLE INST, Here is a database schema( table schema);
What is the population of Chimbote?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5828) AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month')
CREATE TABLE INST, Here is a database schema( table schema);
how many drugs were prescribed to patient 5828 in this month?It is not neccessary to use all the tables.
SELECT post_season_record_[e_] FROM table_name_55 WHERE mlb_affiliate = "kansas city"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the post-season record for kansas cityIt is not neccessary to use all the tables.
SELECT COUNT(*) FROM Employee
CREATE TABLE INST, Here is a database schema( table schema);
How many employees do we have?It is not neccessary to use all the tables.
SELECT chassis FROM table_name_49 WHERE engine = "brm v12"
CREATE TABLE INST, Here is a database schema( table schema);
Name the chassis for engine of brm v12It is not neccessary to use all the tables.
SELECT college_junior_club_team FROM table_1965650_2 WHERE player = "Jimmy Jones"
CREATE TABLE INST, Here is a database schema( table schema);
Name the college/junior club team for jimmy jonesIt is not neccessary to use all the tables.
SELECT Name FROM table WHERE The Biggest Loser = john rhode
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the season won by John Rhode?.It is not neccessary to use all the tables.
SELECT MIN(_number_of_total_votes) FROM table_123462_2
CREATE TABLE INST, Here is a database schema( table schema);
What was the lowest # of total votes?It is not neccessary to use all the tables.
SELECT Settlement FROM table WHERE Type = town
CREATE TABLE INST, Here is a database schema( table schema);
When town is the type what is the settlement?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Label = bronze AND Format = vinyl
CREATE TABLE INST, Here is a database schema( table schema);
What date was the bronze label in vinyl format?.It is not neccessary to use all the tables.
SELECT Original name FROM table WHERE Film title used in nomination = last days of the victim
CREATE TABLE INST, Here is a database schema( table schema);
Name the original name for last days of the victim.It is not neccessary to use all the tables.
SELECT COUNT(event_6_atlas_stones) FROM table_24302700_6 WHERE event_3_dead_lift = "2 (6 in 30.89s)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event?It is not neccessary to use all the tables.
SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"
CREATE TABLE INST, Here is a database schema( table schema);
What was the lowest week at Ralph Wilson Stadium on October 7 2001?It is not neccessary to use all the tables.
SELECT Surface FROM table WHERE Championship = US Open (2)
CREATE TABLE INST, Here is a database schema( table schema);
When us open (2) is the championship what is the surface?.It is not neccessary to use all the tables.
SELECT AVG(product_price), product_category_code FROM products GROUP BY product_category_code
CREATE TABLE INST, Here is a database schema( table schema);
Return the average price of products that have each category code.It is not neccessary to use all the tables.
SELECT winning_driver FROM table_name_11 WHERE circuit = "saint-raphaël"
CREATE TABLE INST, Here is a database schema( table schema);
What kind of the Winning driver has a Circuit of saint-raphaël?It is not neccessary to use all the tables.
SELECT Shooter FROM table WHERE Rank points = olympic bronze medalist
CREATE TABLE INST, Here is a database schema( table schema);
What was the shooter when the rank points was olympic bronze medalist?.It is not neccessary to use all the tables.
SELECT Season 7 FROM table WHERE Season 6 = jim treliving
CREATE TABLE INST, Here is a database schema( table schema);
Which Season 7 has a Season 6 of jim treliving?.It is not neccessary to use all the tables.
SELECT nfl_team FROM table_13758243_1 WHERE player = "Steve Scifres"
CREATE TABLE INST, Here is a database schema( table schema);
What team drafted steve scifres?It is not neccessary to use all the tables.
SELECT Platform FROM table WHERE Units sold (in Millions) = 11.18
CREATE TABLE INST, Here is a database schema( table schema);
What platform sold 11.18 million units?.It is not neccessary to use all the tables.
SELECT "Position" FROM table_37408 WHERE "Points" > '4' AND "Tries" < '12' AND "Squad No" > '1' AND "Player" = 'ali lauitiiti'
CREATE TABLE INST, Here is a database schema( table schema);
Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player?It is not neccessary to use all the tables.
SELECT November FROM table WHERE Game < 12
CREATE TABLE INST, Here is a database schema( table schema);
What day in November has the game less than 12?.It is not neccessary to use all the tables.
SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Score when the Location is Clemson SC when the Winner is Clemson and when the Date is November 11 2006?It is not neccessary to use all the tables.
SELECT SUM("International Trade (Millions of USD) 2011") FROM table_48130 WHERE "GDP (PPP) (Millions of USD) 2011" < '471,890' AND "UN budget" = '0.238%' AND "GDP (nominal) (Millions of USD) 2011" < '845,680'
CREATE TABLE INST, Here is a database schema( table schema);
What is International Trade (Millions of USD) 2011 when 2011 GDP is less than 471,890 and UN budget of 0.238% and GDP nominal less than 845,680?It is not neccessary to use all the tables.
SELECT type FROM table_256286_21 WHERE meas_num = 3
CREATE TABLE INST, Here is a database schema( table schema);
What type of proposal is measure number 3?It is not neccessary to use all the tables.
SELECT year FROM table_name_13 WHERE production = "wicked" AND award_ceremony = "helpmann awards"
CREATE TABLE INST, Here is a database schema( table schema);
Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?It is not neccessary to use all the tables.
SELECT "Rookie" FROM table_6045 WHERE "Goalkeeper" = 'mike gabel'
CREATE TABLE INST, Here is a database schema( table schema);
Who is the rookie goalkeeper Mike Gabel?It is not neccessary to use all the tables.
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures ...
CREATE TABLE INST, Here is a database schema( table schema);
what are the top four most frequent drugs that patients were prescribed with within 2 months after receiving opn/oth rep aortic valve?It is not neccessary to use all the tables.
SELECT COUNT(pubs_2011) FROM table_167354_2 WHERE location = "Chennai"
CREATE TABLE INST, Here is a database schema( table schema);
How many figures are given for pubs 2011 in Chennai?It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Away team score = 13.12 (90)
CREATE TABLE INST, Here is a database schema( table schema);
What team was the away ream when they scored 13.12 (90)?.It is not neccessary to use all the tables.
SELECT player FROM table_name_15 WHERE school = "seattle prep"
CREATE TABLE INST, Here is a database schema( table schema);
What is the player that is from seattle prep?It is not neccessary to use all the tables.
SELECT opponent FROM table_name_1 WHERE round = "2" AND event = "ufc 49"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent in round 2 of the UFC 49 event?It is not neccessary to use all the tables.
SELECT Part Number FROM table WHERE S-Spec Number = SK096
CREATE TABLE INST, Here is a database schema( table schema);
What is the part number for s-spec number sk096?.It is not neccessary to use all the tables.
SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy"
CREATE TABLE INST, Here is a database schema( table schema);
What is the final score when they played Frankfurt Galaxy?It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Country = canada
CREATE TABLE INST, Here is a database schema( table schema);
What is the to par of canada?.It is not neccessary to use all the tables.
SELECT T2.organisation_details, T1.organisation_id FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_details ORDER BY T1.organisation_id DESC
CREATE TABLE INST, Here is a database schema( table schema);
Find the organisation ids and details of the organisations which are involved i Plot them as bar chart, rank total number in desc order please.It is not neccessary to use all the tables.
SELECT goal_difference FROM table_name_56 WHERE points_1 = "51" AND goals_against < 66
CREATE TABLE INST, Here is a database schema( table schema);
When the Points 1 was 51 and the Goals Against was less than 66 what was the Goal Difference?It is not neccessary to use all the tables.
SELECT AVG Grid FROM table WHERE Constructor = brm AND Laps < 63
CREATE TABLE INST, Here is a database schema( table schema);
What is the average grid with brm and under 63 laps?.It is not neccessary to use all the tables.
SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'
CREATE TABLE INST, Here is a database schema( table schema);
Find the id of the pet owned by student whose last name is ‘Smith’.It is not neccessary to use all the tables.
SELECT No party preference FROM table WHERE Republican = 45.3%
CREATE TABLE INST, Here is a database schema( table schema);
What is the no party preference when republican is 45.3%?.It is not neccessary to use all the tables.
SELECT COUNT(round) FROM table_name_20 WHERE nationality = "united states" AND player = "jeffrey foss"
CREATE TABLE INST, Here is a database schema( table schema);
What is the round number when nationality was United States and player is Jeffrey Foss?It is not neccessary to use all the tables.
SELECT class FROM table_name_12 WHERE frequency_mhz > 91.5 AND city_of_license = "hyannis, nebraska"
CREATE TABLE INST, Here is a database schema( table schema);
Which Class has a Frequency MHz larger than 91.5 and a City of license of hyannis nebraska?It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Country = united states AND Place = t6 AND Score = 70-73-68-73=284
CREATE TABLE INST, Here is a database schema( table schema);
What is the to par of the player from the United States with a t6 place and a score of 70-73-68-73=284?.It is not neccessary to use all the tables.
SELECT date FROM table_name_71 WHERE attendance = "54,626"
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has an Attendance of 54626?It is not neccessary to use all the tables.
SELECT AVG Year FROM table WHERE Date = february 24
CREATE TABLE INST, Here is a database schema( table schema);
Which is the average year with the date of February 24?.It is not neccessary to use all the tables.
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADE...
CREATE TABLE INST, Here is a database schema( table schema);
list flights from DENVER to PHILADELPHIAIt is not neccessary to use all the tables.
SELECT Goals Scored FROM table WHERE Position = 17 AND Tied = 5
CREATE TABLE INST, Here is a database schema( table schema);
What are goals scored when postition is 17 and tied is 5?.It is not neccessary to use all the tables.
SELECT AVG Points FROM table WHERE Opponent = calgary flames AND January > 22
CREATE TABLE INST, Here is a database schema( table schema);
Which Points have an Opponent of calgary flames, and a January larger than 22?.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Nat. = gre AND App(L/C/E) = 49 (40/8/1)
CREATE TABLE INST, Here is a database schema( table schema);
Who has a nationality of GRE and an App(L/C/E) of 49 (40/8/1)?.It is not neccessary to use all the tables.
SELECT COUNT Total FROM table WHERE Silver > 8 AND Bronze = 20 AND Gold < 20
CREATE TABLE INST, Here is a database schema( table schema);
Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller than 20?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_22 WHERE score = "3–6, 6–1, 7–5"
CREATE TABLE INST, Here is a database schema( table schema);
who is the opponent when the score is 3–6 6–1 7–5?It is not neccessary to use all the tables.
SELECT AVG Earnings ( $ ) FROM table WHERE Rank = 3 AND Wins < 3
CREATE TABLE INST, Here is a database schema( table schema);
Name the average earnings for rank of 3 and wins less than 3.It is not neccessary to use all the tables.
SELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 54.54 94.684mph"
CREATE TABLE INST, Here is a database schema( table schema);
What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?It is not neccessary to use all the tables.
SELECT regular_season FROM table_name_87 WHERE playoffs = "0 mls cups"
CREATE TABLE INST, Here is a database schema( table schema);
Which regular season had the playoffs of 0 mls cups?It is not neccessary to use all the tables.
SELECT AVG Year FROM table WHERE Venue = antwerp, belgium
CREATE TABLE INST, Here is a database schema( table schema);
What is the average year of events that took place in Antwerp, Belgium?.It is not neccessary to use all the tables.
SELECT date FROM table_name_28 WHERE away_team = "wycombe wanderers"
CREATE TABLE INST, Here is a database schema( table schema);
What date had a game with wycombe wanderers as the away team?It is not neccessary to use all the tables.
SELECT Directed by FROM table WHERE Title = "It's a Wonderful Lie"
CREATE TABLE INST, Here is a database schema( table schema);
Who directed "it's a wonderful lie"?.It is not neccessary to use all the tables.
SELECT team FROM table_2383498_4 WHERE location = "Port Moresby"
CREATE TABLE INST, Here is a database schema( table schema);
What is every team in the location of Port Moresby?It is not neccessary to use all the tables.
SELECT BUSHI FROM table WHERE Kaz Hayashi = kai (14:01)
CREATE TABLE INST, Here is a database schema( table schema);
Name the BUSHI that has kaz hayashi of kai (14:01).It is not neccessary to use all the tables.
SELECT COUNT(population__glengallan_) FROM table_12584173_1 WHERE population__region_total_ = 30554
CREATE TABLE INST, Here is a database schema( table schema);
How many population figures are given for Glengallen for the year when the region's total is 30554?It is not neccessary to use all the tables.
SELECT 1993 FROM table WHERE 1990 = 2–2
CREATE TABLE INST, Here is a database schema( table schema);
Who had 1990 of 2–2 in 1993?.It is not neccessary to use all the tables.
SELECT COUNT Laps FROM table WHERE Qual = 128.260
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of laps with a 128.260 qual?.It is not neccessary to use all the tables.
SELECT MIN(game) FROM table_name_93 WHERE date = "october 17" AND attendance > 49 OFFSET 347
CREATE TABLE INST, Here is a database schema( table schema);
What game played on October 17 in front of 49347 fans had the lowest score?It is not neccessary to use all the tables.
SELECT record FROM table_name_30 WHERE date = "oct 19"
CREATE TABLE INST, Here is a database schema( table schema);
What is Record when Date is Oct 19?It is not neccessary to use all the tables.
SELECT * FROM table_train_238 WHERE body_mass_index_bmi <= 26
CREATE TABLE INST, Here is a database schema( table schema);
patients with a body mass index ( bmi ) of less than or equal to 26 .It is not neccessary to use all the tables.
SELECT "Date" FROM table_64663 WHERE "Time" = '7:30 pm et'
CREATE TABLE INST, Here is a database schema( table schema);
What date was the episode that aired at 7:30 pm ET?It is not neccessary to use all the tables.
SELECT District FROM table WHERE Incumbent = Carolyn McCarthy
CREATE TABLE INST, Here is a database schema( table schema);
Name the district for carolyn mccarthy.It is not neccessary to use all the tables.
SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid JOIN lives_in AS T4 ON T4.dormid = T1.dormid JOIN student AS T5 ON T5.stuid = T4.stuid WHERE T5.lname = 'Smith'
CREATE TABLE INST, Here is a database schema( table schema);
Find the name of amenities of the dorm where the student with last name Smith is living in.It is not neccessary to use all the tables.
SELECT COUNT(party) FROM table_1342249_11 WHERE incumbent = "Carl Vinson"
CREATE TABLE INST, Here is a database schema( table schema);
How many parties does incumbent carl vinson represent?It is not neccessary to use all the tables.
SELECT Engine FROM table WHERE Rounds = 5-6
CREATE TABLE INST, Here is a database schema( table schema);
What's the engine used for rounds 5-6?.It is not neccessary to use all the tables.
SELECT date FROM table_name_88 WHERE opposing_pitcher = "jack morris" AND inning = "4th"
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has an Opposing Pitcher of jack morris and an Inning of 4th?It is not neccessary to use all the tables.
SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471
CREATE TABLE INST, Here is a database schema( table schema);
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender"
CREATE TABLE INST, Here is a database schema( table schema);
How many distinct official languages are there among countries of players whose positions are defenders.It is not neccessary to use all the tables.
SELECT COUNT(contestant) FROM table_27946889_2 WHERE height__mtr_ = "1.80"
CREATE TABLE INST, Here is a database schema( table schema);
How many contestants are 1.80 mtr. in height?It is not neccessary to use all the tables.
SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = "12%"
CREATE TABLE INST, Here is a database schema( table schema);
Name the csa 4/16/09 for opinionway being 4/17/09 of 12%It is not neccessary to use all the tables.
SELECT written_by FROM table_28140578_1 WHERE no_in_series = 19
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote episode number 19 in the series?It is not neccessary to use all the tables.
SELECT COUNT Rank FROM table WHERE Total < 5 AND Bronze < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the total rank where the total is less than 5, and bronze is less than 0?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Away team = south melbourne
CREATE TABLE INST, Here is a database schema( table schema);
What day did South Melbourne play as the away team?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Player = charles coody
CREATE TABLE INST, Here is a database schema( table schema);
What country does charles coody play for?.It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Venue = kardinia park
CREATE TABLE INST, Here is a database schema( table schema);
What is the home team score that played at Kardinia Park?.It is not neccessary to use all the tables.
SELECT Winner FROM table WHERE Points classification = adriano baffi AND Intergiro classification = ján svorada AND Stage = 13
CREATE TABLE INST, Here is a database schema( table schema);
Name the winner for adriano baffi and integiro classification of ján svorada for stage of 13.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 = 24971 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug IN ('warfarin', 'albuterol mdi', 'glucagon')
CREATE TABLE INST, Here is a database schema( table schema);
did warfarin, albuterol mdi, or glucagon be prescribed for patient 24971 on the last hospital encounter?It is not neccessary to use all the tables.
SELECT MIN Pick FROM table WHERE Player = Brett Lindros
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest pick for the player, brett lindros?.It is not neccessary to use all the tables.
SELECT Callsign FROM table WHERE Branding = mom's radio 101.9 zamboanga
CREATE TABLE INST, Here is a database schema( table schema);
What's the callsign of Mom's Radio 101.9 Zamboanga?.It is not neccessary to use all the tables.
SELECT Original artist FROM table WHERE Song choice = " Rhiannon "
CREATE TABLE INST, Here is a database schema( table schema);
who is the original artist for the song " rhiannon "?.It is not neccessary to use all the tables.
SELECT COUNT(third_place_s_) FROM table_20823568_2 WHERE total_placing_s_ = 8
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of 3rd place entries that have exactly 8 total placings?It is not neccessary to use all the tables.
SELECT AVG Season FROM table WHERE 2nd pl. < 2 AND 3rd pl. > 6
CREATE TABLE INST, Here is a database schema( table schema);
what is the average season when results is less than 2 times in 2nd and more than 6 times in 3rd?.It is not neccessary to use all the tables.
SELECT MIN Closed FROM table WHERE Demod = 1994
CREATE TABLE INST, Here is a database schema( table schema);
When was the park demolished in 1994 closed?.It is not neccessary to use all the tables.
SELECT Class FROM table WHERE Laps > 193 AND Class Position = 1 AND Position = 13
CREATE TABLE INST, Here is a database schema( table schema);
Which Class has Laps larger than 193, Class Position of 1, and a Position of 13?.It is not neccessary to use all the tables.
SELECT Gloss FROM table WHERE International Alphabet of Sanskrit Transliteration = Kumbha
CREATE TABLE INST, Here is a database schema( table schema);
When kumbha is the international alphabet of sanskrit transliteration what is the gloss?.It is not neccessary to use all the tables.
SELECT start___utc__ FROM table_22385461_6 WHERE end__utc_ = "March 28, 2005, 11:31"
CREATE TABLE INST, Here is a database schema( table schema);
What is the start date and time of the walk that ends March 28 2005 11:31?It is not neccessary to use all the tables.
SELECT Verb meaning FROM table WHERE Part 2 = band
CREATE TABLE INST, Here is a database schema( table schema);
What is the verb meaning when part 2 is band?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Class / type = three masted full rigged ship
CREATE TABLE INST, Here is a database schema( table schema);
What is Country, when Class / Type is "Three masted full rigged ship"?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "41" AND lab.flag = "delta"
CREATE TABLE INST, Here is a database schema( table schema);
give me the number of patients less than 41 years who have delta abnormal lab test status.It is not neccessary to use all the tables.
SELECT Cast FROM table WHERE 1957 (BBC) = Jean Anderson
CREATE TABLE INST, Here is a database schema( table schema);
Name the cast for 1957 bcc for jean anderson.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Competition = fai cup AND Runners-up = derry city f.c.
CREATE TABLE INST, Here is a database schema( table schema);
What date did the Fai Cup with Derry City F.C. as runners-up take place?.It is not neccessary to use all the tables.
SELECT race FROM table_name_47 WHERE category = "formula 2 fia, non-championship" AND date = "july 30, 1950"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Race on July 30 1950 with a Formula 2 Fia non-championship?It is not neccessary to use all the tables.