this code worked fine in the Oracle live sql but when i put it on the server im getting a SQL command not properly ended was wondering if its because its different oracle versions, the server is in oracle11g
SELECT g.GID, g.Name, COUNT(*) as cnt
FROM VisitN v JOIN
GuestN g
ON v.GID = g.GID
GROUP BY g.GID, g.Name
ORDER BY cnt DESC
FETCH FIRST 1 ROWS ONLY;
thank you