Java程序代码Java技术研究

总结

2017-10-24  本文已影响1人  晨曦_hero
创建数据库
create database
创建表
create table 
添加
 insert into tablename (column1,column2,column3,......) values (value1,value2,value3,......);
 insert into tablename values(value1,value2,....);
查询
 select * from tablename;
 select * from tablename where 条件1 and (or) 条件2  column like '%'   column   in (列表)
                                     group by groupbycolumn
                                having
                                order by asc (desc)
                                limit 10,2
查询几组
            select * from tablename limit 3,5;
            table1 inner join table2 on column1=column2
    from table1,table2 where column1=column2
 
    table1 left join table2 on column1=column2
    table1 right join table2 on column1=column2
  union 
union all
删除
            delete from tablename where id=1;
修改
            update tablename set column1=value1,colum2=value2 where id=1;
            [选修]update table1 t1,table2 t2 set t1.c1=v1,t2.c2=v2 where id=1 and t1.keyId=t2.keyId 

html+css

   form action  method get post    RequestHeader response   url地址?name1=v1&name2=v2
 
    input type
                text
                password
                radio
                checkbox    checked
                email
                date
                number
                file
                week
    select 
    option  selected
    textarea
         col row
    button
        submit
        reset
        image
        button
   i span img a label 
        header
        footer
        selection
        container
    
  >
  <
   ©
   "
 
  使用方式 三种    行内  style=""
              内嵌    <style>
             外部引用   <link rel="stylesheet" href=""/>
基本选择器
        类:.name
        标签: name
        id:#name
复合选择器
        #name.name
        .name#name
        .name,.name
        .name .name
        .name>.name
        [type='v']
    :hover
    :after
    :before
  color:
 background-color:
   background-image:
   repeat
透明度
 opacity
    rgba(0,0,0,.5)
    transparent

   text-align:left right center;
   line-height
   letter-space
  
 border-top left right bottom 
   margin:10px 20px 30px 40px;
   padding:10px 20px 30px 40px;
   border-radius

   box-sizing border-box
            content-box
   box-shadow
   font-family
   font-size;
   font-style:none
   background-position
   background-size

   position relative
        fixed
        static
        absolute

    left top right bottom
    z-index
   float: left right
   clear: left right both
扩展盒子高度
        clear:both;
        :after 
        overflow:hidden;
   display:block;
        inline;
    inline-block;
上一篇下一篇

猜你喜欢

热点阅读