POV-Ray : Newsgroups : povray.off-topic : Representing satisfiability in SQL relations : Re: Representing satisfiability in SQL relations Server Time
4 Sep 2024 05:16:27 EDT (-0400)
  Re: Representing satisfiability in SQL relations  
From: clipka
Date: 25 Jun 2010 21:50:48
Message: <4c255cf8$1@news.povray.org>
Am 26.06.2010 00:03, schrieb Darren New:

> Or, in other words, what would you use to store
>
> WHERE Publisher = "Warner Brothers"
> AND Language IN("Arabic","French")
> AND Rating != "R"
> AND Media IN("DVD","VHS")
>
> into relational tables rather than a stored procedure?

Exactly that string, I suppose.

Make a first query to retrieve the desired WHERE clause, then generate 
another query with that clause to retrieve the actual data.

(I'd probably leave out the "WHERE" itself though.)


Post a reply to this message

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