does the earth rotate? by p.folk, on Flickr
If you were going for stars, you would need to have a dark location, like the countryside. Since having a longer exposure would mean trails, you would need to make the exposure much shorter, done by using a faster lens and higher iso. This is an example from Thunderbolt_TW on Flickr.
star ship from Galaxy 銀河戰艦 by Thunderbolt_TW, on Flickr
Hope that information helps you out!