Answer: Use count function to check whether record is present in a table or not.
For Example:-
Select count(code_id) from code_details where code_value = 'apt0';
It will return number of record count related to code_value 'apt0'
Asked In: Many Interviews |
Alert Moderator