delete redundant data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mkeerthi
    New Member
    • May 2007
    • 1

    delete redundant data

    Hii,
    I want to delete the redundant data in a table..Please help me with this.
  • menocomp
    New Member
    • Apr 2007
    • 5

    #2
    delete from Hotelimages where ImageID not in (
    select MIN(ImageID) as Imageid
    from HotelImages
    group by URL
    having count(*) >=1) as redantantData

    Comment

    Working...