sql and xml examples