r/learnSQL • • Jul 01 '26

Postgresql and general organisation help.

Hi I'm a bit confused with how to organise multiple projects in postgres.

I have 2 main databases I'm using one a database for my gardening and another for a football group and league that I run. I also do courses and stuff so have a lot of learning tables.

But I cannot find how to organise these, how people separate it what good practices for naming and layouts I should use.

I just seem to be adding more tables.

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/Massive_Show2963 Jul 02 '26
  • There are generally five categories of SQL commands.

    • Data Definition Language (DDL)

      • Creates, Alters, and Deletes Database Objects
    • Data Manipulation Language (DML)

      • Adding , Deleting and Modifying Data
    • Data Control Language (DCL)

      • Control Access to Data Stored in a Database
    • Data Query Language (DQL)

      • Performing Queries on the Data
    • Transaction Control Language (TCL)

      • Manages Transactions

This tutorial I've created gives a summary of these commands:
Summary Of SQL Commands

This tutorial shows how to use pgAdmin to do some of the manipulation you are referring to:
Introduction to pgAdmin