
SQL
关于数据库
besokuse233
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PostgreSQL 中关于字符串拆分与合并
with person_name as ( select c.id, array_to_string(array_agg(distinct p.c_name), ' , ') as p_name from biz_notification_config c join biz_notification_person p ...原创 2020-04-28 09:57:31 · 2464 阅读 · 0 评论 -
MySQL(一)
数据表的添加 通用语法:CREATE TABLE table_name (column_name column_type); 比如 CREATE TABLE IF NOT EXISTS `tb_book`( `book_id` INT UNSIGNED AUTO_INCREMENT, `book_title` VARCHAR(100) NOT NULL, `book_author...原创 2019-10-21 15:44:55 · 112 阅读 · 0 评论 -
MySQL中对数据进行增删改查
添加数据 INSERT INTO table_name ( field1, field2,...fieldN ) VALUES ( value1, value2,...valueN ); 如果要添加多条数据的话一定,一个括号代表 一条,不要把多条数据写在一个括号里。 INSERT INTO table_name ( field1, field2,...fieldN ) VALUE...原创 2019-10-21 15:55:33 · 181 阅读 · 0 评论