<SELECT> 
observations.date_obs_string AS Date_Obs, 
observations.observatory_id, observations.filename, 
observations.naxis1, observations.naxis2, observations.cdelt1, observations.cdelt2, 
observations.center_x, observations.center_y, 
feat_npix, n_umbra, 
br_pix_x0, br_pix_y0, br_pix_x1, br_pix_y1, 
enc_met, raster_scan AS raster 
</SELECT>
<FROM> 
sunspot_mg, observations, pp_output, pp_setup 
</FROM>
<WHERE> 
(((( $TIMERANGE ) 
and observations.id=observation_id ) 
and procd_obs=pp_output.id) and pp_setup.id=pp_setup_id) 
</WHERE>
