Enter your email address:

Delivered by FeedBurner


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding/removing duplicate values from database using sql
12-19-2011, 05:47 PM
Post: #1
Tongue Finding/removing duplicate values from database using sql
Today we are going to learn how to exclude/remove the duplicate values from database.This is useful when you want to exclude the duplicate values and show only values that can't be repeated in dropdownbox or whatever use.
There is a nice query out there look below
"select * from tablename group by fieldname having(count(*)>1)"
Here the values same more than once are excluded,any doubt comment us.

Happy coding
Find all posts by this user
Add Thank You Quote this message in a reply
Advertise here or at any positions around our site send a mail to info@walkinsforum.com
Post Reply 


[-]
Share/Bookmark (Show All)
Facebook Linkedin Technorati Twitter Digg MySpace Delicious

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Hsqldb another database how to use it. mjm 0 524 01-03-2012 12:02 AM
Last Post: mjm
  Display data from database in php rajasri 0 404 12-14-2011 11:52 AM
Last Post: rajasri
Tongue Retrieve values between two numbers in mysql rajasri 0 495 12-13-2011 12:09 AM
Last Post: rajasri
Sad Create database and table from jsp page rajasri 0 744 12-12-2011 10:36 PM
Last Post: rajasri
Smile How to backup database of mysql using bat rajasri 0 423 12-12-2011 10:11 PM
Last Post: rajasri

Forum Jump:


User(s) browsing this thread: 1 Guest(s)