I have table_a. This table contains columns are, Col1,col2,col3,col4,co5,col6,col7.
I need to delete duplicate records of col1 to col5.
I mean,
I'd. Col1 col2 col3 col4 col5
------- ---- ---- ---- ---- ----
1. A. B. C. D. E
2. B. D. R. Y. U
3. A. B. C. D. E
4. A. B. C. D. E
5. W. E. R. T. Y
6. W. E. R. T. Y
I want result id is only 1,2,5
Anybody know to design the MySQL query please paste the solution here.