SQL script with multiple DB data outputs

@Pavlov_Alexey there is this example