当前位置:网站首页>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,…
边栏推荐
- China plastic bottle and container market trend report, technological innovation and market forecast
- Research Report on right-hand front door industry - market status analysis and development prospect forecast
- Construction and maintenance of business websites [8]
- 暑期第一周总结
- How is LinkedList added?
- Analysis of enterprise financial statements [1]
- Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of voltage source converters in the global market in 2022
- Research Report on the overall scale, major manufacturers, major regions, products and applications of friction dampers in the global market in 2022
- Go language learning summary (5) -- Summary of go learning notes
- In depth research and investment feasibility report on the global and China active vibration isolation market 2022-2028
猜你喜欢
Report on investment development and strategic recommendations of China's vibration isolator market, 2022-2027
MySQL learning record (3)
Redis分布式锁故障,我忍不住想爆粗...
JDBC | Chapter 4: transaction commit and rollback
6 pyspark Library
7. Build native development environment
[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)
[shutter] statefulwidget component (create statefulwidget component | materialapp component | scaffold component)
rwctf2022_ QLaaS
AMD's largest transaction ever, the successful acquisition of Xilinx with us $35billion
随机推荐
Construction and maintenance of business website [1]
Lantern Festival, come and guess lantern riddles to win the "year of the tiger Doll"!
Record the problems encountered by nodejs asynchronism
Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of voltage source converters in the global market in 2022
Research Report on market supply and demand and strategy of China's plastic trunking industry
Accounting regulations and professional ethics [17]
Sword finger offer (II) -- search in two-dimensional array
JDBC | Chapter 3: SQL precompile and anti injection crud operation
China's Micro SD market trend report, technology dynamic innovation and market forecast
MySQL learning notes (Advanced)
Research Report on plastic antioxidant industry - market status analysis and development prospect forecast
Go web programming practice (1) -- basic syntax of go language
Analysis of enterprise financial statements [2]
kernel tty_ struct
Happy Lantern Festival! Tengyuanhu made you a bowl of hot dumplings!
Accounting regulations and professional ethics [16]
Research Report on market supply and demand and strategy of China's plastic pump industry
MySQL learning notes (Advanced)
How is LinkedList added?
1007 maximum subsequence sum (25 points) "PTA class a exercise"