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_4 (pct INTEGER, lost VARCHAR, name VARCHAR) ### Question: What's the average pct for George Felton when he had losses greater than 7? ### Answer: SELECT AVG(pct) FROM table_name_4 WHERE lost > 7 AND name = "george felton"
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_69 (place VARCHAR, country VARCHAR, player VARCHAR) ### Question: Which Place has a Country of united states, and a Player of corey pavin? ### Answer: SELECT place FROM table_name_69 WHERE country = "united states" AND player = "corey pavin"
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_30 (attendance INTEGER, week INTEGER) ### Question: what is the highest attendance when the week is smaller than 1? ### Answer: SELECT MAX(attendance) FROM table_name_30 WHERE week < 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_68 (year_named VARCHAR, name VARCHAR, diameter VARCHAR) ### Question: How many years is ur sulcus listed with a diameter less than 1,145.0? ### Answer: SELECT COUNT(year_named) FROM table_name_68 WHERE name = "ur sulcus" AND diameter < 1 OFFSET 145.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_61 (attendance VARCHAR, record VARCHAR) ### Question: Name the attendance with record of 34-51 ### Answer: SELECT attendance FROM table_name_61 WHERE record = "34-51"
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_11238597_4 (rating VARCHAR, viewers__millions_ VARCHAR) ### Question: What was the rating for the episode with 1.83 viewers (millions)? ### Answer: SELECT rating FROM table_11238597_4 WHERE viewers__millions_ = "1.83"
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_29302711_12 (matches_won VARCHAR, name VARCHAR) ### Question: how many matches did colin dibley win ### Answer: SELECT matches_won FROM table_29302711_12 WHERE name = "Colin Dibley"
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_25 (nationality VARCHAR, player VARCHAR) ### Question: What is tom cassidy's nationality? ### Answer: SELECT nationality FROM table_name_25 WHERE player = "tom cassidy"
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 (pinnacle_height VARCHAR, name VARCHAR) ### Question: What is Pinnacle height of chimney of orot rabin? ### Answer: SELECT pinnacle_height FROM table_name_31 WHERE name = "chimney of orot rabin"
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_2201724_1 (year VARCHAR, score_in_the_final VARCHAR) ### Question: List the total number of years that have a score of 3–6, 4–6, 2–6. ### Answer: SELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = "3–6, 4–6, 2–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_37 (result VARCHAR, date VARCHAR) ### Question: What was the result of the game on December 22, 1991? ### Answer: SELECT result FROM table_name_37 WHERE date = "december 22, 1991"
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_18198579_6 (scoring_average VARCHAR, best_finish VARCHAR) ### Question: Name the scoring average for best finsih being t35 ### Answer: SELECT scoring_average FROM table_18198579_6 WHERE best_finish = "T35"
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 (date VARCHAR, home_team VARCHAR) ### Question: What date did Footscray play at home? ### Answer: SELECT date FROM table_name_92 WHERE home_team = "footscray"
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_19523708_1 (draw VARCHAR, language VARCHAR, english_meaning VARCHAR) ### Question: What was the draw for the english meaning Eyes that Never Lie? ### Answer: SELECT draw FROM table_19523708_1 WHERE language = "English" AND english_meaning = "Eyes That Never Lie"
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_45 (date VARCHAR, attendance VARCHAR) ### Question: What was the date for the game that had an attendance of 10,101? ### Answer: SELECT date FROM table_name_45 WHERE attendance = "10,101"
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_2054561_2 (first_place VARCHAR, no_of_weeks VARCHAR) ### Question: Who took first place in week 6? ### Answer: SELECT COUNT(first_place) FROM table_2054561_2 WHERE no_of_weeks = 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_2676980_4 (seats_in_congress VARCHAR, electoral_district VARCHAR) ### Question: What is the number of seats in congress when the electoral district is Ucayali? ### Answer: SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE electoral_district = "Ucayali"
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 (city VARCHAR, iata VARCHAR) ### Question: Which city has an IATA of AUH? ### Answer: SELECT city FROM table_name_42 WHERE iata = "auh"
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_51 (engine VARCHAR, year VARCHAR, points VARCHAR) ### Question: Which engine has a year later than 2006 and 60 as the points? ### Answer: SELECT engine FROM table_name_51 WHERE year > 2006 AND points = "60"
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_84 (record VARCHAR, attendance VARCHAR) ### Question: What is Record, when Attendance is 30,110? ### Answer: SELECT record FROM table_name_84 WHERE attendance = "30,110"
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 employee (fname VARCHAR, lname VARCHAR, salary INTEGER) ### Question: Return the first names and last names of employees who earn more than 30000 in salary. ### Answer: SELECT fname, lname FROM employee WHERE salary > 30000
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 (decile INTEGER, authority VARCHAR, name VARCHAR) ### Question: What is the highest decile of Tarras school, which had a state authority? ### Answer: SELECT MAX(decile) FROM table_name_58 WHERE authority = "state" AND name = "tarras school"
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_5 (result VARCHAR, competition VARCHAR) ### Question: What is the result when the competition is 1982 president's cup? ### Answer: SELECT result FROM table_name_5 WHERE competition = "1982 president's cup"
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 station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR) ### Question: Show the station name with at least two trains. ### Answer: SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id HAVING COUNT(*) >= 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_93 (height__cm_ VARCHAR, birthplace VARCHAR) ### Question: What is the 1999-2000 team, when the Height (cm) is less than 187, and when the Birthplace is Cloquet, Minnesota? ### Answer: SELECT 1999 AS _2000_team FROM table_name_93 WHERE height__cm_ < 187 AND birthplace = "cloquet, minnesota"
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 (total INTEGER, nation VARCHAR, bronze VARCHAR) ### Question: What is the lowest total that has barbados as the nation with a bronze greater than 0? ### Answer: SELECT MIN(total) FROM table_name_96 WHERE nation = "barbados" AND bronze > 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_75 (round VARCHAR, time VARCHAR, location VARCHAR) ### Question: What is the total number of Round(s), when Time is "n/a", and when Location is "Canton, Ohio, USA"? ### Answer: SELECT COUNT(round) FROM table_name_75 WHERE time = "n/a" AND location = "canton, ohio, usa"
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_39 (city VARCHAR, region VARCHAR, host VARCHAR) ### Question: Which city in the mideast region is the hot of Temple University? ### Answer: SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university"
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_10942714_1 (finale VARCHAR, chinese_title VARCHAR) ### Question: What was the finale for 潮爆大狀 ### Answer: SELECT finale FROM table_10942714_1 WHERE chinese_title = "潮爆大狀"
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_26561498_1 (written_by VARCHAR, patient_portrayer VARCHAR) ### Question: what was written by alex carter? ### Answer: SELECT written_by FROM table_26561498_1 WHERE patient_portrayer = "Alex Carter"
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 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the home team when kwong wah was the away team? ### Answer: SELECT home_team FROM table_name_41 WHERE away_team = "kwong wah"
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_213088_1 (gross_capacity__mw_ INTEGER, net_capacity__mw_ VARCHAR) ### Question: What is the gross capacity where the net capacity is 1380? ### Answer: SELECT MIN(gross_capacity__mw_) FROM table_213088_1 WHERE net_capacity__mw_ = 1380
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_76 (surface VARCHAR, winner_and_score VARCHAR) ### Question: what is the surface when the winner and score is gustavo kuerten 6-4, 7-5, 7-6(6)? ### Answer: SELECT surface FROM table_name_76 WHERE winner_and_score = "gustavo kuerten 6-4, 7-5, 7-6(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_16 (to_par VARCHAR, place VARCHAR, player VARCHAR) ### Question: What was the par for the t5 place player Steve Jones? ### Answer: SELECT to_par FROM table_name_16 WHERE place = "t5" AND player = "steve jones"
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_54 (longitude VARCHAR, diameter__km_ VARCHAR) ### Question: What shows for the Longitude when there is a Diameter (km) of 31km? ### Answer: SELECT longitude FROM table_name_54 WHERE diameter__km_ = "31km"
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_62 (venue VARCHAR, race VARCHAR) ### Question: What is the venue of teh carfax 250 race? ### Answer: SELECT venue FROM table_name_62 WHERE race = "carfax 250"
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_27218002_1 (directed_by VARCHAR, originalairdate VARCHAR) ### Question: Name who directed the air date of 12 july 2010 ### Answer: SELECT directed_by FROM table_27218002_1 WHERE originalairdate = "12 July 2010"
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_62 (opponent VARCHAR, date VARCHAR) ### Question: Who was their Opponent on April 26? ### Answer: SELECT opponent FROM table_name_62 WHERE date = "april 26"
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_29546030_2 (skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR) ### Question: Which skip (club) had 31 PA and 9 blank ends? ### Answer: SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9
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 (country VARCHAR, label VARCHAR, catalog VARCHAR) ### Question: Which Country has a Label of Toshiba-emi and a Catalog of vjcp-68403? ### Answer: SELECT country FROM table_name_95 WHERE label = "toshiba-emi" AND catalog = "vjcp-68403"
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 (prize_money__ INTEGER, rank VARCHAR) ### Question: What is the prize money for the player ranked 1? ### Answer: SELECT MAX(prize_money__) AS $__ FROM table_name_16 WHERE 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_17693171_1 (time_retired VARCHAR, driver VARCHAR) ### Question: What is the time/retired if the driver is Marco Andretti? ### Answer: SELECT time_retired FROM table_17693171_1 WHERE driver = "Marco Andretti"
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_57 (year VARCHAR, silver VARCHAR) ### Question: What year did Yuri Omeltchenko win Silver? ### Answer: SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko"
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 (crowd INTEGER, venue VARCHAR) ### Question: What was the sum of the crowds at Western Oval? ### Answer: SELECT SUM(crowd) FROM table_name_65 WHERE venue = "western oval"
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_84 (label VARCHAR, catalog__number VARCHAR) ### Question: What is the label for the album with a catalog number of 83061-4? ### Answer: SELECT label FROM table_name_84 WHERE catalog__number = "83061-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_99 (result VARCHAR, year VARCHAR) ### Question: What was the result in 2008? ### Answer: SELECT result FROM table_name_99 WHERE year = "2008"
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_1140105_6 (winning_driver VARCHAR, circuit VARCHAR) ### Question: What is the name of the winning driver where the circuit name is posillipo? ### Answer: SELECT winning_driver FROM table_1140105_6 WHERE circuit = "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_name_55 (batting_team VARCHAR, venue VARCHAR) ### Question: What batting team played in Karachi? ### Answer: SELECT batting_team FROM table_name_55 WHERE venue = "karachi"
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_20 (duration VARCHAR, appearances VARCHAR, character VARCHAR) ### Question: What is the duration that has 3 for appearances, and james garret as the character? ### Answer: SELECT duration FROM table_name_20 WHERE appearances = "3" AND character = "james garret"
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_57 (grid VARCHAR, laps VARCHAR) ### Question: What is the grid total when there are 37 laps? ### Answer: SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37
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_14603057_2 (class_aAAA VARCHAR, school_year VARCHAR) ### Question: How many Class AAAA winners where in 2002-03? ### Answer: SELECT COUNT(class_aAAA) FROM table_14603057_2 WHERE school_year = "2002-03"
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 (player VARCHAR, score VARCHAR) ### Question: What Player had a Score of 70-71=141? ### Answer: SELECT player FROM table_name_80 WHERE score = 70 - 71 = 141
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 (year_s__won VARCHAR, total VARCHAR) ### Question: What are the years won with a total of 282? ### Answer: SELECT year_s__won FROM table_name_37 WHERE total = 282
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_27756164_8 (location_attendance VARCHAR, team VARCHAR) ### Question: When the team is chicago what is the location attendence? ### Answer: SELECT location_attendance FROM table_27756164_8 WHERE team = "Chicago"
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_15 (hereditary_peers VARCHAR, total VARCHAR) ### Question: Which Hereditary peers have a Total of 1? ### Answer: SELECT hereditary_peers FROM table_name_15 WHERE 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_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR) ### Question: When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age? ### Answer: SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Old Kingdom , Minoan eruption"
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 (streak VARCHAR, game INTEGER) ### Question: Which Streak has a Game larger than 49? ### Answer: SELECT streak FROM table_name_56 WHERE game > 49
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 Engineer_Visits (engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Question: Among those engineers who have visited, which engineer makes the least number of visits? List the engineer id, first name and last name. ### Answer: SELECT T1.engineer_id, T1.first_name, T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 ON T1.engineer_id = T2.engineer_id GROUP BY T1.engineer_id ORDER BY COUNT(*) LIMIT 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_54 (current_car VARCHAR, number_of_cars VARCHAR, year_started VARCHAR) ### Question: Which Current car has a Number of cars of 1, and a Year started of 1999? ### Answer: SELECT current_car FROM table_name_54 WHERE number_of_cars = 1 AND year_started = 1999
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_49 (score VARCHAR, game VARCHAR) ### Question: what is the score for game 4? ### Answer: SELECT score FROM table_name_49 WHERE game = 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_8 (church_name VARCHAR, location_of_the_church VARCHAR) ### Question: What is the name of the church that is located in eikefjord? ### Answer: SELECT church_name FROM table_name_8 WHERE location_of_the_church = "eikefjord"
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_11 (react INTEGER, time VARCHAR, rank VARCHAR) ### Question: What is the average react of the athlete with a time less than 22.29 and a rank greater than 1? ### Answer: SELECT AVG(react) FROM table_name_11 WHERE time < 22.29 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_19753079_35 (result VARCHAR, district VARCHAR) ### Question: Name the result for new york 8 ### Answer: SELECT result FROM table_19753079_35 WHERE district = "New York 8"
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_13663434_1 (wii_points VARCHAR, title_and_source VARCHAR) ### Question: what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon ### Answer: SELECT wii_points FROM table_13663434_1 WHERE title_and_source = "Tsūshin Taikyoku: Igo Dōjō 2700-Mon"
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_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR) ### Question: What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002? ### Answer: SELECT MIN(division) FROM table_name_91 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND year = "2002"
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 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR) ### Question: Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis? ### Answer: SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24"
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 (venue VARCHAR, round VARCHAR) ### Question: What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties? ### Answer: SELECT venue FROM table_name_64 WHERE round = "after extra time, chelsea won on 4-1 on penalties"
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_1682026_2 (assets__billion_$_ VARCHAR, company VARCHAR) ### Question: What are Wells Fargo's assets? ### Answer: SELECT assets__billion_$_ FROM table_1682026_2 WHERE company = "Wells Fargo"
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_48 (result VARCHAR, road_team VARCHAR, date VARCHAR) ### Question: What is the result of the game on May 4 with Philadelphia as the road team? ### Answer: SELECT result FROM table_name_48 WHERE road_team = "philadelphia" AND date = "may 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_29 (issue_price INTEGER, year VARCHAR) ### Question: What was the issue price in the year 2008? ### Answer: SELECT SUM(issue_price) FROM table_name_29 WHERE year = 2008
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_77 (capacity VARCHAR, colors VARCHAR) ### Question: Which capacity has a purple and white colors? ### Answer: SELECT capacity FROM table_name_77 WHERE colors = "purple and white"
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 (career_sr VARCHAR) ### Question: With a 1986 of NH and a career SR of 0 / 5 what is the results in 1985? ### Answer: SELECT 1985 FROM table_name_70 WHERE career_sr = "0 / 5" AND 1986 = "nh"
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_59 (visitor VARCHAR, date VARCHAR) ### Question: Who is the Visitor on march 16? ### Answer: SELECT visitor FROM table_name_59 WHERE date = "march 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_13 (total INTEGER, floor_exercise VARCHAR, rank VARCHAR) ### Question: What's the lowest total when the floor exercise is less than 36.724 and the rank is lower than 8? ### Answer: SELECT MIN(total) FROM table_name_13 WHERE floor_exercise < 36.724 AND rank < 8
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_52 (diameter__km_ INTEGER, longitude VARCHAR, year_named VARCHAR) ### Question: What is the Diameter (km) of the Valle with a Longitude of 152.5e named before 1997? ### Answer: SELECT MAX(diameter__km_) FROM table_name_52 WHERE longitude = "152.5e" AND year_named < 1997
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 (tournament VARCHAR) ### Question: Which 2009 has a 2008 of A, and a Tournament of canada masters? ### Answer: SELECT 2009 FROM table_name_65 WHERE 2008 = "a" AND tournament = "canada masters"
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 pets (pettype VARCHAR, weight VARCHAR, pet_age VARCHAR) ### Question: Find the type and weight of the youngest pet. ### Answer: SELECT pettype, weight FROM pets ORDER BY pet_age LIMIT 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_40 (draw INTEGER, champs INTEGER) ### Question: Which Draw is the lowest one that has Champs smaller than 0? ### Answer: SELECT MIN(draw) FROM table_name_40 WHERE champs < 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_4 (total VARCHAR, nation VARCHAR, gold VARCHAR) ### Question: What is the total when the nation was Argentina, and a Goldwas smaller than 0? ### Answer: SELECT COUNT(total) FROM table_name_4 WHERE nation = "argentina" AND gold < 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_16 (year INTEGER, venue VARCHAR) ### Question: What is the latest Year, when the Venue is Lübker Golf Resort? ### Answer: SELECT MAX(year) FROM table_name_16 WHERE venue = "lübker golf resort"
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 (visitor VARCHAR, home VARCHAR, date VARCHAR) ### Question: Which Visitor was there when the Home game was played in Miami on November 4? ### Answer: SELECT visitor FROM table_name_80 WHERE home = "miami" AND date = "november 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_123462_2 (_number_of_seats_won VARCHAR, election VARCHAR) ### Question: What is the # of seats one for the election in 1974? ### Answer: SELECT _number_of_seats_won FROM table_123462_2 WHERE election = 1974
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 (attendance INTEGER, record VARCHAR) ### Question: What was the smallest attendance at a game when the record was 7-15? ### Answer: SELECT MIN(attendance) FROM table_name_7 WHERE record = "7-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_66 (record VARCHAR, opponent VARCHAR) ### Question: Opponent of leonardo castello branco had what record? ### Answer: SELECT record FROM table_name_66 WHERE opponent = "leonardo castello branco"
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_22904707_1 (_number INTEGER, no VARCHAR) ### Question: What number in the season was episode 52 in the series? ### Answer: SELECT MIN(_number) FROM table_22904707_1 WHERE no = 52
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 (record VARCHAR, opponent VARCHAR) ### Question: What was the record in the game where the opponent was the cincinnati royals? ### Answer: SELECT record FROM table_name_60 WHERE opponent = "cincinnati royals"
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_98 (site VARCHAR, score VARCHAR) ### Question: Which site has a Score of 0-1? ### Answer: SELECT site FROM table_name_98 WHERE score = "0-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_34 (record VARCHAR, loss VARCHAR) ### Question: What was the record at the game that had a loss of Lemanczyk (0–1)? ### Answer: SELECT record FROM table_name_34 WHERE loss = "lemanczyk (0–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_7 (year INTEGER, event VARCHAR, venue VARCHAR) ### Question: What is the lowest year that had foil team as the event at Melbourne? ### Answer: SELECT MIN(year) FROM table_name_7 WHERE event = "foil team" AND venue = "melbourne"
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 (representative VARCHAR, presentation_of_credentials VARCHAR) ### Question: Which Representative has a Presentation of Credentials on september 8, 2005? ### Answer: SELECT representative FROM table_name_93 WHERE presentation_of_credentials = "september 8, 2005"
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 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR) ### Question: Which Surname has Throws of r, and a Position of p, and a DOB of 26 april 1989? ### Answer: SELECT surname FROM table_name_64 WHERE throws = "r" AND position = "p" AND dob = "26 april 1989"
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 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR) ### Question: What is Lowest Rank, when Location is Rio De Janeiro, Brazil, and when Current Seating Capacity is less than 78,838? ### Answer: SELECT MIN(rank) FROM table_name_42 WHERE location = "rio de janeiro, brazil" AND current_seating_capacity < 78 OFFSET 838
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_59 (ends VARCHAR, name VARCHAR) ### Question: What is the end date for Maaroufi? ### Answer: SELECT ends FROM table_name_59 WHERE name = "maaroufi"
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_94 (height__m_ INTEGER, parent VARCHAR, prom__m_ VARCHAR) ### Question: What is the lowest height for Parent grasmoor when it has a Prom larger than 117? ### Answer: SELECT MIN(height__m_) FROM table_name_94 WHERE parent = "grasmoor" AND prom__m_ > 117
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 (position VARCHAR, competition VARCHAR, year VARCHAR) ### Question: What was the position of the Olympic Games in the year 2008? ### Answer: SELECT position FROM table_name_68 WHERE competition = "olympic games" AND year = 2008
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_10236830_1 (nomination VARCHAR, actors_name VARCHAR) ### Question: What was the number of nominations for natalia raskokoha? ### Answer: SELECT COUNT(nomination) FROM table_10236830_1 WHERE actors_name = "Natalia Raskokoha"
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_97 (Id VARCHAR) ### Question: Name the 2012 when 2011 is qf ### Answer: SELECT 2012 FROM table_name_97 WHERE 2011 = "qf"
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_45 (electorate INTEGER, quota VARCHAR, candidates VARCHAR) ### Question: What is the smallest electorate with 78,076 quota and less than 13 candidates? ### Answer: SELECT MIN(electorate) FROM table_name_45 WHERE quota = "78,076" AND candidates < 13
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 (founded INTEGER, joined INTEGER) ### Question: Name the average founded with joined less than 2008 ### Answer: SELECT AVG(founded) FROM table_name_88 WHERE joined < 2008
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 ship (TYPE VARCHAR) ### Question: Please show the most common type of ships. ### Answer: SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1