SlideShare a Scribd company logo
1 of 28
Download to read offline
who doesn’t want to
believe in magic?
kate matsudaira | @katemats
Wednesday, May 29, 13
happiness
Wednesday, May 29, 13
happiness
Life would be so
much better if there
were piñatas
strategically placed
throughout the day.
Wednesday, May 29, 13
flow happiness
Wednesday, May 29, 13
challenges
skills
anxiety
boredom
flow
diagram from the book: Flow: The Psychology of Optimal Experience (1990)
Wednesday, May 29, 13
happiness is a way of travel,
not a destination
http://occasionallego.files.wordpress.com/2013/02/feb_02_2013.jpg
Wednesday, May 29, 13
flow happinessmastery
Wednesday, May 29, 13
Image source: http://satellite.tpub.com/TM-11-5895-846-14/TM-11-5895-846-140401im.jpg
Wednesday, May 29, 13
Image source: http://pixelperfectdigital.com/photo/5/computer-circuits.html
Wednesday, May 29, 13
Image source: wallpaperstock.net -
Wednesday, May 29, 13
Image source: www.balsas.lt - -
Wednesday, May 29, 13
Wednesday, May 29, 13
Image source: http://jochenebmeier.blogspot.com/2011/07/arkanum-die-remystifizerung-des-wissens.html
Wednesday, May 29, 13
Image source:http://etsy.com
Wednesday, May 29, 13
SPDY
Wednesday, May 29, 13
Source: http://www.sencha.com/blog/the-making-of-fastbook-an-html5-love-story
Wednesday, May 29, 13
mysql>	
  SELECT	
  `campaign_active_rankings`.*	
  FROM	
  `campaign_active_rankings`	
  WHERE	
  
(campaign_id	
  =	
  3	
  and	
  engine_id	
  =	
  96)	
  AND	
  (latest_rank	
  =	
  min_rank	
  AND	
  latest_rank	
  <	
  
max_rank)	
  ORDER	
  BY	
  beta	
  DESC	
  LIMIT	
  3;
Wednesday, May 29, 13
Here's the underlying view SQL:
campaign_active_rankings
select	
  `campaign_tracked_rankings`.`campaign_id`	
  AS	
  `campaign_id`,`campaign_tracked_rankings`.`engine_id`	
  AS	
  
`engine_id`,`campaign_tracked_rankings`.`keyword_id`	
  AS	
  `keyword_id`,`campaign_tracked_rankings`.`keyword_labels`	
  AS	
  
`keyword_labels`,max(`campaign_tracked_rankings`.`rank`)	
  AS	
  `latest_rank`,max(`chained_domain_ranks_by_week`.`rank`)	
  
AS	
  `max_rank`,min(`chained_domain_ranks_by_week`.`rank`)	
  AS	
  `min_rank`,(max(`chained_domain_ranks_by_week`.`rank`)	
  -­‐	
  
min(`chained_domain_ranks_by_week`.`rank`))	
  AS	
  `spread`,pow(exp(sum(log(coalesce((case	
  when	
  
(`chained_domain_ranks_by_week`.`delta`	
  <>	
  0)	
  then	
  abs(`chained_domain_ranks_by_week`.`delta`)	
  end),0.5)))),(1	
  /	
  
count(0)))	
  AS	
  `beta`,avg(abs(`chained_domain_ranks_by_week`.`delta`))	
  AS	
  `avg_delta_mag`	
  from	
  ((`campaigns`	
  join	
  
`campaign_tracked_rankings`	
  on(((`campaigns`.`id`	
  =	
  `campaign_tracked_rankings`.`campaign_id`)	
  and	
  
(`campaigns`.`domain_host`	
  =	
  `campaign_tracked_rankings`.`domain_host`))))	
  join	
  `chained_domain_ranks_by_week`	
  
on(((`campaign_tracked_rankings`.`keyword_id`	
  =	
  `chained_domain_ranks_by_week`.`keyword_id`)	
  and	
  
(`campaign_tracked_rankings`.`engine_id`	
  =	
  `chained_domain_ranks_by_week`.`engine_id`)	
  and	
  
(`campaign_tracked_rankings`.`domain_host`	
  =	
  `chained_domain_ranks_by_week`.`domain_host`)	
  and	
  
(`chained_domain_ranks_by_week`.`week`	
  in	
  (`campaign_tracked_rankings`.`week`,(`campaign_tracked_rankings`.`week`	
  -­‐	
  
interval	
  1	
  week),(`campaign_tracked_rankings`.`week`	
  -­‐	
  interval	
  2	
  week),(`campaign_tracked_rankings`.`week`	
  -­‐	
  
interval	
  3	
  week))))))	
  group	
  by	
  
`campaign_tracked_rankings`.`campaign_id`,`campaign_tracked_rankings`.`engine_id`,`campaign_tracked_rankings`.`keywor
d_id`
Wednesday, May 29, 13
chained_searches_by_week
select	
  `engine_keyword_week_latest_search`.`week`	
  AS	
  `week`,`engine_keyword_week_latest_search`.`search_id`	
  AS	
  `search_id`,`engine_keyword_week_latest_search`.`engine_id`	
  AS	
  
`engine_id`,`engine_keyword_week_latest_search`.`keyword_id`	
  AS	
  `keyword_id`,`engine_keyword_week_latest_search`.`search_date`	
  AS	
  `search_date`,`engine_keyword_week_latest_search`.`search_state`	
  AS	
  
`search_state`,`prior_week`.`search_id`	
  AS	
  `prior_search_id`,`prior_week`.`search_date`	
  AS	
  `prior_search_date`,`prior_week`.`search_state`	
  AS	
  `prior_search_state`	
  from	
  
(`engine_keyword_week_latest_search`	
  left	
  join	
  `engine_keyword_week_latest_search`	
  `prior_week`	
  on(((`engine_keyword_week_latest_search`.`engine_id`	
  =	
  `prior_week`.`engine_id`)	
  and	
  
(`engine_keyword_week_latest_search`.`keyword_id`	
  =	
  `prior_week`.`keyword_id`)	
  and	
  (`engine_keyword_week_latest_search`.`week`	
  =	
  (`prior_week`.`week`	
  +	
  interval	
  1	
  week)))))
engine_keyword_week_latest_search
select	
  `searches`.`engine_id`	
  AS	
  `engine_id`,`searches`.`keyword_id`	
  AS	
  `keyword_id`,`searches`.`week`	
  AS	
  `week`,`searches`.`state`	
  AS	
  `search_state`,`searches`.`date`	
  AS	
  `search_date`,`searches`.`id`	
  
AS	
  `search_id`	
  from	
  (`searches`	
  left	
  join	
  `searches`	
  `better_search`	
  on(((`searches`.`engine_id`	
  =	
  `better_search`.`engine_id`)	
  and	
  (`searches`.`keyword_id`	
  =	
  `better_search`.`keyword_id`)	
  and	
  
(`searches`.`week`	
  =	
  `better_search`.`week`)	
  and	
  (`better_search`.`state`	
  =	
  2)	
  and	
  (`searches`.`date`	
  <	
  `better_search`.`date`))))	
  where	
  ((`searches`.`state`	
  =	
  2)	
  and	
  isnull(`better_search`.`id`))
search_domain_rank
select	
  `pages_urls`.`search_id`	
  AS	
  `search_id`,`pages_urls`.`host`	
  AS	
  `domain_host`,`pages_urls`.`rank`	
  AS	
  `rank`,`pages_urls`.`url_id`	
  AS	
  `url_id`	
  from	
  (`pages_urls`	
  left	
  join	
  `pages_urls`	
  
`better_pages_urls`	
  on(((`better_pages_urls`.`host`	
  =	
  `pages_urls`.`host`)	
  and	
  (`better_pages_urls`.`search_id`	
  =	
  `pages_urls`.`search_id`)	
  and	
  (`better_pages_urls`.`rank`	
  <	
  `pages_urls`.`rank`))))	
  
where	
  isnull(`better_pages_urls`.`id`)
campaign_trackings
select	
  `campaign_engines`.`campaign_id`	
  AS	
  `campaign_id`,`campaign_engines`.`engine_id`	
  AS	
  `engine_id`,`campaign_keywords`.`keyword_id`	
  AS	
  `keyword_id`,`campaign_keywords`.`labels`	
  AS	
  
`keyword_labels`,`campaign_domains`.`domain_host`	
  AS	
  `domain_host`	
  from	
  ((`campaign_engines`	
  join	
  `campaign_domains`	
  on((`campaign_engines`.`campaign_id`	
  =	
  `campaign_domains`.`campaign_id`)))	
  join	
  
`campaign_keywords`	
  on((`campaign_engines`.`campaign_id`	
  =	
  `campaign_keywords`.`campaign_id`)))
campaign_tracked_rankings
select	
  `campaign_trackings`.`campaign_id`	
  AS	
  `campaign_id`,`campaign_trackings`.`engine_id`	
  AS	
  `engine_id`,`campaign_trackings`.`keyword_id`	
  AS	
  `keyword_id`,`campaign_trackings`.`keyword_labels`	
  AS	
  
`keyword_labels`,`campaign_trackings`.`domain_host`	
  AS	
  `domain_host`,`engine_keyword_latest_search`.`search_id`	
  AS	
  `search_id`,`engine_keyword_latest_search`.`search_date`	
  AS	
  
`search_date`,`engine_keyword_latest_search`.`search_state`	
  AS	
  `search_state`,`engine_keyword_latest_search`.`week`	
  AS	
  `week`,`domain_ranking_summaries`.`rank`	
  AS	
  
`rank`,`domain_ranking_summaries`.`prior_rank`	
  AS	
  `prior_rank`,`domain_ranking_summaries`.`delta`	
  AS	
  `delta`	
  from	
  ((`campaign_trackings`	
  left	
  join	
  `engine_keyword_latest_search`	
  
on(((`campaign_trackings`.`engine_id`	
  =	
  `engine_keyword_latest_search`.`engine_id`)	
  and	
  (`campaign_trackings`.`keyword_id`	
  =	
  `engine_keyword_latest_search`.`keyword_id`))))	
  left	
  join	
  
`domain_ranking_summaries`	
  on(((`engine_keyword_latest_search`.`search_id`	
  =	
  `domain_ranking_summaries`.`search_id`)	
  and	
  (`campaign_trackings`.`domain_host`	
  =	
  
`domain_ranking_summaries`.`domain_host`))))
chained_domain_ranks_by_week
select	
  `chained_searches_by_week`.`search_id`	
  AS	
  `search_id`,`chained_searches_by_week`.`engine_id`	
  AS	
  `engine_id`,`chained_searches_by_week`.`keyword_id`	
  AS	
  
`keyword_id`,`chained_searches_by_week`.`week`	
  AS	
  `week`,`chained_searches_by_week`.`search_date`	
  AS	
  `search_date`,`search_domain_rank`.`domain_host`	
  AS	
  `domain_host`,`search_domain_rank`.`rank`	
  AS	
  
`rank`,`prior_search_domain_rank`.`rank`	
  AS	
  `prior_rank`,(`prior_search_domain_rank`.`rank`	
  -­‐	
  `search_domain_rank`.`rank`)	
  AS	
  `delta`	
  from	
  ((`chained_searches_by_week`	
  join	
  `search_domain_rank`	
  
on((`chained_searches_by_week`.`search_id`	
  =	
  `search_domain_rank`.`search_id`)))	
  left	
  join	
  `search_domain_rank`	
  `prior_search_domain_rank`	
  on(((`chained_searches_by_week`.`prior_search_id`	
  =	
  
`prior_search_domain_rank`.`search_id`)	
  and	
  (`search_domain_rank`.`domain_host`	
  =	
  `prior_search_domain_rank`.`domain_host`))))
domain_ranking_summaries
select	
  `engine_keyword_latest_search`.`engine_id`	
  AS	
  `engine_id`,`engine_keyword_latest_search`.`keyword_id`	
  AS	
  `keyword_id`,`engine_keyword_latest_search`.`search_id`	
  AS	
  `search_id`,`urls`.`host`	
  AS	
  
`domain_host`,max(`engine_keyword_latest_search`.`search_date`)	
  AS	
  `search_date`,max(`engine_keyword_latest_search`.`search_state`)	
  AS	
  `search_state`,min(`chained_url_ranks_by_week`.`rank`)	
  AS	
  
`rank`,min(`chained_url_ranks_by_week`.`prior_rank`)	
  AS	
  `prior_rank`,(min(`chained_url_ranks_by_week`.`prior_rank`)	
  -­‐	
  min(`chained_url_ranks_by_week`.`rank`))	
  AS	
  `delta`	
  from	
  
((`engine_keyword_latest_search`	
  join	
  `chained_url_ranks_by_week`	
  on((`engine_keyword_latest_search`.`search_id`	
  =	
  `chained_url_ranks_by_week`.`search_id`)))	
  join	
  `urls`	
  
on((`chained_url_ranks_by_week`.`url_id`	
  =	
  `urls`.`id`)))	
  group	
  by	
  `engine_keyword_latest_search`.`engine_id`,`engine_keyword_latest_search`.`keyword_id`,`urls`.`host`
chained_url_ranks_by_week
select	
  `chained_searches_by_week`.`search_id`	
  AS	
  `search_id`,`chained_searches_by_week`.`engine_id`	
  AS	
  `engine_id`,`chained_searches_by_week`.`keyword_id`	
  AS	
  
`keyword_id`,`chained_searches_by_week`.`week`	
  AS	
  `week`,`pages_urls`.`url_id`	
  AS	
  `url_id`,`pages_urls`.`rank`	
  AS	
  `rank`,`pages_urls`.`page_number`	
  AS	
  `page_number`,`pages_urls`.`position`	
  AS	
  
`position`,`prior_pages_urls`.`rank`	
  AS	
  `prior_rank`,(case	
  when	
  (`prior_pages_urls`.`rank`	
  is	
  not	
  null)	
  then	
  -­‐((`pages_urls`.`rank`	
  -­‐	
  `prior_pages_urls`.`rank`))	
  else	
  NULL	
  end)	
  AS	
  `delta`	
  from	
  
((`chained_searches_by_week`	
  join	
  `pages_urls`	
  on((`pages_urls`.`search_id`	
  =	
  `chained_searches_by_week`.`search_id`)))	
  left	
  join	
  `pages_urls`	
  `prior_pages_urls`	
  on(((`prior_pages_urls`.`search_id`	
  =	
  
`chained_searches_by_week`.`prior_search_id`)	
  and	
  (`prior_pages_urls`.`url_id`	
  =	
  `pages_urls`.`url_id`))))
Wednesday, May 29, 13
Image source: http://static.fjcdn.com/pictures/pear_ff99e0_3037113.jpg
what is in
that black
box?
Wednesday, May 29, 13
Image source: htto://www.amazon.com
Wednesday, May 29, 13
flow happinessmastery
Wednesday, May 29, 13
cause
&
effect
Wednesday, May 29, 13
Wednesday, May 29, 13
I may not be there today,
but I am closer than I was yesterday.
Wednesday, May 29, 13
we are defined
by what we
make time to do
Wednesday, May 29, 13
Wednesday, May 29, 13
thank you
presentation by:
kate matsudaira
popforms
Wednesday, May 29, 13

More Related Content

Viewers also liked

It's all about the coffee
It's all about the coffeeIt's all about the coffee
It's all about the coffee
James Clay
 

Viewers also liked (10)

Indie authors speed date!
Indie authors speed date!Indie authors speed date!
Indie authors speed date!
 
Responsive Branding: Making Your Brand Interactive on the Web
Responsive Branding: Making Your Brand Interactive on the Web Responsive Branding: Making Your Brand Interactive on the Web
Responsive Branding: Making Your Brand Interactive on the Web
 
Black magic
Black magicBlack magic
Black magic
 
It's all about the coffee
It's all about the coffeeIt's all about the coffee
It's all about the coffee
 
Want To Believe It
Want To Believe ItWant To Believe It
Want To Believe It
 
Conversation Ice Breakers: 3 Awesome Ways To Start A Great Conversation
Conversation Ice Breakers: 3 Awesome Ways To Start A Great ConversationConversation Ice Breakers: 3 Awesome Ways To Start A Great Conversation
Conversation Ice Breakers: 3 Awesome Ways To Start A Great Conversation
 
5 things audiences hate about presentations
5 things audiences hate about presentations5 things audiences hate about presentations
5 things audiences hate about presentations
 
The Science of a Great Career in Data Science
The Science of a Great Career in Data ScienceThe Science of a Great Career in Data Science
The Science of a Great Career in Data Science
 
5 Tips for Becoming a Better Listener
5 Tips for Becoming a Better Listener5 Tips for Becoming a Better Listener
5 Tips for Becoming a Better Listener
 
Your Career Success Formula
Your Career Success FormulaYour Career Success Formula
Your Career Success Formula
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Who Doesn't Want to Believe in Magic?

  • 1. who doesn’t want to believe in magic? kate matsudaira | @katemats Wednesday, May 29, 13
  • 3. happiness Life would be so much better if there were piñatas strategically placed throughout the day. Wednesday, May 29, 13
  • 5. challenges skills anxiety boredom flow diagram from the book: Flow: The Psychology of Optimal Experience (1990) Wednesday, May 29, 13
  • 6. happiness is a way of travel, not a destination http://occasionallego.files.wordpress.com/2013/02/feb_02_2013.jpg Wednesday, May 29, 13
  • 10. Image source: wallpaperstock.net - Wednesday, May 29, 13
  • 11. Image source: www.balsas.lt - - Wednesday, May 29, 13
  • 17. mysql>  SELECT  `campaign_active_rankings`.*  FROM  `campaign_active_rankings`  WHERE   (campaign_id  =  3  and  engine_id  =  96)  AND  (latest_rank  =  min_rank  AND  latest_rank  <   max_rank)  ORDER  BY  beta  DESC  LIMIT  3; Wednesday, May 29, 13
  • 18. Here's the underlying view SQL: campaign_active_rankings select  `campaign_tracked_rankings`.`campaign_id`  AS  `campaign_id`,`campaign_tracked_rankings`.`engine_id`  AS   `engine_id`,`campaign_tracked_rankings`.`keyword_id`  AS  `keyword_id`,`campaign_tracked_rankings`.`keyword_labels`  AS   `keyword_labels`,max(`campaign_tracked_rankings`.`rank`)  AS  `latest_rank`,max(`chained_domain_ranks_by_week`.`rank`)   AS  `max_rank`,min(`chained_domain_ranks_by_week`.`rank`)  AS  `min_rank`,(max(`chained_domain_ranks_by_week`.`rank`)  -­‐   min(`chained_domain_ranks_by_week`.`rank`))  AS  `spread`,pow(exp(sum(log(coalesce((case  when   (`chained_domain_ranks_by_week`.`delta`  <>  0)  then  abs(`chained_domain_ranks_by_week`.`delta`)  end),0.5)))),(1  /   count(0)))  AS  `beta`,avg(abs(`chained_domain_ranks_by_week`.`delta`))  AS  `avg_delta_mag`  from  ((`campaigns`  join   `campaign_tracked_rankings`  on(((`campaigns`.`id`  =  `campaign_tracked_rankings`.`campaign_id`)  and   (`campaigns`.`domain_host`  =  `campaign_tracked_rankings`.`domain_host`))))  join  `chained_domain_ranks_by_week`   on(((`campaign_tracked_rankings`.`keyword_id`  =  `chained_domain_ranks_by_week`.`keyword_id`)  and   (`campaign_tracked_rankings`.`engine_id`  =  `chained_domain_ranks_by_week`.`engine_id`)  and   (`campaign_tracked_rankings`.`domain_host`  =  `chained_domain_ranks_by_week`.`domain_host`)  and   (`chained_domain_ranks_by_week`.`week`  in  (`campaign_tracked_rankings`.`week`,(`campaign_tracked_rankings`.`week`  -­‐   interval  1  week),(`campaign_tracked_rankings`.`week`  -­‐  interval  2  week),(`campaign_tracked_rankings`.`week`  -­‐   interval  3  week))))))  group  by   `campaign_tracked_rankings`.`campaign_id`,`campaign_tracked_rankings`.`engine_id`,`campaign_tracked_rankings`.`keywor d_id` Wednesday, May 29, 13
  • 19. chained_searches_by_week select  `engine_keyword_week_latest_search`.`week`  AS  `week`,`engine_keyword_week_latest_search`.`search_id`  AS  `search_id`,`engine_keyword_week_latest_search`.`engine_id`  AS   `engine_id`,`engine_keyword_week_latest_search`.`keyword_id`  AS  `keyword_id`,`engine_keyword_week_latest_search`.`search_date`  AS  `search_date`,`engine_keyword_week_latest_search`.`search_state`  AS   `search_state`,`prior_week`.`search_id`  AS  `prior_search_id`,`prior_week`.`search_date`  AS  `prior_search_date`,`prior_week`.`search_state`  AS  `prior_search_state`  from   (`engine_keyword_week_latest_search`  left  join  `engine_keyword_week_latest_search`  `prior_week`  on(((`engine_keyword_week_latest_search`.`engine_id`  =  `prior_week`.`engine_id`)  and   (`engine_keyword_week_latest_search`.`keyword_id`  =  `prior_week`.`keyword_id`)  and  (`engine_keyword_week_latest_search`.`week`  =  (`prior_week`.`week`  +  interval  1  week))))) engine_keyword_week_latest_search select  `searches`.`engine_id`  AS  `engine_id`,`searches`.`keyword_id`  AS  `keyword_id`,`searches`.`week`  AS  `week`,`searches`.`state`  AS  `search_state`,`searches`.`date`  AS  `search_date`,`searches`.`id`   AS  `search_id`  from  (`searches`  left  join  `searches`  `better_search`  on(((`searches`.`engine_id`  =  `better_search`.`engine_id`)  and  (`searches`.`keyword_id`  =  `better_search`.`keyword_id`)  and   (`searches`.`week`  =  `better_search`.`week`)  and  (`better_search`.`state`  =  2)  and  (`searches`.`date`  <  `better_search`.`date`))))  where  ((`searches`.`state`  =  2)  and  isnull(`better_search`.`id`)) search_domain_rank select  `pages_urls`.`search_id`  AS  `search_id`,`pages_urls`.`host`  AS  `domain_host`,`pages_urls`.`rank`  AS  `rank`,`pages_urls`.`url_id`  AS  `url_id`  from  (`pages_urls`  left  join  `pages_urls`   `better_pages_urls`  on(((`better_pages_urls`.`host`  =  `pages_urls`.`host`)  and  (`better_pages_urls`.`search_id`  =  `pages_urls`.`search_id`)  and  (`better_pages_urls`.`rank`  <  `pages_urls`.`rank`))))   where  isnull(`better_pages_urls`.`id`) campaign_trackings select  `campaign_engines`.`campaign_id`  AS  `campaign_id`,`campaign_engines`.`engine_id`  AS  `engine_id`,`campaign_keywords`.`keyword_id`  AS  `keyword_id`,`campaign_keywords`.`labels`  AS   `keyword_labels`,`campaign_domains`.`domain_host`  AS  `domain_host`  from  ((`campaign_engines`  join  `campaign_domains`  on((`campaign_engines`.`campaign_id`  =  `campaign_domains`.`campaign_id`)))  join   `campaign_keywords`  on((`campaign_engines`.`campaign_id`  =  `campaign_keywords`.`campaign_id`))) campaign_tracked_rankings select  `campaign_trackings`.`campaign_id`  AS  `campaign_id`,`campaign_trackings`.`engine_id`  AS  `engine_id`,`campaign_trackings`.`keyword_id`  AS  `keyword_id`,`campaign_trackings`.`keyword_labels`  AS   `keyword_labels`,`campaign_trackings`.`domain_host`  AS  `domain_host`,`engine_keyword_latest_search`.`search_id`  AS  `search_id`,`engine_keyword_latest_search`.`search_date`  AS   `search_date`,`engine_keyword_latest_search`.`search_state`  AS  `search_state`,`engine_keyword_latest_search`.`week`  AS  `week`,`domain_ranking_summaries`.`rank`  AS   `rank`,`domain_ranking_summaries`.`prior_rank`  AS  `prior_rank`,`domain_ranking_summaries`.`delta`  AS  `delta`  from  ((`campaign_trackings`  left  join  `engine_keyword_latest_search`   on(((`campaign_trackings`.`engine_id`  =  `engine_keyword_latest_search`.`engine_id`)  and  (`campaign_trackings`.`keyword_id`  =  `engine_keyword_latest_search`.`keyword_id`))))  left  join   `domain_ranking_summaries`  on(((`engine_keyword_latest_search`.`search_id`  =  `domain_ranking_summaries`.`search_id`)  and  (`campaign_trackings`.`domain_host`  =   `domain_ranking_summaries`.`domain_host`)))) chained_domain_ranks_by_week select  `chained_searches_by_week`.`search_id`  AS  `search_id`,`chained_searches_by_week`.`engine_id`  AS  `engine_id`,`chained_searches_by_week`.`keyword_id`  AS   `keyword_id`,`chained_searches_by_week`.`week`  AS  `week`,`chained_searches_by_week`.`search_date`  AS  `search_date`,`search_domain_rank`.`domain_host`  AS  `domain_host`,`search_domain_rank`.`rank`  AS   `rank`,`prior_search_domain_rank`.`rank`  AS  `prior_rank`,(`prior_search_domain_rank`.`rank`  -­‐  `search_domain_rank`.`rank`)  AS  `delta`  from  ((`chained_searches_by_week`  join  `search_domain_rank`   on((`chained_searches_by_week`.`search_id`  =  `search_domain_rank`.`search_id`)))  left  join  `search_domain_rank`  `prior_search_domain_rank`  on(((`chained_searches_by_week`.`prior_search_id`  =   `prior_search_domain_rank`.`search_id`)  and  (`search_domain_rank`.`domain_host`  =  `prior_search_domain_rank`.`domain_host`)))) domain_ranking_summaries select  `engine_keyword_latest_search`.`engine_id`  AS  `engine_id`,`engine_keyword_latest_search`.`keyword_id`  AS  `keyword_id`,`engine_keyword_latest_search`.`search_id`  AS  `search_id`,`urls`.`host`  AS   `domain_host`,max(`engine_keyword_latest_search`.`search_date`)  AS  `search_date`,max(`engine_keyword_latest_search`.`search_state`)  AS  `search_state`,min(`chained_url_ranks_by_week`.`rank`)  AS   `rank`,min(`chained_url_ranks_by_week`.`prior_rank`)  AS  `prior_rank`,(min(`chained_url_ranks_by_week`.`prior_rank`)  -­‐  min(`chained_url_ranks_by_week`.`rank`))  AS  `delta`  from   ((`engine_keyword_latest_search`  join  `chained_url_ranks_by_week`  on((`engine_keyword_latest_search`.`search_id`  =  `chained_url_ranks_by_week`.`search_id`)))  join  `urls`   on((`chained_url_ranks_by_week`.`url_id`  =  `urls`.`id`)))  group  by  `engine_keyword_latest_search`.`engine_id`,`engine_keyword_latest_search`.`keyword_id`,`urls`.`host` chained_url_ranks_by_week select  `chained_searches_by_week`.`search_id`  AS  `search_id`,`chained_searches_by_week`.`engine_id`  AS  `engine_id`,`chained_searches_by_week`.`keyword_id`  AS   `keyword_id`,`chained_searches_by_week`.`week`  AS  `week`,`pages_urls`.`url_id`  AS  `url_id`,`pages_urls`.`rank`  AS  `rank`,`pages_urls`.`page_number`  AS  `page_number`,`pages_urls`.`position`  AS   `position`,`prior_pages_urls`.`rank`  AS  `prior_rank`,(case  when  (`prior_pages_urls`.`rank`  is  not  null)  then  -­‐((`pages_urls`.`rank`  -­‐  `prior_pages_urls`.`rank`))  else  NULL  end)  AS  `delta`  from   ((`chained_searches_by_week`  join  `pages_urls`  on((`pages_urls`.`search_id`  =  `chained_searches_by_week`.`search_id`)))  left  join  `pages_urls`  `prior_pages_urls`  on(((`prior_pages_urls`.`search_id`  =   `chained_searches_by_week`.`prior_search_id`)  and  (`prior_pages_urls`.`url_id`  =  `pages_urls`.`url_id`)))) Wednesday, May 29, 13
  • 25. I may not be there today, but I am closer than I was yesterday. Wednesday, May 29, 13
  • 26. we are defined by what we make time to do Wednesday, May 29, 13
  • 28. thank you presentation by: kate matsudaira popforms Wednesday, May 29, 13