{"id":585,"date":"2010-08-24T13:40:00","date_gmt":"2010-08-24T05:40:00","guid":{"rendered":"http:\/\/note.systw.net\/note\/?p=585"},"modified":"2023-11-04T13:41:40","modified_gmt":"2023-11-04T05:41:40","slug":"rdbms-and-sql","status":"publish","type":"post","link":"https:\/\/systw.net\/note\/archives\/585","title":{"rendered":"RDBMS and SQL"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>RDBMS(Relational Database Management System,\u95dc\u806f\u5f0f\u8cc7\u6599\u5eab\u7ba1\u7406\u7cfb\u7d71)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u5e38\u898b\u7684RDBMS<\/strong><br>\u5546\u696d\u8edf\u9ad4<br>\u3000Oracle<br>\u3000Sysbase ASE<br>\u3000DB2 Universal Database<br>\u3000Informix<br>\u3000MS SQL Server<br>\u3000MS Access<br>\u958b\u653e\u539f\u59cb\u78bc\u8edf\u9ad4<br>\u3000MySQL<br>\u3000MaxDB<br>\u3000PostgreSQL<br>\u3000Firebird<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ps:<br>RDBMS\u7684\u5341\u4e8c\u9805\u898f\u5247\u5efa\u8b70(Codd\uff0c1985)<br>1The Information Rule\u8cc7\u8a0a\u898f\u5247<br>2Guaranteed Access Rule\u5fc5\u8981\u7684\u5b58\u53d6\u898f\u5247<br>3Systematic Treatment of Null Values\u5177\u6709\u7a7a\u503c\u7684\u8655\u7406\u80fd\u529b<br>4Dynamic On-Line Catalog Based on The Relational Model\u57fa\u65bc\u95dc\u806f\u6a21\u578b\u7684\u52d5\u614b\u7dda\u4e0a\u76ee\u9304<br>5Comprehensive Data Sub-Language Rule\u4e0d\u540c\u7684\u901a\u7528\u6027\u8cc7\u6599\u8a9e\u8a00\u898f\u5247<br>6View Updating Rule\u8996\u754c\u66f4\u65b0\u898f\u5247<br>7High-Level Insert, Update and Delete\u9ad8\u968e\u65b0\u589e\u66f4\u65b0\u522a\u9664<br>8Physical Data Independence\u5be6\u9ad4\u8cc7\u6599\u7368\u7acb\u6027<br>9Logical Data Independence\u908f\u8f2f\u8cc7\u6599\u7368\u7acb\u6027<br>10Integrity Independence\u5b8c\u6574\u7368\u7acb\u6027<br>11Distribution Independence\u5206\u96e2\u7368\u7acb\u6027<br>12Non-Subversion Rule\u6c92\u6709\u7834\u58de\u6027\u7684\u898f\u5247<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SQL(Structured Query Language)<\/strong><br>1970,IBM<br>\u570b\u969b\u6a19\u6e96\u7531ANSI\u548cISO\u8a02\u5b9a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SQL\u6b77\u53f2<\/strong><br>1970,\u7a31\u70baSQL1\u6216SQL-86<br>1992,\u7a31\u70baSQL2\u6216SQL-92<br>1999,\u7a31\u70baSQL3\u6216SQL-99<br>2003,\u7a31\u70baSQL4\u6216SQL-2003<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SQL\u53ef\u7d30\u5206\u70ba<br><strong>DDL(Data Definition Language,\u8cc7\u6599\u5b9a\u7fa9\u8a9e\u8a00)<\/strong>&nbsp;\u91dd\u5c0d\u7d50\u69cb,\u5305\u62ec<br>Schema(\u7db1\u8981),<br>Tables(\u8cc7\u6599\u8868), \u5be6\u969b\u5132\u5b58\u8cc7\u6599\u7684\u5730\u65b9<br>Views(\u6aa2\u8996\u8868), \u672c\u8eab\u4e0d\u5132\u5b58\u8cc7\u6599,\u50c5\u80fd\u7528\u4f5c\u67e5\u8a62<br>Stored Procedures(\u9810\u5b58\u7a0b\u5e8f),\u9810\u5148\u8a2d\u8a08\u597d\u7684\u8655\u7406\u7a0b\u5e8f,\u7531user\u6216\u61c9\u7528\u7a0b\u5f0f\u547c\u53eb\u800c\u88ab\u52d5\u57f7\u884c<br>Triggers(\u89f8\u767c\u5668),\u9810\u5148\u8a2d\u8a08\u597d\u7684\u8655\u7406\u7a0b\u5e8f,\u8cc7\u6599\u8868\u88ab\u7570\u52d5\u6642\u4e3b\u52d5\u89f8\u767c\u57f7\u884c<br>Functions(\u51fd\u6578),<br>Domains(\u5b9a\u7fa9\u57df\/\u8cc7\u6599\u578b\u614b),<br>Constraints(\u9650\u5236\/\u8cc7\u6599\u985e\u578b)&#8230;\u7b49\u7b49<br><strong>DML(Data Manipulation Language,\u8cc7\u6599\u64cd\u4f5c\u8a9e\u8a00)<\/strong>&nbsp;\u91dd\u5c0d\u8cc7\u6599<br>\u5305\u62ecInsert(\u65b0\u589e),Delete(\u522a\u9664),Update(\u4fee\u6539),Select(\u67e5\u8a62)<br><strong>DCL(Data Control Language,\u8cc7\u6599\u63a7\u5236\u8a9e\u8a00)<\/strong>&nbsp;\u91dd\u5c0d\u6b0a\u9650<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RDBMS(Relational Database Mana &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[16],"tags":[],"class_list":["post-585","post","type-post","status-publish","format-standard","hentry","category-database"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":259,"url":"https:\/\/systw.net\/note\/archives\/259","url_meta":{"origin":585,"position":0},"title":"SQL injection\u985e\u578b","author":"raymond","date":"2020 \u5e74 8 \u6708 8 \u65e5","format":false,"excerpt":"\u5728\u57f7\u884c SQL Injection \u6642\uff0c\u9700\u91dd\u5c0d\u4e0d\u540c\u7684\u8cc7\u6599\u5eab\u74b0\u5883\u8207\u9632\u8b77\u6a5f\u5236\u63a1\u53d6\u76f8\u61c9\u7684\u6ce8\u5165\u7b56\u7565\u3002\u672c\u6587\u53c3\u8003\u2026","rel":"","context":"\u5728\u300cServerSide\u300d\u4e2d","block_context":{"text":"ServerSide","link":"https:\/\/systw.net\/note\/archives\/category\/hackerthreat\/serverside"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":579,"url":"https:\/\/systw.net\/note\/archives\/579","url_meta":{"origin":585,"position":1},"title":"Transaction","author":"raymond","date":"2010 \u5e74 8 \u6708 24 \u65e5","format":false,"excerpt":"transaction\u78ba\u4fdd\u591a\u500b\u52d5\u4f5c\u80fd\u4e00\u6b21\u5b8c\u6210 \u4ea4\u932f\u57f7\u884c\u6642\u7684Concurrency(\u4e26\u884c),\u53ef\u80fd\u5c0e\u81f4\u7684\u2026","rel":"","context":"\u5728\u300c\u8cc7\u6599\u5eab\u300d\u4e2d","block_context":{"text":"\u8cc7\u6599\u5eab","link":"https:\/\/systw.net\/note\/archives\/category\/develop\/database"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":451,"url":"https:\/\/systw.net\/note\/archives\/451","url_meta":{"origin":585,"position":2},"title":"Data Warehouse and OLAP","author":"raymond","date":"2012 \u5e74 12 \u6708 30 \u65e5","format":false,"excerpt":"DW(data warehouse,\u8cc7\u6599\u5009\u5132)\u76ee\u5730:\u5c07\u4e0d\u540c\u4f86\u6e90\u8cc7\u6599\u6574\u5408\u8d77\u4f86,\u627e\u51fa\u5171\u901a\u6027\u4ee5\u5354\u52a9\u505a\u6c7a\u7b56D\u2026","rel":"","context":"\u5728\u300c\u6578\u64da\u5206\u6790\u300d\u4e2d","block_context":{"text":"\u6578\u64da\u5206\u6790","link":"https:\/\/systw.net\/note\/archives\/category\/dataanalysis"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":484,"url":"https:\/\/systw.net\/note\/archives\/484","url_meta":{"origin":585,"position":3},"title":"Machine Learning Concept","author":"raymond","date":"2014 \u5e74 9 \u6708 13 \u65e5","format":false,"excerpt":"ML(Machine Learning)an alternative route to build \u2026","rel":"","context":"\u5728\u300c\u6578\u64da\u5206\u6790\u300d\u4e2d","block_context":{"text":"\u6578\u64da\u5206\u6790","link":"https:\/\/systw.net\/note\/archives\/category\/dataanalysis"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":378,"url":"https:\/\/systw.net\/note\/archives\/378","url_meta":{"origin":585,"position":4},"title":"Snort Rule","author":"raymond","date":"2013 \u5e74 1 \u6708 20 \u65e5","format":false,"excerpt":"Snort rule snort rule\u683c\u5f0f:\u00a0RulesHeader (RulesOp\u2026","rel":"","context":"\u5728\u300cblue team\u300d\u4e2d","block_context":{"text":"blue team","link":"https:\/\/systw.net\/note\/archives\/category\/securitytool\/blue-team"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":807,"url":"https:\/\/systw.net\/note\/archives\/807","url_meta":{"origin":585,"position":5},"title":"802.1Q VLAN","author":"raymond","date":"2008 \u5e74 5 \u6708 5 \u65e5","format":false,"excerpt":"VLAN(Virtual LAN,\u865b\u64ec\u5340\u7db2)\/(Logical LAN,\u908f\u8f2f\u7db2\u8def)IEEE\u4ee3\u865f\u70ba80\u2026","rel":"","context":"\u5728\u300cOSI Layer2\u300d\u4e2d","block_context":{"text":"OSI Layer2","link":"https:\/\/systw.net\/note\/archives\/category\/network\/osi-layer2"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts\/585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/comments?post=585"}],"version-history":[{"count":0,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts\/585\/revisions"}],"wp:attachment":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/media?parent=585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/categories?post=585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/tags?post=585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}