1.进入MySql数据库 mysql -uroot -p 2.查看数据库show databases; 3.创建数据库(GoTest)CREATE DATABASE GoTest 4.创建数据表()USE GO_TEST;CREATE TABLE `User`( `Id` BIGINT(20) NO ...
分类:
数据库 时间:
2021-07-01 17:27:15
阅读次数:
0
product 表 product_name、spu、create_datetime 想要查找商品名称中包涵短袖的商品一共有多少个 select count(*) from product where product_name like "%短袖%" shop 表 中有shop_name、chann ...
分类:
数据库 时间:
2021-07-01 17:22:17
阅读次数:
0
#!/usr/bin/python # -*- coding: UTF-8 -*- # @auther gaocan 809900210@qq.com import sys import os import re import codecs ''' Codec: See Python`s Stand ...
分类:
其他好文 时间:
2021-07-01 17:19:46
阅读次数:
0
postgresql下载路径: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads ...
分类:
数据库 时间:
2021-07-01 17:16:40
阅读次数:
0
在vue项目中,当再次点击当前看路由时,会在控制台报如下警告: Avoided redundant navigation to current location:"/xxx/xxx" 解决方法: 在router.js中添加如下代码 import Vue from 'vue' import Route ...
分类:
其他好文 时间:
2021-07-01 17:14:17
阅读次数:
0
import lombok.*; /** * @author: Small sunshine * @Description: * @date: 2021/6/30 8:05 下午 */ public class SortTree { public static void main(String[] ...
分类:
其他好文 时间:
2021-07-01 17:04:50
阅读次数:
0
setting: from fake_useragent import UserAgent BOT_NAME = 'wxapp' SPIDER_MODULES = ['wxapp.spiders'] NEWSPIDER_MODULE = 'wxapp.spiders' ROBOTSTXT_OBEY ...
分类:
微信 时间:
2021-07-01 17:00:41
阅读次数:
0
复制的目的让一台服务器的数据与其他服务器保持同步,一台主库的数据可以同步到多台备库上,备库本身也可以配置为另一台服务器的主库。主库备库之间可以用多种不同的组合方式。 MySQL支持的复制方式有两种: 第一种,基于行的复制。MySQL5.1版本才加入进来。这种方式会将实际数据记录在二进制日志中,最大的 ...
分类:
数据库 时间:
2021-07-01 16:50:57
阅读次数:
0
直接上sql select column_name as 字段类型, column_type as 数据类型, data_type as 字段类型, character_maximum_length as 长度, is_nullable as 是否为空, column_default as 默认值, ...
分类:
数据库 时间:
2021-07-01 16:50:23
阅读次数:
0
1.show databases 展示所有数据库 2.建表 column : 列名 PK:唯一主键 NN:不能为空 AI:自动增加 3.修改删除表 4.使用库 5.屏蔽 -- 加空格 切近加空格 6.插入指定的表数据 常用的增删改查 和 模糊搜索 排序 对应下面demo即可 -- show tabl ...
分类:
数据库 时间:
2021-07-01 16:40:54
阅读次数:
0