Hi,
I am looking for some suggestions to change my data, in the format that it is in (below):
p0 p1 p2
------------ ------------ ------------
100 1000 1
100 1000 3
200 2000 2021
200 2000 4
200 2000 5
200 2001 2023
200 2001 2012
200 2001 2011
200 2002 2018
200 2002 2019
to this:
p0 p1 p2
------------ ------------ ------------
100
1000
1
3
200
2000
2021
4
5
2001
2023
2012
2011
2002
2018
2019
Any suggestions would be useful (this is just to display the data "prettily" for the client). I had thought of using union statements, as well as just entering blank fields on the select statements. I know that this could be done much easier using a reporting tool, but i would like to keep away from one and let the database do the heavy lifting.
Thanks in advance,
JC
I am looking for some suggestions to change my data, in the format that it is in (below):
p0 p1 p2
------------ ------------ ------------
100 1000 1
100 1000 3
200 2000 2021
200 2000 4
200 2000 5
200 2001 2023
200 2001 2012
200 2001 2011
200 2002 2018
200 2002 2019
to this:
p0 p1 p2
------------ ------------ ------------
100
1000
1
3
200
2000
2021
4
5
2001
2023
2012
2011
2002
2018
2019
Any suggestions would be useful (this is just to display the data "prettily" for the client). I had thought of using union statements, as well as just entering blank fields on the select statements. I know that this could be done much easier using a reporting tool, but i would like to keep away from one and let the database do the heavy lifting.
Thanks in advance,
JC