bp Interview Question

Most the round had so query writing Without data without table schema How one can write a query without even knowing the schema