in sqlite how to check the table is empty or not? I need the check the table is empty or not 
 employee table contains columns are id name 

id  name
1   john 
2   hunter
3   smith
4   will
If your table can contain a lot of rows, you can win some time with

SELECT count(*) FROM (select 0 from employee limit 1);