zoukankan      html  css  js  c++  java
  • Oracle课程档案,第一天。

    sys是Oracle最高权限者

    DBSNMP:简单网络管理系统

    ctrl+d回到oracle目录 在SQL中输入 exit也可以

    select;列 where:行

    sqlplus / as sysdba 进入SQL conn hr/hr 使用hr用户

    lower:把大小写自动改为小写

    SQL> select last_name from employees :显示所有成员表

    desc user_tables:字典表

    employees:表

    ||:链接操作符(连字符)

    null:空

    department:部门编号

    user:用户

    SQL>ed /为执行命令

    between and:两者之间

    hire:雇佣

    date:日期

    ’是定界符
    q'[ ]' 如果正文有'就用中括号
    q'{ }'如果正文有[]就用大括号

    sysdate:系统下的时间

    desc:快速了解表结构

    from :选择表

    where: 选择行


    区域查询:

    SQL> select last_name from employees where department_id=30 or department_id=40 or department_id=50;;


    in:

    SQL> select last_name from employees where department_id in (30, 40, 50);

    where hire_date='2006-05-23' 查找时间的格式
    where hire_date=to_date('2006-05-23','yyyy-mm-dd'); 说明时间格式 通用了就

  • 相关阅读:
    redis改配置
    redis主从复制
    nginx做维护页面
    go_http
    DRF源码-views.py
    DRF教程10-关系字段
    语言特性
    DRF源码-fields.py
    python_@classmethod
    HTML5:定位
  • 原文地址:https://www.cnblogs.com/awdsjk/p/7252395.html
Copyright © 2011-2022 走看看