I\'ve got the following query: SELECT name, GROUP_CONCAT(job SEPARATOR \',\'), count(*) FROM users GROUP BY name ORDER BY name ASC
I\'m using MySQL Server 7.0 on Windows Server 2008 and am trying to return the result of a GROUP_CONCAT in a function . General SQL is as follows:
I\'m having a problem with my explode function in PHP. I\'m pulling a string from the database as follows:
I want to do a somewhat complex query in doctrine, namely an inner join with a subquery with a group_concat.
I\'m trying to show the boroughs and postcodes a particular town in is. My database is fairly well structured, with a table such as town, postcode and borough. There are also tables for each of the r
I am outputing a simple list of options from dynamic select menus using Codeigniter/MYSQL. CONTROLLER $data[\'get_custom_fields\'] = $this->db->query(\"
I\'m selecting properties and joining them to mapping tables where they get mapped to filters such as location, destination, and property type.
Given the following MySQL query: SELECT `show`.`id` , GROUP_CONCAT( `showClips`.`clipId` ORDER BY `position` ASC ) AS \'playlist\'
I am doing SELECT GROUP_CONCAT(categories SEPARATOR \' \') FROM table. Sample data below: categories ----------
Assume I have these tables, from which i need to display search results in a browser: Table: Containers