SQL学习

1.字符串拼接

select distinct concat(concat(name,'-'),age) as msg from student where name like '李%' order by name asc,age desc;

 

2.gbase 查表名

show tables where tables_in_zxvmax like '%test%';

 

posted @ 2016-07-21 14:09  jht_newbie  阅读(146)  评论(0编辑  收藏  举报