FAILED: Parse Error: line 3:49 mismatched input 'LIMIT' expecting FROM near ')' in from clause