ICode9

精准搜索请尝试: 精确搜索
  • 敏捷之Scrum2022-09-15 18:31:37

    碎碎念软件研发02:敏捷之Scrum   一、什么是 Scrum 1.1 Scrum 定义 Scrum 是敏捷开发方法之一,它使用比较广泛。 敏捷的其它开发方法还有 XP(极限编程)、FDD(特性驱动开发)、Crystal(水晶方法)、TDD(测试驱动开发)、DSDM(动态系统开发)等等敏捷方法。 Scrum-Guide 中定义的 Scru

  • SQL 1484 Group Sold Products By The Date2022-09-14 06:31:02

    Table Activities: +-------------+---------+ | Column Name | Type | +-------------+---------+ | sell_date | date | | product | varchar | +-------------+---------+ There is no primary key for this table, it may contain duplicates. Each row of t

  • 结对编程项目评论2022-09-13 21:32:55

    一.总体评价 改项目代码总体上层次分明,对象明确,概念抽象良好,重用性高,但是存在代码冗余部分,且没有设置账号的数据库,仅仅把账户数据放入缓存中,在对象消失数据也会消失,不够严谨,在拓展上不能实现用户注册与注销 二.代码结构分析 五个文件一个对象类文件,三个方法文件,分别用于匹配账户所

  • 初始数据库2022-09-13 20:34:24

    本文使用的数据库是mysql. 数据库(表)的创建 数据库的创建: CREATE DATABASE <数据库的名称> 例子: CREATE DATABASE shop; 查看所有数据库 SHOW DATABASES 数据表的创建: CREATE TABLE product (product_id CHAR(4) NOT NULL, product_name VARCHAR(100) NOT NULL, pro

  • Spring事务传播行为二2022-09-12 19:04:08

    接着上一篇章继续说 这个需要结合着具体的案例来进行分析。 结合着我之前写的一篇文章:事务失效 看下代码: @Transactional public void sellProduct() throws ClassNotFoundException { log.info("----------------->>>>>>>开启日志<<<<<------------------------"); LOC

  • 建造者模式2022-09-12 11:04:31

    理论 建造者模式(Builder):将一个复杂对象的构建与它的表示分离,使得同样的构建过程可以创建不同的表示。 又叫生成器模式。建造者模式可以将一个产品的内部表象与产品的生成过程分割开来,从而可以使一个建造过程生成具有不同的内部表象的产品对象。如果用了建造者模式,那么用户就只需

  • 字符串专题2022-09-11 11:33:58

    字符串的处理要求多样,这里做积累。 1. 首字母大写: sql 没有像 python 一样,首字母大写的函数--title() substring(name,2):左起第二个开始取子集 力扣1667: select user_id,concat(upper(left(name,1)),lower(substring(name,2))) as name from Users order by user_id 2. 聚合合并

  • SQL 1757 Recyclable and Low Fat Products2022-09-11 05:30:08

    Table: Products +-------------+---------+ | Column Name | Type | +-------------+---------+ | product_id | int | | low_fats | enum | | recyclable | enum | +-------------+---------+ product_id is the primary key for this table. low_fats i

  • LeetCode 1339. Maximum Product of Splitted Binary Tree2022-09-10 01:30:09

    原题链接在这里:https://leetcode.com/problems/maximum-product-of-splitted-binary-tree/ 题目: Given the root of a binary tree, split the binary tree into two subtrees by removing one edge such that the product of the sums of the subtrees is maximized. Return t

  • mysql索引不生效2022-09-08 10:00:56

    并不是索引越多越好,索引是一种以空间换取时间的方式,所以建立索引是要消耗一定的空间,况且在索引的维护上也会消耗资源。本文首发我的个人博客mysql索引不生效 这里有张用户浏览商品表,建表语句: CREATE TABLE `product_view` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id`

  • Clickhouse执行报错(Double-distributed IN/JOIN subqueries is denied (distributed_product_mode = ‘deny‘))2022-09-07 15:30:57

    错误示例: DB::Exception: Double-distributed IN/JOIN subqueries is denied (distributed_product_mode = 'deny'). You may rewrite query to use local tables in subqueries, or use GLOBAL keyword, or set distributed_product_mode to suitable value. (versio

  • PAT_A 1037 Magic Coupon2022-09-04 23:31:52

    PAT_A 1037 Magic Coupon 分析 尽量增大总回报值即可得到结果。 PAT_A 1037 Magic Coupon 题目的描述 The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a product, you may get

  • linux下检查系统是虚机还是物理机2022-09-02 09:31:43

    检查命令 //安装软件包 yum install -y dmidecode //查看系统平台(虚机 or 物理机) dmidecode -s system-product-name [root@jenkins ~]# dmidecode -s system-product-name VMware Virtual Platform //虚拟化出来的系统 [root@DZSWJES ~]# dmidecode -s system-product-nam

  • 打开Eclipse时提示“JVM is not suitable for this product”问题的解决2022-08-31 10:33:15

    今天打开Eclipse时弹出一个错误提示,无法正常打开。 “Version 1.8.0_131 of the JVM is not suitable for this product. Version: 11 or greater is required.” 之前印象中是可以正常打开的。 起初以为是JDK没装,或者装的版本太低了,把电脑里的JDK 13版本想再装一下,提示已经安装了

  • 通过迭代工具itertools.product快速得到多列表笛卡尔积(列表组合)2022-08-30 09:34:47

    1.核心代码 import itertools subject = ['我想', '我要'] action = ['打开', '关闭'] target = ['电视', '冰箱', '洗衣机'] for res in itertools.product(subject, action, target): # 各列表放入迭代器,也可通过(*[subject,

  • sql 2008 r2 重新安装时提示 MsiGetProductInfo 无法检索 Product Code 为“{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}”2022-08-24 12:31:38

    问题:sql 2008 r2 重新安装时提示 MsiGetProductInfo 无法检索 Product Code 为“{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}”解决办法:win+r 输入regedit回车找到注册表中的项目HHKEY_CLASSES_ROOT\Installer\UpgradeCodes,把UpgradeCodes节点全部删除即可

  • mysql更改执行计划_数据量增加导致MySQL执行计划改变2022-08-24 11:02:41

    收到运维同学电话,MySQL服务器连接数满了,登录服务器查看,确实满了,好吧,首先增加连接数到2500,暂时提供对外服务。连接继续升高,又快达到2500。发现有大量的查询时间将近到了1200秒,大量的长连接堆积,导致连接数攀升,看来还是sql的问题。在这些长连接中,发现这样的sql SELECT product_id,gif

  • pandas GroupBy2022-08-24 09:04:17

    Pandas groupby 是pandas的灵魂之一, 就像excel 里我们可以简单的去求 mean,如果让你按照月份去求 mean,这时需要 groupby date 然乎利用 mean() 函数, 一个不错的推文 Pandas GroupBy 深度总结 来源:5 Pandas Group By Tricks You Should Know in Python 5种 groupby 技巧,实际使用用

  • 动态sql_实际应用2022-08-22 19:33:16

    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.qfedu.fmmall.dao.OrdersMa

  • postgresql去重,只取时间最新的一条数据【转】2022-08-22 16:00:51

      昵称: zjyss 原文地址:https://www.cnblogs.com/zjyss/p/15701439.html   1.可以循环表取出相同字段的第一条去建立临时表或视图2.使用pg的row_number 函数对相同字段记录分组排序,取出排序分组记录中的第一个。 下例即取出查询结果集合中产品对应date最新的那一条数据集合,相当

  • Oracle 静默安装记录2022-08-21 11:02:46

    Oracle 静默安装记录 环境说明 Centos 7.7 64位版本 安装 Oracle 版本 Oracle 11g R2 从官网上下载的压缩包,直接双击解压即可,解压后得到 database 安装软件目录 linux.x64_11gR2_database_1of2.zip linux.x64_11gR2_database_2of2.zip   安装前准备 修改 Linux 系统操作

  • 全局组件 [代码实例]2022-08-17 15:04:19

    <body> <div id="app"> <!-- <home-nav></home-nav> --> <HomeNav></HomeNav> <home-nav></home-nav> <product-item></product-item> <product-item></produ

  • Vocom 88890300 For Volvo Interface USB Version Truck Diagnostic Scanner Tool For Renault/UD/Mack2022-08-16 19:01:03

    Volvo 88890300 Vocom Interface for Volvo/Renault/UD/Mack Truck Diagnose Volvo 88890300 Vocom Interface is a diagnostics application that covers the whole repair process through the use of plug-ins. With Volvo 88890300 Vocom Interface you can diagnose, tes

  • opatch auto 单独安装DB的PSU时,提示 apply failed2022-08-15 21:34:42

    一套测试环境,GI是19c,而DB是11.2.0.4,打算针对DB安装最新的PSU时。使用opatch auto方式报错。 [root@19cracdg1 software]# /u01/app/oracle/product/11.2.0.4/dbhome_1/OPatch/opatch auto /software/31718723 -oh /u01/app/oracle/product/11.2.0.4/dbhome_1Executing /u01/app/19

  • python itertools库 itertools.product() 用法 产生多个序列的笛卡尔积2022-08-15 16:00:27

    python  itertools.product() 用来产生多个序列的笛卡尔积,参数可两个或者多个序列,元组tulple,列表list,range生成的序列,集合set都可作为参数 1 import itertools 2 # parameter1 = range(1,3,1) 3 # parameter2 = range(2,5,2) 4 # parameter3 = range(10,21,10) 5 6 # par

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有