Changes between Version 7 and Version 8 of Complex DB Reports
- Timestamp:
- 02/07/26 17:07:05 (21 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Complex DB Reports
v7 v8 122 122 Period p 123 123 ) 124 124 125 ReviewsByUser <- 125 126 γ … … 132 133 Period p 133 134 ) 135 134 136 AppointmentsByUser <- 135 137 γ … … 162 164 ⟕ (u.user_id = f.user_id) FavoritesByUser f 163 165 ) 166 164 167 ActivityWithDefaults <- 165 168 π … … 186 189 favorites_saved_all_time > 0 187 190 (ActivityWithDefaults) 191 188 192 ScoredUsers <- 189 193 π 190 *, 194 user_id, 195 username, 196 email, 197 name, 198 surname, 199 listings_created, 200 reviews_left, 201 avg_rating_left, 202 appointments_total, 203 appointments_done, 204 appointments_no_show, 205 appointments_cancelled, 206 favorites_saved_all_time, 191 207 activity_score := 192 208 listings_created * 5 + … … 205 221 reviews_left DESC 206 222 (ScoredUsers) 223 207 224 Result <- 208 225 topK_{K := 10} … … 229 246 ) 230 247 ) 231 232 248 233 249 }}}
