doc-exports/docs/dws/dev/dws_06_0001.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

21 lines
3.1 KiB
HTML

<a name="EN-US_TOPIC_0000001145830595"></a><a name="EN-US_TOPIC_0000001145830595"></a>
<h1 class="topictitle1">GaussDB(DWS) SQL</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001145830595__section07961139165815"><h4 class="sectiontitle">What Is SQL?</h4><p id="EN-US_TOPIC_0000001145830595__p9917233165915">SQL is a standard computer language used to control the access to databases and manage data in databases.</p>
<p id="EN-US_TOPIC_0000001145830595__p291713325917">SQL provides different statements to enable you to:</p>
<ul id="EN-US_TOPIC_0000001145830595__ul1847894716216"><li id="EN-US_TOPIC_0000001145830595__li1647717471021">Query data.</li><li id="EN-US_TOPIC_0000001145830595__li1347711473219">Insert, update, and delete rows.</li><li id="EN-US_TOPIC_0000001145830595__li104774477217">Create, replace, modify, and delete objects.</li><li id="EN-US_TOPIC_0000001145830595__li1647716471127">Control the access to a database and its objects.</li><li id="EN-US_TOPIC_0000001145830595__li1847712471124">Maintain the consistency and integrity of a database.</li></ul>
<p id="EN-US_TOPIC_0000001145830595__p16181610172110">SQL consists of commands and functions that are used to manage databases and database objects. SQL can also forcibly implement the rules for data types, expressions, and texts. Therefore, section "SQL Reference" describes data types, expressions, functions, and operators in addition to SQL syntax.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001145830595__s8b41fc9c831240e4b12d543b45b59369"><h4 class="sectiontitle">Development of SQL Standards</h4><p id="EN-US_TOPIC_0000001145830595__ad35ce5cc14914757a3c2cac53db75c8d">Released SQL standards are as follows:</p>
<ul id="EN-US_TOPIC_0000001145830595__u613a95c063bb4272b9ebe8aacd366d88"><li id="EN-US_TOPIC_0000001145830595__l845e38d17a0b4788b19f8f2832252c40">1986: ANSI X3.135-1986, ISO/IEC 9075:1986, SQL-86</li><li id="EN-US_TOPIC_0000001145830595__l868de292ab8a419eacb7a03a07b44b52">1989: ANSI X3.135-1989, ISO/IEC 9075:1989, SQL-89</li><li id="EN-US_TOPIC_0000001145830595__l4149eace3fce48b6aa04c8a27c2ef197">1992: ANSI X3.135-1992, ISO/IEC 9075:1992, SQL-92 (SQL2)</li><li id="EN-US_TOPIC_0000001145830595__lc91c7a453e634ef48c1661df32ca9cbb">1999: ISO/IEC 9075:1999, SQL:1999 (SQL3)</li><li id="EN-US_TOPIC_0000001145830595__l621e4baa96db4767998324013f5d38ab">2003: ISO/IEC 9075:2003, SQL:2003 (SQL4)</li><li id="EN-US_TOPIC_0000001145830595__ld030a461afc54705b8191b98a2a44063">2011: ISO/IEC 9075:200N, SQL:2011 (SQL5)</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001145830595__sf77a56bb2dd54b45a258f58053c92042"><h4 class="sectiontitle">Supported SQL Standards</h4><p id="EN-US_TOPIC_0000001145830595__a9f7124325e1c4f69ad21313cdc05ca19"><span id="EN-US_TOPIC_0000001145830595__text2134350450">GaussDB(DWS)</span> is compatible with <span id="EN-US_TOPIC_0000001145830595__en-us_topic_0085032346_text9722153615573">Postgres-XC</span> features and supports the major features of SQL2, SQL3, and SQL4 by default.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_2000.html">SQL Syntax Reference</a></div>
</div>
</div>