我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在codeigniter sql中分组

I want to group data by 2 grouping , as a column and a row Sample input: Sample Input Table
Expected output Example :

               2017-02-16       2017-02-17     2017-02-18
Doctor Name 1   available      available      not available
Doctor Name 2   available      not available  not available
Doctor Name 3   available      not available  available  

Currently my output is not working for the doctors who are available more than one date.

近期文章

  • 在PHP中将XML数据提取到MySQL表中
  • 如何优化使用大表mysql
  • POST Varibles在opencart的login api中返回null值
  • 如何在PHP中正确比较字符串和整数?
  • 如何在php中将部分url字符串转换为完整的url链接
  • Angularjs orderby过滤器不适用于动态更新
  • 将值从HTML传递到PHP文件
  • PhpStorm不会停止PHP代码中的条件断点
  • 如何使用php imap获取未存储在我们数据库中的电子邮件
  • Magento 1.9 - 如何在双重条件下对产品进行两次分类?
  • Google Analytics漏洞
  • 没有模型的查询结果
  • 肥皂客户端停止工作
  • PHP命名空间别名冲突?
  • 使用JQuery在MYSQL中插入数据
  • Laravel date_format规则不起作用
  • Laravel Auth中间件不适用于POST路由
  • PHP计数标题内的字符
  • Tomcat Quercus Php无法正常工作
  • PHP:json_decode - 读取类别名称

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华