zoukankan      html  css  js  c++  java
  • MySQL 基础语句

    MySQL 基础语句

    多个知识点

    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    • 排序:order by  desc-降序   asc-升序(默认)

     select * from student order by stuno desc

    • distinct 去掉重复的值

    select distinct classno from student

    ----------------insert----------------------------
    select * from student
    insert into student values('03000001','20102010','梁帅','abxdefgh')

    -----------------update--------------------------
    update student set stuname='梁帅帅' where stuname='梁帅'

    -------------------delete----------------------------
    delete 删除表中所有的记录,保持表的结构
    delete table_name
    -------------------drop------------------------
    drop 完全删除表
    drop table_name

     

    LIANG
  • 相关阅读:
    图像滤波
    直方图histeq
    直方图
    基于灰度变换的图像增强
    图像增强
    图像旋转和缩放
    图像点运算
    像素的连接与联通
    程序员进阶之算法练习(一)
    RxSwift 系列(二)
  • 原文地址:https://www.cnblogs.com/qypt2015/p/6099169.html
Copyright © 2011-2022 走看看