Tag

Duplicate Records

1 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Oct 17, 2023 · Databases

SQL Techniques: Finding Duplicate Records, TRUNCATE vs DELETE, Primary vs Candidate Keys, Second Highest Salary, and Common Interview Queries

This article explains how to locate duplicate rows in a table, contrasts TRUNCATE and DELETE commands, clarifies the difference between primary and candidate keys, demonstrates queries for retrieving the second highest salary, and provides a collection of typical SQL interview questions with sample code.

Duplicate RecordsInterview QuestionsSQL
0 likes · 9 min read
SQL Techniques: Finding Duplicate Records, TRUNCATE vs DELETE, Primary vs Candidate Keys, Second Highest Salary, and Common Interview Queries
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 23, 2023 · Databases

Deleting Duplicate Records in MySQL with DELETE JOIN and Subqueries

This article explains how to identify and remove duplicate rows in a MySQL table—keeping a single record per duplicate group—by using a self‑join DELETE statement or a nested subquery approach, complete with sample table creation and data insertion scripts.

DELETE JOINDuplicate RecordsMySQL
0 likes · 6 min read
Deleting Duplicate Records in MySQL with DELETE JOIN and Subqueries