NRV and NRB

  Statistic of Non Resident Villagers (NRV) Leaving in Bangladesh Outside the Village
SQL Error found in query: SELECT count(*) FROM v_all_nr where l_id= and c_id=1 and status=1 limit 1

Error Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and c_id=1 and status=1 limit 1' at line 1
Number of People Percentage (%) of Total Population