I have a query that i would like to run using data visualization tool[Tableu] , however when i tried to retrieve records using sql query based on distinct(id) as shown below