
下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、在Order創(chuàng)建一新表ecm_order_money(10)unsignedNOTNULL(10)unsignedDEFAULT(10)unsignedDEFAULT(10)unsignedDEFAULT11在Order創(chuàng)建一新表ecm_order_money(10)unsignedNOTNULL(10)unsignedDEFAULT(10)unsignedDEFAULT(10)unsignedDEFAULT11為訂單總價(jià)提 1年-月-31(10)unsignedDEFAULTtype(1)unsignedDEFAULTamountfloat(10,2)unsignedDEFAULT(10)u
2、nsignedDEFAULTus(1)unsignedNOTPRIMARYKEY號(hào)selectcount(*)count fromecm_memberwhereparentidin( uin) selectcount(*)count from(10)unsignedDEFAULTtype(1)unsignedDEFAULTamountfloat(10,2)unsignedDEFAULT(10)unsignedDEFAULTus(1)unsignedNOTPRIMARYKEY號(hào)selectcount(*)count fromecm_memberwhereparentidin( uin) sele
3、ctcount(*)count fromecm_orderwherebuyer_idin(selectuser_idecm_memberwhereparentidinuin) andus=40andand selectcount(*)count from(SELECT*from(SELECT*fromecm_orderbuyer_idin(selectuser_idfromecm_memberwhereparentidinuin)id andorder_amount首筆訂單提成條件 us=40 andBYfinished_timeasc)astgroupbybuyer_id)asfwhere
4、selectcount(*)count fromecm_memberwhereparentiduin) selectcount(*)count fromecm_orderwherebuyer_idin(selectuser_idecm_memberwhereparentidinuin) andus=40andand selectcount(*)count from(SELECT*from(SELECT*fromecm_orderbuyer_idin(selectuser_idfromecm_memberwhereparentidinuin)id andorder_amount首筆訂單提成條件
5、us=40 andBYfinished_timeasc)astgroupbybuyer_id)asfselectcount(*)count fromecm_memberwhereparentiduin) selectcount(*)count fromecm_orderwherebuyer_idin(selectuser_idecm_memberwhereparentidinuin)andus=40andselectcount(*)count fromecm_memberwhereparentiduin) selectcount(*)count fromecm_orderwherebuyer_
6、idin(selectuser_idecm_memberwhereparentidinuin)andus=40andand date_format(from_unixtime(finished_time),%Y-selectcount(*)count from(SELECT*from(SELECT*fromecm_orderbuyer_idin(selectuser_idfromecm_memberwhereparentidinuin)id andorder_amount首筆訂單提成條件 us=40 andBYfinished_timeasc)astgroupbybuyer_id)asfselect*fromecm_member whereparentidinuin)(now()orderby(2015-01-01)andselect * from ecm_orderwherebuyer_idin(selectuser_idfrom w
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 高科技光伏電站組件清洗與安全檢測(cè)合同
- 2025-2030中國特色餐飲行業(yè)市場(chǎng)深度調(diào)研及競(jìng)爭(zhēng)格局與投資前景研究報(bào)告
- DB32/T 4251-2021實(shí)驗(yàn)動(dòng)物飲用水衛(wèi)生要求
- DB32/T 4006.3-2021醫(yī)務(wù)人員個(gè)體防護(hù)裝備選用規(guī)范第3部分:化學(xué)危害防護(hù)
- 2025至2030年中國壓洗車行業(yè)投資前景及策略咨詢研究報(bào)告
- DB32/T 3825-2020創(chuàng)新科技產(chǎn)業(yè)園區(qū)智慧平臺(tái)建設(shè)規(guī)范
- DB32/T 3761.50-2021新型冠狀病毒肺炎疫情防控技術(shù)規(guī)范第50部分:德爾塔等變異株密切接觸者判定
- DB32/T 3761.14-2020新型冠狀病毒肺炎疫情防控技術(shù)規(guī)范第14部分:影劇院
- DB32/T 3649-2019草莓集約化容器育苗技術(shù)規(guī)程
- DB32/T 3580-2019農(nóng)村產(chǎn)權(quán)交易農(nóng)村養(yǎng)殖水面承包經(jīng)營權(quán)交易服務(wù)規(guī)范
- 部編版高中語文必修下冊(cè)文言文翻譯及知識(shí)總結(jié)
- 人教版小學(xué)英語各年級(jí)重點(diǎn)單詞、短語及句型
- 玖玖電玩城消防安全管理制度
- 煙道內(nèi)噴涂施工方案
- 口腔影像學(xué)名詞解釋
- 水電站運(yùn)維管理
- 材料的斷裂(1)
- 被子植物門分科檢索表
- 監(jiān)理預(yù)驗(yàn)收表格(共11頁)
- 中國電信移動(dòng)終端營銷策略
- 百勝餐飲HIC高效能的輔導(dǎo)
評(píng)論
0/150
提交評(píng)論