当前位置:网站首页>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 (1)
- BitSet complement
- Share the easy-to-use fastadmin open source system - Installation
- Plastic floating dock Industry Research Report - market status analysis and development prospect forecast
- Go cache of go cache series
- 7. Build native development environment
- MySQL learning record (4)
- Golang string segmentation
- Accounting regulations and professional ethics [19]
- [shutter] statefulwidget component (floatingactionbutton component | refreshindicator component)
猜你喜欢

Research Report on ranking analysis and investment strategic planning of RFID market competitiveness of China's industrial manufacturing 2022-2028 Edition

I drew a Gu ailing with characters!

Check the confession items of 6 yyds

Volvo's first MPV is exposed! Comfortable and safe, equipped with 2.0T plug-in mixing system, it is worth first-class

JDBC | Chapter 4: transaction commit and rollback

Redis分布式锁故障,我忍不住想爆粗...

Huawei Hongmeng watch achieves fireworks display effect on New Year's Eve

MySQL learning record (4)
![[shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)](/img/45/735431f59a84e9554225a72a551ab8.jpg)
[shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)
![[shutter] shutter layout component (opacity component | clipprect component | padding component)](/img/6b/4304be6a4c5427dcfc927babacb4d7.jpg)
[shutter] shutter layout component (opacity component | clipprect component | padding component)
随机推荐
[dynamic planning] p1220: interval DP: turn off the street lights
Sweet talk generator, regular greeting email machine... Open source programmers pay too much for this Valentine's day
Today, I met a Alipay and took out 35K. It's really sandpaper to wipe my ass. it's a show for me
[shutter] shutter layout component (opacity component | clipprect component | padding component)
Golang embeds variables in strings
ctf-HCTF-Final-Misc200
China's crude oil heater market trend report, technological innovation and market forecast
Basic knowledge of tree and binary tree (detailed illustration)
Lantern Festival, come and guess lantern riddles to win the "year of the tiger Doll"!
I drew a Gu ailing with characters!
China's noise meter market trend report, technical dynamic innovation and market forecast
Download vagrant box file locally from Atlas and configuring it
[shutter] statefulwidget component (floatingactionbutton component | refreshindicator component)
Research Report on market supply and demand and strategy of China's right-hand outward rotation entry door industry
Research Report on plastic antioxidant industry - market status analysis and development prospect forecast
Internet Explorer ignores cookies on some domains (cannot read or set cookies)
1005 spell it right (20 points) "PTA class a exercise"
Makefile: usage of control functions (error, warning, info)
Research Report on the overall scale, major manufacturers, major regions, products and applications of metal oxide arresters in the global market in 2022
Analysis of enterprise financial statements [1]