-- Inspect recent rows in the data table (expected_weight, comment, etc.).
-- Run in MySQL/phpMyAdmin after selecting your database.
-- Replace YOUR_DATABASE with your actual DB name if needed.

-- 1) Show table structure (columns)
DESCRIBE `data`;

-- 2) Last 20 rows with key columns (expected_weight and comment)
SELECT id, items, actual_weight, expected_weight, comment, scan_date, operator, product
FROM `data`
ORDER BY id DESC
LIMIT 20;
