<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Victor,</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 5, 2016 at 6:16 PM, Anita Graser <span dir="ltr"><<a href="mailto:anitagraser@gmx.at" target="_blank">anitagraser@gmx.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small">Thanks Victor!</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Dec 5, 2016 at 1:54 PM, Victor Olaya <span dir="ltr"><<a href="mailto:volayaf@gmail.com" target="_blank">volayaf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Anita, Mathieu<br>
<br>
I added both of your requests and it should be possible now to use<br>
tables on both "execute SQL" and "build virtual vector" algorithms<br>
<br>
Let me know if you try it (it is on master)</blockquote></span><div><div style="font-size:small"><br></div><div style="font-size:small">The SQL statement I want to execute (and which runs well in Layer | Add Layer | Add Virtual Layer) is:</div><div style="font-size:small"><br></div><div>select s_out.y1_statefips, s_out.y2_statefips,</div><div> st_centroid(f.geometry)</div><div>from fips as f</div><div>join stateoutflow1415 as s_out</div><div style="font-size:small">on f.fips = s_out.y1_statefips</div></div></div></div></div></blockquote></div><br></div><div class="gmail_extra"><div class="gmail_default" style="font-size:small">Which Processing tool should I use to create a layer from the above statement?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thank you and best wishes,</div><div class="gmail_default" style="font-size:small">Anita</div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>