You have just joined GlobeFreight Logistics as a junior data analyst. The previous DBA left no documentation. You have been handed database credentials and told to map the entire schema and produce a data dictionary before the team meeting tomorrow.
Host: 127.0.0.1:3306
User: root (already connected)
Target DB: logistics_db
SHOW DATABASES to see what existsUSE logistics_db to select itSHOW TABLES to list all tablesDESCRIBE <table> on each tableinformation_schema for column metadataSHOW DATABASES;USE logistics_db;SHOW TABLES;DESCRIBE shipments;DESC customers;SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'logistics_db';SELECT TABLE_NAME, TABLE_ROWS FROM information_schema.TABLES WHERE TABLE_SCHEMA='logistics_db';The Schema Viewer window updates automatically as you explore. Use the Data Dictionary notepad to record column names, types, and what each table represents.