instruction stringclasses 1 value | input stringlengths 12 244 | output stringlengths 22 468 |
|---|---|---|
Translate the following into a SQL query | what's the score against crusaders | SELECT Score FROM table WHERE Opponent = Crusaders |
Translate the following into a SQL query | How many Small catagories are there for the department that has a medium of 17101? | SELECT COUNT Small (100ha) FROM table WHERE Medium (500ha) = 17101 |
Translate the following into a SQL query | What is the total for Chuquisaca? | SELECT Total FROM table WHERE Department = Chuquisaca |
Translate the following into a SQL query | Which department has a small of 11370? | SELECT Department FROM table WHERE Small (100ha) = 11370 |
Translate the following into a SQL query | How many total catagories are there for La Paz? | SELECT COUNT Total FROM table WHERE Department = La Paz |
Translate the following into a SQL query | What is the largest micro when the big is 1080? | SELECT MAX Micro (10ha) FROM table WHERE Big (>500ha) = 1080 |
Translate the following into a SQL query | How many points under par was the winner of the Miyagi TV Cup Dunlop Ladies Open? | SELECT To par FROM table WHERE Tournament = Miyagi TV Cup Dunlop Ladies Open |
Translate the following into a SQL query | What was the winning score of the Vernal Ladies tournament? | SELECT Winning score FROM table WHERE Tournament = Vernal Ladies |
Translate the following into a SQL query | Name the athlete for 3 | SELECT Athlete FROM table WHERE Place = 3 |
Translate the following into a SQL query | Name the least total for 1500m for 2 | SELECT MIN Total FROM table WHERE 1500 m = 2 |
Translate the following into a SQL query | Name the max javelin for 200m for 5 | SELECT MAX Javelin FROM table WHERE 200 m = 5 |
Translate the following into a SQL query | Name the number of long jump for 1500m being 2 | SELECT COUNT Long jump FROM table WHERE 1500 m = 2 |
Translate the following into a SQL query | Name the result for round 13 | SELECT Result FROM table WHERE Round = 13 |
Translate the following into a SQL query | Name the attendance for loss result and salford city reds | SELECT Attendance FROM table WHERE Result = Loss AND Opponent = Salford City Reds |
Translate the following into a SQL query | Name the total number of date for round 26 | SELECT COUNT Date FROM table WHERE Round = 26 |
Translate the following into a SQL query | Name the attendace for 23 round | SELECT Attendance FROM table WHERE Round = 23 |
Translate the following into a SQL query | Name the total number of opponets for 05/09/2009 | SELECT COUNT Opponent FROM table WHERE Date = 05/09/2009 |
Translate the following into a SQL query | What is the only city name with a population density of 200? | SELECT Name FROM table WHERE Population density = 200 |
Translate the following into a SQL query | What is the census division for the name Stratford? | SELECT Census division FROM table WHERE Name = Stratford |
Translate the following into a SQL query | What is the change (%) when the area size (km2) is 247.21? | SELECT Change (%) FROM table WHERE Area (km²) = 247.21 |
Translate the following into a SQL query | What is the municipal status where the population density is 895.5? | SELECT Municipal status FROM table WHERE Population density = 895.5 |
Translate the following into a SQL query | What is the census division for the city named Kenora? | SELECT Census division FROM table WHERE Name = Kenora |
Translate the following into a SQL query | If there are 18 villages, what is the minimum area ? | SELECT MIN Area ( ha ) FROM table WHERE No. of villages = 18 |
Translate the following into a SQL query | With the population in 2005 of 572, what is the former name? | SELECT Former Name FROM table WHERE Population (2005) = 572 |
Translate the following into a SQL query | How many villages have a density persons/ha of 5.5? | SELECT COUNT No. of villages FROM table WHERE Density persons / ha = 5.5 |
Translate the following into a SQL query | What were the scores for matches with irving wright hazel hotchkiss wightman? | SELECT Score FROM table WHERE Opponents = Irving Wright Hazel Hotchkiss Wightman |
Translate the following into a SQL query | How many years had scores of 10–12, 6–1, 6–3? | SELECT COUNT Year FROM table WHERE Score = 10–12, 6–1, 6–3 |
Translate the following into a SQL query | Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent? | SELECT Partner FROM table WHERE Opponents = Harry Johnson Hazel Hotchkiss Wightman |
Translate the following into a SQL query | What were the outcomes of matches with bill tilden florence ballin as opponents? | SELECT Outcome FROM table WHERE Opponents = Bill Tilden Florence Ballin |
Translate the following into a SQL query | What is the earliest year? | SELECT MIN Year FROM table |
Translate the following into a SQL query | What was the survivor count for the episode directed by Gwyneth Horder-Payton? | SELECT Survivor count FROM table WHERE Directed by = Gwyneth Horder-Payton |
Translate the following into a SQL query | When did series number 65 originally air? | SELECT Original air date FROM table WHERE No. in series = 65 |
Translate the following into a SQL query | What is the production code of the episode directed by David Solomon? | SELECT Production code FROM table WHERE Directed by = David Solomon |
Translate the following into a SQL query | Who wrote the episode with the production code of BN103? | SELECT Written by FROM table WHERE Production code = BN103 |
Translate the following into a SQL query | What was the original air date of the episode that had 4.08 million U.S. viewers? | SELECT Original air date FROM table WHERE U.S. viewers (millions) = 4.08 |
Translate the following into a SQL query | List all the locations where net capacity is 950? | SELECT Location Chernobyl 1 Chernobyl 2 Chernobyl 3 Chernobyl 4 Chernobyl 5 Ignalina 1 Ignalina 2 Ignalina 3 Kursk 1 Kursk 2 Kursk 3 Kursk 4 Kursk 5 Kursk 6 Leningrad 1 Leningrad 2 Leningrad 3 Leningrad 4 Smolensk 1 Smolensk 2 Smolensk 3 Smolensk 4 Directorate for Construction of Kostoma NPP (For Kostroma 1 and 2) Table 31. Technology and Soviet Energy Availability - November 1981 - NTIS order #PB82-133455 (For Ignalina 4) FROM table WHERE Net Capacity (MW) = 950 |
Translate the following into a SQL query | List all the locations with a RBMK-1000 reactor. | SELECT Location Chernobyl 1 Chernobyl 2 Chernobyl 3 Chernobyl 4 Chernobyl 5 Ignalina 1 Ignalina 2 Ignalina 3 Kursk 1 Kursk 2 Kursk 3 Kursk 4 Kursk 5 Kursk 6 Leningrad 1 Leningrad 2 Leningrad 3 Leningrad 4 Smolensk 1 Smolensk 2 Smolensk 3 Smolensk 4 Directorate for Construction of Kostoma NPP (For Kostroma 1 and 2) Table 31. Technology and Soviet Energy Availability - November 1981 - NTIS order #PB82-133455 (For Ignalina 4) FROM table WHERE Reactor type = RBMK-1000 |
Translate the following into a SQL query | What is the gross capacity where the net capacity is 1380? | SELECT MIN Gross Capacity (MW) FROM table WHERE Net Capacity (MW) = 1380 |
Translate the following into a SQL query | when was the premiere when a 3.3 millions of North American watched the episode whose writer was Rob Wright? | SELECT Original air date FROM table WHERE U.S. viewers (millions) = 3.3 AND Written by = Rob Wright |
Translate the following into a SQL query | what is the name of the episode which the production code is 62015-08-162 | SELECT Title FROM table WHERE Production code = 62015-08-162 |
Translate the following into a SQL query | in the number of episode in season is 11, who was the writer? | SELECT Written by FROM table WHERE No. in season = 11 |
Translate the following into a SQL query | What is the production code for the episode title "A Wrong Day's Journey into Right"? | SELECT Production code FROM table WHERE Title = "A Wrong Day's Journey into Right" |
Translate the following into a SQL query | How many episodes had the us viewers (millions) figure of 5.0? | SELECT COUNT No. in season FROM table WHERE US viewers (millions) = 5.0 |
Translate the following into a SQL query | Who are the writers for the episode number in series 129? | SELECT Written by FROM table WHERE No. in series = 129 |
Translate the following into a SQL query | What is the us viewers (millions) figure for the episode titled "Witch Wars"? | SELECT US viewers (millions) FROM table WHERE Title = "Witch Wars" |
Translate the following into a SQL query | What is the latest episode in the season directed by Chris Long? | SELECT MAX No. in season FROM table WHERE Directed by = Chris Long |
Translate the following into a SQL query | Who wrote the episodes directed by David Straiton? | SELECT Written by FROM table WHERE Directed by = David Straiton |
Translate the following into a SQL query | Who directed the episode with a production code greater than 4301103.585233785 that was written by Curtis Kheel? | SELECT Directed by FROM table WHERE Production code > 4301103.585233785 AND Written by = Curtis Kheel |
Translate the following into a SQL query | How many results were there on 19/06/2009? | SELECT COUNT Result FROM table WHERE Date = 19/06/2009 |
Translate the following into a SQL query | What is the round number for the date 19/06/2009? | SELECT Round FROM table WHERE Date = 19/06/2009 |
Translate the following into a SQL query | What is the round number for the venue of Stade de la Méditerranée? | SELECT Round FROM table WHERE Venue = Stade de la Méditerranée |
Translate the following into a SQL query | What was the score when the date was 17/07/2009? | SELECT Score FROM table WHERE Date = 17/07/2009 |
Translate the following into a SQL query | What is Marc Parenteau's position? | SELECT Position FROM table WHERE Player = Marc Parenteau |
Translate the following into a SQL query | What is the smallest pick number for McGill? | SELECT MIN Pick # FROM table WHERE College = McGill |
Translate the following into a SQL query | Derik Fury plays for which college? | SELECT College FROM table WHERE Player = Derik Fury |
Translate the following into a SQL query | David Kasouf plays for how many colleges? | SELECT COUNT College FROM table WHERE Player = David Kasouf |
Translate the following into a SQL query | What position was drafted by the Hamilton Tiger-Cats? | SELECT Position FROM table WHERE CFL Team = Hamilton Tiger-Cats |
Translate the following into a SQL query | Who won when Jamie Green had the best lap? | SELECT Winning driver FROM table WHERE Fastest lap = Jamie Green |
Translate the following into a SQL query | Who had the fasted lap in motorsport arena oschersleben? | SELECT Fastest lap FROM table WHERE Circuit = Motorsport Arena Oschersleben |
Translate the following into a SQL query | When did Oliver Jarvis have pole position? | SELECT Date FROM table WHERE Pole position = Oliver Jarvis |
Translate the following into a SQL query | What college did the player for the Hamilton Tiger-Cats go to? | SELECT College FROM table WHERE CFL Team = Hamilton Tiger-Cats |
Translate the following into a SQL query | How many players are at the DT position? | SELECT COUNT Player FROM table WHERE Position = DT |
Translate the following into a SQL query | What team does the player who went to Nebraska play for? | SELECT CFL Team FROM table WHERE College = Nebraska |
Translate the following into a SQL query | What is the highest number any of the players were picked at? | SELECT MAX Pick # FROM table |
Translate the following into a SQL query | Which player plays for the Winnipeg Blue Bombers? | SELECT Player FROM table WHERE CFL Team = Winnipeg Blue Bombers |
Translate the following into a SQL query | What is the pick # for player wes lysack? | SELECT Pick # FROM table WHERE Player = Wes Lysack |
Translate the following into a SQL query | How many clf teams have a pick # of 5? | SELECT COUNT CFL Team FROM table WHERE Pick # = 5 |
Translate the following into a SQL query | How many total positions are there for utah college? | SELECT COUNT Position FROM table WHERE College = Utah |
Translate the following into a SQL query | Which cfl team is manitoba college? | SELECT CFL Team FROM table WHERE College = Manitoba |
Translate the following into a SQL query | Which position is cfl team edmonton eskimos for weber state college? | SELECT Position FROM table WHERE CFL Team = Edmonton Eskimos AND College = Weber State |
Translate the following into a SQL query | What is the pick # for player wes lysack? | SELECT MAX Pick # FROM table WHERE Player = Wes Lysack |
Translate the following into a SQL query | When "i feel good" is the title and joe sachs is the writer how many series numbers are there? | SELECT COUNT Series # FROM table WHERE Written by = Joe Sachs AND Title = "I Feel Good" |
Translate the following into a SQL query | How many stages of the rally took 14:33.9 for the leader to finish? | SELECT COUNT Length FROM table WHERE Time = 14:33.9 |
Translate the following into a SQL query | In which special stage named Tempo 2 was Sébastien Loeb the leader? | SELECT Stage FROM table WHERE Rally leader = Sébastien Loeb AND Name = Tempo 2 |
Translate the following into a SQL query | Which ralliers won the stages that were at 18:54 GMT? | SELECT Winner FROM table WHERE Time (GMT) = 18:54 |
Translate the following into a SQL query | What is episode is "Bouncy Ball"? | SELECT MIN Total episodes FROM table WHERE Title = "Bouncy Ball" |
Translate the following into a SQL query | How many locations have #12 Michigan State as the big ten team? | SELECT COUNT Location FROM table WHERE Big Ten Team = #12 Michigan State |
Translate the following into a SQL query | Who is the winner when bigten (2-1) is the challenge leader? | SELECT Winner FROM table WHERE Challenge Leader = BigTen (2-1) |
Translate the following into a SQL query | Who is the winner in the location of ljvm coliseum • winston-salem, nc? | SELECT Winner FROM table WHERE Location = LJVM Coliseum • Winston-Salem, NC |
Translate the following into a SQL query | What time was the acc team #17 wake forest? | SELECT Time FROM table WHERE ACC Team = #17 Wake Forest |
Translate the following into a SQL query | Which location has a time of 9:30pm? | SELECT Location FROM table WHERE Time = 9:30PM |
Translate the following into a SQL query | How many dates have a big ten team of #10 purdue? | SELECT COUNT Date FROM table WHERE Big Ten Team = #10 Purdue |
Translate the following into a SQL query | Name the hometown for barahona | SELECT Hometown FROM table WHERE Province, Community = Barahona |
Translate the following into a SQL query | Name the contestant for villa hermosa | SELECT Contestant FROM table WHERE Hometown = Villa Hermosa |
Translate the following into a SQL query | Name the least age for cibao central and santo domingo | SELECT MIN Age FROM table WHERE Geographical Regions = Cibao Central AND Hometown = Santo Domingo |
Translate the following into a SQL query | How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859? | SELECT COUNT Pop. (2001) FROM table WHERE Pop. (1996) = 880859 |
Translate the following into a SQL query | How many people lived in the census division with an area of 15767.99 km2 in 1996? | SELECT Pop. (1996) FROM table WHERE Area (km²) = 15767.99 |
Translate the following into a SQL query | What is the largest population count in any of the census divisions in 2006? | SELECT MAX Pop. (2006) FROM table |
Translate the following into a SQL query | How many people lived in the census division spread out on 9909.31 km2 in 1996? | SELECT Pop. (1996) FROM table WHERE Area (km²) = 9909.31 |
Translate the following into a SQL query | When did "Granny Pig's Chickens" first air? | SELECT Original UK airdate FROM table WHERE Title = "Granny Pig's Chickens" |
Translate the following into a SQL query | How many have the name, "The Fire Engine"? | SELECT COUNT Total episodes FROM table WHERE Title = "The Fire Engine" |
Translate the following into a SQL query | What is the result of the qf round? | SELECT Result FROM table WHERE Round = QF |
Translate the following into a SQL query | Which venue has bradford bulls as the opponent on the date of 06/09/2009? | SELECT Venue FROM table WHERE Opponent = Bradford Bulls AND Date = 06/09/2009 |
Translate the following into a SQL query | Who is the opponent when the attendance is n/a? | SELECT Opponent FROM table WHERE Attendance = N/A |
Translate the following into a SQL query | What is the venue that has 34-18 as the score? | SELECT Venue FROM table WHERE Score = 34-18 |
Translate the following into a SQL query | How many results have 14,381 as the attendance? | SELECT COUNT Result FROM table WHERE Attendance = 14,381 |
Translate the following into a SQL query | How many rounds have 6,150 as attendance? | SELECT Round FROM table WHERE Attendance = 6,150 |
Translate the following into a SQL query | What is the episode number for "case two (part 1)"? | SELECT Episode FROM table WHERE Title = "Case Two (Part 1)" |
Translate the following into a SQL query | What is the original air date for the episode viewed by 7.12 million? | SELECT Originalairdate FROM table WHERE Viewing Figures (millions) Sourced by BARB ; includes ITV1 HD and ITV1 +1 = 7.12 |
Translate the following into a SQL query | Who directed the episode viewed by 7.35 million? | SELECT Directed by FROM table WHERE Viewing Figures (millions) Sourced by BARB ; includes ITV1 HD and ITV1 +1 = 7.35 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.