POV-Ray : Newsgroups : povray.off-topic : SQL help : Re: SQL help Server Time
11 Oct 2024 01:22:31 EDT (-0400)
  Re: SQL help  
From: Darren New
Date: 7 Mar 2008 14:48:06
Message: <47d19bf6$1@news.povray.org>
Darren New wrote:
> I would first find the duration of each page view, then look for page 
> views more than 10 minutes apart.

Or, to clarify. Count the number of sessions that *ended*.  Much easier 
than counting the number of sessions that started.  Finding the end of a 
session is finding the row where there's no row with a greater timestamp 
but within 10 minutes of this timestamp.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.