A detailed introduction of SQL Query