Garayed.com  

Go Back   Garayed.com > Oracle
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-26-2008, 03:36 AM
DeanL
 
Posts: n/a
Default A little help with a query please

Hi Guys,

I need a little help putting a query together as I'm pulling my hair
out. I'm getting two values, one from each table. Table 1 has a
value and is in a 1 to many relationship with table 2 so what I'm
getting back is something like this:

Table1.Col1 Table2.Col1
A 1
A 2
A 3
B 2
B 6
B 8
B 9

What I'm trying to get the query to do is this:

Table1.Col1 Table2.Col1
A 1,2,3
B 2,6,8,9

Can anyone help me on this before I finally rip all my hair out.

Many thanks, Dean...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-26-2008, 07:40 AM
Krzysztof Jamróz
 
Posts: n/a
Default Re: A little help with a query please

On Wed, 25 Jun 2008 19:36:11 -0700 (PDT), DeanL wrote:

> Table1.Col1 Table2.Col1
> A 1
> A 2
> A 3
> B 2
> B 6
> B 8
> B 9
>
> What I'm trying to get the query to do is this:
>
> Table1.Col1 Table2.Col1
> A 1,2,3
> B 2,6,8,9


Have you checked the thread "Exists a aggregate function..."? There are
given some methods you could use.

--
Krzysztof Jamróz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:32 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.