The reason why you can not use SQL statements directly in CRM online is because, you don't have access to the database directly, if its on-premise then you have access to sql database and can use sql statements
↧