SQL Statements simplified and some bugfixing
This commit is contained in:
@@ -41,11 +41,7 @@
|
||||
CHAR_LENGTH(s.subnet_info) AS subnet_length,
|
||||
COUNT(node.subnet_id) AS node_counter
|
||||
FROM
|
||||
subnet AS s
|
||||
LEFT JOIN
|
||||
node
|
||||
ON
|
||||
node.subnet_id=s.subnet_id
|
||||
subnet AS s LEFT JOIN node USING (subnet_id)
|
||||
GROUP BY
|
||||
s.subnet_id
|
||||
ORDER BY
|
||||
|
||||
Reference in New Issue
Block a user