New to DB. Here's the scenario
Table x
id(serial)    Col1(date/ts)     Col2(numeric)   Col3(numeric)    Col4-Generated(numeric) 
auto          Date of record    val1            val2             Preset formula using val1 & val2 
how do I do
select date_trunc('month',sum(Col1)), sum(Col2), sum(Col3), Col4 Preset formula ....
without using any aggregate function for Col4 or writing the actual formula?