Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8338

Eliminating duplicate entry

$
0
0

0down votefavorite

 

 

Dear Experts,

 

I have a sample query below:

SELECT sites.siteName, value.siteIP, history.date FROM sites left JOIN history ON sites.siteName = history.siteName

left join value on value.sitename = sites.sitename ORDERBY siteName,date

First part of the output:

enter image description here

How can I remove the duplicates in siteName and siteIP columns but the row # is still from 1 to 10 ?

Pls advice. Thank you very much

 

Steve


Viewing all articles
Browse latest Browse all 8338

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>