I want to use double select command to get data from 2 different table!!

For example,

select id from table1 where id!=select id from table2.

I know that the mySQL is not support double select,My teacher say i can use NOT IN,But i can't find this command in mySQl.com~~

anyone can give me some idea??