Complete the code to recover a dropped table named 'sales_data'.
UNDROP TABLE [1];The UNDROP TABLE command recovers the dropped table by its exact name.
Complete the code to recover a dropped schema named 'analytics'.
UNDROP [1] analytics;The UNDROP SCHEMA command recovers a dropped schema by name.
Fix the error in the code to recover a dropped database named 'sales_db'.
UNDROP DATABASE [1];The database name should be specified exactly without quotes or special characters.
Fill both blanks to recover a dropped table named 'orders' in schema 'public'.
UNDROP TABLE [1].[2];
The syntax requires schema name first, then table name separated by a dot.
Fill all three blanks to recover a dropped view named 'monthly_report' in schema 'finance' of database 'corp_db'.
UNDROP VIEW [1].[2].[3];
The full object name includes database, schema, and view separated by dots.