instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the Part 2 when the class is 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (part_2 VARCHAR, class VARCHAR) | SELECT part_2 FROM table_name_4 WHERE class = "6" |
Write a SQL query that answers the following question: What is the class when the verb meaning is to nourish, to grow? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (class VARCHAR, verb_meaning VARCHAR) | SELECT class FROM table_name_47 WHERE verb_meaning = "to nourish, to grow" |
Write a SQL query that answers the following question: What is the Part 3 when the Verb meaning is to gather? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (part_3 VARCHAR, verb_meaning VARCHAR) | SELECT part_3 FROM table_name_60 WHERE verb_meaning = "to gather" |
Write a SQL query that answers the following question: What is the Verb meaning when part 1 is alan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (verb_meaning VARCHAR, part_1 VARCHAR) | SELECT verb_meaning FROM table_name_16 WHERE part_1 = "alan" |
Write a SQL query that answers the following question: What is the average attendance for matches where the home team was vida? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (attendance INTEGER, home VARCHAR) | SELECT AVG(attendance) FROM table_name_2 WHERE home = "vida" |
Write a SQL query that answers the following question: Who was the home team during the match where there were 2709 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (home VARCHAR, attendance VARCHAR) | SELECT home FROM table_name_49 WHERE attendance = 2709 |
Write a SQL query that answers the following question: What is the sum of the attendance where the score was 1:1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (attendance INTEGER, score VARCHAR) | SELECT SUM(attendance) FROM table_name_41 WHERE score = "1:1" |
Write a SQL query that answers the following question: How many ties occurred with a score of 2–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (tie_no VARCHAR, score VARCHAR) | SELECT tie_no FROM table_name_83 WHERE score = "2–2" |
Write a SQL query that answers the following question: Who is the home team when Preston North End is the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_89 WHERE away_team = "preston north end" |
Write a SQL query that answers the following question: What school/club did the player who layed shooting guard attend? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (school_club_team VARCHAR, position VARCHAR) | SELECT school_club_team FROM table_name_35 WHERE position = "shooting guard" |
Write a SQL query that answers the following question: What school/club did gerald wilkins attend? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_24 WHERE player = "gerald wilkins" |
Write a SQL query that answers the following question: What are the years when the grizzlies had a point guard who attended the school/club Florida? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_56 WHERE position = "point guard" AND school_club_team = "florida" |
Write a SQL query that answers the following question: What are the years when the grizzles had a player who attended UCLA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_71 WHERE school_club_team = "ucla" |
Write a SQL query that answers the following question: What are the years when the grizzles had a player who attended Villanova? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_37 WHERE school_club_team = "villanova" |
Write a SQL query that answers the following question: What position did the person who was with the grizzlies in 1998-1999 play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (position VARCHAR, years_for_grizzlies VARCHAR) | SELECT position FROM table_name_91 WHERE years_for_grizzlies = "1998-1999" |
Write a SQL query that answers the following question: What is the date of the game when the opponent is the Cleveland Browns? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_98 WHERE opponent = "cleveland browns" |
Write a SQL query that answers the following question: What is the result of the game when the attendance is 62,078? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_6 WHERE attendance = "62,078" |
Write a SQL query that answers the following question: What is the result of the game when the attendance is 75,466? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_43 WHERE attendance = "75,466" |
Write a SQL query that answers the following question: What is the genitive for the ergative shen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (genitive VARCHAR, ergative VARCHAR) | SELECT genitive FROM table_name_1 WHERE ergative = "shen" |
Write a SQL query that answers the following question: What is the instrumental for the dative shen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (instrumental VARCHAR, dative VARCHAR) | SELECT instrumental FROM table_name_15 WHERE dative = "shen" |
Write a SQL query that answers the following question: What is the adverbial for the nominative me? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (adverbial VARCHAR, nominative VARCHAR) | SELECT adverbial FROM table_name_92 WHERE nominative = "me" |
Write a SQL query that answers the following question: What is the ergative for the dative chven? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (ergative VARCHAR, dative VARCHAR) | SELECT ergative FROM table_name_33 WHERE dative = "chven" |
Write a SQL query that answers the following question: What is the ergative for the genitive tkven(s)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (ergative VARCHAR, genitive VARCHAR) | SELECT ergative FROM table_name_13 WHERE genitive = "tkven(s)" |
Write a SQL query that answers the following question: What is the ergative for the dative (i)mas? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (ergative VARCHAR, dative VARCHAR) | SELECT ergative FROM table_name_53 WHERE dative = "(i)mas" |
Write a SQL query that answers the following question: What is the Front Side Bus for Model Number c3 850? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (front_side_bus VARCHAR, model_number VARCHAR) | SELECT front_side_bus FROM table_name_54 WHERE model_number = "c3 850" |
Write a SQL query that answers the following question: What is the Frequency for Model Number c3 850? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (frequency VARCHAR, model_number VARCHAR) | SELECT frequency FROM table_name_99 WHERE model_number = "c3 850" |
Write a SQL query that answers the following question: Which Model number has a Front Side Bus of 100mhz, a L2-Cache of 64kib and a Multiplier of 8.5×? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (model_number VARCHAR, multiplier VARCHAR, front_side_bus VARCHAR, l2_cache VARCHAR) | SELECT model_number FROM table_name_98 WHERE front_side_bus = "100mhz" AND l2_cache = "64kib" AND multiplier = "8.5×" |
Write a SQL query that answers the following question: What is the Voltage for Model Number c3 866? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (voltage VARCHAR, model_number VARCHAR) | SELECT voltage FROM table_name_21 WHERE model_number = "c3 866" |
Write a SQL query that answers the following question: What is Finalists, when Tournament is Miami? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (finalists VARCHAR, tournament VARCHAR) | SELECT finalists FROM table_name_79 WHERE tournament = "miami" |
Write a SQL query that answers the following question: What is Tournament, when Week is November 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (tournament VARCHAR, week VARCHAR) | SELECT tournament FROM table_name_64 WHERE week = "november 23" |
Write a SQL query that answers the following question: What is Semifinalists, when Tournament is Rome | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_93 WHERE tournament = "rome" |
Write a SQL query that answers the following question: What rank were the Buckeyes when there were 68,586 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (rank__number VARCHAR, attendance VARCHAR) | SELECT rank__number FROM table_name_90 WHERE attendance = "68,586" |
Write a SQL query that answers the following question: What date was the game when 40,000 attended? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_65 WHERE attendance = "40,000" |
Write a SQL query that answers the following question: What date was the game when 45,943 attended? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_56 WHERE attendance = "45,943" |
Write a SQL query that answers the following question: Who was the opponent that played against the Buckeyes on October 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (opponent_number VARCHAR, date VARCHAR) | SELECT opponent_number FROM table_name_16 WHERE date = "october 17" |
Write a SQL query that answers the following question: What is the result of the game played when 22,555 were in attendance and the Buckeyes were ranked #1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (result VARCHAR, rank__number VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_57 WHERE rank__number = "1" AND attendance = "22,555" |
Write a SQL query that answers the following question: What Player is from Connecticut? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (player VARCHAR, college_country_team VARCHAR) | SELECT player FROM table_name_39 WHERE college_country_team = "connecticut" |
Write a SQL query that answers the following question: What is the highest position of the team having played under 10 matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (position INTEGER, played INTEGER) | SELECT MAX(position) FROM table_name_73 WHERE played < 10 |
Write a SQL query that answers the following question: What is the total number of played values for teams with more than 14 points and more than 1 draw? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (played VARCHAR, points VARCHAR, drawn VARCHAR) | SELECT COUNT(played) FROM table_name_84 WHERE points > 14 AND drawn > 1 |
Write a SQL query that answers the following question: What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (position VARCHAR, played VARCHAR, points VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_20 WHERE points > 2 AND lost > 4 AND played < 10 |
Write a SQL query that answers the following question: WHich Televotes has a Performer of biljana dodeva, and a Draw larger than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (televotes INTEGER, performer VARCHAR, draw VARCHAR) | SELECT MIN(televotes) FROM table_name_59 WHERE performer = "biljana dodeva" AND draw > 10 |
Write a SQL query that answers the following question: Name the highest Draw which has a Rank of 14, and a Televotes larger than 908? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (draw INTEGER, rank VARCHAR, televotes VARCHAR) | SELECT MAX(draw) FROM table_name_77 WHERE rank = 14 AND televotes > 908 |
Write a SQL query that answers the following question: Name the lowest Televotes which has monika sokolovska and a Rank larger than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (televotes INTEGER, performer VARCHAR, rank VARCHAR) | SELECT MIN(televotes) FROM table_name_54 WHERE performer = "monika sokolovska" AND rank > 15 |
Write a SQL query that answers the following question: Name the lowest Draw which has a Performer of kaliopi and a Televotes larger than 3834? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (draw INTEGER, performer VARCHAR, televotes VARCHAR) | SELECT MIN(draw) FROM table_name_18 WHERE performer = "kaliopi" AND televotes > 3834 |
Write a SQL query that answers the following question: What is Total, when Player is "Hale Irwin"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (total VARCHAR, player VARCHAR) | SELECT total FROM table_name_12 WHERE player = "hale irwin" |
Write a SQL query that answers the following question: What is Player, when Country is "United States", and when To Par is "WD"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_79 WHERE country = "united states" AND to_par = "wd" |
Write a SQL query that answers the following question: What is Player, when Total is "154"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_73 WHERE total = "154" |
Write a SQL query that answers the following question: What is Player, when Country is "United States", and when Total is "154"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (player VARCHAR, country VARCHAR, total VARCHAR) | SELECT player FROM table_name_48 WHERE country = "united states" AND total = "154" |
Write a SQL query that answers the following question: What is Country, when To Par is "+11"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_37 WHERE to_par = "+11" |
Write a SQL query that answers the following question: What is Country, when Player is "Hale Irwin"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_96 WHERE player = "hale irwin" |
Write a SQL query that answers the following question: What is the lowest interview score for Missouri, where the swimsuit score was highter than 9.433? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (interview INTEGER, country VARCHAR, swimsuit VARCHAR) | SELECT MIN(interview) FROM table_name_66 WHERE country = "missouri" AND swimsuit > 9.433 |
Write a SQL query that answers the following question: What is the sum of Preliminary scores where the interview score is 9.654 and the average score is lower than 9.733? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (preliminary INTEGER, interview VARCHAR, average VARCHAR) | SELECT SUM(preliminary) FROM table_name_84 WHERE interview = 9.654 AND average < 9.733 |
Write a SQL query that answers the following question: What is the sum of Swimsuit scores where the average score is 9.733 and the interview score is higher than 9.654? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (swimsuit INTEGER, average VARCHAR, interview VARCHAR) | SELECT SUM(swimsuit) FROM table_name_79 WHERE average = 9.733 AND interview > 9.654 |
Write a SQL query that answers the following question: What is the sum of Evening Gown scores where the swimsuit score is higher than 9.4 and the average score is lower than 9.733? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR) | SELECT SUM(evening_gown) FROM table_name_88 WHERE swimsuit > 9.4 AND average < 9.733 |
Write a SQL query that answers the following question: What is the lowest average score where the evening gown score was 8.811? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (average INTEGER, evening_gown VARCHAR) | SELECT MIN(average) FROM table_name_48 WHERE evening_gown = 8.811 |
Write a SQL query that answers the following question: For a team with a goals against less than 58, a position of 10, and a points 2 more than 53, what is the average lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (lost INTEGER, points_2 VARCHAR, goals_against VARCHAR, position VARCHAR) | SELECT AVG(lost) FROM table_name_37 WHERE goals_against < 58 AND position = 10 AND points_2 > 53 |
Write a SQL query that answers the following question: For a team having goals for more than 95, what is the lowest position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (position INTEGER, goals_for INTEGER) | SELECT MIN(position) FROM table_name_95 WHERE goals_for > 95 |
Write a SQL query that answers the following question: What is the function percentage when the estimated function percentage is 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (function__percentage VARCHAR, estimated_function__percentage VARCHAR) | SELECT function__percentage FROM table_name_30 WHERE estimated_function__percentage = 20 |
Write a SQL query that answers the following question: What is the measurement where the estimated function % is less than 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (measurement VARCHAR, estimated_function__percentage INTEGER) | SELECT measurement FROM table_name_21 WHERE estimated_function__percentage < 20 |
Write a SQL query that answers the following question: What is the estimated function % when the measurement is 8/8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (estimated_function__percentage VARCHAR, measurement VARCHAR) | SELECT estimated_function__percentage FROM table_name_43 WHERE measurement = "8/8" |
Write a SQL query that answers the following question: What place did jacky cupit take when his To par was under 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_67 WHERE to_par < 13 AND player = "jacky cupit" |
Write a SQL query that answers the following question: Which united states player had a To par of 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_63 WHERE to_par = 12 AND country = "united states" |
Write a SQL query that answers the following question: Which player had a To par of 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_78 WHERE to_par = 13 |
Write a SQL query that answers the following question: What did vijay singh score with a +5 to par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_92 WHERE to_par = "+5" AND player = "vijay singh" |
Write a SQL query that answers the following question: What was the average rank for south africa when they had more than 8 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (rank INTEGER, nation VARCHAR, silver VARCHAR) | SELECT AVG(rank) FROM table_name_64 WHERE nation = "south africa" AND silver > 8 |
Write a SQL query that answers the following question: What is the average number of gold medals the netherlands got when they had more than 4 bronze medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_47 WHERE nation = "netherlands" AND bronze > 4 |
Write a SQL query that answers the following question: What is the sum of the gold medals for the nation of Great britain who had more than 8 silvers and a total of less than 61 medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (gold INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT SUM(gold) FROM table_name_18 WHERE silver > 8 AND nation = "great britain" AND total < 61 |
Write a SQL query that answers the following question: What is the highest number of bronze medals that israel acheived when they got less than 3 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, silver VARCHAR) | SELECT MAX(bronze) FROM table_name_29 WHERE nation = "israel" AND silver < 3 |
Write a SQL query that answers the following question: What is the total number of gold medals when the team got 2 bronze and more than 5 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT COUNT(gold) FROM table_name_93 WHERE bronze = 2 AND silver > 5 |
Write a SQL query that answers the following question: What is Partner, when Surface is Hard, and when Score is 6–3, 7–6(0)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (partner VARCHAR, surface VARCHAR, score VARCHAR) | SELECT partner FROM table_name_94 WHERE surface = "hard" AND score = "6–3, 7–6(0)" |
Write a SQL query that answers the following question: What is Opponents, when Partner is Vitalia Diatchenko? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (opponents VARCHAR, partner VARCHAR) | SELECT opponents FROM table_name_60 WHERE partner = "vitalia diatchenko" |
Write a SQL query that answers the following question: What is Partner, when Outcome is Winner, and when Date is 12 October 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (partner VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT partner FROM table_name_73 WHERE outcome = "winner" AND date = "12 october 2003" |
Write a SQL query that answers the following question: What is Opponents, when Partner is Mervana Jugić-Salkić? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (opponents VARCHAR, partner VARCHAR) | SELECT opponents FROM table_name_8 WHERE partner = "mervana jugić-salkić" |
Write a SQL query that answers the following question: What is the lowest Minutes Played, when Rebounds is 25, and when Field Goal % is less than "0.315"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (minutes_played INTEGER, rebounds VARCHAR, field_goal__percentage VARCHAR) | SELECT MIN(minutes_played) FROM table_name_95 WHERE rebounds = 25 AND field_goal__percentage < 0.315 |
Write a SQL query that answers the following question: What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR) | SELECT AVG(rebounds) FROM table_name_4 WHERE minutes_played = 113 AND games_played > 18 |
Write a SQL query that answers the following question: What is the score on March 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_10 WHERE date = "march 17" |
Write a SQL query that answers the following question: Which event led to a loss against Josh Diekman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (event VARCHAR, res VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_37 WHERE res = "loss" AND opponent = "josh diekman" |
Write a SQL query that answers the following question: Which location led to a decision and a record of 1-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (location VARCHAR, method VARCHAR, record VARCHAR) | SELECT location FROM table_name_36 WHERE method = "decision" AND record = "1-2" |
Write a SQL query that answers the following question: Which method took place against Chris Herring? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_73 WHERE opponent = "chris herring" |
Write a SQL query that answers the following question: What is the highest number of laps that max biaggi rode on a grid larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (laps INTEGER, rider VARCHAR, grid VARCHAR) | SELECT MAX(laps) FROM table_name_12 WHERE rider = "max biaggi" AND grid > 2 |
Write a SQL query that answers the following question: What is the highest grid that tetsuya harada rode in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (grid INTEGER, rider VARCHAR) | SELECT MAX(grid) FROM table_name_71 WHERE rider = "tetsuya harada" |
Write a SQL query that answers the following question: What is the average number of laps that were made when the race took a time of +48.325? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (laps INTEGER, time_retired VARCHAR) | SELECT AVG(laps) FROM table_name_89 WHERE time_retired = "+48.325" |
Write a SQL query that answers the following question: What is the total number of laps during the race that had a time of +9.682? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_6 WHERE time_retired = "+9.682" |
Write a SQL query that answers the following question: What is the highest Pick, when College is "Syracuse", and when Overall is less than 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (pick INTEGER, college VARCHAR, overall VARCHAR) | SELECT MAX(pick) FROM table_name_40 WHERE college = "syracuse" AND overall < 18 |
Write a SQL query that answers the following question: What is Position, when College is "Houston"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_97 WHERE college = "houston" |
Write a SQL query that answers the following question: What is the number of networks when the size of rest bit field is 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (number_of_networks VARCHAR, size_of_rest_bit_field VARCHAR) | SELECT number_of_networks FROM table_name_93 WHERE size_of_rest_bit_field = "8" |
Write a SQL query that answers the following question: What is the start address when the network number bit field is 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (start_address VARCHAR, size_of_network_number_bit_field VARCHAR) | SELECT start_address FROM table_name_88 WHERE size_of_network_number_bit_field = "16" |
Write a SQL query that answers the following question: What is the end address for the Class E (Reserved)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (end_address VARCHAR, class VARCHAR) | SELECT end_address FROM table_name_61 WHERE class = "class e (reserved)" |
Write a SQL query that answers the following question: What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (size_of_rest_bit_field VARCHAR, leading_bits VARCHAR, start_address VARCHAR) | SELECT size_of_rest_bit_field FROM table_name_12 WHERE leading_bits > 110 AND start_address = "224.0.0.0" |
Write a SQL query that answers the following question: W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (goals_for INTEGER, team VARCHAR, position VARCHAR) | SELECT MIN(goals_for) FROM table_name_65 WHERE team = "goole town" AND position < 9 |
Write a SQL query that answers the following question: Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (team VARCHAR, goals_against VARCHAR, drawn VARCHAR, position VARCHAR) | SELECT team FROM table_name_15 WHERE drawn < 12 AND position > 3 AND goals_against > 85 |
Write a SQL query that answers the following question: When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR) | SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65 |
Write a SQL query that answers the following question: What was the year when the diameter was 729 km? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (year_named VARCHAR, diameter__km_ VARCHAR) | SELECT year_named FROM table_name_59 WHERE diameter__km_ = 729 |
Write a SQL query that answers the following question: What is the highest diameter when the latitude is 43.5s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (diameter__km_ INTEGER, latitude VARCHAR) | SELECT MAX(diameter__km_) FROM table_name_3 WHERE latitude = "43.5s" |
Write a SQL query that answers the following question: On what Date was the Attendance 75,891? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_77 WHERE attendance = "75,891" |
Write a SQL query that answers the following question: What was the Week on September 5, 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_37 WHERE date = "september 5, 1993" |
Write a SQL query that answers the following question: Who was the Opponent on October 31, 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_71 WHERE date = "october 31, 1993" |
Write a SQL query that answers the following question: what is the date for traction type electric with calgary location? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (date__from_ VARCHAR, traction_type VARCHAR, location VARCHAR) | SELECT date__from_ FROM table_name_18 WHERE traction_type = "electric" AND location = "calgary" |
Write a SQL query that answers the following question: Which date has date started from 30 Sep 1913? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (date__to_ VARCHAR, date__from_ VARCHAR) | SELECT date__to_ FROM table_name_79 WHERE date__from_ = "30 sep 1913" |
Write a SQL query that answers the following question: What is the 1st leg of 2q round? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (round VARCHAR) | SELECT 1 AS st_leg FROM table_name_33 WHERE round = "2q" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.