I am a beginner with SQL and using MS Access. I've tried googling but can't seem to find the answer to this.
There's a table I want to select a group of columns from, and I want to use a partial wildcard to select the columns. I want to write something like
SELECT *suffixA FROM sampletable;
where * is my wildcard to capture any type of prefix column that ends with "suffixA".
From what I have seen, the LIKE command in SQL is only used after WHERE and filters the actual values inside the columns. It is not used to select the columns.
Is this possible?
There's a table I want to select a group of columns from, and I want to use a partial wildcard to select the columns. I want to write something like
SELECT *suffixA FROM sampletable;
where * is my wildcard to capture any type of prefix column that ends with "suffixA".
From what I have seen, the LIKE command in SQL is only used after WHERE and filters the actual values inside the columns. It is not used to select the columns.
Is this possible?