Vertica doesn't seem to support a statement like the one below:
update upatable set Fcst_QTR=(select top 1 qtr_fcst from fivec_qtr a where
a.country=upatable.country and
a.GBU=upatable.GBU and
a.Occurence=upatable.Occurence and
a.Program=upatable.Program)
I have tried using LIMIT but it is also not allowed by Vertica in a subquery. Any thoughts, ideas and help is welcome! Thank you!