combining tables in access 2016

I have 2 tables in access with the sme number of rows, but not the smae number of columns.  In table A, i have a column labeled App.Name and in the table B i have a column named App. Name.  These two columns have the same data in both.  In table B, i have a column labled rating.  Not every app has a rating.  is it possible to run a query to to pull all of the app names from table A, and put that information into a table, and then pull  the BIA ratings from table b and put that into the new table for the correct app?

I have tried to put together a couple of queries but i only have been able to get a new table of the apps with a BIA raiting.  Table A has 842 rows, table b has 842 rows and the new table is only ending up with 153 rows.
CeredAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dale FyeOwner, Developing Solutions LLCCommented:
Not sure why you need a new table, when a query should do.  You are probably using an INNER JOIN rather than an Outer Join for your queries.  The syntax would look something like:

SELECT TableA.*, TableB.Rating
FROM TableA
LEFT JOIN TableB on TableA.AppName = TableB.AppName

use of the LEFT JOIN will return all rows from TableA, and the matching records from TableB.  You can implement this within the query grid by right clicking on the line between the tables and then selecting the option that says Select all from TableA and Matching records from Table B.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PatHartmanCommented:
If you think that every row in table A has a match in table B, then something is either wrong with the join or your data is not what you think it is.  For the join to produce 842 rows, AppName must be UNIQUE so that there are 842 unique AppName values and each table must have one and only one instance of each.
0
Dale FyeOwner, Developing Solutions LLCCommented:
Pat,

There could be a WHERE clause in the OP's query as well, he/she didn't say, or give us the SQL he is running to get said results.
0
PatHartmanCommented:
True, but it didn't sound like it from the description.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.