I'm working with over a million records and these records are grouped by a part number. I want to use an sql statement what will check if that part number exists but once it's found to not go through the rest of the records. Count (*) will count all million records even if the part number is already found. How would i use "WHERE EXISTS" or any other functions to accomplish this? thank you.