sql extracted to the properties file