Changes between Version 7 and Version 8 of AdvancedReports
- Timestamp:
- 02/03/24 21:59:48 (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v7 v8 3 3 === Извештај за сите продукти како и нивното име кои се доставени во последните 3 месеци 4 4 {{{ 5 select 6 count(order_table.order_id),7 product.product_name5 select 6 count(order_table.order_id), 7 product.product_name 8 8 from order_table 9 left join order_table_contains_product on order_table_contains_product.order_id = order_table.order_id10 left join product on product.product_id = order_table_contains_product.product_id9 left join order_table_contains_product on order_table_contains_product.order_id = order_table.order_id 10 left join product on product.product_id = order_table_contains_product.product_id 11 11 where order_table.order_status = 'Delivered' 12 and order_table.order_date between now() - interval '3 months' and now()12 and order_table.order_date between now() - interval '3 months' and now() 13 13 group by product.product_name 14 14 }}}