sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT "Croats" FROM table_2930 WHERE "Romanians" = '16.65%'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is every value for Croats when value for Romanians is 16.65%?It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Pos. = d AND Club = circolo nautico posillipo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the player from club Circolo Nautico Posillipo and a position of D?.It is not neccessary to use all the tables.
|
SELECT name FROM table_26176081_29 WHERE tfl_yds = "2-2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name when tfl-yds is 2-2?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Metabolic encephalopathy" AND prescriptions.route = "ID"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
hhow many patients diagnosed with metabolic encephalopathy and id route of drug administration?It is not neccessary to use all the tables.
|
SELECT [ 3 H]Paroxetine FROM table WHERE [ 3 H]CFT < 3.93 AND S ÷ D > 1891 AND [ 3 H]Nisoxetine = 299 (180)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the [3 H] paroxetine with a [3 H] CFT less than 3.93, an S ÷ D greater than 1891, and a [3H] nizoxetine of 299 (180)?.It is not neccessary to use all the tables.
|
SELECT COUNT County FROM table WHERE Milepost = 69.5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many counties are at milepost 69.5? .It is not neccessary to use all the tables.
|
SELECT DISTINCT tagsY.TagName AS reinvented, 'with' AS presence, tagsX.TagName AS invented, answerer.Id AS answerer_id, answerer.Reputation, answersY.Score AS answer_score, answersY.Id AS answer_id FROM Users AS answerer, Posts AS questionsX, Posts AS answersX, PostTags AS posttagsX, Tags AS tagsX, Posts AS questionsY, Posts AS answersY, PostTags AS posttagsY, Tags AS tagsY WHERE answerer.Reputation BETWEEN 2 AND 100000 AND questionsX.PostTypeId = 1 AND questionsX.Id = posttagsX.PostId AND posttagsX.TagId = tagsX.Id AND tagsX.TagName IN ('pthreads') AND questionsX.Id = answersX.ParentId AND answersX.OwnerUserId = answerer.Id AND questionsY.PostTypeId = 1 AND questionsY.Id = posttagsY.PostId AND posttagsY.TagId = tagsY.Id AND tagsY.TagName IN ('multithreading') AND questionsY.Id = answersY.ParentId AND answersY.OwnerUserId = answerer.Id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Answers about Y by Users who know X and Y.It is not neccessary to use all the tables.
|
SELECT COUNT(losingteam) FROM table_12028543_3 WHERE cup_finaldate = "20 August 1989"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many losingteams were for the cup finaldate 20 August 1989?It is not neccessary to use all the tables.
|
SELECT 2001 FROM table WHERE 1987 = n/a AND Career SR = n/a
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is 2001, when 1987 is N/A, and when Career SR is N/A?.It is not neccessary to use all the tables.
|
SELECT Outcome FROM table WHERE Surface = grass
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the outcome of the match played on grass?.It is not neccessary to use all the tables.
|
SELECT round FROM table_16741821_9 WHERE opponents = "Jesse Huta Galung Peter Wessels"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the round against the opponents jesse huta galung peter wessels?It is not neccessary to use all the tables.
|
SELECT AVG(attendance) FROM table_name_10 WHERE scorers = "steven, johnston, walters, mccoist, i.ferguson"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the average Attendance that has the Scorers of steven johnston walters mccoist i.ferguson?It is not neccessary to use all the tables.
|
SELECT SUM(area) FROM table_name_34 WHERE name = "askøy" AND municipal_code < 1247
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the area of askøy with a Municipal code less than 1247?It is not neccessary to use all the tables.
|
SELECT Census Ranking FROM table WHERE Area km 2 > 243.31
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the census ranking for the parish with an area larger than 243.31 square km?.It is not neccessary to use all the tables.
|
SELECT MIN All Around FROM table WHERE Total = 19.85 AND Hoop < 9.85
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest all around when the total is 19.85 and the hoop is less than 9.85?.It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE Goals against average > 2.07 AND Games played = 44
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who played 44 games who averaged over 2.07 goals against?.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_94 WHERE score > 67
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What player has a score larger than 67?It is not neccessary to use all the tables.
|
SELECT nationality FROM table_name_90 WHERE rank = 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which nationality has rank 4?It is not neccessary to use all the tables.
|
SELECT MAX(tie_no) FROM table_17736890_5 WHERE away_team = "Leeds United"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what tie were Leeds United the away team?It is not neccessary to use all the tables.
|
SELECT round FROM table_name_5 WHERE position = "f"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Round was F picked?It is not neccessary to use all the tables.
|
SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = "Winner"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When winner is the status and 77 is the total days in pbb house what is the edition?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_44 WHERE game = 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what date was game 3 played?It is not neccessary to use all the tables.
|
SELECT COUNT Bronze Medals FROM table WHERE Gold Medals = 2 AND Total Medals > 4 AND Silver Medals < 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of bronze medals when gold medals was 2, total medals more than 4 and silver medals less than 5.It is not neccessary to use all the tables.
|
SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = "N·m ( lbf·ft ) @ 4,800"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4800 Answers:?It is not neccessary to use all the tables.
|
SELECT Athlete FROM table WHERE 2.24 = xo AND 2.20 = o AND 2.15 = o
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Athlete has a 2.24 of xo, and a 2.20 of o, and a 2.15 of o?.It is not neccessary to use all the tables.
|
SELECT tyre FROM table_name_58 WHERE fastest_lap = "bruce mclaren"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the tyre on the race where Bruce Mclaren had the fastest lap?It is not neccessary to use all the tables.
|
SELECT ReFS FROM table WHERE NTFS = yes v3.0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which ReFS has yes v3.0 for NTFS?.It is not neccessary to use all the tables.
|
SELECT presenter FROM table_20466963_13 WHERE date = "11 May"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the presenter 11 mayIt is not neccessary to use all the tables.
|
SELECT MIN(events) FROM table_name_30 WHERE tournament = "the open championship" AND top_10 < 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest number of events the Open Championship has with a less than 0 top-10?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 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 WHERE d_icd_procedures.short_title = 'opn/oth rep aort vlv-tis') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY admissions.subject_id) AS t1 WHERE t1.c1 >= 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what number of patients were given opn/oth rep aort vlv-tis two or more times during a year before?It is not neccessary to use all the tables.
|
SELECT "event" FROM table_204_202 WHERE id = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
did kaseorg compete in the decathlon or the heptathlon in his first race ?It is not neccessary to use all the tables.
|
SELECT MAX Against FROM table WHERE Lost < 20 AND Draw > 2 AND Favour < 11
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11?.It is not neccessary to use all the tables.
|
SELECT MIN Puchat Ligi FROM table WHERE UEFA Cup < 2 AND Player = takesure chinyama
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Puchat Ligi has a UEFA Cup smaller than 2, and a Player of takesure chinyama?.It is not neccessary to use all the tables.
|
SELECT COUNT(location_s_) FROM table_19897294_10 WHERE family_families = "The Bailey Family"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In how many locations was the episode with the Bailey family filmed?It is not neccessary to use all the tables.
|
SELECT COUNT(wins) FROM table_name_43 WHERE series = "formula 3 euro series" AND podiums > 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many wins where there total for Series named formula 3 euro series as well as having more than 2 Podiums?It is not neccessary to use all the tables.
|
SELECT MIN Round FROM table WHERE Result (includes margin) = Lost by 36 points
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the earliest round where collingswood lost by 36 points?.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_4 WHERE tie_no = "2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Score in Tie 2?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_79 WHERE city = "zagreb"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was the game played in Zagreb?It is not neccessary to use all the tables.
|
SELECT directed_by FROM table_29747178_3 WHERE us_viewers__million_ = "2.67"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who directed the episode that was watched by 2.67 million U.S. viewers?It is not neccessary to use all the tables.
|
SELECT MAX(total_matches) FROM table_name_74 WHERE points__percentage = "70%"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Total matches is the highest one that has Points % of 70%?It is not neccessary to use all the tables.
|
SELECT Award FROM table WHERE Category = best actor AND Year < 1988
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Award, when Category is "Best Actor", and when Year is less than 1988?.It is not neccessary to use all the tables.
|
SELECT Shoots FROM table WHERE Player = craig peacock a
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What shows for shoots for craig peacock a?.It is not neccessary to use all the tables.
|
SELECT Type FROM table WHERE Institution = San Diego Christian College
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What type of institution is San Diego Christian college? .It is not neccessary to use all the tables.
|
SELECT opp_team FROM table_name_19 WHERE big_ten_team = "purdue"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was Purdue's opponent?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "83" AND diagnoses.long_title = "Personal history of malignant neoplasm of gastrointestinal tract, unspecified"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
provide the number of patients whose age is less than 83 and diagnoses long title is personal history of malignant neoplasm of gastrointestinal tract, unspecified?It is not neccessary to use all the tables.
|
SELECT _percentage FROM table_1108394_47 WHERE the_bronx = "133"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
The candidate who received 133 votes in the Bronx won what percentage overall?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_13 WHERE opponent = "@ buffalo sabres"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Score has an Opponent of @ buffalo sabres?It is not neccessary to use all the tables.
|
SELECT Start FROM table WHERE Finish = 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What race has a finish time of 10?.It is not neccessary to use all the tables.
|
SELECT free_agent_class FROM table_name_22 WHERE pick < 38
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the free agent class with a pick less than 38?It is not neccessary to use all the tables.
|
SELECT SUM Game FROM table WHERE Opponent = @ st. louis hawks
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many total games were played against @ St. Louis Hawks this season?.It is not neccessary to use all the tables.
|
SELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.It is not neccessary to use all the tables.
|
SELECT MIN Electorate FROM table WHERE Votes = 31,511 AND Percent Yes < 57.2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT IS THE LOWEST ELECTORATE WITH 31,511 VOTES, AND PERCENT YES SMALLER THAN 57.2?.It is not neccessary to use all the tables.
|
SELECT MAX(SHARE), MIN(SHARE) FROM TV_series
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is minimum and maximum share of TV series?It is not neccessary to use all the tables.
|
SELECT Hometown FROM table WHERE Player = Jeremy Hill
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Jeremy Hill's hometown?.It is not neccessary to use all the tables.
|
SELECT weight FROM table_name_58 WHERE height = "2.00"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the weight of the player with a height of 2.00m?It is not neccessary to use all the tables.
|
SELECT Latin declension of Papal Name FROM table WHERE Papal Name = paul vi
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For Pope Paul VI, what is the declension of his papal name?.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND procedures.icd9_code = "3806"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
count the number of patients whose ethnicity is black/cape verdean and procedure icd9 code is 3806?It is not neccessary to use all the tables.
|
SELECT Engine FROM table WHERE Performance = 0–100km/h: 10.5s, VMax km/h (mph)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the engine where performance is 0–100km/h: 10.5s, vmax km/h (mph).It is not neccessary to use all the tables.
|
SELECT SUM(revenue), founder FROM manufacturers GROUP BY founder
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the total revenue of companies of each founder.It is not neccessary to use all the tables.
|
SELECT Set 2 FROM table WHERE Date = may 31
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Set 2, when Date is May 31?.It is not neccessary to use all the tables.
|
SELECT COUNT(national_university_of_ireland) FROM table_name_17 WHERE industrial_and_commercial_panel < 1 AND cultural_and_educational_panel > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total for National University of Ireland with an industrial and commercial panel less than 1 and the cultural and educational panel bigger than 0?It is not neccessary to use all the tables.
|
SELECT Women's singles FROM table WHERE Year = 1991
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the women's singles for 1991.It is not neccessary to use all the tables.
|
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 68280) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 68280) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-1 day')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what were the new prescriptions on the prescription of patient 68280 today compared to the prescription yesterday?It is not neccessary to use all the tables.
|
SELECT Location FROM table WHERE Pole position = Daniel Erickson AND Fastest lap = Cole Morgan
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Record = 4-3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of the game that led to a 4-3 record?.It is not neccessary to use all the tables.
|
SELECT canadian_airdate FROM table_12294557_3 WHERE us_airdate = "May 1, 2009"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what are all the Canadian air dates where the u.s. air date is may 1 2009It is not neccessary to use all the tables.
|
SELECT semimajor_axis___au__ FROM table_name_86 WHERE companion__in_order_from_star_ = "g"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Semimajor axis (AU) has a Companion (in order from star) of g?It is not neccessary to use all the tables.
|
SELECT (SELECT COUNT(*) FROM table_204_47 WHERE "surface" = 'clay') > (SELECT COUNT(*) FROM table_204_47 WHERE "surface" = 'hard')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
was there more clay surfaces used than hard surfaces ?It is not neccessary to use all the tables.
|
SELECT State FROM table WHERE Born > 1955 AND Name = maria cantwell
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What state was maria cantwell born in after 1955?.It is not neccessary to use all the tables.
|
SELECT Range (varies with payload weight) FROM table WHERE Payload = unknown
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the range (varies by payload weight) for the unknown player?.It is not neccessary to use all the tables.
|
SELECT sesamin FROM table_1831262_2 WHERE foodstuff = "Sesame seed"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how much sesamin is in sesame seed?It is not neccessary to use all the tables.
|
SELECT MAX(crowd) FROM table_name_75 WHERE venue = "brunswick street oval"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the largest crowd at the Brunswick Street Oval?It is not neccessary to use all the tables.
|
SELECT MIN Year FROM table WHERE Mens Singles = Raju Rai
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the least year when men's singles is Raju Rai?.It is not neccessary to use all the tables.
|
SELECT SUM(year) FROM table_name_42 WHERE rank = "14.0 14"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what Year was the Rank 14.0 14?It is not neccessary to use all the tables.
|
SELECT _percentage_indian_american FROM table_18963843_1 WHERE asian_american_population__2010_ = 126965
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the % indian american for asian population 126965It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM Visitors WHERE NOT Tourist_ID IN (SELECT Tourist_ID FROM Visits)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many tourists did not make any visit?It is not neccessary to use all the tables.
|
SELECT tries_against FROM table_name_48 WHERE losing_bonus = "losing bonus"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the tries against for the team that has a losing bonus?It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Game Site = Milwaukee County Stadium
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the result for milwaukee county stadium.It is not neccessary to use all the tables.
|
SELECT currency FROM table_2764267_2 WHERE negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ = 1300
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the currency for negotiable debt being 1300It is not neccessary to use all the tables.
|
SELECT Birthplace FROM table WHERE Agency = lespros entertainment AND Generation = third (2009)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the birthplace of the third (2009) generation member from the lespros entertainment agency?.It is not neccessary to use all the tables.
|
SELECT MIN(games) FROM table_name_48 WHERE rank < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest number of games with a rank less than 1?It is not neccessary to use all the tables.
|
SELECT "Name" FROM table_49727 WHERE "60mH" < '1002' AND "800m" < '985' AND "Country" = 'lithuania'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Name that has a 60mH littler than 1002, and a 800m littler than 985, and a Country of lithuania?It is not neccessary to use all the tables.
|
SELECT AVG Total FROM table WHERE Player = simon donnelly AND Scottish Cup > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average total of player Simon Donnelly, with a Scottish Cup greater than 0?.It is not neccessary to use all the tables.
|
SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_67 WHERE per_capita_income__as__percentage_of_usa_ = 10.65 AND year < 1990
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Inflation Index (2000=100) has a Per Capita Income (as % of USA) of 10.65 and a Year smaller than 1990?It is not neccessary to use all the tables.
|
SELECT 2 AS nd FROM table_10021158_3 WHERE best_finish = "T69"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the best finish was T69 how many people came in 2nd?It is not neccessary to use all the tables.
|
SELECT * FROM Users
|
CREATE TABLE INST, Here is a database schema( table schema);
|
MOSTRAR TODOS LOS USUARIOS MAYORES DE EDAD.It is not neccessary to use all the tables.
|
SELECT award FROM table_name_29 WHERE nominee = "matthew warchus"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was Matthew Warchus' Award?It is not neccessary to use all the tables.
|
SELECT COUNT(rank) FROM table_name_52 WHERE name = "qi hui"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Rank of Qi Hui?It is not neccessary to use all the tables.
|
SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID ORDER BY COUNT(*) DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the activity that has the most faculty members involved in?It is not neccessary to use all the tables.
|
SELECT SUM Week FROM table WHERE Opponent = san diego chargers
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of weeks that the buffalo bills played against the San Diego Chargers?.It is not neccessary to use all the tables.
|
SELECT Award FROM table WHERE Result = won AND Category = hall of fame
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the award won in the hall of fame.It is not neccessary to use all the tables.
|
SELECT MAX Attendance FROM table WHERE Game Site = Los Angeles Memorial Coliseum
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the most attendance for game site for los angeles memorial coliseum.It is not neccessary to use all the tables.
|
SELECT COUNT(version) FROM table_28540539_2 WHERE release = "1.0.9"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the number of the 1.0.9 release version?It is not neccessary to use all the tables.
|
SELECT MIN Season FROM table
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the least season.It is not neccessary to use all the tables.
|
SELECT Compression Ratio FROM table WHERE RPO = L35 AND Applications = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the compression ratio of the model with L35 RPO and 5 applications?.It is not neccessary to use all the tables.
|
SELECT Theme FROM table WHERE Song choice = " One of Us "
|
CREATE TABLE INST, Here is a database schema( table schema);
|
The song choice " One of Us " has what themes?.It is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18866 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = '3% citrate' AND d_items.linksto = 'inputevents_cv')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
has there ever been any 3% citrate given to patient 18866 in their first hospital visit?It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Player = ashley sampi
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was ashley sampi's opponent?.It is not neccessary to use all the tables.
|
SELECT "Venue" FROM table_51952 WHERE "Home team score" = '16.19 (115)'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the game played when the home team scored 16.19 (115)?It is not neccessary to use all the tables.
|
SELECT Branch FROM table WHERE Term began = January 3, 1985
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What branch was involved when the term began in January 3, 1985?.It is not neccessary to use all the tables.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.