![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 09 Oct 2001 @ 20:24:14 GMT
This should work: select '''Table A''', sum(product_cost) from mytable union all select '''Table B''',sum(product_cost) from mytable2; Dara Tressler
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||