MySQL

MySQL Examples and Tutorials

PHP MySQL Update Data

In this tutorial, we will learn how to delete the data from the MySQL table from the PHP program. It is as simple as inserting data into the table and can be done in a few lines of code. We will see all three methods i.e., update using MySQLi procedural, MySQLi object-oriented and PDO. So, …

PHP MySQL Update Data Read More »

PHP MySQL Prepared Statement

A prepared statement is excelled feature provided by PHP-MySQL to increase the speed and execution of the query. It is one of the best ways to execute a similar query or a statement with high efficiency. However, it seems a little bit tricky for PHP-MySQL beginners. However, it’s quite simple and only requires a couple …

PHP MySQL Prepared Statement Read More »

MySQL Percent_Rank() Function

In this tutorial, we will study Percent_Rank() function in MySQL. This function takes a column name as the argument and returns the number of rows with greater values than the sample value. Without further ado, let’s get started! Introduction to MySQL Percent_Rank() The Percent_Rank() function is one of many useful functions that are available in …

MySQL Percent_Rank() Function Read More »

MySQL Replace – Addon Uses

In this tutorial, we will study REPLACE() function in MySQL to insert and update data in tables. Also read: MySQL REPLACE() – Edit Strings and Replace Values in MySQL Introduction to MySQL REPLACE() In MySQL, Replace statement is used to replace the data in the tables. The process is executed by inserting a new row …

MySQL Replace – Addon Uses Read More »