DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
use concat in group_concat
SELECT GROUP_CONCAT( CONCAT( '{ID:', ID, ',ParentID:', ParentID, '}' ) SEPARATOR "," ) FROM table
PREVIOUS
NEXT
Tagged:
#concat
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit