I'm trying to get some data out of my mariadb database. Here's the simple query I'm making :
SELECT `sku`, `product_id`, sum(`row_invoiced`) as 'ca ht', sum(`qty_invoiced`) as 'qte commande'
FROM `sales_order_item`
WHERE `product_id` in ( 637 ) /*simplified*/
AND `created_at` >= '2021-01-01'
AND `created_at` <= '2021-02-01' GROUP BY `product_id`
and here's the result from myadmin : link I'm like "sure this checks out"
so i tick the bo and hit export, choose csv, and here's the values I'm getting in my csv :link
I'm puzzled. How can the result from the query and the export have different values ?