google-nomulus/java/google/registry/tools/sql/registrar_activity_report.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

17 lines
324 B
SQL

SELECT
STRING(timestamp) AS date,
command,
resourceType,
resource,
trid_clientTransactionId,
trid_serverTransactionId,
period
FROM
ReportingHistory
WHERE
tld = '%TLD%'
AND registrar = '%REGISTRAR%'
AND timestamp >= TIMESTAMP('%STARTTIME%')
AND timestamp < TIMESTAMP('%ENDTIME%')
ORDER BY
timestamp