Click here to Skip to main content
15,889,403 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have One Table Like This

Id Bill_No Item_Name Article_no Category Price Supplier_name Date
1 as001 Jeans 600 Levice 1000 Manu 24/12/2011
2. as001 Jeans 600 Levice 1000 Manu 24/12/2011
3 as001 Shirt 600 Levice 400 Manu 24/12/2011
4 as002 Jeans 600 Levice 1000 Rakesh 25/12/2011
5 as002 Jeans 400 Lux 1200 Rakesh 25/12/2011

I want To Retrieve Table Like This :

Bill_no Supplier_Name Date
as001 Manu 24/12/2011
as002 Rakesh 25/12/2011

How To Do It Help Me
Posted
Updated 24-May-19 9:54am
v2

1 solution

select distinct id, name from tablename


this may help you...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900