Defining queries
Define queries using existing application data or SQL statements. Use SQL statements to define complex validation queries or validation queries to multiple system tables.
Note:  Define this type of
				validation only if you are familiar with the application data model and have a good
				working knowledge of SQL. 
			To define queries: