{"id":27219944,"url":"https://github.com/ayvero/sql_videoclub_queries","last_synced_at":"2025-04-10T06:50:05.533Z","repository":{"id":286895774,"uuid":"962911649","full_name":"Ayvero/sql_videoclub_queries","owner":"Ayvero","description":"\"A PostgreSQL database project simulating a film rental system, including schema design, data population, and complex SQL queries for educational and analytical purposes","archived":false,"fork":false,"pushed_at":"2025-04-08T21:39:42.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T22:29:15.825Z","etag":null,"topics":["bbdd","postgresql","queries","sql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ayvero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-08T21:36:15.000Z","updated_at":"2025-04-08T21:41:04.000Z","dependencies_parsed_at":"2025-04-08T22:39:25.066Z","dependency_job_id":null,"html_url":"https://github.com/Ayvero/sql_videoclub_queries","commit_stats":null,"previous_names":["ayvero/sql_videoclub_queries"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayvero%2Fsql_videoclub_queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayvero%2Fsql_videoclub_queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayvero%2Fsql_videoclub_queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayvero%2Fsql_videoclub_queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ayvero","download_url":"https://codeload.github.com/Ayvero/sql_videoclub_queries/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173852,"owners_count":21059595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bbdd","postgresql","queries","sql"],"created_at":"2025-04-10T06:50:03.810Z","updated_at":"2025-04-10T06:50:05.525Z","avatar_url":"https://github.com/Ayvero.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Base de Datos - Videoclub 🎬\n\nEste proyecto simula un sistema de videoclub utilizando PostgreSQL. Incluye la definición del esquema, inserción de datos representativos y una colección de consultas SQL que abordan aspectos operativos, estadísticos , restricciones de negocio y vistas.\n\n## 📁 Estructura del proyecto\n\n- `bbdd_peliculas.sql`: Script de creación de las tablas.\n- `insert_data.sql`: Inserción de datos mínimos para poder ejecutar las consultas.\n- `peliculas_queries.sql`: Conjunto de consultas SQL clasificadas y comentadas.\n- `peliculas_view.sql`: Vistas creadas sobre la base de datos para simplificar consultas o abstraer lógica.\n- `unc_esq_peliculas.png`: esquema grafico de las tablas integrantes de la base de datos.\n- `README.md`: Descripción del proyecto (este archivo).\n\n## 🔍 ¿Qué contiene?\n\n- Creación de tablas con claves primarias y foráneas.\n- Inserción de datos mínimos representativos.\n- Consultas SQL simples y avanzadas, incluyendo:\n  - Selecciones y filtros.\n  - Agregaciones y agrupamientos.\n  - Subconsultas y funciones de fecha.\n  - Restricciones de negocio simuladas con código comentado.\n\n## 🎯 Objetivo\n\nEl objetivo de este proyecto es demostrar habilidades en el diseño, manejo y consulta de bases de datos relacionales, con énfasis en la lógica de negocio expresada a través de SQL.\n\n## 💡 Tecnologías utilizadas\n\n- PostgreSQL\n- DataGrip (opcional, para gestión visual)\n- SQL estándar\n\n## 📚 Uso educativo\n\nEste proyecto fue desarrollado en el marco de una asignatura universitaria. Su estructura y estilo lo hacen ideal para quienes están aprendiendo SQL de forma aplicada.\n\n---\n\n# Film Rental Database 🎬\n\nThis project simulates a video rental system using PostgreSQL. It includes the schema definition, representative data inserts, and a collection of SQL queries that cover operational aspects, statistics,  business logic constraints and views.\n\n## 📁 Project structure\n\n- `bbdd_peliculas.sql`: Script for creating the database tables.  \n- `insert_data.sql`: Minimal data insertion to allow query execution.  \n- `peliculas_queries.sql`: Set of categorized and commented SQL queries.  \n- `peliculas_view.sql`: Views created over the database to simplify queries or abstract logic.  \n- `unc_esq_peliculas.png`: Graphic schema of the database tables.  \n- `README.md`: Project description (this file).\n\n\n## 🔍 What's included?\n\n- Table creation with primary and foreign keys.\n- Insertion of minimal and representative data.\n- Simple and advanced SQL queries, including:\n  - Selections and filters.\n  - Aggregations and groupings.\n  - Subqueries and date functions.\n  - Business rules expressed via commented assertions.\n\n## 🎯 Goal\n\nThe goal of this project is to demonstrate skills in relational database design, data handling, and SQL-based business logic expression.\n\n## 💡 Technologies used\n\n- PostgreSQL\n- DataGrip (optional, for visual management)\n- Standard SQL\n\n## 📚 Educational purpose\n\nThis project was developed as part of a university course. Its structure and style make it a great learning tool for those studying SQL in a practical context.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayvero%2Fsql_videoclub_queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayvero%2Fsql_videoclub_queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayvero%2Fsql_videoclub_queries/lists"}