// rewording to SQL query