Structured Query Language,結構化查詢語言

SQL(聆聽i/ˈɛs kjuː ˈɛl/[4]或聆聽i/ˈsiːkwəl/[5],Structured Query Language,結構化查詢語言[6][7][8][9])是一種特定目的程式語言,用於管理關聯式資料庫管理系統(RDBMS),或在關係流資料管理系統(RDSMS)中進行流處理。

SQL基於關係代數和元組關係演算,包括一個資料定義語言和資料操縱語言。SQL的範圍包括資料插入、查詢、更新和刪除,資料庫模式建立和修改,以及資料存取控制。儘管SQL經常被描述為,而且很大程度上是一種聲明式編程(4GL),但是其也含有程序式編程的元素。

SQL是對埃德加·科德的關係模型的第一個商業化語言實現,這一模型在其1970年的一篇具有影響力的論文《一個對於大型共享型資料庫的關係模型》[10]中被描述。儘管SQL並非完全按照科德的關係模型設計,但其依然成為最為廣泛運用的資料庫語言。 [11][12]

SQL在1986年成為美國國家標準學會(ANSI)的一項標準,在1987年成為國際標準化組織(ISO)標準[13]。此後,這一標準經過了一系列的增訂,加入了大量新特性。雖然有這一標準的存在,但大部分的SQL代碼在不同的資料庫系統中並不具有完全的跨平台性。

  • 學習內容

    超連結(hyper link)使用命令href=hyper reference
  • 參考文獻

  • Paul, Ryan. A guided tour of the Microsoft Command Shell. Ars Technica. [10 April 2011]. (原始內容存檔於2018-12-25).
  • Media Type registration for application/sql. Internet Assigned Numbers Authority. 10 April 2013 [10 April 2013]. (原始內容存檔於2018-01-24).
  • The application/sql Media Type, RFC 6922. Internet Engineering Task Force: 3. April 2013 [10 April 2013]. (原始內容存檔於2016-10-18).
  • Beaulieu, Alan. Mary E Treseler , 編. Learning SQL 2nd. Sebastapol, CA, USA: O'Reilly. April 2009. ISBN 978-0-596-52083-0.
  • SQL, n.. Oxford English Dictionary. Oxford University Press. [2014-11-27].
  • Encyclopedia Britannica. SQL. [2013-04-02]. (原始內容存檔於2018-12-25).
  • From Oxford Dictionaries: "Definition of SQL - abbreviation, Structured Query Language, an international standard for database manipulation." Oxford Dictionaries. SQL. [2017-10-10]. (原始內容存檔於2016-08-03).
  • IBM. SQL Guide.[永久失效連結]
  • From Microsoft: "Structured Query Language, invented at IBM in the 1970s. It is more commonly known by its acronym, SQL .." Microsoft. Structured Query Language (SQL). [2017-10-10]. (原始內容存檔於2016-03-12).
  • Codd, Edgar F. A Relational Model of Data for Large Shared Data Banks. Communications of the ACM (Association for Computing Machinery). June 1970, 13 (6): 377–87 [2007-06-09]. doi:10.1145/362384.362685. (原始內容存檔於2007-06-12).
  • Chapple, Mike. SQL Fundamentals. Databases. About.com. [2009-01-28]. (原始內容存檔於2009-02-22).
  • Structured Query Language (SQL). International Business Machines. October 27, 2006 [2007-06-10].
  • ISO/IEC 9075-1:2008: Information technology – Database languages – SQL – Part 1: Framework (SQL/Framework). [2017-10-10]. (原始內容存檔於2012-02-03).
  • ANSI/ISO/IEC International Standard (IS). Database Language SQL—Part 2: Foundation (SQL/Foundation). 1999.
  • 留言

    這個網誌中的熱門文章

    3/29 林仕樺2021年第2次證券商業務員「證券投資與財務分析」

    林仕樺期中考試