diff --git a/frontend/src/components/queryEditor/QueryEditorHelpers.ts b/frontend/src/components/queryEditor/QueryEditorHelpers.ts index 2c88c137..ee0bc6e9 100644 --- a/frontend/src/components/queryEditor/QueryEditorHelpers.ts +++ b/frontend/src/components/queryEditor/QueryEditorHelpers.ts @@ -897,7 +897,6 @@ export const buildCompletionSynonymsMetadataQuerySpecs = (dialect: string): Meta FROM ALL_SYNONYMS WHERE DB_LINK IS NULL AND TABLE_NAME IS NOT NULL - AND (OWNER = USER OR OWNER = 'PUBLIC') ORDER BY CASE WHEN OWNER = USER THEN 0 WHEN OWNER = 'PUBLIC' THEN 1 ELSE 2 END, SYNONYM_NAME`, }]; };