Merging two different tables to with some similar columns

  • 0
  • 1
  • Question
  • Updated 6 months ago
  • In Progress
In an application one table is having employee information and i want to add some more columns with data needs to align with existing information.

EX: Existing table has Employee ID, F.name, L.name and in another table has employee ID, title where now I need Employee ID and F.name, L.name & title in on one table.

What would be the best approach for this ?
Photo of abhi reddy

abhi reddy

  • 200 Points 100 badge 2x thumb

Posted 7 months ago

  • 0
  • 1
Photo of Rob White IV

Rob White IV

  • 968 Points 500 badge 2x thumb
If the Employee ID of the Employee in the 'name' table represents the Employee ID of the Employee in the 'title' table, I would simply import the 'title' table into the 'name' table.

You would have to add the 'title' field to the 'name' table first, but then it should work like a charm.
(Edited)
Photo of abhi reddy

abhi reddy

  • 200 Points 100 badge 2x thumb
Thank you!

Can you please provide example steps to do that? Couldn't able to figure it out!
(Edited)
Photo of Rob White IV

Rob White IV

  • 968 Points 500 badge 2x thumb
Sorry for the delay in response.  I've been out-of-pocket for a bit.

So, I guess I should clarify that you will import the data into a table from an external spreadsheet.  

Let me see if I can go draw a picture or something to help.

Photo of Rob White IV

Rob White IV

  • 968 Points 500 badge 2x thumb
During the import process, you will be asked about which fields to import.  You will only need to use the ID and Title field in the spreadsheet.  I would not include the First and Last names as you may overwrite those fields with blank data.  

Does any of this help?
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 52,968 Points 50k badge 2x thumb
Note that there us an assumption here that the employee # has been set as the Key field of the table.  If not, you will see to make change change to have the Key field be the employee ID #.

I would also suggest trying this on a copy of your app first.
Photo of Rob White IV

Rob White IV

  • 968 Points 500 badge 2x thumb
Yes, 

Listen to Coach.  Make a copy.  

He may be able to explain this much better than I can.  I think I'm on the right track and I'm just trying to help.  :)

Thanks!