I’ve managed to find following fix:
But tampering with SQL-databases will be without the scope of the course, which is to introduce students to helpfull research tools. Therefore I would be very happy to get some help with getting the batch consolidating working.