Can someone help me to convert sql query to supabase.js statement?

select title
from songs
where not exists (select * from songs_composers where songs_composers.song_id = songs.id)

I have this working SQL query that queries songs that do not have a composer.
How do I convert this to a supabase.js statement?

I tried a few things but can't get it right.
Was this page helpful?