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: SQL

Re: SQL

From: <n.a.ekern_at_usit.uio.no>
Date: 2000/06/16
Message-ID: <8icv07$hau$1@readme.uio.no>#1/1

Hi!

For example:

Create a table month with column month# Number(2) and populate it with all

the months 1 .. 12

Select '2000' || m.month# "Period", p.customer_budget/12 "Budget" From Project p, Month m
Where m.month# between 3 and 8;

This will list the result of customer_budget/12 six times, one for each m onth march .. august.

Nj l Received on Fri Jun 16 2000 - 00:00:00 CDT

Original text of this message

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