[Koha] Regarding sql query for analytical records