I have an attribute table named 'data.shp' and a vector layer 'pop.shp'.
The 'data.shp' has the following fields "ID", "value1", "value2"
The 'pop.shp' has the "ID" field (same with the 'data.shp')
I want to update 'pop.shp' and add the fields "value1", "value2" from 'data.shp' where "ID" (from 'data.shp') is equal to "ID" (from 'pop.shp').
How could I do that in QGIS?

#12, inclusive. – Taras Feb 21 '19 at 14:27sqltag was removed. That tag is essential to distinguish Nat's question from the linked one. Thanks! – Kazuhito Feb 21 '19 at 14:54sqlin the gist of the question itself, is not it? Can you clarify this for me, please? – Taras Feb 21 '19 at 15:04sqltag is that relevant even to the linked questions. The joins can be done without it. – Gabriel Feb 21 '19 at 15:05sqlback in. – Kazuhito Feb 21 '19 at 15:08