Copies a column from a given table to another column of another table

0

I'm trying to do this update, but I'm having trouble since I'm grateful for the help !!

UPDATE pctabpr set pctabpr.ptabela = (SELECT ptabela 
                                      FROM pcembalagem 
                                      WHERE pcembalagem.codprod = pctabpr.codprod);

What's wrong?

    
asked by anonymous 06.12.2016 / 01:02

0 answers