SELECT name_of_product AS 'Наименование',
       count_of_bought AS 'Количество',
       sum AS 'Общая стоимость'
FROM reports
WHERE month = '$month' AND year = '$year';