Spatial database is a database that is optimized to store and query data. Inorder to process spatial database a set of functions are needed to process spatial data types called geometry or feature. These set of function are designed by spatial database query framework called Open Geospatial Consortium (OGC). In this work we have designed Open Geospatial Consortium that will process spatial and nonspatial queries. Open Geospatial Consortium will have simple features specification and set of standards for adding spatial functionality to database systems.