For a logical expression or database query the intensional representation is the formulae of the expression or the query expresson in a notation such as SQL. In constrats the extensional representation is the collection of all values that satisfy the expression or are returned by the query.