Oracle's 4th day advanced query

Source: Internet
Author: User

And the advantage of the essay is that you can force yourself to learn, what you did not want to learn today, or how much to learn

In the afternoon by a bug, just the two days of interns have been on leave, had to self (but today this matter interns estimated to be uncertain). Stored procedures in the judgment of equality, useless isnull, the result of the original value is null, resulting in the update into the insertion, the most painful is to deal with historical data, the other side has no Remote desktop, had to copy the database back to write scripts, but also to analyze the data, how many tables to deal with.

Overtime to nine, Flash is 10:30, see video Tutorial it:

1, Sort: MSSQL has top n,mysql has limit N, originally thought that Oracle does not have the corresponding will be very troublesome, did not think directly to a rownum keyword, directly can use ...

2, line number: Then look down, found that the line number can only be generated in the default order, and can only use < or <=, can not use > or >=, this is why ... There's no technical difficulty for Oracle, so why is this impacting the experience?

To use a different sort of line number, use the child table, but Oracle's child table actually does not have to alias, directly parentheses can

Look at a bit is also see, night overtime is already tired, don't want to see. Watch a movie, sleep.

Oracle's 4th day advanced query

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.