PostgreSQL: Improve performance and squish bug.
[quassel.git] / src / core / SQL / SQLite / 21 / select_checkidentity.sql
1 SELECT count(*)
2 FROM identity
3 WHERE identityid = :identityid AND userid = :userid