Oracle 10g commands start from a bit

Source: Internet
Author: User

1. unlock a user. If the user is not unlocked when the database is installed, the user can be unlocked in sqlplus, for example:

First use sys to log on, and then use alter user account unlock;

2. desc table nameTip: varchar2 () supports international languages;

3. select 10*10 from dual; select sysdate from dual; dual is an empty table for calculation.Double quotation marks are used to save the format. Oracle automatically converts lowercase letters to uppercase letters, and double quotation marks are not converted.

4. Summary of select Syntax: select deptno, max (sal) from emp

Where deptno> 10

Group by deptno

Having max (sal) & gt; 1200

Order by deptno desc;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.