新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
mysql去重查詢表中數(shù)據(jù)
1、distinct
成都創(chuàng)新互聯(lián)公司2013年開創(chuàng)至今,是專業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項(xiàng)目網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì)網(wǎng)站策劃,項(xiàng)目實(shí)施與項(xiàng)目整合能力。我們以讓每一個(gè)夢想脫穎而出為使命,1280元白銀做網(wǎng)站,已為上家服務(wù),為白銀各地企業(yè)和個(gè)人服務(wù),聯(lián)系電話:18980820575
select count(distinct CName) from teble
select count(CName) from (select distinct CName from Course) as temp
SELECT DISTINCT text_zhcn FROM dms_menuconfig -- 去重查詢表中數(shù)據(jù)
select DISTINCT(user_id) from user_info where children_merchant_id='kuaiditong';
2、group by
select count(1) from Course group by CName
文檔:MySQL去重查詢表中數(shù)據(jù).note
鏈接:http://note.youdao.com/noteshare?id=581440d92396bab4de6568d1a69baa58&sub=9B8DAB091CC5490BA5F8FA29557CCD67
分享名稱:mysql去重查詢表中數(shù)據(jù)
分享路徑:http://www.ef60e0e.cn/article/pdgeeh.html