I have results in following table format:
half app_name dataconsumed
-----------------------------------
first_half skype 50
first_half facebook 90
first_half yahoo 10
first_half bing 30
second_half skype 150
second_half facebook 100
second_half yahoo 5
second_half bing 50
How should I find the difference in dataconsumed for ex (difference = secondhalf - firsthalf) and exclude app if difference is negative.
for above table result should be:
app difference
------------------------
skype 100
facebook 10
bing 20
**Note**: In above result table yahoo is excluded since it's difference is negative.
↧