stephencelis/SQLite.swift

how to use group by having

kmitj opened this issue · 0 comments

kmitj commented

"SELECT * as message_table FROM message_table WHERE message_table.type == "call") GROUP BY message_table.channelId HAVING max(message_table.messageId)"

how to build this query with filter and group functions?