oracle sql和sql server以及mysql的区别
1.插入语句的区别
例子
insert into newtable (username,password)
select 'aa','bb' union all
select 'aa','bb' union all
select 'aa','bb' union all
select 'aa','bb'
上面这段sql代码,可以在sql server以及mysql执行,在oracle sql就不能执行
2.查询用别名
例子
select i.uname as username from user as u
上面这段sql代码,可以在sql server以及mysql执行,在oracle sql也不能执行
//总结 ????
本文探讨了Oracle SQL、SQL Server及MySQL三种数据库系统在插入语句和查询别名使用方面的语法差异,通过具体示例展示了不同数据库间存在的兼容性问题。

被折叠的 条评论
为什么被折叠?



