SELECT 语句灵活应用 做计算
select title_id , type , price , price- price* 0.4 from titles
两字符型字段相加
select au_lname + '.'+ au_fname ,city+ ','+state from authors
字段别名 as的运用
select title_id as'图书代号',price as'原价',price-price*0.3 as'现价' from titles
SELECT 语句灵活应用 做计算
select title_id , type , price , price- price* 0.4 from titles
两字符型字段相加
select au_lname + '.'+ au_fname ,city+ ','+state from authors
字段别名 as的运用
select title_id as'图书代号',price as'原价',price-price*0.3 as'现价' from titles