I'm in learning and testing phase of loading Retrosheet event files into Access.
Looking for SQL code which will tell me how many times each value occurs in a specified field. For example, daynight field has value either 'day' or 'night' - I want the query to return how many times the value was 'day' and how many times was 'night'.
(Day and night used for simple example, mostly will be used for how many singles, doubles, triples, homeruns based on value of hitcode)
Looking for SQL code which will tell me how many times each value occurs in a specified field. For example, daynight field has value either 'day' or 'night' - I want the query to return how many times the value was 'day' and how many times was 'night'.
(Day and night used for simple example, mostly will be used for how many singles, doubles, triples, homeruns based on value of hitcode)
Comment