am
А если записей дохералион :?
Size: a a a
am
YS
🌌[
VF
ALL и LIMIT 1 в конце):(
SELECT "file_last_modified_at"
FROM "hars"
WHERE "status" IN ('parsing_queued', 'parsing_in_progress')
ORDER BY "file_last_modified_at" ASC
LIMIT 1
) UNION ALL (
SELECT "file_last_modified_at"
FROM "hars"
WHERE "status" IN ('parsing_succeeded', 'parsing_failed', 'undefined')
ORDER BY "file_last_modified_at" DESC
LIMIT 1
) LIMIT 1
VF
🌌[
ALL и LIMIT 1 в конце):(
SELECT "file_last_modified_at"
FROM "hars"
WHERE "status" IN ('parsing_queued', 'parsing_in_progress')
ORDER BY "file_last_modified_at" ASC
LIMIT 1
) UNION ALL (
SELECT "file_last_modified_at"
FROM "hars"
WHERE "status" IN ('parsing_succeeded', 'parsing_failed', 'undefined')
ORDER BY "file_last_modified_at" DESC
LIMIT 1
) LIMIT 1
VF
YS
ALL и LIMIT 1 в конце):(
SELECT "file_last_modified_at"
FROM "hars"
WHERE "status" IN ('parsing_queued', 'parsing_in_progress')
ORDER BY "file_last_modified_at" ASC
LIMIT 1
) UNION ALL (
SELECT "file_last_modified_at"
FROM "hars"
WHERE "status" IN ('parsing_succeeded', 'parsing_failed', 'undefined')
ORDER BY "file_last_modified_at" DESC
LIMIT 1
) LIMIT 1
🌌[
VF
🌌[
YS
YS
🌌[
🌌[
VF
A
YS
VF
(SELECT ...) UNION ALL (SELECT ...) ORDER BY (status IN (...)) LIMIT 1🌌[