select count(*) from document_record where coddoc=152
1146
Table 'bd464_1.document_record' doesn't exist