internal/postgres: fix GetLicenses query
internal/postgres: fix GetLicenses query

Change-Id: I0ac7c6ba72529a2cf5b65a0ef4a7b19a713f1411
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/493038
Reviewed-by: Robert Findley <9179eee875d1ee628c37fb47d7e749e855ffd21f@google.com>

golang/pkgsite,golang/pkgsite,golang/pkgsite,golang/pkgsite