Subject | Re: [firebird-support] Select in the from clause |
---|---|
Author | Arno Brinkman |
Post date | 2004-05-15T13:01:09Z |
Hi,
Maybe you could workaround it with :
SELECT
Count(DISTINCT sample_type)
FROM
samples
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database (based on IB-OE) with many SQL-99 features :
http://www.firebirdsql.org
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Support list for Interbase and Firebird users :
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep :
news://80.126.130.81
> How can I get a select-in-the-from clause to work? I meanThose are called derived tables and aren't supported yet.
> something like:
>
> select count(*) from (select distinct sample_type from samples)
Maybe you could workaround it with :
SELECT
Count(DISTINCT sample_type)
FROM
samples
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database (based on IB-OE) with many SQL-99 features :
http://www.firebirdsql.org
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Support list for Interbase and Firebird users :
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep :
news://80.126.130.81