Use the TEDBQuery component to prepare and execute an SQL statement for a given database. When preparing and executing a SELECT statement, parameterized queries can be use to manually prepare a query once and execute it multiple times with different parameter values, which is much more efficient then preparing a different query each time.