Set of DQL Function for MySql