Subject | Re: [firebird-support] Work with 2 SQLs or more |
---|---|
Author | Martijn Tonies |
Post date | 2003-08-13T07:27:46Z |
Hi Marc,
then 30.000 EUR
select field1, field3 from article where sales_volumne >=30000
and field4 = 'ABC'
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
> Is it possible to give the result from the first SQL to the next? Forexample. My first SQL select all article where the sales volume is greater
then 30.000 EUR
>For example.... something like:
> SELECT * FROM ARTICLE WHERE SALES_VOLUME >= 30.000;
>
> Now I want to work with the result / data from SQL1 in my next SQL (SQL2).
>possible? If yes, how?
> SELECT FIELD1, FIELD3 FROM "SQL1" WHERE FIELD4 = "ABC"
>
> I want to do another query / selection on the results from SQL1. Is that
>Why not:
select field1, field3 from article where sales_volumne >=30000
and field4 = 'ABC'
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com