answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT AVG(round) FROM table_name_23 WHERE overall = "138" | What is the average round of a player with an overall of 138? | CREATE TABLE table_name_23 (round INTEGER, overall VARCHAR) |
SELECT to_par FROM table_name_96 WHERE place = "t3" AND player = "nolan henke" | What was Nolan Henke's To par when he placed in t3? | CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, player VARCHAR) |
SELECT COUNT(guest_2) FROM table_20466963_13 WHERE presenter = "Colin Murray" AND date = "6 April" | Name the guest 2 for colin murray 6 april | CREATE TABLE table_20466963_13 (guest_2 VARCHAR, presenter VARCHAR, date VARCHAR) |
SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 9 | What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9? | CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR) |
SELECT result FROM table_2668416_7 WHERE district = "Maryland 7" | What is the result for the district Maryland 7? | CREATE TABLE table_2668416_7 (result VARCHAR, district VARCHAR) |
SELECT athlete FROM table_name_32 WHERE venue = "birmingham" | Which athlete played at the Birmingham venue? | CREATE TABLE table_name_32 (athlete VARCHAR, venue VARCHAR) |
SELECT coefficient FROM table_30083499_1 WHERE player = "Agustín Marchesín (1)" | What is the coefficient for agustín marchesín (1)? | CREATE TABLE table_30083499_1 (coefficient VARCHAR, player VARCHAR) |
SELECT females___percentage_ FROM table_14598_9 WHERE india_state_ut = "Maharashtra" | What is the percentage of females where in India and are maharashtra? | CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, india_state_ut VARCHAR) |
SELECT SUM(population) FROM table_name_18 WHERE region > 3 | How many people are in regions greater than 3? | CREATE TABLE table_name_18 (population INTEGER, region INTEGER) |
SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8 | What is the sum of points values that are associated with 0 losses and more than 8 games? | CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR) |
SELECT name FROM table_24565004_15 WHERE goals¹ = 4 | List the player that scored 4 times. | CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR) |
SELECT broadcast_date FROM table_1579922_1 WHERE run_time = "24:30" | What date was an episode with a run time of 24:30 broadcasted? | CREATE TABLE table_1579922_1 (broadcast_date VARCHAR, run_time VARCHAR) |
SELECT country FROM table_name_22 WHERE total < 289 AND finish = "t2" | Which country has a total less than 289 and finished t2? | CREATE TABLE table_name_22 (country VARCHAR, total VARCHAR, finish VARCHAR) |
SELECT date FROM table_name_44 WHERE attendance = "1,804" | What date was the attendance 1,804? | CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR) |
SELECT date FROM table_27902171_4 WHERE team = "Phoenix Suns" | What day did they play the phoenix suns? | CREATE TABLE table_27902171_4 (date VARCHAR, team VARCHAR) |
SELECT SUM(round) FROM table_name_79 WHERE method = "submission (banana split)" | What is the sum of Round(s), when Method is "Submission (Banana Split)"? | CREATE TABLE table_name_79 (round INTEGER, method VARCHAR) |
SELECT AVG(bronze) FROM table_name_53 WHERE nation = "north korea" AND total > 5 | What is the average Bronze, when Nation is "North Korea", and when Total is greater than 5? | CREATE TABLE table_name_53 (bronze INTEGER, nation VARCHAR, total VARCHAR) |
SELECT away_team FROM table_name_50 WHERE venue = "lake oval" | Which away team played at Lake Oval? | CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR) |
SELECT crowd FROM table_name_99 WHERE venue = "victoria park" | What is the crowd size for Victoria park? | CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR) |
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Plustek MobileOffice D28 Corporate" | What are the mm dimensions of the Plustek Mobileoffice D28 Corporate? | CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR) |
SELECT shirt_sponsor FROM table_25527255_2 WHERE average_squad_age = "25.46" | Who is the shirt sponsor of the team with an average squad age of 25.46? | CREATE TABLE table_25527255_2 (shirt_sponsor VARCHAR, average_squad_age VARCHAR) |
SELECT co_presenter FROM table_14345690_15 WHERE series = "Seven (2007)" | Who is the co-presenter of the series Seven (2007)? | CREATE TABLE table_14345690_15 (co_presenter VARCHAR, series VARCHAR) |
SELECT place FROM table_name_92 WHERE to_par = "+1" AND player = "davis love iii" | What is the Place of Davis Love III with a To Par of +1? | CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR, player VARCHAR) |
SELECT number_ & _name FROM table_name_57 WHERE description = "stanier (period iii) full brake" | What is the identifying number for a description of Stanier (Period III) full brake? | CREATE TABLE table_name_57 (number_ VARCHAR, _name VARCHAR, description VARCHAR) |
SELECT location FROM table_1987995_5 WHERE team = "Twins" | Where is the ballpark of the Twins? | CREATE TABLE table_1987995_5 (location VARCHAR, team VARCHAR) |
SELECT COUNT(date) FROM table_19778010_5 WHERE opponent = "Houston" | On how many different dates was a game against Houston played? | CREATE TABLE table_19778010_5 (date VARCHAR, opponent VARCHAR) |
SELECT COUNT(earnings___) AS $__ FROM table_14853156_2 WHERE best_finish = "T2" AND scoring_average = "71.25" | How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average? | CREATE TABLE table_14853156_2 (earnings___ VARCHAR, best_finish VARCHAR, scoring_average VARCHAR) |
SELECT replaced_by FROM table_name_73 WHERE date_of_appointment = "12 october 2007" | I want the replaced for date of appointment being 12 october 2007 | CREATE TABLE table_name_73 (replaced_by VARCHAR, date_of_appointment VARCHAR) |
SELECT COUNT(*) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = Class_Senator_Vote WHERE T1.Sex = "M" AND T2.Election_Cycle = "Fall" | How many male (sex is M) students have class senator votes in the fall election cycle? | CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR); CREATE TABLE STUDENT (StuID VARCHAR, Sex VARCHAR) |
SELECT away_team AS score FROM table_name_27 WHERE home_team = "richmond" | What is the score of the away team that played richmond? | CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR) |
SELECT airport FROM table_13836704_9 WHERE _percentage_change_2005_2006 = "13.0%" | what's the airport with % change 2005/2006 being 13.0% | CREATE TABLE table_13836704_9 (airport VARCHAR, _percentage_change_2005_2006 VARCHAR) |
SELECT SUM(frequency) FROM table_name_66 WHERE status = "owned by cumulus media" AND format = "news" | What is the total frequency have a Status of owned by cumulus media, and a Format of news? | CREATE TABLE table_name_66 (frequency INTEGER, status VARCHAR, format VARCHAR) |
SELECT played FROM table_name_24 WHERE club = "rhymney rfc" | How many matches have Rhymney RFC played? | CREATE TABLE table_name_24 (played VARCHAR, club VARCHAR) |
SELECT constructor FROM table_name_59 WHERE grid > 1 AND rank = 16 | Who was #16 rank constructor with a grid of more than 1? | CREATE TABLE table_name_59 (constructor VARCHAR, grid VARCHAR, rank VARCHAR) |
SELECT miss_universe_philippines FROM table_name_82 WHERE first_runner_up = "danielle castaño" AND binibining_pilipinas_world = "janina san miguel" | Who won Miss Universe Philippines when the first runner-up was Danielle Castaño and Janina San Miguel won Binibining Pilipinas-World? | CREATE TABLE table_name_82 (miss_universe_philippines VARCHAR, first_runner_up VARCHAR, binibining_pilipinas_world VARCHAR) |
SELECT score_final FROM table_name_86 WHERE apparatus = "ribbon" | What was her final score on the ribbon apparatus? | CREATE TABLE table_name_86 (score_final VARCHAR, apparatus VARCHAR) |
SELECT MIN(winter_olympics) FROM table_name_39 WHERE fis_nordic_world_ski_championships = "1976" | what is the earliest winter olympics when the fis nordic world ski championships is 1976? | CREATE TABLE table_name_39 (winter_olympics INTEGER, fis_nordic_world_ski_championships VARCHAR) |
SELECT winner FROM table_name_42 WHERE year = "1965" | Who won in 1965? | CREATE TABLE table_name_42 (winner VARCHAR, year VARCHAR) |
SELECT year FROM table_29538735_1 WHERE tonnes_of_co2_saved = 1522 | When 1522 is the tonnes of co2 saved what is the year? | CREATE TABLE table_29538735_1 (year VARCHAR, tonnes_of_co2_saved VARCHAR) |
SELECT tickets_sold___available FROM table_22123920_4 WHERE gross_sales = "$2,628,457" | During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office? | CREATE TABLE table_22123920_4 (tickets_sold___available VARCHAR, gross_sales VARCHAR) |
SELECT MIN(season) FROM table_name_46 WHERE venue = "waverley park" AND score = "15.12 (102) – 9.14 (68)" AND margin > 34 | When is the earliest season at waverley park, a Score of 15.12 (102) – 9.14 (68), and a Margin larger than 34? | CREATE TABLE table_name_46 (season INTEGER, margin VARCHAR, venue VARCHAR, score VARCHAR) |
SELECT date FROM table_name_25 WHERE game_site = "candlestick park" | When did they play at Candlestick Park? | CREATE TABLE table_name_25 (date VARCHAR, game_site VARCHAR) |
SELECT MIN(earnings__) AS $_ FROM table_name_93 WHERE money_list_rank = "6" AND starts < 22 | What is the smallest Earnings that has a Money list rank of 6 and Starts smaller than 22? | CREATE TABLE table_name_93 (earnings__ INTEGER, money_list_rank VARCHAR, starts VARCHAR) |
SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6 | How many first downs did the bills have when their opponent had 6 | CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR) |
SELECT time_retired FROM table_name_79 WHERE grid > 10 AND manufacturer = "proton kr" | If the manufacturer is Proton Kr and the grid was over 10, what was the time retired? | CREATE TABLE table_name_79 (time_retired VARCHAR, grid VARCHAR, manufacturer VARCHAR) |
SELECT country FROM table_name_62 WHERE year__most_recent_ = 2005 AND adult_men = "96%" | Which country has its most recent year as being 2005 and has an Adult Men literacy rate of 96%? | CREATE TABLE table_name_62 (country VARCHAR, year__most_recent_ VARCHAR, adult_men VARCHAR) |
SELECT result FROM table_name_42 WHERE draws = "3" | What was the result for the team with 3 draws? | CREATE TABLE table_name_42 (result VARCHAR, draws VARCHAR) |
SELECT COUNT(total) FROM table_name_96 WHERE fumble_rec > 0 AND fumble_force = 0 | How many tackles for the player with over 0 fumble recovries and 0 forced fumbles? | CREATE TABLE table_name_96 (total VARCHAR, fumble_rec VARCHAR, fumble_force VARCHAR) |
SELECT away_team FROM table_name_24 WHERE venue = "punt road oval" | What is the away team that played at punt road oval? | CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) |
SELECT COUNT(ngc_number) FROM table_name_86 WHERE constellation = "sagittarius" AND object_type = "diffuse nebula" AND declination___j2000__ = "°02′" | Name the total number of NGC number for sagittarius and diffuse nebula with declination of °02′ | CREATE TABLE table_name_86 (ngc_number VARCHAR, declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) |
SELECT AVG(losses) FROM table_name_78 WHERE draws = 0 AND byes < 0 | What is the average number of losses for teams with 0 draws and 0 byes? | CREATE TABLE table_name_78 (losses INTEGER, draws VARCHAR, byes VARCHAR) |
SELECT height FROM table_name_69 WHERE hometown = "renton, wa" | What is the height of the delegate whose hometown is Renton, WA? | CREATE TABLE table_name_69 (height VARCHAR, hometown VARCHAR) |
SELECT date_of_birth__age_ FROM table_name_7 WHERE position = "lock" AND club_province = "queensland reds" | When was the queensland reds lock player born? | CREATE TABLE table_name_7 (date_of_birth__age_ VARCHAR, position VARCHAR, club_province VARCHAR) |
SELECT champion_s_ FROM table_1272033_1 WHERE location = "Aguas Buenas, Puerto Rico" | Who are the champions that have won at Aguas Buenas, Puerto Rico? | CREATE TABLE table_1272033_1 (champion_s_ VARCHAR, location VARCHAR) |
SELECT home FROM table_name_31 WHERE record = "18–18–1" | Who was the home team at the game when the Thrashers had a record of 18–18–1? | CREATE TABLE table_name_31 (home VARCHAR, record VARCHAR) |
SELECT opponent FROM table_name_99 WHERE game = 71 | Game 71 was played against what team? | CREATE TABLE table_name_99 (opponent VARCHAR, game VARCHAR) |
SELECT score FROM table_name_46 WHERE opponents_in_the_final = "vitalia diatchenko irena pavlovic" | What is the Score of the match where Opponents in the Final was Vitalia Diatchenko Irena Pavlovic? | CREATE TABLE table_name_46 (score VARCHAR, opponents_in_the_final VARCHAR) |
SELECT MAX(pick__number) FROM table_name_52 WHERE overall = 204 | Name the most pick # for overall of 204 | CREATE TABLE table_name_52 (pick__number INTEGER, overall VARCHAR) |
SELECT latin FROM table_name_33 WHERE english = "bone" | What is the Latin word for the English word bone? | CREATE TABLE table_name_33 (latin VARCHAR, english VARCHAR) |
SELECT MIN(p_max___bar__) FROM table_26967904_2 WHERE f_bolt___kgf__ = 6876 | What is the p max ( bar ) for the 6876 f bolt ( kgf )? | CREATE TABLE table_26967904_2 (p_max___bar__ INTEGER, f_bolt___kgf__ VARCHAR) |
SELECT attendance FROM table_name_12 WHERE result = "w61-7" | What is the attendance when the result was w61-7? | CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) |
SELECT exponent_field FROM table_name_93 WHERE exp__biased_ = "255" AND value = "+∞" | What's the exponent field that has 255 exp and value of +∞? | CREATE TABLE table_name_93 (exponent_field VARCHAR, exp__biased_ VARCHAR, value VARCHAR) |
SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina" | What was the label in the region of Argentina and had a format of CD? | CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR) |
SELECT SUM(1 AS st_prize___) AS $__ FROM table_name_68 WHERE tournament = "canadian open" | What is the total number of first prizes in USD for the Canadian Open? | CREATE TABLE table_name_68 (tournament VARCHAR) |
SELECT MIN(drawn) FROM table_name_39 WHERE played > 39 | What is the lowest number of games drawn associated with over 39 games played? | CREATE TABLE table_name_39 (drawn INTEGER, played INTEGER) |
SELECT winning_driver FROM table_name_27 WHERE constructor = "brm" | Who is the winning driver that has a construction of brm? | CREATE TABLE table_name_27 (winning_driver VARCHAR, constructor VARCHAR) |
SELECT championship FROM table_name_3 WHERE year > 1997 AND score = "1–6, 4–6, 7–5, 5–7" | What championship after 1997 was the score 1–6, 4–6, 7–5, 5–7? | CREATE TABLE table_name_3 (championship VARCHAR, year VARCHAR, score VARCHAR) |
SELECT us_viewers__millions_ FROM table_2828803_1 WHERE production_code = "2T7004" | How many million u.s. viewers watched the episode with a production code of 2t7004? | CREATE TABLE table_2828803_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR) |
SELECT score FROM table_name_21 WHERE opponent = "ekaterina makarova" | What was the score in the tournament against Ekaterina Makarova? | CREATE TABLE table_name_21 (score VARCHAR, opponent VARCHAR) |
SELECT nominating_festival FROM table_name_69 WHERE film = "adjustment" | What Nominating festival was party of the adjustment film? | CREATE TABLE table_name_69 (nominating_festival VARCHAR, film VARCHAR) |
SELECT SUM(word__number) FROM table_name_43 WHERE subframe__number > 3 | What is the total word count with a subframe count greater than 3? | CREATE TABLE table_name_43 (word__number INTEGER, subframe__number INTEGER) |
SELECT dar FROM table_15887683_15 WHERE country = "Germany" | How many dar are in germany? | CREATE TABLE table_15887683_15 (dar VARCHAR, country VARCHAR) |
SELECT round FROM table_name_58 WHERE position = "left wing" | In what round was a left wing drafted? | CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR) |
SELECT AVG(total) FROM table_name_90 WHERE year_of_census > 1971 AND serbs = "10,412 (32.88%)" | What is the average total of the census after 1971 with 10,412 (32.88%) Serbs? | CREATE TABLE table_name_90 (total INTEGER, year_of_census VARCHAR, serbs VARCHAR) |
SELECT MIN(viewers__in_households_) FROM table_name_54 WHERE finale = "may 23, 1995" AND episodes > 22 | What is the minimum number of views that watched the show when there was more than 22 episodes and the finale was on May 23, 1995? | CREATE TABLE table_name_54 (viewers__in_households_ INTEGER, finale VARCHAR, episodes VARCHAR) |
SELECT result FROM table_name_77 WHERE date = "9 october 2009" | Which Result has a Date of 9 october 2009? | CREATE TABLE table_name_77 (result VARCHAR, date VARCHAR) |
SELECT name FROM table_name_45 WHERE position = "cornerback" AND college = "wisconsin" | What is the name of the cornerback from Wisconsin college? | CREATE TABLE table_name_45 (name VARCHAR, position VARCHAR, college VARCHAR) |
SELECT pilot FROM table_name_89 WHERE record_description = "maximum load to m (ft)" AND date = "23 september 1961" | Record description of maximum load to m (ft), and a Date of 23 september 1961 is what pilot? | CREATE TABLE table_name_89 (pilot VARCHAR, record_description VARCHAR, date VARCHAR) |
SELECT country FROM table_name_21 WHERE score = 76 - 68 = 144 | What is the country with a 76-68=144 score? | CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR) |
SELECT blagojevich__d_ FROM table_name_70 WHERE source = "zogby/wsj" AND date = "october 16, 2006" | Which Blagojevich (D) has a Source of zogby/wsj, and a Date of october 16, 2006? | CREATE TABLE table_name_70 (blagojevich__d_ VARCHAR, source VARCHAR, date VARCHAR) |
SELECT crowd FROM table_name_1 WHERE date = "19 july 1980" AND away_team = "footscray" | When the Away team footscray played on the Date of 19 july 1980, what was the amount of people in the Crowd? | CREATE TABLE table_name_1 (crowd VARCHAR, date VARCHAR, away_team VARCHAR) |
SELECT COUNT(year) FROM table_name_47 WHERE award = "mercury prize" | How many years has the Mercury Prize award been given? | CREATE TABLE table_name_47 (year VARCHAR, award VARCHAR) |
SELECT SUM(attendance) FROM table_name_65 WHERE date = "december 22, 1985" AND week < 16 | Which Attendance has a Date of december 22, 1985, and a Week smaller than 16? | CREATE TABLE table_name_65 (attendance INTEGER, date VARCHAR, week VARCHAR) |
SELECT venue FROM table_name_71 WHERE year < 2008 AND position = "14th (q)" | What venue did he play in before 2008 and finished 14th (q)? | CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, position VARCHAR) |
SELECT MIN(rides) FROM table_name_92 WHERE bonus_pts < 3 AND matches < 7 | How many rides did it take to get less than 3 bonus pts in no more than 7 matches? | CREATE TABLE table_name_92 (rides INTEGER, bonus_pts VARCHAR, matches VARCHAR) |
SELECT date FROM table_name_53 WHERE event = "200m breaststroke" | What date was the 200m breaststroke event? | CREATE TABLE table_name_53 (date VARCHAR, event VARCHAR) |
SELECT AVG(year_of_marriage) FROM table_name_6 WHERE her_age > 19 AND his_age = 30 | What is the mean year of marriage when her age was more than 19 and his age was 30? | CREATE TABLE table_name_6 (year_of_marriage INTEGER, her_age VARCHAR, his_age VARCHAR) |
SELECT report FROM table_name_98 WHERE location = "buenos aires" | What was the report in Buenos Aires? | CREATE TABLE table_name_98 (report VARCHAR, location VARCHAR) |
SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy" | WHAT RANK DOES LEONARD NIMOY HAVE? | CREATE TABLE table_name_16 (rank INTEGER, director VARCHAR) |
SELECT visitor FROM table_name_66 WHERE date = "december 3" | Who is the visitor on december 3? | CREATE TABLE table_name_66 (visitor VARCHAR, date VARCHAR) |
SELECT AVG(goals) FROM table_name_92 WHERE team = "zamora" AND average > 0.89 | What Goals has a Team of zamora, and Average larger than 0.89? | CREATE TABLE table_name_92 (goals INTEGER, team VARCHAR, average VARCHAR) |
SELECT runner_up FROM table_name_54 WHERE season < 2005 | Who is the Runner-up that has a Season less than 2005? | CREATE TABLE table_name_54 (runner_up VARCHAR, season INTEGER) |
SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = "Soccer" | Where was the 2011-2012 soccer state tournament held? | CREATE TABLE table_2849652_2 (sport VARCHAR) |
SELECT country FROM table_name_25 WHERE author = "aristophanes" | Waht is the Country of the play by Author Aristophanes? | CREATE TABLE table_name_25 (country VARCHAR, author VARCHAR) |
SELECT COUNT(laps) FROM table_name_25 WHERE constructor = "brm" AND driver = "piers courage" AND grid > 8 | How many laps were completed by Piers Courage when BRM was the constructor and the grid is larger than 8? | CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR, constructor VARCHAR, driver VARCHAR) |
SELECT MAX(grid) FROM table_name_45 WHERE constructor = "ferrari" AND laps = 2 | What is the high grid for ferrari's with 2 laps? | CREATE TABLE table_name_45 (grid INTEGER, constructor VARCHAR, laps VARCHAR) |
SELECT city FROM table_name_84 WHERE icao = "lirf" | Which city has the ICAO of LIRF? | CREATE TABLE table_name_84 (city VARCHAR, icao VARCHAR) |
SELECT maryland FROM table_13012165_1 WHERE delaware = "M.O.T. LL Middletown" AND year > 2008.0 | After the year 2008.0, who played for Maryland the same year M.O.T. LL Middletown played in Delaware? | CREATE TABLE table_13012165_1 (maryland VARCHAR, delaware VARCHAR, year VARCHAR) |
SELECT partner FROM table_18268930_1 WHERE location = "Tamara, HON" | Who's the partner at Tamara, Hon? | CREATE TABLE table_18268930_1 (partner VARCHAR, location VARCHAR) |
SELECT T2.customer_first_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) >= 2 | Show first name and id for all customers with at least 2 accounts. | CREATE TABLE Customers (customer_first_name VARCHAR, customer_id VARCHAR); CREATE TABLE Accounts (customer_id VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.