JIYIK CN >

Current Location:Home > Learning >

All

Searching rows for a substring in MySQL

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

In some cases, you must search for a string or substring in a table. For example, you want to know employee how many Gmail users there are in the table. Another example is employee to find all Je the names starting with in the table firstna...

Full

Using MySQL_real_escape_string to process form data

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

This article will teach you how to use mysqli_real_escape_string to process form data. First, we will set up a sample database and a table. Then we will create an HTML form that accepts user input. After that, in PHP, we will explain how to...

Full

Grouping by multiple columns in MySQL

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

In this tutorial, we aim to understand how to use the command with two or more columns GROUP BY . MySQL GROUP BY command is a technique by which we can group records having same values ​​together based on a specific criteria defined for...

Full

MySQL with clause

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

In this tutorial, we will learn about MySQL WITH CONSTRUCTED TE clauses, also known as Common Table Expression (CTE). CTE is used whenever you want to manipulate data with difficult subqueries. We will also learn Common Table Expression how...

Full

MySQL functions

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

This article shows you how to use and create a simple function in MySQL. 函数 What is in MySQL In the MySQL programming language, 函数 a set of statements that executes a set of rows and returns a value. When the function block is calle...

Full

Datepart function alternative in MySQL

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

The SQL datepart function extracts a part of the datetime data type and is used to filter or aggregate table fields in SQL databases. However, it is not directly available in MySQL. Datepart Function alternatives in MySQL datepart There are...

Full

Get the current date and time in MySQL

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

In this article, we will learn about NOW(), CURRENT_TIMESTAMP() (also written as CURRENT_TIMESTAMP), and SYSDATE() to get the current date and time in MySQL. We will also see a comparison between these three functions. Get the current date...

Full

Get the last inserted ID using PHP MySQLi function

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

This article briefly introduces the PHP mysqli() function and demonstrates how to use it to get the last inserted ID from a MySQL database. PHP mysqli() Function It is an extended version of the MySQL driver called mysqli and is typically u...

Full

Changing the connection timeout in MySQL

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

We are learning how to change the connection timeout in MySQL using Linux (Ubuntu 20.04) and Windows operating systems. Changing the connection timeout in MySQL Sometimes you keep losing connection to the MySQL server because the connect_ti...

Full

Replacing characters in a string using Bash

Publish Date:2025/04/21 Author:JIYIK Category:OPERATING SYSTEM

A common operation involving string literals is replacing individual characters or substrings within the string with other characters or substrings. In this article, we will look at several ways to do string replacement using the BASH shell...

Full

Find the current folder name in Bash

Publish Date:2025/04/21 Author:JIYIK Category:OPERATING SYSTEM

Finding a directory is very easy through Bash scripting. But finding the exact directory folder name you are in right now is a bit complicated. This article will introduce three methods to find the folder name from this article directory. I...

Full

Pretty Printing JSON in Shell Script

Publish Date:2025/04/21 Author:JIYIK Category:OPERATING SYSTEM

JSON is a textual method for representing JavaScript object literals and arrays and scalar data. It is relatively easier to read and write, and easier for manageable software to parse and generate. JSON is commonly used to serialize structu...

Full

Getting Timestamp in Bash

Publish Date:2025/04/21 Author:JIYIK Category:OPERATING SYSTEM

This article discusses the date Bash command used to obtain the system date/time and UNIX timestamp. Get Timestamp Using date Command in Bash The Linux terminal uses the date command to print the current date and time. The simplest version...

Full

Running batch scripts using Task Scheduler

Publish Date:2025/04/21 Author:JIYIK Category:OPERATING SYSTEM

This article will show you how to use Task Scheduler to run a batch file. Running batch scripts using Task Scheduler With Task Scheduler, you can automate tasks to run automatically at specific times. It only takes a few steps and you don't...

Full

Scan to Read All Tech Tutorials

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

Hottest

Tags

Scan the Code
Easier Access Tutorial