LUCENT GRID
Data Engineering Lab ยท Database Reconnaissance
Initialising MySQL 8.0...
๐Ÿ–ฅ๏ธ
MySQL Terminal
๐Ÿ“Š
Schema Viewer
๐Ÿ“‹
Data Dictionary
๐Ÿ“Œ OBJECTIVES
โ—‹Show all databases
โ—‹Select logistics_db
โ—‹List all tables
โ—‹DESCRIBE each table
โ—‹Query information_schema
โ—‹Document all findings
0 / 6 complete
MYSQL TERMINAL โ€” root@logistics-db
MySQL 8.0.36 โ€” Lucent Grid Data Lab Connected to: logistics_server (127.0.0.1:3306) Type SQL queries below. Commands are case-insensitive. โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
mysql>
SCHEMA VIEWER โ€” logistics_db
Visual overview โ€” updates as you explore the database
DATA DICTIONARY โ€” notes
File  |  Edit  |  View
โ˜ฐ BRIEF
๐Ÿ–ฅ Terminal
๐Ÿ“Š Schema
๐Ÿ“‹ Notes
MISSION BRIEF

MISSION BRIEFING

DATABASE RECONNAISSANCE โ€” GLOBEFREIGHT LOGISTICS

SCENARIO

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.

DATABASE

Host: 127.0.0.1:3306

User: root (already connected)

Target DB: logistics_db

OBJECTIVES

  • Run SHOW DATABASES to see what exists
  • Run USE logistics_db to select it
  • Run SHOW TABLES to list all tables
  • Run DESCRIBE <table> on each table
  • Query information_schema for column metadata
  • Document everything in the Data Dictionary notepad

USEFUL COMMANDS

  • SHOW 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';

TIP

The Schema Viewer window updates automatically as you explore. Use the Data Dictionary notepad to record column names, types, and what each table represents.

Display Mode
LAB COMPLETE
๐Ÿ†
MISSION ACCOMPLISHED
Database Reconnaissance โ€” GlobeFreight Logistics
โšก
+50 XP
EXPERIENCE EARNED
โฌ† LEVEL UP โ€” You reached Level
โ†’ Return to Labs