Comparative analysis of sandstone content in terrestrial strata is an effective method to determine directions of sources and to reveal sedimentary environments in sequence stratigraphy studies. It is also an important index that is used to delineate sequence stratigraphy and lithofacies in palaeogeography studies. This paper uses an Access database to achieve fast calculation of sandstone radio using massive logging data of sequence stratigraphy. It is proved that the method is a feasible means of scientific computation and can be used in other earth science research.