Article View: borland.public.interbase.sql
Article #827Re: Query, View+S.proc
From: harun bolat
Date: Mon, 14 May 2007 15:49
Date: Mon, 14 May 2007 15:49
33 lines
1663 bytes
1663 bytes
SELECT M.SMONTH, S.PROFIT, V.EXPENCIES, (S.PROFIT - V.EXPENCIES) NETPRO FROM MONTHS M JOIN VIEW_NAME V ON V.SMONTH = M.SMONTH JOIN PROC_NAME P ON P.SMONTH = M.SMONTH "Serra" <nomail@nomail.com>, haber iletisinde �unlar� yazd�:46487708$1@newsgroups.borland.com... > IB 6.02, > > I have a View and returns > SMONTH EXPENCIES > 01 100 > 02 500 > > i have also a S.proc and returns > SMONTH PROFIT > 01 500 > 02 600 > > i have also have a table MONTHS > 01 January > 02 February > .... > > is it possible to get below result from them > SMONTH PROFIT EXPENCIES NETPRO. > 01 500 100 400 > 02 600 500 100 > > Thank you. >
Technical Details
Message-ID:
<46488515$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46487708$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,52c88fc22ed35694 X-Google-Attributes: gid114a0e,public X-Google-Language: ENGLISH,ASCII From: "harun bolat" <harunbolat@netsim.net> Newsgroups: borland.public.interbase.sql References: <46487708$1@newsgroups.borland.com> Subject: Re: Query, View+S.proc Date: Mon, 14 May 2007 18:49:31 +0300 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 212.174.130.50 Message-ID: <46488515$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1179157781 212.174.130.50 (14 May 2007 08:49:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail