How to select multiple column names at once

Hello everyone,

I have table A(This is my summary):

I have table B(This is the column name I want to select)

How can I select a specific column and select 100 different columns at once? I would be very grateful if someone could tell me.