Data structure for SQL created