SQL——5、属性列和表运用AS取别名
AS使用别名
SELECT col_expression AS expr_description, …
FROM mytable;
属性列和表取别名的例子
SELECT column AS better_column_name, …
FROM a_long_widgets_table_name AS mywidgets
INNER JOIN widget_sales
ON mywidgets.id = widget_sales.widget_id;