Skip to content

victorscardozo/uvv_bd1_cc1mb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Design and Development of Databases

  • Summary

To make this project, I implemented a database for a network of UVV stores using PostgreSQL. The database includes tables such as products, stores, inventory, customers, orders, shipments, and others. The data insertion into the database has not been performed yet, but data will be provided to fill the tables. (The whole project was made in Linux operating system)

  • Logical Design

Construction of the logical design of the Stores Database using the SQL Power Architect application in Linux.

  • Conversion to Code

The transformation of these tables into SQL code was performed using the SQL Power Architect application, and the resulting code could be implemented in POSTGRESQL. You can find the code >> Here <<

  • Commands

Several commands were added for the creation of the user, database, and schema. Some commands were also included to adjust the search path and switch the current connection (postgres) to the user victor using a password.

  • Opening the File

The above command, used in the Linux terminal, opens the file containing the code (named cc1mb_202305893_postgresql.sql), using the postgres user (wich is going to be swicthed to user "victor")

*After that, the code was tested in the terminal and ran correctly, showing all the tables, inside the correct schema, with the correct user.

About

(SQL) Implementation of a database for a network of stores using PostgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published