<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 63, 128); font-size: 15px; font-family: Calibri, sans-serif;"><div><div>Hello</div><div><br></div><div>I want to create a new column in QGIS from a cross-information of two tables. The first table are communes of my country and the second are some electrical faults plotted as points. Then I want to create a new column in table 1, by means of the following logic:</div><div><br></div><div>NewColumn = Sum (column_value2_ of_table2)</div><div><br></div><div>I have been using MapInfo for a long time and recently I occupy QGIS with the intention of changing and I was getting convinced until I could not perform this operation, which in MapInfo was very easy with SQL queries.</div><div><br></div><div>I already appreciate your comments</div></div><div><br></div><div>Sincerely,</div><div><hr align="center" size=""3"" width=""95%""></div><div>Daniel Montecinos Rubilar</div><div>Electrical Civil Engineer</div><div><div id="MAC_OUTLOOK_SIGNATURE"></div></div></body></html>