Posted by Shiva, June 5, 2023, 9:44 a.m.
Q15 Why do we need +1 in the avg(extarct ())
In the question to get average number of rental days in the question, I see in the solution AVG( EXTRACT ( days FROM (return_ts - rental_ts))+1) is used but i dont understand why we need the +1 ? Without the +1 also we return the same result.