#Comparing two arrays of rows by their id

2 messages · Page 1 of 1 (latest)

pseudo dock
#

Hey guys, I'm a PHP developer and now I'm trying Go, and looks really weird for me, tho I'm trying to understand what's going on. I need to get data from the same table, but different databases and compare their values by id. ```php
Table1:
id | name | value
1 | Yan | 0
2 | John | 17
3 | Mark | null
Table2:
id | name | value
1 | Yan | 0
2 | John | 18
3 | Alice| 1
4 | Mark | null

I would really appreciate any answer.
I know already how to start a server, get data from DB, tho processing the data is something insane for me rn, because of the types and structures I have to use, tho I don't know what structure table may have
#

Also I can provide columns from tables which program needs to proceed, but I can do that only in a runtime, I cannot define a structure