sql alterations, media