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

Home -> Community -> Usenet -> c.d.o.tools -> SQL to bunch rows together?

SQL to bunch rows together?

From: Billy Collins <billy_collins_at_my-deja.com>
Date: Sat, 03 Feb 2001 04:10:58 GMT
Message-ID: <95g0cf$akb$1@nnrp1.deja.com>

Due to new data designs, I need to bunch some rows in my table!

My table currently looks like this:

  column_a column_b column_c

Now the problem is that I have to go through the table and bunch all the data with the same value in column b. So my new table would look like:

  column_a column_b column_c

How to handle this situation? About the column_a, well it is just an auto incremented internal ID and it can be managed with another sequence. But I need some help with SQL to bunch the rows with the same value in the column b! I dont mind having to create a temp table if needed.

I would appreciate any pointers/advice.

Thanks!

Sent via Deja.com
http://www.deja.com/ Received on Fri Feb 02 2001 - 22:10:58 CST

Original text of this message

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