public static function selectMultiple(
        $fieldNames,
        $tableNames,
        $whereClause = '',
        $groupBy = '',
        $orderBy = '',
        $limit = ''
    ) {
        $result = [];
        $dbResult = self::select(
            $fieldNames,
            $tableNames,
            $whereClause,
            $groupBy,
            $orderBy,
            $limit
        );

        $databaseConnection = self::getDatabaseConnection();
        while ($recordData = $databaseConnection->sql_fetch_assoc($dbResult)) {
            $result[] = $recordData;
        }
        $databaseConnection->sql_free_result($dbResult);

        return $result;
    }