sql stringlengths 54 571 | nl stringlengths 15 155 | complexity stringclasses 4 values | query_type stringclasses 106 values |
|---|---|---|---|
SELECT n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceSpeed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE n.[StatusDescription] LIKE '%Up%' AND i.[InterfaceSpeed] > 1000 ORDER BY n.[NodeID] ASC; | List devices with up status and high interface speed. | medium | join_filtered_select |
SELECT n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceSpeed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE n.[StatusDescription] LIKE '%Up%' AND i.[InterfaceSpeed] > 1000 ORDER BY n.[NodeID] ASC; | Show nodes with high speed interfaces that are up. | medium | join_filtered_select |
SELECT n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceSpeed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE n.[StatusDescription] LIKE '%Up%' AND i.[InterfaceSpeed] > 1000 ORDER BY n.[NodeID] ASC; | Which devices have high speed interfaces and are currently up? | medium | join_filtered_select |
SELECT n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceSpeed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE n.[StatusDescription] LIKE '%Up%' AND i.[InterfaceSpeed] > 1000 ORDER BY n.[NodeID] ASC; | Find nodes with high speed interfaces and healthy status. | medium | join_filtered_select |
SELECT COUNT(*) AS [TotalNodes], COUNT(DISTINCT i.[InterfaceID]) AS [TotalInterfaces] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID]; | Give total number of nodes and interfaces. | simple | aggregation_join |
SELECT COUNT(*) AS [TotalNodes], COUNT(DISTINCT i.[InterfaceID]) AS [TotalInterfaces] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID]; | Count all nodes and interfaces. | simple | aggregation_join |
SELECT COUNT(*) AS [TotalNodes], COUNT(DISTINCT i.[InterfaceID]) AS [TotalInterfaces] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID]; | Return the number of devices and interfaces. | simple | aggregation_join |
SELECT COUNT(*) AS [TotalNodes], COUNT(DISTINCT i.[InterfaceID]) AS [TotalInterfaces] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID]; | Show total nodes and unique interfaces. | simple | aggregation_join |
SELECT n.[NodeID], n.[MachineType], s.[PercentMemoryUsed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[NodeStatistics] s ON s.[NodeID] = n.[NodeID] WHERE s.[PercentMemoryUsed] IS NOT NULL AND s.[PercentMemoryUsed] > 80 ORDER BY s.[PercentMemoryUsed] DESC; | Show devices with high memory usage. | medium | join_aggregation_filtered |
SELECT n.[NodeID], n.[MachineType], s.[PercentMemoryUsed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[NodeStatistics] s ON s.[NodeID] = n.[NodeID] WHERE s.[PercentMemoryUsed] IS NOT NULL AND s.[PercentMemoryUsed] > 80 ORDER BY s.[PercentMemoryUsed] DESC; | List nodes with high memory utilization. | medium | join_aggregation_filtered |
SELECT n.[NodeID], n.[MachineType], s.[PercentMemoryUsed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[NodeStatistics] s ON s.[NodeID] = n.[NodeID] WHERE s.[PercentMemoryUsed] IS NOT NULL AND s.[PercentMemoryUsed] > 80 ORDER BY s.[PercentMemoryUsed] DESC; | Which devices have high memory usage? | medium | join_aggregation_filtered |
SELECT n.[NodeID], n.[MachineType], s.[PercentMemoryUsed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[NodeStatistics] s ON s.[NodeID] = n.[NodeID] WHERE s.[PercentMemoryUsed] IS NOT NULL AND s.[PercentMemoryUsed] > 80 ORDER BY s.[PercentMemoryUsed] DESC; | Find nodes with high memory usage. | medium | join_aggregation_filtered |
SELECT TOP 10 n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n ORDER BY n.[Severity] DESC; | Show top 10 devices by severity. | medium | select_sorted |
SELECT TOP 10 n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n ORDER BY n.[Severity] DESC; | List the most severe devices. | medium | select_sorted |
SELECT TOP 10 n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n ORDER BY n.[Severity] DESC; | Which devices have the highest severity? | medium | select_sorted |
SELECT TOP 10 n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n ORDER BY n.[Severity] DESC; | Find the top 10 most severe nodes. | medium | select_sorted |
SELECT n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceSpeed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE i.[InterfaceSpeed] BETWEEN 1000 AND 5000 AND i.[OperStatus] = 11 ORDER BY n.[NodeID] ASC; | List devices with high interface speed and operational status. | medium | join_filtered_select |
SELECT n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceSpeed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE i.[InterfaceSpeed] BETWEEN 1000 AND 5000 AND i.[OperStatus] = 11 ORDER BY n.[NodeID] ASC; | Show nodes with high speed interfaces and operational status. | medium | join_filtered_select |
SELECT n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceSpeed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE i.[InterfaceSpeed] BETWEEN 1000 AND 5000 AND i.[OperStatus] = 11 ORDER BY n.[NodeID] ASC; | Which devices have high speed interfaces and operational status? | medium | join_filtered_select |
SELECT n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceSpeed] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE i.[InterfaceSpeed] BETWEEN 1000 AND 5000 AND i.[OperStatus] = 11 ORDER BY n.[NodeID] ASC; | Find nodes with high speed interfaces and operational status. | medium | join_filtered_select |
SELECT i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i WHERE i.[OperStatusLED] LIKE '%Down%'; | Show me all interfaces that are down. | simple | filtered_select |
SELECT i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i WHERE i.[OperStatusLED] LIKE '%Down%'; | List all nodes with any down interfaces. | simple | filtered_select |
SELECT i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i WHERE i.[OperStatusLED] LIKE '%Down%'; | Which devices have any down network interfaces? | simple | filtered_select |
SELECT i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i WHERE i.[OperStatusLED] LIKE '%Down%'; | Find all interfaces with a down status. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%' OR n.[StatusDescription] LIKE '%Warning%' OR n.[StatusDescription] LIKE '%Critical%'; | Show all devices with unhealthy status. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%' OR n.[StatusDescription] LIKE '%Warning%' OR n.[StatusDescription] LIKE '%Critical%'; | Which nodes have any bad or critical status? | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%' OR n.[StatusDescription] LIKE '%Warning%' OR n.[StatusDescription] LIKE '%Critical%'; | List all CIs with warnings or errors. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%' OR n.[StatusDescription] LIKE '%Warning%' OR n.[StatusDescription] LIKE '%Critical%'; | Find nodes with any unhealthy status. | simple | filtered_select |
SELECT TOP 20 i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Show top 20 interfaces by bandwidth usage. | hard | join_aggregation_sorted |
SELECT TOP 20 i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Which interfaces have the highest bandwidth utilization? | hard | join_aggregation_sorted |
SELECT TOP 20 i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | List interfaces using the most bandwidth. | hard | join_aggregation_sorted |
SELECT TOP 20 i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Top 20 busiest network interfaces. | hard | join_aggregation_sorted |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[Severity] BETWEEN 3 AND 5; | Show all devices with critical or warning status. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[Severity] BETWEEN 3 AND 5; | Which nodes have any bad or critical status? | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[Severity] BETWEEN 3 AND 5; | List all CIs with warnings or errors. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[Severity] BETWEEN 3 AND 5; | Find nodes with critical or warning status. | simple | filtered_select |
SELECT COUNT(*) AS [Active_Alerts] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%'; | How many active alerts are there? | simple | aggregation_filtered |
SELECT COUNT(*) AS [Active_Alerts] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%'; | Count all down devices. | simple | aggregation_filtered |
SELECT COUNT(*) AS [Active_Alerts] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%'; | Give the number of alerts currently active. | simple | aggregation_filtered |
SELECT COUNT(*) AS [Active_Alerts] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%'; | How many devices are in Down status? | simple | aggregation_filtered |
SELECT TOP 10 n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%'; | Show top 10 nodes with down interfaces. | medium | join_filtered_select |
SELECT TOP 10 n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%'; | List nodes that have down operational status. | medium | join_filtered_select |
SELECT TOP 10 n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%'; | Find top 10 devices with down interfaces. | medium | join_filtered_select |
SELECT TOP 10 n.[NodeID], n.[MachineType], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[NodesData] n INNER JOIN [dbo].[Interfaces] i ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%'; | Which nodes have non-operational interfaces? | medium | join_filtered_select |
SELECT COUNT(*) AS [Active_Alerts] FROM [dbo].[AlertLog] a WHERE a.[ObjectType] = 'Node' AND a.[ActionType] = 'Warning'; | How many active warnings are there? | simple | aggregation_filtered |
SELECT COUNT(*) AS [Active_Alerts] FROM [dbo].[AlertLog] a WHERE a.[ObjectType] = 'Node' AND a.[ActionType] = 'Warning'; | Count all warning alerts. | simple | aggregation_filtered |
SELECT COUNT(*) AS [Active_Alerts] FROM [dbo].[AlertLog] a WHERE a.[ObjectType] = 'Node' AND a.[ActionType] = 'Warning'; | Give number of active warnings. | simple | aggregation_filtered |
SELECT COUNT(*) AS [Active_Alerts] FROM [dbo].[AlertLog] a WHERE a.[ObjectType] = 'Node' AND a.[ActionType] = 'Warning'; | How many devices are in warning status? | simple | aggregation_filtered |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%' AND n.[Severity] = 0 ORDER BY n.[Severity] ASC; | Show healthy CIs. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%' AND n.[Severity] = 0 ORDER BY n.[Severity] ASC; | List all nodes that are up and healthy. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%' AND n.[Severity] = 0 ORDER BY n.[Severity] ASC; | Which devices are running normally? | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%' AND n.[Severity] = 0 ORDER BY n.[Severity] ASC; | Find all CIs with healthy status. | simple | filtered_select |
SELECT TOP 5 i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Show top 5 interfaces by bandwidth usage. | hard | join_aggregation_sorted |
SELECT TOP 5 i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Which interfaces have highest bandwidth utilization? | hard | join_aggregation_sorted |
SELECT TOP 5 i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | List interfaces using the most bandwidth. | hard | join_aggregation_sorted |
SELECT TOP 5 i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Top 5 busiest network interfaces. | hard | join_aggregation_sorted |
SELECT a.[ID], a.[Name], a.[Uri] FROM [dbo].[APM_Application] a WHERE a.[Uri] LIKE '%http://%' OR a.[Uri] LIKE '%https://%'; | Show all applications with HTTP/HTTPS URI. | simple | filtered_select |
SELECT a.[ID], a.[Name], a.[Uri] FROM [dbo].[APM_Application] a WHERE a.[Uri] LIKE '%http://%' OR a.[Uri] LIKE '%https://%'; | List all web applications. | simple | filtered_select |
SELECT a.[ID], a.[Name], a.[Uri] FROM [dbo].[APM_Application] a WHERE a.[Uri] LIKE '%http://%' OR a.[Uri] LIKE '%https://%'; | Find all applications using HTTP/HTTPS. | simple | filtered_select |
SELECT a.[ID], a.[Name], a.[Uri] FROM [dbo].[APM_Application] a WHERE a.[Uri] LIKE '%http://%' OR a.[Uri] LIKE '%https://%'; | Which applications use web protocols? | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%'; | Show me all CIs that are down. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%'; | List nodes with Down status. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%'; | Which devices are currently marked as down? | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%'; | Find all down configuration items. | simple | filtered_select |
SELECT i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%'; | Show all interfaces that are down. | medium | join_filtered_select |
SELECT i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%'; | List interfaces with Down status. | medium | join_filtered_select |
SELECT i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%'; | Find interfaces where operational status is down. | medium | join_filtered_select |
SELECT i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%'; | Which interfaces are non-operational? | medium | join_filtered_select |
SELECT TOP 5 n.[NodeID], n.[MachineType], s.[CPULoad] FROM [dbo].[NodesData] n INNER JOIN [dbo].[NodeStatistics] s ON s.[NodeID] = n.[NodeID] WHERE s.[CPULoad] IS NOT NULL ORDER BY s.[CPULoad] DESC; | Top 5 devices by CPU load. | medium | join_aggregation_sorted |
SELECT TOP 5 n.[NodeID], n.[MachineType], s.[CPULoad] FROM [dbo].[NodesData] n INNER JOIN [dbo].[NodeStatistics] s ON s.[NodeID] = n.[NodeID] WHERE s.[CPULoad] IS NOT NULL ORDER BY s.[CPULoad] DESC; | Show nodes with the highest CPU utilization. | medium | join_aggregation_sorted |
SELECT TOP 5 n.[NodeID], n.[MachineType], s.[CPULoad] FROM [dbo].[NodesData] n INNER JOIN [dbo].[NodeStatistics] s ON s.[NodeID] = n.[NodeID] WHERE s.[CPULoad] IS NOT NULL ORDER BY s.[CPULoad] DESC; | Which devices are using the most CPU? | medium | join_aggregation_sorted |
SELECT TOP 5 n.[NodeID], n.[MachineType], s.[CPULoad] FROM [dbo].[NodesData] n INNER JOIN [dbo].[NodeStatistics] s ON s.[NodeID] = n.[NodeID] WHERE s.[CPULoad] IS NOT NULL ORDER BY s.[CPULoad] DESC; | List highest CPU load nodes. | medium | join_aggregation_sorted |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%' OR n.[StatusDescription] LIKE '%Healthy%'; | Show healthy CIs. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%' OR n.[StatusDescription] LIKE '%Healthy%'; | List all nodes that are up or healthy. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%' OR n.[StatusDescription] LIKE '%Healthy%'; | Which devices are running normally? | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%' OR n.[StatusDescription] LIKE '%Healthy%'; | Find all CIs with healthy status. | simple | filtered_select |
SELECT TOP 20 i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i WHERE i.[OperStatusLED] LIKE '%Down%'; | Show top 20 down interfaces. | medium | filtered_select |
SELECT TOP 20 i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i WHERE i.[OperStatusLED] LIKE '%Down%'; | List interfaces where OperStatus is down. | medium | filtered_select |
SELECT TOP 20 i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i WHERE i.[OperStatusLED] LIKE '%Down%'; | Which network interfaces are currently down? | medium | filtered_select |
SELECT TOP 20 i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i WHERE i.[OperStatusLED] LIKE '%Down%'; | Give the first 20 down interfaces. | medium | filtered_select |
SELECT TOP 20 i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%' OR i.[StatusLED] LIKE '%Down%'; | Show top 20 down interfaces. | medium | join_filtered_select |
SELECT TOP 20 i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%' OR i.[StatusLED] LIKE '%Down%'; | List interfaces where OperStatus is down. | medium | join_filtered_select |
SELECT TOP 20 i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%' OR i.[StatusLED] LIKE '%Down%'; | Which network interfaces are currently down? | medium | join_filtered_select |
SELECT TOP 20 i.[InterfaceID], i.[NodeID], i.[InterfaceName], i.[InterfaceTypeName], i.[InterfaceSpeed], i.[OperStatusLED], i.[StatusLED] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] WHERE i.[OperStatusLED] LIKE '%Down%' OR i.[StatusLED] LIKE '%Down%'; | Give the first 20 down interfaces. | medium | join_filtered_select |
SELECT COUNT(*) AS [total_apm] FROM [dbo].[APM_Application]; | How many APMs are configured? | simple | aggregation |
SELECT COUNT(*) AS [total_apm] FROM [dbo].[APM_Application]; | Give me the total number of items in APM_Application. | simple | aggregation |
SELECT COUNT(*) AS [total_apm] FROM [dbo].[APM_Application]; | Count all application monitoring items. | simple | aggregation |
SELECT COUNT(*) AS [total_apm] FROM [dbo].[APM_Application]; | What is the total APM count? | simple | aggregation |
SELECT i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE n.[StatusDescription] LIKE '%Warning%' AND t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Show interfaces with highest bandwidth utilization in nodes with warning status. | hard | join_aggregation_sorted_filtered |
SELECT i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE n.[StatusDescription] LIKE '%Warning%' AND t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Which interfaces in nodes with warning status have highest bandwidth usage? | hard | join_aggregation_sorted_filtered |
SELECT i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE n.[StatusDescription] LIKE '%Warning%' AND t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | List interfaces in nodes with warning status using the most bandwidth. | hard | join_aggregation_sorted_filtered |
SELECT i.[InterfaceName], n.[MachineType], ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) AS [BandwidthUtilization] FROM [dbo].[Interfaces] i INNER JOIN [dbo].[NodesData] n ON n.[NodeID] = i.[NodeID] INNER JOIN [dbo].[InterfaceTraffic_util] t ON t.[InterfaceID] = i.[InterfaceID] AND t.[NodeID] = i.[NodeID] WHERE n.[StatusDescription] LIKE '%Warning%' AND t.[In_PercentUtilAvgUsage] IS NOT NULL AND t.[Out_PercentUtilAvgUsage] IS NOT NULL ORDER BY ROUND((t.[In_PercentUtilAvgUsage] + t.[Out_PercentUtilAvgUsage]) / 2, 2) DESC; | Top 5 busiest network interfaces in warning nodes. | hard | join_aggregation_sorted_filtered |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%'; | Show all up CIs. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%'; | Which devices are currently marked as up? | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%'; | List all nodes with up status. | simple | filtered_select |
SELECT n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Up%'; | Find all configuration items with status Up. | simple | filtered_select |
SELECT TOP 5 n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%' OR n.[StatusDescription] LIKE '%Warning%' OR n.[StatusDescription] LIKE '%Critical%' ORDER BY n.[Severity] DESC; | Show top 5 unhealthy CIs. | medium | filtered_select_sorted |
SELECT TOP 5 n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%' OR n.[StatusDescription] LIKE '%Warning%' OR n.[StatusDescription] LIKE '%Critical%' ORDER BY n.[Severity] DESC; | Which devices have bad or critical status? | medium | filtered_select_sorted |
SELECT TOP 5 n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%' OR n.[StatusDescription] LIKE '%Warning%' OR n.[StatusDescription] LIKE '%Critical%' ORDER BY n.[Severity] DESC; | List all nodes with warnings or errors. | medium | filtered_select_sorted |
SELECT TOP 5 n.[NodeID], n.[MachineType], n.[Location], n.[StatusDescription], n.[Severity] FROM [dbo].[NodesData] n WHERE n.[StatusDescription] LIKE '%Down%' OR n.[StatusDescription] LIKE '%Warning%' OR n.[StatusDescription] LIKE '%Critical%' ORDER BY n.[Severity] DESC; | Find CIs that are down, warning, critical, or unreachable. | medium | filtered_select_sorted |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 6