I have large SQL query with nested select and inner join.
"SELECT @From_Date As From_Date, @To_Date As To_Date, cd_4.userfield, COUN