DELETE FROM url_galleries WHERE id='6045480'
DELETE FROM url_gallery_img WHERE galleryid='6045480'
DELETE FROM url WHERE galleryid='6045480'
Gallery removed!