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

  • 相关阅读:
    app应用的下载
    fiddler https 抓包
    Scrapy 框架基础入门
    MongoDB在Windows下安装配置
    Wget 的基础使用
    MongoDB C#驱动中Query几个方法
    Redis数据库2
    Linux下软件安装的四种方式
    Linux命令-4类
    Redis数据库1
  • 原文地址:https://www.cnblogs.com/wj1998/p/7955003.html
Copyright © 2011-2022 走看看