Alyssa Peterley
2009-12-14 06:05:56 UTC
I have two tables:
1. "bulan" with column "month"
http://imgur.com/8DXRQ.png
2. "assignment" with columns "vessel_id" and "month"
http://imgur.com/pU3fr.png
I want to do this:
SELECT month FROM bulan WHERE month <> (SELECT month FROM assignment WHERE vessel_id='v01')
which the resulting should be "february" and "may".
but it return "ERROR Sub query returns more than one row"
I am stumped. any help guys?