Have you ever got difficulty when handling the duplicate records in a table in MySQL database, where you want to delete the records and pretty leaves one record from each duplicate records? This usually happens in the table who did not have the primary key, so that it can cause to store the duplicate records. [...]
[Read more...]How to Handle Duplicate Records by Deleting and Leaving Only One Record from Each Duplicate Records in MySQL Database
Friday, July 15, 2011 · By 5 Comments
How to Select Distinct And Get the Certain Characters From a Field in MySQL Database
Friday, November 27, 2009 · By 1 Comment
Today I faced an interesting situation while getting the certain characters from a field and wanted to display them by using SELECT DISTINCT statement in MySQL database. Suppose we had thousand records in a table and we wanted to get the certain characters from the first until the certain position counted 6 characters from the [...]
[Read more...]
Recent Comments