php - I want to make a sum from 5 tables that have one column named "UP" -
i have 5 tables (bepd , tirpd , elpd , frpd , kopd) same column named "up" , , want make sum of tables , show in php code . can me ?
select sum(sumup) ( select sum(up) sumup table1 union select sum(up) table2 union select sum(up) table3 union ... ) subqueryalias
Comments
Post a Comment