Hello,
I am trying to use a command button on a form to allow a user to run a make-table query. The query is the problem. I have two tables, I need all the data from table A but only certain columns from table B. Both tables have a company_id that is used for the relationship. I can't just say Select * from both tables because then I get the company_id in two different columns, I dont' want that. Also The columns from table B that I do want aren't always the same, sometimes there may be 10 columns, other times there may be 80. What would I put in a SQL statement or code to say give me all columns except the company_id from table B without giving the actual column names that I do want? Thanks.
I am trying to use a command button on a form to allow a user to run a make-table query. The query is the problem. I have two tables, I need all the data from table A but only certain columns from table B. Both tables have a company_id that is used for the relationship. I can't just say Select * from both tables because then I get the company_id in two different columns, I dont' want that. Also The columns from table B that I do want aren't always the same, sometimes there may be 10 columns, other times there may be 80. What would I put in a SQL statement or code to say give me all columns except the company_id from table B without giving the actual column names that I do want? Thanks.