Use JDatabaseQuery