Tag Archives: duplicate

SQL: Finding Duplicate Rows based on Multiple Columns

Locating duplicate rows based on multiple column values with SQL turns out to be a fairly simple exercise. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | View Comments

SQL: Finding all Duplicate Records in a Table

Sometimes it is quite handy to see which records based on a particular key appear more than once in a database. The trick here is that we are focusing on a particular column and deeming that should that particular key appear more than once in the table then we have a duplicate scenario. Continue reading

Posted in Tutorials | Tagged , , , , records, | View Comments

MySQL: Duplicate a Table

Well funnily enough, it’s actually pretty damn simple. The CREATE TABLE IF NOT EXISTS phrase is key here and combining this with a select statement will in fact create a copy of your existing table, taking all the data from your source table and dumping it into your newly created clone table. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | View Comments