https://github.com/fiona1217/celestial-bodies-database
A command-line application that interacts with a PostgreSQL database designed to store and analyze data on galaxies, stars, planets, and moons. The application enables users to retrieve information about various celestial bodies and their characteristics.
https://github.com/fiona1217/celestial-bodies-database
database postgresql
Last synced: 2 months ago
JSON representation
A command-line application that interacts with a PostgreSQL database designed to store and analyze data on galaxies, stars, planets, and moons. The application enables users to retrieve information about various celestial bodies and their characteristics.
- Host: GitHub
- URL: https://github.com/fiona1217/celestial-bodies-database
- Owner: Fiona1217
- Created: 2024-10-24T03:08:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-27T00:24:02.000Z (over 1 year ago)
- Last Synced: 2025-02-09T08:34:51.253Z (over 1 year ago)
- Topics: database, postgresql
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Galaxy Database Project 💫
## Overview
This project involves the creation and management of a PostgreSQL database designed to store and analyze data related to galaxies, planets, moons, stars, and their types. The database features tables for galaxies, planets, moons, and stars, facilitating various queries to derive insights into the universe's structure.
## Key Learnings
### Database Design
Understanding the significance of structuring tables effectively to support efficient data storage and retrieval. The design incorporates foreign keys to establish relationships between galaxies, stars, and planets, ensuring data integrity.
### SQL Queries
Gaining proficiency in SQL by executing various queries to extract valuable statistics. This includes calculating the number of celestial bodies, their characteristics, and relationships using aggregate functions such as COUNT, AVG, and SUM.
### Data Manipulation
Learning how to insert, update, and manage data within the database. This includes truncating tables for fresh data imports and implementing integrity checks to ensure data accuracy.
### Error Handling
Encountering and resolving common SQL errors, such as syntax errors and issues with JOIN statements, which has enhanced problem-solving skills and attention to detail.
### Data Analysis
Utilizing SQL to derive meaningful insights, such as identifying which galaxies contain the most planets or which stars belong to specific types, thus facilitating a deeper understanding of cosmic structures.
### Bash Scripting
Implementing shell scripts to automate database interactions and data management tasks, showcasing how scripting can streamline workflows and enhance efficiency.