php 中的 as有什么作用呀 谢谢高手了!
来源:百度知道 编辑:UC知道 时间:2024/05/30 04:08:35
as 是在sql语句中用到的,作用是作别名!
如:
select count(*) from news;
select count(*) as count from news;
也就是说给所指变量取一个别名!
你可以叫'张三'也可以叫'张小三'它都指的是你!
UC知道是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度知道 编辑:UC知道 时间:2024/05/30 04:08:35
as 是在sql语句中用到的,作用是作别名!
如:
select count(*) from news;
select count(*) as count from news;
也就是说给所指变量取一个别名!
你可以叫'张三'也可以叫'张小三'它都指的是你!