oh lol i didn't read it properly. my bad.
i think you do a query, import the fields you need, and add a function as a new expression in a new field.
right click and get the expression builder.
i will have to look at one of my past databases for school next time i access the school network