当前位置:网站首页>Gbase 8s database basic syntax
Gbase 8s database basic syntax
2022-07-02 21:33:00 【KnowledgeCloud】
GBase It is a database product of its own brand launched by NANDA General Data Technology Co., Ltd , In the domestic database market, it has a high Brand awareness .GBase The range of products includes : New analytical database GBase 8a、 Distributed parallel database cluster GBase 8a Cluster、 High end transactional database GBase 8t、 High speed memory database GBase 8m/AltiBase、 Visual business intelligence GBaseBI、 Large directory service system GBase 8d、 Hard encrypted secure database GBase 8s
GBase 8s It is a secure database product with completely independent intellectual property rights , Fully meet the safety model and safety requirements of the third level of the national standard . The product adopts domestic cryptographic algorithm and hardware encryption technology , Provide encryption including data storage 、 Data transmission encryption 、 Safety labels 、 Enforce access control 、 Separation of powers 、 Main security functions including security audit .GBase 8s Has been issued by the Ministry of public security 《 Computer information system security products sales license 》, Issued by the state secret service 《 Business password product model certificate 》、《 Password detection certificate 》 as well as China Information Security Certification Center Issued by the CCIS Certification certificate .
One 、 Create a class
1、 Syntax for creating views :
create view [if exists] <view_name> as <query_define>;2、 Syntax for creating tables :
create table [if not exists] <table_name> ( ColumnName1 data_type1,ColumnName2 data_type2,....);3、 Create database :
create database [if not exists] <databasename>;4、 New column syntax in the table :
alter table <tablename> add (NewColumnName1 date_tye1[,NewColumnName2 date_tye2,....]) [before OldColumeName];Two 、 Rename class
1、 Syntax of database rename :
rename database <old_db_name> to <new_db_name>;2、 Rename the syntax of existing columns in the table :
rename column <table_name> <oldColumnName> to <newColumnName>;3、 Rename table name :
rename table <old_tablename> to <new_tablename>;3、 ... and 、 Delete class
Database non-existent 、 Currently operating Database、 Modified name Database on , These feelings You cannot delete or modify the current database .
1、 Delete database Syntax :
drop database [if exists] <db_name>;2、 Syntax for deleting Columns :
alter table <tablename> drop ( OldColumnName1[,OldColumnName2,.....] );3、DELETE Delete Syntax :
delete from <table_name> [where condition];
perhaps
delete <table_name> [where condition];Four 、 Insert class
1、INSERT Basic grammar :
insert into <table_name > [column_name1, column_name2…] values(value1,value2…);2、INSERT Advanced Grammar :
insert into <table_name> [column_name1, column_name2…] select col_name1, col_name2,…边栏推荐
- MySQL learning record (3)
- [shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)
- Basic knowledge of tree and binary tree (detailed illustration)
- How is LinkedList added?
- Welfare | Pu Aries | liv heart co branded Plush surrounding new products are on the market!
- Accounting regulations and professional ethics [17]
- [shutter] statefulwidget component (image component | textfield component)
- Adding data to the head or tail of the rar file can still decompress normally
- Go web programming practice (2) -- process control statement
- JDBC | Chapter 4: transaction commit and rollback
猜你喜欢

读博士吧,研究奶牛的那种!鲁汶大学 Livestock Technology 组博士招生,牛奶质量监测...

MySQL learning record (2)

treevalue——Master Nested Data Like Tensor

Write the content into the picture with type or echo and view it with WinHex
![[shutter] statefulwidget component (pageview component)](/img/0f/af6edf09fc4f9d757c53c773ce06c8.jpg)
[shutter] statefulwidget component (pageview component)

Share the easy-to-use fastadmin open source system - Installation

Welfare, let me introduce you to someone

Basic knowledge of tree and binary tree (detailed illustration)

Customized Huawei hg8546m restores Huawei's original interface

6 pyspark Library
随机推荐
股票开户要找谁?手机开户是安全么?
Don't you want to have a face-to-face communication with cloud native and open source experts? (including benefits
Get weekday / day of week for datetime column of dataframe - get weekday / day of week for datetime column of dataframe
D4:非成对图像去雾,基于密度与深度分解的自增强方法(CVPR 2022)
Research Report on micro gripper industry - market status analysis and development prospect prediction
[question brushing diary] classic questions of dynamic planning
~90z axis translation
Baidu sued a company called "Ciba screen"
Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of sound quality head simulators in the global market in 2022
Roommate, a king of time, I took care of the C language structure memory alignment
[shutter] the shutter plug-in is used in the shutter project (shutter plug-in management platform | search shutter plug-in | install shutter plug-in | use shutter plug-in)
Redis -- three special data types
Welfare, let me introduce you to someone
Research Report on the overall scale, major manufacturers, major regions, products and applications of swivel chair gas springs in the global market in 2022
Research Report on the overall scale, major manufacturers, major regions, products and applications of capacitive voltage transformers in the global market in 2022
[12] the water of the waves is clear, which can wash my tassel. The water of the waves is muddy, which can wash my feet
Report on investment development and strategic recommendations of China's vibration isolator market, 2022-2027
When Valentine's Day falls on Monday
[CV] Wu Enda machine learning course notes | Chapter 12
Construction and maintenance of business websites [10]