Sample Header Ad - 728x90

SQL how to remove duplicate results from same table

1 vote
1 answer
136 views
I created an sql table on visual studio for visual basic, where i can put dynamic data every time i click on a button. I get the table results from textboxes and one datagridview with values(quantity,price,discount). I use the "command insert values into" inside a for loop to be able to get all the datagridview results. The problem is that the table has rows with duplicate values. I want to remove the duplicate values and keep only the values from datagridview e.g I have a table with the following format: enter image description here
Asked by Paulos Xampos (15 rep)
Jan 2, 2019, 12:10 PM
Last activity: Jan 2, 2019, 12:20 PM