SELECT 
    skycalResult.*,
    skycalRun.stack_id,
    stackRun.tess_id,
    stackRun.skycell_id,
    stackRun.filter,
    skycalRun.state,
    skycalRun.label,
    skycalRun.data_group,
    skycalRun.sky_id
FROM skycalRun
JOIN skycalResult USING(skycal_id)
JOIN stackRun USING(stack_id)

