SELECT * FROM llcfapp.student_service where student_id in (SELECT id FROM llcfapp.student where family_id in (296, 315, 319, 333, 357));
SELECT * FROM llcfapp.attendance where student_id in (SELECT id FROM llcfapp.student where family_id in (296, 315, 319, 333, 357));
SELECT * FROM llcfapp.student where family_id in (296, 315, 319, 333, 357);

SELECT * FROM llcfapp.family where id in (296, 315, 319, 333, 357);
SELECT * FROM llcfapp.family_service where family_id in (296, 315, 319, 333, 357);
SELECT * FROM llcfapp.health where family_id in (296, 315, 319, 333, 357);

-- DELETE FROM llcfapp.student_service where student_id in (SELECT id FROM llcfapp.student where family_id in (296, 315, 319, 333, 357));
-- DELETE FROM llcfapp.attendance where student_id in (SELECT id FROM llcfapp.student where family_id in (296, 315, 319, 333, 357));
-- DELETE FROM llcfapp.student where family_id in (296, 315, 319, 333, 357);

-- DELETE FROM llcfapp.family where id in (296, 315, 319, 333, 357);
-- DELETE FROM llcfapp.family_service where family_id in (296, 315, 319, 333, 357);
-- DELETE FROM llcfapp.health where family_id in (296, 315, 319, 333, 357);