instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What's the comp for 1998-04-22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (comp VARCHAR, date VARCHAR) | SELECT comp FROM table_name_1 WHERE date = "1998-04-22" |
Write a SQL query that answers the following question: What's the score at Olympic Stadium Tokyo, Japan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_49 WHERE venue = "olympic stadium tokyo, japan" |
Write a SQL query that answers the following question: What's the comp in Olympic Stadium Tokyo, Japan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (comp VARCHAR, venue VARCHAR) | SELECT comp FROM table_name_60 WHERE venue = "olympic stadium tokyo, japan" |
Write a SQL query that answers the following question: What's the report in King Baudouin Stadium Brussels, Belgium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (report VARCHAR, venue VARCHAR) | SELECT report FROM table_name_31 WHERE venue = "king baudouin stadium brussels, belgium" |
Write a SQL query that answers the following question: What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (percentage_lost VARCHAR, starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR) | SELECT percentage_lost FROM table_name_93 WHERE starting_weight__kg_ > 102 AND weight_lost__kg_ = 46.9 |
Write a SQL query that answers the following question: What lane has a time of 1:57.71? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (lane INTEGER, time VARCHAR) | SELECT SUM(lane) FROM table_name_95 WHERE time = "1:57.71" |
Write a SQL query that answers the following question: Who had a larger rank than 3, less than 6 lanes, and a time of 1:58.15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (name VARCHAR, time VARCHAR, rank VARCHAR, lane VARCHAR) | SELECT name FROM table_name_32 WHERE rank > 3 AND lane < 6 AND time = "1:58.15" |
Write a SQL query that answers the following question: Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller than 29.7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR) | SELECT MIN(crude_death_rate__per_1000_) FROM table_name_51 WHERE deaths = "768" AND crude_birth_rate__per_1000_ < 29.7 |
Write a SQL query that answers the following question: Which Attendance has an Opponent of perth glory, and a Round of 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (attendance INTEGER, opponent VARCHAR, round VARCHAR) | SELECT MIN(attendance) FROM table_name_91 WHERE opponent = "perth glory" AND round = "9" |
Write a SQL query that answers the following question: What is the lowest rank of rider darren gilpin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (rank INTEGER, rider VARCHAR) | SELECT MIN(rank) FROM table_name_91 WHERE rider = "darren gilpin" |
Write a SQL query that answers the following question: What is the highest rank of rider colin martin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (rank INTEGER, rider VARCHAR) | SELECT MAX(rank) FROM table_name_66 WHERE rider = "colin martin" |
Write a SQL query that answers the following question: What is shown on Tuesday when Monday is showing Fox Sports Primetime? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (tuesday VARCHAR, monday VARCHAR) | SELECT tuesday FROM table_name_77 WHERE monday = "fox sports primetime" |
Write a SQL query that answers the following question: What is shown on Friday when Tuesday is Jay Mohr Sports? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (friday VARCHAR, tuesday VARCHAR) | SELECT friday FROM table_name_25 WHERE tuesday = "jay mohr sports" |
Write a SQL query that answers the following question: What is shown on Friday when Monday is Fox Sports Primetime? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (friday VARCHAR, monday VARCHAR) | SELECT friday FROM table_name_36 WHERE monday = "fox sports primetime" |
Write a SQL query that answers the following question: What is shown on Tuesday when Thursday shows Fox Sports Tonight (ends 1 am next day)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (tuesday VARCHAR, thursday VARCHAR) | SELECT tuesday FROM table_name_71 WHERE thursday = "fox sports tonight (ends 1 am next day)" |
Write a SQL query that answers the following question: What is shown on Tuesday when Wednesday is Fox Sports Tonight (ends 1 am next day)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (tuesday VARCHAR, wednesday VARCHAR) | SELECT tuesday FROM table_name_59 WHERE wednesday = "fox sports tonight (ends 1 am next day)" |
Write a SQL query that answers the following question: Which capacity has the class 4c3h? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (capacity VARCHAR, class VARCHAR) | SELECT capacity FROM table_name_37 WHERE class = "4c3h" |
Write a SQL query that answers the following question: What is the navigator for James? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (navigator VARCHAR, driver VARCHAR) | SELECT navigator FROM table_name_3 WHERE driver = "james" |
Write a SQL query that answers the following question: How much time did Coad make when the margin was 04:02? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (total_time VARCHAR, margin VARCHAR, driver VARCHAR) | SELECT total_time FROM table_name_44 WHERE margin = "04:02" AND driver = "coad" |
Write a SQL query that answers the following question: What class has a capacity smaller than 3384 for Ferguson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (class VARCHAR, capacity VARCHAR, navigator VARCHAR) | SELECT class FROM table_name_40 WHERE capacity < 3384 AND navigator = "ferguson" |
Write a SQL query that answers the following question: What is the total number of places for a song with a draw of 21 and more than 36 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (place VARCHAR, draw VARCHAR, points VARCHAR) | SELECT COUNT(place) FROM table_name_97 WHERE draw = 21 AND points > 36 |
Write a SQL query that answers the following question: What is the lowest numbered game against Phoenix with a record of 29-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (game INTEGER, opponent VARCHAR, record VARCHAR) | SELECT MIN(game) FROM table_name_61 WHERE opponent = "phoenix" AND record = "29-17" |
Write a SQL query that answers the following question: what is the soap opera when the duration is 18 years and the character is miley byrne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (soap_opera VARCHAR, duration VARCHAR, character VARCHAR) | SELECT soap_opera FROM table_name_4 WHERE duration = "18 years" AND character = "miley byrne" |
Write a SQL query that answers the following question: what is the years when the duration is 13 years and the character is renee phelan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (years VARCHAR, duration VARCHAR, character VARCHAR) | SELECT years FROM table_name_17 WHERE duration = "13 years" AND character = "renee phelan" |
Write a SQL query that answers the following question: what is the years when the soap opera is glenroe and the actor is mick lally? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (years VARCHAR, soap_opera VARCHAR, actor VARCHAR) | SELECT years FROM table_name_21 WHERE soap_opera = "glenroe" AND actor = "mick lally" |
Write a SQL query that answers the following question: who is the actor when the character is dinny byrne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (actor VARCHAR, character VARCHAR) | SELECT actor FROM table_name_8 WHERE character = "dinny byrne" |
Write a SQL query that answers the following question: what is the soap opera when the actor is dave duffy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (soap_opera VARCHAR, actor VARCHAR) | SELECT soap_opera FROM table_name_11 WHERE actor = "dave duffy" |
Write a SQL query that answers the following question: What is the score for the game with an 11 tie number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_50 WHERE tie_no = "11" |
Write a SQL query that answers the following question: What date was Ipswich Town the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_76 WHERE away_team = "ipswich town" |
Write a SQL query that answers the following question: Who is the owner with a Hot Adult Contemporary format? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (owner VARCHAR, format VARCHAR) | SELECT owner FROM table_name_29 WHERE format = "hot adult contemporary" |
Write a SQL query that answers the following question: What's the call sign of The Q? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (call_sign VARCHAR, branding VARCHAR) | SELECT call_sign FROM table_name_43 WHERE branding = "the q" |
Write a SQL query that answers the following question: What's the call sign for Jack FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (call_sign VARCHAR, branding VARCHAR) | SELECT call_sign FROM table_name_60 WHERE branding = "jack fm" |
Write a SQL query that answers the following question: What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR) | SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms" |
Write a SQL query that answers the following question: What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmasens, and Hessen of Wormatia Worms? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year INTEGER, hessen VARCHAR, saar VARCHAR, main VARCHAR, rhein VARCHAR) | SELECT MIN(year) FROM table_name_96 WHERE main = "eintracht frankfurt" AND rhein = "waldhof mannheim" AND saar = "fk pirmasens" AND hessen = "wormatia worms" |
Write a SQL query that answers the following question: Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (year VARCHAR, main VARCHAR, hessen VARCHAR) | SELECT year FROM table_name_3 WHERE main = "eintracht frankfurt" AND hessen = "fsv mainz 05" |
Write a SQL query that answers the following question: Who was the Hessen the year that Saar was FK Pirmasens? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (hessen VARCHAR, saar VARCHAR) | SELECT hessen FROM table_name_23 WHERE saar = "fk pirmasens" |
Write a SQL query that answers the following question: What's the series of Buddy The Woodsman by director Jack King? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (series VARCHAR, director VARCHAR, title VARCHAR) | SELECT series FROM table_name_33 WHERE director = "jack king" AND title = "buddy the woodsman" |
Write a SQL query that answers the following question: Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR) | SELECT director FROM table_name_12 WHERE series = "mm" AND production_num < 6494 AND release_date = "1934-09-15" |
Write a SQL query that answers the following question: Who's the director of Buddy of the Apes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_80 WHERE title = "buddy of the apes" |
Write a SQL query that answers the following question: What's the title of the film directed by Friz Freleng with an MM Series, production number greater than 6209 and a release date of 1934-11-03? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (title VARCHAR, release_date VARCHAR, director VARCHAR, production_num VARCHAR, series VARCHAR) | SELECT title FROM table_name_77 WHERE production_num > 6209 AND series = "mm" AND director = "friz freleng" AND release_date = "1934-11-03" |
Write a SQL query that answers the following question: What is the lowest time for Paulo Villar in lane 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (time INTEGER, athlete VARCHAR, lane VARCHAR) | SELECT MIN(time) FROM table_name_85 WHERE athlete = "paulo villar" AND lane < 9 |
Write a SQL query that answers the following question: What is the nationality of lane 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (nationality VARCHAR, lane VARCHAR) | SELECT nationality FROM table_name_78 WHERE lane = 4 |
Write a SQL query that answers the following question: What is the nationality with a 13.21 time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_55 WHERE time = 13.21 |
Write a SQL query that answers the following question: What increase in net assets also has $5,617,236 as the total expenses? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (increase_in_net_assets VARCHAR, total_expenses VARCHAR) | SELECT increase_in_net_assets FROM table_name_16 WHERE total_expenses = "$5,617,236" |
Write a SQL query that answers the following question: How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT COUNT(gold) FROM table_name_79 WHERE silver = 1 AND nation = "puerto rico" AND total < 1 |
Write a SQL query that answers the following question: What is the Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_90 WHERE bronze < 7 AND silver = 1 AND rank > 9 |
Write a SQL query that answers the following question: How many Silver medals did the Nation with 10 or more Bronze receive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (silver INTEGER, bronze INTEGER) | SELECT MIN(silver) FROM table_name_73 WHERE bronze > 10 |
Write a SQL query that answers the following question: what is the average wins when draws is less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (wins INTEGER, draws INTEGER) | SELECT AVG(wins) FROM table_name_72 WHERE draws < 0 |
Write a SQL query that answers the following question: what is the average losses when the club is warrnambool and wins is less than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR) | SELECT AVG(losses) FROM table_name_58 WHERE club = "warrnambool" AND wins < 12 |
Write a SQL query that answers the following question: what is the most losses when the club is terang and draws is less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (losses INTEGER, club VARCHAR, draws VARCHAR) | SELECT MAX(losses) FROM table_name_75 WHERE club = "terang" AND draws < 0 |
Write a SQL query that answers the following question: What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR) | SELECT SUM(losses) FROM table_name_6 WHERE wins > 6 AND club = "camperdown" AND against > 1238 |
Write a SQL query that answers the following question: What is the drew for the 1999-2000 season when they were in third place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (drew VARCHAR, round VARCHAR, season VARCHAR) | SELECT drew FROM table_name_52 WHERE round = "third place" AND season = "1999-2000" |
Write a SQL query that answers the following question: What competition did they have 1 lost, 3 draws, and played 9 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (competition VARCHAR, played VARCHAR, lost VARCHAR, drew VARCHAR) | SELECT competition FROM table_name_17 WHERE lost = "1" AND drew = "3" AND played = "9" |
Write a SQL query that answers the following question: What is the number of draws when the played 9 and lost 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR) | SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3" |
Write a SQL query that answers the following question: How many cable channels have callsign CBFT-DT? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (cable_channel VARCHAR, call_sign VARCHAR) | SELECT COUNT(cable_channel) FROM table_name_38 WHERE call_sign = "cbft-dt" |
Write a SQL query that answers the following question: What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (digital_psip INTEGER, call_sign VARCHAR, broadcast_channel VARCHAR) | SELECT MIN(digital_psip) FROM table_name_81 WHERE call_sign = "cftu-dt" AND broadcast_channel > 29 |
Write a SQL query that answers the following question: What is the Digital PSIP for channels over 15 with callsign CFTU-DT? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR) | SELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = "cftu-dt" |
Write a SQL query that answers the following question: Where was the location of the Mong Kok Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (location VARCHAR, home_ground VARCHAR) | SELECT location FROM table_name_12 WHERE home_ground = "mong kok stadium" |
Write a SQL query that answers the following question: Which club, had a home ground of n/a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (club VARCHAR, home_ground VARCHAR) | SELECT club FROM table_name_95 WHERE home_ground = "n/a" |
Write a SQL query that answers the following question: What is the location for the first division, Sun Pegasus Club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (location VARCHAR, league_division VARCHAR, club VARCHAR) | SELECT location FROM table_name_25 WHERE league_division = "first division" AND club = "sun pegasus" |
Write a SQL query that answers the following question: What division is Sai Kung in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (league_division VARCHAR, club VARCHAR) | SELECT league_division FROM table_name_29 WHERE club = "sai kung" |
Write a SQL query that answers the following question: What league is Sun Source in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (league_division VARCHAR, club VARCHAR) | SELECT league_division FROM table_name_6 WHERE club = "sun source" |
Write a SQL query that answers the following question: What was the model that had years 2004-? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (model VARCHAR, years VARCHAR) | SELECT model FROM table_name_26 WHERE years = "2004-" |
Write a SQL query that answers the following question: What was the torque@rpm of the sl 65 amg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (torque VARCHAR, model VARCHAR) | SELECT torque AS @rpm FROM table_name_75 WHERE model = "sl 65 amg" |
Write a SQL query that answers the following question: What was the model that had years 2004-? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (model VARCHAR, years VARCHAR) | SELECT model FROM table_name_67 WHERE years = "2004-" |
Write a SQL query that answers the following question: What is the IHSAA Class for football for the team joining in 1968? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (ihsaa_class VARCHAR, year_joined VARCHAR) | SELECT ihsaa_class AS Football FROM table_name_15 WHERE year_joined = 1968 |
Write a SQL query that answers the following question: What is the IHSAA class for Tipton? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_3 WHERE school = "tipton" |
Write a SQL query that answers the following question: What is the rank for the person with time 11.14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (rank INTEGER, time___sec__ VARCHAR) | SELECT AVG(rank) FROM table_name_54 WHERE time___sec__ = 11.14 |
Write a SQL query that answers the following question: What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR) | SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7 |
Write a SQL query that answers the following question: What is the lane for notes Q, SB and time less than 11.22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (lane INTEGER, notes VARCHAR, time___sec__ VARCHAR) | SELECT SUM(lane) FROM table_name_31 WHERE notes = "q, sb" AND time___sec__ < 11.22 |
Write a SQL query that answers the following question: Which athlete is ranked less than 5 with time over 11.22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (athlete VARCHAR, time___sec__ VARCHAR, rank VARCHAR) | SELECT athlete FROM table_name_15 WHERE time___sec__ > 11.22 AND rank < 5 |
Write a SQL query that answers the following question: How many lanes does Australia have with a reaction smaller than 0.138? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (lane VARCHAR, nationality VARCHAR, reaction VARCHAR) | SELECT COUNT(lane) FROM table_name_55 WHERE nationality = "australia" AND reaction < 0.138 |
Write a SQL query that answers the following question: Who had a reaction larger than 0.17400000000000002 and a lane larger than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (name VARCHAR, reaction VARCHAR, lane VARCHAR) | SELECT name FROM table_name_80 WHERE reaction > 0.17400000000000002 AND lane > 6 |
Write a SQL query that answers the following question: The ship MS Vistafjord has what in service for NAL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (in_service_for_nal VARCHAR, ship VARCHAR) | SELECT in_service_for_nal FROM table_name_10 WHERE ship = "ms vistafjord" |
Write a SQL query that answers the following question: The ship SSBergensfjord built before 1973 has what tonnage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (tonnage VARCHAR, built VARCHAR, ship VARCHAR) | SELECT tonnage FROM table_name_90 WHERE built < 1973 AND ship = "ssbergensfjord" |
Write a SQL query that answers the following question: Which nationality has a time of 50.92? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_52 WHERE time = 50.92 |
Write a SQL query that answers the following question: What is the time with fewer than 5 lanes for the United States? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (time INTEGER, lane VARCHAR, nationality VARCHAR) | SELECT SUM(time) FROM table_name_82 WHERE lane < 5 AND nationality = "united states" |
Write a SQL query that answers the following question: Which Att-Cmp has a GP-GS of 7-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (att_cmp VARCHAR, gp_gs VARCHAR) | SELECT att_cmp FROM table_name_21 WHERE gp_gs = "7-1" |
Write a SQL query that answers the following question: Which Att-Cmp has a TD-INT of 7-8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (att_cmp VARCHAR, td_int VARCHAR) | SELECT att_cmp FROM table_name_21 WHERE td_int = "7-8" |
Write a SQL query that answers the following question: Which TD-INT has an Effic larger than 111.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (td_int VARCHAR, effic INTEGER) | SELECT td_int FROM table_name_87 WHERE effic > 111.4 |
Write a SQL query that answers the following question: What is the total number of losses with less than 6 wins and less than 0 draws? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (losses VARCHAR, wins VARCHAR, draws VARCHAR) | SELECT COUNT(losses) FROM table_name_94 WHERE wins < 6 AND draws < 0 |
Write a SQL query that answers the following question: What is the average number of against with less than 10 losses, more than 0 draws, and more than 7 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR) | SELECT AVG(against) FROM table_name_74 WHERE losses < 10 AND draws > 0 AND wins > 7 |
Write a SQL query that answers the following question: What is the total number of byes with more than 0 losses and 1526 against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (byes VARCHAR, losses VARCHAR, against VARCHAR) | SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526 |
Write a SQL query that answers the following question: What is the lowest number of draws with more than 2 byes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (draws INTEGER, byes INTEGER) | SELECT MIN(draws) FROM table_name_81 WHERE byes > 2 |
Write a SQL query that answers the following question: What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (against INTEGER, wins VARCHAR, wimmera_fl VARCHAR) | SELECT MIN(against) FROM table_name_33 WHERE wins < 16 AND wimmera_fl = "warrack eagles" |
Write a SQL query that answers the following question: How many races did the German racer that won less than 10 races ride? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (races_ridden VARCHAR, nationality VARCHAR, races_won VARCHAR) | SELECT COUNT(races_ridden) FROM table_name_94 WHERE nationality = "german" AND races_won < 10 |
Write a SQL query that answers the following question: What is the average win as a percentage of German racer Rudi Altig, who has ridden in over 79 races? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (win_average INTEGER, races_ridden VARCHAR, nationality VARCHAR, name VARCHAR) | SELECT AVG(win_average) FROM table_name_50 WHERE nationality = "german" AND name = "rudi altig" AND races_ridden > 79 |
Write a SQL query that answers the following question: what is the highest top-5 when cuts made is more than 39? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (top_5 INTEGER, cuts_made INTEGER) | SELECT MAX(top_5) FROM table_name_40 WHERE cuts_made > 39 |
Write a SQL query that answers the following question: what is the highest events when wins is more than 0 and cuts made is more than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (events INTEGER, wins VARCHAR, cuts_made VARCHAR) | SELECT MAX(events) FROM table_name_64 WHERE wins > 0 AND cuts_made > 14 |
Write a SQL query that answers the following question: what is the highest top-5 when wins is more than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (top_5 INTEGER, wins INTEGER) | SELECT MAX(top_5) FROM table_name_97 WHERE wins > 1 |
Write a SQL query that answers the following question: How many times is the tournament the masters tournament and the top-10 is less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR) | SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 2 |
Write a SQL query that answers the following question: What ran has noel patterson as the rider? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (rank VARCHAR, rider VARCHAR) | SELECT rank FROM table_name_40 WHERE rider = "noel patterson" |
Write a SQL query that answers the following question: What time has jules croft as the rider? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (time VARCHAR, rider VARCHAR) | SELECT time FROM table_name_15 WHERE rider = "jules croft" |
Write a SQL query that answers the following question: What team has adam barclay as the rider? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR) | SELECT team FROM table_name_79 WHERE rider = "adam barclay" |
Write a SQL query that answers the following question: What Round has h/a hurst | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (round VARCHAR, h___a VARCHAR) | SELECT round FROM table_name_26 WHERE h___a = "hurst" |
Write a SQL query that answers the following question: what game ended f-a with a round of round 1 replay | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (result_f___a VARCHAR, round VARCHAR) | SELECT result_f___a FROM table_name_63 WHERE round = "round 1 replay" |
Write a SQL query that answers the following question: what is the h/a round of round 2 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (h___a VARCHAR, round VARCHAR) | SELECT h___a FROM table_name_34 WHERE round = "round 2" |
Write a SQL query that answers the following question: What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (role_episode VARCHAR, year VARCHAR, recipients_and_nominees VARCHAR) | SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = "ellen burstyn" |
Write a SQL query that answers the following question: For which Category was Outstanding Main Title Design a Recipient and nominee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR) | SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design" |
Write a SQL query that answers the following question: Which Category was from before 2009 with a Role/Episode of Libby Goldstein and Junie Lowry-Johnson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (category VARCHAR, year VARCHAR, role_episode VARCHAR) | SELECT category FROM table_name_60 WHERE year < 2009 AND role_episode = "libby goldstein and junie lowry-johnson" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.