
Introduction video who explains the content tought in this class
This lecture is about writing and reading from text files in python. Text files are very simple way to store and use data with python. But this is recommended only for simple use cases and simple datastructures as we will see later in the course.
This Lecture is about writing and reading excel files with python using the pandas library. This is a useful way of storing and using data in python. Your system needs to have an excel spreadsheet reader like gnumeric for example and pandas library installed. Installation process is explained as well.
Definition of a Database , classification of the different types of databases and presentation of the most common use cases for databases.
This is a small list and description of the most common databases available on the market today.
This Lecture is about the advantages of Databases compared to other methods showed previously like text files and excel files. The main drawback compared to these other methods is maybe the complexity. But this class is here to make sure you know how to use databases efficiently for your purpose.
How to install PostgreSQL on Debian Linux and start the database. You will also learn how to stop the database and check the status of database ( if it is active or inactive)
How to create and delete postgres Users.
How to create and delete PostgreSQL Databases with concrete example.
How to dump and restore databases in order to transfer databases between different computer systems.
How to create and delete a PostgreSQL table
What are Primary Keys and why do you need primary keys? A concrete example is given.
How to Insert new values inside a PostgreSQL table.
How to Select content from a table.
How to update values in a table.
How to create and drop an Index
How to select distinct values from a table.
How to Order your query search results.
How to group query search results.
Lecture about BETWEEN keyword.
Lecture about JOIN keyword.
Lecture about LIMIT keyword.
Lecture about EXISTS keyword.
What are Foreign Keys? And how do you use one?
How to Grant privileges on a database to a user.
How to count the number of rows satisfying a certain property.
Lecture about the MAX, MIN and AVG keywords.
How to SUM values of a column.
What is an SQL SUBQUERY and an example of how to use one.
This lecture teaches you how to install a Linux Apache Postgresql Php stack to host a website on the cloud. After this lecture you will be able to put your first static website online on the cloud. For database Interaction and configuration you need to check out lecture 35.
In this lecture we learn how to configure the different configuration files ( php.ini, pg_hba.conf ...) to put your website online and make sure the interaction between database and client is working smoothly. We give a small example website with database that let's the user write a link and link name inside our database. We explain the php and html code carefully. First example of a dynamic website on the cloud!
How to connect to a PostgreSQL database from a python script.
How to write changes to a Postgresql Database from a Python script.
How to read data from a Postgresql Database.
How to pass parameters to SQL queries.
Are you ready to master one of the world’s most powerful open‑source databases? This hands‑on course will teach you how to install, configure, and use PostgreSQL for both web development and Python‑based applications. Whether you’re building interactive websites or integrating PostgreSQL into data‑driven software, this course gives you the practical skills to succeed.
You’ll start by learning PostgreSQL fundamentals: installation, essential SQL commands (creating, updating, and managing tables), and an overview of PostgreSQL’s rich data types. From there, you’ll dive into real‑world applications—including how to host a fully functional, interactive website on the cloud using PostgreSQL, PHP, and HTML. We’ll walk step‑by‑step through configuring a Linux web server for PostgreSQL, allowing users to submit inputs to a live database that dynamically updates your site.
Finally, you’ll explore Python and PostgreSQL integration using Psycopg2, enabling you to build more advanced data‑driven projects and automate database operations.
This course is beginner‑friendly yet practical, ideal for developers, aspiring data engineers, and anyone interested in web hosting or database‑driven applications.
Prerequisites: Basic Linux command‑line knowledge and familiarity with Python (and optional PHP basics for the web hosting project).
By the end, you’ll be confident using PostgreSQL for real applications—from small web projects to complex data workflows