title: How to retrieve distinct items from Firebase database?
body: <p>I'm writing an Android app and I need to retrieve all the distinct values of the field 'brand' from the Firebase Database given below. How do I do that?
  <img src="https://i.stack.imgur.com/r6yMq.png" alt="my firebase database"></p>