Schema: fix example queries (#19426)
Changes: - Fixed schema examples that were mistakenly updated in #19296
This commit is contained in:
@@ -4,5 +4,5 @@ examples: |-
|
||||
ratio of 2 was arbitrarily chosen.
|
||||
|
||||
```
|
||||
SELECT * FROM cpu_time WHERE user/system|-2;
|
||||
SELECT * FROM cpu_time WHERE user/system>2;
|
||||
```
|
||||
|
||||
@@ -14,7 +14,7 @@ columns:
|
||||
required: false
|
||||
type: text
|
||||
- name: rsr_supported
|
||||
description: Whether this macOS version supports RSRs (|-= 13). Possible values are 'true' or 'false'.
|
||||
description: Whether this macOS version supports RSRs (>= 13). Possible values are 'true' or 'false'.
|
||||
required: false
|
||||
type: text
|
||||
- name: rsr_version
|
||||
|
||||
@@ -4,7 +4,7 @@ examples: |-
|
||||
or longer.
|
||||
|
||||
```
|
||||
SELECT 1 FROM (SELECT cast(lengthtxt as integer(2)) minlength FROM (SELECT SUBSTRING(length, 1, 2) AS lengthtxt FROM (SELECT policy_description, policy_identifier, split(policy_content, '{', 1) AS length FROM password_policy WHERE policy_identifier LIKE '%minLength')) WHERE minlength |-= 10);
|
||||
SELECT 1 FROM (SELECT cast(lengthtxt as integer(2)) minlength FROM (SELECT SUBSTRING(length, 1, 2) AS lengthtxt FROM (SELECT policy_description, policy_identifier, split(policy_content, '{', 1) AS length FROM password_policy WHERE policy_identifier LIKE '%minLength')) WHERE minlength >= 10);
|
||||
```
|
||||
columns:
|
||||
- name: policy_description
|
||||
|
||||
@@ -3,5 +3,5 @@ examples: |-
|
||||
Identify systems with CPU temperature sensors above or equal to 90c.
|
||||
|
||||
```
|
||||
SELECT name, celsius FROM temperature_sensors WHERE name LIKE 'CPU%' AND celsius|-='90';
|
||||
SELECT name, celsius FROM temperature_sensors WHERE name LIKE 'CPU%' AND celsius >='90';
|
||||
```
|
||||
|
||||
@@ -5,5 +5,5 @@ examples: |-
|
||||
patched as frequently as they should be.
|
||||
|
||||
```
|
||||
SELECT days FROM uptime WHERE days|-='31'
|
||||
SELECT days FROM uptime WHERE days >='31'
|
||||
```
|
||||
|
||||
@@ -4,5 +4,5 @@ examples: |-
|
||||
benefit from more RAM.
|
||||
|
||||
```
|
||||
SELECT * FROM virtual_memory_info WHERE swap_ins|-'0';
|
||||
SELECT * FROM virtual_memory_info WHERE swap_ins>'0';
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user