Differences in syntax [Mysql] the oracle and mysql

Reference Source: https: //blog.csdn.net/lovecuidong/article/details/88187102

 

1, mysql can not from, oracle must have, can be written from dual;

2, using MySQL concat () function connection string, oracle not only concat () function can also be used ||;

3, mysql no whole outer connector, instead of using the set connection, oracle have full outer connection (full join), and connected to left and right outer own syntax: (+);

4, mysql paging use limit, oracle rownum keyword page a little help;

5, mysql automatically increase auto_increment, oracle sequences are used instead;

6, mysql direct writing cycle judgment statement, oracle PLSQL obtained by means of the statement;

7, mysql determined using elseif, oracle ELSIF use;

8, mysql direct additions and deletions, oracle need to commit;

9, group by, then at the next oracle, group by the back of the field must occur after the select with group by, or will be error, but mysql did not;

Published 44 original articles · won praise 16 · views 10000 +

Guess you like

Origin blog.csdn.net/YYIverson/article/details/103563648
Recommended