Sometimes you may need to prevent duplicate insert while adding rows. Here is how to avoid inserting duplicate records in MySQL.
Author: Sreeram Sreenivasan
How to Update Array in PostgreSQL
Sometimes you may need to update array in PostgreSQL with new data. In this article, we will look at how to change array in PostgreSQL, modify array in PostgreSQL, and merge arrays in PostgreSQL.
How to Get Multiple Counts With Single Query in MySQL
Sometimes you may need to select multiple count in one query or get multiple counts for different criteria. Here is how to get multiple counts with single query in MySQL.
How to Convert datetime to UTC in MySQL
Sometimes you may need to set timezone to UTC or change timezone to UTC. Here is how to convert datetime to UTC in MySQL
How to Insert into Array in PostgreSQL
PostgreSQL allows you to select into array, append to array and insert array of objects. Here is how to insert into array in PostgreSQL.
How to Convert UTC to Local Time in MySQL
Sometimes you may need to change UTC to local time in MySQL. Here is how to convert UTC to local time in MySQL.
How to Create Array in PostgreSQL
PostgreSQL allows you to store array or create arrays with range. Here is how to create array in PostgreSQL.
How to Get Current Date and Time in MySQL
Sometimes you may need to get date from datetime, or get current datetime. Here is how to get current date and time in MySQL.
How to Convert String Case in PostgreSQL
Sometimes you may need to convert lowercase to uppercase or uppercase to lowercase. Here is how to convert case of string in PostgreSQL