Reputation: 17
How can I realize my purpose there are ten of thousands of numbers like CN201510747352 in a Excel document.
SELECT
p.application_number AS app,
COUNT(DISTINCT c.publication_number) Citations
FROM `patents-public-data.patents.publications` AS p,
UNNEST(citation) c
WHERE p.application_number **IN ('CN-201510747352-A')**
GROUP BY p.application_number
I want search tens of thousands of data like CN-201510747352-A, is there any convenient ways to realize it?
Upvotes: 0
Views: 93
Reputation: 59245
Import your Excel spreadsheet into Google sheets.
Create a federated BigQuery table pointing to your Google sheet:
SELECT * FROM `patents-public-data.patents.publications
, while filtering from your sheet with WHERE p.application_number IN (SELECT app_n FROM `my.sheet`)
.Upvotes: 0