数据库设计

像京东商城这样的数据库,该如何设计,没有思路,当然是没他那么多数据啊!给点思路啊!

作者: china_cctv 发布时间: 10-22

数据库设计

像京东商城这样的数据库,该如何设计,没有思路,当然是没他那么多数据啊!给点思路啊!

作者: china_cctv 发布时间: 10-22

mysql关联查询语句如何写?

数据库:mysql表A字段:idbides(存储值为1,2,3,4,5,6...)表B字段:idname现在只知道A表中的ID值,请问如何循环列出A表该ID值对应的B表集合!也就是说给一个A表ID,然后列出B表中的内容(B表内容为:A表bides字段中的值)?????

作者: xyflash3 发布时间: 10-21

mysql语句正常,却在linux下读不出数据

SELECTid,title,CASEflagwhen"top"then"<fontcolor=red>头条</font>"when"hot"then"<fontcolor=green>热点</font>"else""endasflag,Date_Format(regdate,"%Y/%m/%d")asregda

作者: cnlive 发布时间: 10-21

大神,帮我找找错吧~!!!mysql的储存过程

DELIMITER// createprocedurechk_tot(inc_numint)begindeclaretot_orddouble;declaremsg_textvarchar(45);selectsum(amount)intotot_ordfromorders wherecust=c_num;iftot_o

作者: tutty 发布时间: 10-21

面试题:谈谈你对mysql的了解.

我一时懵了,不知道怎么谈起。 请大牛们帮忙讲解下。我是做PHP的。

作者: gaozhen1990 发布时间: 10-21

一个存储过程参数连接问题

大家好,我遇到mysql存储过程问题大致如下delimiter//createprocedureinitial(inmacvarchar(3),inflagvarchar(3),inh0h1h2h3vrachar(4))begindeclarenint;declaretempint;declareiint;setn=len(flag)se

作者: qiuxinyidian 发布时间: 10-21

查询优化

现有一张表customer,其中数据有1百万条,现在要对它进行查询遍历,PHPcode$customer=newCustomer();$customers=$customer->getAll();foreach($customersas$c){//...}

作者: test20111016 发布时间: 10-21

sql查询父id下的最后一个子id

SQLcodecompositesingleABBCCDAABB参数为A查出D参数为B查出D参数为AA查出BB。要用标准sql来写,存储过程也行。不知道有什么好的办法。

作者: xiaobadi 发布时间: 10-20

mysql登入时出错ERROR 2003:Can't connect to MySQL server on 'localhost'<10061>

一年前装的mysql,当初localhost还能登入的。现在启动就出现了ERROR2003:Can'tconnecttoMySQLserveron'localhost'<10061>。网上找了很多方法要不看不懂,看懂的也没用。我是winxp系统的。求高人指点啊。当初装mssqlserver的时候装不上,只能寄希望于mysql了。多谢多谢啊。。。

作者: cece0926 发布时间: 10-19