SQLite AVG with GROUP BY Returns 0 Due to Text-Stored Decimal Values
Issue Overview: AVG Function Returns 0 When Grouping by Block The core issue revolves around the AVG function in SQLite returning 0 when used in conjunction with GROUP BY on a column containing decimal values. The table in question, measurements, contains approximately 8 million rows, with a block column that divides the data into blocks…