how to use inner join Postgresql Golang?

Viewed 28

How to use inner join in Postgresql through Golang for two tables one is persons and other is orders?

type orders struct {
    id          int
    ordernumber int
    personid    int
    persons     []persons
}
type persons struct {
    id        int
    firstname string
    lastname  string
    city      string
}
0 Answers
Related