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_84 (date VARCHAR, attendance VARCHAR) ### Question: What was the date when the attendance was 48,041? ### Answer: SELECT date FROM table_name_84 WHERE attendance = "48,041"
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_22897967_1 (golden_tickets VARCHAR, audition_venue VARCHAR) ### Question: Name the golden ticket for invesco field ### Answer: SELECT golden_tickets FROM table_22897967_1 WHERE audition_venue = "Invesco Field"
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 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR) ### Question: Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled? ### Answer: SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 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_name_31 (format VARCHAR, frequency VARCHAR) ### Question: Say the frequency of 1290 khz ### Answer: SELECT format FROM table_name_31 WHERE frequency = "1290 khz"
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 employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE employees (reports_to VARCHAR) ### Question: Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee. ### Answer: SELECT T2.first_name, T2.last_name, COUNT(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY COUNT(T1.reports_to) DESC 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_23 (city VARCHAR, series VARCHAR) ### Question: Which City has a Series of Tamra's oc wedding? ### Answer: SELECT city FROM table_name_23 WHERE series = "tamra's oc wedding"
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 (date VARCHAR, game VARCHAR) ### Question: What date has 1 for the game? ### Answer: SELECT date FROM table_name_84 WHERE game = 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_24329520_8 (members VARCHAR, borough VARCHAR) ### Question: What is the number of members that have boroughs of Bandon Bridge? ### Answer: SELECT COUNT(members) FROM table_24329520_8 WHERE borough = "Bandon Bridge"
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 (points INTEGER, position INTEGER) ### Question: Which Points is the lowest one that has a Position larger than 5? ### Answer: SELECT MIN(points) FROM table_name_36 WHERE position > 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_name_75 (longitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR) ### Question: what is the longitude when the water (sqmi) is 0.317 and the ansi code is higher than 1759695? ### Answer: SELECT AVG(longitude) FROM table_name_75 WHERE water__sqmi_ = 0.317 AND ansi_code > 1759695
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 (artist VARCHAR, certification VARCHAR) ### Question: Which artist had a 4x platinum? ### Answer: SELECT artist FROM table_name_42 WHERE certification = "4x platinum"
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 (title VARCHAR, termination_of_mission VARCHAR) ### Question: Name the title with termination of mission of february 24, 1828 ### Answer: SELECT title FROM table_name_65 WHERE termination_of_mission = "february 24, 1828"
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 (singapore_gross VARCHAR, director VARCHAR) ### Question: How much is the Singapore Gross for the film that Siu Wing directed? ### Answer: SELECT singapore_gross FROM table_name_93 WHERE director = "siu wing"
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 (junctions VARCHAR, termini VARCHAR) ### Question: What are the junctions of the route with termini aguilares, texas us 59? ### Answer: SELECT junctions FROM table_name_98 WHERE termini = "aguilares, texas us 59"
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 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR) ### Question: What is the area (in km2) for the community that has a status of village, a census ranking of 2,471 of 5,008, and a population of less than 748? ### Answer: SELECT SUM(area_km_2) FROM table_name_10 WHERE status = "village" AND census_ranking = "2,471 of 5,008" AND population < 748
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 (points INTEGER, engine VARCHAR) ### Question: What is the lowest amount of points for a Ford Cosworth DFR (Mader) 3.5 V8 engine? ### Answer: SELECT MIN(points) FROM table_name_35 WHERE engine = "ford cosworth dfr (mader) 3.5 v8"
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_20181270_3 (landesliga_mitte VARCHAR, landesliga_süd VARCHAR, landesliga_nord VARCHAR) ### Question: Name the landesliga mitte for fc gundelfingen and vfl frohnlach ### Answer: SELECT landesliga_mitte FROM table_20181270_3 WHERE landesliga_süd = "FC Gundelfingen" AND landesliga_nord = "VfL Frohnlach"
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_18 (owner_operator VARCHAR, from_to VARCHAR) ### Question: Who is the owner/operator of the line from Kambalda to Esperance? ### Answer: SELECT owner_operator FROM table_name_18 WHERE from_to = "kambalda to esperance"
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 (organization VARCHAR, finish VARCHAR) ### Question: Which organization has a Finish of 4th? ### Answer: SELECT organization FROM table_name_93 WHERE finish = "4th"
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_74 (to_par VARCHAR, money___£__ VARCHAR) ### Question: What is the to par for the player with winnings of 49,500? ### Answer: SELECT to_par FROM table_name_74 WHERE money___£__ = "49,500"
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_50 (title VARCHAR, weeks_on_chart__uk_ VARCHAR) ### Question: Which single was on the Charts for 23 weeks ? ### Answer: SELECT title FROM table_name_50 WHERE weeks_on_chart__uk_ = 23
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 (Id VARCHAR) ### Question: What is the highest 3620 value with a 5432 of 5432 and a 15122 greater than 15122? ### Answer: SELECT MAX(3620) FROM table_name_34 WHERE 5432 = 5432 AND 15122 > 15122
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_148535_2 (Id VARCHAR) ### Question: Name the most 3 credits ### Answer: SELECT MIN(3 AS _credits) FROM table_148535_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_71 (frequency VARCHAR, genre VARCHAR, station VARCHAR) ### Question: What frequency is the xfm station, which is part of the talk music genre? ### Answer: SELECT frequency FROM table_name_71 WHERE genre = "talk music" AND station = "xfm"
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_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR) ### Question: What is the lowest rank of Deutsche Telekom with a market value over 209,628? ### Answer: SELECT MIN(rank) FROM table_name_85 WHERE name = "deutsche telekom" AND market_value___usd_million_ > 209 OFFSET 628
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_27537870_5 (opponent VARCHAR, record VARCHAR) ### Question: Name the opponent for record 10-13-3 ### Answer: SELECT opponent FROM table_27537870_5 WHERE record = "10-13-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_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR) ### Question: The person who had 0 WSOP earnings had how man WSOP cashes? ### Answer: SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "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_46 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR) ### Question: What is the Name of the D Player born on 1983-07-19? ### Answer: SELECT name FROM table_name_46 WHERE pos = "d" AND date_of_birth = "1983-07-19"
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, date VARCHAR) ### Question: What was the score on April 18? ### Answer: SELECT score FROM table_name_49 WHERE date = "april 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_11545282_10 (school_club_team VARCHAR, player VARCHAR) ### Question: What school or team does Al Jefferson play for? ### Answer: SELECT school_club_team FROM table_11545282_10 WHERE player = "Al Jefferson"
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_85 (city VARCHAR, score VARCHAR, venue VARCHAR) ### Question: Which City has a Score smaller than 30, and a Venue of aigburth? ### Answer: SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth"
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 (partnering VARCHAR, score VARCHAR) ### Question: Who is the Partner in the match with a Score of 6-4, 2-6, 7-6? ### Answer: SELECT partnering FROM table_name_52 WHERE score = "6-4, 2-6, 7-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_269920_17 (speed__ghz_ VARCHAR, model VARCHAR) ### Question: What is the speed of model x5560? ### Answer: SELECT speed__ghz_ FROM table_269920_17 WHERE model = "X5560"
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 (main_use VARCHAR, country VARCHAR, name VARCHAR) ### Question: What is the Main use of transmitter solt in Hungary? ### Answer: SELECT main_use FROM table_name_75 WHERE country = "hungary" AND name = "transmitter solt"
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_74 (stadium VARCHAR, bowl_game VARCHAR) ### Question: What stadium was the Fiesta Bowl played at? ### Answer: SELECT stadium FROM table_name_74 WHERE bowl_game = "fiesta bowl"
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_83 (mark VARCHAR, lane VARCHAR, heat VARCHAR) ### Question: What is the mark for the runner in lanes under 2 and heats under 5? ### Answer: SELECT mark FROM table_name_83 WHERE lane < 2 AND heat < 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_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR) ### Question: What club is associated with draft number 155? ### Answer: SELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155
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_27 (played INTEGER, against VARCHAR, lost VARCHAR) ### Question: What was the highest number of games played when they had over 14 against and 3 losses? ### Answer: SELECT MAX(played) FROM table_name_27 WHERE against > 14 AND lost = 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_44 (rank VARCHAR, gross VARCHAR) ### Question: What rank has a gross of $35,976,000? ### Answer: SELECT rank FROM table_name_44 WHERE gross = "$35,976,000"
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 (team_sites VARCHAR, public VARCHAR, developer VARCHAR) ### Question: What is the team sites entry that has a public entry of No and a developer entry of Yes? ### Answer: SELECT team_sites FROM table_name_53 WHERE public = "no" AND developer = "yes"
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 (points INTEGER, year VARCHAR, chassis VARCHAR) ### Question: What are the lowest number of points with a Year of 1978, and a Chassis of ensign n177? ### Answer: SELECT MIN(points) FROM table_name_15 WHERE year = 1978 AND chassis = "ensign n177"
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 (driver___rider VARCHAR, car___motorcycle VARCHAR) ### Question: Which driver is Indian? ### Answer: SELECT driver___rider FROM table_name_58 WHERE car___motorcycle = "indian"
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 (host_team VARCHAR, date VARCHAR) ### Question: Name the host team for january 1 (2006) ### Answer: SELECT host_team FROM table_name_93 WHERE date = "january 1 (2006)"
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 (failures VARCHAR, partial_failures VARCHAR, country VARCHAR, family VARCHAR) ### Question: What is the number of failure for the country of Russia, and a Family of r14 r-14, and a Partial failures smaller than 0? ### Answer: SELECT COUNT(failures) FROM table_name_76 WHERE country = "russia" AND family = "r14 r-14" AND partial_failures < 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_90 (grid INTEGER, time VARCHAR) ### Question: What driver had the highest grid position with a time of +0.283? ### Answer: SELECT MAX(grid) FROM table_name_90 WHERE time = "+0.283"
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 (team VARCHAR, chassis VARCHAR, champion VARCHAR) ### Question: Which team, with champion Bastian Kolmsee, used a Dallara f302 for the chassis? ### Answer: SELECT team FROM table_name_8 WHERE chassis = "dallara f302" AND champion = "bastian kolmsee"
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 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the game when the record was 27-17? ### Answer: SELECT loss FROM table_name_61 WHERE record = "27-17"
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 conductor (Id VARCHAR) ### Question: How many conductors are there? ### Answer: SELECT COUNT(*) FROM conductor
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 (week INTEGER, attendance VARCHAR) ### Question: What is the average week number for games that had 28,800 fans in attendance? ### Answer: SELECT AVG(week) FROM table_name_19 WHERE attendance = "28,800"
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 (band VARCHAR, freq_currently VARCHAR) ### Question: Which band has a current freq of 8tab (hpon)? ### Answer: SELECT band FROM table_name_80 WHERE freq_currently = "8tab (hpon)"
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_26 (opposing_teams VARCHAR, date VARCHAR) ### Question: On 24/11/1979, what is the opposing teams? ### Answer: SELECT opposing_teams FROM table_name_26 WHERE date = "24/11/1979"
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_26099252_1 (h264 VARCHAR, theora VARCHAR) ### Question: When theora is 2.3, how much is the h.264? ### Answer: SELECT h264 FROM table_26099252_1 WHERE theora = "2.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_7 (date VARCHAR, runner_s__up VARCHAR) ### Question: On what date was Nick Price the runner-up? ### Answer: SELECT date FROM table_name_7 WHERE runner_s__up = "nick price"
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_11 (first_elected INTEGER, incumbent VARCHAR) ### Question: What year was Stephen Pace elected? ### Answer: SELECT MIN(first_elected) FROM table_1342256_11 WHERE incumbent = "Stephen Pace"
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 (date VARCHAR, winners VARCHAR) ### Question: When did Motherwell win? ### Answer: SELECT date FROM table_name_15 WHERE winners = "motherwell"
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_23 (game INTEGER, points VARCHAR, march VARCHAR) ### Question: What is the average game for March 8 with less than 84 points? ### Answer: SELECT AVG(game) FROM table_name_23 WHERE points < 84 AND march = 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_171748_3 (period VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ VARCHAR) ### Question: When was the percentage of trains arriving within 5 minutes of scheduled time 89.6%? ### Answer: SELECT period FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ = "89.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_24399615_4 (episode_no INTEGER, cable_rank VARCHAR) ### Question: What episode number had a cable ranking of 8? ### Answer: SELECT MIN(episode_no) FROM table_24399615_4 WHERE cable_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_21535453_1 (dates_administered VARCHAR, terry_mcauliffe VARCHAR) ### Question: What was the date when Terry McAuliffe won 19%? ### Answer: SELECT dates_administered FROM table_21535453_1 WHERE terry_mcauliffe = "19%"
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 (surface VARCHAR, partner VARCHAR, date VARCHAR) ### Question: Which Surface has a Partner of jim thomas, and a Date of 2007? ### Answer: SELECT surface FROM table_name_45 WHERE partner = "jim thomas" AND date = 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_18 (gold_medals INTEGER, ensemble VARCHAR, silver_medals VARCHAR) ### Question: what is Gold Medals that has salem blue devils and a Silver Medals less than 1? ### Answer: SELECT MIN(gold_medals) FROM table_name_18 WHERE ensemble = "salem blue devils" AND silver_medals < 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_60 (player VARCHAR, events INTEGER) ### Question: Which player had more than 25 events? ### Answer: SELECT player FROM table_name_60 WHERE events > 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_70 (pick INTEGER, school_club_team VARCHAR) ### Question: What is the average pick for Florida State? ### Answer: SELECT AVG(pick) FROM table_name_70 WHERE school_club_team = "florida state"
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 (home_team VARCHAR) ### Question: What was Hawthorn's score as the home team? ### Answer: SELECT home_team AS score FROM table_name_94 WHERE home_team = "hawthorn"
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 (league VARCHAR, losses VARCHAR) ### Question: What is the league with 0 losses? ### Answer: SELECT league FROM table_name_47 WHERE losses = "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_11 (topinka__r_ VARCHAR, date VARCHAR) ### Question: Which Topinka happened on january 22, 2006? ### Answer: SELECT topinka__r_ FROM table_name_11 WHERE date = "january 22, 2006"
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 (loss VARCHAR, record VARCHAR) ### Question: Name the loss with record of 71-33 ### Answer: SELECT loss FROM table_name_4 WHERE record = "71-33"
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 (total INTEGER, gold VARCHAR, bronze VARCHAR) ### Question: What is the high total for nations with 1 gold and over 1 bronze? ### Answer: SELECT MAX(total) FROM table_name_55 WHERE gold = 1 AND bronze > 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_24765815_1 (score VARCHAR, rank VARCHAR) ### Question: What was the score for the 1st ranked team? ### Answer: SELECT score FROM table_24765815_1 WHERE rank = "1st"
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 cmi_cross_references (source_system_code VARCHAR) ### Question: Which distinct source system code includes the substring 'en'? ### Answer: SELECT DISTINCT source_system_code FROM cmi_cross_references WHERE source_system_code LIKE '%en%'
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_23 (pennant VARCHAR, builder VARCHAR) ### Question: what is the pennant when the builder is yarrow, scotstoun? ### Answer: SELECT pennant FROM table_name_23 WHERE builder = "yarrow, scotstoun"
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 (gwr_nos VARCHAR, quantity VARCHAR, m VARCHAR, swj_nos VARCHAR) ### Question: Which GWR numbers had a quantity less than 2 when the M&SWJ number was 9? ### Answer: SELECT gwr_nos FROM table_name_79 WHERE quantity < 2 AND m & swj_nos = "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_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR) ### Question: What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8? ### Answer: SELECT SUM(goals_conceded) FROM table_name_10 WHERE points < 21 AND lost < 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_26173063_2 (ramtha VARCHAR, jeel VARCHAR, hussein VARCHAR) ### Question: What is ramtha when jeel is 1-0 and hussein is 1-0? ### Answer: SELECT ramtha FROM table_26173063_2 WHERE jeel = "1-0" AND hussein = "1-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 bank (bname VARCHAR, branch_id VARCHAR); CREATE TABLE customer (cust_id VARCHAR, credit_score INTEGER); CREATE TABLE loan (branch_id VARCHAR, cust_id VARCHAR) ### Question: Find the names of bank branches that have provided a loan to any customer whose credit score is below 100. ### Answer: SELECT T2.bname FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id = T2.branch_id JOIN customer AS T3 ON T1.cust_id = T3.cust_id WHERE T3.credit_score < 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_10 (date VARCHAR, away_team VARCHAR) ### Question: When st kilda played as the Away team which date was that? ### Answer: SELECT date FROM table_name_10 WHERE away_team = "st kilda"
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_21 (away_team VARCHAR, crowd INTEGER) ### Question: Which Away team score has a Crowd larger than 6,000? ### Answer: SELECT away_team AS score FROM table_name_21 WHERE crowd > 6 OFFSET 000
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 (date VARCHAR, points VARCHAR, visitor VARCHAR) ### Question: On what date does visiting team Minnesota score higher than 47 points? ### Answer: SELECT date FROM table_name_34 WHERE points > 47 AND visitor = "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_24 (notes VARCHAR, athlete VARCHAR) ### Question: what is the notes for andre vonarburg? ### Answer: SELECT notes FROM table_name_24 WHERE athlete = "andre vonarburg"
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 (city_location VARCHAR, race_name VARCHAR) ### Question: Where is the budweiser/g. i. joe's 200? ### Answer: SELECT city_location FROM table_name_48 WHERE race_name = "budweiser/g. i. joe's 200"
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 (date_of_replacement VARCHAR, reason_of_departure VARCHAR, team VARCHAR) ### Question: On what date did the manager for PSIS Semarang take over for the manager that was sacked? ### Answer: SELECT date_of_replacement FROM table_name_54 WHERE reason_of_departure = "sacked" AND team = "psis semarang"
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_24915964_4 (field_goals VARCHAR, points VARCHAR) ### Question: How many field goals had 597 points? ### Answer: SELECT COUNT(field_goals) FROM table_24915964_4 WHERE points = 597
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_14342367_7 (position VARCHAR, player VARCHAR) ### Question: What positions did Paul Jones play? ### Answer: SELECT position FROM table_14342367_7 WHERE player = "Paul 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_49 (result VARCHAR, competition VARCHAR, date VARCHAR) ### Question: What is the result of the friendly competition on 23 January 2010? ### Answer: SELECT result FROM table_name_49 WHERE competition = "friendly" AND date = "23 january 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_97 (club_team VARCHAR, player VARCHAR, overall VARCHAR, round VARCHAR) ### Question: What Club team has an average of 8, plays kaj linna, and has an overall larger than 131? ### Answer: SELECT club_team FROM table_name_97 WHERE overall > 131 AND round = 8 AND player = "kaj linna"
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 singer_in_concert (concert_id VARCHAR); CREATE TABLE concert (concert_name VARCHAR, theme VARCHAR, concert_id VARCHAR) ### Question: What are the names , themes , and number of singers for every concert ? ### Answer: SELECT t2.concert_name, t2.theme, COUNT(*) FROM singer_in_concert AS t1 JOIN concert AS t2 ON t1.concert_id = t2.concert_id GROUP BY t2.concert_id
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 county_public_safety (Case_burden VARCHAR, Population VARCHAR) ### Question: Show the case burden of counties in descending order of population. ### Answer: SELECT Case_burden FROM county_public_safety ORDER BY Population DESC
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_89 (rebounds VARCHAR, name VARCHAR) ### Question: How many rebounds does Ann Wauters have? ### Answer: SELECT COUNT(rebounds) FROM table_name_89 WHERE name = "ann wauters"
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 (team_1 VARCHAR, team_2 VARCHAR) ### Question: Which team 1 has vfl gummersbach as team 2? ### Answer: SELECT team_1 FROM table_name_13 WHERE team_2 = "vfl gummersbach"
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_11677691_9 (school VARCHAR, player VARCHAR) ### Question: Which school has the player Thomas Tyner? ### Answer: SELECT school FROM table_11677691_9 WHERE player = "Thomas Tyner"
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_1341604_39 (candidates VARCHAR, incumbent VARCHAR) ### Question: What are the candidates in the district whose incumbent is Gus Yatron? ### Answer: SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron"
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_82 (Id VARCHAR) ### Question: Name the 2005 for 2003 of a and 2011 of 3r ### Answer: SELECT 2005 FROM table_name_82 WHERE 2003 = "a" AND 2011 = "3r"
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_1557974_1 (debut VARCHAR, birthplace VARCHAR) ### Question: What are the debut year for wrestlers born in Nara? ### Answer: SELECT debut FROM table_1557974_1 WHERE birthplace = "Nara"
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_2199290_1 (year INTEGER) ### Question: What is the latest year? ### Answer: SELECT MAX(year) FROM table_2199290_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_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR) ### Question: How many year locations are there for the womens doubles in jing junhong li jiawei? ### Answer: SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei"
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_82 (number VARCHAR, name VARCHAR) ### Question: What number was Rashad McCants? ### Answer: SELECT number FROM table_name_82 WHERE name = "rashad mccants"
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_74 (airport VARCHAR) ### Question: Which 2008 has an Airport of julius nyerere international airport? ### Answer: SELECT AVG(2008) FROM table_name_74 WHERE airport = "julius nyerere international airport"
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 (format VARCHAR, code VARCHAR) ### Question: What is the format of code pro-cd-4662? ### Answer: SELECT format FROM table_name_98 WHERE code = "pro-cd-4662"
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_2273738_1 (metropolitan_area VARCHAR, county VARCHAR) ### Question: Tyne and Wear County has what total membership for their metropolitan area? ### Answer: SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear"
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 (crowd INTEGER, home_team VARCHAR) ### Question: What is the highest crowd when fitzroy is the home team? ### Answer: SELECT MAX(crowd) FROM table_name_24 WHERE home_team = "fitzroy"