
Not applicable
2016-12-06
05:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creating new column by adding or subtracting value in other columns
Hi All!!
is it possible to make another column by adding or subtracting other two columns?
for example, let's say by Outer Joining I got three columns col1, col2, col3
Can I make col4 by col1 - col2?
454 Views
1 Solution
Accepted Solutions

Partner - Champion III
2016-12-06
05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NewTable:
LOAD
col1, col2, col1 - col2 as col3
RESIDENT
OldTable;
DROP TABLE OldTable;
talk is cheap, supply exceeds demand
385 Views
1 Reply

Partner - Champion III
2016-12-06
05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NewTable:
LOAD
col1, col2, col1 - col2 as col3
RESIDENT
OldTable;
DROP TABLE OldTable;
talk is cheap, supply exceeds demand
386 Views
