Article View: it.comp.lang.delphi
Article #14Re: Interrogazione SQL
From: Luigis
Date: Thu, 03 Dec 2026 10:26
Date: Thu, 03 Dec 2026 10:26
36 lines
2130 bytes
2130 bytes
Il 03/12/2026 11:10, Daniele ha scritto: >> Qual รจ il database? > > Terze parti, Firebird 2.5 > prova a modificare la query con query nidificate come segue: select Data, Somma from ( Select Tabella1.DATA, sum(Tabella2.contanti + Tabella2.carta) as somma from tabella1, tabella2, tabella3, tabella4 where tabella1.movimento = tabella2.movimento and tabella3.??? = tabella?.??? and tabella4.??? = tabella?.??? and (tabella1.data between '2026-11-01' and '2026-11-30') and (somma >200) group by tabella2.contanti, tabella2.carta ) where somma > 200 Sostituisci i ? con i campi che collegano le tabelle 3 e 4
Technical Details
Message-ID:
<11erg46$3ukp$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11empu8$1rg2f$1@dont-email.me> <11emr8r$1pnn0$1@dont-email.me> <11emup4$1ubi2$1@dont-email.me> <11en08u$1pnn0$2@dont-email.me> <11erf5r$649r$2@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Luigis <Luigis@ls.invalid> Newsgroups: it.comp.lang.delphi Subject: Re: Interrogazione SQL Date: Thu, 3 Dec 2026 11:26:14 +0100 Organization: A noiseless patient Spider Lines: 36 Message-ID: <11erg46$3ukp$1@dont-email.me> References: <11empu8$1rg2f$1@dont-email.me> <11emr8r$1pnn0$1@dont-email.me> <11emup4$1ubi2$1@dont-email.me> <11en08u$1pnn0$2@dont-email.me> <11erf5r$649r$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 03 Dec 2026 10:26:14 +0000 (UTC) Injection-Info: dont-email.me; logging-data="129689"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180G0svI6Hm/G+NO+EqJoz0N/CJYyvCovM="; posting-host="70c0e4470b40cb065c5731ead0c9c8db" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:CQhHJi6XCPouOFz3LM2Kgx4qlik= sha256:uGUHDKeS6Uxknwyl9IKthhGN3aN1CI5xfE9MB5L6Nj0= sha1:NAHEwvBYzcUZbBVIwUX384aqtq0= sha256:SDFIitwjfE0sG/a9iq6evC/ZQIwN2q4Nd+zp5zuupEE= In-Reply-To: <11erf5r$649r$2@dont-email.me> Content-Language: it