How to display the total count of the last row by filestatus?
问题 I have to display the total count of the last row by filestatus. tbl_bankdata bank_id | b_orderno| b_bankname| lead_id 1 | 01-01 | 1 | 1 2 | 01-02 | 2 | 1 3 | 02-01 | 3 | 2 4 | 03-01 | 1 | 3 tbl_fileStatus f_id | f_bankid| f_filestatus 1 | 1 | 1 2 | 2 | 1 3 | 2 | 2 4 | 1 | 2 5 | 1 | 3 6 | 3 | 2 7 | 3 | 3 I have two tables tbl_bankdata and tbl_fileStatus . I am sending bank_id in the tbl_fileStatus as a f_bank_id . Now I have to show the last f_bankid count. For example, I have to fetch the