摘要:
1.查询第二个字母是t或者a的雇员的全部信息1 select *2 from employees3 where firstname like '_[t,a]%'注意:在sql中%表示字符串,所以不可像matlab一样用其注释,两个双斜线好像也不行,/**/可以,有网友说sql单行注释为--2.更改字段名1 select '名字' = firstname ,'姓氏' = lastname2 from employees 3 where firstname like '_[t,a]%'或者1 select firstname as & 阅读全文
posted @ 2012-11-29 11:18
加拿大小哥哥
阅读(6520)
评论(9)
推荐(3)

浙公网安备 33010602011771号