google-nomulus/java/google/registry/tools/sql/ReportingIdentifiers.sql
Justine Tunney 5012893c1d mv com/google/domain/registry google/registry
This change renames directories in preparation for the great package
rename. The repository is now in a broken state because the code
itself hasn't been updated. However this should ensure that git
correctly preserves history for each file.
2016-05-13 18:55:08 -04:00

30 lines
587 B
SQL

SELECT
namespace,
kind,
id,
value
FROM
(SELECT
__key__.namespace as namespace,
__key__.kind as kind,
__key__.id as id,
fullyQualifiedDomainName AS value
FROM
DomainBase),
(SELECT
__key__.namespace as namespace,
__key__.kind as kind,
__key__.id as id,
fullyQualifiedHostName AS value
FROM
HostResource),
(SELECT
__key__.namespace as namespace,
__key__.kind as kind,
__key__.id as id,
contactId AS value
FROM
ContactResource)
WHERE
namespace <> 'test'
AND NOT namespace CONTAINS '.test'