sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT entrant FROM table_name_67 WHERE points = 0 AND year = 1997
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Entrant has 0 points and from 1997?It is not neccessary to use all the tables.
|
SELECT COUNT Innings FROM table WHERE Runs = 1598 AND Matches < 41
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the total Innings that has Runs of 1598, and Matches less than 41?.It is not neccessary to use all the tables.
|
SELECT MAX Ast. Avg. FROM table WHERE Player = cam long AND Games < 132
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many assists does cam long average in under 132 games?.It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Date = 12 march 2008
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record on 12 march 2008?.It is not neccessary to use all the tables.
|
SELECT COUNT(crowd) FROM table_name_48 WHERE venue = "brunswick street oval"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How large of a crowd can the Brunswick Street Oval hold?It is not neccessary to use all the tables.
|
SELECT MIN("Fastest Laps") FROM table_2028
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest number of fastest laps listed?It is not neccessary to use all the tables.
|
SELECT "2004-05" FROM table_4574 WHERE "Commodity" = 'milk'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2005-05 production for milk?It is not neccessary to use all the tables.
|
SELECT COUNT Race Time FROM table WHERE Driver = Cale Yarborough AND Average Speed (mph) = 88.924
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many races did Cale Yarborough win at an average speed of 88.924 mph?.It is not neccessary to use all the tables.
|
SELECT nickname FROM table_name_62 WHERE institution = "columbia university"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the nickname of Columbia University?It is not neccessary to use all the tables.
|
SELECT player FROM table_name_33 WHERE college = "illinois"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the player from Illinois?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Time = 11:00 AND Set 3 = 25–18
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Date has a Time of 11:00, and a Set 3 of 25–18?.It is not neccessary to use all the tables.
|
SELECT mls_team FROM table_name_97 WHERE affiliation = "yale university"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What MLS team is affiliated with yale university?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Away team score = 11.7 (73)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Date has an Away team score of 11.7 (73)?.It is not neccessary to use all the tables.
|
SELECT SUM Year FROM table WHERE Entrant = scuderia centro sud AND Points = 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points?.It is not neccessary to use all the tables.
|
SELECT COUNT(date) FROM table_27756314_8 WHERE high_points = "Kevin Love (22)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many times did kevin love (22) have the high points?It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Opponents = v kent
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where did v kent play?.It is not neccessary to use all the tables.
|
SELECT AVG Wins FROM table WHERE Losses < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For the teams that had less than 1 loss, what was the average number of Wins?.It is not neccessary to use all the tables.
|
SELECT car FROM table_28046929_2 WHERE driver = "Mark Higgins"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the type of vehicle driven by mark higginsIt is not neccessary to use all the tables.
|
SELECT joined FROM table_262514_1 WHERE nickname = "Ravens"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is every year for joined with the Ravens nickname?It is not neccessary to use all the tables.
|
SELECT region FROM table_name_5 WHERE catalog = "magik muzik 805-5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Region was the Catalog magik muzik 805-5 released in?It is not neccessary to use all the tables.
|
SELECT 1992 FROM table WHERE 1996 = sf AND 1993 = a
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which 1992 has a 1996 of sf and a 1993 of a?.It is not neccessary to use all the tables.
|
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(SALARY) DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For all employees who have the letters D or S in their first name, show me about the distribution of hire_date and the sum of salary bin hire_date by time in a bar chart, rank in desc by the Y.It is not neccessary to use all the tables.
|
SELECT date FROM table_name_56 WHERE opponent = "luxembourg"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What day did Yugoslavia play Luxembourg?It is not neccessary to use all the tables.
|
SELECT Format FROM table WHERE Region = europe AND Catalog = 74321 45851 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Format has the Region of Europe and a Catalog of 74321 45851 2?.It is not neccessary to use all the tables.
|
SELECT win_loss FROM table_26847237_1 WHERE location = "Paeroa"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Was it a win or a loss for Wanganui in Paeroa?It is not neccessary to use all the tables.
|
SELECT MIN Grid FROM table WHERE Time/Retired = steering AND Laps < 15
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the low grid total for a retired due to steering in under 15 laps?.It is not neccessary to use all the tables.
|
SELECT Sport FROM table WHERE Event = men's 400 m hurdles
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Sport had an Event of men's 400 m hurdles?.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_5 WHERE score = "0-2" AND season = 2004
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In the 2004 season with a 0-2 score what was the name of the venue?It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Rank = 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What team has rank 3?.It is not neccessary to use all the tables.
|
SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 8562 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how long does patient 8562 stay in hospital for the first time.It is not neccessary to use all the tables.
|
SELECT MIN(silver) FROM table_22355_29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest amount of silver?It is not neccessary to use all the tables.
|
SELECT AVG(year) FROM table_name_24 WHERE loses = 4 AND wins < 18 AND draws > 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What average Year has Losses 4 and Wins less than 18 and Draws greater than 1?It is not neccessary to use all the tables.
|
SELECT COUNT Career caps FROM table WHERE Position = full back AND Tour Apps < 29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of career caps for a full back, when tour Apps is smaller than 29?.It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Date = april 24
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the opponent for april 24.It is not neccessary to use all the tables.
|
SELECT acceleration_0_100km_h__0_62mph_ FROM table_name_69 WHERE transmission = "5-speed manual"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual?It is not neccessary to use all the tables.
|
SELECT MIN("Block") FROM table_40186 WHERE "Spike" = '328' AND "Height" < '186'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest block that has 328 as the spike, and a height less than 186?It is not neccessary to use all the tables.
|
SELECT winning_score FROM table_name_35 WHERE tournament = "alfred dunhill links championship"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the winning score in the Alfred Dunhill links championship?It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE Events = 22
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the player for 22 events.It is not neccessary to use all the tables.
|
SELECT MAX(matches) FROM table_name_44 WHERE rank = 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of matches for the player in rank 8?It is not neccessary to use all the tables.
|
SELECT Notes FROM table WHERE NSSDC ID No. = 1959-002A
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the notes of the satellite whose nssdc id number is 1959-002a?.It is not neccessary to use all the tables.
|
SELECT COUNT Incumbent FROM table WHERE Result = Sanford Bishop (D) 57% Joseph McCormick (R) 43%
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many incumbents were the result of sanford bishop (d) 57% joseph mccormick (r) 43%?.It is not neccessary to use all the tables.
|
SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = "modern drama"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Airing date has a Number of episodes larger than 20 and a Genre of modern drama?It is not neccessary to use all the tables.
|
SELECT MAX("Rank") FROM table_33568 WHERE "Silver" = '15' AND "Total" < '47'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest ranked nation with 15 silver medals and no more than 47 total?It is not neccessary to use all the tables.
|
SELECT character FROM table_name_91 WHERE episodes > 22
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What character is in over 22 episodes?It is not neccessary to use all the tables.
|
SELECT sum(FIRE_SIZE), FIRE_YEAR FROM Fires WHERE State = "CA" AND FIRE_YEAR BETWEEN 2000 AND 2005 GROUP BY FIRE_YEAR
|
CREATE TABLE INST, Here is a database schema( fires);
|
How many acres burned in fires in California each year between 2000 and 2005?. It is not neccessary to use all the tables.
|
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', admissions.admittime)) FROM admissions WHERE admissions.subject_id = 15447 AND admissions.dischtime IS NULL
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many hours have passed since patient 15447 was admitted to hospital?It is not neccessary to use all the tables.
|
SELECT AVG Serie A FROM table WHERE Coppa Italia = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the Serie A when the coppa italia was 5?.It is not neccessary to use all the tables.
|
SELECT COUNT Weight FROM table WHERE Shirt No = 18 AND Height > 195
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Shirt number of 18, and a Height larger than 195 has how much weight?.It is not neccessary to use all the tables.
|
SELECT High points FROM table WHERE High assists = Chauncey Billups (4)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When chauncey billups (4) has the highest amount of assists who has the highest amount of points?.It is not neccessary to use all the tables.
|
SELECT MIN(assists) FROM table_name_17 WHERE name = "ben duggan" AND points < 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest number of assists for Ben Duggan with less than 7 points?It is not neccessary to use all the tables.
|
SELECT Degree FROM table WHERE Award Year = 1965 AND Award = chemistry
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the degree for chemistry 1965.It is not neccessary to use all the tables.
|
SELECT Club FROM table WHERE Lead = jamie korab
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which club has Jamie Korab as Lead?.It is not neccessary to use all the tables.
|
SELECT Carpet W–L FROM table WHERE Year = 1993
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the carpet w-l in 1993?.It is not neccessary to use all the tables.
|
SELECT Presentation of Credentials FROM table WHERE Name = robert g. miner
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When did Robert G. Miner present his credentials?.It is not neccessary to use all the tables.
|
SELECT Highest Scoring Team FROM table WHERE Circuit/Location = Ring Knutstorp AND Winning Team = Polestar Racing
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the highest scoring team in the round in Ring Knutstorp in which Polestar Racing is the winning team?.It is not neccessary to use all the tables.
|
SELECT loss FROM table_name_74 WHERE record = "77–67"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the loss of the Red Sox game when they had a record of 77–67?It is not neccessary to use all the tables.
|
SELECT driver___rider FROM table_name_58 WHERE car___motorcycle = "indian"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which driver is Indian?It is not neccessary to use all the tables.
|
SELECT s_hindu FROM table_14598_5 WHERE buddhist = "955"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many s hindu are where buddhists are 955?It is not neccessary to use all the tables.
|
SELECT COUNT College FROM table WHERE Pick # = 269
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many colleges did pick number 269 attend?.It is not neccessary to use all the tables.
|
SELECT COUNT Points FROM table WHERE Engine = maserati straight-4 AND Year > 1959
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of points for the maserati straight-4 engine, later than 1959?.It is not neccessary to use all the tables.
|
SELECT Thursday FROM table WHERE Wednesday = emma willis AND Sunday = alice levine jamie east
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the presenter on Thursday of the series in which Emma Willis was the presenter on Wednesday, and Alice Levine Jamie East was the presenter on Sunday?.It is not neccessary to use all the tables.
|
SELECT Original air date FROM table WHERE Number of episode = 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the original air date for episode number 6?.It is not neccessary to use all the tables.
|
SELECT COUNT(decile) FROM table_name_51 WHERE gender = "coed"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Deciles are coed?It is not neccessary to use all the tables.
|
SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the nationality of the Washington Capitals?It is not neccessary to use all the tables.
|
SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID ORDER BY T2.quality_rank
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show names of technicians in ascending order of quality rank of the machine they are assigned.It is not neccessary to use all the tables.
|
SELECT date FROM table_name_70 WHERE home_team = "liverpool"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date did home team liverpool play?It is not neccessary to use all the tables.
|
SELECT T1.Name, T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) <= 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the names and ids of tourist attractions that are visited at most once.It is not neccessary to use all the tables.
|
SELECT MAX Market Value (billion $) FROM table WHERE Rank = 02 2 AND Sales (billion $) > 113.1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest Market Value (billion $), when Rank is 02 2, and when Sales (billion $) is greater than 113.1?.It is not neccessary to use all the tables.
|
SELECT COUNT Took Office FROM table WHERE Party = democratic AND Home Town = victoria AND District < 18
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18?.It is not neccessary to use all the tables.
|
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'prone position' AND STRFTIME('%y', treatment.treatmenttime) = '2105') AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmentname, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', treatment.treatmenttime) = '2105') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.treatmenttime AND DATETIME(t2.treatmenttime) BETWEEN DATETIME(t1.treatmenttime) AND DATETIME(t1.treatmenttime, '+2 month') GROUP BY t2.treatmentname) AS t3 WHERE t3.c1 <= 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what were the top four most frequent procedures that patients took within 2 months after receiving prone position in 2105?It is not neccessary to use all the tables.
|
SELECT MAX("Byes") FROM table_60207 WHERE "Against" < '1794' AND "Losses" = '6' AND "Draws" < '0'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest value for Byes, when Against is less than 1794, when Losses is '6', and when Draws is less than 0?It is not neccessary to use all the tables.
|
SELECT To par FROM table WHERE Player = vijay singh
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the To par has the presence of Vijay Singh?.It is not neccessary to use all the tables.
|
SELECT MIN(poles) FROM table_name_60 WHERE season > 2009
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest Poles with a Season that is larger than 2009?It is not neccessary to use all the tables.
|
SELECT inns_of_court_and_chancery FROM table_16677738_1 WHERE without_the_walls = 70489
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When 70489 is without walls what is the inns of court and chancery?It is not neccessary to use all the tables.
|
SELECT MAX Population (2000) FROM table WHERE Barangay = Bulac
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many people lived in bulac in the year 2000?.It is not neccessary to use all the tables.
|
SELECT DISTINCT flight.flight_id FROM airport, airport_service, city, flight WHERE (airport.airport_code = 'LGA' AND city.city_code = airport_service.city_code AND city.city_name = 'SAN FRANCISCO' AND flight.from_airport = airport_service.airport_code AND flight.to_airport = airport.airport_code) AND flight.stops = 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
show me all flights from SAN FRANCISCO to LGA nonstopIt is not neccessary to use all the tables.
|
SELECT MIN Total FROM table WHERE Year(s) won = 1978
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the least total for 1978 years won.It is not neccessary to use all the tables.
|
SELECT semifinal_average FROM table_16268026_3 WHERE preliminary_average = "9.084 (1)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the semifinal average where the preliminary average is 9.084 (1) ?It is not neccessary to use all the tables.
|
SELECT Market Income Per Capita FROM table WHERE Status = Distressed AND Unemployment Rate = 10.5%
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%? .It is not neccessary to use all the tables.
|
SELECT Average FROM table WHERE Swimsuit = 9.57
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the average for the country with the swimsuit score of 9.57?.It is not neccessary to use all the tables.
|
SELECT ad_freq FROM table_name_28 WHERE show_name = "off the bench"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the ad frequency for the Show Off The Bench?It is not neccessary to use all the tables.
|
SELECT "Township" FROM table_22466 WHERE "Land ( sqmi )" = '28.597'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What township is 28.597 square miles of land?It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Date = june 29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On June 29, who was the opponent?.It is not neccessary to use all the tables.
|
SELECT 1958 AS _cié FROM table_name_69 WHERE class = "s"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What 1958 CIE is class s?It is not neccessary to use all the tables.
|
SELECT away_leg FROM table_2214582_1 WHERE round = 1 AND aggregate = "2-0"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the record for the away leg in round 1 and aggregate 2-0?It is not neccessary to use all the tables.
|
SELECT Time/Retired FROM table WHERE Grid < 9 AND Constructor = ferrari AND Driver = rubens barrichello
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Time/Retired has a grid smaller than 9, a Ferrari construct, and is driven by Rubens Barrichello?.It is not neccessary to use all the tables.
|
SELECT Plant Hardiness Zone FROM table WHERE Region = northern AND Annual Precipitation = 443mm (17.4in)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the plant hardiness zone in the Northern region where the annual precipitation is 443mm (17.4in)?.It is not neccessary to use all the tables.
|
SELECT years_as_tallest FROM table_name_78 WHERE name = "tenth presbyterian church"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many years as tallest building was the Tenth Presbyterian Church?It is not neccessary to use all the tables.
|
SELECT COUNT(division) FROM table_1969634_1 WHERE nickname = "Skyhawks"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many teams have skyhawks as a nickname?It is not neccessary to use all the tables.
|
SELECT AVG(game) FROM table_name_30 WHERE december > 21 AND opponent = "pittsburgh penguins"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
December larger than 21 and a Opponent of Pittsburgh penguins had what average game?It is not neccessary to use all the tables.
|
SELECT CommentCount, Id, COUNT(*) FROM Posts GROUP BY Id, CommentCount HAVING COUNT(*) > 1 ORDER BY COUNT(*) DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Q1-1 What is the most number of comments on a single post?.It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Date = april 21, 2008
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the opponent on April 21, 2008?.It is not neccessary to use all the tables.
|
SELECT MAX(grid) FROM table_name_32 WHERE driver = "alexander wurz" AND laps < 58
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In less than 58 laps what is the highest grid for Alexander Wurz?It is not neccessary to use all the tables.
|
SELECT AVG Year FROM table WHERE Reg. Season = 3rd, western
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Year has a Reg Season of 3rd, western?.It is not neccessary to use all the tables.
|
SELECT Provider FROM table WHERE Free or pay = pay AND Transmission = analogue cable
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which provider is pay with analogue cable?.It is not neccessary to use all the tables.
|
SELECT Branding FROM table WHERE Format = Southern Country
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which branding has the format of southern country?.It is not neccessary to use all the tables.
|
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the sum of code , and group by attribute name.It is not neccessary to use all the tables.
|
SELECT COUNT(place__posición_) FROM table_name_53 WHERE draw__pe_ > 2 AND team__equipo_ = "paraíso" AND won__pg_ > 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Places (Posición) has a Draw (PE) larger than 2 and a Team (Equipo) of paraíso and a Won (PG) larger than 6?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Opponent = pablo andújar
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was Pablo Andújar the opponent?.It is not neccessary to use all the tables.
|
SELECT years_as_tallest FROM table_name_55 WHERE height_ft__m_ = "145 (44)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Years as tallest of the Building with a Height ft (m) of 145 (44)?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.