Table 'web.r' doesn't exist select count(1) from r where status = 1