The query are now database specific