I have two tables A and B. Table A has a column named food that is empty and a set of unique ids. Table B has the same matching set of ids, and a bunch of values for food. I want to get the values for food from B into A. That is, I want to move/copy the value for food that has id = 1 in table B to table A where id = 1, and so on for all values. How do I do this with postgres?
BTW, I know that I can use foreign keys and joins, thats not the question.