friends, I need help in sqlite query for check whether the data is already exist in table, or to check table is empty or not,let's give queries for it.
Thanks in advance.
REFINED QUERY
SELECT COUNT(*) FROM TABLE WHERE ROWNUM=1
SELECT COUNT(*) FROM `tableName`;
if the result is 0 the table is empty ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With