sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT time FROM table_name_49 WHERE laps < 25 AND bike = "honda cbr1000rr" | CREATE TABLE INST, Here is a database schema( table schema); | What is the time of the honda cbr1000rr bike which has less than 25 laps?It is not neccessary to use all the tables. |
SELECT place FROM table_name_17 WHERE country = "united states" AND score = 67 - 71 = 138 | CREATE TABLE INST, Here is a database schema( table schema); | Name the Place which has a Score of 67-71=138 united states?It is not neccessary to use all the tables. |
SELECT 2001 FROM table_name_1 WHERE 1996 = "0 / 2" | CREATE TABLE INST, Here is a database schema( table schema); | What is 2001 when 1996 is "0 / 2"?It is not neccessary to use all the tables. |
SELECT result FROM table_name_68 WHERE road_team = "boston" AND date = "april 23" | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE RESULT WITH THE BOSTON ROAD TEAM ON APRIL 23?It is not neccessary to use all the tables. |
SELECT MAX("ANSI code") FROM table_1922 WHERE "Pop. (2010)" = '1858' | CREATE TABLE INST, Here is a database schema( table schema); | If the population is 1858, what is the maximum ansi code?It is not neccessary to use all the tables. |
SELECT AVG("Attendance") FROM table_14722 WHERE "Date" = 'october 12' | CREATE TABLE INST, Here is a database schema( table schema); | What was the average attendance on October 12?It is not neccessary to use all the tables. |
SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton" | CREATE TABLE INST, Here is a database schema( table schema); | Name the most performances for geoffrey fittonIt is not neccessary to use all the tables. |
SELECT COUNT(height_of_ground_station_m_) FROM table_name_35 WHERE name = "lutersee" AND height_of_mountain_station_m_ > 2398 | CREATE TABLE INST, Here is a database schema( table schema); | How much Height of ground station(m) has a Name of lutersee and a Height of mountain station(m) larger than 2398?It is not neccessary to use all the tables. |
SELECT name FROM table_name_1 WHERE lane < 3 AND nationality = "great britain" | CREATE TABLE INST, Here is a database schema( table schema); | Who was from Great Britain in lanes under number 3?It is not neccessary to use all the tables. |
SELECT _m__best_ & _fairest FROM table_name_2 WHERE president = "ray kaduck" AND _m__coach = "richard keane" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach?It is not neccessary to use all the tables. |
SELECT Time/Retired FROM table WHERE Grid = 4 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the time/retired for grid 4.It is not neccessary to use all the tables. |
SELECT MIN(first_game) FROM table_name_60 WHERE played > 11 AND lost = 12 | CREATE TABLE INST, Here is a database schema( table schema); | When was the earliest first game with 11 played and 12 games lost?It is not neccessary to use all the tables. |
SELECT trailing_party % votes FROM table_name_74 WHERE party_won = "bharatiya janta party" AND trailing_party = "indian national congress" | CREATE TABLE INST, Here is a database schema( table schema); | What is Trailing Party % Votes when Party Won is "Bharatiya Janta Party" and when Trailing Party is "Indian National Congress"?It is not neccessary to use all the tables. |
SELECT Qld Cup Premierships FROM table WHERE Team = Gold Coast Vikings | CREATE TABLE INST, Here is a database schema( table schema); | What is the QLD Cup Premierships if team is Gold Coast Vikings?.It is not neccessary to use all the tables. |
SELECT SUM Grid FROM table WHERE Driver = joão urbano | CREATE TABLE INST, Here is a database schema( table schema); | What is the grid of driver joão urbano?.It is not neccessary to use all the tables. |
SELECT demographic.admission_type, demographic.admission_location FROM demographic WHERE demographic.subject_id = "42067" | CREATE TABLE INST, Here is a database schema( table schema); | get me the type and location of admission for patient with patient id 42067.It is not neccessary to use all the tables. |
SELECT MAX Draw FROM table WHERE Competition = soviet league AND Dynamo > 34 | CREATE TABLE INST, Here is a database schema( table schema); | what is the most draw when the competition is soviet league and dynamo is more than 34?.It is not neccessary to use all the tables. |
SELECT Part 3 FROM table WHERE Part 1 = frjósa | CREATE TABLE INST, Here is a database schema( table schema); | What is Part 3, when Part 1 is "frjósa"?.It is not neccessary to use all the tables. |
SELECT AVG League Goals FROM table WHERE FA Cup Goals < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of League Goals for palyers with 0 FA Cup Goals?.It is not neccessary to use all the tables. |
SELECT SUM Score FROM table WHERE Venue = halmstad AND Year < 2002 | CREATE TABLE INST, Here is a database schema( table schema); | What was the sum of the scores before the year 2002, that had the venue of Halmstad?.It is not neccessary to use all the tables. |
SELECT middle_german___luxemburgish__ FROM table_name_58 WHERE english = "stone" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Middle German (Luxemburgish) word for stone?It is not neccessary to use all the tables. |
SELECT standing FROM table_2259285_1 WHERE goals_against = 279 | CREATE TABLE INST, Here is a database schema( table schema); | What was the standing when goal against were 279?It is not neccessary to use all the tables. |
SELECT MIN Points FROM table WHERE Goals for < 13 | CREATE TABLE INST, Here is a database schema( table schema); | What are the fewest points for goals fewer than 13?.It is not neccessary to use all the tables. |
SELECT notes FROM table_name_94 WHERE time = "6:24.21" | CREATE TABLE INST, Here is a database schema( table schema); | What are the notes with the time 6:24.21?It is not neccessary to use all the tables. |
SELECT "Place" FROM table_47346 WHERE "Player" = 'lon hinkle' | CREATE TABLE INST, Here is a database schema( table schema); | What place in Lon Hinkle in?It is not neccessary to use all the tables. |
SELECT AVG Cuts made FROM table WHERE Tournaments played > 2 AND Year = 2011 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of cuts made when there were more than 2 tournaments played in 2011?.It is not neccessary to use all the tables. |
SELECT MAX Rank FROM table WHERE Time = 1:05.14.10 | CREATE TABLE INST, Here is a database schema( table schema); | What is the best rank with a time of 1:05.14.10?.It is not neccessary to use all the tables. |
SELECT player FROM table_28628309_9 WHERE category = "3-pt field goal percentage" | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the player when the category is 3-pt field goal percentage?It is not neccessary to use all the tables. |
SELECT points_against FROM table_15607589_2 WHERE date = "November 7" | CREATE TABLE INST, Here is a database schema( table schema); | Name the points against for november 7It is not neccessary to use all the tables. |
SELECT height__cm_ FROM table_20754016_2 WHERE country = "Guatemala" | CREATE TABLE INST, Here is a database schema( table schema); | How tall is the contestant from Guatemala?It is not neccessary to use all the tables. |
SELECT date FROM table_name_52 WHERE label = "bronze" AND format = "vinyl" | CREATE TABLE INST, Here is a database schema( table schema); | What date was the bronze label in vinyl format?It is not neccessary to use all the tables. |
SELECT COUNT(attendance) FROM table_name_43 WHERE league_position = "16th" AND score_f_a = "0–3" | CREATE TABLE INST, Here is a database schema( table schema); | How many were in attendance when the league position was 16th and the score was F–A of 0–3?It is not neccessary to use all the tables. |
SELECT Director FROM table WHERE Role = john travers | CREATE TABLE INST, Here is a database schema( table schema); | Who directed the movie when John Wayne played the role of John Travers?.It is not neccessary to use all the tables. |
SELECT MIN Points FROM table WHERE Scored = 15 | CREATE TABLE INST, Here is a database schema( table schema); | How many points when 15 is scored is considered the minimum?.It is not neccessary to use all the tables. |
SELECT chinese_title FROM table_24856090_1 WHERE hk_viewers = "1.97 million" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Chinese name of the episode with 1.97 million Hong Kong viewers?It is not neccessary to use all the tables. |
SELECT U.S. viewers (millions) FROM table WHERE Production code = 214 | CREATE TABLE INST, Here is a database schema( table schema); | How many millions of people in the US saw the episode with production code 214?.It is not neccessary to use all the tables. |
SELECT country FROM table_name_35 WHERE player = "raymond floyd" | CREATE TABLE INST, Here is a database schema( table schema); | What country is player Raymond Floyd from?It is not neccessary to use all the tables. |
SELECT year_at_cu FROM table_name_8 WHERE experience < 1 AND position = "video services" | CREATE TABLE INST, Here is a database schema( table schema); | What year at CU is the person in video services with an experience less than 1?It is not neccessary to use all the tables. |
SELECT Type FROM table WHERE Quantity = 124 | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE TYPE WITH 124?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_3 WHERE against = 15 AND date = "10/11/2001" | CREATE TABLE INST, Here is a database schema( table schema); | Where was the match on 10/11/2001 against 15?It is not neccessary to use all the tables. |
SELECT HP Model FROM table WHERE # HDD = 1 AND Sides = ds | CREATE TABLE INST, Here is a database schema( table schema); | I want to know the HP model with a #HDD of 1 of sides of ds.It is not neccessary to use all the tables. |
SELECT Away team FROM table WHERE Venue = arden street oval | CREATE TABLE INST, Here is a database schema( table schema); | Who was the away team at the game held at Arden Street Oval?.It is not neccessary to use all the tables. |
SELECT AVG Total FROM table WHERE Bronze < 8 AND Silver = 3 AND Rank < 2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average total with less than 8 bronze, 3 silver, and a Rank smaller than 2?.It is not neccessary to use all the tables. |
SELECT win__percentage FROM table_name_4 WHERE losses = "48" | CREATE TABLE INST, Here is a database schema( table schema); | What percentage of wins has 48 losses?It is not neccessary to use all the tables. |
SELECT MIN Played FROM table WHERE Points > 11 AND Position = 1 AND Lost < 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest played that has points greater than 11, 1 as the position, and a loss less than 1?.It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Property = Unknown | CREATE TABLE INST, Here is a database schema( table schema); | Which chromosomes have an unknown property?.It is not neccessary to use all the tables. |
SELECT player FROM table_name_97 WHERE first_team_appearances > 1 AND first_team_goals = 32 | CREATE TABLE INST, Here is a database schema( table schema); | What player has over 1 first apperance and over 32 first team goals?It is not neccessary to use all the tables. |
SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city... | CREATE TABLE INST, Here is a database schema( table schema); | kindly give me the type of aircraft used to fly from ATLANTA to DENVERIt is not neccessary to use all the tables. |
SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4 | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the highest Gold that has the Bronze smaller than 1 and the Total larger than 4?It is not neccessary to use all the tables. |
SELECT MAX(played) FROM table_name_60 WHERE drawn < 9 AND difference = "36" AND lost > 7 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest played that has a drawn less than 9 36 as the difference with a lost greater than 7?It is not neccessary to use all the tables. |
SELECT introduced FROM table_name_64 WHERE type = "electro-diesel locomotive" | CREATE TABLE INST, Here is a database schema( table schema); | What is the year of introduction for the Electro-Diesel locomotive?It is not neccessary to use all the tables. |
SELECT gender FROM table_name_63 WHERE name = "elsthorpe school" | CREATE TABLE INST, Here is a database schema( table schema); | Name the gender for elsthorpe schoolIt is not neccessary to use all the tables. |
SELECT location_attendance FROM table_27734286_1 WHERE team = "@ Portland" | CREATE TABLE INST, Here is a database schema( table schema); | What's the location attendance of the @ portland team?It is not neccessary to use all the tables. |
SELECT High points FROM table WHERE Game = 5 | CREATE TABLE INST, Here is a database schema( table schema); | When 5 is the game who has the highest amount of points?.It is not neccessary to use all the tables. |
SELECT lightweight FROM table_name_79 WHERE information_model = "no" AND flexible = "unknown" | CREATE TABLE INST, Here is a database schema( table schema); | What is the lightweight value with no information model and the flexible value is unknown?It is not neccessary to use all the tables. |
SELECT Date to [H ] FROM table WHERE Position [F ] = defender AND Goals < 3 AND Appearances > 113 AND Date from [G ] = 1997 | CREATE TABLE INST, Here is a database schema( table schema); | What is Date to [H], when Position [F] is "Defender", when Goals is less than 3, when Appearances is greater than 113, and when Date From [G] is "1997"?.It is not neccessary to use all the tables. |
SELECT Polling firm FROM table WHERE Dates = august 2006 | CREATE TABLE INST, Here is a database schema( table schema); | Which firm conducted a poll in August 2006?.It is not neccessary to use all the tables. |
SELECT location FROM table_name_28 WHERE total_score = "149" | CREATE TABLE INST, Here is a database schema( table schema); | What's the location that has a total of 149?It is not neccessary to use all the tables. |
SELECT SUM Episode FROM table WHERE Performer 4 = chip esten AND Performer 1 = jim meskimen | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer?.It is not neccessary to use all the tables. |
SELECT Elevator FROM table WHERE Cardinalatial title = deacon of ss. sergio e bacco | CREATE TABLE INST, Here is a database schema( table schema); | Who is the elevator with the cardinalatial title of Deacon of SS. Sergio e Bacco?.It is not neccessary to use all the tables. |
SELECT location FROM table_name_49 WHERE home_team = "japan" | CREATE TABLE INST, Here is a database schema( table schema); | What was the location of the home game for Japan?It is not neccessary to use all the tables. |
WITH Questions AS (SELECT *, (SELECT SUM(A.Score) FROM Posts AS A WHERE A.ParentId = Q.Id) AS "answerscore" FROM Posts AS Q WHERE Q.PostTypeId = 1) SELECT 'All' AS "questions", ROUND(AVG(CAST(ViewCount AS FLOAT)), 0) AS "views", ROUND(AVG(CAST(AnswerCount AS FLOAT)), 2) AS "answers", ROUND(AVG(CAST(AnswerScore AS FLOAT... | CREATE TABLE INST, Here is a database schema( table schema); | SFF Top Views and Answer Score for Top ID Category Tags.It is not neccessary to use all the tables. |
SELECT SUM Pos. FROM table WHERE Make = chevrolet AND Driver = jack sprague AND Car # < 2 | CREATE TABLE INST, Here is a database schema( table schema); | Which Pos has a Make of chevrolet, and a Driver of jack sprague, and a Car # smaller than 2?.It is not neccessary to use all the tables. |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 24 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time... | CREATE TABLE INST, Here is a database schema( table schema); | i want information on flights from ATLANTA to WASHINGTON i want to leave after 1600 on wednesday or before 900 on thursdayIt is not neccessary to use all the tables. |
SELECT COUNT To par FROM table WHERE Score = 76-71-78-67=292 | CREATE TABLE INST, Here is a database schema( table schema); | What was the to par score in the match that had a score of 76-71-78-67=292?.It is not neccessary to use all the tables. |
SELECT record FROM table_21062353_1 WHERE opponent = "Florida" | CREATE TABLE INST, Here is a database schema( table schema); | What was the record of the Wildcats after playing Florida?It is not neccessary to use all the tables. |
SELECT MAX(rank) FROM table_name_76 WHERE gold = 0 AND bronze < 4 AND total = 2 AND silver > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the maximum rank when there is 0 gold and the bronze is less than 4 and the silver is greater than 1 and 2 as the total?It is not neccessary to use all the tables. |
SELECT Release date FROM table WHERE sSpec number = sr0pk(e1) | CREATE TABLE INST, Here is a database schema( table schema); | Which Release date has a sSpec number of sr0pk(e1)?.It is not neccessary to use all the tables. |
SELECT AVG Played FROM table WHERE Drawn = 4 AND Position = 9 AND Goals Against > 59 | CREATE TABLE INST, Here is a database schema( table schema); | Which Played has a Drawn of 4, and a Position of 9, and Goals Against larger than 59?.It is not neccessary to use all the tables. |
SELECT Team FROM table WHERE Rider = frank hulbert | CREATE TABLE INST, Here is a database schema( table schema); | What team is Frank Hulbert on?.It is not neccessary to use all the tables. |
SELECT Venue, COUNT(Venue) FROM workshop GROUP BY Venue ORDER BY COUNT(Venue) DESC | CREATE TABLE INST, Here is a database schema( table schema); | A bar chart shows the venue for each workshop, sort how many venue in desc order.It is not neccessary to use all the tables. |
SELECT Nation FROM table WHERE Bronze = 2 AND Rank = 9 | CREATE TABLE INST, Here is a database schema( table schema); | What nation has 2 bronze and a rank of 9?.It is not neccessary to use all the tables. |
SELECT "Finished" FROM table_19290 WHERE "Celebrity" = 'Tara Palmer-Tomkinson' | CREATE TABLE INST, Here is a database schema( table schema); | What position did Tara Palmer-Tomkinson finish?It is not neccessary to use all the tables. |
SELECT English translation FROM table WHERE Lyricist(s) = giorgos moukidis AND Original album = ena (new edition) | CREATE TABLE INST, Here is a database schema( table schema); | What is English Translation, when Lyricist(s) is "Giorgos Moukidis", and when Original Album is "Ena (New Edition)".It is not neccessary to use all the tables. |
SELECT elector FROM table_name_4 WHERE place_of_birth = "bavaria" | CREATE TABLE INST, Here is a database schema( table schema); | What Elector has the Place of Birth listed as Bavaria?It is not neccessary to use all the tables. |
SELECT game FROM table_name_71 WHERE record = "19-15" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Game with a Record of 19-15?It is not neccessary to use all the tables. |
SELECT MAX Cuts made FROM table WHERE Top-25 > 4 AND Top-5 = 1 AND Wins > 0 | CREATE TABLE INST, Here is a database schema( table schema); | Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0.It is not neccessary to use all the tables. |
SELECT Circuit FROM table WHERE Championship = sprint cup series | CREATE TABLE INST, Here is a database schema( table schema); | What circuit is the Sprint Cup series championship?.It is not neccessary to use all the tables. |
SELECT MIN(caps) FROM table_name_67 WHERE club_province = "brumbies" AND player = "alister campbell" | CREATE TABLE INST, Here is a database schema( table schema); | How many caps for alister campbell from brumbies?It is not neccessary to use all the tables. |
SELECT T1.name, T2.balance + T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T3.balance > (SELECT AVG(balance) FROM savings) | CREATE TABLE INST, Here is a database schema( table schema); | Find the names and total checking and savings balances of accounts whose savings balance is higher than the average savings balance.It is not neccessary to use all the tables. |
SELECT MAX(points) FROM table_name_77 WHERE year = 1985 AND chassis = "march 85b" | CREATE TABLE INST, Here is a database schema( table schema); | In 1985, how many points were earned by the entrant with the March 85B chassis?It is not neccessary to use all the tables. |
SELECT party FROM table_1108394_43 WHERE brooklyn = "51.0_percentage" | CREATE TABLE INST, Here is a database schema( table schema); | what's the party with brooklyn value of 51.0%It is not neccessary to use all the tables. |
SELECT 2005 FROM table WHERE 2003 = a AND 2011 = 3r | CREATE TABLE INST, Here is a database schema( table schema); | Name the 2005 for 2003 of a and 2011 of 3r.It is not neccessary to use all the tables. |
SELECT team FROM table_name_65 WHERE position = 1 | CREATE TABLE INST, Here is a database schema( table schema); | Which team had 1 position?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Game = 45 | CREATE TABLE INST, Here is a database schema( table schema); | What was the record after game 45?.It is not neccessary to use all the tables. |
SELECT power FROM table_250230_2 WHERE model = "Spirit R (Type B)" | CREATE TABLE INST, Here is a database schema( table schema); | What is the power for the Spirit R (Type B)?It is not neccessary to use all the tables. |
SELECT Chassis FROM table WHERE Entrant = team lotus AND Year > 1964 | CREATE TABLE INST, Here is a database schema( table schema); | What chassis did team lotus use after 1964?.It is not neccessary to use all the tables. |
SELECT "Total poll (%)" FROM table_17865 WHERE "For (%)" = '59,532 (54)' | CREATE TABLE INST, Here is a database schema( table schema); | List all total poll percentages when the for percentage is 59,532 (54).It is not neccessary to use all the tables. |
SELECT team FROM table_name_22 WHERE start = "33" | CREATE TABLE INST, Here is a database schema( table schema); | What team has 33 starts?It is not neccessary to use all the tables. |
SELECT Treasurer FROM table WHERE Year = 2008 | CREATE TABLE INST, Here is a database schema( table schema); | Who was treasurer in 2008?.It is not neccessary to use all the tables. |
SELECT MAX No. in series FROM table WHERE No. in season = 15 | CREATE TABLE INST, Here is a database schema( table schema); | When 15 is the number in season what is the highest number in series?.It is not neccessary to use all the tables. |
SELECT date FROM table_1140117_5 WHERE race_name = "XII Pau Grand Prix" | CREATE TABLE INST, Here is a database schema( table schema); | Which date did the race name XII Pau Grand Prix take place on?It is not neccessary to use all the tables. |
SELECT COUNT("Season #") FROM table_1569 WHERE "Title" = 'Grumpy Old Bees' | CREATE TABLE INST, Here is a database schema( table schema); | Which season had the 'grumpy old bees' episodes?It is not neccessary to use all the tables. |
SELECT AVG(loses) FROM table_name_40 WHERE draws < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What average Loses has Draws less than 0?It is not neccessary to use all the tables. |
SELECT Tournament FROM table WHERE Events > 11 AND Top-5 = 0 AND Top-25 = 2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the tournament with 11 or more events a top-5 of 0 and a top-25 of 2?.It is not neccessary to use all the tables. |
SELECT record FROM table_name_38 WHERE opponent = "denver broncos" | CREATE TABLE INST, Here is a database schema( table schema); | Who won when the Patriots played the Denver Broncos?It is not neccessary to use all the tables. |
SELECT 1 AS st_leg FROM table_name_98 WHERE champion = "sakalai" | CREATE TABLE INST, Here is a database schema( table schema); | what team was the 1st leg champion of sakalaiIt is not neccessary to use all the tables. |
SELECT Length FROM table WHERE Stage = ss6 | CREATE TABLE INST, Here is a database schema( table schema); | Name the length for stage of ss6.It is not neccessary to use all the tables. |
SELECT competition FROM table_name_86 WHERE season = "2002–03" AND opponent = "zenit st. petersburg" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Competition for Season 2002–03 and the Opponent was zenit st. petersburg?It is not neccessary to use all the tables. |
SELECT City FROM table WHERE Rank < 8 AND First < 1980 AND Last > 1960 AND School = highland | CREATE TABLE INST, Here is a database schema( table schema); | What city is the School, Highland, in that ranks less than 8 and had its first title before 1980 and its last title later than 1960?.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.