Help with query

So I have slots table. Now I am trying to get the dates for the days where not even one slot has available_true. So days where all slots are taken -> unavailable dates Now I am trying that query, but always getting empty array and not even and error or so
No description
No description
2 Replies
nk
nk5mo ago
Well I think the first part in your where statement is wrong I dont think "date < CURRENT_DATE + INTERVAL does what you think it does And I think it would be smarter to not do all of that anyways I would probably do a subquery
maverickdoge
maverickdogeOP5mo ago
@nk I would really appreciate if u would suggest me the query
Want results from more Discord servers?
Add your server