Could you please help with query? #16
Answered
by
bokwoon95
rinuthomashm
asked this question in
Q&A
-
select created_at, account_id from table1 |
Beta Was this translation helpful? Give feedback.
Answered by
bokwoon95
May 18, 2022
Replies: 1 comment
-
You can do it like this: q := sq.
Select(table1.CREATED_AT, table1.ACCOUNT_ID).
From(table1).
Where(
table1.COL3.EqString("02d206dc"),
sq.Predicatef(
"? < ?",
sq.RowValue{table1.COL1, table1.COL2},
sq.RowValue{"2021-01-05 10:15:10.000000", "5c08eb6b-6006-51be-9a5d-eeeaa890e0d6"},
)
) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rinuthomashm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do it like this: