I'm new to SQL so I don't know if I'm coding this wrong or what, but I haven't been able to create a CTE in SQLyog. Here is a very simplified version of my code:
with CTETest as
Select
client_id
, Client_Name
, relation_type_desc
, count(*) RelationTypeCount
From consumer
Group by relation_type_desc,client_id
Am I doing something wrong, or is this something that can not be done in SQLyog?
Any help would be great!