I have two tables tableA and tableB and both have id common. I want to get some value from both table with condition. like that
SELECT SUM(tableA.price) AS total, COU