Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Filter Open Veeva Vault Records

EasySQL · PostgreSQL00:00
Practice interviewer
In session
5 left
00:00

Your question is Filter Open Veeva Vault Records. Start with the requirements and the one table on the right.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.

Problem

You are given a table of Veeva Vault document records. Write a SQL query to return the document_id, document_name, owner_name, and status for records where the document status is 'Open' and the owner is 'Priya Shah'. Sort the result by document_id in ascending order.

Schema

vault_documents
ColumnTypeDescription
document_idPKINTUnique document identifier
document_nameVARCHAR(100)Name of the Veeva Vault document
owner_nameVARCHAR(100)Name of the document owner
statusVARCHAR(20)Current document status
created_dateDATEDate the document was created
Tablesvault_documents
Your solutionPostgreSQL
You need to log in / sign up to run or submit.
Run a query to see results