Added data and schema SQL query