OSX 10.14.6 - Mojave
Upon using an view for a simple table, I get get the message "The data content could not be loaded / Single value expected in statement [SELECT * FROM "v1T1"]"
Table T1 : Contents of T1 : I want to select the records grouped by ORG and having the latest date in a view:
View v1T1:
Code: Select all
SELECT "ID", "NAME", "VALUE"
FROM "T1"
WHERE "DATE" = (
SELECT MAX("DATE")
FROM "T1"
GROUP BY "ORG"
)
Error :
The data could note be loaded
Error:
SQL Status: 21000
Error code: -17
Single value expected in statement [SELECT * FROM "v1T1"]
Anyone an idea what I am doing wrong ?
Q2 : where does the statement [SELECT * FROM "v1T1"] come from ?
advTHANKSance