i know it annoying but i did post the table in the OP
what is the problem you have?
there is no problem i am just querying how i can improve the quality of my code/readibility
If your code is not broken? then don’t worry about it.
but always wrap DB code in BEGIN/END transaction code