There is a database. The college will be able to find out all other colleges attended, even if the two classes were at two different schools. Lying on a college application is an automatic deny (or rescind or expulsion or revocation of degree of caught later) and not worth the risk.