question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the frequency for the country station owned by Jim Pattison Group?
CREATE TABLE table_name_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR)
SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group"
Name the region 4 for the complete fifth series
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)
SELECT region_4 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series"
What's the col (m) ranked more than 4 with a summit of Kawaikini?
CREATE TABLE table_name_84 (col__m_ VARCHAR, rank VARCHAR, summit VARCHAR)
SELECT col__m_ FROM table_name_84 WHERE rank > 4 AND summit = "kawaikini"
What is the sum of Game, when Record is "2-1-1", and when October is less than 21?
CREATE TABLE table_name_58 (game INTEGER, record VARCHAR, october VARCHAR)
SELECT SUM(game) FROM table_name_58 WHERE record = "2-1-1" AND october < 21
At what venue was richmond the away team?
CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_62 WHERE away_team = "richmond"
What is the score that has a game greater than 3, with buffalo sabres as the opponent?
CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_77 WHERE game > 3 AND opponent = "buffalo sabres"
How many different colleges do attend the tryout test?
CREATE TABLE tryout (cName VARCHAR)
SELECT COUNT(DISTINCT cName) FROM tryout
What name has 50 as the number?
CREATE TABLE table_name_54 (name VARCHAR, number VARCHAR)
SELECT name FROM table_name_54 WHERE number = "50"
What player is from Wales?
CREATE TABLE table_name_84 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_84 WHERE country = "wales"
What are the electric companies drawing power from Itaipu?
CREATE TABLE table_19001916_2 (entities VARCHAR, supply_point VARCHAR)
SELECT entities FROM table_19001916_2 WHERE supply_point = "Itaipu"
What is the total of the points for wins under 6 and a rank of 2nd?
CREATE TABLE table_name_59 (points INTEGER, rank VARCHAR, wins VARCHAR)
SELECT SUM(points) FROM table_name_59 WHERE rank = "2nd" AND wins < 6
What venue has 7964 pb notes?
CREATE TABLE table_name_81 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_81 WHERE notes = "7964 pb"
How many netflow version are there when the vendor and type is enterasys switches?
CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR)
SELECT COUNT(netflow_version) FROM table_1206114_2 WHERE vendor_and_type = "Enterasys Switches"
What is the title of the track after 11?
CREATE TABLE table_name_93 (title VARCHAR, track INTEGER)
SELECT title FROM table_name_93 WHERE track > 11
How many english titles were directed by carlos moreno?
CREATE TABLE table_22102732_1 (english_title VARCHAR, director VARCHAR)
SELECT COUNT(english_title) FROM table_22102732_1 WHERE director = "Carlos Moreno"
What is the sum of Metres wiht a Feet that's smaller than 196?
CREATE TABLE table_name_51 (metres VARCHAR, feet INTEGER)
SELECT COUNT(metres) FROM table_name_51 WHERE feet < 196
Which tittles have an original air date of March 19, 1998
CREATE TABLE table_11951237_4 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_11951237_4 WHERE original_air_date = "March 19, 1998"
What is the railway number of t 4 ii class?
CREATE TABLE table_name_68 (railway_number_s_ VARCHAR, class VARCHAR)
SELECT railway_number_s_ FROM table_name_68 WHERE class = "t 4 ii"
What's the highest Year Left for the School of Danville?
CREATE TABLE table_name_81 (year_left INTEGER, school VARCHAR)
SELECT MAX(year_left) FROM table_name_81 WHERE school = "danville"
Name the 2010 for 2008 of 1r and tournament of us open
CREATE TABLE table_name_33 (tournament VARCHAR)
SELECT 2010 FROM table_name_33 WHERE 2008 = "1r" AND 2011 = "1r" AND tournament = "us open"
How many top division titles were won during the 'first season of current spell in top division' in 1979-80?
CREATE TABLE table_18143210_2 (top_division_titles VARCHAR, first_season_of_current_spell_in_top_division VARCHAR)
SELECT top_division_titles FROM table_18143210_2 WHERE first_season_of_current_spell_in_top_division = "1979-80"
If the year is 2007, what is the top ten?
CREATE TABLE table_22838521_3 (top_10s VARCHAR, year VARCHAR)
SELECT top_10s FROM table_22838521_3 WHERE year = 2007
What is the NFL team for the player who's college was Norfolk State?
CREATE TABLE table_16376436_1 (nfl_team VARCHAR, college VARCHAR)
SELECT nfl_team FROM table_16376436_1 WHERE college = "Norfolk State"
when number of selection is 2 and first team is 1 who are all the player
CREATE TABLE table_26130295_3 (player VARCHAR, first_team VARCHAR, number_of_selections VARCHAR)
SELECT player FROM table_26130295_3 WHERE first_team = 1 AND number_of_selections = 2
What is the value of D 45 O when the value of D 44 O is ← majority?
CREATE TABLE table_name_67 (d_45_o VARCHAR, d_44_o VARCHAR)
SELECT d_45_o FROM table_name_67 WHERE d_44_o = "← majority"
What is the average number of employees of the departments whose rank is between 10 and 15?
CREATE TABLE department (num_employees INTEGER, ranking INTEGER)
SELECT AVG(num_employees) FROM department WHERE ranking BETWEEN 10 AND 15
On August 22, how many people came to the game?
CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_39 WHERE date = "august 22"
What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles?
CREATE TABLE table_name_58 (record VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_58 WHERE home = "san francisco 49ers" AND visitor = "philadelphia eagles"
What is the highest total for bronze with a gold larger than 0, a silver smaller than 5, and a total of 15?
CREATE TABLE table_name_84 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_84 WHERE gold > 0 AND total = 15 AND silver < 5
Show the ids of the students who don't participate in any activity.
CREATE TABLE Participates_in (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)
SELECT StuID FROM Student EXCEPT SELECT StuID FROM Participates_in
Find the maximum and average capacity among rooms in each building.
CREATE TABLE classroom (building VARCHAR, capacity INTEGER)
SELECT MAX(capacity), AVG(capacity), building FROM classroom GROUP BY building
How many votes did Kerry get in the county that gave Bush 189,605 votes?
CREATE TABLE table_name_46 (kerry_number INTEGER, bush_number VARCHAR)
SELECT AVG(kerry_number) FROM table_name_46 WHERE bush_number = 189 OFFSET 605
Can you tell me the lowest Week that has the Attendance smaller than 34,336?
CREATE TABLE table_name_60 (week INTEGER, attendance INTEGER)
SELECT MIN(week) FROM table_name_60 WHERE attendance < 34 OFFSET 336
What is the career of player serhiy konovalov, who has less than 1 pct.?
CREATE TABLE table_name_23 (career VARCHAR, pct VARCHAR, player VARCHAR)
SELECT career FROM table_name_23 WHERE pct < 1 AND player = "serhiy konovalov"
What was the total when the score points was 12 and the rank points was 15?
CREATE TABLE table_name_79 (total VARCHAR, score_points VARCHAR, rank_points VARCHAR)
SELECT total FROM table_name_79 WHERE score_points = "12" AND rank_points = "15"
What was the score for the game against San Antonio?
CREATE TABLE table_name_97 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_97 WHERE team = "san antonio"
What is the highest Drawn when the lost is 7 and the points are more than 4, and the against is less than 22?
CREATE TABLE table_name_12 (drawn INTEGER, against VARCHAR, lost VARCHAR, points VARCHAR)
SELECT MAX(drawn) FROM table_name_12 WHERE lost = 7 AND points > 4 AND against < 22
Which Date has a Time of 1:00.59?
CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR)
SELECT date FROM table_name_90 WHERE time = "1:00.59"
What field had results of w 18-12?
CREATE TABLE table_name_63 (field VARCHAR, result VARCHAR)
SELECT field FROM table_name_63 WHERE result = "w 18-12"
Tell me the week for result of l 31-27, and an Attendance smaller than 85,865
CREATE TABLE table_name_99 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_99 WHERE result = "l 31-27" AND attendance < 85 OFFSET 865
What is the Place for the 66 Score?
CREATE TABLE table_name_33 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_33 WHERE score = 66
What was the placing of the race in which Chic won by 8gf?
CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR)
SELECT placing FROM table_name_58 WHERE beat_by = "won" AND distance = "8gf"
Which Name has an Overall of 235?
CREATE TABLE table_name_78 (name VARCHAR, overall VARCHAR)
SELECT name FROM table_name_78 WHERE overall = 235
Which Time has a Round smaller than 3, and an Opponent of bao quach?
CREATE TABLE table_name_11 (time VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_11 WHERE round < 3 AND opponent = "bao quach"
What is the number of commanders that had 0 off 63 men killed?
CREATE TABLE table_2596811_12 (commander VARCHAR, killed VARCHAR)
SELECT COUNT(commander) FROM table_2596811_12 WHERE killed = "0 off 63 men"
what is the points for rank 12?
CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR)
SELECT SUM(points) FROM table_name_13 WHERE rank = 12
What party was the winner when A. Krishnaswamy was the runner-up?
CREATE TABLE table_22756549_1 (party VARCHAR, runner_up_a VARCHAR)
SELECT party FROM table_22756549_1 WHERE runner_up_a = "A. Krishnaswamy"
What was Cal State-Los Angeles' position with an Overall above 22?
CREATE TABLE table_name_77 (position VARCHAR, overall VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_77 WHERE overall > 22 AND school_club_team = "cal state-los angeles"
What venue featured collingwood as the away side?
CREATE TABLE table_name_11 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_11 WHERE away_team = "collingwood"
What is the label for the album with a catalog number of 83061-4?
CREATE TABLE table_name_84 (label VARCHAR, catalog__number VARCHAR)
SELECT label FROM table_name_84 WHERE catalog__number = "83061-4"
What is the status when points is 4595?
CREATE TABLE table_29572583_19 (status VARCHAR, points VARCHAR)
SELECT status FROM table_29572583_19 WHERE points = 4595
Which County has a Median household income of $37,230?
CREATE TABLE table_name_96 (county VARCHAR, median_household_income VARCHAR)
SELECT county FROM table_name_96 WHERE median_household_income = "$37,230"
What is the width feet in meeters for the truss with a source of nbi (2009)?
CREATE TABLE table_name_63 (width_feet__m_ VARCHAR, source__year_ VARCHAR)
SELECT width_feet__m_ FROM table_name_63 WHERE source__year_ = "nbi (2009)"
What round drafted was the 1b and a Signed of no cardinals - 1969 june?
CREATE TABLE table_name_24 (round VARCHAR, position VARCHAR, signed VARCHAR)
SELECT COUNT(round) FROM table_name_24 WHERE position = "1b" AND signed = "no cardinals - 1969 june"
What is the latest day in November of the game with a 15-5-2 record?
CREATE TABLE table_name_60 (november INTEGER, record VARCHAR)
SELECT MAX(november) FROM table_name_60 WHERE record = "15-5-2"
What was the first year that had a prize of 50,000?
CREATE TABLE table_name_28 (first_year_aired VARCHAR, prize VARCHAR)
SELECT first_year_aired FROM table_name_28 WHERE prize = "50,000"
What is the position of the player whose college is Western Kentucky?
CREATE TABLE table_14650162_1 (position VARCHAR, college VARCHAR)
SELECT position FROM table_14650162_1 WHERE college = "Western Kentucky"
What event did Patti Lank have the winning skip?
CREATE TABLE table_name_11 (event VARCHAR, winning_skip VARCHAR)
SELECT event FROM table_name_11 WHERE winning_skip = "patti lank"
What engine with years of 1975-84 has a displacement of 1585cc?
CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR)
SELECT engine FROM table_name_9 WHERE years = "1975-84" AND displacement = "1585cc"
What was the share for rank 54?
CREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ VARCHAR)
SELECT MAX(share) FROM table_20522228_2 WHERE rank__overall_ = "54"
When divisional semifinals are the playoffs what is the year?
CREATE TABLE table_1986692_1 (year VARCHAR, playoffs VARCHAR)
SELECT year FROM table_1986692_1 WHERE playoffs = "divisional Semifinals"
what type of institution is alvernia university
CREATE TABLE table_1974632_1 (type VARCHAR, institution VARCHAR)
SELECT type FROM table_1974632_1 WHERE institution = "Alvernia University"
are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition
CREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR)
SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9×19mm Parabellum" AND model = "XDM 5.25 Competition"
What is the swimsuit score when the interview was 9.74?
CREATE TABLE table_11884814_3 (swimsuit VARCHAR, interview VARCHAR)
SELECT swimsuit FROM table_11884814_3 WHERE interview = "9.74"
What is the Location when the novelty is gen?
CREATE TABLE table_name_12 (location VARCHAR, novelty VARCHAR)
SELECT location FROM table_name_12 WHERE novelty = "gen"
What is the total area of drakenstein and a population less than 251,262?
CREATE TABLE table_name_32 (area__km_2__ VARCHAR, name VARCHAR, population__2011_ VARCHAR)
SELECT COUNT(area__km_2__) FROM table_name_32 WHERE name = "drakenstein" AND population__2011_ < 251 OFFSET 262
what is the average tie no when the home team is stamford a.f.c.?
CREATE TABLE table_name_11 (tie_no INTEGER, home_team VARCHAR)
SELECT AVG(tie_no) FROM table_name_11 WHERE home_team = "stamford a.f.c."
What province is in the district of Condoroma?
CREATE TABLE table_2251578_4 (province VARCHAR, district VARCHAR)
SELECT province FROM table_2251578_4 WHERE district = "Condoroma"
What is the lowest score of the team with 19 points and less than 18 played?
CREATE TABLE table_name_82 (scored INTEGER, points VARCHAR, played VARCHAR)
SELECT MIN(scored) FROM table_name_82 WHERE points = 19 AND played < 18
What was the area (km²) (per sqmi) of a country with a population density per km² of 8.4/km² (/sqmi)?
CREATE TABLE table_26769_1 (area__km²___per_sqmi_ VARCHAR, population_density_per_km² VARCHAR)
SELECT area__km²___per_sqmi_ FROM table_26769_1 WHERE population_density_per_km² = "8.4/km² (/sqmi)"
when does the train departuring at 11.35 arrive
CREATE TABLE table_18333678_2 (arrival VARCHAR, departure VARCHAR)
SELECT arrival FROM table_18333678_2 WHERE departure = "11.35"
What is the Set 2 with a Total with 45–12?
CREATE TABLE table_name_42 (set_2 VARCHAR, total VARCHAR)
SELECT set_2 FROM table_name_42 WHERE total = "45–12"
What is the average Silver with a Total that is smaller than 1?
CREATE TABLE table_name_97 (silver INTEGER, total INTEGER)
SELECT AVG(silver) FROM table_name_97 WHERE total < 1
How many Heats have a Name of miguel molina?
CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)
SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina"
what city has a past season of n/a?
CREATE TABLE table_name_43 (city VARCHAR, past_season VARCHAR)
SELECT city FROM table_name_43 WHERE past_season = "n/a"
What is the total number of byes with more than 0 losses and 1526 against?
CREATE TABLE table_name_31 (byes VARCHAR, losses VARCHAR, against VARCHAR)
SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526
What is the 2006-2007 points total number if the team is Saracens?
CREATE TABLE table_23215145_2 (team VARCHAR)
SELECT COUNT(2006 AS _07_points) FROM table_23215145_2 WHERE team = "Saracens"
What is the qual 1 for the best of 1:18.067?
CREATE TABLE table_name_49 (qual_1 VARCHAR, best VARCHAR)
SELECT qual_1 FROM table_name_49 WHERE best = "1:18.067"
In what conditions are both the platelet count and prothrombin time unaffected?
CREATE TABLE table_20592988_1 (condition VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR)
SELECT condition FROM table_20592988_1 WHERE platelet_count = "Unaffected" AND prothrombin_time = "Unaffected"
What is the format for July 27, 1994?
CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR)
SELECT format FROM table_name_94 WHERE date = "july 27, 1994"
What iwas the attendance of the game that took place on december 6, 1998?
CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_41 WHERE date = "december 6, 1998"
What country has the score og 66-70-69-71=276?
CREATE TABLE table_name_63 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_63 WHERE score = 66 - 70 - 69 - 71 = 276
When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest?
CREATE TABLE table_1656555_1 (ordained_priest VARCHAR, vacated_throne VARCHAR)
SELECT ordained_priest FROM table_1656555_1 WHERE vacated_throne = "August 18, 1885"
What position is the player selected that has a round value over 3?
CREATE TABLE table_name_81 (position VARCHAR, round INTEGER)
SELECT position FROM table_name_81 WHERE round > 3
What is the competition that had a 2-2 result?
CREATE TABLE table_name_58 (competition VARCHAR, result VARCHAR)
SELECT competition FROM table_name_58 WHERE result = "2-2"
Which Call Sign that has a Tail Code of oy belong to Weapon Systems Officer Capt Charles B. Debellevue?
CREATE TABLE table_name_37 (call_sign VARCHAR, tail_code VARCHAR, weapon_systems_officer VARCHAR)
SELECT call_sign FROM table_name_37 WHERE tail_code = "oy" AND weapon_systems_officer = "capt charles b. debellevue"
What national league has limoges csp, and french basketball cup?
CREATE TABLE table_name_80 (national_league VARCHAR, club VARCHAR, national_cup VARCHAR)
SELECT national_league FROM table_name_80 WHERE club = "limoges csp" AND national_cup = "french basketball cup"
How many games have more than 10 points and more than 2 draws?
CREATE TABLE table_name_13 (games VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT COUNT(games) FROM table_name_13 WHERE points = 10 AND drawn > 2
Name the Score united states of tom watson in united state?
CREATE TABLE table_name_40 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_40 WHERE country = "united states" AND player = "tom watson"
What is the Label of the September 19, 2008 release in Germany?
CREATE TABLE table_name_25 (label VARCHAR, date VARCHAR, region VARCHAR)
SELECT label FROM table_name_25 WHERE date = "september 19, 2008" AND region = "germany"
What was the team score when Tim Duncan (12) got the high rebounds?
CREATE TABLE table_27715173_10 (score VARCHAR, high_rebounds VARCHAR)
SELECT score FROM table_27715173_10 WHERE high_rebounds = "Tim Duncan (12)"
What is the entrant of a chassis maserati 250f, also has 6 points and older than year 1957?
CREATE TABLE table_name_42 (entrant VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR)
SELECT entrant FROM table_name_42 WHERE chassis = "maserati 250f" AND points = "6" AND year < 1957
When 64 is the entries what is the winning boat?
CREATE TABLE table_24673710_1 (winning_boat VARCHAR, entries VARCHAR)
SELECT winning_boat FROM table_24673710_1 WHERE entries = 64
In what week was the record 5-9?
CREATE TABLE table_13258972_2 (week INTEGER, record VARCHAR)
SELECT MAX(week) FROM table_13258972_2 WHERE record = "5-9"
What was the decision for the 1983 season for the game played against the New York Yankees?
CREATE TABLE table_name_35 (decision VARCHAR, opponent VARCHAR, season VARCHAR)
SELECT decision FROM table_name_35 WHERE opponent = "new york yankees" AND season = "1983"
On what date did a save of ||54,918||50–36 occur?
CREATE TABLE table_name_73 (date VARCHAR, save VARCHAR)
SELECT date FROM table_name_73 WHERE save = "||54,918||50–36"
Who are all the candidates when Sam Rayburn was incumbent?
CREATE TABLE table_1342292_42 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342292_42 WHERE incumbent = "Sam Rayburn"
What was the score against andrei pavel?
CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_6 WHERE opponent = "andrei pavel"
What is the time of Yuliya Yefimova?
CREATE TABLE table_name_53 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_53 WHERE name = "yuliya yefimova"
what is the overall number of times when the calendar showed october 6
CREATE TABLE table_27733909_1 (record VARCHAR, date VARCHAR)
SELECT COUNT(record) FROM table_27733909_1 WHERE date = "October 6"