Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
â ãã¼ã ãï¼ å代ALF (@soudai1025) 2015, 8æ 24 ã¨ãã¼ã¡ã©ã³æãã¦è¦äºã«åºãã£ã¦ãã®ã§ä»ããè¨äºæ¸ãã 両ãµã¤ãã«ã¯ããªãå³ãã話ãããã俺ã®æ¬é³ãè´ãã¦ããï¼é¢ç½å®£è¨ï¼ ã¾ãæ´å²ã®é·ãRDBãªã®ã§ãäºãã®æ¯è¼è¨äºã¯æ²¢å±±ããã ãªã®ã§ãã«ãã¹ã¬ãã(MySQL)ã¨ãã«ãããã»ã¹(PostgreSQL)ã ã¨ãVACUUMã ã£ã¦è©±ã¯ããªãã ãããå®éã«ä½¿ã£ã¦ã¿ãéã®éããã«ãã©ã¼ã«ã¹ããã 1. SQLã®éã åºæ¬çã«MySQLã§ãã£ã¦ãããã¨ã¯PostgreSQLåºæ¥ãã ãããé¢æ°ã®æåã®éãã¯å¹¾ã¤ãããã ä¾ãã°æéããææ¥ã«è©²å½ããæ°åã«å¤æããå ´åã« MySQLãâãdate_format(time,"%w")ã0ããå§ã¾ããæ¥ææ¥ã«è©²å½ãã PostgreSQLãâãto_char(time,'D')ã1ããå§ã¾ããæ¥ææ¥ã«è©²å½ãã ãªã©æåã«äºææ§
A5:SQL Mk-2ã使ã£ã¦ERå³ãæããï¼ï¼ ãã®ãã¼ã¸ã§ã¯ ERå³ã®ç°¡åãªèª¬æ㨠A5:SQL Mk-2 ããERå³ãæãæé ã示ãã¾ãã ERå³ã¨ã¯ ERå³ã¨ã¯ã³ã³ãã¥ã¼ã¿ã·ã¹ãã ãè¨è¨ããã¨ãã«ãç¾å®ç¤¾ä¼ã§ã®ã·ã¹ãã å対象ããã¢ãã«åãããããã«ç¨ããå³ã§ãã ä¸ãããã®ãã¼ã¿ã®éã¾ããã¨ã³ãã£ãã£(Entity)ãã¨ã³ãã£ãã£å士ã®çµã³ã¤ãããªã¬ã¼ã·ã§ã³(Relation)ã¨å¼ãã§å³ã«ãã¾ãããããERå³ï¼Entity-Relation Diagramï¼ã¨å¼ã°ãããããã§ãã ãã¼ã¿ãã¼ã¹è¨è¨ã§ã¯ç¹ã«ãã¨ã³ãã£ãã£ããã¼ãã«ããªã¬ã¼ã·ã§ã³ãåç §æ´åæ§å¶ç´ã¨ãã¦å³ãæããã¨ãå¤ãã§ãããæ¬æ¥ERå³ã¯ç¾å®ç¤¾ä¼ãã¢ãã«åãããã®ã§ãããã¨ãå¿ã«ã¨ãã¦ããã¦ãã ããã ERå³ã®è¨å· ã¨ã³ãã£ãã£ã¨ãªã¬ã¼ã·ã§ã³ ã¨ã³ãã£ãã£ã®è¨å· ã¨ã³ãã£ãã£ã¯ç®±ã®ä¸ã«ãã¼ã¿ã®ååãåæãã¦è¡¨ãã¾ãã
ãçé¢ç®ã«ã¨ããµã¤ããä½ã£ã¦ã¿ããã¨ããã¨ã³ããªã§ç´¹ä»ããã¦ãããã¹ã¯ã¬ã¤ãã³ã°ã«ä½¿ããã¦ãã htmlSQL ã«èå³ãæã£ãã®ã§è©¦ãã«ä½¿ã£ã¦ã¿ãã jonasjohn.de: htmlSQL â a PHP class to query the web by an SQL like language æºå ä¸è¨ãµã¤ããããã¦ã³ãã¼ããã¦è§£åããä¸ã«å ¥ã£ã¦ãã âsnoopy.class.phpâ 㨠âhtmlsql.class.phpâ ã¨ãã2ã¤ã®ãã¡ã¤ã«ã使ç¨ãã PHP ããã¤ã³ã¯ã«ã¼ãã§ããã¨ããã«å ¥ãã¾ãã 使ãæ¹ å®éã« Yahoo! ã®ããããã¼ã¸ããã¤ãã¼ãã¥ã¼ã¹ã®ãããã¯ã¹ã®ãã¥ã¼ã¹ã¿ã¤ãã«ãåã£ã¦ããã³ã¼ããæ¸ãã¦ã¿ã¾ããã ã³ã¼ããè¦ã¦ãããã°åããããã«ã¾ãã« SQL ãçºè¡ãã¦ããæãã§ãã include_once("snoopy.class.php");
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}