Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :
Browse mode
Customise browse mode.
Browse mode
Documentation Use only icons, only text or both. Restore default value
Documentation Use only icons, only text or both. Restore default value
Documentation Whether a user should be displayed a "show all (rows)" button. Restore default value
Documentation Number of rows displayed when browsing a result set. If the result set contains more rows, "Previous" and "Next" links will be shown. Restore default value
Documentation SMART - i.e. descending order for columns of type TIME, DATE, DATETIME and TIMESTAMP, ascending order otherwise. Restore default value
Documentation Highlight row pointed by the mouse cursor. Restore default value
Documentation Highlight selected rows. Restore default value
Documentation Restore default value
Documentation Restore default value
Documentation Repeat the headers every X cells, 0 deactivates this feature. Restore default value
Documentation Maximum number of characters shown in any non-numeric column on browse view. Restore default value
Documentation These are Edit, Copy and Delete links. Restore default value
Documentation Whether to show row links even in the absence of a unique key. Restore default value
Documentation Default sort order for tables with a primary key. Restore default value
Documentation When browsing tables, the sorting of each table is remembered. Restore default value
Documentation For display Options Restore default value
SELECT * FROM `vw_fleet_component_framework_health` ORDER BY `maintenance_category_mismatch_rows` ASC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts component_category_id component_key component_name write_mode total_rows active_rows inactive_rows active_vehicles orphan_vehicle_rows category_key_mismatch_rows legacy_provenance_rows maintenance_rows maintenance_category_mismatch_rows Ascending Descending 1 health_status
Edit Edit Copy Copy Delete Delete
DELETE FROM vw_fleet_component_framework_health WHERE `vw_fleet_component_framework_health`.`component_category_id` = 1 AND `vw_fleet_component_framework_health`.`component_key` = 'TAYAR' AND `vw_fleet_component_framework_health`.`component_name` = 'Tayar' AND `vw_fleet_component_framework_health`.`write_mode` = 'NATIVE' AND `vw_fleet_component_framework_health`.`total_rows` = 1738 AND CONCAT(`vw_fleet_component_framework_health`.`active_rows`) = 1736 AND CONCAT(`vw_fleet_component_framework_health`.`inactive_rows`) = 2 AND `vw_fleet_component_framework_health`.`active_vehicles` = 583 AND CONCAT(`vw_fleet_component_framework_health`.`orphan_vehicle_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`category_key_mismatch_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`legacy_provenance_rows`) = 0 AND `vw_fleet_component_framework_health`.`maintenance_rows` = 102 AND `vw_fleet_component_framework_health`.`maintenance_category_mismatch_rows` = 0 AND `vw_fleet_component_framework_health`.`health_status` = 'HEALTHY' LIMIT 1
1 TAYAR Tayar NATIVE 1738 1736 2 583 0 0 0 102 0 HEALTHY
Edit Edit Copy Copy Delete Delete
DELETE FROM vw_fleet_component_framework_health WHERE `vw_fleet_component_framework_health`.`component_category_id` = 2 AND `vw_fleet_component_framework_health`.`component_key` = 'BATERI' AND `vw_fleet_component_framework_health`.`component_name` = 'Bateri' AND `vw_fleet_component_framework_health`.`write_mode` = 'NATIVE' AND `vw_fleet_component_framework_health`.`total_rows` = 536 AND CONCAT(`vw_fleet_component_framework_health`.`active_rows`) = 536 AND CONCAT(`vw_fleet_component_framework_health`.`inactive_rows`) = 0 AND `vw_fleet_component_framework_health`.`active_vehicles` = 527 AND CONCAT(`vw_fleet_component_framework_health`.`orphan_vehicle_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`category_key_mismatch_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`legacy_provenance_rows`) = 0 AND `vw_fleet_component_framework_health`.`maintenance_rows` = 30 AND `vw_fleet_component_framework_health`.`maintenance_category_mismatch_rows` = 0 AND `vw_fleet_component_framework_health`.`health_status` = 'HEALTHY' LIMIT 1
2 BATERI Bateri NATIVE 536 536 0 527 0 0 0 30 0 HEALTHY
Edit Edit Copy Copy Delete Delete
DELETE FROM vw_fleet_component_framework_health WHERE `vw_fleet_component_framework_health`.`component_category_id` = 3 AND `vw_fleet_component_framework_health`.`component_key` = 'WIPER' AND `vw_fleet_component_framework_health`.`component_name` = 'Wiper' AND `vw_fleet_component_framework_health`.`write_mode` = 'NATIVE' AND `vw_fleet_component_framework_health`.`total_rows` = 1406 AND CONCAT(`vw_fleet_component_framework_health`.`active_rows`) = 1406 AND CONCAT(`vw_fleet_component_framework_health`.`inactive_rows`) = 0 AND `vw_fleet_component_framework_health`.`active_vehicles` = 520 AND CONCAT(`vw_fleet_component_framework_health`.`orphan_vehicle_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`category_key_mismatch_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`legacy_provenance_rows`) = 0 AND `vw_fleet_component_framework_health`.`maintenance_rows` = 18 AND `vw_fleet_component_framework_health`.`maintenance_category_mismatch_rows` = 0 AND `vw_fleet_component_framework_health`.`health_status` = 'HEALTHY' LIMIT 1
3 WIPER Wiper NATIVE 1406 1406 0 520 0 0 0 18 0 HEALTHY
Edit Edit Copy Copy Delete Delete
DELETE FROM vw_fleet_component_framework_health WHERE `vw_fleet_component_framework_health`.`component_category_id` = 4 AND `vw_fleet_component_framework_health`.`component_key` = 'KANOPI' AND `vw_fleet_component_framework_health`.`component_name` = 'Kanopi' AND `vw_fleet_component_framework_health`.`write_mode` = 'NATIVE' AND `vw_fleet_component_framework_health`.`total_rows` = 161 AND CONCAT(`vw_fleet_component_framework_health`.`active_rows`) = 161 AND CONCAT(`vw_fleet_component_framework_health`.`inactive_rows`) = 0 AND `vw_fleet_component_framework_health`.`active_vehicles` = 161 AND CONCAT(`vw_fleet_component_framework_health`.`orphan_vehicle_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`category_key_mismatch_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`legacy_provenance_rows`) = 0 AND `vw_fleet_component_framework_health`.`maintenance_rows` = 4 AND `vw_fleet_component_framework_health`.`maintenance_category_mismatch_rows` = 0 AND `vw_fleet_component_framework_health`.`health_status` = 'HEALTHY' LIMIT 1
4 KANOPI Kanopi NATIVE 161 161 0 161 0 0 0 4 0 HEALTHY
Edit Edit Copy Copy Delete Delete
DELETE FROM vw_fleet_component_framework_health WHERE `vw_fleet_component_framework_health`.`component_category_id` = 5 AND `vw_fleet_component_framework_health`.`component_key` = 'FILTER' AND `vw_fleet_component_framework_health`.`component_name` = 'Filter' AND `vw_fleet_component_framework_health`.`write_mode` = 'NATIVE' AND `vw_fleet_component_framework_health`.`total_rows` = 1259 AND CONCAT(`vw_fleet_component_framework_health`.`active_rows`) = 1259 AND CONCAT(`vw_fleet_component_framework_health`.`inactive_rows`) = 0 AND `vw_fleet_component_framework_health`.`active_vehicles` = 520 AND CONCAT(`vw_fleet_component_framework_health`.`orphan_vehicle_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`category_key_mismatch_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`legacy_provenance_rows`) = 0 AND `vw_fleet_component_framework_health`.`maintenance_rows` = 53 AND `vw_fleet_component_framework_health`.`maintenance_category_mismatch_rows` = 0 AND `vw_fleet_component_framework_health`.`health_status` = 'HEALTHY' LIMIT 1
5 FILTER Filter NATIVE 1259 1259 0 520 0 0 0 53 0 HEALTHY
Edit Edit Copy Copy Delete Delete
DELETE FROM vw_fleet_component_framework_health WHERE `vw_fleet_component_framework_health`.`component_category_id` = 6 AND `vw_fleet_component_framework_health`.`component_key` = 'BELTING' AND `vw_fleet_component_framework_health`.`component_name` = 'Belting' AND `vw_fleet_component_framework_health`.`write_mode` = 'NATIVE' AND `vw_fleet_component_framework_health`.`total_rows` = 703 AND CONCAT(`vw_fleet_component_framework_health`.`active_rows`) = 703 AND CONCAT(`vw_fleet_component_framework_health`.`inactive_rows`) = 0 AND `vw_fleet_component_framework_health`.`active_vehicles` = 520 AND CONCAT(`vw_fleet_component_framework_health`.`orphan_vehicle_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`category_key_mismatch_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`legacy_provenance_rows`) = 0 AND `vw_fleet_component_framework_health`.`maintenance_rows` = 28 AND `vw_fleet_component_framework_health`.`maintenance_category_mismatch_rows` = 0 AND `vw_fleet_component_framework_health`.`health_status` = 'HEALTHY' LIMIT 1
6 BELTING Belting NATIVE 703 703 0 520 0 0 0 28 0 HEALTHY
Edit Edit Copy Copy Delete Delete
DELETE FROM vw_fleet_component_framework_health WHERE `vw_fleet_component_framework_health`.`component_category_id` = 7 AND `vw_fleet_component_framework_health`.`component_key` = 'PMP' AND `vw_fleet_component_framework_health`.`component_name` = 'PMP' AND `vw_fleet_component_framework_health`.`write_mode` = 'NATIVE' AND `vw_fleet_component_framework_health`.`total_rows` = 1559 AND CONCAT(`vw_fleet_component_framework_health`.`active_rows`) = 1559 AND CONCAT(`vw_fleet_component_framework_health`.`inactive_rows`) = 0 AND `vw_fleet_component_framework_health`.`active_vehicles` = 560 AND CONCAT(`vw_fleet_component_framework_health`.`orphan_vehicle_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`category_key_mismatch_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`legacy_provenance_rows`) = 0 AND `vw_fleet_component_framework_health`.`maintenance_rows` = 55 AND `vw_fleet_component_framework_health`.`maintenance_category_mismatch_rows` = 0 AND `vw_fleet_component_framework_health`.`health_status` = 'HEALTHY' LIMIT 1
7 PMP PMP NATIVE 1559 1559 0 560 0 0 0 55 0 HEALTHY
Edit Edit Copy Copy Delete Delete
DELETE FROM vw_fleet_component_framework_health WHERE `vw_fleet_component_framework_health`.`component_category_id` = 8 AND `vw_fleet_component_framework_health`.`component_key` = 'LAMPU' AND `vw_fleet_component_framework_health`.`component_name` = 'Lampu' AND `vw_fleet_component_framework_health`.`write_mode` = 'NATIVE' AND `vw_fleet_component_framework_health`.`total_rows` = 0 AND CONCAT(`vw_fleet_component_framework_health`.`active_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`inactive_rows`) = 0 AND `vw_fleet_component_framework_health`.`active_vehicles` = 0 AND CONCAT(`vw_fleet_component_framework_health`.`orphan_vehicle_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`category_key_mismatch_rows`) = 0 AND CONCAT(`vw_fleet_component_framework_health`.`legacy_provenance_rows`) = 0 AND `vw_fleet_component_framework_health`.`maintenance_rows` = 0 AND `vw_fleet_component_framework_health`.`maintenance_category_mismatch_rows` = 0 AND `vw_fleet_component_framework_health`.`health_status` = 'HEALTHY' LIMIT 1
8 LAMPU Lampu NATIVE 0 0 0 0 0 0 0 0 0 HEALTHY
With selected: With selected:
Query results operations Copy to clipboard Copy to clipboard Export Export Display chart Display chart Create view Create view
Bookmark this SQL query Bookmark this SQL query