sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT MIN Money ( $ ) FROM table WHERE Country = united states AND Player = kirk triplett | CREATE TABLE INST, Here is a database schema( table schema); | what is the least money ($) when the country is united states and the player is kirk triplett?.It is not neccessary to use all the tables. |
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'granular casts') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 60136 AND admissions.dischtime IS NULL) | CREATE TABLE INST, Here is a database schema( table schema); | patient 60136 has been tested for granular casts in this hospital encounter?It is not neccessary to use all the tables. |
SELECT MIN("Episodes") FROM table_23043 | CREATE TABLE INST, Here is a database schema( table schema); | What was the minimum number of episodes in any of the series?It is not neccessary to use all the tables. |
SELECT 2nd leg FROM table WHERE Team 1 = servette | CREATE TABLE INST, Here is a database schema( table schema); | What is the second leg for Team 1 Servette?.It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_6 WHERE tie_no = "2" | CREATE TABLE INST, Here is a database schema( table schema); | What is the away team with a 2 tie no.?It is not neccessary to use all the tables. |
SELECT title_rank FROM table_name_24 WHERE series = "1-8, 13" AND character = "arthur hastings" | CREATE TABLE INST, Here is a database schema( table schema); | What is the title rank of the actor who played the character of arthur hastings during series 1-8 13?It is not neccessary to use all the tables. |
SELECT Home captain FROM table WHERE Venue = oval | CREATE TABLE INST, Here is a database schema( table schema); | Who was the Home captain that played at the venue Oval?.It is not neccessary to use all the tables. |
SELECT Species common name FROM table WHERE Species = Felis catus | CREATE TABLE INST, Here is a database schema( table schema); | What is the common name for the Felis Catus species?.It is not neccessary to use all the tables. |
SELECT AVG(began_operation) FROM table_name_12 WHERE length__km_ = "ampang" AND stations > 27 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average operation beginning with a length of ampang and over 27 stations?It is not neccessary to use all the tables. |
SELECT result FROM table_name_31 WHERE record = "7-0-0" | CREATE TABLE INST, Here is a database schema( table schema); | What was the result of the match held when his record was 7-0-0?It is not neccessary to use all the tables. |
SELECT COUNT Overall FROM table WHERE Name = bob anderson | CREATE TABLE INST, Here is a database schema( table schema); | How much Overall has a Name of bob anderson?.It is not neccessary to use all the tables. |
SELECT Constituency FROM table WHERE Electorate = 54787 | CREATE TABLE INST, Here is a database schema( table schema); | which electorate is 54787 of the constituency.It is not neccessary to use all the tables. |
SELECT engine_type___cyl FROM table_name_14 WHERE wheelbase_in = "127" AND year = "1915" | CREATE TABLE INST, Here is a database schema( table schema); | What is the engine type with a wheelbase of 127 inches in 1915?It is not neccessary to use all the tables. |
SELECT catalog FROM table_name_79 WHERE format = "cd reissue" AND label = "universal" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Catalog number of the CD Reissue Universal release?It is not neccessary to use all the tables. |
SELECT cerclis_id FROM table_name_98 WHERE listed = "09/08/1983" AND name = "marshall landfill" | CREATE TABLE INST, Here is a database schema( table schema); | What is the ID of marshall landfill on 09/08/1983?It is not neccessary to use all the tables. |
SELECT Opponents FROM table WHERE Record = 3-0 | CREATE TABLE INST, Here is a database schema( table schema); | Who are the opponents with a record of 3-0?.It is not neccessary to use all the tables. |
SELECT party FROM table_name_79 WHERE member = "ralph jacobi" | CREATE TABLE INST, Here is a database schema( table schema); | To what party does Ralph Jacobi belong?It is not neccessary to use all the tables. |
SELECT steals FROM table_24908692_5 WHERE player = "Tamika Williams" | CREATE TABLE INST, Here is a database schema( table schema); | How many steals did Tamika Williams have?It is not neccessary to use all the tables. |
SELECT Year FROM table WHERE Artist = royal canadian mint staff | CREATE TABLE INST, Here is a database schema( table schema); | Which year did the Royal Canadian Mint Staff create a silver dollar?.It is not neccessary to use all the tables. |
SELECT SUM(average) FROM table_name_86 WHERE swimsuit < 9.32 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average of the contestant with a swimsuit less than 9.32?It is not neccessary to use all the tables. |
SELECT MAX(2010) FROM table_name_62 WHERE code__iata_icao_ = "otp/lrop" | CREATE TABLE INST, Here is a database schema( table schema); | What was the value in 2010 for the airport coded OTP/LROP?It is not neccessary to use all the tables. |
SELECT site FROM table_name_44 WHERE date = "october 7" | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE SITE ON OCTOBER 7?It is not neccessary to use all the tables. |
SELECT "Winners" FROM table_15300 WHERE "Not winning editions" = '1992, 2003' | CREATE TABLE INST, Here is a database schema( table schema); | Who is Winners that has editions of 1992, 2003 as Not WinningIt is not neccessary to use all the tables. |
SELECT COUNT Time FROM table WHERE Swimmer = luke hall AND Overall Rank > 105 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the total number of time for luke hall overall rank being larger than 105.It is not neccessary to use all the tables. |
SELECT Soviet Unit FROM table WHERE Enemy Aircraft = bf.109g-2 "yellow 2" | CREATE TABLE INST, Here is a database schema( table schema); | What was the Soviet Unit when the Enemy Aircraft was bf.109g-2 "yellow 2"?.It is not neccessary to use all the tables. |
SELECT Seasons and Winners FROM table WHERE Premiere = 28 January 2007 | CREATE TABLE INST, Here is a database schema( table schema); | Name the seasons and winners that airs 28 january 2007.It is not neccessary to use all the tables. |
SELECT AVG(cuts_made) FROM table_name_31 WHERE top_5 = 1 AND wins < 0 | CREATE TABLE INST, Here is a database schema( table schema); | When the wins are less than 0 and the Top-5 1 what is the average cuts?It is not neccessary to use all the tables. |
SELECT Explanation FROM table WHERE Rank by time in office = 10 | CREATE TABLE INST, Here is a database schema( table schema); | Name the explanation by rank is 10.It is not neccessary to use all the tables. |
SELECT MAX Year FROM table WHERE Result = won | CREATE TABLE INST, Here is a database schema( table schema); | What was the latest year that resulted in won?.It is not neccessary to use all the tables. |
SELECT Outcome FROM table WHERE Date = may 5, 2012 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Outcome with a Date that is may 5, 2012?.It is not neccessary to use all the tables. |
SELECT AVG Crowd FROM table WHERE Home team = melbourne | CREATE TABLE INST, Here is a database schema( table schema); | What was the crowd when Melbourne was the home team?.It is not neccessary to use all the tables. |
SELECT conference_joined FROM table_name_5 WHERE city = "valparaiso" | CREATE TABLE INST, Here is a database schema( table schema); | What conference did the city of Valparaiso join?It is not neccessary to use all the tables. |
SELECT Athlete FROM table WHERE Rank = 7 | CREATE TABLE INST, Here is a database schema( table schema); | Name the athlete for 7 rank.It is not neccessary to use all the tables. |
SELECT AIRPORTNAME FROM table WHERE CITY / TOWN = são filipe AND IATA = sfl | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the airport in São Filipe that has an IATA of sfl?.It is not neccessary to use all the tables. |
SELECT SUM(byes) FROM table_name_13 WHERE against < 737 | CREATE TABLE INST, Here is a database schema( table schema); | How many byes were then when there were less than 737 against?It is not neccessary to use all the tables. |
SELECT MAX Round1 FROM table WHERE Total points = 132 | CREATE TABLE INST, Here is a database schema( table schema); | How many points did the team who had 132 total points have in round 1? .It is not neccessary to use all the tables. |
SELECT weblink FROM table_name_85 WHERE college_or_campus_name = "anna university college of engineering kanchipuram" | CREATE TABLE INST, Here is a database schema( table schema); | What Weblink has a College or Campus Name of anna university college of engineering kanchipuram?It is not neccessary to use all the tables. |
SELECT tries_against FROM table_name_1 WHERE played = "22" AND points_against = "784" | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE TRIES AGAINST WITH PLAYED 22 POINTS AGAINST 784?It is not neccessary to use all the tables. |
SELECT Away team FROM table WHERE Venue = junction oval | CREATE TABLE INST, Here is a database schema( table schema); | who is the away team when played at junction oval?.It is not neccessary to use all the tables. |
SELECT Goals Conceded (GC) FROM table WHERE Lost (PP) = 7 AND Team (Equipo) = chepo f.c. | CREATE TABLE INST, Here is a database schema( table schema); | How many goals were conceded against the Chepo F.C. team where they lost 7 games?.It is not neccessary to use all the tables. |
SELECT SUM(goals) FROM table_name_36 WHERE name = "johan cruyff" AND rank < 3 | CREATE TABLE INST, Here is a database schema( table schema); | How many goals were there for Johan Cruyff when the rank's less than 3?It is not neccessary to use all the tables. |
SELECT country FROM table_name_99 WHERE date = "december 8, 1968" | CREATE TABLE INST, Here is a database schema( table schema); | What was the nationality of the winner on December 8 1968?It is not neccessary to use all the tables. |
SELECT COUNT(womens_doubles) FROM table_28138035_6 WHERE womens_singles = "Li Ju" AND mens_singles = "Wang Liqin" | CREATE TABLE INST, Here is a database schema( table schema); | How many times did li ju win the womens singles and wang liqin win the mens singles?It is not neccessary to use all the tables. |
SELECT Candidates FROM table WHERE District = Louisiana 3 | CREATE TABLE INST, Here is a database schema( table schema); | who is the candidate where district is louisiana 3?.It is not neccessary to use all the tables. |
SELECT AVG("Points") FROM table_75198 WHERE "Touchdowns" = '4' AND "Field goals" > '0' | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of points for players with 4 touchdowns and more than 0 field goals?It is not neccessary to use all the tables. |
SELECT Season no. FROM table WHERE Title = "The Consoler" | CREATE TABLE INST, Here is a database schema( table schema); | What are the episode numbers in season that were titled "The Consoler"?.It is not neccessary to use all the tables. |
SELECT Rank FROM table WHERE Silver = 0 AND Gold < 2 AND Nation = turkmenistan | CREATE TABLE INST, Here is a database schema( table schema); | What rank is Turkmenistan, who had 0 silver's and Less than 2 golds?.It is not neccessary to use all the tables. |
SELECT Status FROM table WHERE Name = anas cheuen | CREATE TABLE INST, Here is a database schema( table schema); | What is the Status with a Name that is anas cheuen?.It is not neccessary to use all the tables. |
SELECT Median household income FROM table WHERE County = cape girardeau | CREATE TABLE INST, Here is a database schema( table schema); | What is the median household income for Cape Girardeau?.It is not neccessary to use all the tables. |
SELECT "Opponent" FROM table_79727 WHERE "Loss" = 'mccaskill (9-11)' | CREATE TABLE INST, Here is a database schema( table schema); | What opponent has a loss of McCaskill (9-11)?It is not neccessary to use all the tables. |
SELECT COUNT(points) FROM table_name_73 WHERE class = "350cc" AND rank = "5th" | CREATE TABLE INST, Here is a database schema( table schema); | How many points did ginger have when she was ranked 5th on a 350cc class bike?It is not neccessary to use all the tables. |
SELECT MIN Highest Score FROM table WHERE Average = 9.88 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest score in those games where the average is 9.88?.It is not neccessary to use all the tables. |
SELECT to_par FROM table_name_75 WHERE place = "t8" AND player = "bunky henry" | CREATE TABLE INST, Here is a database schema( table schema); | When Bunky Henry placed t8 what was his To par?It is not neccessary to use all the tables. |
SELECT candidates FROM table_1342256_18 WHERE incumbent = "James R. Domengeaux" | CREATE TABLE INST, Here is a database schema( table schema); | Who are all of the candidates in the election featuring james r. domengeaux?It is not neccessary to use all the tables. |
SELECT FRAMED SIZE FROM table WHERE DATE COMPLETED = 08/87 | CREATE TABLE INST, Here is a database schema( table schema); | What was the frame size in 08/87?.It is not neccessary to use all the tables. |
SELECT Losing Team FROM table WHERE Total = 24 AND Winning Team = sydney roosters | CREATE TABLE INST, Here is a database schema( table schema); | Who was the losing team with a total of 24 when the winning team was Sydney Roosters?.It is not neccessary to use all the tables. |
SELECT ben_tahir FROM table_name_92 WHERE doucet = "3269" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Ben-Tahir with a 3269 Doucet?It is not neccessary to use all the tables. |
SELECT pictorials FROM table_1566848_7 WHERE centerfold_model = "Ava Fabian" | CREATE TABLE INST, Here is a database schema( table schema); | Who were the pictorials when the centerfold model was Ava Fabian?It is not neccessary to use all the tables. |
SELECT Indoor FROM table WHERE Wing = NJ | CREATE TABLE INST, Here is a database schema( table schema); | What is the indoor number for the NJ wing/ .It is not neccessary to use all the tables. |
SELECT home FROM table_name_44 WHERE visitor = "modo hockey" AND date = "thursday, december 11" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Home team of the event on Thursday December 11 with Visitor Modo Hockey?It is not neccessary to use all the tables. |
SELECT Overall Record FROM table WHERE Road Record = 4-3 | CREATE TABLE INST, Here is a database schema( table schema); | Name the overall record for road record being 4-3.It is not neccessary to use all the tables. |
SELECT pestcode FROM resultsdata15 GROUP BY pestcode ORDER BY count(*) LIMIT 1 | CREATE TABLE INST, Here is a database schema( sampledata15); | which pesticides have been used the least?. It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Record = 28-15 | CREATE TABLE INST, Here is a database schema( table schema); | What is the date of the match with a 28-15 record?.It is not neccessary to use all the tables. |
SELECT episode__number FROM table_12976038_1 WHERE viewers__in_millions_ = "5.74" | CREATE TABLE INST, Here is a database schema( table schema); | What number episode had 5.74 million viewers?It is not neccessary to use all the tables. |
SELECT m/v ft/s FROM table WHERE Time to ft (m) at 25° (seconds) = 9.2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees?.It is not neccessary to use all the tables. |
SELECT written_by FROM table_2430014_6 WHERE directed_by = "John Trefor" | CREATE TABLE INST, Here is a database schema( table schema); | Name the written by for john treforIt is not neccessary to use all the tables. |
SELECT college FROM table_name_10 WHERE pick < 25 AND overall > 159 AND round < 10 AND position = "wr" | CREATE TABLE INST, Here is a database schema( table schema); | Which college has a pick less than 25, an overall greater than 159, a round less than 10, and wr as the position?It is not neccessary to use all the tables. |
SELECT Album FROM table WHERE Release type = demo | CREATE TABLE INST, Here is a database schema( table schema); | What was the name of the album that was a demo release?.It is not neccessary to use all the tables. |
SELECT MIN(crowd) FROM table_name_5 WHERE home_team = "brisbane lions" | CREATE TABLE INST, Here is a database schema( table schema); | What is Lowest Crowd when Home Team is Brisbane Lions?It is not neccessary to use all the tables. |
SELECT MAX(extra_points) FROM table_name_47 WHERE touchdowns < 2 AND points < 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest number of extra points for players with less than 2 touchdowns and less than 1 point?It is not neccessary to use all the tables. |
SELECT Notes FROM table 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 height FROM table_name_96 WHERE pos = "gk" AND club = "vk primorac kotor" | CREATE TABLE INST, Here is a database schema( table schema); | What is the height of the player from club vk primorac kotor who plays gk?It is not neccessary to use all the tables. |
SELECT Torque@rpm FROM table WHERE Power@rpm = ps (kw; hp)@6100 | CREATE TABLE INST, Here is a database schema( table schema); | Which Torque@rpm has a Power@rpm of ps (kw; hp)@6100?.It is not neccessary to use all the tables. |
SELECT Original title FROM table WHERE Director = Suzana Amaral | CREATE TABLE INST, Here is a database schema( table schema); | Name the original title of the Suzana Amaral film.It is not neccessary to use all the tables. |
SELECT Entrant FROM table WHERE Year > 1981 AND Chassis = osella fa1c | CREATE TABLE INST, Here is a database schema( table schema); | What entrant has osella fa1c chassis after 1981?.It is not neccessary to use all the tables. |
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27739)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial... | CREATE TABLE INST, Here is a database schema( table schema); | when was the arterial bp [diastolic] of patient 27739 first measured on 11/23/2103?It is not neccessary to use all the tables. |
SELECT Report FROM table WHERE Race = San Marino Grand Prix | CREATE TABLE INST, Here is a database schema( table schema); | What is the report listed for the race in San Marino Grand Prix?.It is not neccessary to use all the tables. |
SELECT First Air Date FROM table WHERE Episode = 9 | CREATE TABLE INST, Here is a database schema( table schema); | Name the first air date for 9 episode.It is not neccessary to use all the tables. |
SELECT Home FROM table WHERE Record = 11–14–4 | CREATE TABLE INST, Here is a database schema( table schema); | Which Home has a Record of 11–14–4?.It is not neccessary to use all the tables. |
SELECT Total FROM table WHERE Set 2 = 25-18 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total for the set 2 of 25-18?.It is not neccessary to use all the tables. |
SELECT player FROM table_name_78 WHERE to_par = 13 | CREATE TABLE INST, Here is a database schema( table schema); | Which player had a To par of 13?It is not neccessary to use all the tables. |
SELECT result FROM table_name_38 WHERE attendance = "80,886" | CREATE TABLE INST, Here is a database schema( table schema); | What was the result of the game that was attended by 80886 people?It is not neccessary to use all the tables. |
SELECT 2005–2006 Team FROM table 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 Party FROM table WHERE Incumbent = Edward Boland | CREATE TABLE INST, Here is a database schema( table schema); | Name the party with edward boland.It is not neccessary to use all the tables. |
SELECT MIN Lost FROM table WHERE Team = kirkby town AND Goals For > 83 | CREATE TABLE INST, Here is a database schema( table schema); | What is Kirkby Town's lowest lost with more than 83 goals?.It is not neccessary to use all the tables. |
SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 20 | CREATE TABLE INST, Here is a database schema( table schema); | What's the sum of WIns with Draws that's larger than 1 Losses that's smaller than 4 and Conceded of 20?It is not neccessary to use all the tables. |
SELECT AVG("Week") FROM table_15780 WHERE "Record" = '6-6' | CREATE TABLE INST, Here is a database schema( table schema); | Which week did the Seattle Seahawks have a record of 6-6?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, flight WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLAND' AND flight.flight_number = 813 AND flight.to_airport = AIRPORT_SERVICE_1.airpo... | CREATE TABLE INST, Here is a database schema( table schema); | is the AA flight 813 from BOSTON to OAKLAND a flight that goes straight through from BOSTON to OAKLAND without stopping at another cityIt is not neccessary to use all the tables. |
SELECT School FROM table WHERE Team Name = pirates | CREATE TABLE INST, Here is a database schema( table schema); | What school has a team called the Pirates?.It is not neccessary to use all the tables. |
SELECT Competition FROM table WHERE Venue = rome, italy | CREATE TABLE INST, Here is a database schema( table schema); | What was the name of the Competition in Rome, Italy?.It is not neccessary to use all the tables. |
SELECT commissioned FROM table_name_40 WHERE launched = "28 june 1934" AND pennant_number = "h.78" | CREATE TABLE INST, Here is a database schema( table schema); | Which commission was launched 28 june 1934 and has a Pennant number of h.78?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Date = march 10 | CREATE TABLE INST, Here is a database schema( table schema); | What is the record for March 10?.It is not neccessary to use all the tables. |
SELECT High assists FROM table WHERE Date = March 14 | CREATE TABLE INST, Here is a database schema( table schema); | Name the high assists for march 14.It is not neccessary to use all the tables. |
SELECT city FROM table_name_98 WHERE team = "bahawalpur stags" | CREATE TABLE INST, Here is a database schema( table schema); | Which City has the Bahawalpur Stags Team?It is not neccessary to use all the tables. |
SELECT nationality FROM table_2679061_6 WHERE player = "Kevin Stevens" | CREATE TABLE INST, Here is a database schema( table schema); | What is the nationality of the player kevin stevens?It is not neccessary to use all the tables. |
SELECT Term start FROM table WHERE Born-Died = prime ministers 1939 - 1943 | CREATE TABLE INST, Here is a database schema( table schema); | What is Term Start, when Born-Died is Prime Ministers 1939 - 1943?.It is not neccessary to use all the tables. |
SELECT COUNT(laps) FROM table_name_23 WHERE year = "1949" | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of laps that were completed in 1949?It is not neccessary to use all the tables. |
SELECT MAX(tf1__number) FROM table_name_95 WHERE official__number > 47 AND air_date__france_ = "13 july 2010" | CREATE TABLE INST, Here is a database schema( table schema); | What is the most elevated TF1 # that has an Official # larger than 47 and an Air date (France) of 13 july 2010?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Attendance = 37,500 | CREATE TABLE INST, Here is a database schema( table schema); | What day had 37,500 attending?.It is not neccessary to use all the tables. |
SELECT MAX Bronze FROM table WHERE Rank > 5 AND Gold < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest number of bronzes for countries ranking over 5 with 0 golds?.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.