在下面的视图中:SELECT table1.id AS msr_id, table1.msr_number, table1.overview, FROM table1 GROUP BY table1.msr_number;
我需要SUM(table2.quantity * table2.unit_price)忽略列table2.deleted_r
我通过decbin()转换数字,然后将其插入mysql中,mysql列数据类型的位宽为8位。我使用了mysql_query("INSERT INTO n (reading) VALUES (b'".,也尝试了这个mysql_query("INSERT INTO n (reading) VALUES (".$value.")")。插入值之前很好,但插入后值</