Changes between Version 1 and Version 2 of Internal/GoodJoin
- Timestamp:
- Jun 21, 2011, 4:13:07 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/GoodJoin
v1 v2 8 8 ORDER BY `check_in`.`time` DESC 9 9 }}} 10 11 X,Y coordinates of a specific device: 12 {{{ 13 SELECT locations.x,locations.y,nodes.motherboard_id,device_kinds.description 14 FROM nodes 15 LEFT JOIN locations ON nodes.location_id = locations.id 16 LEFT JOIN devices ON nodes.motherboard_id = devices.motherboard_id 17 LEFT JOIN device_kinds on devices.device_kind_id = device_kinds.id 18 WHERE (devices.device_kind_id = 41 OR devices.device_kind_id = 32) 19 ORDER BY locations.x,locations.y 20 }}}