I have a DE extension where I have saved 1 record by querying:
Select top 1
JobID,
EmailName,
CreatedDate,
JobType,
JobStatus
from _job
Output is saved in data extension: DataView_Job_DE
Now, I am writing another query where I want to get value from DataView_Job_DE in my select statement like this:
SELECT
CustomerID,
CustomerEmail,
'Orange' as FavColor,
(SELECT TOP 1 EmailName FROM ENT.DataView_Job_DE) AS EmailName
FROM Customer_DE
The above query is throwing an error:
An error occurred while checking the query syntax. Errors: Old style JOIN (ANSI JOINs) syntax is not allowed. Please use standard syntax.
How can I resolve this error? Any advise?