Hi All
I have the following View / Query
CREATE VIEW "Top3Results" AS SELECT TOP 3 "T" ."CalcTime" ,"T" ."Reason" ,(SELECT COUNT (*)FROM "GBO5DSLNoMeals" "T1" WHERE "T1" ."CalcTime" > "T" ."CalcTime" )"NUMBER" FROM "GBO5DSLNoMeals" "T"
This works great, but i want the CalcTime displayed in descending order, so at the end of the query i added
ORDER BY "T" ."CalcTime" DESC
When i add this i get an error on the order ORDER<<<?>>>, am i doing something silly on the Order By?
Regards
Djbell
I have the following View / Query
CREATE VIEW "Top3Results" AS SELECT TOP 3 "T" ."CalcTime" ,"T" ."Reason" ,(SELECT COUNT (*)FROM "GBO5DSLNoMeals" "T1" WHERE "T1" ."CalcTime" > "T" ."CalcTime" )"NUMBER" FROM "GBO5DSLNoMeals" "T"
This works great, but i want the CalcTime displayed in descending order, so at the end of the query i added
ORDER BY "T" ."CalcTime" DESC
When i add this i get an error on the order ORDER<<<?>>>, am i doing something silly on the Order By?
Regards
Djbell