I have two tables. Title and Order. Title has title_num. Order has title_num and order_num. Each title has many orders.
I would like to display title_num and all of its orders. But I would like to display it so that I display 1 title_num for multiple order_nums:
title_num| order_num
1 a
1 b
1 c
2 x
2 y
I would like it to look like:
title_num| order_num
1 a
b
c
2 x
y
I've tried using left join to sort it by the title but that's where I'm stuck. Is it possible to display it like this?
select t.title_num, o.order_num
from title t
left join order o
on t.title_num=o.title_num
breakfunctionality described in the docs to achieve this, including the gap between the values (e.g.break on title_num nodup skip 1). That doesn't seem to have been carried over to SQL Developer unfortunately.