text
stringlengths
293
1.24k
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (points INTEGER, difference VARCHAR, against VARCHAR) ### Question: What is the average number of points for a difference of 55 and an against less than 47? ### Answer: SELECT AVG(points) FROM table_name_99 WHERE difference = "55" AND against < 47
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Rating (mID VARCHAR, stars INTEGER); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR) ### Question: What are the titles and directors of the movies whose star is greater than the average stars of the movies directed by James Cameron? ### Answer: SELECT T2.title, T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars > (SELECT AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.director = "James Cameron")
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (apparent_magnitude INTEGER, constellation VARCHAR) ### Question: What is the least apparent magnitude for all constellations from hydra? ### Answer: SELECT MIN(apparent_magnitude) FROM table_name_31 WHERE constellation = "hydra"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) ### Question: What is the position for the university of akron michigan bucks affiliation ### Answer: SELECT position FROM table_29626583_1 WHERE affiliation = "University of Akron Michigan Bucks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (la_cañada_flintridge VARCHAR, pasadena VARCHAR) ### Question: What is the figure for La Canada Flintridge when Pasadena is 34? ### Answer: SELECT la_cañada_flintridge FROM table_name_65 WHERE pasadena = "34"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE follows (f1 VARCHAR); CREATE TABLE user_profiles (name VARCHAR, uid VARCHAR) ### Question: Find the names of the users whose number of followers is greater than that of the user named "Tyler Swift". ### Answer: SELECT T1.name FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f1 GROUP BY T2.f1 HAVING COUNT(*) > (SELECT COUNT(*) FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f1 WHERE T1.name = 'Tyler Swift')
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (player VARCHAR, bowling_style VARCHAR) ### Question: Who has a bowling style of source:? ### Answer: SELECT player FROM table_name_7 WHERE bowling_style = "source:"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18600760_18 (township VARCHAR, land___sqmi__ VARCHAR) ### Question: What township is 34.781 square miles? ### Answer: SELECT township FROM table_18600760_18 WHERE land___sqmi__ = "34.781"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1841901_1 (macedonian VARCHAR, french VARCHAR) ### Question: Name the macedonian for il/elle avait entendu ### Answer: SELECT macedonian FROM table_1841901_1 WHERE french = "il/elle avait entendu"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (rank VARCHAR, title VARCHAR) ### Question: What rank has skyfall as the title? ### Answer: SELECT rank FROM table_name_35 WHERE title = "skyfall"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (losses INTEGER, wins VARCHAR, against VARCHAR) ### Question: How many losses for the team with 3 wins and more than 1919 against? ### Answer: SELECT MIN(losses) FROM table_name_28 WHERE wins = 3 AND against > 1919
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (date VARCHAR, opponents VARCHAR) ### Question: Opponents of sheffield wednesday had what date? ### Answer: SELECT date FROM table_name_81 WHERE opponents = "sheffield wednesday"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (name VARCHAR, decile INTEGER) ### Question: Which Names have Deciles larger than 7? ### Answer: SELECT name FROM table_name_38 WHERE decile > 7
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25655781_17 (mountains_classification VARCHAR, winner VARCHAR) ### Question: Who had the mountains classification when borut božič was the winner? ### Answer: SELECT mountains_classification FROM table_25655781_17 WHERE winner = "Borut Božič"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (rank INTEGER, silver INTEGER) ### Question: What average rank that has a silver less than 0? ### Answer: SELECT AVG(rank) FROM table_name_41 WHERE silver < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_40 (tournament VARCHAR, score VARCHAR) ### Question: Which Tournament has a Score of 4-6 6-2 6-1? ### Answer: SELECT tournament FROM table_name_40 WHERE score = "4-6 6-2 6-1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR) ### Question: Who Eliminated Kane? ### Answer: SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (Id VARCHAR) ### Question: What is the 2010 when the 2009 is 1r, and a 2008 is 1r? ### Answer: SELECT 2010 FROM table_name_87 WHERE 2009 = "1r" AND 2008 = "1r"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342256_33 (party VARCHAR, first_elected VARCHAR) ### Question: How many partys have a candidate first elected in 1923? ### Answer: SELECT COUNT(party) FROM table_1342256_33 WHERE first_elected = 1923
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (score VARCHAR, opponent VARCHAR) ### Question: What was the score for the game against the New Jersey Nets? ### Answer: SELECT score FROM table_name_14 WHERE opponent = "new jersey nets"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17080868_8 (record VARCHAR, high_points VARCHAR) ### Question: All high points were record by corey maggette (25). ### Answer: SELECT record FROM table_17080868_8 WHERE high_points = "Corey Maggette (25)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (leading_scorer VARCHAR, date VARCHAR) ### Question: Who is the leading scorer of the game on 20 November 2007? ### Answer: SELECT leading_scorer FROM table_name_61 WHERE date = "20 november 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (date VARCHAR, loss VARCHAR) ### Question: What date shows a Loss of lilly (2–2)? ### Answer: SELECT date FROM table_name_80 WHERE loss = "lilly (2–2)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (stage VARCHAR, winner VARCHAR) ### Question: Which stage has a Winner of lucien van impe? ### Answer: SELECT stage FROM table_name_19 WHERE winner = "lucien van impe"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (discipline VARCHAR, championship VARCHAR) ### Question: What was the discipline for the Championship of international championship for makes? ### Answer: SELECT discipline FROM table_name_17 WHERE championship = "international championship for makes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (launch_date__utc_ VARCHAR, cospar_id_satcat_№ VARCHAR) ### Question: What is the launch date of the satellite with a COSPAR ID of 1995-022a? ### Answer: SELECT launch_date__utc_ FROM table_name_32 WHERE cospar_id_satcat_№ = "1995-022a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (ice_level_reporters VARCHAR, year VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR) ### Question: Who is the Ice level reporter after 1992 with the color commentator John Davidson and the play-by-play Marv Albert? ### Answer: SELECT ice_level_reporters FROM table_name_58 WHERE color_commentator_s_ = "john davidson" AND play_by_play = "marv albert" AND year > 1992
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE branch (city VARCHAR, membership_amount VARCHAR) ### Question: Show all distinct city where branches with at least 100 memberships are located. ### Answer: SELECT DISTINCT city FROM branch WHERE membership_amount >= 100
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (administrative_panel INTEGER, agricultural_panel VARCHAR, labour_panel VARCHAR) ### Question: What is the highest administrative panel value with an agricultural panel less than 1 and a labour panel value less than 5? ### Answer: SELECT MAX(administrative_panel) FROM table_name_56 WHERE agricultural_panel < 1 AND labour_panel < 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14650373_1 (pick__number INTEGER) ### Question: What is the highest pick number? ### Answer: SELECT MAX(pick__number) FROM table_14650373_1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (game VARCHAR, streak VARCHAR, score VARCHAR) ### Question: Which Game has a Streak of loss 1, and a Score of 110–111? ### Answer: SELECT game FROM table_name_80 WHERE streak = "loss 1" AND score = "110–111"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR) ### Question: Name the transfer fee for transfer status for fra ### Answer: SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (score VARCHAR, surface VARCHAR, tournament VARCHAR) ### Question: What is the score of the hard court Ramat Hasharon tournament? ### Answer: SELECT score FROM table_name_75 WHERE surface = "hard" AND tournament = "ramat hasharon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR) ### Question: What is the average total in the county of tipperary with a rank less than 1? ### Answer: SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR) ### Question: Who was the visitor at 5:00 pm? ### Answer: SELECT visitor FROM table_name_42 WHERE time = "5:00 pm"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11602313_4 (fsb VARCHAR, part_number_s_ VARCHAR) ### Question: What is the FSB of the model with part number lf80537ge0251mn? ### Answer: SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GE0251MN"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (wins INTEGER, appearances VARCHAR, division VARCHAR, losses VARCHAR) ### Question: How many losses did the East Division have who appeared 18 times and lost 8? ### Answer: SELECT MIN(wins) FROM table_name_19 WHERE division = "east" AND losses = 8 AND appearances < 18
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1427998_1 (division VARCHAR, playoffs VARCHAR) ### Question: How many divisions have been won when the playoff result is conference quarterfinals. ### Answer: SELECT COUNT(division) FROM table_1427998_1 WHERE playoffs = "Conference Quarterfinals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (college VARCHAR, round INTEGER) ### Question: Which college has fewer than 2 rounds? ### Answer: SELECT college FROM table_name_7 WHERE round < 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_101196_1 (population VARCHAR, irish_name VARCHAR) ### Question: What is the population for the Irish Name Leitir mealláin? ### Answer: SELECT population FROM table_101196_1 WHERE irish_name = "Leitir Mealláin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE bookings (booking_start_date VARCHAR, booking_end_date VARCHAR, booking_id VARCHAR); CREATE TABLE products_booked (product_id VARCHAR, booking_id VARCHAR); CREATE TABLE Products_for_hire (product_id VARCHAR, product_name VARCHAR) ### Question: What are the start date and end date of the booking that has booked the product named 'Book collection A'? ### Answer: SELECT T3.booking_start_date, T3.booking_end_date FROM Products_for_hire AS T1 JOIN products_booked AS T2 ON T1.product_id = T2.product_id JOIN bookings AS T3 ON T2.booking_id = T3.booking_id WHERE T1.product_name = 'Book collection A'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (ordinary_value VARCHAR, metric_value VARCHAR) ### Question: What ordinary value has a metric value of 29.861 g? ### Answer: SELECT ordinary_value FROM table_name_56 WHERE metric_value = "29.861 g"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (laps VARCHAR, constructor VARCHAR, time_retired VARCHAR) ### Question: How many laps had a constructor of toyota and a Time/Retired of +13.409? ### Answer: SELECT COUNT(laps) FROM table_name_3 WHERE constructor = "toyota" AND time_retired = "+13.409"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR) ### Question: What is the Length/Fuel of the bus with a Quantity of 30? ### Answer: SELECT length_fuel FROM table_name_22 WHERE quantity = 30
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (round INTEGER, res VARCHAR, time VARCHAR) ### Question: What round has the highest Res loss, and a time of 40:00? ### Answer: SELECT MAX(round) FROM table_name_36 WHERE res = "loss" AND time = "40:00"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11964154_7 (record VARCHAR, score VARCHAR) ### Question: How many times was the final score l 96–123 (ot)? ### Answer: SELECT COUNT(record) FROM table_11964154_7 WHERE score = "L 96–123 (OT)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (attendance VARCHAR, home_team VARCHAR) ### Question: What is the attendance of the match with F.C. central chugoku as the home team? ### Answer: SELECT attendance FROM table_name_24 WHERE home_team = "f.c. central chugoku"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25800134_14 (season__number INTEGER, airdate VARCHAR) ### Question: What is the season # for the episode with air date february 2, 1970? ### Answer: SELECT MAX(season__number) FROM table_25800134_14 WHERE airdate = "February 2, 1970"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (year INTEGER, team VARCHAR) ### Question: What is the average year of the montreal expos? ### Answer: SELECT AVG(year) FROM table_name_14 WHERE team = "montreal expos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2268216_1 (year VARCHAR, team VARCHAR, manufacturer VARCHAR) ### Question: How many years was Pontiac the manufacturer for Joe Gibbs Racing? ### Answer: SELECT COUNT(year) FROM table_2268216_1 WHERE team = "Joe Gibbs Racing" AND manufacturer = "Pontiac"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (proto_germanic VARCHAR, old_english VARCHAR) ### Question: What's the Proto-Germanic when the Old English is /d/? ### Answer: SELECT proto_germanic FROM table_name_3 WHERE old_english = "/d/"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, date VARCHAR) ### Question: What is the score from September 15 that has the Indians as the opponent? ### Answer: SELECT score FROM table_name_35 WHERE opponent = "indians" AND date = "september 15"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (finish VARCHAR, engine VARCHAR, start VARCHAR) ### Question: What was the position of the team that used an oldsmobile engine and DNQ? ### Answer: SELECT finish FROM table_name_10 WHERE engine = "oldsmobile" AND start = "dnq"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (silver INTEGER, rank VARCHAR, total VARCHAR) ### Question: What is the lowest number of silver medals with a rank of 4 and total medals greater than 1? ### Answer: SELECT MIN(silver) FROM table_name_68 WHERE rank = 4 AND total > 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (catalog VARCHAR, label VARCHAR, format VARCHAR) ### Question: What catalog had an Epic Records label in CD format? ### Answer: SELECT catalog FROM table_name_16 WHERE label = "epic records" AND format = "cd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR) ### Question: Which Record has a High points of hoffman (16)? ### Answer: SELECT record FROM table_name_58 WHERE high_points = "hoffman (16)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (rank VARCHAR, nation VARCHAR, total VARCHAR) ### Question: What is the Rank of the Nation of Germany when the Total is more than 2? ### Answer: SELECT COUNT(rank) FROM table_name_63 WHERE nation = "germany" AND total > 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22597626_6 (championship VARCHAR, year VARCHAR, surface VARCHAR) ### Question: Name the championship for 1980 hard surface ### Answer: SELECT championship FROM table_22597626_6 WHERE year = 1980 AND surface = "Hard"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR) ### Question: Name the average place for ties less than 1 and losess more than 3 with points of 6 qc ### Answer: SELECT AVG(place) FROM table_name_70 WHERE ties < 1 AND points = "6 qc" AND losses > 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (decision VARCHAR, record VARCHAR) ### Question: Which Decision has a Record of 29–18–6? ### Answer: SELECT decision FROM table_name_53 WHERE record = "29–18–6"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (role VARCHAR, original_broadway_cast VARCHAR) ### Question: What was the role when the original broadway was Adam Riegler? ### Answer: SELECT role FROM table_name_8 WHERE original_broadway_cast = "adam riegler"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (away VARCHAR, ground VARCHAR) ### Question: What is the Away with a Ground that is humber college lakeshore? ### Answer: SELECT away FROM table_name_88 WHERE ground = "humber college lakeshore"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (score VARCHAR, january INTEGER) ### Question: What was the score in January that was less than 4? ### Answer: SELECT score FROM table_name_92 WHERE january < 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (laps INTEGER, driver VARCHAR) ### Question: What's the average of the amount of laps for the driver patrick tambay? ### Answer: SELECT AVG(laps) FROM table_name_64 WHERE driver = "patrick tambay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (opponent VARCHAR, attendance VARCHAR) ### Question: Who was the opponent for the game played with 54,136 people in attendance? ### Answer: SELECT opponent FROM table_name_38 WHERE attendance = "54,136"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (country VARCHAR, year VARCHAR) ### Question: Which county has 2011 as the year? ### Answer: SELECT country FROM table_name_17 WHERE year = 2011
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (points INTEGER, date VARCHAR, attendance VARCHAR) ### Question: What is the average Points, when Date is "February 2", and when Attendance is less than 16,874? ### Answer: SELECT AVG(points) FROM table_name_14 WHERE date = "february 2" AND attendance < 16 OFFSET 874
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2490289_1 (year VARCHAR, pc_intro VARCHAR) ### Question: What year did fr-08: the product ( farbrausch ) win best pc intro? ### Answer: SELECT year FROM table_2490289_1 WHERE pc_intro = "FR-08: The Product ( Farbrausch )"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (year VARCHAR, nominee VARCHAR) ### Question: How many years was Best Musical Revival nominated? ### Answer: SELECT COUNT(year) FROM table_name_60 WHERE nominee = "best musical revival"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (fa_cup_goals INTEGER, flt_goals INTEGER) ### Question: what is the highest fa cup goals when flt goals is more than 0? ### Answer: SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15736385_1 (engine VARCHAR, team VARCHAR) ### Question: What engine does Galles Racing use? ### Answer: SELECT engine FROM table_15736385_1 WHERE team = "Galles Racing"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR) ### Question: Where was Steve Stricker from? ### Answer: SELECT place FROM table_name_10 WHERE player = "steve stricker"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) ### Question: Name the first elected for kentucky 3 ### Answer: SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_182499_1 (porphyria VARCHAR, substrate VARCHAR) ### Question: how many porphyria have substrate δ-aminolevulinic acid ### Answer: SELECT COUNT(porphyria) FROM table_182499_1 WHERE substrate = "δ-Aminolevulinic acid"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26400075_2 (weeks_in_top_10 VARCHAR, artist VARCHAR) ### Question: How many weeks in the top-10 did Beats International have? ### Answer: SELECT weeks_in_top_10 FROM table_26400075_2 WHERE artist = "Beats International"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) ### Question: Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position? ### Answer: SELECT grand_prix FROM table_name_24 WHERE fastest_lap = "gerhard berger" AND pole_position = "jacques villeneuve"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (total INTEGER, nation VARCHAR) ### Question: What was the most total medals awarded to Poland? ### Answer: SELECT MAX(total) FROM table_name_37 WHERE nation = "poland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (finals INTEGER, a_league VARCHAR, pre_season VARCHAR) ### Question: Which Finals has a A-League of 0 6, and a Pre-Season larger than 0? ### Answer: SELECT AVG(finals) FROM table_name_12 WHERE a_league = "0 6" AND pre_season > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1850339_2 (air_force___navy_score VARCHAR, season VARCHAR) ### Question: What's the Air Force - Navy score in the 2018 season? ### Answer: SELECT air_force___navy_score FROM table_1850339_2 WHERE season = 2018
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (tonnage INTEGER, flag VARCHAR) ### Question: What is the Tonnage of the ship from Canada? ### Answer: SELECT MAX(tonnage) FROM table_name_73 WHERE flag = "canada"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13759592_2 (institution VARCHAR, founded VARCHAR) ### Question: Which institution was founded in 1923? ### Answer: SELECT institution FROM table_13759592_2 WHERE founded = 1923
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR) ### Question: What is the last match with a resigned manner of departure and a round 1 date of vacancy? ### Answer: SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1914090_2 (africa VARCHAR, australia VARCHAR) ### Question: How many members did Africa have the year that Australia had 94615? ### Answer: SELECT africa FROM table_1914090_2 WHERE australia = 94615
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (nhl_team VARCHAR, pick__number VARCHAR) ### Question: What is the NHL team that had pick number 32? ### Answer: SELECT nhl_team FROM table_name_72 WHERE pick__number = "32"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22879323_6 (high_points VARCHAR, team VARCHAR) ### Question: When we played Houston who had the most points? ### Answer: SELECT high_points FROM table_22879323_6 WHERE team = "Houston"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (runner_s__up VARCHAR, date VARCHAR) ### Question: Who were the runners-up in the tournament on May 26, 1996? ### Answer: SELECT runner_s__up FROM table_name_93 WHERE date = "may 26, 1996"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR) ### Question: Date for less than 122 countries and a 47% rank? ### Answer: SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = "47"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (rank VARCHAR, athletes VARCHAR) ### Question: What is Andreas Kiligkaridis rank? ### Answer: SELECT rank FROM table_name_80 WHERE athletes = "andreas kiligkaridis"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341453_34 (first_elected VARCHAR, incumbent VARCHAR) ### Question: What's the first elected year of the district that Ed Towns is an incumbent of? ### Answer: SELECT first_elected FROM table_1341453_34 WHERE incumbent = "Ed Towns"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (role VARCHAR, leading_lady VARCHAR, title VARCHAR) ### Question: What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady? ### Answer: SELECT role FROM table_name_42 WHERE leading_lady = "sheila terry" AND title = "the lawless frontier"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (points INTEGER, attendance VARCHAR, date VARCHAR) ### Question: What's the sum of the points when attendance is 8,000 on february 22? ### Answer: SELECT SUM(points) FROM table_name_41 WHERE attendance = "8,000" AND date = "february 22"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (name VARCHAR, pos VARCHAR, club VARCHAR) ### Question: What is the name of the player from club Circolo Nautico Posillipo and a position of D? ### Answer: SELECT name FROM table_name_95 WHERE pos = "d" AND club = "circolo nautico posillipo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR) ### Question: In which league would you find the player with a comp percentage of 54.0? ### Answer: SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17357929_1 (lost INTEGER) ### Question: What is the fewest number of games lost? ### Answer: SELECT MIN(lost) FROM table_17357929_1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (crowd INTEGER, away_team VARCHAR) ### Question: What were the Away team Kangaroos Crowd totals? ### Answer: SELECT SUM(crowd) FROM table_name_56 WHERE away_team = "kangaroos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27753492_2 (mixed_doubles VARCHAR, tour VARCHAR) ### Question: Who is the mixed doubled on the tour korea super series? ### Answer: SELECT mixed_doubles FROM table_27753492_2 WHERE tour = "Korea Super Series"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (round INTEGER, player VARCHAR) ### Question: What is the sum of rounds where freddie mitchell was picked? ### Answer: SELECT SUM(round) FROM table_name_41 WHERE player = "freddie mitchell"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14132239_3 (rookie VARCHAR, transition VARCHAR, offensive VARCHAR) ### Question: Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena? ### Answer: SELECT rookie FROM table_14132239_3 WHERE transition = "Brodie Merrill" AND offensive = "Pat Maddalena"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (attendance VARCHAR, score VARCHAR) ### Question: When the Score was 4-10, what was the Attendance? ### Answer: SELECT attendance FROM table_name_13 WHERE score = "4-10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (playoffs INTEGER, teams VARCHAR) ### Question: What is the highest playoffs that has tampa bay as the team? ### Answer: SELECT MAX(playoffs) FROM table_name_79 WHERE teams = "tampa bay"