I tried a lot to complete this challenge but it seems I'm unable to finish task 2. I don't understand well the requirements of the task, I think and need help in that.
Apply the policy tag named sensitive-data-policy to the following columns in the user_online_sessions table:
The first part went well and I used the cloud documentation to learn and apply column-level policy tags. The issue came with the part 2 when I tried to run the query. I took help from different sources and tried all the queries that i can but the evaluator seems unhappy.
The query that I ran was:
SELECT column-name FROM `qwiklabs-gcp-04-5ce485ad00f1.online_shop.INFORMATION_SCHEMA.COLUMNS` WHERE table-name = 'user-online-sessions' AND column-name NOT IN ('zip', 'latitude', 'ip-address', 'longitude');
Can anyone help me know where am I doing wrong?
Solved! Go to Solution.
You must use a query of style "SELECT * EXCEPT()" See the lab "BigLake: Qwik Start" for further hints
You must use a query of style "SELECT * EXCEPT()" See the lab "BigLake: Qwik Start" for further hints
Yeah I did tried and it works.
User | Count |
---|---|
29 | |
14 | |
3 | |
2 | |
1 |