The NRA had a law passed that there could be no national nor electronic databases of gun ownership, transfer, etc. Instead there are many piles of paper at different gun shops and a few centralized collection sites. Unless you are a police department investigating a crime, you probably can't tell.
https://giffords.org/lawcenter/gun-laws/policy-areas/gun-sales/maintaining-records/