POV-Ray : Newsgroups : povray.off-topic : Dr POV-Ray : Re: Dr SQL Server Time
9 Oct 2024 16:08:14 EDT (-0400)
  Re: Dr SQL  
From: scott
Date: 20 Feb 2009 09:11:12
Message: <499eba00$1@news.povray.org>
> SELECT *
> FROM EventRecord AS X, EventRecord AS Y, EventRecord AS Z
> WHERE
>   X.ExperimentID = Y.ExperimentID AND
>   Y.ExperimentID = Z.ExperimentID AND
>   X.EventID = 0 AND
>   Y.EventID = 2 AND
>   Z.EventID = 1 AND
>   X.EventDateTime < Y.EventDateTime AND
>   Y.EventDateTime < Z.EventDateTime;
>
> Or similar. (It's been a while since I did SQL...)

Oh cool that helps a lot, I'm copying and pasting that to a file somewhere 
for reference, thanks.  I still need to order myself an SQL book...

I guess that's the sort of question they should ask you at an interview :-)


Post a reply to this message

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