Hello.
Then will need to create two tables on the db side.
And you will need to execute two queries on the application side.

Do you already know this way? Or do you want it in some other...