>>939723Without knowing the focal length in OPs image but any more than 30 seconds GENERALLY means trails for all the stars due to planetary motion, hence it's very unlikely OP image is more than 30 sec.
Typically you either take a max shutter speed exposure for your lens and conditions (ie, f/1.8, 30s, iso400) OR you take multiple exposures and stack them in post.
Here is a pic from last night. It is a 30 second exposure, but shooting SOUTH towards a major city - hence the light pollution.