JIYIK CN >

Current Location:Home > Learning > DATABASE >

All

Rename columns in MySQL database

Publish Date:2025/04/25 Author:JIYIK Category:MySQL

In this article, we aim to explore different ways to rename columns in MySQL. ALTER TABLE The command is mainly used to change the format of a given MySQL table. It can be used to add columns, change the data type within a column, delete co...

Full

Check if table exists in MySQL

Publish Date:2025/04/25 Author:JIYIK Category:MySQL

This article provides several options to check if a table exists in MySQL. Before discussing it, let us first see what a table is in MySQL and when you need to check its existence. What is a table in MySQL? A table is a database object that...

Full

Different ways to check if a row exists in a MySQL table

Publish Date:2025/04/25 Author:JIYIK Category:MySQL

This article highlights different ways to check if a row exists in a MySQL table. We will use the EXISTS and NOT EXISTS operators. We can also use these two operators with IF() the function to get a meaningful message if a row (a record) is...

Full

Truncate all tables in Mysql

Publish Date:2025/04/25 Author:JIYIK Category:MySQL

Today I will show you how to truncate all tables in Mysql. It is used when you want to delete the entire table TRUNCATE TABLE . TRUNCATE It is a type of DML statement, which means it cannot be rolled back once it is committed. There are two...

Full

Creating a Temporary Table in MySQL

Publish Date:2025/04/25 Author:JIYIK Category:MySQL

In this article, we aim to explore different ways to create temporary tables in MySQL. One of the main features of temporary tables is that it helps in storing temporary data. This feature is enabled in MySQL 3.23 and later versions. These...

Full

Creating a table from CSV in MySQL

Publish Date:2025/04/25 Author:JIYIK Category:MySQL

In this article, we aim to understand how to create a table from CSV in MySQL database. Businesses and organizations must quickly generate tables from large amounts of data. These organizations typically have large CSV files with large amou...

Full

How to select from multiple tables in MySQL

Publish Date:2025/04/25 Author:JIYIK Category:MySQL

This article explains how to use MySQL to query from multiple tables in one script SELECT . Let's demonstrate a situation: SELECT name , price, details, type , FROM food, food_order WHERE breakfast.id = 'breakfast_id' Now, let's imagine FRO...

Full

Backing up a MySQL database in Windows

Publish Date:2025/04/24 Author:JIYIK Category:MySQL

Backing up a MySQL database in Windows

This quick tutorial will discuss backing up a MySQL database and saving it in a file as a script. When working with a database, it is recommended to back up the database regularly. This is because some problematic situations may arise durin...

Full

Where and Having in MySQL

Publish Date:2025/04/24 Author:JIYIK Category:MySQL

Today, we will understand the difference between the WHERE and clauses in MySQL . We will understand these clauses individually with code examples and compare them in a tabular form to highlight the differences. HAVING In WHERE MySQL HAVING...

Full

Creating table aliases using MySQL VIEW and MERGE

Publish Date:2025/04/24 Author:JIYIK Category:MySQL

This article teaches you how to use MySQL VIEW and MERGE create table aliases. In both cases, changes in the original table are reflected in the alias table. Also, SELECT query results on the alias table and the original table will be the s...

Full

Checking MySQL version in macOS

Publish Date:2025/04/24 Author:JIYIK Category:MySQL

In this article, we aim to explore how to check the current version of MySQL on macOS. Checking MySQL version in macOS When trying to figure out the version, you must follow these steps. Each time a person logs into the MySQL server, the ve...

Full

Update multiple tables in MySQL with one query

Publish Date:2025/04/24 Author:JIYIK Category:MySQL

In some cases, users want to update logically related tables at the same time. These logically related tables are linked to each other through some attributes. Advantages of updating multiple tables in one MySQL query Similar attributes in...

Full

Enabling the slow query log in MySQL

Publish Date:2025/04/24 Author:JIYIK Category:MySQL

Today, we will enable MySQL in MySQL using MySQL shell on Windows and Ubuntu 20.04 slow_query_log . For this tutorial, we are using MySQL version 8.0 and Ubuntu 20.04. MySQL slow_query_log MySQL slow_query_log contains SQL statements that t...

Full

Grouping by month in MySQL

Publish Date:2025/04/24 Author:JIYIK Category:MySQL

In this article, we will learn how to group values ​​by month in MySQL database. Businesses and organizations have to find user or customer data based on purchase or usage trends over a few months. If a particular business achieves its...

Full

Full Join in MySQL

Publish Date:2025/04/24 Author:JIYIK Category:MySQL

This article aims to explore how to perform a full join or full outer join in MySQL. Full outer join is used to merge or combine the entire data from two separate tables. For example, suppose we have two tables named student_id and student_...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial