Pages

▼
Showing posts with label concat. Show all posts
Showing posts with label concat. Show all posts
Wednesday, September 4, 2013

Concat two different fields in cakephp in find statement

›
<?php $this -> ModelName -> virtualFields  = array(      'full_name'  =>  "CONCAT(ModelName.first_name, ' ...

Concatenate/concat/group_concat two columns/rows with MySQL query

›
Two/more rows concatenate- You can use  GROUP_CONCAT . As in: select person_id , group_concat ( hobbies separator ', ' ) ...
›
Home
View web version
Powered by Blogger.