PostgreSQL CASE Multiple Columns

PostgreSQL CASE Multiple Columns Simple CASE

In this PostgreSQL tutorial, we will learn about PostgreSQL CASE Multiple Columns with different examples such as using the simple and searched CASE. What are PostgreSQL CASE Multiple Columns? Similar to IF-THEN-ELSE statements in other programming languages, the CASE statement in PostgreSQL expresses a condition. It allows us to conditional login in SQL queries, which … Read more >>

PostgreSQL Insert Into Table Select * From Another Table

PostgreSQL Insert into Table Select from Another Table

In this PostgreSQL tutorial, we will know how PostgreSQL Insert Into Table Select * From Another Table with syntax and examples. PostgreSQL Insert Into Table Select * From Another Table Consider a situation where you need to insert the data from one table to another table, “What will you do?”. You will use the statement … Read more >>

PostgreSQL Date Part Hour

PostgreSQL Date Part Hour with CURRENT_TIMESTAMP

In this PostgreSQL tutorial, we will discuss PostgreSQL Date Part Hour to get the hour value from the timestamp. Here we will use the function date_part() to extract the hour component with different examples such as from the current timestamp, interval, and table. What is PostgreSQL Date Part Hour The date_part() function in PostgreSQL returns … Read more >>

PostgreSQL installation on Linux step by step

PostgreSQL Installation on Linux Install PostgreSQL

In this PostgreSQL tutorial, we will learn about “PostgreSQL Installation on Linux” with how to solve the error when installing PostgreSQL. Additionally, we will delve into the steps to create a new user, and database, and grant privileges within PostgreSQL. Step 1: Update the System Packages Before installing any new software, it’s essential to update … Read more >>

How to create database using MySQL

MySQL Workbench database schema

In this MySQL database tutorial, we will learn how to create a database using MySQL. With the help of a database, we can store our data and files in an organized manner and when required we can manage and access those database files easily. There are two methods to create a database in MySQL, the … Read more >>

How to create a new User in MySQL

MySQL Workbench Add User

In this MySQL Database tutorial, we will discuss creating a new User in MySQL. We will learn to add users through MySQL Workbench and MySQL command line client. In MySQL we have a root user through which we access our database but many times while working on any project we need to give access to … Read more >>

Different Datatypes in MySQL

mysql Datatypes

Datatype in MySQL is nothing different than the datatype we study in other languages like Python and Javascript which have datatypes like float, integer, boolean, etc. In this tutorial on MySQL datatypes, we will learn about different datatypes of MySQL like numeric, date and time, string types, spatial types, and JSON data types. Datatypes in MySQL … Read more >>

How to Install MySQL on Windows

MySQL Windows Installation Setup

In this MySQL database tutorial, we will learn how to install MySQL in Windows. MySQL is an open-source Relational Database Management System (RDBMS). It is the most popular and widely used database management system. It has become the go-to choice for millions of developers around the world. Prerequisites to Install MySQL on Windows Before we dive into … Read more >>

MariaDB ERROR 1064

MariaDB ERROR 1064

MariaDB is a powerful open-source relational database management system that is widely used in various applications. It is known for its stability, performance, and scalability, making it an ideal choice for data storage, management, and retrieval. However, as with any complex software, there can be issues that arise when working with MariaDB. One common issue … Read more >>

MariaDB See If Table Exists

MariaDB see if table exist

In MariaDB, the SHOW TABLES and SHOW TABLE STATUS statements are used to retrieve information about the tables in a database. The SHOW TABLES statement lists the names of the tables in a database, while the SHOW TABLE STATUS statement returns detailed information about the tables, such as the engine, row format, and data size. … Read more >>