sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT "Area" FROM table_69717 WHERE "Name" = 'william colenso college'
CREATE TABLE INST, Here is a database schema( table schema);
Which area has a Name of william colenso college?It is not neccessary to use all the tables.
SELECT score FROM table_name_36 WHERE date = "december 5"
CREATE TABLE INST, Here is a database schema( table schema);
Name the score for december 5It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Shirt sponsor = tulip computers nv
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the team that Tulip Computers NV sponsors?.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, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight WHERE (((flight.airline_code = 'AA') OR (flight.airline_code = 'DL')) AND CITY_2.city_code = AIRPORT_SERVICE_2.ci...
CREATE TABLE INST, Here is a database schema( table schema);
show me the list of flights from DALLAS FORT WORTH to BALTIMORE on AA and DLIt is not neccessary to use all the tables.
SELECT worldwide_gross FROM table_name_38 WHERE rank = 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the Worldwide Gross of the Film with a Rank of 3?It is not neccessary to use all the tables.
SELECT position FROM table_11677691_7 WHERE school = "Saguaro High school"
CREATE TABLE INST, Here is a database schema( table schema);
Which player is from Saguaro High School?It is not neccessary to use all the tables.
SELECT Party FROM table WHERE District = Pennsylvania 10
CREATE TABLE INST, Here is a database schema( table schema);
Name the party for pennsylvania 10.It is not neccessary to use all the tables.
SELECT MIN(gold) FROM table_name_83 WHERE nation = "turkey" AND bronze < 2
CREATE TABLE INST, Here is a database schema( table schema);
What was Turkey's lowest gold when there were less than 2 bronze?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE High assists = rafer alston (8)
CREATE TABLE INST, Here is a database schema( table schema);
Can you tell me the Score that has the High assists of rafer alston (8)?.It is not neccessary to use all the tables.
SELECT period FROM table_24565004_15 WHERE position = "Attaquant"
CREATE TABLE INST, Here is a database schema( table schema);
List the number of active years for attaquant.It is not neccessary to use all the tables.
SELECT high_points FROM table_name_28 WHERE date = "december 13"
CREATE TABLE INST, Here is a database schema( table schema);
Who scored the most point on December 13?It is not neccessary to use all the tables.
SELECT pick FROM table_name_53 WHERE round > 2 AND player = "bill gramatica"
CREATE TABLE INST, Here is a database schema( table schema);
What was the pick for Bill Gramatica after round 2?It is not neccessary to use all the tables.
SELECT Superlative FROM table WHERE Actress = thelma ritter
CREATE TABLE INST, Here is a database schema( table schema);
Which award has Thelma Ritter won?.It is not neccessary to use all the tables.
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-45437')) AND DATETIME(medication.drugstarttime) >= DATETIM...
CREATE TABLE INST, Here is a database schema( table schema);
when has patient 002-45437 received a prescription for the first time since 138 months ago?It is not neccessary to use all the tables.
SELECT pets_allowed_yn, AVG(price_range) FROM HOTELS GROUP BY pets_allowed_yn
CREATE TABLE INST, Here is a database schema( table schema);
Show the average price of hotels for different pet policy.It is not neccessary to use all the tables.
SELECT novelty FROM table_name_46 WHERE authors = "zhiming" AND notes = "carcharodontosaurid"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Novelty of the dinosaur that was named by the Author Zhiming and whose Notes are "carcharodontosaurid"?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Home team score = 5.8 (38)
CREATE TABLE INST, Here is a database schema( table schema);
On what date did the home team score 5.8 (38)?.It is not neccessary to use all the tables.
SELECT county FROM table_name_17 WHERE location = "shelbyville"
CREATE TABLE INST, Here is a database schema( table schema);
Can you tell me the County that has the Location of shelbyville?It is not neccessary to use all the tables.
SELECT Label(s) FROM table WHERE Year of Release = 1994 AND Title = 與你相逢
CREATE TABLE INST, Here is a database schema( table schema);
What is the label of the album titled 與你相逢 and released in 1994?.It is not neccessary to use all the tables.
SELECT COUNT Models produced FROM table WHERE Plant = Castle Bromwich
CREATE TABLE INST, Here is a database schema( table schema);
how many models produced where the plant is castle bromwich?.It is not neccessary to use all the tables.
SELECT Scores by each individual judge FROM table WHERE Status = current AND Co-contestant (Yaar vs. Pyaar) = krushna abhishek
CREATE TABLE INST, Here is a database schema( table schema);
What Scores by each individual judge has a Status of current, and a Co-contestant (Yaar vs. Pyaar) of krushna abhishek?.It is not neccessary to use all the tables.
SELECT rank FROM table_name_14 WHERE definition = "province-level municipality"
CREATE TABLE INST, Here is a database schema( table schema);
What's the rank of the Province-Level Municipality?It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Venue = princes park
CREATE TABLE INST, Here is a database schema( table schema);
What was the home teams score when the VFL played Princes Park?.It is not neccessary to use all the tables.
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'sodium chloride 0.9% 250 ml pb' AND STRFTIME('%y', ...
CREATE TABLE INST, Here is a database schema( table schema);
since 2103, what are the top three most frequent drugs prescribed to patients within 2 months after the prescription of sodium chloride 0.9% 250 ml pb?It is not neccessary to use all the tables.
SELECT icao FROM table_name_66 WHERE airport = "luqa airport"
CREATE TABLE INST, Here is a database schema( table schema);
What is the ICAO for luqa airport?It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Production code = 319
CREATE TABLE INST, Here is a database schema( table schema);
What is the original air date of the episode with production code is 319?.It is not neccessary to use all the tables.
SELECT events FROM table_name_7 WHERE rank = 1
CREATE TABLE INST, Here is a database schema( table schema);
Which events have a Rank of 1?It is not neccessary to use all the tables.
SELECT COUNT(races) FROM table_23338693_1 WHERE season = 2012 AND podiums = 0
CREATE TABLE INST, Here is a database schema( table schema);
How many races in 2012 season have 0 podiums?It is not neccessary to use all the tables.
SELECT MAX(no_in_series) FROM table_28561455_1 WHERE directed_by = "Tom DiCillo"
CREATE TABLE INST, Here is a database schema( table schema);
What is the latest episode number that was directed by Tom Dicillo?It is not neccessary to use all the tables.
SELECT MIN December FROM table WHERE Score = 4 - 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest December, when Score is "4 - 4"?.It is not neccessary to use all the tables.
SELECT region_2 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series"
CREATE TABLE INST, Here is a database schema( table schema);
What is the region 2 for the complete fifth series?It is not neccessary to use all the tables.
SELECT name FROM table_name_51 WHERE winning_constructor = "bugatti" AND circuit = "monza"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name for the Monza circuit race were Bugatti was the winning constructor?It is not neccessary to use all the tables.
SELECT Length FROM table WHERE Writer = james swallow AND Release > 2.1
CREATE TABLE INST, Here is a database schema( table schema);
What was the length when James Swallow had a release longer than 2.1?.It is not neccessary to use all the tables.
SELECT School/Club Team FROM table WHERE Nationality = united states AND Years for Grizzlies = 1995-1996
CREATE TABLE INST, Here is a database schema( table schema);
What's the United States team that played for the Grizzlies in 1995-1996?.It is not neccessary to use all the tables.
SELECT Date of appointment FROM table WHERE Team = Liverpool AND Incoming manager = Roy Hodgson
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool?.It is not neccessary to use all the tables.
SELECT saffir_simpson_category FROM table_15416002_1 WHERE name = "Bonnie"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Saffir-Simpson category for the hurricane named Bonnie?It is not neccessary to use all the tables.
SELECT Team(s) FROM table WHERE Avg. Finish = 8.3
CREATE TABLE INST, Here is a database schema( table schema);
What team was Bodine in when he had an average finish of 8.3?.It is not neccessary to use all the tables.
SELECT pilot FROM flight GROUP BY pilot ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
which pilot is in charge of the most number of flights?It is not neccessary to use all the tables.
SELECT COUNT(laps) FROM table_name_55 WHERE driver = "jacques villeneuve" AND grid > 7
CREATE TABLE INST, Here is a database schema( table schema);
how many laps was the driver jacques villeneuve and the grid more than 7?It is not neccessary to use all the tables.
SELECT origin FROM table_name_82 WHERE owner = "hunan broadcasting system (hbs)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the origin for the item with an owner of Hunan Broadcasting System (HBS)?It is not neccessary to use all the tables.
SELECT T2.Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID ORDER BY T3.Year
CREATE TABLE INST, Here is a database schema( table schema);
Show the names of artworks in ascending order of the year they are nominated in.It is not neccessary to use all the tables.
SELECT Constructor FROM table WHERE Grid < 13 AND Laps < 9
CREATE TABLE INST, Here is a database schema( table schema);
What constructor has a grid less than 13 with under 9 laps?.It is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Date = 20 august 2008
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the competition of 20 august 2008.It is not neccessary to use all the tables.
SELECT nickname FROM table_name_63 WHERE meaning = "god knows my journey"
CREATE TABLE INST, Here is a database schema( table schema);
What nickname has the meaning of God knows my journey?It is not neccessary to use all the tables.
SELECT united_states_original_airdate FROM table_29087004_2 WHERE written_by = "Mike Ferris"
CREATE TABLE INST, Here is a database schema( table schema);
What is the original United States air date of the episode written by Mike Ferris?It is not neccessary to use all the tables.
SELECT COUNT(semifinalists) FROM table_30007505_1 WHERE rank = 19
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of semifinalists for 19 rankIt is not neccessary to use all the tables.
SELECT chromosomal_location FROM table_29871617_1 WHERE name = "IL-36β"
CREATE TABLE INST, Here is a database schema( table schema);
Where is il-36β located?It is not neccessary to use all the tables.
SELECT Evening Gown FROM table WHERE Preliminaries = 9.212
CREATE TABLE INST, Here is a database schema( table schema);
what's the evening gown with preliminaries being 9.212.It is not neccessary to use all the tables.
SELECT 9:00 FROM table WHERE 10:00 = le journal du soir
CREATE TABLE INST, Here is a database schema( table schema);
for the 10:00 of le journal du soir what is the 9:00?.It is not neccessary to use all the tables.
SELECT AVG(crowd) FROM table_name_64 WHERE away_team = "new zealand breakers" AND venue = "cairns convention centre"
CREATE TABLE INST, Here is a database schema( table schema);
what is the average crowd when the away team is new zealand breakers and the venue is cairns convention centre?It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Home team = geelong
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the other team that played Geelong?.It is not neccessary to use all the tables.
SELECT series_4 FROM table_name_70 WHERE series_1 = "sarah newman"
CREATE TABLE INST, Here is a database schema( table schema);
What is the series 4 with sarah newman in series 1?It is not neccessary to use all the tables.
SELECT AVG(Highest) AS position FROM table_name_69 WHERE album_title = "unwritten"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average high position for the album unwritten?It is not neccessary to use all the tables.
SELECT COUNT Goals for FROM table WHERE Lost > 35 AND Games < 80
CREATE TABLE INST, Here is a database schema( table schema);
How many goals have Lost larger than 35, and Games smaller than 80?.It is not neccessary to use all the tables.
SELECT Gauthier FROM table WHERE Liscumb = 15
CREATE TABLE INST, Here is a database schema( table schema);
What Gauthier had a 15 Liscumb?.It is not neccessary to use all the tables.
SELECT Year (Ceremony) FROM table WHERE Film title = Eldra
CREATE TABLE INST, Here is a database schema( table schema);
What is the year (ceremony) for the film title Eldra?.It is not neccessary to use all the tables.
SELECT MAX Percent Yes FROM table WHERE Jurisdiction = alberta AND Percent No < 60.2
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest percent of yes Alberta, which had less than 60.2 vote no, has?.It is not neccessary to use all the tables.
SELECT nation FROM table_name_19 WHERE third = "darko sovran"
CREATE TABLE INST, Here is a database schema( table schema);
In what nation did Darko Sovran place third?It is not neccessary to use all the tables.
SELECT winner FROM table_name_41 WHERE pole_position = "ben spies" AND date = "elkhart lake, wisconsin"
CREATE TABLE INST, Here is a database schema( table schema);
What is Winner when Pole Position is Ben Spies and when Date is Elkhart Lake Wisconsin?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Points > 74 AND Game = 57
CREATE TABLE INST, Here is a database schema( table schema);
What is the score when the points are larger than 74 and the game is 57?.It is not neccessary to use all the tables.
SELECT median_family_income FROM table_name_23 WHERE per_capita_income = "$24,114"
CREATE TABLE INST, Here is a database schema( table schema);
What is the median family income when the per capita is $24114?It is not neccessary to use all the tables.
SELECT Production code FROM table WHERE Written by = Paul Lieberstein
CREATE TABLE INST, Here is a database schema( table schema);
Name the production code by paul lieberstein.It is not neccessary to use all the tables.
SELECT fourth_placed FROM table_17632217_2 WHERE third_place = "Beijing Guoan" AND winners = "Dalian Wanda" AND total_wins = 4
CREATE TABLE INST, Here is a database schema( table schema);
Who was placed fourth when third was Beijing Guoan and the winner was Dalian Wanda and wins total was 4?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Winning Team = Prema Powerteam
CREATE TABLE INST, Here is a database schema( table schema);
On what date(s) was the winning team Prema Powerteam?.It is not neccessary to use all the tables.
SELECT date FROM table_name_55 WHERE opponent = "northern ireland"
CREATE TABLE INST, Here is a database schema( table schema);
When is Northern Ireland the opponent?It is not neccessary to use all the tables.
SELECT Driver FROM table WHERE Entries = 162
CREATE TABLE INST, Here is a database schema( table schema);
Which driver has 162 entries?.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM table_203_449 WHERE "notable as" = 'novelist'
CREATE TABLE INST, Here is a database schema( table schema);
how many novelists are listed ?It is not neccessary to use all the tables.
SELECT U.S. Rap FROM table WHERE Album = life in the concrete jungle
CREATE TABLE INST, Here is a database schema( table schema);
What U.S. Rap has life in the concrete jungle as the album?.It is not neccessary to use all the tables.
SELECT Language FROM table WHERE Translator = ritah meltser and amatsyah porat
CREATE TABLE INST, Here is a database schema( table schema);
What is the language for translators ritah meltser and amatsyah porat?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Year(s) won = 1991
CREATE TABLE INST, Here is a database schema( table schema);
What county won in 1991?.It is not neccessary to use all the tables.
SELECT MAX Consecutive starts FROM table WHERE Player = Jason Gildon
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest number of consecutive starts for jason gildon?.It is not neccessary to use all the tables.
SELECT nation FROM table_name_64 WHERE name = "carolina hermann / daniel hermann"
CREATE TABLE INST, Here is a database schema( table schema);
What nation are carolina hermann / daniel hermann from?It is not neccessary to use all the tables.
SELECT laps FROM table_name_49 WHERE grid = 9
CREATE TABLE INST, Here is a database schema( table schema);
How many laps for grid of 9?It is not neccessary to use all the tables.
SELECT Title FROM table WHERE Format = mono lp AND Label = pye
CREATE TABLE INST, Here is a database schema( table schema);
What is the Title of the Pye Label mono LP release?.It is not neccessary to use all the tables.
SELECT MIN(rank) FROM table_name_50 WHERE event = "2012"
CREATE TABLE INST, Here is a database schema( table schema);
What's the lowest rank of a player who played in 2012?It is not neccessary to use all the tables.
SELECT 2005 AS _2006_team FROM table_name_89 WHERE name = "phil kessel"
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2005-2006 team for player Phil Kessel?It is not neccessary to use all the tables.
SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens"
CREATE TABLE INST, Here is a database schema( table schema);
What is the time of the game after week 4 against the Baltimore Ravens?It is not neccessary to use all the tables.
SELECT School FROM table WHERE Position = quarterback
CREATE TABLE INST, Here is a database schema( table schema);
What is the School of the quarterback?.It is not neccessary to use all the tables.
SELECT Constructor FROM table WHERE Fastest Lap = nigel mansell
CREATE TABLE INST, Here is a database schema( table schema);
What is the constructor for the race with Nigel Mansell as the fastest lap?.It is not neccessary to use all the tables.
SELECT surface FROM table_name_68 WHERE year = 1996
CREATE TABLE INST, Here is a database schema( table schema);
What was the surface in 1996?It is not neccessary to use all the tables.
SELECT AVG("Total") FROM table_70829 WHERE "Finish" = 't10' AND "Country" = 'fiji'
CREATE TABLE INST, Here is a database schema( table schema);
What is the average of Fiji with t10 Finish?It is not neccessary to use all the tables.
SELECT MIN(gold) FROM table_name_16 WHERE rank = "6" AND total < 2
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the lowest gold for rank of 6 and total less than 2It is not neccessary to use all the tables.
SELECT MAX("Altitude (mslm)") FROM table_75419 WHERE "Area (km 2 )" < '13.01' AND "Population" = '74536' AND "Density (inhabitants/km 2 )" > '5869'
CREATE TABLE INST, Here is a database schema( table schema);
Which Altitude (mslm) is the highest one that has an Area (km 2) smaller than 13.01, and a Population of 74536, and a Density (inhabitants/km 2) larger than 5869?It is not neccessary to use all the tables.
SELECT MAX(no_in_season) FROM table_2618113_1 WHERE production_code = "K0104"
CREATE TABLE INST, Here is a database schema( table schema);
Which season had k0104?It is not neccessary to use all the tables.
SELECT Incumbent FROM table WHERE Candidates = Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%
CREATE TABLE INST, Here is a database schema( table schema);
Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?.It is not neccessary to use all the tables.
SELECT tournament FROM table_name_3 WHERE winning_score = −27(64 - 64 - 61 = 189)
CREATE TABLE INST, Here is a database schema( table schema);
What tournament had a winning score of −27 (64-64-61=189)?It is not neccessary to use all the tables.
SELECT chassis FROM table_21977627_1 WHERE engine = "Maserati L6s"
CREATE TABLE INST, Here is a database schema( table schema);
What chasis did the maserati l6s have?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'acute copd exacerbation' AND STRFTIME('%y', diagnosis.diagnosistime) >= '...
CREATE TABLE INST, Here is a database schema( table schema);
count the number of patients who were diagnosed with acute copd exacerbation in the same hospital encounter after they were diagnosed with anemia - anemia of chronic disease since 2105.It is not neccessary to use all the tables.
SELECT power_rpm FROM table_name_62 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750"
CREATE TABLE INST, Here is a database schema( table schema);
Name the power for when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750It is not neccessary to use all the tables.
SELECT Candidate FROM table WHERE Share of votes = 61.47%
CREATE TABLE INST, Here is a database schema( table schema);
Which candidate won 61.47% of the votes?.It is not neccessary to use all the tables.
SELECT MAX Week FROM table WHERE Date = november 18, 1951
CREATE TABLE INST, Here is a database schema( table schema);
What was the latest week that had a game on November 18, 1951?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT microbiologyevents.hadm_id FROM microbiologyevents WHERE microbiologyevents.spec_type_desc = 'bone marrow' AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year'))
CREATE TABLE INST, Here is a database schema( table schema);
how many patients in this year had a bone marrow microbiology test taken?It is not neccessary to use all the tables.
SELECT SUM Attendance FROM table WHERE Date = november 16
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of the attendance on November 16?.It is not neccessary to use all the tables.
SELECT LOCATION FROM party ORDER BY Number_of_hosts DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the location of the party with the most hosts?It is not neccessary to use all the tables.
SELECT AVG(final_rank) FROM table_name_8 WHERE lose > 10 AND point < 43
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the average final rank for loe more than 10 and point less than 43It is not neccessary to use all the tables.
SELECT race FROM table_name_81 WHERE date = "23 october"
CREATE TABLE INST, Here is a database schema( table schema);
what is the race on 23 october?It is not neccessary to use all the tables.
SELECT SUM(year) FROM table_name_77 WHERE type = "informal" AND location = "justus lipsius building, brussels" AND date = "23 may"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of Year with a Type of informal and a Location with justus lipsius building brussels and a Date with 23 may?It is not neccessary to use all the tables.
SELECT result FROM table_name_50 WHERE date = "september 1, 1996"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score on September 1 1996?It is not neccessary to use all the tables.
SELECT Catalogue FROM table WHERE Region = australia
CREATE TABLE INST, Here is a database schema( table schema);
Name the catalogue for australia.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM Posts WHERE Posts.ViewCount > 15000 AND Posts.ViewCount < 20000
CREATE TABLE INST, Here is a database schema( table schema);
select count(*) from posts where posts.ViewCount>15000 and posts.ViewCount < 20000.It is not neccessary to use all the tables.