sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT meter_700, ID FROM swimmer ORDER BY meter_700 | CREATE TABLE INST, Here is a database schema( table schema); | Give me the comparison about ID over the meter_700 , and order by the bar from low to high.It is not neccessary to use all the tables. |
SELECT 2003/ 04 FROM table WHERE 2012/ 13 = 3r | CREATE TABLE INST, Here is a database schema( table schema); | What was held in 2003/04 when 3R was in 2012?.It is not neccessary to use all the tables. |
SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7 | CREATE TABLE INST, Here is a database schema( table schema); | What line is 24.7 km and head towards Toyohashi East?It is not neccessary to use all the tables. |
SELECT Series FROM table WHERE Date = June 5 | CREATE TABLE INST, Here is a database schema( table schema); | Name the series on june 5.It is not neccessary to use all the tables. |
SELECT team FROM table_name_15 WHERE class = "c1" AND laps > 77 AND driver = "klaus ludwig" | CREATE TABLE INST, Here is a database schema( table schema); | What is the team of driver klaus ludwig who is class c1 and has more than 77 laps?It is not neccessary to use all the tables. |
SELECT COUNT Earnings ( $ ) FROM table WHERE Best finish = T2 AND Scoring average = 71.25 | CREATE TABLE INST, Here is a database schema( table schema); | How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average?.It is not neccessary to use all the tables. |
SELECT Verb FROM table WHERE Proto-Polynesian = *mohe | CREATE TABLE INST, Here is a database schema( table schema); | What is the verb for the Proto-Polynesian word *mohe?.It is not neccessary to use all the tables. |
SELECT player FROM table_name_97 WHERE bowling = "4-15" | CREATE TABLE INST, Here is a database schema( table schema); | What bowler has a record of 4-15?It is not neccessary to use all the tables. |
SELECT "Score" FROM table_47930 WHERE "Surface" = 'hard' AND "Opponent in the final" = 'irena pavlovic' | CREATE TABLE INST, Here is a database schema( table schema); | What was the score when the opponent was irena pavlovic and the surface was hard?It is not neccessary to use all the tables. |
SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)" | CREATE TABLE INST, Here is a database schema( table schema); | What was Week 11 when Week 10 had Nebraska (7-1)?It is not neccessary to use all the tables. |
SELECT COUNT Germany FROM table WHERE Italy = Naples LL Naples AND England = London Area Youth London | CREATE TABLE INST, Here is a database schema( table schema); | How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London?.It is not neccessary to use all the tables. |
SELECT AVG Gold FROM table WHERE Bronze = 5 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of Gold medals when there are 5 bronze medals?.It is not neccessary to use all the tables. |
SELECT "High School" FROM table_2547 WHERE "Mascot" = 'Storm' | CREATE TABLE INST, Here is a database schema( table schema); | How many high schools have storm mascots?It is not neccessary to use all the tables. |
SELECT drawn FROM table_name_12 WHERE losing_bonus = "6" | CREATE TABLE INST, Here is a database schema( table schema); | What is the value for Drawn when the value for Losing bonus is 6?It is not neccessary to use all the tables. |
SELECT COUNT(equipment) FROM table_24898185_4 WHERE points = 556 | CREATE TABLE INST, Here is a database schema( table schema); | When 556 is the amount of points how much equipment is there?It is not neccessary to use all the tables. |
SELECT MAX(frequency_mhz) FROM table_name_65 WHERE call_sign = "k241an" | CREATE TABLE INST, Here is a database schema( table schema); | Which Frequency MHz is the highest one that has a Call sign of k241an?It is not neccessary to use all the tables. |
SELECT Artist FROM table WHERE Peak position < 2 AND Sales > 200,000 | CREATE TABLE INST, Here is a database schema( table schema); | What artist had a peak position under 2, and more than 200,000 in sales?.It is not neccessary to use all the tables. |
SELECT height_in_ft FROM table_name_77 WHERE no_s_ = "10" | CREATE TABLE INST, Here is a database schema( table schema); | What is the height in feet of number 10?It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE IATA = gzt | CREATE TABLE INST, Here is a database schema( table schema); | Which country has an IATA of gzt?.It is not neccessary to use all the tables. |
SELECT "Scores" FROM table_2904 WHERE "Lees team" = 'Michael Buerk and Russell Howard' | CREATE TABLE INST, Here is a database schema( table schema); | Name the scores for michael buerk and russell howardIt is not neccessary to use all the tables. |
SELECT result FROM table_name_52 WHERE date = "28 february 2001" | CREATE TABLE INST, Here is a database schema( table schema); | What was the end result for 28 February 2001?It is not neccessary to use all the tables. |
SELECT package_option FROM table_15887683_3 WHERE television_service = "FOX Sports HD" | CREATE TABLE INST, Here is a database schema( table schema); | What package offers Fox Sports HD?It is not neccessary to use all the tables. |
SELECT SUM(overall) FROM table_name_16 WHERE college = "penn state" | CREATE TABLE INST, Here is a database schema( table schema); | Total overall from penn state?It is not neccessary to use all the tables. |
SELECT part_1 FROM table_name_81 WHERE class = "7d" | CREATE TABLE INST, Here is a database schema( table schema); | What is the entry for Part 1 for class 7d?It is not neccessary to use all the tables. |
SELECT MIN("Draws") FROM table_12774 WHERE "Goals against" < '47' AND "Position" < '13' AND "Goals for" = '52' | CREATE TABLE INST, Here is a database schema( table schema); | Which Draws has Goals against smaller than 47, and a Position smaller than 13, and Goals for of 52?It is not neccessary to use all the tables. |
SELECT WinningTeam FROM table WHERE Clive Churchill Medal = Brett Kimmorley | CREATE TABLE INST, Here is a database schema( table schema); | Brett kimmorley, who was chosen for the clive churchill medal belonged to what team?.It is not neccessary to use all the tables. |
SELECT club FROM table_name_93 WHERE lost = "10" | CREATE TABLE INST, Here is a database schema( table schema); | Which club lost 10 games ?It is not neccessary to use all the tables. |
SELECT Candidates FROM table WHERE Incumbent = Selah R. Hobbie | CREATE TABLE INST, Here is a database schema( table schema); | Name the candidates for selah r. hobbie.It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Population density (per kmΒ²) = 50.3 | CREATE TABLE INST, Here is a database schema( table schema); | Which country has a population density of 50.3?.It is not neccessary to use all the tables. |
SELECT Winning team FROM table WHERE Date contested = February 1, 2009 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the winning team of the game that was contested on February 1, 2009?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_85 WHERE city = "manchester" AND year = 2003 | CREATE TABLE INST, Here is a database schema( table schema); | Which venue had a city of Manchester in 2003?It is not neccessary to use all the tables. |
SELECT Tries for FROM table WHERE Points against = 583 | CREATE TABLE INST, Here is a database schema( table schema); | Name the tries for points against of 583.It is not neccessary to use all the tables. |
SELECT Team FROM table WHERE Date = March 18 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the team on March 18?.It is not neccessary to use all the tables. |
SELECT COUNT NASL years FROM table WHERE Player = Peter Lorimer | CREATE TABLE INST, Here is a database schema( table schema); | How many years did Peter Lorimer play?.It is not neccessary to use all the tables. |
SELECT county FROM table_18600760_3 WHERE latitude = "46.770977" | CREATE TABLE INST, Here is a database schema( table schema); | What was the county with a latitude of 46.770977?It is not neccessary to use all the tables. |
SELECT state FROM customers GROUP BY state ORDER BY COUNT(*) LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | Which state has the most customers?It is not neccessary to use all the tables. |
SELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest gold number count where a county had over 9 golds and 10 silvers?It is not neccessary to use all the tables. |
SELECT poles FROM table_1708050_1 WHERE position = "25th" | CREATE TABLE INST, Here is a database schema( table schema); | Name the poles for 25th positionIt is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Round < 3 AND Time = 1:02 | CREATE TABLE INST, Here is a database schema( table schema); | Who did wilson reis fight against that lasted less than 3 rounds with a time of 1:02?.It is not neccessary to use all the tables. |
SELECT Points FROM table WHERE Goals against = 260 | CREATE TABLE INST, Here is a database schema( table schema); | What are the points if the goals against were 260?.It is not neccessary to use all the tables. |
SELECT D 46 FROM table WHERE D 45 = r 5 | CREATE TABLE INST, Here is a database schema( table schema); | I want the D 46 for D 45 of r 5.It is not neccessary to use all the tables. |
SELECT teams FROM table_name_35 WHERE streak_end = "1/2/2011" | CREATE TABLE INST, Here is a database schema( table schema); | What teams have 1/2/2011 as the streak end?It is not neccessary to use all the tables. |
SELECT home_team FROM table_name_38 WHERE away_team = "melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | Who played Melbourne as the home team?It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_46 WHERE score = "1β1" AND home_team = "merthyr tydfil" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Away team of the Merthyr Tydfil Home game with a Score of 1 1?It is not neccessary to use all the tables. |
SELECT 1989 FROM table_name_95 WHERE 1990 = "f" | CREATE TABLE INST, Here is a database schema( table schema); | What is the 1989 value with F in 1990?It is not neccessary to use all the tables. |
SELECT Opponent in the final FROM table WHERE Tournament = senegal f2 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent in the final of the Senegal f2 tournament>.It is not neccessary to use all the tables. |
SELECT Category FROM table WHERE Nominated work = 24 | CREATE TABLE INST, Here is a database schema( table schema); | Which category has 24 nominated work?.It is not neccessary to use all the tables. |
SELECT hometown FROM table_name_32 WHERE college = "lsu" | CREATE TABLE INST, Here is a database schema( table schema); | What's the hometown of the player who went to lsu?It is not neccessary to use all the tables. |
SELECT country FROM table_name_26 WHERE indigenous_mining_production_2006 = "0" | CREATE TABLE INST, Here is a database schema( table schema); | Which country has an Indigenous mining production 2006 of 0?It is not neccessary to use all the tables. |
SELECT d_41_β FROM table_name_20 WHERE d_43_o = "r 13" | CREATE TABLE INST, Here is a database schema( table schema); | Name the D 41 β for having D 43 of r 13It is not neccessary to use all the tables. |
SELECT COUNT Top 10 FROM table WHERE Position = 78th | CREATE TABLE INST, Here is a database schema( table schema); | How many entries arr there for the top 10 for the 78th position?.It is not neccessary to use all the tables. |
SELECT Navigator FROM table WHERE Total Time = 08:29 | CREATE TABLE INST, Here is a database schema( table schema); | Which Navigator has a Total Time of 08:29?.It is not neccessary to use all the tables. |
SELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | Return the highest acc percent across all basketball matches.It is not neccessary to use all the tables. |
SELECT Winning driver FROM table WHERE Pole position = timo scheider AND Circuit = oschersleben | CREATE TABLE INST, Here is a database schema( table schema); | Who is the winning driver of the Oschersleben circuit with Timo Scheider as the pole position?.It is not neccessary to use all the tables. |
SELECT county FROM table_name_9 WHERE prominence__m_ < 1292 AND isolation__km_ = 14 | CREATE TABLE INST, Here is a database schema( table schema); | What country has a prominence less than 1292 and an Isolation (km) of 14?It is not neccessary to use all the tables. |
SELECT Entrant FROM table WHERE Engine = cosworth dfv v8 AND Chassis = dn9 | CREATE TABLE INST, Here is a database schema( table schema); | What team uses a Cosworth DFV V8 engine and DN9 Chassis?.It is not neccessary to use all the tables. |
SELECT "orbit" FROM table_37864 WHERE "specific orbital energy" = 'β29.8 mj/kg' | CREATE TABLE INST, Here is a database schema( table schema); | specific orbital energy of 29.8 mj/kg has what orbit?It is not neccessary to use all the tables. |
SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo" | CREATE TABLE INST, Here is a database schema( table schema); | How many years have a Location of pacific ring of fire, and Eruptions of pinatubo?It is not neccessary to use all the tables. |
SELECT Population in 1000 (1931) FROM table WHERE car plates (since 1937) = 80-84 | CREATE TABLE INST, Here is a database schema( table schema); | between car plates of 80-84 what is the population in 1000 in year 1931?.It is not neccessary to use all the tables. |
SELECT frequency FROM table_134987_3 WHERE format = "Classic Country KRKI-FM booster" | CREATE TABLE INST, Here is a database schema( table schema); | What is the frequency of the Classic Country Krki-fm booster station?It is not neccessary to use all the tables. |
SELECT Category FROM music_festival GROUP BY Category HAVING COUNT(*) > 1 | CREATE TABLE INST, Here is a database schema( table schema); | Please show the categories of the music festivals with count more than 1.It is not neccessary to use all the tables. |
SELECT MIN(2 AS nd__m_) FROM table_name_5 WHERE name = "gregor schlierenzauer" | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2nd (m) value for Gregor Schlierenzauer?It is not neccessary to use all the tables. |
SELECT artist FROM table_name_41 WHERE number = "atm24016" | CREATE TABLE INST, Here is a database schema( table schema); | Which artist has a serial number of ATM24016?It is not neccessary to use all the tables. |
SELECT Chassis FROM table WHERE Engine = volkswagen AND Driver = rahel frey | CREATE TABLE INST, Here is a database schema( table schema); | What is the chassis of rahel frey's volkswagen engine?.It is not neccessary to use all the tables. |
SELECT Location Attendance FROM table WHERE Game = 14 | CREATE TABLE INST, Here is a database schema( table schema); | What Location Attendance has a Game of 14?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_61 WHERE home_team = "saskatoon accelerators" | CREATE TABLE INST, Here is a database schema( table schema); | Which score has a Home Team of saskatoon accelerators?It is not neccessary to use all the tables. |
SELECT Fastest Lap FROM table WHERE Location = estoril | CREATE TABLE INST, Here is a database schema( table schema); | What is the fastest lap at estoril?.It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Year > 2009 AND Notes = 5000 m | CREATE TABLE INST, Here is a database schema( table schema); | What was the venue that had 5000 m after 2009?.It is not neccessary to use all the tables. |
SELECT Song FROM table WHERE Total votes = 24 | CREATE TABLE INST, Here is a database schema( table schema); | What song has 24 votes?.It is not neccessary to use all the tables. |
SELECT Visitor FROM table WHERE Record = 5β8β4 | CREATE TABLE INST, Here is a database schema( table schema); | What was the visitor with a record of 5β8β4?.It is not neccessary to use all the tables. |
SELECT Win percentage FROM table WHERE Lost = 5 AND Drew = 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Win percentage where there were 5 lost and 0 is drew?.It is not neccessary to use all the tables. |
SELECT Title FROM table WHERE Directed by = Ed Sherin | CREATE TABLE INST, Here is a database schema( table schema); | name the title of the episode that ed sherin directed..It is not neccessary to use all the tables. |
SELECT name FROM table_name_83 WHERE nat = "sco" AND transfer_window = "summer" AND moving_to = "greenock morton" | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the player who is Sco and moving to greenock morton in the summer?It is not neccessary to use all the tables. |
SELECT written_by FROM table_28089666_1 WHERE production_code = "1.01" | CREATE TABLE INST, Here is a database schema( table schema); | Who wrote episode with production code 1.01?It is not neccessary to use all the tables. |
SELECT result FROM table_name_82 WHERE date = "25th" | CREATE TABLE INST, Here is a database schema( table schema); | What was the Result on the Date of 25th?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Opponent = fabrice martin | CREATE TABLE INST, Here is a database schema( table schema); | What was the score against fabrice martin?.It is not neccessary to use all the tables. |
SELECT AVG(total_viewers) FROM table_name_96 WHERE share = "17.6%" | CREATE TABLE INST, Here is a database schema( table schema); | What's the average total viewers that has 17.6% Share?It is not neccessary to use all the tables. |
SELECT Away captain FROM table WHERE Venue = old trafford | CREATE TABLE INST, Here is a database schema( table schema); | What is the Away captain with a Venue that is old trafford?.It is not neccessary to use all the tables. |
SELECT "Launch date (dd.mm.yyyy)" FROM table_22905 WHERE "(up)" = '5.76 Mbit/s' AND "Carrier" = 'Orange' | CREATE TABLE INST, Here is a database schema( table schema); | whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/sIt is not neccessary to use all the tables. |
SELECT circuit FROM table_name_78 WHERE class = "gts" | CREATE TABLE INST, Here is a database schema( table schema); | Name the circuit with class of gtsIt is not neccessary to use all the tables. |
SELECT MAX Poles FROM table | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest number of poles?.It is not neccessary to use all the tables. |
SELECT COUNT(*) FROM technician | CREATE TABLE INST, Here is a database schema( table schema); | How many technicians are there?It is not neccessary to use all the tables. |
SELECT named AS after FROM table_name_97 WHERE diameter__km_ < 19.2 AND latitude > -37.5 AND longitude < 67.3 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the named after for diameter less than 19.2 and latitude more than -37.5 with longitude less than 67.3It is not neccessary to use all the tables. |
SELECT AVG("Points") FROM table_15737 WHERE "Games" = '17' AND "Losses" > '15' | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of points for a team that played 17 games and had more than 15 losses?It is not neccessary to use all the tables. |
SELECT AVG Total FROM table WHERE Finish = t47 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average Total, when Finish is "T47"?.It is not neccessary to use all the tables. |
SELECT W.A. FROM table WHERE Quantity = 10 AND LNER Class = n13 | CREATE TABLE INST, Here is a database schema( table schema); | What WA has a LNER Class of n13 and 10?.It is not neccessary to use all the tables. |
SELECT Death FROM table WHERE Birth = 1873 AND Rank > 28 | CREATE TABLE INST, Here is a database schema( table schema); | What year is the death for a birth of 1873 and higher than rank 28?.It is not neccessary to use all the tables. |
SELECT post_town FROM table_name_54 WHERE dialcode = "020" AND location = "hook" | CREATE TABLE INST, Here is a database schema( table schema); | Which Post Town has a Dialcode of 020 and is located in Hook?It is not neccessary to use all the tables. |
SELECT Original air date FROM table WHERE Nick prod. # = 945 | CREATE TABLE INST, Here is a database schema( table schema); | When did the episode originally air with a nick production number of 945?.It is not neccessary to use all the tables. |
SELECT best_3_year_period FROM table_name_61 WHERE best_15_year_period = "smyslov; kasparov" AND position = 5 | CREATE TABLE INST, Here is a database schema( table schema); | Which best 3-year period has a best 15-year period of smyslov; kasparov and a Position of 5?It is not neccessary to use all the tables. |
SELECT date_of_birth FROM guests WHERE gender_code = "Male" | CREATE TABLE INST, Here is a database schema( table schema); | Return the date of birth for all the guests with gender code 'Male'.It is not neccessary to use all the tables. |
SELECT COUNT Results FROM table WHERE GTU Winning Team = #98 All American Racers | CREATE TABLE INST, Here is a database schema( table schema); | How many different results came out of the round in which #98 All American Racers became the GTU winning team? .It is not neccessary to use all the tables. |
SELECT College FROM table WHERE Player = jon hameister-ries | CREATE TABLE INST, Here is a database schema( table schema); | Which college does the player jon hameister-ries play for?.It is not neccessary to use all the tables. |
SELECT SUM Pick # FROM table WHERE Rd # < 11 AND Player = mattias ohlund AND Pl GP > 52 | CREATE TABLE INST, Here is a database schema( table schema); | What numbered pick was mattias ohlund, with over 52 PL GP, and also a round under 11?.It is not neccessary to use all the tables. |
SELECT position FROM table_name_34 WHERE round = 4 AND school_club_team = "concordia" | CREATE TABLE INST, Here is a database schema( table schema); | Which Position has a Round of 4 and a School/Club Team of concordia?It is not neccessary to use all the tables. |
SELECT crowd FROM table_name_9 WHERE venue = "corio oval" | CREATE TABLE INST, Here is a database schema( table schema); | What was the attendance at Corio Oval?It is not neccessary to use all the tables. |
SELECT CASE WHEN PostTypeId = 1 THEN 'Questions' ELSE 'Answers' END AS "post_type", CASE WHEN VoteTypeId = 2 THEN 'Up Votes' ELSE 'Down Votes' END AS "vote_type", COUNT(*) AS "count" FROM Posts AS p INNER JOIN Votes AS v ON p.Id = v.PostId WHERE p.ClosedDate IS NULL AND (p.PostTypeId = 1 OR p.PostTypeId = 2) AND (v.Vot... | CREATE TABLE INST, Here is a database schema( table schema); | Up votes and down votes, questions and answers.It is not neccessary to use all the tables. |
SELECT Margin of victory FROM table WHERE Runner(s)-up = justin rose | CREATE TABLE INST, Here is a database schema( table schema); | What is the margin of victory in the race where Justin Rose was the runner-up?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Home team = collingwood | CREATE TABLE INST, Here is a database schema( table schema); | What day is collingwood the home side?.It is not neccessary to use all the tables. |
SELECT MAX Attendance FROM table WHERE Score = 0 β 4 | CREATE TABLE INST, Here is a database schema( table schema); | What was the the total top attendance with a score of 0 β 4?.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.