zoukankan      html  css  js  c++  java
  • 软工概论第二周学习进度表

    所花时间:14小时

    代码量:700行

    博客量:3篇

    知识点:

    1.相关的sql语句:

    说明:创建数据库

      CREATE DATABASE database-name

    说明:删除数据库

      drop database dbname

    创建新表

      create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..)

    根据已有的表创建新表:

      A:create table tab_new like tab_old (使用旧表创建新表)

      B:create table tab_new as select col1,col2… from tab_old definition only

    添加主键: Alter table tabname add primary key(col)

    选择:select * from table1 where 范围

      插入:insert into table1(field1,field2) values(value1,value2)

      删除:delete from table1 where 范围

      更新:update table1 set field1=value1 where 范围

      查找:select * from table1 where field1 like ’%value1%’ ---like的语法很精妙,查资料!

    2.java中的知识

    定义数组的时候在想数组里添加数据的时候必须要用到new的关键字

    例如:

    a[number]=new People(name,sex,date);

  • 相关阅读:
    java ssh免密登录
    [8.0][MGR][bug]多主模式,外键冲突错误
    内核月报bookmark
    netcat 传输T级别大文件
    innodb部分内部操作
    qps.sh
    ABAP-ALV判断骚操作
    HCM基本知识
    SAP-VOFM的使用
    ABAP-处理去掉特殊字符
  • 原文地址:https://www.cnblogs.com/wj1998/p/7955003.html
Copyright © 2011-2022 走看看