MySQL系列-查詢語句

先準備兩張表:mysql tb1sql tb2函數 1.查詢全部字段spa select * from tb1;blog 2.查詢指定的列排序 select id from tb1;ip 3.給表取別名 博客 select id from tb1 t1; 或者 select id from tb1 as t1;it 4.給列取別名io select id as ip from tb2 as t1
相關文章
相關標籤/搜索