Click here to Skip to main content
15,906,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
col1 col2 col3 col4 col5
enrolid candidatename applicationstatus coursecode coursetype
001 abc enrolled 001 fulltime
001 abc applicationwithdrwan 001 fulltime
002 bbc enrolled 003 partime
003 cde enrolled 004 fulltime



How can i remove or filter it further to see only one name for each one not multiple
Posted
Updated 20-Aug-14 1:50am
v2
Comments
[no name] 20-Aug-14 7:51am    
DISTINCT
1arch1 20-Aug-14 7:55am    
I Have used distinct already but information varies on each entry for the same cadidate and same enrolid.

1 solution

You have to use the Normalization in your SQL query. Split your table based on the Normalization concept.

check the below links.
http://www.dotnet-tricks.com/Tutorial/sqlserver/756N210512-Database-Normalization-Basics.html[^]

http://www.studytonight.com/dbms/database-normalization.php[^]
 
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