首页 > 试题广场 >

关于下面的sql语句伪代码,描述正确的是()

[不定项选择题]
关于下面的sql语句伪代码,描述正确的是()
Select * from <left_table> left join
<right_table> on <join_condition> where <where_condition>
group by <groupby_condition> having <having_condition> order by
<orderby_condition> limit 10;

  • join会对<left_table>和<right_table>执行笛卡尔积
  • 语句执行顺序上,会先执行join,再执行from,再执行where
  • 语句执行顺序上,会先执行order by,再执行limit,再执行select
  • 以上描述都不对
推荐
选择D
A错误,这是左连接
B错误,先执行From,在执行Join
C错误,先执行select,再执行order
编辑于 2017-05-23 11:34:34 回复(0)