Primary keys in Database are essential for many reasons; they maintain entity integrity and help the database work faster when searching or linking data.
Sometimes, the primary keys aren't set for some tables. It's better to create the keys for these tables for better performance and integrity.
The following SQL query list all tables without Primary Key in a specific Database (<database_name>):