« first day (2502 days earlier)      last day (1816 days later) » 

8:07 AM
morning
 
8:23 AM
Good morning
 
@Tomm hey mate
 
8:35 AM
mornin
 
morning guys
 
9:18 AM
Morning all
 
ay got accepted in my follow up uni in computer science
time for another 4 years of headaches :)
 
Whoop whoop!
 
time to celebrate with a coffee
 
...add a little Irish happiness to that coffee
i.e. Whiskey
;)
 
boss most likely would like that ;)
 
9:45 AM
ah sure get the boss one too
 
shane comming in with a 200iq play
 
I is SMRTZ"
 
10:03 AM
@Shaneis congobrat!
 
:D
o/ @ARr0w
 
\o
how're you?
 
Working on 3 hours sleep so as slow as I've been in a long time
 
shaneis, you are singular, right? then why we use 'are' with 'you' instead of 'is'?
like how is you?
@Shaneis just 3? that's not much
 
10:05 AM
sorry if my question is stupid about English grammar
 
nah it's not. I couldn't actually answer it so had to look it up
 
okay, thanks, i read. got it.
 
Sweet as...I'll read it later :ZZZ
 
10:21 AM
Hi Guys, I need your help with below mySql query, please let me know


select json_object(
'id',p.UserReferralCode
,'desc',p.`Firstname`
,'items',(select CAST(CONCAT('[',
GROUP_CONCAT(
JSON_OBJECT(
'id',UserReferralCode,'parent_id',SponserCode,'desc',`Firstname`)),
']')
AS JSON) from datastruct where SponserCode = p.UserReferralCode)

) from datastruct p;

This query gives me the output in json format but the json is really on 1st level, can I go till 'n'th level
 
10:32 AM
@JohnyBravo search and read use of cte and recursion using cte.
this might help you to generate output to nth level and then wrap it with Json_Object for json output
 
 
7 hours later…
5:06 PM
Alright, I'm off y'all
ttyl
 

« first day (2502 days earlier)      last day (1816 days later) »