On Fri, Jun 02, 2006 at 01:06:40PM -0700, [EMAIL PROTECTED] wrote:
> hi all,
>
> SUMMARY:
>
> i want to replace
>
> AND t_inspect.inspect_pass = 'f'
>
> with a complex query that yields the same result. the
> complex query is in the form of...
[snip]
But your complex query isn't in the form
hi all,
SUMMARY:
i want to replace
AND t_inspect.inspect_pass = 'f'
with a complex query that yields the same result. the
complex query is in the form of...
SELECT DISTINCT ON (t_inspect.inspect_id)
t_inspect_result.inspect_result_pass,
t_inspect_result.inspect_result_id
FROM t_insp