Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: need help with query

Re: need help with query

From: Steve Long <steve-long_at_mediaone.net>
Date: Wed, 12 Sep 2001 02:37:44 GMT
Message-ID: <YTzn7.61$vr1.13097@typhoon.jacksonville.mediaone.net>


is this a homework problem or in any other way related to an academic exercise?

"Angry Garden Salad" <angry_garden_salad_at_sbcglobal.net> wrote in message news:Xovn7.5057$dV6.564934869_at_newssvr17.news.prodigy.com...
> Hi,
> I'm running oracle 8.1.6 on solaris and I need help with an sql
> statement. I have 3 tables with the exact same columns in them, the only
> difference between the tables is the name and the data. Table A contains
> today's data and Table B contains yesterdays data and Table C contains the
2
> days ago. The tables look as follows:
>
> TABLE A
> Date
> RecordType
> RecordName
> RecordCity
> Data1
> Data2
> Data3
>
> TABLE B
> Date
> RecordType
> RecordName
> RecordCity
> Data1
> Data2
> Data3
>
> TABLE C
> Date
> RecordType
> RecordName
> RecordCity
> Data1
> Data2
> Data3
>
> I'd like to have my query return the follow:
> A.RecordType, A.RecordName, A.RecordCity, A.Data1, B.Data1, C.Data1
> Can someone help me with my sql statement?
>
> thanks for help.
>
>
Received on Tue Sep 11 2001 - 21:37:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US