sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT length FROM table_name_62 WHERE expected_start_of_revenue_services > 2017
CREATE TABLE INST, Here is a database schema( table schema);
What is the length when the expected start of revenue is more than 2017?It is not neccessary to use all the tables.
SELECT AVG ERP W FROM table WHERE Call sign = k207bk
CREATE TABLE INST, Here is a database schema( table schema);
What is the average ERP W for callsign K207BK?.It is not neccessary to use all the tables.
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-37499')) AND vitalperiodic.sao2 BETWEEN sao2_lower AND sao2_upper AND NOT vitalperiodic.sao2 IS NULL AND DATETIME(vitalperiodic.observationtime) >= DATETIME(CURRENT_TIME(), '-182 day')
CREATE TABLE INST, Here is a database schema( table schema);
has patient 010-37499's sao2 been normal since 182 days ago?It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Date = 1987 AND Surface = clay
CREATE TABLE INST, Here is a database schema( table schema);
Where was the tournament that happened in 1987 on a clay surface?.It is not neccessary to use all the tables.
SELECT MIN Long FROM table WHERE Avg/G > -2.2 AND Name = total AND Gain > 2,488
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488?.It is not neccessary to use all the tables.
SELECT T1.company_name FROM third_party_companies AS T1 JOIN maintenance_contracts AS T2 ON T1.company_id = T2.maintenance_contract_company_id JOIN Ref_Company_Types AS T3 ON T1.company_type_code = T3.company_type_code ORDER BY T2.contract_end_date DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the description of the type of the company who concluded its contracts most recently?It is not neccessary to use all the tables.
SELECT North America FROM table WHERE Japan = january 23, 2013
CREATE TABLE INST, Here is a database schema( table schema);
Tell me north america for january 23, 2013.It is not neccessary to use all the tables.
SELECT 2010 FROM table_name_19 WHERE 2009 = "0" AND tournament = "finals"
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0 AND FINALS TOURNAMENT?It is not neccessary to use all the tables.
SELECT MIN(production_code) FROM table_25691838_8 WHERE original_airdate = "August 11"
CREATE TABLE INST, Here is a database schema( table schema);
What was the smallest production code for August 11's original episode?It is not neccessary to use all the tables.
SELECT location FROM table_name_61 WHERE leagues = "a1 women's - handball"
CREATE TABLE INST, Here is a database schema( table schema);
What is the location of a1 women's - handball?It is not neccessary to use all the tables.
SELECT Visiting Team FROM table WHERE Host Team = dallas cowboys
CREATE TABLE INST, Here is a database schema( table schema);
Who was the visiting team in the game against the Dallas Cowboys?.It is not neccessary to use all the tables.
SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Turkey%' ORDER BY Reputation DESC LIMIT 250
CREATE TABLE INST, Here is a database schema( table schema);
TOP 250 users from The Netherlands.It is not neccessary to use all the tables.
SELECT Charity FROM table WHERE Occupation = Actor and Singer
CREATE TABLE INST, Here is a database schema( table schema);
What is the charity for the celebrity with an occupation title of actor and singer?.It is not neccessary to use all the tables.
SELECT Director FROM table WHERE Rank > 1 AND Studio = universal AND Gross = $201,957,688
CREATE TABLE INST, Here is a database schema( table schema);
What director ranked higher than 1 from Universal Studios and grossed $201,957,688?.It is not neccessary to use all the tables.
SELECT constructor FROM table_name_64 WHERE grid < 21 AND time_retired = "engine"
CREATE TABLE INST, Here is a database schema( table schema);
What constructor has a grid less than 21 and time/retired of engine?It is not neccessary to use all the tables.
SELECT "Record" FROM table_55875 WHERE "Opponent" = 'giants' AND "Date" = 'may 12'
CREATE TABLE INST, Here is a database schema( table schema);
What is the team's record on may 12 when they play the giants?It is not neccessary to use all the tables.
SELECT COUNT(date_released) FROM table_17798548_4 WHERE season = "The Complete 4th Series"
CREATE TABLE INST, Here is a database schema( table schema);
On how many dates was the complete 4th series released?It is not neccessary to use all the tables.
SELECT Director FROM table WHERE Original title = Biola tak berdawai
CREATE TABLE INST, Here is a database schema( table schema);
Who is the director of the fimm Biola Tak Berdawai?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Result = 16-0
CREATE TABLE INST, Here is a database schema( table schema);
What is Date, when Result is 16-0?.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 = "ELECTIVE" AND prescriptions.formulary_drug_cd = "WARF25"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients whose drug code is warf25 had elective admission type?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Country = fiji
CREATE TABLE INST, Here is a database schema( table schema);
Name the player for fiji.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Wheels = 279
CREATE TABLE INST, Here is a database schema( table schema);
What is the date of the 279 wheels?.It is not neccessary to use all the tables.
SELECT date FROM table_16387700_1 WHERE away_team = "Richmond"
CREATE TABLE INST, Here is a database schema( table schema);
Name the date for richmondIt is not neccessary to use all the tables.
SELECT Latitude FROM table WHERE Name = Philae Sulcus
CREATE TABLE INST, Here is a database schema( table schema);
Philae Sulcus has a latitude of what?.It is not neccessary to use all the tables.
SELECT COUNT(year) FROM table_name_10 WHERE issue_price > 15.95 AND special_notes = "from edmonton oilers gift set"
CREATE TABLE INST, Here is a database schema( table schema);
What year has an issue price over 15.95 and a special notes from edmonton oilers gift set?It is not neccessary to use all the tables.
SELECT MAX(wins) FROM table_name_74 WHERE cuts_made < 6 AND events = 4 AND top_5 < 0
CREATE TABLE INST, Here is a database schema( table schema);
What are the highest wins with cuts smaller than 6 events of 4 and a top-5 smaller than 0?It is not neccessary to use all the tables.
SELECT game FROM table_name_87 WHERE april = 6
CREATE TABLE INST, Here is a database schema( table schema);
Which game took place April 6?It is not neccessary to use all the tables.
SELECT AVG(points) FROM table_name_6 WHERE team = "newman/haas racing" AND laps < 40
CREATE TABLE INST, Here is a database schema( table schema);
How many points for Newman/Haas Racing with fewer than 40 laps?It is not neccessary to use all the tables.
SELECT COUNT(original_air_date) FROM table_27988559_1 WHERE production_code = 804
CREATE TABLE INST, Here is a database schema( table schema);
How many dates did the episode with a production code of 804 originally air on?It is not neccessary to use all the tables.
SELECT "Date" FROM table_70161 WHERE "Opponent" = '@mil' AND "Record" = '45-16'
CREATE TABLE INST, Here is a database schema( table schema);
Opponent of @mil, and a Record of 45-16 happened on what date?It is not neccessary to use all the tables.
SELECT COUNT(new_conference) FROM table_26476336_2 WHERE new_classification = "NCLL Deep South Conference"
CREATE TABLE INST, Here is a database schema( table schema);
How many new conferences are in the NCLL deep south conference?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Class B Winner = Alan Hutcheson AND Round = 1
CREATE TABLE INST, Here is a database schema( table schema);
When did Alan Hutcheson won Class B on round 1?.It is not neccessary to use all the tables.
SELECT District FROM table WHERE Result = re-elected AND First elected = 1898
CREATE TABLE INST, Here is a database schema( table schema);
Which District has a Result of Re-elected and a First Elected of 1898?.It is not neccessary to use all the tables.
SELECT Description, COUNT(Description) FROM aircraft GROUP BY Description ORDER BY Description DESC
CREATE TABLE INST, Here is a database schema( table schema);
Draw a bar chart of description versus the number of description, show by the x-axis in descending.It is not neccessary to use all the tables.
SELECT Incumbent FROM table WHERE Opponent = Peter King (R) 56.0% David Mejias (D) 44.0%
CREATE TABLE INST, Here is a database schema( table schema);
who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0%.It is not neccessary to use all the tables.
SELECT high_assists FROM table_27882867_9 WHERE team = "Indiana"
CREATE TABLE INST, Here is a database schema( table schema);
Who had the high assists when the opponent was Indiana?It is not neccessary to use all the tables.
SELECT Religion FROM table WHERE Para = 56.5%
CREATE TABLE INST, Here is a database schema( table schema);
What religion has a para of 56.5%?.It is not neccessary to use all the tables.
SELECT All_Home, SUM(Team_ID) FROM basketball_match GROUP BY All_Home
CREATE TABLE INST, Here is a database schema( table schema);
Visualize a bar chart about the distribution of All_Home and the sum of Team_ID , and group by attribute All_Home.It is not neccessary to use all the tables.
SELECT Label FROM table WHERE Date of release = 1991
CREATE TABLE INST, Here is a database schema( table schema);
WHAT LABEL HAD A RELEASE DATE OF 1991?.It is not neccessary to use all the tables.
SELECT AVG(goals_for) FROM table_name_37 WHERE playoffs = "lost in round 2" AND games < 81
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Goals when Playoffs is Lost in Round 2 and when Games is less than 81?It is not neccessary to use all the tables.
SELECT result FROM table_name_69 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 round FROM table_name_39 WHERE competition = "uefa cup" AND club = "kolkheti-1913 poti"
CREATE TABLE INST, Here is a database schema( table schema);
Which round is the UEFA Cup Compeition and the Kolkheti-1913 Poti Cub?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 INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "5187" AND prescriptions.route = "NU"
CREATE TABLE INST, Here is a database schema( table schema);
what is the number of patients whose procedure icd9 code is 5187 and drug route is nu?It is not neccessary to use all the tables.
SELECT date FROM table_11622392_1 WHERE location = "Washington"
CREATE TABLE INST, Here is a database schema( table schema);
When was the tournament in Washington held?It is not neccessary to use all the tables.
SELECT japanese FROM table_name_28 WHERE chinese = "叉焼"
CREATE TABLE INST, Here is a database schema( table schema);
What are the Japanese characters for the Chinese word 叉焼?It is not neccessary to use all the tables.
SELECT Season FROM table WHERE Points < 16 AND Losses = 18
CREATE TABLE INST, Here is a database schema( table schema);
Which season did the Burnaby Lakers have less than 16 points and less than 18 losses?.It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Result = win AND Opponent = johan mparmpagiannis
CREATE TABLE INST, Here is a database schema( table schema);
What is the location for the win against Johan Mparmpagiannis?.It is not neccessary to use all the tables.
SELECT Circuit FROM table WHERE Date = 4 May
CREATE TABLE INST, Here is a database schema( table schema);
What circuit was on the date 4 May?.It is not neccessary to use all the tables.
SELECT depth FROM table_24518475_1 WHERE time__utc_ = "18:00:22"
CREATE TABLE INST, Here is a database schema( table schema);
What is the depth of the aftershock at 18:00:22?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Where sunk = east china sea AND Ship type = hell ship
CREATE TABLE INST, Here is a database schema( table schema);
What is the date that a hell ship sunk in the East China Sea?.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 = "WHITE - RUSSIAN" AND procedures.short_title = "Oth uni salpingo-oophor"
CREATE TABLE INST, Here is a database schema( table schema);
how many white russians had the procedure short title oth uni salpingo-oophor?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Opponent = marcos daniel
CREATE TABLE INST, Here is a database schema( table schema);
What date was marcos daniel the opponent?.It is not neccessary to use all the tables.
SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3403) AND prescriptions.drug = 'prismasate (b22 k4)' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', prescriptions.startdate) = '07'
CREATE TABLE INST, Here is a database schema( table schema);
tell me the total dose of prismasate (b22 k4) prescribed to patient 3403 in 07/this year?It is not neccessary to use all the tables.
SELECT Third Place FROM table WHERE Winner = thomas enqvist AND Runner-up = guy forget
CREATE TABLE INST, Here is a database schema( table schema);
What person is in the third place when Thomas Enqvist won and a Runner-up was guy forget?.It is not neccessary to use all the tables.
SELECT Time FROM table WHERE Nationality = russia AND Heat > 3
CREATE TABLE INST, Here is a database schema( table schema);
What is Russia's time with a heat higher than 3?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "ROMANIAN EAST. ORTH"
CREATE TABLE INST, Here is a database schema( table schema);
count the number of patients whose religion is romanian east. orth.It is not neccessary to use all the tables.
SELECT winning_team FROM table_name_1 WHERE round = "3"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the winning team for round 3?It is not neccessary to use all the tables.
SELECT COUNT Report FROM table WHERE Date = July 23
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number for report july 23.It is not neccessary to use all the tables.
SELECT COUNT(year) FROM table_name_86 WHERE position = "2nd"
CREATE TABLE INST, Here is a database schema( table schema);
How many years have a position of 2nd?It is not neccessary to use all the tables.
SELECT COUNT Directed by FROM table WHERE Episode # = 3
CREATE TABLE INST, Here is a database schema( table schema);
How many directors did Episode #3 have.It is not neccessary to use all the tables.
SELECT Tie no FROM table WHERE Away team = scunthorpe united
CREATE TABLE INST, Here is a database schema( table schema);
What is the tie no when scunthorpe united was the away team?.It is not neccessary to use all the tables.
SELECT original_air_date FROM table_18367694_2 WHERE production_code = 1115
CREATE TABLE INST, Here is a database schema( table schema);
What is the original air date of the episode with the production code 1115?It is not neccessary to use all the tables.
SELECT fourth_place FROM table_name_58 WHERE year = 1978
CREATE TABLE INST, Here is a database schema( table schema);
What is the Fourth place with a Year that is 1978?It is not neccessary to use all the tables.
SELECT location FROM table_name_95 WHERE name_in_malay = "kolej kemahiran belia nasional, pontian"
CREATE TABLE INST, Here is a database schema( table schema);
What is the location of the institution whose name in Malay is kolej kemahiran belia nasional pontian?It is not neccessary to use all the tables.
SELECT COUNT("Details") FROM table_24186 WHERE "Station" = 'Emlyn Road'
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of details for emlyn roadIt is not neccessary to use all the tables.
SELECT Coach FROM table WHERE Big Ten = 1st (148)
CREATE TABLE INST, Here is a database schema( table schema);
What is the Coach with a Big Ten that is 1st (148)?.It is not neccessary to use all the tables.
SELECT Height FROM table WHERE Contestant = Alexandra Díaz Bello
CREATE TABLE INST, Here is a database schema( table schema);
How tall is contestant Alexandra Díaz Bello?.It is not neccessary to use all the tables.
SELECT COUNT Opponent FROM table WHERE Record = 1-3
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of opponents for the game recorded as 1-3?.It is not neccessary to use all the tables.
SELECT COUNT(author_s__or_editor_s_) FROM table_20193855_2 WHERE book_title = "Elf Child"
CREATE TABLE INST, Here is a database schema( table schema);
How many authors or editors are there for the book title elf child?It is not neccessary to use all the tables.
SELECT venue FROM table_name_23 WHERE away_team = "north melbourne"
CREATE TABLE INST, Here is a database schema( table schema);
Where did north melbourne play while away?It is not neccessary to use all the tables.
SELECT MIN(city_population__2009_) FROM table_name_15 WHERE city_area_km_2__ = 6 AND district = "rajanpur district" AND serial_no < 29
CREATE TABLE INST, Here is a database schema( table schema);
What was the lowest city population for the district of rajanpur district with a area of 6 km squared and a serial number less than 29?It is not neccessary to use all the tables.
SELECT chassis FROM table_28190534_1 WHERE driver = "B. Bira"
CREATE TABLE INST, Here is a database schema( table schema);
Name the chassis for b. biraIt is not neccessary to use all the tables.
SELECT COUNT(swimsuit) FROM table_name_98 WHERE preliminary = 8.721 AND average > 8.781
CREATE TABLE INST, Here is a database schema( table schema);
What is the swimsuit number when the preliminary is 8.721 and the average is more than 8.781?It is not neccessary to use all the tables.
SELECT MAX(time) FROM table_name_89 WHERE year = 1991 AND event = "4x100 m relay"
CREATE TABLE INST, Here is a database schema( table schema);
What is the greatest Time with a Year of 1991 and Event of 4x100 m relay?It is not neccessary to use all the tables.
SELECT reverse FROM table_298883_5 WHERE value = "₩100"
CREATE TABLE INST, Here is a database schema( table schema);
What is on the reverse side of the ₩100 coin?It is not neccessary to use all the tables.
SELECT 2008 FROM table WHERE 2010 = 7
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2008 value with a 7 in 2010?.It is not neccessary to use all the tables.
SELECT outputevents.charttime FROM outputevents WHERE outputevents.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 icustays.outtime IS NULL) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'urine out foley' AND d_items.linksto = 'outputevents') ORDER BY outputevents.charttime DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
when did patient 18866 last have a urine out foley event on the current icu visit?It is not neccessary to use all the tables.
SELECT 3rd stage FROM table WHERE 1st stage = 5,443kg
CREATE TABLE INST, Here is a database schema( table schema);
What is the third stage that has the first phase of 5,443kg?.It is not neccessary to use all the tables.
SELECT Department FROM table WHERE Local Investment (US$) = 626,798
CREATE TABLE INST, Here is a database schema( table schema);
What was the department that got $626,798 in local investments?.It is not neccessary to use all the tables.
SELECT AVG Crowd FROM table WHERE Away team = north melbourne
CREATE TABLE INST, Here is a database schema( table schema);
What was the attendance when North Melbourne was the away team?.It is not neccessary to use all the tables.
SELECT competition FROM table_name_6 WHERE 2010 = "dnp"
CREATE TABLE INST, Here is a database schema( table schema);
Name the competition of 2010 of dnpIt is not neccessary to use all the tables.
SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE _percentage_renewable = "92.3%"
CREATE TABLE INST, Here is a database schema( table schema);
How many data was given the total electricity in GW-h if % renewable is 92.3%?It is not neccessary to use all the tables.
SELECT Club FROM table WHERE Tries for = 100
CREATE TABLE INST, Here is a database schema( table schema);
what is the club that as 100 tries?.It is not neccessary to use all the tables.
SELECT MAX Goals FROM table WHERE Tries < 1 AND Position = fullback
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the highest goals with tries less than 1 and fullback position.It is not neccessary to use all the tables.
SELECT Complement FROM table WHERE Killed = 0 off 3 men AND Wounded = 0 off 2 men
CREATE TABLE INST, Here is a database schema( table schema);
What was the complement associated with 0 off 3 men killed and 0 off 2 men wounded?.It is not neccessary to use all the tables.
SELECT region FROM table_name_70 WHERE area__km²_ = "14,037"
CREATE TABLE INST, Here is a database schema( table schema);
Which Region has an area of 14037km²?It is not neccessary to use all the tables.
SELECT count(*) FROM football_data WHERE B365H > PSH
CREATE TABLE INST, Here is a database schema( betfront);
How many matches did Bet365 gives higher home win odds than Pinnacle?. It is not neccessary to use all the tables.
SELECT place FROM table_name_99 WHERE country = "south africa"
CREATE TABLE INST, Here is a database schema( table schema);
What place is South Africa?It is not neccessary to use all the tables.
SELECT quarterback FROM table_14389782_2 WHERE winning_pct = ".792"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the quarter back for a winning pct of .792It is not neccessary to use all the tables.
SELECT Event FROM table WHERE Opponent = toa naketoatama
CREATE TABLE INST, Here is a database schema( table schema);
Which event has Toa Naketoatama as an opponent?.It is not neccessary to use all the tables.
SELECT nickname FROM table_name_8 WHERE established = 2009
CREATE TABLE INST, Here is a database schema( table schema);
What is the nickname of the school established in 2009?It is not neccessary to use all the tables.
SELECT COUNT Pop./ km² FROM table WHERE Administrative centre = Egilsstaðir
CREATE TABLE INST, Here is a database schema( table schema);
when administrative centre is egilsstaðir, what is the pop./ km²?.It is not neccessary to use all the tables.
SELECT Quarterback FROM table WHERE Winning Pct. = .792
CREATE TABLE INST, Here is a database schema( table schema);
Who is the quarter back for a winning pct of .792.It is not neccessary to use all the tables.
SELECT name FROM table_name_50 WHERE nationality = "ukraine" AND 193 = "xxo"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name for the play from the Ukraine and a 1.93 xxo?It is not neccessary to use all the tables.
SELECT MAX(isolation__km_) FROM table_name_61 WHERE elevation__m_ < 1320 AND municipality = "hinnøya"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Isolation (km) when the elevation was smaller than 1320 and a Municipality of hinnøya?It is not neccessary to use all the tables.
SELECT Language FROM table WHERE Content = tematico AND Package/Option = sky tv AND Television service = fox crime
CREATE TABLE INST, Here is a database schema( table schema);
What language is the Tematico content with a sky tv package, and Fox Crime television service?.It is not neccessary to use all the tables.
SELECT Earth FROM table WHERE Metal = west
CREATE TABLE INST, Here is a database schema( table schema);
Which earth has west metal?.It is not neccessary to use all the tables.
SELECT COUNT("competition") FROM table_204_880 WHERE "venue" = 'beijing'
CREATE TABLE INST, Here is a database schema( table schema);
how many marathons were held in beijing ?It is not neccessary to use all the tables.
SELECT court_surface FROM table_name_47 WHERE tournament = "paris masters"
CREATE TABLE INST, Here is a database schema( table schema);
what is the court surface when the tournament is paris masters?It is not neccessary to use all the tables.
SELECT distance FROM table_name_59 WHERE date = "saturday, august 23"
CREATE TABLE INST, Here is a database schema( table schema);
What was the distance of the race on saturday august 23?It is not neccessary to use all the tables.