Je moet ingelogd zijn om te stemmen.
SELECT EXISTS (SELECT * FROM table WHERE condition=value)
SELECT EXISTS (SELECT * FROM TABLE WHERE condition=value)
SELECT IF( je_kolom != NULL , TRUE , FALSE ) AS hasValue FROM je_tabel