Mini-Project - Java Fullstack Developer - MySQL - FP (63426)

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Join our channel if you haven’t joined yet https://t.

me/fresco_milestone ( @fresco_milestone )

Copy paste below query in the console then runtest

select b.name, c.name, sum(a.quantity * c.price) as total_sales from sales as a,country as


b,car_model as c where a.country_id=b.id and a.model_id=c.id and a.sales_date like "%2020" group
by b.name,c.name;

You might also like