def _aisc_table(metric, version):
    """
    Returns the name of the AISC table matching the criteria.

    Parameters
    ----------
    metric : bool
        If True, searches for the name in the metric shape database. Otherwise,
        searches for the name in the imperial shape database.
    version : {'15.0'}
        The version of the shape database to query. If None, the latest version
        will be used.
    """
    if version is None:
        # Use the latest version
        version = '15.0'

    # Return the name of the version table
    if version == '15.0':
        if metric:
            return 'aisc_metric_15_0'
        else:
            return 'aisc_imperial_15_0'

    else:
        raise ValueError('Version {!r} not found.'.format(version))