Hi
I have data like below I want distinct values only of fields (Emp_1,Emp_2,Emp_3,Emp_4) i.e E01,E02,E03,E04
using Sql Query
Customer Emp_1 Emp_2 Emp_3 Emp_4
001 E01 E02
002 E03 E04 E02
Thanks
Answers (1)
Hi
I have data like below I want distinct values only of fields (Emp_1,Emp_2,Emp_3,Emp_4) i.e E01,E02,E03,E04
using Sql Query
Customer Emp_1 Emp_2 Emp_3 Emp_4
001 E01 E02
002 E03 E04 E02
Thanks
Answers (1)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sophia CarterPosted Apr 4, 2025, 9:58 AM
Hi! To obtain distinct values for fields Emp_1, Emp_2, Emp_3, and Emp_4 from your data, you can use the SQL query with the DISTINCT keyword. Here's how you can achieve this:
By running these queries, you will retrieve unique values for each of the specified fields from your dataset. This approach ensures that you only get distinct values for each column individually.
If you run these queries against your data, you will get the unique values E01, E02, E03, and E04 for each respective field. Let me know if you need further assistance or clarification on this!