Re: View and Select

From: Guido Konsolke <Guido.Konsolke_at_triaton.com>
Date: Mon, 3 Feb 2003 08:31:08 +0100
Message-ID: <1044257334.307268_at_news.thyssen.com>


"Nikki" wrote...
> Hi ,
>
> Can someone help me with this Select statement and creating a VIEW. TIA!!!
>
>
> 1)display all entries in the stock table where the stock name starts with a
> C
>
> 2)create a view called manager_cash that contains the manager number and the
> total cash in portfolios managed by the manager.
>
(snip)

Hi Nikki,

homework to do ;-)? Just a few hints so you can figure it out: 1) Look at the keyword LIKE in your docs and use it in the where clause. 2) Have a look at the function SUM and the GROUP BY clause.

hth,
Guido Received on Mon Feb 03 2003 - 08:31:08 CET

Original text of this message