sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954"
CREATE TABLE INST, Here is a database schema( table schema);
Which Score has a Competition of world cup qualifying and a Brazil scorers of baltazar and a Date of march 14 1954?It is not neccessary to use all the tables.
SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = "Thiruvezhukkurrirukkai"
CREATE TABLE INST, Here is a database schema( table schema);
Name the starting from thiruvezhukkurrirukkaiIt is not neccessary to use all the tables.
SELECT MAX(number) FROM table_1749567_2 WHERE name = "Eyserweg"
CREATE TABLE INST, Here is a database schema( table schema);
The Eyserweg race was which race #?It is not neccessary to use all the tables.
SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE state = "sergipe" AND brown___percentage_ > 61 OFFSET 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of Asian or Amerindian (%) when State is Sergipe and when Brown (%) is greater than 613?It is not neccessary to use all the tables.
SELECT AVG(frequency_mhz) FROM table_name_83 WHERE city_of_license = "loomis, south dakota"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average frequency mhz of the loomis south dakota city license?It is not neccessary to use all the tables.
SELECT season FROM table_29697744_1 WHERE position = "9th"
CREATE TABLE INST, Here is a database schema( table schema);
in what year the position was the 9thIt is not neccessary to use all the tables.
SELECT Location FROM table WHERE Record = 6-11-8
CREATE TABLE INST, Here is a database schema( table schema);
What is the location of the game with a 6-11-8 record?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT Badges.Name) AS Number, Badges.Class AS Class FROM Badges WHERE Badges.TagBased = 0 GROUP BY Badges.Class
CREATE TABLE INST, Here is a database schema( table schema);
How many of each type of Badge are there?.It is not neccessary to use all the tables.
SELECT AVG(game) FROM table_name_23 WHERE february > 20 AND record = "41–17–4" AND points < 86
CREATE TABLE INST, Here is a database schema( table schema);
Which Game is the average one that has a February larger than 20 and a Record of 41–17–4 and Points smaller than 86?It is not neccessary to use all the tables.
SELECT "Season" FROM table_76414 WHERE "Poles" = '0' AND "Series" = 'gp2 series' AND "Position" = '19th'
CREATE TABLE INST, Here is a database schema( table schema);
In which season did he have 0 Poles and 19th position in the GP2 Series?It is not neccessary to use all the tables.
SELECT venue FROM table_name_61 WHERE away_team = "south melbourne"
CREATE TABLE INST, Here is a database schema( table schema);
What venue did South Melbourne play as the away team?It is not neccessary to use all the tables.
SELECT location FROM table_16734640_1 WHERE institution = "Abraham Baldwin Agricultural College"
CREATE TABLE INST, Here is a database schema( table schema);
Name the location for abraham baldwin agricultural collegeIt is not neccessary to use all the tables.
SELECT AVG(price) FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average price for flights from Los Angeles to Honolulu.It is not neccessary to use all the tables.
SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE episode = "Semi-final 5"
CREATE TABLE INST, Here is a database schema( table schema);
What were the official itv ratings in millions for semi-final 5?It is not neccessary to use all the tables.
SELECT league_from FROM table_name_95 WHERE position = "lw" AND pick__number > 34 AND player = "bradley ross"
CREATE TABLE INST, Here is a database schema( table schema);
Which League from has a Position of lw a Pick # larger than 34 and a Player of bradley ross?It is not neccessary to use all the tables.
SELECT Attendance FROM table WHERE Home team = billericay town
CREATE TABLE INST, Here is a database schema( table schema);
What was the attendance at the Billericay Town home game?.It is not neccessary to use all the tables.
SELECT length FROM table_name_26 WHERE bullet = "6.5 (.257)"
CREATE TABLE INST, Here is a database schema( table schema);
Which length has a Bullet of 6.5 (.257)?It is not neccessary to use all the tables.
SELECT Marriage FROM table WHERE Spouse = christian viii
CREATE TABLE INST, Here is a database schema( table schema);
Name the marriage of the person who is married for christian viii.It is not neccessary to use all the tables.
SELECT COUNT T.N. Seshan (Values) FROM table WHERE K.R. Narayanan (Values) = 478608
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of tn seshan values for kr values is 478608.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.admission_type = "EMERGENCY" AND prescriptions.route = "IVPCA"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients are admitted under emergency and treated via the drug route ivpca?It is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Opponent = Sheffield Scimitars
CREATE TABLE INST, Here is a database schema( table schema);
what was the competitoin where the opponent is sheffield scimitars?.It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Year = 1984
CREATE TABLE INST, Here is a database schema( table schema);
Where was the 1984 Olympics hosted?.It is not neccessary to use all the tables.
SELECT MANAGER_ID, DEPARTMENT_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
CREATE TABLE INST, Here is a database schema( table schema);
For those employees who did not have any job in the past, draw a scatter chart about the correlation between manager_id and department_id .It is not neccessary to use all the tables.
SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name
CREATE TABLE INST, Here is a database schema( table schema);
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the average of manufacturer , and group by attribute name, and I want to sort by the X-axis from low to high.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 ((flight.to_airport = AIRPORT_SERVICE_0.airport_code AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE') OR (flight.from_airport = AIRPORT_SERVICE_1.airport_code AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE')) AND flight.airline_code = 'YX'
CREATE TABLE INST, Here is a database schema( table schema);
does YX serve BALTIMOREIt is not neccessary to use all the tables.
SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = "american southwest"
CREATE TABLE INST, Here is a database schema( table schema);
What American Southwest Conference school was founded in 1883?It is not neccessary to use all the tables.
SELECT MIN Draws FROM table WHERE Goals against < 47 AND Position < 13 AND Goals for = 52
CREATE TABLE INST, Here is a database schema( table schema);
Which Draws has Goals against smaller than 47, and a Position smaller than 13, and Goals for of 52?.It is not neccessary to use all the tables.
SELECT AVG Laps FROM table WHERE Driver = bob wollek
CREATE TABLE INST, Here is a database schema( table schema);
How many Laps did Bob Wollek have?.It is not neccessary to use all the tables.
SELECT Actor FROM table WHERE Duration = 17 years AND Character = harold bishop
CREATE TABLE INST, Here is a database schema( table schema);
Which actor played Harold Bishop for 17 years?.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Lineup = start AND Assist/pass = carli lloyd AND Competition = 2011 fifa women’s world cup – group stage
CREATE TABLE INST, Here is a database schema( table schema);
Name the Result of the Lineup of start, an Assist/pass of carli lloyd, and an Competition of 2011 fifa women’s world cup – group stage?.It is not neccessary to use all the tables.
SELECT SUM(goals_for) FROM table_name_50 WHERE wins < 4 AND losses > 6
CREATE TABLE INST, Here is a database schema( table schema);
How many goals for were scored for the team(s) that won fewer than 4 games and lost more than 6?It is not neccessary to use all the tables.
SELECT SUM Year FROM table WHERE From album = the thing
CREATE TABLE INST, Here is a database schema( table schema);
How many years have a Form album of the thing?.It is not neccessary to use all the tables.
SELECT "Institution" FROM table_51155 WHERE "Location" = 'reading, pa'
CREATE TABLE INST, Here is a database schema( table schema);
Which institution is located in Reading, PA?It is not neccessary to use all the tables.
SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin"
CREATE TABLE INST, Here is a database schema( table schema);
What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?It is not neccessary to use all the tables.
WITH GitHubUsers AS (SELECT u.Id, COUNT(a.Id) AS answersCount, SUM(a.Score) AS answersScore FROM Users AS u LEFT JOIN Posts AS a ON a.PostTypeId = 2 AND a.OwnerUserId = u.Id WHERE u.WebsiteUrl LIKE '%github%' GROUP BY u.Id) SELECT u.Id, u.WebsiteUrl, u.UpVotes, u.Reputation, u.AboutMe, g.answersCount, g.answersScore FROM GitHubUsers AS g JOIN Users AS u ON u.Id = g.Id WHERE answersCount >= 1
CREATE TABLE INST, Here is a database schema( table schema);
GitHub users who have answered at least one question.It is not neccessary to use all the tables.
SELECT location FROM table_18904831_6 WHERE score = "W 73-70"
CREATE TABLE INST, Here is a database schema( table schema);
When w 73-70 is the score what is the location?It is not neccessary to use all the tables.
SELECT Teams' Champion FROM table WHERE Winter Series Champion = not held AND Secondary Class = matt rao
CREATE TABLE INST, Here is a database schema( table schema);
What team's champion has a secondary class of Matt Rao for a Winter Series Champion of Not Held?.It is not neccessary to use all the tables.
SELECT DISTINCT t3.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode JOIN city AS t3 ON t1.code = t3.countrycode WHERE t2.isofficial = 't' AND t2.language = 'chinese' AND t1.continent = "asia"
CREATE TABLE INST, Here is a database schema( table schema);
Which unique cities are in Asian countries where Chinese is the official language ?It is not neccessary to use all the tables.
SELECT COUNT(average) FROM table_name_73 WHERE sellouts < 14 AND season = "2011-12" AND attendance < 162 OFFSET 474
CREATE TABLE INST, Here is a database schema( table schema);
What is the full amount of averages when the sellouts are less than 14 the season is 2011-12 and attendance is less than 162474?It is not neccessary to use all the tables.
SELECT a.Id AS "post_link", a.LastActivityDate AS Date FROM Posts AS a WHERE a.PostTypeId = 2 AND a.CreationDate < '2014-01-01' AND a.LastActivityDate > '2017-07-07' AND a.LastEditorUserId = '##userId##' ORDER BY a.LastActivityDate DESC
CREATE TABLE INST, Here is a database schema( table schema);
Old answers edited by me recently.It is not neccessary to use all the tables.
SELECT COUNT(position) FROM table_name_24 WHERE drawn < 2 AND lost < 9 AND points > 24
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number for the position that has less than 2 draws less than 9 losses and more than 24?It is not neccessary to use all the tables.
SELECT rider FROM table_name_88 WHERE constructor = "honda" AND team = "scot racing team" AND rounds = "6-17"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17?It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Team = Minnesota
CREATE TABLE INST, Here is a database schema( table schema);
What was the team's record when they played minnesota?.It is not neccessary to use all the tables.
SELECT School Year FROM table WHERE Cross Country = wooster
CREATE TABLE INST, Here is a database schema( table schema);
What is School Year, when Cross Country is Wooster?.It is not neccessary to use all the tables.
SELECT admissions.age FROM admissions WHERE admissions.subject_id = 99205 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
what was the age of patient 99205 in their first hospital visit?It is not neccessary to use all the tables.
SELECT name FROM table_name_99 WHERE points > 14 AND drawn < 1
CREATE TABLE INST, Here is a database schema( table schema);
Which name has more than 14 points with less than 1 draw?It is not neccessary to use all the tables.
SELECT MAX(assists) FROM table_28461589_2 WHERE games_played = 25
CREATE TABLE INST, Here is a database schema( table schema);
What is the most number of assists for players with exactly 25 games played?It is not neccessary to use all the tables.
SELECT Branding FROM table WHERE Frequency = 00 94.5
CREATE TABLE INST, Here is a database schema( table schema);
What is the Branding of Frequency 00 94.5?.It is not neccessary to use all the tables.
SELECT assists FROM table_name_94 WHERE blocks = "2 tied (1)" AND year > 1995
CREATE TABLE INST, Here is a database schema( table schema);
What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995It is not neccessary to use all the tables.
SELECT candidates FROM table_1341423_20 WHERE district = "Maryland 5"
CREATE TABLE INST, Here is a database schema( table schema);
Who were the candidates in the Maryland 5 district election?It is not neccessary to use all the tables.
SELECT High rebounds FROM table WHERE High points = chris bosh (18)
CREATE TABLE INST, Here is a database schema( table schema);
Which High rebounds have High points of chris bosh (18)?.It is not neccessary to use all the tables.
SELECT home_team FROM table_name_59 WHERE away_team = "north melbourne"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the home team for the game where North Melbourne was the away team?It is not neccessary to use all the tables.
SELECT "Team" FROM table_14671 WHERE "Captain" = 'jon newsome'
CREATE TABLE INST, Here is a database schema( table schema);
Which team has the team captain Jon Newsome?It is not neccessary to use all the tables.
SELECT episode FROM table_26250151_1 WHERE original_recording_artist = "LaVern Baker"
CREATE TABLE INST, Here is a database schema( table schema);
Which episode had Lavern Baker?It is not neccessary to use all the tables.
SELECT AVG(played) FROM table_name_94 WHERE position < 4 AND wins > 16 AND points = 38 AND goals_against > 35
CREATE TABLE INST, Here is a database schema( table schema);
Which Played has a Position smaller than 4 and Wins larger than 16 and Points of 38 and Goals against larger than 35?It is not neccessary to use all the tables.
SELECT Status FROM table WHERE Name = mexborough
CREATE TABLE INST, Here is a database schema( table schema);
What is the Status of Mexborough?.It is not neccessary to use all the tables.
SELECT Crowd FROM table WHERE Away team = north melbourne
CREATE TABLE INST, Here is a database schema( table schema);
When North Melbourne played as the away team, what was the crowd numbers?.It is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Date = 2 june 1992
CREATE TABLE INST, Here is a database schema( table schema);
What competition was played on 2 June 1992?.It is not neccessary to use all the tables.
SELECT "3rd-place" FROM table_2965 WHERE "4th-place" = 'Balestier Khalsa'
CREATE TABLE INST, Here is a database schema( table schema);
What team finished in 3rd place when Balestier Khalsa finished in 4th place?It is not neccessary to use all the tables.
SELECT COUNT Player FROM table WHERE CFL Team = Ottawa Renegades
CREATE TABLE INST, Here is a database schema( table schema);
How many different players got drafted for the Ottawa Renegades?.It is not neccessary to use all the tables.
SELECT title FROM table_173475_1 WHERE release = 2006
CREATE TABLE INST, Here is a database schema( table schema);
What titles were released in 2006?It is not neccessary to use all the tables.
SELECT place FROM table_name_63 WHERE score = 69 - 72 - 72 = 213
CREATE TABLE INST, Here is a database schema( table schema);
What is the Place of the Player with a Score of 69-72-72=213?It is not neccessary to use all the tables.
SELECT team FROM table_name_83 WHERE laps < 315 AND co_drivers = "david brabham franck lagorce"
CREATE TABLE INST, Here is a database schema( table schema);
Name the team with laps less than 315 and co-drivers of david brabham franck lagorce?It is not neccessary to use all the tables.
SELECT Screen size (inch) FROM table WHERE Intro year = 2006 AND Model = iliad
CREATE TABLE INST, Here is a database schema( table schema);
Name the size of the screen that came out in 2006 and is iliad.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = 17 april 2013
CREATE TABLE INST, Here is a database schema( table schema);
What is the score for 17 April 2013?.It is not neccessary to use all the tables.
SELECT "Original Airdate" FROM table_27281 WHERE "Prod. Code" = 'IPEA345A'
CREATE TABLE INST, Here is a database schema( table schema);
What are the original air date(s) for episodes with production code ipea345a?It is not neccessary to use all the tables.
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400"
CREATE TABLE INST, Here is a database schema( table schema);
What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Player = mike weir
CREATE TABLE INST, Here is a database schema( table schema);
What was the to par score for Mike Weir?.It is not neccessary to use all the tables.
SELECT Round FROM table WHERE Venue = a AND Result = 1-2 AND Date = 7 december 2004
CREATE TABLE INST, Here is a database schema( table schema);
What is the round of the match at venue A with a result of 1-2 on 7 December 2004?.It is not neccessary to use all the tables.
SELECT event_name FROM table_name_98 WHERE pole_winner = "michael mcdowell" AND race_winner = "billy leslie"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the event name for michael mcdowell and billy leslieIt is not neccessary to use all the tables.
SELECT COUNT Audition city FROM table WHERE Audition venue = Bridgestone Arena
CREATE TABLE INST, Here is a database schema( table schema);
In how many different audition cities were the Bridgestone arena auditions held?.It is not neccessary to use all the tables.
SELECT race FROM table_name_52 WHERE date_of_execution = "december 27, 1827"
CREATE TABLE INST, Here is a database schema( table schema);
What was the race of the person executed on December 27, 1827?It is not neccessary to use all the tables.
SELECT Host FROM table WHERE City = missoula
CREATE TABLE INST, Here is a database schema( table schema);
Which host university is based in Missoula?.It is not neccessary to use all the tables.
SELECT "Opponent" FROM table_64116 WHERE "Date" = 'september 10, 1979'
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent on september 10, 1979?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Incumbent = Richard M. Kleberg
CREATE TABLE INST, Here is a database schema( table schema);
what happened during the election for Richard M. Kleberg?.It is not neccessary to use all the tables.
SELECT AVG(year) FROM table_name_74 WHERE country = "france/hong kong"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average year of the film from France/Hong Kong?It is not neccessary to use all the tables.
SELECT cerclis_id FROM table_name_49 WHERE listed = "10/14/1992"
CREATE TABLE INST, Here is a database schema( table schema);
What CERCLIS ID was listed 10/14/1992?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Years for Jazz = 1975-79
CREATE TABLE INST, Here is a database schema( table schema);
Which player was active in Jazz in 1975-79?.It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Club = nac breda
CREATE TABLE INST, Here is a database schema( table schema);
Where is nac breda club located?.It is not neccessary to use all the tables.
SELECT station FROM table_12271718_1 WHERE network_affiliation = "Univision"
CREATE TABLE INST, Here is a database schema( table schema);
What station has a univision network affiliation?It is not neccessary to use all the tables.
SELECT DISTINCT T1.first_name, T1.middle_name, T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'
CREATE TABLE INST, Here is a database schema( table schema);
Who is enrolled in a Bachelor degree program? List the first name middle name last name.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Competition = friendly
CREATE TABLE INST, Here is a database schema( table schema);
What was the result of the friendly competition?.It is not neccessary to use all the tables.
SELECT COUNT(tries_for) FROM table_name_81 WHERE points_for < 137 AND tries_against > 12
CREATE TABLE INST, Here is a database schema( table schema);
How many Tries has Points for smaller than 137 and Tries against larger than 12?It is not neccessary to use all the tables.
SELECT Skipper FROM table WHERE Combined elapsed time = 174d 01h 11m 59s
CREATE TABLE INST, Here is a database schema( table schema);
Which skipper has a combine elapsed time of 174d 01h 11m 59s?.It is not neccessary to use all the tables.
SELECT result FROM table_name_49 WHERE competition = "2006 world cup qualification"
CREATE TABLE INST, Here is a database schema( table schema);
what is the result of the competition in 2006 world cup qualification?It is not neccessary to use all the tables.
SELECT Position FROM table WHERE College = toronto
CREATE TABLE INST, Here is a database schema( table schema);
What position did the CFL player drafted out of college of toronto in 2007 play?.It is not neccessary to use all the tables.
SELECT manner_of_departure FROM table_29414946_3 WHERE outgoing_manager = "Geninho"
CREATE TABLE INST, Here is a database schema( table schema);
Why did Geninho leave as manager?It is not neccessary to use all the tables.
SELECT City FROM table WHERE Average = 6.85
CREATE TABLE INST, Here is a database schema( table schema);
Which City has an Average of 6.85?.It is not neccessary to use all the tables.
SELECT result FROM table_name_72 WHERE opponent = "phoenix suns"
CREATE TABLE INST, Here is a database schema( table schema);
What is the game that has the phoenix suns as the opponent played against?It is not neccessary to use all the tables.
SELECT under_11 FROM table_26368963_2 WHERE under_19 = "Leong Siu Lynn"
CREATE TABLE INST, Here is a database schema( table schema);
What is every value for Under-11 if Under-19 is Leong Siu Lynn?It is not neccessary to use all the tables.
SELECT airline FROM table_name_87 WHERE iata = "bx"
CREATE TABLE INST, Here is a database schema( table schema);
What airline has a IATA of BX?It is not neccessary to use all the tables.
SELECT Artist FROM table WHERE Year < 2002 AND Mintage = 41,828
CREATE TABLE INST, Here is a database schema( table schema);
What artist had a mintage of 41,828 before year 2002?.It is not neccessary to use all the tables.
SELECT Package/Option FROM table WHERE Television service = sky arte hd
CREATE TABLE INST, Here is a database schema( table schema);
What package/option has sky arte hd as the television service?.It is not neccessary to use all the tables.
SELECT Game FROM table WHERE Date = april 26
CREATE TABLE INST, Here is a database schema( table schema);
What is the playoffs Game number on April 26?.It is not neccessary to use all the tables.
SELECT MIN(year) FROM table_name_12 WHERE team = "norton" AND wins < 0
CREATE TABLE INST, Here is a database schema( table schema);
When is the earliest year associated with team norton and 0 wins?It is not neccessary to use all the tables.
SELECT COUNT(stage) FROM table_name_74 WHERE category < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the stage number when the category is less than 1?It is not neccessary to use all the tables.
SELECT 2012 FROM table WHERE 2008 = q3 AND Tournament = wimbledon
CREATE TABLE INST, Here is a database schema( table schema);
What's the 2012 during Wimbledon and had a Q3 in 2008?.It is not neccessary to use all the tables.
SELECT MAX(district) FROM table_name_30 WHERE delegate = "cheryl glenn" AND took_office > 2006
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest district for delegate Cheryl Glenn that she had taken after 2006?It is not neccessary to use all the tables.
SELECT production_code FROM table_20726262_3 WHERE usviewers__million_ = "3.38"
CREATE TABLE INST, Here is a database schema( table schema);
What was the production code for the episode with 3.38 million viewers?It is not neccessary to use all the tables.
SELECT "Partial thromboplastin time" FROM table_42606 WHERE "Prothrombin time" = 'prolonged' AND "Condition" = 'factor v deficiency'
CREATE TABLE INST, Here is a database schema( table schema);
Which Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency?It is not neccessary to use all the tables.