Learned Cardinality Estimation: An In-depth Study