The invention discloses a data inquiry statistics method and a data inquiry statistics system. The data inquiry statistics method comprises the following steps of firstly, establishing a data structure chart according to stored data information; secondly, receiving a data inquiry command; thirdly, generating an inquiry statement by selecting a summary mode and other inquiry conditions according to the data inquiry command; and finally, generating an inquiry result in the data structure chart according to the inquiry statement. According to the scheme, different inquiry results obtained by using different inquiry modes are outputted according to different summary modes by selecting the summary modes in the inquiry statement, the shortcoming that a user is required to export data, process the data again and manually count the data when the user is required to inquire the data by using another method which is different from a built-in method of the system is overcome, the data inquiry statistics efficiency is improved, and the data inquiry statistics accuracy is also improved.