instruction stringclasses 1 value | input stringlengths 12 244 | output stringlengths 22 468 |
|---|---|---|
Translate the following into a SQL query | Which Score has an Attendance larger than 13,175 and a Record of 18-16? | SELECT Score FROM table WHERE Attendance > 13,175 AND Record = 18-16 |
Translate the following into a SQL query | On May 17, what is the highest Attendance? | SELECT MAX Attendance FROM table WHERE Date = may 17 |
Translate the following into a SQL query | What is the highest number of points for the Modena Team Spa after 1991? | SELECT MAX Points FROM table WHERE Entrant = modena team spa AND Year > 1991 |
Translate the following into a SQL query | What was the earliest year for the Ligier Gitanes? | SELECT MIN Year FROM table WHERE Entrant = ligier gitanes |
Translate the following into a SQL query | Which company or product was invested in by peter jones with more than £35,000 requested ? | SELECT Company or product name FROM table WHERE Money requested (£) > 35,000 AND Investing Dragon(s) = peter jones |
Translate the following into a SQL query | In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? | SELECT MAX Money requested (£) FROM table WHERE Episode = episode 7 AND Entrepreneur(s) = jerry mantalvanos & paul merker |
Translate the following into a SQL query | How much money did reestore request ? | SELECT Money requested (£) FROM table WHERE Company or product name = reestore |
Translate the following into a SQL query | How much money did gaming alerts ask for? | SELECT COUNT Money requested (£) FROM table WHERE Company or product name = gaming alerts |
Translate the following into a SQL query | Who is the winner of the prize of €93,000? | SELECT Winner FROM table WHERE Prize = €93,000 |
Translate the following into a SQL query | Who is the winner of the prize of £200,000 as listed? | SELECT Winner FROM table WHERE Prize = £200,000 |
Translate the following into a SQL query | Ram Vaswani was a winner on what date? | SELECT Date FROM table WHERE Winner = ram vaswani |
Translate the following into a SQL query | Which race resulted in 2nd place in the 1996 season on 20-Jan-1996? | SELECT Race FROM table WHERE Place = 2nd AND Season = 1996 AND Date = 20-jan-1996 |
Translate the following into a SQL query | What is the place result of the downhill race before the 1996 season on 11-Mar-1995? | SELECT Place FROM table WHERE Race = downhill AND Season < 1996 AND Date = 11-mar-1995 |
Translate the following into a SQL query | What place result was the 1996 season at Lake Louise, Canada? | SELECT Place FROM table WHERE Season = 1996 AND Location = lake louise, canada |
Translate the following into a SQL query | What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? | SELECT Record FROM table WHERE Home = detroit red wings AND Score = 1–2 AND Date = december 29 |
Translate the following into a SQL query | Whose Visitor has a Record of 10–11–5? | SELECT Visitor FROM table WHERE Record = 10–11–5 |
Translate the following into a SQL query | What is the typical match smaller than 2? | SELECT AVG Average FROM table WHERE Matches < 2 |
Translate the following into a SQL query | What are the total number of matches smaller than 2 with a tally of 1-19? | SELECT COUNT Total FROM table WHERE Tally = 1-19 AND Matches < 2 |
Translate the following into a SQL query | What is the average total in the county of tipperary with a rank less than 1? | SELECT COUNT Average FROM table WHERE County = tipperary AND Rank < 1 |
Translate the following into a SQL query | What is the Qual with less than 68 laps? | SELECT Qual FROM table WHERE Laps < 68 |
Translate the following into a SQL query | The 147.481 Qual, happened in what year? | SELECT Year FROM table WHERE Qual = 147.481 |
Translate the following into a SQL query | Name the being for having things of language, religions, work, customs, values, norms? | SELECT Being (qualities) FROM table WHERE Having (things) = language, religions, work, customs, values, norms |
Translate the following into a SQL query | Name the having things for privacy, intimate spaces of togetherness | SELECT Having (things) FROM table WHERE Interacting (settings) = privacy, intimate spaces of togetherness |
Translate the following into a SQL query | Name the interacting for need of protection | SELECT Interacting (settings) FROM table WHERE Need = protection |
Translate the following into a SQL query | Name the interacting settings for co-operate, plan, take care of, help | SELECT Interacting (settings) FROM table WHERE Doing (actions) = co-operate, plan, take care of, help |
Translate the following into a SQL query | Name the being qualities for having things of language, religions, work, customs, values, norms | SELECT Being (qualities) FROM table WHERE Having (things) = language, religions, work, customs, values, norms |
Translate the following into a SQL query | Name the being qualities for having things of friendships, family, relationships with nature | SELECT Being (qualities) FROM table WHERE Having (things) = friendships, family, relationships with nature |
Translate the following into a SQL query | What was the attendance for the game that went 2:42? | SELECT MAX Attendance FROM table WHERE Time = 2:42 |
Translate the following into a SQL query | How many laps for sébastien bourdais, and a Grid smaller than 1? | SELECT SUM Laps FROM table WHERE Name = sébastien bourdais AND Grid < 1 |
Translate the following into a SQL query | What was the score in the match against Kim Tiilikainen? | SELECT Score FROM table WHERE Opponent = kim tiilikainen |
Translate the following into a SQL query | What was the date of the match against Jean-Julien Rojer, on a clay surface? | SELECT Date FROM table WHERE Surface = clay AND Opponent = jean-julien rojer |
Translate the following into a SQL query | Which tournament had a hard surface? | SELECT Tournament FROM table WHERE Surface = hard |
Translate the following into a SQL query | What is the surface of the match when the outcome was runner-up, and a Score of julia görges polona hercog? | SELECT Surface FROM table WHERE Outcome = runner-up AND Score = julia görges polona hercog |
Translate the following into a SQL query | What was the surface of the match when the score was akgul amanmuradova chuang chia-jung? | SELECT Surface FROM table WHERE Score = akgul amanmuradova chuang chia-jung |
Translate the following into a SQL query | What date was the surface hard and Eva Hrdinová was the opponent? | SELECT Date FROM table WHERE Surface = hard AND Opponent = eva hrdinová |
Translate the following into a SQL query | What was the surface of the match against bethanie mattek-sands? | SELECT Surface FROM table WHERE Opponent = bethanie mattek-sands |
Translate the following into a SQL query | What series 1 has a Doug Richards in Series 2? | SELECT Series 1 FROM table WHERE Series 2 = doug richards |
Translate the following into a SQL query | Who in series 1 corresponds with Peter Jones in series 5? | SELECT Series 1 FROM table WHERE Series 5 = peter jones |
Translate the following into a SQL query | Who in series 5 corresponds to Deborah Meaden in series 3? | SELECT Series 5 FROM table WHERE Series 3 = deborah meaden |
Translate the following into a SQL query | Who in series 11 corresponds to Peter Jones in series 1? | SELECT Series 11 FROM table WHERE Series 1 = peter jones |
Translate the following into a SQL query | Who in series 9 corresponds to Peter Jones in series 2? | SELECT Series 9 FROM table WHERE Series 2 = peter jones |
Translate the following into a SQL query | What was the score of the game when the Blue Jays were 55-39? | SELECT Score FROM table WHERE Record = 55-39 |
Translate the following into a SQL query | Who was the individual in the event of 1998 Pokljuka? | SELECT Individual FROM table WHERE Event = 1998 pokljuka |
Translate the following into a SQL query | Which locomotive class had 5 items made? | SELECT Class FROM table WHERE Quantity made = 5 |
Translate the following into a SQL query | Which manufacturer made a locomotive with a type of 4-6-4t? | SELECT Manufacturer FROM table WHERE Type = 4-6-4t |
Translate the following into a SQL query | What is the event year radek štěpánek was the round and there were less than 3 aces? | SELECT COUNT Event FROM table WHERE Round = radek štěpánek AND !Aces < 3 |
Translate the following into a SQL query | How many players were in the event after 2011 with less than 9 aces? | SELECT COUNT Player FROM table WHERE Event > 2011 AND !Aces < 9 |
Translate the following into a SQL query | Who was the opponent in the 2011 event with less than 113 players? | SELECT Opponent FROM table WHERE Player < 113 AND Event = 2011 |
Translate the following into a SQL query | What is the highest number of players during 1r year with a clay set and more than 4 aces? | SELECT MAX Player FROM table WHERE Year = 1r AND Sets = clay AND !Aces > 4 |
Translate the following into a SQL query | Who played as Team 2 against Team 1 SC Gagnoa? | SELECT Team 2 FROM table WHERE Team 1 = sc gagnoa |
Translate the following into a SQL query | What was the 1st leg score when Mufulira Wanderers played as Team 2? | SELECT 1st leg FROM table WHERE Team 2 = mufulira wanderers |
Translate the following into a SQL query | What's the score of the 1st leg when Water Corporation was Team 1? | SELECT 1st leg FROM table WHERE Team 1 = water corporation |
Translate the following into a SQL query | What's the 1st leg score when Team 1 was Gor Mahia? | SELECT 1st leg FROM table WHERE Team 1 = gor mahia |
Translate the following into a SQL query | Who played as Team 1 against Lomé i? | SELECT Team 1 FROM table WHERE Team 2 = lomé i |
Translate the following into a SQL query | Name the entrant for year of 1952 | SELECT Entrant FROM table WHERE Year = 1952 |
Translate the following into a SQL query | Name the total number of points for 1952 | SELECT COUNT Points FROM table WHERE Year = 1952 |
Translate the following into a SQL query | Name the total number of years for talbot-lago t26c and points less than 3 | SELECT COUNT Year FROM table WHERE Chassis = talbot-lago t26c AND Points < 3 |
Translate the following into a SQL query | What episode featured entrepreneur Richard Ernest? | SELECT First aired FROM table WHERE Entrepreneur(s) = richard ernest |
Translate the following into a SQL query | What Investing Dragons had a request of £100,000? | SELECT Investing Dragon(s) FROM table WHERE Money requested (£) = 100,000 |
Translate the following into a SQL query | What Entrepreneurs requested £60,000? | SELECT Entrepreneur(s) FROM table WHERE Money requested (£) = 60,000 |
Translate the following into a SQL query | How much was requested from Investing Dragon Peter Jones request in episode 2? | SELECT Money requested (£) FROM table WHERE Investing Dragon(s) = peter jones AND Episode = episode 2 |
Translate the following into a SQL query | Name the investing dragon for razzamataz | SELECT Investing Dragon(s) FROM table WHERE Company or product name = razzamataz |
Translate the following into a SQL query | Name the first aired with money requested more than 85,000 | SELECT First aired FROM table WHERE Money requested (£) > 85,000 |
Translate the following into a SQL query | What is the competition type of the event with a result of 3-2 and a score of 2-1? | SELECT Competition FROM table WHERE Result = 3-2 AND Score = 2-1 |
Translate the following into a SQL query | Which date has a competition type of friendly and a score of 2-1? | SELECT Date FROM table WHERE Competition = friendly AND Score = 2-1 |
Translate the following into a SQL query | What is the score of the event with a competition type of friendly and a result of 4-5? | SELECT Score FROM table WHERE Competition = friendly AND Result = 4-5 |
Translate the following into a SQL query | Which date has a score of 2-1? | SELECT Date FROM table WHERE Score = 2-1 |
Translate the following into a SQL query | Which date has a competition type of British home championship? | SELECT Date FROM table WHERE Competition = british home championship |
Translate the following into a SQL query | what date was mallala motor sport park the circuit? | SELECT Date FROM table WHERE Circuit = mallala motor sport park |
Translate the following into a SQL query | what date did the m3 motorsport team compete at winton motor raceway? | SELECT Date FROM table WHERE Team = m3 motorsport AND Circuit = winton motor raceway |
Translate the following into a SQL query | Name the agg for team 2 of asl sport guyanais. | SELECT Agg. FROM table WHERE Team 2 = asl sport guyanais |
Translate the following into a SQL query | Name the agg for seba united | SELECT Agg. FROM table WHERE Team 1 = seba united |
Translate the following into a SQL query | Name the 2nd leg for defence force | SELECT 2nd leg FROM table WHERE Team 2 = defence force |
Translate the following into a SQL query | Which country does FC Atyrau represent after the 2006 season? | SELECT Country FROM table WHERE Season > 2006 AND Team = fc atyrau |
Translate the following into a SQL query | In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps? | SELECT MAX Season FROM table WHERE Country = uzbekistan AND Team = fc pakhtakor tashkent AND Apps > 6 |
Translate the following into a SQL query | How many seasons have 1 goals and more than 11 apps? | SELECT COUNT Season FROM table WHERE Goals = 1 AND Apps > 11 |
Translate the following into a SQL query | What game that had a record of 39-44 had the lowest attendance? | SELECT MIN Attendance FROM table WHERE Record = 39-44 |
Translate the following into a SQL query | Who was the opponent at the game that had a loss of Saarloos (7-7)? | SELECT Opponent FROM table WHERE Loss = saarloos (7-7) |
Translate the following into a SQL query | What was the date of the game attended by more than 24,383 with a score of 4-3? | SELECT Date FROM table WHERE Attendance > 24,383 AND Score = 4-3 |
Translate the following into a SQL query | What was the score of the game with a record of 81-60? | SELECT Score FROM table WHERE Record = 81-60 |
Translate the following into a SQL query | What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)? | SELECT MIN Attendance FROM table WHERE Score = 5-4 AND Loss = williams (2-4) |
Translate the following into a SQL query | What year did the 11th place play 26 games? | SELECT Year FROM table WHERE Place = 11th AND Played = 26 |
Translate the following into a SQL query | What is the total played games of a 22 G.A.? | SELECT COUNT Played FROM table WHERE G.A. = 22 |
Translate the following into a SQL query | Name the winner for genoa to livorno | SELECT Winner FROM table WHERE Course = genoa to livorno |
Translate the following into a SQL query | Name the winner for 5 june | SELECT Winner FROM table WHERE Date = 5 june |
Translate the following into a SQL query | Name the winner for rest day race leader | SELECT Winner FROM table WHERE Race Leader = rest day |
Translate the following into a SQL query | Name the least rank for lane less than 5 for germany and sandra völker | SELECT MIN Rank FROM table WHERE Lane < 5 AND Nationality = germany AND Name = sandra völker |
Translate the following into a SQL query | Name the total number of rank for lane 7 | SELECT COUNT Rank FROM table WHERE Lane = 7 |
Translate the following into a SQL query | Name the most time for katrin meißner and rank less than 5 | SELECT MAX Time FROM table WHERE Name = katrin meißner AND Rank < 5 |
Translate the following into a SQL query | Tell me the name for time of 25.74 | SELECT Name FROM table WHERE Time = 25.74 |
Translate the following into a SQL query | Was the University of Southern California Signed? | SELECT Signed FROM table WHERE School = university of southern california |
Translate the following into a SQL query | Was the University of Michigan Signed? | SELECT Signed FROM table WHERE School = university of michigan |
Translate the following into a SQL query | What is the University of Southern California's highest Round? | SELECT MAX Round FROM table WHERE School = university of southern california |
Translate the following into a SQL query | Who was the home captain at Sabina Park? | SELECT Home captain FROM table WHERE Venue = sabina park |
Translate the following into a SQL query | What was the result of the game hosted at Queen's Park Oval? | SELECT Result FROM table WHERE Venue = queen's park oval |
Translate the following into a SQL query | Name the genre for release-year of first charted record of 1988 | SELECT Genre FROM table WHERE Release-year of first charted record = 1988 |
Translate the following into a SQL query | What was the loss of the game with a record of 77-65? | SELECT Loss FROM table WHERE Record = 77-65 |
Translate the following into a SQL query | What was the loss of the game with a record of 84-71? | SELECT Loss FROM table WHERE Record = 84-71 |
Translate the following into a SQL query | What date was the record 34-41? | SELECT Date FROM table WHERE Record = 34-41 |
Translate the following into a SQL query | What type had a course of Grosseto To Rieti? | SELECT Type FROM table WHERE Course = grosseto to rieti |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.