I have set the following Query - "INFORMIX"
SELECT COUNT(1) FROM (SELECT * FROM NOTA_FISCAL_NFE LIMIT 90);
That returns me the following error:
An error occurred when executing the SQL command: SELECT COUNT (1) FROM (SELECT * FROM NOTA_FISCAL_NFE LIMIT 90);
A syntax error has occurred. [SQL State = 42000, Errorcode DB = -201] 1 statement failed.
Execution time: 0.02s
I want to make a count in a table up to a specific value, even if it has more records, I just want to know if it has that specific amount, in example "90".