ERWIN绝好的数据库建模工具,可以把数据模型导入数据库如sql server foxpro等这里是方法指南更多内容可以去http://erwin.softwarechn.com/_script/showfull.asp?Board=method&Tabname=erwin-visited excellent database modeling tools, data model can import sql server database such as foxpro so here is how the guide can be more content to http://erwin.softwarechn.com/_script/showfull.asp Board = = erwin methodTabname
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000923s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.074735s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000904s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001201s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000968s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003150s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001169s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003835s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.020071s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001194s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 102313 [ RunTime:0.016195s ]