SELECT * FROM system.parts WHERE active = 1 AND database != 'system' ORDER BY database, table, partition, min_block_number