Write a SQL query using different types of joins (Inner, Left, Right) to retrieve test data across multiple relational tables.
Use the provided test-management tables and return related suite, case, execution, and environment information. Preserve environments even when no matching test case exists, and preserve test cases when no execution exists.
Output
- One row per test execution, test case without an execution, or environment without a test case.
- Columns:
environment_name, suite_name, test_case_id, test_case_name, run_id, status, and executed_at.
- Order by environment, test case, and run, placing missing identifiers last.