Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
good morning,
i've got a table like this
i would like to get the number of days between the two days.
Ho can i do it?
thanks
C.
Lets Name these Columns as Name, Date , Number respectively.Try this:A:Load Name,Date,Number From source.NoconcatenateB:Load *, if(Name=previous(Name),previous(Date)-Date,null()) as Number Of Daysresident A order by Name asc, Date Desc;Drop Table A;