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);

  • 相关阅读:
    第二阶段冲刺第一天
    第一次团队绩效评估
    其他团队对本团队评价的总结
    对其他团队的评价
    团队博客的检查结果
    站立会议第十天
    站立会议第九天
    站立会议第八天
    站立会议第七天
    团队站立会议10
  • 原文地址:https://www.cnblogs.com/wj1998/p/7955003.html
Copyright © 2011-2022 走看看