output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT manufacturer FROM table_name_20 WHERE rider = "shoya tomizawa" | CREATE TABLE table_name_20 (manufacturer VARCHAR, rider VARCHAR), Which manufacturer made Shoya Tomizawa's motorcycle? |
SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351" | CREATE TABLE table_name_24 (laps VARCHAR, time_retired VARCHAR), How many laps were ridden in the race that had a Time/Retired of +37.351? |
SELECT MIN(laps) FROM table_name_16 WHERE rider = "mattia pasini" | CREATE TABLE table_name_16 (laps INTEGER, rider VARCHAR), How many laps did Mattia Pasini ride? |
SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989" | CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR), What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? |
SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–1982" | CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR), What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play? |
SELECT AVG(goals) FROM table_name_68 WHERE leeds_career = "1960–1964" AND appearances < 120 | CREATE TABLE table_name_68 (goals INTEGER, leeds_career VARCHAR, appearances VARCHAR), What is the average number of goals for a player who had a Leeds career from 1960–1964 and made fewer than 120 appearances? |
SELECT 2008 FROM table_name_15 WHERE 2005 = "deandria hill" | CREATE TABLE table_name_15 (Id VARCHAR), Who attended the school in 2008, that Deandria Hill attended in 2005? |
SELECT 2006 FROM table_name_70 WHERE 2005 = "jasmine wilson" | CREATE TABLE table_name_70 (Id VARCHAR), Who attended the school in 2006, that Jasmine Wilson attended in 2005? |
SELECT 2009 FROM table_name_60 WHERE 2007 = "lakita hall" | CREATE TABLE table_name_60 (Id VARCHAR), Who attended the school in 2009, that Lakita Hall attended in 2007? |
SELECT 2007 FROM table_name_20 WHERE 2008 = "kiara spivey" | CREATE TABLE table_name_20 (Id VARCHAR), Who attended the school in 2007, that Kiara Spivey attended in 2008? |
SELECT 2006 FROM table_name_32 WHERE 2007 = "whitney powell" | CREATE TABLE table_name_32 (Id VARCHAR), Who attended the school in 2006, that Whitney Powell attended in 2007? |
SELECT 2008 FROM table_name_42 WHERE 2006 = "brikajdri wilson" | CREATE TABLE table_name_42 (Id VARCHAR), Who attended the school in 2008, that Brikajdri Wilson attended in 2006? |
SELECT MIN(rank) FROM table_name_85 WHERE lane > 5 AND name = "elizabeth van welie" | CREATE TABLE table_name_85 (rank INTEGER, lane VARCHAR, name VARCHAR), What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? |
SELECT rank FROM table_name_35 WHERE time = "2:11.83" | CREATE TABLE table_name_35 (rank VARCHAR, time VARCHAR), What is the rank of the swimmer with a time of 2:11.83? |
SELECT MIN(lane) FROM table_name_17 WHERE time = "2:07.57" AND rank > 1 | CREATE TABLE table_name_17 (lane INTEGER, time VARCHAR, rank VARCHAR), What is the lowest lane of a swimmer with a time of 2:07.57 and a rank larger than 1? |
SELECT rank FROM table_name_34 WHERE name = "petria thomas" | CREATE TABLE table_name_34 (rank VARCHAR, name VARCHAR), What is the rank of the swimmer named Petria Thomas? |
SELECT attendance FROM table_name_56 WHERE group_position = "3rd" | CREATE TABLE table_name_56 (attendance VARCHAR, group_position VARCHAR), How many people were in attendance when the group position was 3rd? |
SELECT result_f___a FROM table_name_39 WHERE group_position = "1st" AND opponents = "dynamo kyiv" | CREATE TABLE table_name_39 (result_f___a VARCHAR, group_position VARCHAR, opponents VARCHAR), What was the final score agains Dynamo Kyiv, when the group position was 1st? |
SELECT AVG(attendance) FROM table_name_51 WHERE date = "18 october 2000" | CREATE TABLE table_name_51 (attendance INTEGER, date VARCHAR), What was the average attendance on 18 October 2000? |
SELECT player FROM table_name_35 WHERE year_s__won = "2007" | CREATE TABLE table_name_35 (player VARCHAR, year_s__won VARCHAR), In 2007, what player won player of the year? |
SELECT year_s__won FROM table_name_45 WHERE player = "mike weir" | CREATE TABLE table_name_45 (year_s__won VARCHAR, player VARCHAR), What year(s) did Mike Weir win player of the year? |
SELECT year_s__won FROM table_name_17 WHERE to_par = "+14" | CREATE TABLE table_name_17 (year_s__won VARCHAR, to_par VARCHAR), The To par of +14 was won in what year(s)? |
SELECT result FROM table_name_5 WHERE competition = "1982 president's cup" | CREATE TABLE table_name_5 (result VARCHAR, competition VARCHAR), What is the result when the competition is 1982 president's cup? |
SELECT score FROM table_name_98 WHERE date = "december 14, 1985" | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR), What is the score when the date is December 14, 1985? |
SELECT venue FROM table_name_32 WHERE date = "september 24, 1980" | CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR), What is the venue when the date is September 24, 1980? |
SELECT venue FROM table_name_60 WHERE result = "2-0" AND score = "1 goal" AND competition = "1980 afc asian cup" | CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR), What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup? |
SELECT venue FROM table_name_94 WHERE score = "1 goal" AND date = "august 27, 1980" | CREATE TABLE table_name_94 (venue VARCHAR, score VARCHAR, date VARCHAR), What is the venue when the score is 1 goal, and the date is August 27, 1980? |
SELECT result FROM table_name_11 WHERE date = "august 27, 1980" | CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR), What is the result when the date is August 27, 1980? |
SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport" | CREATE TABLE table_name_15 (year INTEGER, entrant VARCHAR), What year shows the Entrant of bmw motorsport? |
SELECT MIN(points) FROM table_name_78 WHERE entrant = "stp march engineering" | CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR), Which Entrant of stp march engineering scored the lowest points? |
SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0 | CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR), What year had the Chassis of march 762 and more than 0 points? |
SELECT MIN(points) FROM table_name_85 WHERE engine = "bmw" AND chassis = "march 792" AND year > 1979 | CREATE TABLE table_name_85 (points INTEGER, year VARCHAR, engine VARCHAR, chassis VARCHAR), Which engine of bmw had the lowest points and chassis of march 792 that is newer than 1979? |
SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university" | CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR), Which Conference has a City of boca raton, and a School of florida atlantic university? |
SELECT school FROM table_name_27 WHERE national_championships = 2 AND city = "orlando" | CREATE TABLE table_name_27 (school VARCHAR, national_championships VARCHAR, city VARCHAR), Which School has a National Championships of 2, and a City of orlando? |
SELECT school FROM table_name_21 WHERE national_championships < 2 AND nickname = "lions" | CREATE TABLE table_name_21 (school VARCHAR, national_championships VARCHAR, nickname VARCHAR), Which school has National Championships smaller than 2, and a Nickname of lions? |
SELECT win__percentage FROM table_name_95 WHERE 2011 = "1r" AND tournament = "paris" | CREATE TABLE table_name_95 (win__percentage VARCHAR, tournament VARCHAR), What is the win percentage when 2011 shows 1r in the Paris tournament? |
SELECT 2009 FROM table_name_32 WHERE 2011 = "25" | CREATE TABLE table_name_32 (Id VARCHAR), What shows for 2009 when 25 shows for 2011? |
SELECT 2010 FROM table_name_35 WHERE 2011 = "1r" AND tournament = "us open" | CREATE TABLE table_name_35 (tournament VARCHAR), What shows for 2010 when 2011 is 1r at the US Open tournament? |
SELECT win__percentage FROM table_name_74 WHERE 2010 = "98" | CREATE TABLE table_name_74 (win__percentage VARCHAR), What is the win percentage when 2010 was 98? |
SELECT 2008 FROM table_name_22 WHERE tournament = "shanghai" | CREATE TABLE table_name_22 (tournament VARCHAR), What shows for 2008 at the Shanghai tournament? |
SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games" | CREATE TABLE table_name_19 (win__percentage VARCHAR), What is the win percentage for the 2012 of olympic games? |
SELECT opponent FROM table_name_25 WHERE time = "1:22" | CREATE TABLE table_name_25 (opponent VARCHAR, time VARCHAR), Who was the opponent in the match that lasted 1:22? |
SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes" | CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR), Which round did the bout against Jonatas Novaes end in? |
SELECT AVG(established) FROM table_name_53 WHERE championships < 1 AND club = "erie seawolves" | CREATE TABLE table_name_53 (established INTEGER, championships VARCHAR, club VARCHAR), Name the average established for championships less than 1 and club of erie seawolves |
SELECT MAX(championships) FROM table_name_76 WHERE club = "erie seawolves" | CREATE TABLE table_name_76 (championships INTEGER, club VARCHAR), Name the most championships for club of erie seawolves |
SELECT sport FROM table_name_19 WHERE championships < 1 AND club = "erie bayhawks" | CREATE TABLE table_name_19 (sport VARCHAR, championships VARCHAR, club VARCHAR), Name the sport with championships less than 1 and club of erie bayhawks |
SELECT date FROM table_name_71 WHERE game = 3 | CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR), what is the date for game 3? |
SELECT english_title FROM table_name_95 WHERE japanese_title = "餓狼伝説バトルアーカイブズ2" | CREATE TABLE table_name_95 (english_title VARCHAR, japanese_title VARCHAR), What is the English title of 餓狼伝説バトルアーカイブズ2? |
SELECT opponent FROM table_name_7 WHERE loss = "francisco (1-1)" | CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR), Who was the opponent when there was a loss of Francisco (1-1)? |
SELECT date FROM table_name_36 WHERE attendance = "17,136" | CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR), On what date was the attendance 17,136? |
SELECT opponent FROM table_name_44 WHERE score = "6-5" AND loss = "white (2-1)" | CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR, loss VARCHAR), Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)? |
SELECT score FROM table_name_19 WHERE attendance = "41,087" | CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR), What was the score for the game that had an attendance of 41,087? |
SELECT attendance FROM table_name_12 WHERE loss = "koch (0-1)" | CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR), When the game had a loss of Koch (0-1) what was the attendance? |
SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700 | CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR), What is the inegi code for mexicali with 13,700 km area? |
SELECT date FROM table_name_34 WHERE h___a = "a" AND league_position = "9th" | CREATE TABLE table_name_34 (date VARCHAR, h___a VARCHAR, league_position VARCHAR), What is the date of the away game when the team has a league position of 9th? |
SELECT MAX(attendance) FROM table_name_33 WHERE date = "may 17" | CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR), On May 17, what is the highest Attendance? |
SELECT MAX(points) FROM table_name_49 WHERE entrant = "modena team spa" AND year > 1991 | CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR, year VARCHAR), What is the highest number of points for the Modena Team Spa after 1991? |
SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes" | CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR), What was the earliest year for the Ligier Gitanes? |
SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker" | CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR), In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? |
SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = "reestore" | CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR), How much money did reestore request ? |
SELECT COUNT(money_requested__) AS £_ FROM table_name_6 WHERE company_or_product_name = "gaming alerts" | CREATE TABLE table_name_6 (money_requested__ VARCHAR, company_or_product_name VARCHAR), How much money did gaming alerts ask for? |
SELECT winner FROM table_name_96 WHERE prize = "€93,000" | CREATE TABLE table_name_96 (winner VARCHAR, prize VARCHAR), Who is the winner of the prize of €93,000? |
SELECT winner FROM table_name_50 WHERE prize = "£200,000" | CREATE TABLE table_name_50 (winner VARCHAR, prize VARCHAR), Who is the winner of the prize of £200,000 as listed? |
SELECT date FROM table_name_91 WHERE winner = "ram vaswani" | CREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR), Ram Vaswani was a winner on what date? |
SELECT race FROM table_name_80 WHERE place = "2nd" AND season = 1996 AND date = "20-jan-1996" | CREATE TABLE table_name_80 (race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR), Which race resulted in 2nd place in the 1996 season on 20-Jan-1996? |
SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995" | CREATE TABLE table_name_17 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR), What is the place result of the downhill race before the 1996 season on 11-Mar-1995? |
SELECT place FROM table_name_73 WHERE season = 1996 AND location = "lake louise, canada" | CREATE TABLE table_name_73 (place VARCHAR, season VARCHAR, location VARCHAR), What place result was the 1996 season at Lake Louise, Canada? |
SELECT record FROM table_name_23 WHERE home = "detroit red wings" AND score = "1–2" AND date = "december 29" | CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR), What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? |
SELECT visitor FROM table_name_82 WHERE record = "10–11–5" | CREATE TABLE table_name_82 (visitor VARCHAR, record VARCHAR), Whose Visitor has a Record of 10–11–5? |
SELECT AVG(average) FROM table_name_90 WHERE matches < 2 | CREATE TABLE table_name_90 (average INTEGER, matches INTEGER), What is the typical match smaller than 2? |
SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2 | CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR), What are the total number of matches smaller than 2 with a tally of 1-19? |
SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1 | CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR), What is the average total in the county of tipperary with a rank less than 1? |
SELECT qual FROM table_name_3 WHERE laps < 68 | CREATE TABLE table_name_3 (qual VARCHAR, laps INTEGER), What is the Qual with less than 68 laps? |
SELECT year FROM table_name_15 WHERE qual = "147.481" | CREATE TABLE table_name_15 (year VARCHAR, qual VARCHAR), The 147.481 Qual, happened in what year? |
SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms" | CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR), Name the being for having things of language, religions, work, customs, values, norms? |
SELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = "privacy, intimate spaces of togetherness" | CREATE TABLE table_name_99 (having__things_ VARCHAR, interacting__settings_ VARCHAR), Name the having things for privacy, intimate spaces of togetherness |
SELECT interacting__settings_ FROM table_name_87 WHERE need = "protection" | CREATE TABLE table_name_87 (interacting__settings_ VARCHAR, need VARCHAR), Name the interacting for need of protection |
SELECT interacting__settings_ FROM table_name_40 WHERE doing__actions_ = "co-operate, plan, take care of, help" | CREATE TABLE table_name_40 (interacting__settings_ VARCHAR, doing__actions_ VARCHAR), Name the interacting settings for co-operate, plan, take care of, help |
SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms" | CREATE TABLE table_name_36 (being__qualities_ VARCHAR, having__things_ VARCHAR), Name the being qualities for having things of language, religions, work, customs, values, norms |
SELECT being__qualities_ FROM table_name_20 WHERE having__things_ = "friendships, family, relationships with nature" | CREATE TABLE table_name_20 (being__qualities_ VARCHAR, having__things_ VARCHAR), Name the being qualities for having things of friendships, family, relationships with nature |
SELECT MAX(attendance) FROM table_name_89 WHERE time = "2:42" | CREATE TABLE table_name_89 (attendance INTEGER, time VARCHAR), What was the attendance for the game that went 2:42? |
SELECT SUM(laps) FROM table_name_72 WHERE name = "sébastien bourdais" AND grid < 1 | CREATE TABLE table_name_72 (laps INTEGER, name VARCHAR, grid VARCHAR), How many laps for sébastien bourdais, and a Grid smaller than 1? |
SELECT score FROM table_name_49 WHERE opponent = "kim tiilikainen" | CREATE TABLE table_name_49 (score VARCHAR, opponent VARCHAR), What was the score in the match against Kim Tiilikainen? |
SELECT date FROM table_name_59 WHERE surface = "clay" AND opponent = "jean-julien rojer" | CREATE TABLE table_name_59 (date VARCHAR, surface VARCHAR, opponent VARCHAR), What was the date of the match against Jean-Julien Rojer, on a clay surface? |
SELECT tournament FROM table_name_22 WHERE surface = "hard" | CREATE TABLE table_name_22 (tournament VARCHAR, surface VARCHAR), Which tournament had a hard surface? |
SELECT surface FROM table_name_42 WHERE outcome = "runner-up" AND score = "julia görges polona hercog" | CREATE TABLE table_name_42 (surface VARCHAR, outcome VARCHAR, score VARCHAR), 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_name_60 WHERE score = "akgul amanmuradova chuang chia-jung" | CREATE TABLE table_name_60 (surface VARCHAR, score VARCHAR), What was the surface of the match when the score was akgul amanmuradova chuang chia-jung? |
SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová" | CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR), What date was the surface hard and Eva Hrdinová was the opponent? |
SELECT surface FROM table_name_83 WHERE opponent = "bethanie mattek-sands" | CREATE TABLE table_name_83 (surface VARCHAR, opponent VARCHAR), What was the surface of the match against bethanie mattek-sands? |
SELECT series_1 FROM table_name_58 WHERE series_2 = "doug richards" | CREATE TABLE table_name_58 (series_1 VARCHAR, series_2 VARCHAR), What series 1 has a Doug Richards in Series 2? |
SELECT series_1 FROM table_name_60 WHERE series_5 = "peter jones" | CREATE TABLE table_name_60 (series_1 VARCHAR, series_5 VARCHAR), Who in series 1 corresponds with Peter Jones in series 5? |
SELECT series_5 FROM table_name_57 WHERE series_3 = "deborah meaden" | CREATE TABLE table_name_57 (series_5 VARCHAR, series_3 VARCHAR), Who in series 5 corresponds to Deborah Meaden in series 3? |
SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones" | CREATE TABLE table_name_51 (series_11 VARCHAR, series_1 VARCHAR), Who in series 11 corresponds to Peter Jones in series 1? |
SELECT series_9 FROM table_name_55 WHERE series_2 = "peter jones" | CREATE TABLE table_name_55 (series_9 VARCHAR, series_2 VARCHAR), Who in series 9 corresponds to Peter Jones in series 2? |
SELECT score FROM table_name_86 WHERE record = "55-39" | CREATE TABLE table_name_86 (score VARCHAR, record VARCHAR), What was the score of the game when the Blue Jays were 55-39? |
SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka" | CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR), Who was the individual in the event of 1998 Pokljuka? |
SELECT class FROM table_name_26 WHERE quantity_made = 5 | CREATE TABLE table_name_26 (class VARCHAR, quantity_made VARCHAR), Which locomotive class had 5 items made? |
SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t" | CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR), Which manufacturer made a locomotive with a type of 4-6-4t? |
SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3 | CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR), What is the event year radek štěpánek was the round and there were less than 3 aces? |
SELECT COUNT(player) FROM table_name_72 WHERE event > 2011 AND NOT aces < 9 | CREATE TABLE table_name_72 (player VARCHAR, event VARCHAR, aces VARCHAR), How many players were in the event after 2011 with less than 9 aces? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.