Mikko Husari on Nostr: Tai siis eikö tää oo sama... update DesignData DD1 inner join DesignData DD2 left ...
Tai siis eikö tää oo sama...
update DesignData DD1
inner join DesignData DD2
left join Design D1 on D1.DesignData_Id = DD1.Id
left join Design D2 on D2.DesignData_Id = DD2.Id
set DD1.Data = DD2.Data
where D2.Id = 16829 and D1.Id in (16851, 16864)
Hitto kun olis testidataa ja testikanta.
Tai siis onhan mulla, en tiiä miksi tänne tätä raapustan.
EJJAKSA Perkele perjantai
Published at
2024-08-16 08:12:02Event JSON
{
"id": "bc931cc27f88aa968ebd30920891cac1d92371652a82b8a1cd9f8f1bcc0c4ccb",
"pubkey": "d89b6978c0238bdd75ef126e72acd8e41167d10cccdcf1f795203dce417bd48e",
"created_at": 1723795922,
"kind": 1,
"tags": [
[
"p",
"d89b6978c0238bdd75ef126e72acd8e41167d10cccdcf1f795203dce417bd48e"
],
[
"e",
"f13d220d85fc2f42236894eae301dbd6a3287e6d75e27e27d8e5a84fc0085265",
"",
"root",
"d89b6978c0238bdd75ef126e72acd8e41167d10cccdcf1f795203dce417bd48e"
],
[
"proxy",
"https://eliitin-some.fi/@husku/112970689607718167",
"web"
],
[
"proxy",
"https://eliitin-some.fi/users/husku/statuses/112970689607718167",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://eliitin-some.fi/users/husku/statuses/112970689607718167",
"pink.momostr"
],
[
"-"
]
],
"content": "Tai siis eikö tää oo sama...\n\nupdate DesignData DD1\ninner join DesignData DD2\nleft join Design D1 on D1.DesignData_Id = DD1.Id\nleft join Design D2 on D2.DesignData_Id = DD2.Id\n set DD1.Data = DD2.Data\nwhere D2.Id = 16829 and D1.Id in (16851, 16864)\n\nHitto kun olis testidataa ja testikanta.\n\nTai siis onhan mulla, en tiiä miksi tänne tätä raapustan.\n\nEJJAKSA Perkele perjantai",
"sig": "f03134b4f6d6f0c84f08e0430246f8a85c2310524b1529265e841bfdd0b815f7d3d4432f2d0d90fc119ec1cdf2e86be8175caf191c8169b3d9a1cb4fc48ff472"
}