Quote:
Originally posted by remivisser
Is this of any help?
SELECT *
FROM
(
select *
from le_clients a, le_flags b
where lc_client_id = lf_client_id
and LF_DECEASED_FLAG is null
and LF_MPS_FLAG is null
and LF_GONEAWAY is null
and lc_cust_flag is null
and LF_ET_FLAG is null
and LF_BEREAVE is null
and LF_SCR_OUT is null
and LF_CHIEF_EXEC is NULL
and LF_F2FSUPP_FLAG is null
and lf_utility_flag is null
and LF_STATUS = 'F2F'
and lf_catchment = 'IN_AREA'
)
SAMPLE (20)
Remi
|
Hi Remi,
When i try this SQL that you gave, i am getting
"SQL command not properly ended" error (ORA-933)
This is the query that i am trying
SELECT *
FROM
(
select * from emp
)
SAMPLE (10)
What could be the reason for this ?
Thanks