Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   How will get distinct records in SQL table? (http://siteownersforums.com/showthread.php?t=137649)

alligatortek001 12-25-2013 12:32 AM

How will get distinct records in SQL table?
 
For examble:

In a table name like

1.Test
2.Test.
3.Test..
4.Test...

How will get the name "Test" using distinct keyword?

vpalukuru9 03-17-2014 04:43 AM

Code:

select distinct column_name from table_name


All times are GMT -7. The time now is 07:31 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.