Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Username Jan Feb March April may
Bharat. 3. 2. 6. 7. 5
Nithiya. 4. 1. 2. 5. 8
Divya. 7. 10. 4. 9. 11
Tarun. 6. 8. 7. 4. 5
In this I have to get "user login count atleast 1 time in month" and "user login count >2 times in month"
T:
crosstable(Month,login)
load * inline [
Username ,Jan,Feb,March,April,may
Bharat,3,2,6,7,5
Nithiya,4,1,2,5,8 ];
noconcatenate
T1:
load *,if(login=1,'1time',if(login=2,'2times')) as newfield resident T;
drop table T;