This doesn't give me an error, but it also doesn't display any results. I'm trying to display only the entries that don't have a relationship. My relationship field is field_id_57, and I only want to display entries from channel_id_30. Am I doing something wrong?
{exp:query sql="SELECT * FROM exp_channel_data WHERE field_id_57 IS NULL && channel_id = '30'"}
content should display here
{/exp:query{