prev <<
9 PostgreSQL features I wish I learned earlier
>> next
8: WITH Queries / Common Table Expressions
The questions I want answered are:
Which campaigns are currently active, expired or pending?
Has the user already participated in any of those campaign?