mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
12 lines
796 B
MySQL
12 lines
796 B
MySQL
|
SELECT count() > 0 FROM system.settings WHERE tier = 'Production';
|
||
|
SELECT count() > 0 FROM system.settings WHERE tier = 'Beta';
|
||
|
SELECT count() > 0 FROM system.settings WHERE tier = 'Experimental';
|
||
|
SELECT count() > 0 FROM system.settings WHERE tier = 'Obsolete';
|
||
|
SELECT count() == countIf(tier IN ['Production', 'Beta', 'Experimental', 'Obsolete']) FROM system.settings;
|
||
|
|
||
|
SELECT count() > 0 FROM system.merge_tree_settings WHERE tier = 'Production';
|
||
|
SELECT count() > 0 FROM system.merge_tree_settings WHERE tier = 'Beta';
|
||
|
SELECT count() > 0 FROM system.merge_tree_settings WHERE tier = 'Experimental';
|
||
|
SELECT count() > 0 FROM system.merge_tree_settings WHERE tier = 'Obsolete';
|
||
|
SELECT count() == countIf(tier IN ['Production', 'Beta', 'Experimental', 'Obsolete']) FROM system.merge_tree_settings;
|