1、mysql中字符串拼接使用concat(),oracle中则是使用‘||’拼接

    1. --mysql
    2. select id, concat(age, "_", name) from table;
    3. --oracle
    4. select id, age || '_' || name from table;

    2、删除数据方式不同

    1. --mysql
    2. delete from table1 where id = 1;
    3. --oracle
    4. delete table1 where id = 1;

    3、日期处理方面的不同

    1. --示例1:时间格式化不同
    2. ----mysql
    3. DATE_FORMAT(dt,'%Y-%m-%d')
    4. ----oracle
    5. to_char(dt,'yyyy-mm-dd')
    6. --示例2:时间比较不同
    7. ----mysql
    8. select * from table1 where dt > '2020-04-08';
    9. ----oracle
    10. select * from table2 where to_char(dt, 'yyyy-mm-dd') > '2020-04-08';

    未完待续。。。