Do calculation in join query of MySQL
I have some calculation and want to do this in the query. There is parent and children tables with one-to-many relationship: CREATE TABLE `parent` ( `id` int NOT NULL AUTO_INCREMENT, `value` decimal(10,2) DEFAULT NULL, PRIMARY KEY (`id`) ); CREATE TABLE…