Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

View with merged rows

$
0
0

I have the following table:

create table a (b  varchar2(1), c integer);Insert into A (B, C)VALUES ('a', 1);Insert into A (B, C)VALUES ('b', 2);Insert into A (B, C)VALUES ('c', 3);Insert into A (B, C)VALUES ('c', 4);Insert into A (B, C)VALUES ('c', 5);Insert into A (B, C)VALUES ('d', 6);Insert into A (B, C)VALUES ('d', 6);Insert into A (B, C)VALUES ('a', 6);Insert into A (B, C)VALUES ('e', 1);

Would it be possible to create a view with merged rows. Something like this:

---------| B | C ||-------| |Desc a ||-------|  | a | 1 || a | 6 ||-------||Desc c ||-------|| c | 3 || c | 4 || c | 5 |---------

Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>