AVEVA Interview Question

Some SQL queries