JIYIK CN >

Current Location:Home > Learning >

All

Optimizing tables and databases in MySQL

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

This tutorial is an exhaustive guide on how to optimize tables and databases in MySQL. We will be using two operating systems, Windows and Linux (Ubuntu 20.04). It also introduces the importance of optimization in MySQL. When and Why to Opt...

Full

Counting rows in a table in MySQL

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

This article will show you how to retrieve the number of records in a MySQL table. We will also show you how to apply conditions to count the rows that meet a certain criteria. Count all rows in a MySQL table To retrieve the count of record...

Full

Deleting multiple tables in MySQL

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

This article aims to understand how to delete multiple tables in MySQL. Most businesses and organizations that use MySQL to visualize and analyze data have multiple tables to work with. Sometimes, these tables become redundant. In such case...

Full

Inserting form data into MySQL table using PHP

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

This article will show you how to send data from an HTML form to a table in a database. To do this, we will use the following steps: First, we'll create a basic HTML form to collect data. We will then use POST the method to send the data fr...

Full

Finding error logs in MySQL

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

In this article, we will learn how to find error logs in MySQL database. Businesses and organizations must have access to error files in MySQL as it helps them to evolve and strengthen their database management system through efficient quer...

Full

Check if string contains certain data in MySQL

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

In this article, we aim to explore different ways to check the strings contained in a MySQL table. We will introduce the following technologies in MySQL. INSTR function LOCATE function LIKE Operators Before we get started, however, we creat...

Full

Get column names in MySQL

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

In this article, we aim to explore how to get the column names of a specific table in MySQL database. Often, when working with data in MySQL, we tend to forget the column names of a particular table in the database and the data types of dif...

Full

Copying a table in MySQL

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

The purpose of this article is to explore different ways to create a copy of a table in MySQL. The source table is also called the table to be copied, and the target table is called the clone table, which can be from the same or a different...

Full

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

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

Scan to Read All Tech Tutorials

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

Hottest

Tags

Scan the Code
Easier Access Tutorial