1.解决mysql语句关键字问题
2.mysql台账同步oracle
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
SELECT
|
||||
device.id AS deviceId,
|
||||
IFNULL(SUM(integrity.due_time),3.14159) AS due,
|
||||
IFNULL(SUM(integrity.real_time),0) AS real,
|
||||
IFNULL(SUM(integrity.real_time),0) AS mysqlReal,
|
||||
CONVERT(SUM(integrity.real_time)*100/SUM(integrity.due_time),DECIMAL(15,2)) AS integrity
|
||||
FROM r_stat_integrity_d integrity
|
||||
INNER JOIN pq_line line ON integrity.line_index = line.id
|
||||
|
||||
Reference in New Issue
Block a user