產(chǎn)品經(jīng)理必知必會的SQL
產(chǎn)品經(jīng)理日常工作中,需要了解用戶使用產(chǎn)品的情況日活(DAU)/月活(MAU),了解某個頁面某個按鈕的點(diǎn)擊率、轉(zhuǎn)化率,或者開會需要匯報某些數(shù)據(jù)、指標(biāo),或者需要通過數(shù)據(jù)分析精細(xì)化運(yùn)營方案,等等,這些工作就要求產(chǎn)品經(jīng)理需要快速獲取到產(chǎn)品數(shù)據(jù)。





INSERT?INTO?cc_clnt?(clnt_type,?Area)?VALUES?('online',?'hk')
select enty_seq from cc_clnt where clnt_id='0123456';
UPDATE?cc_login?SET?PWD='123456'?where?enty_seq?=83888;;
4.WHERE 子句
select?enty_seq?from?cc_clnt?where?clnt_id='0123456';
5.AND...OR... 運(yùn)算符
SELECT * FROM Persons WHERE (FirstName='Thomas' OR FirstName='William')AND LastName='Carter'
解釋:在 Persons 表中查找firstname是 Thomas或者William ,且lastname為 Carter 的 值。



點(diǎn)擊“閱讀原文”
查看更多干貨
評論
圖片
表情
