instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What college did Jamie Butt go to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = "jamie butt" |
Write a SQL query that answers the following question: What school did Alexander Korobolin go to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_27 WHERE player = "alexander korobolin" |
Write a SQL query that answers the following question: Who has a round less than 9 and a position of G? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_65 WHERE position = "g" AND round < 9 |
Write a SQL query that answers the following question: Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_25 VARCHAR) | SELECT SUM(cuts_made) FROM table_name_80 WHERE wins < 2 AND top_25 > 7 AND top_10 < 2 |
Write a SQL query that answers the following question: What was the score that led to an 11-16 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_77 WHERE record = "11-16" |
Write a SQL query that answers the following question: Who took the loss on May 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_52 WHERE date = "may 20" |
Write a SQL query that answers the following question: What was the attendance of the game that lasted 3:55? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (att VARCHAR, time VARCHAR) | SELECT att FROM table_name_1 WHERE time = "3:55" |
Write a SQL query that answers the following question: What was the date of the game in which Holt (4-4) took the loss? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_36 WHERE loss = "holt (4-4)" |
Write a SQL query that answers the following question: What was the date when the pitcher was Jason Marquis and the length was 410'? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date VARCHAR, pitcher VARCHAR, length VARCHAR) | SELECT date FROM table_name_69 WHERE pitcher = "jason marquis" AND length = "410'" |
Write a SQL query that answers the following question: What number home run was in the 8th inning and went 410'? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (number VARCHAR, inning VARCHAR, length VARCHAR) | SELECT number FROM table_name_3 WHERE inning = "8th" AND length = "410'" |
Write a SQL query that answers the following question: Which Max 1-min wind mph (km/h) that has Dates active on september22– september28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (max_1_min_wind_mph__km_h_ VARCHAR, dates_active VARCHAR) | SELECT max_1_min_wind_mph__km_h_ FROM table_name_26 WHERE dates_active = "september22– september28" |
Write a SQL query that answers the following question: Which Min press has none Death and seven Storm names? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (min_press___mbar__ VARCHAR, deaths VARCHAR, storm_name VARCHAR) | SELECT min_press___mbar__ FROM table_name_68 WHERE deaths = "none" AND storm_name = "seven" |
Write a SQL query that answers the following question: What is the cost of 972 Min Press caused 52 death? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (damage__millions_usd__ VARCHAR, min_press___mbar__ VARCHAR, deaths VARCHAR) | SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = "972" AND deaths = "52" |
Write a SQL query that answers the following question: What is the active Date that has a 65 (100) Max 1-min wind? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (dates_active VARCHAR, max_1_min_wind_mph__km_h_ VARCHAR) | SELECT dates_active FROM table_name_28 WHERE max_1_min_wind_mph__km_h_ = "65 (100)" |
Write a SQL query that answers the following question: What is the Class AA in the 2010-11 school year with a class AAA of Giddings? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (class_aA VARCHAR, class_aAA VARCHAR, giddings VARCHAR, school_year VARCHAR) | SELECT class_aA FROM table_name_7 WHERE class_aAA = giddings AND school_year = "2010-11" |
Write a SQL query that answers the following question: What is the Class AA of the school year 2009-10 with a class AAA of Giddings? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (class_aA VARCHAR, class_aAA VARCHAR, giddings VARCHAR, school_year VARCHAR) | SELECT class_aA FROM table_name_95 WHERE class_aAA = giddings AND school_year = "2009-10" |
Write a SQL query that answers the following question: What is the class AAA of the 1993-94 school year with a class AAAAA of Duncanville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (class_aAA VARCHAR, class_aAAAA VARCHAR, duncanville VARCHAR, school_year VARCHAR) | SELECT class_aAA FROM table_name_58 WHERE class_aAAAA = duncanville AND school_year = "1993-94" |
Write a SQL query that answers the following question: Who was the visiting team on May 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_55 WHERE date = "may 7" |
Write a SQL query that answers the following question: Who had a Qualifying 2 time over 58.669 for Team Australia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (name VARCHAR, qual_2 VARCHAR, team VARCHAR) | SELECT name FROM table_name_68 WHERE qual_2 > 58.669 AND team = "team australia" |
Write a SQL query that answers the following question: Which qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (qual_1 VARCHAR, best VARCHAR, qual_2 VARCHAR) | SELECT qual_1 FROM table_name_50 WHERE best < 58.669 AND qual_2 < 57.897 |
Write a SQL query that answers the following question: Which team has a qualifying 2 time under 59.612 and a best of 59.14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (team VARCHAR, qual_2 VARCHAR, best VARCHAR) | SELECT team FROM table_name_58 WHERE qual_2 < 59.612 AND best = 59.14 |
Write a SQL query that answers the following question: Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (lungchang VARCHAR, halang VARCHAR, rera VARCHAR) | SELECT lungchang FROM table_name_85 WHERE halang = "ʒɯ²" AND rera = "ʒo²" |
Write a SQL query that answers the following question: Which Tikhak has a Yonguk of wu¹ti¹? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (tikhak VARCHAR, yonguk VARCHAR) | SELECT tikhak FROM table_name_77 WHERE yonguk = "wu¹ti¹" |
Write a SQL query that answers the following question: Which Yonguk has a Halang of ran¹? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (yonguk VARCHAR, halang VARCHAR) | SELECT yonguk FROM table_name_35 WHERE halang = "ran¹" |
Write a SQL query that answers the following question: Which Halang has a Rera of ʒo²? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR) | SELECT halang FROM table_name_6 WHERE rera = "ʒo²" |
Write a SQL query that answers the following question: Which Muklom has a Halang of wɯ¹cʰi¹? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (muklom VARCHAR, halang VARCHAR) | SELECT muklom FROM table_name_23 WHERE halang = "wɯ¹cʰi¹" |
Write a SQL query that answers the following question: Which Hakhun has a Tikhak of ʒu²? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (hakhun VARCHAR, tikhak VARCHAR) | SELECT hakhun FROM table_name_11 WHERE tikhak = "ʒu²" |
Write a SQL query that answers the following question: What is the location of Tamagaki station with an l stop? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (location VARCHAR, stop VARCHAR, station VARCHAR) | SELECT location FROM table_name_14 WHERE stop = "l" AND station = "tamagaki" |
Write a SQL query that answers the following question: What is the station with a number greater than 9 and a distance of 16.4 km? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (station VARCHAR, number VARCHAR, distance__km_ VARCHAR) | SELECT station FROM table_name_10 WHERE number > 9 AND distance__km_ = 16.4 |
Write a SQL query that answers the following question: What is the Japanese name of the station with a number 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (japanese VARCHAR, number VARCHAR) | SELECT japanese FROM table_name_98 WHERE number = 3 |
Write a SQL query that answers the following question: What is the distance of Kawage station? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (distance__km_ INTEGER, station VARCHAR) | SELECT SUM(distance__km_) FROM table_name_19 WHERE station = "kawage" |
Write a SQL query that answers the following question: Which station has a number less than 5 and an l stop? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (station VARCHAR, number VARCHAR, stop VARCHAR) | SELECT station FROM table_name_43 WHERE number < 5 AND stop = "l" |
Write a SQL query that answers the following question: Name the visitor for detroit on february 24 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_55 WHERE home = "detroit" AND date = "february 24" |
Write a SQL query that answers the following question: What is the highest listed year for the partner of Marcel Granollers and a hard surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (year INTEGER, partner VARCHAR, surface VARCHAR) | SELECT MAX(year) FROM table_name_28 WHERE partner = "marcel granollers" AND surface = "hard" |
Write a SQL query that answers the following question: What is the listed surface for the Championship of Toronto that had a runner-up outcome? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (surface VARCHAR, outcome VARCHAR, championship VARCHAR) | SELECT surface FROM table_name_56 WHERE outcome = "runner-up" AND championship = "toronto" |
Write a SQL query that answers the following question: What time was the game during week 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (time___et__ VARCHAR, week VARCHAR) | SELECT time___et__ FROM table_name_14 WHERE week = 5 |
Write a SQL query that answers the following question: Which City has a Series of Tamra's oc wedding? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (city VARCHAR, series VARCHAR) | SELECT city FROM table_name_23 WHERE series = "tamra's oc wedding" |
Write a SQL query that answers the following question: What is the average number of points for a difference of 55 and an against less than 47? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (points INTEGER, difference VARCHAR, against VARCHAR) | SELECT AVG(points) FROM table_name_99 WHERE difference = "55" AND against < 47 |
Write a SQL query that answers the following question: What is the highest lost that has an against greater than 60, points less than 61 and an 18 drawn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (lost INTEGER, drawn VARCHAR, against VARCHAR, points VARCHAR) | SELECT MAX(lost) FROM table_name_9 WHERE against > 60 AND points < 61 AND drawn > 18 |
Write a SQL query that answers the following question: What is the Name of the Historic House of the 18th Century? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (name VARCHAR, type VARCHAR, date VARCHAR) | SELECT name FROM table_name_79 WHERE type = "historic house" AND date = "18th century" |
Write a SQL query that answers the following question: What is the Type of castle from the 14th Century which Condition is preserved? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (type VARCHAR, date VARCHAR, condition VARCHAR) | SELECT type FROM table_name_72 WHERE date = "14th century" AND condition = "preserved" |
Write a SQL query that answers the following question: What is the Name of the private Castle of the 16th century which is occupied? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (name VARCHAR, date VARCHAR, ownership VARCHAR, condition VARCHAR) | SELECT name FROM table_name_26 WHERE ownership = "private" AND condition = "occupied" AND date = "16th century" |
Write a SQL query that answers the following question: What is the Date of the castle with a Historic Scotland Ownership? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date VARCHAR, ownership VARCHAR) | SELECT date FROM table_name_38 WHERE ownership = "historic scotland" |
Write a SQL query that answers the following question: What is the Date of the Fortified House? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (date VARCHAR, type VARCHAR) | SELECT date FROM table_name_39 WHERE type = "fortified house" |
Write a SQL query that answers the following question: What is the Date of the Courtyard Castle? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (date VARCHAR, type VARCHAR) | SELECT date FROM table_name_16 WHERE type = "courtyard castle" |
Write a SQL query that answers the following question: What is the highest lost that has 6 for points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (lost INTEGER, points VARCHAR) | SELECT MAX(lost) FROM table_name_63 WHERE points = 6 |
Write a SQL query that answers the following question: How many losses have points less than 3, with a drawn greater than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (lost INTEGER, points VARCHAR, drawn VARCHAR) | SELECT SUM(lost) FROM table_name_20 WHERE points < 3 AND drawn > 0 |
Write a SQL query that answers the following question: Which Margin of victory has a Runner(s)-up of buddy gardner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "buddy gardner" |
Write a SQL query that answers the following question: Which Date has a Winning score of –14 (66-64-68-68=266)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_93 WHERE winning_score = –14(66 - 64 - 68 - 68 = 266) |
Write a SQL query that answers the following question: Which Tournament has a Winning score of e (72-69-71-68=280)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_15 WHERE winning_score = E(72 - 69 - 71 - 68 = 280) |
Write a SQL query that answers the following question: Which Margin of victory has a Runner(s)-up of dave barr? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "dave barr" |
Write a SQL query that answers the following question: Which Margin of victory has a Runner(s)-up of mark o'meara? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_19 WHERE runner_s__up = "mark o'meara" |
Write a SQL query that answers the following question: In round 9 what was the nationality? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_98 WHERE round = "9" |
Write a SQL query that answers the following question: In round 3 what was the position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_83 WHERE round = "3" |
Write a SQL query that answers the following question: Who has a nationality of Czech Republic and a position of right wing? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (player VARCHAR, position VARCHAR, nationality VARCHAR) | SELECT player FROM table_name_49 WHERE position = "right wing" AND nationality = "czech republic" |
Write a SQL query that answers the following question: What is the highest winning pct from a team with wins less than 22, losses greater than 4, ties less than 2 and games started greater than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (winning_pct INTEGER, wins VARCHAR, games_started VARCHAR, losses VARCHAR, ties VARCHAR) | SELECT MAX(winning_pct) FROM table_name_92 WHERE losses > 4 AND ties < 2 AND games_started > 11 AND wins < 22 |
Write a SQL query that answers the following question: Gold that has a Rank of 6, and a Bronze larger than 0 had what total number of gold? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (gold VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_46 WHERE rank = "6" AND bronze > 0 |
Write a SQL query that answers the following question: Total of 5 had what bronze? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (bronze VARCHAR, total VARCHAR) | SELECT bronze FROM table_name_21 WHERE total = 5 |
Write a SQL query that answers the following question: In which tournament did he place 20th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (tournament VARCHAR, result VARCHAR) | SELECT tournament FROM table_name_55 WHERE result = "20th" |
Write a SQL query that answers the following question: What the result for the hypo-meeting tournament in 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (result VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT result FROM table_name_81 WHERE year = 1994 AND tournament = "hypo-meeting" |
Write a SQL query that answers the following question: What was the result in 1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR) | SELECT result FROM table_name_79 WHERE year = 1995 |
Write a SQL query that answers the following question: After March 19, what's the score of game 67? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (score VARCHAR, march VARCHAR, game VARCHAR) | SELECT score FROM table_name_75 WHERE march > 19 AND game = 67 |
Write a SQL query that answers the following question: Who is the head linesman of the game on 1 February 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (head_linesman VARCHAR, date VARCHAR) | SELECT head_linesman FROM table_name_46 WHERE date = "1 february 2009" |
Write a SQL query that answers the following question: What is the date of the game where the line judge was Bob Beeks, the head linesman was Jerry Bergman, and Paul Baetz was the back judge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (date VARCHAR, back_judge VARCHAR, line_judge VARCHAR, head_linesman VARCHAR) | SELECT date FROM table_name_61 WHERE line_judge = "bob beeks" AND head_linesman = "jerry bergman" AND back_judge = "paul baetz" |
Write a SQL query that answers the following question: Which game was on 14 January 1973? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_31 WHERE date = "14 january 1973" |
Write a SQL query that answers the following question: Who was the line judge at the game where Scott Green was referee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (line_judge VARCHAR, referee VARCHAR) | SELECT line_judge FROM table_name_48 WHERE referee = "scott green" |
Write a SQL query that answers the following question: Who is the head linesman at game xxxv? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (head_linesman VARCHAR, game VARCHAR) | SELECT head_linesman FROM table_name_66 WHERE game = "xxxv" |
Write a SQL query that answers the following question: What game had Al Jury as field judge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (game VARCHAR, field_judge VARCHAR) | SELECT game FROM table_name_8 WHERE field_judge = "al jury" |
Write a SQL query that answers the following question: What's listed for Departure that has 1676 listed for the Kilometers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (departure VARCHAR, kilometers VARCHAR) | SELECT departure FROM table_name_88 WHERE kilometers = 1676 |
Write a SQL query that answers the following question: What is the sum of Kilometers that has a Station Code of KGQ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (kilometers VARCHAR, station_code VARCHAR) | SELECT COUNT(kilometers) FROM table_name_43 WHERE station_code = "kgq" |
Write a SQL query that answers the following question: What's the Kilometers listed that also has the Station Code of Kuda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (kilometers VARCHAR, station_code VARCHAR) | SELECT kilometers FROM table_name_87 WHERE station_code = "kuda" |
Write a SQL query that answers the following question: What's listed for the Station Code that has the Arrival of 02:20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (station_code VARCHAR, arrival VARCHAR) | SELECT station_code FROM table_name_40 WHERE arrival = "02:20" |
Write a SQL query that answers the following question: What is listede for Departure that also has a Station Code of CLT? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (departure VARCHAR, station_code VARCHAR) | SELECT departure FROM table_name_33 WHERE station_code = "clt" |
Write a SQL query that answers the following question: What is the smallest area with 45 population? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (area__km_2__ INTEGER, population__2000_ VARCHAR) | SELECT MIN(area__km_2__) FROM table_name_72 WHERE population__2000_ = "45" |
Write a SQL query that answers the following question: What is the area located in Rhode Island with more than 38 sq mi area? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR) | SELECT AVG(area__km_2__) FROM table_name_81 WHERE location = "rhode island" AND area__sq_mi_ > 38 |
Write a SQL query that answers the following question: What is the average area in New York that is larger than 55 sq mi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (area__km_2__ INTEGER, area__sq_mi_ VARCHAR, location VARCHAR) | SELECT AVG(area__km_2__) FROM table_name_21 WHERE area__sq_mi_ > 55 AND location = "new york" |
Write a SQL query that answers the following question: Which event was in Tokyo, Japan and had an opponent of rumina sato? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (event VARCHAR, location VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_38 WHERE location = "tokyo, japan" AND opponent = "rumina sato" |
Write a SQL query that answers the following question: Which round was 2:30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (round VARCHAR, time VARCHAR) | SELECT round FROM table_name_45 WHERE time = "2:30" |
Write a SQL query that answers the following question: Which event had the opponent of shinya aoki and was at 4:56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (event VARCHAR, opponent VARCHAR, time VARCHAR) | SELECT event FROM table_name_90 WHERE opponent = "shinya aoki" AND time = "4:56" |
Write a SQL query that answers the following question: Which method did pride bushido 10 have ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_56 WHERE event = "pride bushido 10" |
Write a SQL query that answers the following question: Which 2008–09 has an Event of autumn gold? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (event VARCHAR) | SELECT 2008 AS _09 FROM table_name_13 WHERE event = "autumn gold" |
Write a SQL query that answers the following question: Which Drawn has a Team of internacional-sp? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (drawn INTEGER, team VARCHAR) | SELECT SUM(drawn) FROM table_name_77 WHERE team = "internacional-sp" |
Write a SQL query that answers the following question: How much Lost has a Drawn larger than 5, and a Played larger than 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (lost INTEGER, drawn VARCHAR, played VARCHAR) | SELECT SUM(lost) FROM table_name_78 WHERE drawn > 5 AND played > 18 |
Write a SQL query that answers the following question: Which Drawn is the highest one that has a Played smaller than 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (drawn INTEGER, played INTEGER) | SELECT MAX(drawn) FROM table_name_36 WHERE played < 18 |
Write a SQL query that answers the following question: Which Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR) | SELECT MAX(drawn) FROM table_name_39 WHERE against > 15 AND points < 15 AND lost < 9 |
Write a SQL query that answers the following question: What's the least amount of floors at 921 sw sixth avenue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (floors INTEGER, street_address VARCHAR) | SELECT MIN(floors) FROM table_name_41 WHERE street_address = "921 sw sixth avenue" |
Write a SQL query that answers the following question: What's the address of the union bank of California tower? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (street_address VARCHAR, name VARCHAR) | SELECT street_address FROM table_name_27 WHERE name = "union bank of california tower" |
Write a SQL query that answers the following question: What were the years that the building at 200 sw harrison was considered to be the tallest building? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (years_as_tallest VARCHAR, street_address VARCHAR) | SELECT years_as_tallest FROM table_name_3 WHERE street_address = "200 sw harrison" |
Write a SQL query that answers the following question: What is the smallest position with less than 7 points piloted by Didier Hauss? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (position INTEGER, points VARCHAR, pilot VARCHAR) | SELECT MIN(position) FROM table_name_29 WHERE points < 7 AND pilot = "didier hauss" |
Write a SQL query that answers the following question: During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (season VARCHAR, winner VARCHAR, final_venue VARCHAR) | SELECT season FROM table_name_62 WHERE winner = "kiveton park" AND final_venue = "sandy lane" |
Write a SQL query that answers the following question: What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (runner_up VARCHAR, winner VARCHAR, season VARCHAR) | SELECT runner_up FROM table_name_88 WHERE winner = "kiveton park" AND season = "2005-06" |
Write a SQL query that answers the following question: What was the Result in Green Lane with Kirkburton as the Runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (result VARCHAR, runner_up VARCHAR, final_venue VARCHAR) | SELECT result FROM table_name_94 WHERE runner_up = "kirkburton" AND final_venue = "green lane" |
Write a SQL query that answers the following question: What was the Result in the 2005-06 Season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (result VARCHAR, season VARCHAR) | SELECT result FROM table_name_9 WHERE season = "2005-06" |
Write a SQL query that answers the following question: What was the Final Venue having Sheffield Reserves as the Winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (final_venue VARCHAR, winner VARCHAR) | SELECT final_venue FROM table_name_17 WHERE winner = "sheffield reserves" |
Write a SQL query that answers the following question: What is the total number of Round that has a Time of 6:04? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (round INTEGER, time VARCHAR) | SELECT SUM(round) FROM table_name_85 WHERE time = "6:04" |
Write a SQL query that answers the following question: What Round has the Method of Submission (Single Wing Choke)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (round VARCHAR, method VARCHAR) | SELECT round FROM table_name_55 WHERE method = "submission (single wing choke)" |
Write a SQL query that answers the following question: Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis, nebraska? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (class VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) | SELECT class FROM table_name_12 WHERE frequency_mhz > 91.5 AND city_of_license = "hyannis, nebraska" |
Write a SQL query that answers the following question: Which Class has a ERP W larger than 205, and a Frequency MHz smaller than 93.9, and a Call sign of k210cb? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (class VARCHAR, call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) | SELECT class FROM table_name_54 WHERE erp_w > 205 AND frequency_mhz < 93.9 AND call_sign = "k210cb" |
Write a SQL query that answers the following question: Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR) | SELECT MAX(frequency_mhz) FROM table_name_52 WHERE erp_w > 205 AND call_sign = "k230ap" |
Write a SQL query that answers the following question: Which Frequency MHz has a ERP W of 250? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (frequency_mhz INTEGER, erp_w VARCHAR) | SELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.