摘要:
获取数据 1,从数据表中获取所有行 <?php class UserController extends Controller{ public function index(){ $users = DB::table('users')->get(); } } 从数据表中获取一行数据你可以使用 fir 阅读全文
posted @ 2019-09-25 08:47
尚真
阅读(3075)
评论(0)
推荐(0)
摘要:
1,基本语法 其中显示得是一条记录 SELECT user_name,mobile_phone,`password` from users GROUP BY is_status 2,Group by 语句中得group_concat()函数 如果想看组内所有得用户信息,就需要用到group_conc 阅读全文
posted @ 2019-09-25 08:32
尚真
阅读(7779)
评论(0)
推荐(0)

浙公网安备 33010602011771号