answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT AVG(conference_finals) FROM table_name_32 WHERE finals < 5
Can you tell me the average Conference Finals that has Finals smaller than 5?
CREATE TABLE table_name_32 (conference_finals INTEGER, finals INTEGER)
SELECT spine FROM table_name_99 WHERE number_of_issues = 12
Which spine has 12 issues?
CREATE TABLE table_name_99 (spine VARCHAR, number_of_issues VARCHAR)
SELECT COUNT(total) FROM table_name_36 WHERE rank > 16 AND nation = "romania" AND silver > 0
What is the total number of Total with more than 16 rank for the nation of Romania with more than 0 for silver?
CREATE TABLE table_name_36 (total VARCHAR, silver VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT SUM(attendance) FROM table_name_25 WHERE opponent = "oakland raiders" AND week > 7
How many were in attendance against the Oakland Raiders after week 7?
CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
SELECT surface FROM table_name_90 WHERE finalist = "andrei pavel"
What is the Surface, when the Finalist is Andrei Pavel?
CREATE TABLE table_name_90 (surface VARCHAR, finalist VARCHAR)
SELECT date_successor_seated FROM table_225199_4 WHERE district = "Virginia 11th"
What is every date successor seated for the Virginia 11th District?
CREATE TABLE table_225199_4 (date_successor_seated VARCHAR, district VARCHAR)
SELECT organized_by FROM table_name_68 WHERE church_name = "alston church"
Who organized Alston Church?
CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)
SELECT SUM(points) FROM table_name_85 WHERE wins = 0 AND year = 1989
What are the sum of points in 1989 with 0 wins?
CREATE TABLE table_name_85 (points INTEGER, wins VARCHAR, year VARCHAR)
SELECT COUNT(high_rebounds) FROM table_27712451_6 WHERE date = "December 8"
How many high rebounds took place on December 8?
CREATE TABLE table_27712451_6 (high_rebounds VARCHAR, date VARCHAR)
SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"
What is the batting style of Makhaya Ntini?
CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_32 WHERE finish = "t8"
What is the To Par of the player with a t8 Finish?
CREATE TABLE table_name_32 (to_par VARCHAR, finish VARCHAR)
SELECT away_team FROM table_name_97 WHERE venue = "princes park"
What was the away team that played at Princes Park?
CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR)
SELECT MAX(_percentage_won) FROM table_name_89 WHERE lost < 0
What is the largest % Won with a Lost smaller than 0?
CREATE TABLE table_name_89 (_percentage_won INTEGER, lost INTEGER)
SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE friday_venus__venus_ = "vendredi"
what's the thursday iuppiter (jupiter) with friday venus (venus) being vendredi
CREATE TABLE table_1277350_1 (thursday_iuppiter__jupiter_ VARCHAR, friday_venus__venus_ VARCHAR)
SELECT winning_constructor FROM table_name_81 WHERE winning_drivers = "tazio nuvolari"
What brand of vehicle won a race driven by Tazio Nuvolari?
CREATE TABLE table_name_81 (winning_constructor VARCHAR, winning_drivers VARCHAR)
SELECT name, origin, OWNER FROM program
List the name, origin and owner of each program.
CREATE TABLE program (name VARCHAR, origin VARCHAR, OWNER VARCHAR)
SELECT nationality² FROM table_24565004_8 WHERE name = "Patrick Grappin"
If the name is Patrick Grappin, what is the nationality?
CREATE TABLE table_24565004_8 (nationality² VARCHAR, name VARCHAR)
SELECT MIN(decile) FROM table_name_94 WHERE gender = "coed"
Which is the lowest Decile that is coed?
CREATE TABLE table_name_94 (decile INTEGER, gender VARCHAR)
SELECT outcome FROM table_23944006_4 WHERE championship = "Zurich"
Name the outcome for zurich
CREATE TABLE table_23944006_4 (outcome VARCHAR, championship VARCHAR)
SELECT part_4 FROM table_name_65 WHERE part_2 = "hljóp"
What is Part 4, when Part 2 is "hljóp"?
CREATE TABLE table_name_65 (part_4 VARCHAR, part_2 VARCHAR)
SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily"
Which english website has a daily frequency ?
CREATE TABLE table_name_89 (website VARCHAR, language VARCHAR, frequency VARCHAR)
SELECT date_of_appointment FROM table_name_3 WHERE position_in_table = "pre-season" AND replaced_by = "thomas thomasberg"
WHAT IS THE APPOINTMENT DATE WITH A PRE-SEASON POSITION, AND REPLACED BY THOMAS THOMASBERG?
CREATE TABLE table_name_3 (date_of_appointment VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR)
SELECT country FROM table_name_69 WHERE transfer_window = "summer" AND moving_from = "belgrano"
What is the country of the player moving from belgrano with a summer transfer window?
CREATE TABLE table_name_69 (country VARCHAR, transfer_window VARCHAR, moving_from VARCHAR)
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED"
How many subsidiaries of Postermobile Limited?
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
SELECT mlb_team FROM table_18373863_2 WHERE years_played = "2008" AND fcsl_team = "DeLand"
when deland is the fcsl team and 2008 is the year played who is the mlb team?
CREATE TABLE table_18373863_2 (mlb_team VARCHAR, years_played VARCHAR, fcsl_team VARCHAR)
SELECT home_team FROM table_name_97 WHERE road_team = "rochester" AND result = "71-78"
Which Home Team has a Road Team of rochester, and a Result of 71-78?
CREATE TABLE table_name_97 (home_team VARCHAR, road_team VARCHAR, result VARCHAR)
SELECT episode FROM table_19930660_3 WHERE rufus_guest = "Chris Addison"
Which episodes have Chris Addison as Rufus's guest?
CREATE TABLE table_19930660_3 (episode VARCHAR, rufus_guest VARCHAR)
SELECT death_date FROM table_name_61 WHERE rank < 14 AND age__as_of_1_february_2014_ = "103 years, 148 days"
What was the date of death for a rank below 14 and age of 103 years, 148 days?
CREATE TABLE table_name_61 (death_date VARCHAR, rank VARCHAR, age__as_of_1_february_2014_ VARCHAR)
SELECT opponent FROM table_name_96 WHERE game = 75
Who was the opponent for game 75?
CREATE TABLE table_name_96 (opponent VARCHAR, game VARCHAR)
SELECT score_qualifying FROM table_25143284_1 WHERE score_final = "12.200"
What was the qualifying score of the competition whose final score was 12.200?
CREATE TABLE table_25143284_1 (score_qualifying VARCHAR, score_final VARCHAR)
SELECT attendance FROM table_name_84 WHERE tie_no = "40"
On what day was the attendance that had a Tie value of 40?
CREATE TABLE table_name_84 (attendance VARCHAR, tie_no VARCHAR)
SELECT date_of_appointment FROM table_name_69 WHERE outgoing_manager = "giray bulak"
What is Date of Appointment, when Outgoing Manager is "Giray Bulak"?
CREATE TABLE table_name_69 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT MIN(total) FROM table_name_6 WHERE silver > 6 AND gold > 10
For nations with more than 6 silvers and more than 10 golds, what is the lowest total?
CREATE TABLE table_name_6 (total INTEGER, silver VARCHAR, gold VARCHAR)
SELECT date FROM table_name_62 WHERE away_team = "sheffield wednesday"
What is the date of the match with sheffield wednesday as the away team?
CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR)
SELECT champion FROM table_name_92 WHERE runner_up = "north melbourne"
What champion has north melbourne as the runner-up?
CREATE TABLE table_name_92 (champion VARCHAR, runner_up VARCHAR)
SELECT team FROM table_name_87 WHERE penalty = "roughing" AND player = "ryan callahan"
What team was Ryan Callahan, who received a penalty for roughing, playing for?
CREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR)
SELECT name FROM table_name_95 WHERE date = "11 june 1940"
Which Name has a Date of 11 june 1940?
CREATE TABLE table_name_95 (name VARCHAR, date VARCHAR)
SELECT package_option FROM table_name_74 WHERE television_service = "sky inside"
What is Package/Option, when Television Service is Sky Inside?
CREATE TABLE table_name_74 (package_option VARCHAR, television_service VARCHAR)
SELECT home_team FROM table_name_62 WHERE away_team = "fitzroy"
Which Home team has an Away team of fitzroy?
CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)
SELECT SUM(T1.attendance) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 2000 AND 2010
What is the total home game attendance of team Boston Red Stockings from 2000 to 2010?
CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE home_game (attendance INTEGER, team_id VARCHAR, year VARCHAR)
SELECT viewers__in_millions_ FROM table_2101431_1 WHERE run_time = "23:25"
How many millions viewers watched the episode that ran 23:25?
CREATE TABLE table_2101431_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
SELECT COUNT(drawn) FROM table_name_13 WHERE name = "erc lechbruck" AND points < 17
How much Drawn has a Name of erc lechbruck, and Points smaller than 17?
CREATE TABLE table_name_13 (drawn VARCHAR, name VARCHAR, points VARCHAR)
SELECT MAX(altitude__mslm_) FROM table_name_47 WHERE city = "legnano" AND population > 59492
Which Altitude (mslm) is the highest one that has a City of legnano, and a Population larger than 59492?
CREATE TABLE table_name_47 (altitude__mslm_ INTEGER, city VARCHAR, population VARCHAR)
SELECT MIN(loss) FROM table_name_95 WHERE name = "total" AND long > 55
What is the lowest Loss for the player named total that has a long greater than 55?
CREATE TABLE table_name_95 (loss INTEGER, name VARCHAR, long VARCHAR)
SELECT ship FROM table_name_43 WHERE pennant_number = "h.69"
Which ship has a Pennant number of h.69?
CREATE TABLE table_name_43 (ship VARCHAR, pennant_number VARCHAR)
SELECT MAX(total) FROM table_name_83 WHERE position > 6 AND a_score < 7.6
What's the total when the position was more than 6 and had an A Score of less than 7.6?
CREATE TABLE table_name_83 (total INTEGER, position VARCHAR, a_score VARCHAR)
SELECT losses FROM table_name_95 WHERE season > 1941 AND team = "hamilton wildcats" AND ties = 0
Which Losses have a Season larger than 1941, and a Team of hamilton wildcats, and Ties of 0?
CREATE TABLE table_name_95 (losses VARCHAR, ties VARCHAR, season VARCHAR, team VARCHAR)
SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"
When did the Roy Hibbert (27) did the high points?
CREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR)
SELECT COUNT(basis_for_team_song) FROM table_28243323_1 WHERE club_name = "Fremantle"
How many team songs does fremantle have?
CREATE TABLE table_28243323_1 (basis_for_team_song VARCHAR, club_name VARCHAR)
SELECT launch_date FROM table_245801_1 WHERE crew = "Vladimir Lyakhov , Aleksandr Pavlovich Aleksandrov"
Name the launch date for vladimir lyakhov , aleksandr pavlovich aleksandrov
CREATE TABLE table_245801_1 (launch_date VARCHAR, crew VARCHAR)
SELECT event FROM table_name_60 WHERE opponent = "akihiro gono" AND method = "decision"
Which event has an Opponent of akihiro gono, and a Method of decision?
CREATE TABLE table_name_60 (event VARCHAR, opponent VARCHAR, method VARCHAR)
SELECT AVG(against) FROM table_name_74 WHERE status = "2007 rugby world cup" AND opposing_teams = "u.s.a."
What is the average Against, when Status is "2007 Rugby World Cup", and when Opposing Teams is "U.S.A."?
CREATE TABLE table_name_74 (against INTEGER, status VARCHAR, opposing_teams VARCHAR)
SELECT COUNT(*) FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid WHERE T2.name = "Australian Grand Prix" AND YEAR = 2009
How many drivers participated in the race Australian Grand Prix held in 2009?
CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (raceid VARCHAR)
SELECT record FROM table_name_44 WHERE date = "april 1"
What was the record on April 1?
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
SELECT weight FROM table_20861261_4 WHERE college = "Southern California"
How much does the player from Southern California weight?
CREATE TABLE table_20861261_4 (weight VARCHAR, college VARCHAR)
SELECT country FROM table_name_60 WHERE finish = "t2" AND player = "gary player"
From what Country is T2 Finish Player Gary Player?
CREATE TABLE table_name_60 (country VARCHAR, finish VARCHAR, player VARCHAR)
SELECT away_team AS score FROM table_name_56 WHERE away_team = "collingwood"
What was the score when the away team was Collingwood?
CREATE TABLE table_name_56 (away_team VARCHAR)
SELECT T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Zach' AND T2.year = (SELECT MAX(YEAR) FROM PersonFriend WHERE name = 'Zach')
What is the age of the friend of Zach with longest year relationship?
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR, year VARCHAR); CREATE TABLE PersonFriend (YEAR INTEGER, name VARCHAR); CREATE TABLE Person (age VARCHAR, name VARCHAR)
SELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = "david hornsby"
Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs?
CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR)
SELECT became_consort FROM table_name_31 WHERE spouse = "christian ix"
Name the became consort for christian ix spouse
CREATE TABLE table_name_31 (became_consort VARCHAR, spouse VARCHAR)
SELECT COUNT(provider) FROM table_1773908_3 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1024
How many providers are there where the resale category is yes and bandwith is up is 1024?
CREATE TABLE table_1773908_3 (provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR)
SELECT MAX(matches_as_champion) FROM table_name_6 WHERE title_last_held = "24 march 1963" AND rank > 44
Which Matches is on 24 march 1963 with a Rank larger than 44?
CREATE TABLE table_name_6 (matches_as_champion INTEGER, title_last_held VARCHAR, rank VARCHAR)
SELECT poles FROM table_15327489_1 WHERE year = 2011
Name the poles for 2011
CREATE TABLE table_15327489_1 (poles VARCHAR, year VARCHAR)
SELECT date FROM table_name_14 WHERE record = "35-57"
What was the date when the record was 35-57?
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)
SELECT match_points FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive"
When brive proceeded to quarter final what were the match points?
CREATE TABLE table_27987767_3 (match_points VARCHAR, proceed_to_quarter_final VARCHAR)
SELECT opponent FROM table_name_22 WHERE tournament = "rio de janeiro"
What is the opponent for the tournament of rio de janeiro?
CREATE TABLE table_name_22 (opponent VARCHAR, tournament VARCHAR)
SELECT label FROM table_name_77 WHERE date = "february 18, 2009"
Which label released on February 18, 2009?
CREATE TABLE table_name_77 (label VARCHAR, date VARCHAR)
SELECT city FROM table_name_78 WHERE results¹ = "0:0"
what city scored 0:0
CREATE TABLE table_name_78 (city VARCHAR, results¹ VARCHAR)
SELECT AVG(pages_per_minute_color) FROM product
What is the average pages per minute color?
CREATE TABLE product (pages_per_minute_color INTEGER)
SELECT away_team AS score FROM table_name_40 WHERE away_team = "melbourne"
How many points did the away team from Melbourne score?
CREATE TABLE table_name_40 (away_team VARCHAR)
SELECT MIN(races) FROM table_16908657_1 WHERE poles = 2
Name the least amount of races for 2 poles
CREATE TABLE table_16908657_1 (races INTEGER, poles VARCHAR)
SELECT title FROM table_26139405_1 WHERE viewers__in_millions_ = "8.51"
What is the name of the episode that had 8.51 million viewers?
CREATE TABLE table_26139405_1 (title VARCHAR, viewers__in_millions_ VARCHAR)
SELECT set_2 FROM table_name_6 WHERE total = "45–12" AND set_3 = "15–2"
What is the Set 2 with a Total of 45–12, and a Set 3 with 15–2?
CREATE TABLE table_name_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR)
SELECT result FROM table_name_14 WHERE game_site = "heinz field" AND record = "2-5"
What is the result of the game of heinz field with a record of 2-5?
CREATE TABLE table_name_14 (result VARCHAR, game_site VARCHAR, record VARCHAR)
SELECT player FROM table_name_79 WHERE pick__number = 25
Which player's pick number was 25?
CREATE TABLE table_name_79 (player VARCHAR, pick__number VARCHAR)
SELECT revising_convention_s_ FROM table_2001348_1 WHERE field = "trimmers and stokers"
What was the revising convention of the field 'trimmers and stokers'?
CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, field VARCHAR)
SELECT release_date FROM table_name_4 WHERE series = "mm" AND title = "feather finger"
What's the release date of Feather Finger with an MM Series?
CREATE TABLE table_name_4 (release_date VARCHAR, series VARCHAR, title VARCHAR)
SELECT treasurer FROM table_18052353_4 WHERE year = "2008"
Who was treasurer in 2008?
CREATE TABLE table_18052353_4 (treasurer VARCHAR, year VARCHAR)
SELECT COUNT(womens_doubles) FROM table_28138035_6 WHERE womens_singles = "Li Ju" AND mens_singles = "Wang Liqin"
How many times did li ju win the womens singles and wang liqin win the mens singles?
CREATE TABLE table_28138035_6 (womens_doubles VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR)
SELECT COUNT(gold) FROM table_name_42 WHERE rank = 2 AND total > 21
What's the gold medal count ranked 2 with a total of more than 21?
CREATE TABLE table_name_42 (gold VARCHAR, rank VARCHAR, total VARCHAR)
SELECT opponents FROM table_name_61 WHERE surface = "grass" AND partner = "mark woodforde" AND outcome = "winner" AND year > 1996
Who were the opponents on grass when playing with Mark Woodforde, and the outcome of winner, and a year greater than 1996?
CREATE TABLE table_name_61 (opponents VARCHAR, year VARCHAR, outcome VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th"
Who is the successor for massachusetts 8th?
CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR)
SELECT high_assists FROM table_17288861_9 WHERE score = "L 93–103 (OT)"
Name the high assists for l 93–103 (ot)
CREATE TABLE table_17288861_9 (high_assists VARCHAR, score VARCHAR)
SELECT college_junior_club_team FROM table_name_94 WHERE position = "left wing" AND nationality = "canada"
What college/junior/club team is a left wing from Canada?
CREATE TABLE table_name_94 (college_junior_club_team VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT COUNT(film_title_used_in_nomination) FROM table_22032599_1 WHERE director = "Martin Repka Category:Articles with hCards"
HOw many films did martin repka category:articles with hcards direct?
CREATE TABLE table_22032599_1 (film_title_used_in_nomination VARCHAR, director VARCHAR)
SELECT distance FROM table_name_10 WHERE stage > 5 AND winner = "giovanni lombardi"
What distance did giovanni lombardi win after stage 5?
CREATE TABLE table_name_10 (distance VARCHAR, stage VARCHAR, winner VARCHAR)
SELECT COUNT(third_place) FROM table_1571238_2 WHERE team = "Toronto"
When the team is Toronto how many times did they place third?
CREATE TABLE table_1571238_2 (third_place VARCHAR, team VARCHAR)
SELECT winner FROM table_name_20 WHERE date = "october 7"
Who is the winner for the match on October 7?
CREATE TABLE table_name_20 (winner VARCHAR, date VARCHAR)
SELECT rank FROM table_name_77 WHERE season = "1995/96"
What is the Rank that has a Season of 1995/96?
CREATE TABLE table_name_77 (rank VARCHAR, season VARCHAR)
SELECT MAX(episode_number) FROM table_26733129_1 WHERE three_darts_challenge = "Sharon Osbourne"
How many episodes are there for the three darts challenge with Sharon Osbourne?
CREATE TABLE table_26733129_1 (episode_number INTEGER, three_darts_challenge VARCHAR)
SELECT episodes FROM table_18173916_6 WHERE tuesday = "224 Assassin's Creed: Brotherhood Circus Training"
What were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday?
CREATE TABLE table_18173916_6 (episodes VARCHAR, tuesday VARCHAR)
SELECT elevated FROM table_name_78 WHERE order = "cardinal-bishop"
What's listed for the Elevated category that has an Order of Cardinal-Bishop?
CREATE TABLE table_name_78 (elevated VARCHAR, order VARCHAR)
SELECT rank FROM table_12280396_1 WHERE municipality = "Sunndal"
Name the rank where the municipality is sunndal?
CREATE TABLE table_12280396_1 (rank VARCHAR, municipality VARCHAR)
SELECT viewing_figures_millions FROM table_2501754_4 WHERE prod_code = "ICEC483X"
How many millions of people watched the episode with a production code of icec483x?
CREATE TABLE table_2501754_4 (viewing_figures_millions VARCHAR, prod_code VARCHAR)
SELECT contestant FROM table_18618707_1 WHERE height = "1.80" AND geographical_regions = "El Cibao"
When el cibao is the geographical region and the height is 1.80 who is the contestant?
CREATE TABLE table_18618707_1 (contestant VARCHAR, height VARCHAR, geographical_regions VARCHAR)
SELECT year_s__of_manufacture FROM table_name_90 WHERE quantity > 39 AND type = "1′c1′ h2t"
Which Year(s) of manufacture has a Quantity larger than 39, and a Type of 1′c1′ h2t?
CREATE TABLE table_name_90 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR)
SELECT T2.Store_Email_Address FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.State_County = "Alaska"
What are the email addresses of the drama workshop groups with address in Alaska state?
CREATE TABLE Drama_Workshop_Groups (Store_Email_Address VARCHAR, Address_ID VARCHAR); CREATE TABLE Addresses (Address_ID VARCHAR, State_County VARCHAR)
SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1
What is the customer id with most number of cards, and how many does he have?
CREATE TABLE Customers_cards (customer_id VARCHAR)
SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "2"
When the quiabaya municipality is 2 what is the combaya municipality?
CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)
SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group"
What is the frequency for the country station owned by Jim Pattison Group?
CREATE TABLE table_name_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR)