Check if a record exist in a specific table of database in MySQL

You can check if a record exist in a specific table of database in MySQL with the code block below: