查询数据

select * from 表名

select 列名 as 翻译,列名 as 翻译 from 表名;

select id,name as 姓名,address as 家庭住址 from friends;

select id,name 姓名,adddress 家庭住址 from friends;

now() 当前查询时间

select id,name 姓名,adddress 家庭住址,now() 当前查询时间from friends;

评论

© 三月 | Powered by LOFTER