Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Azure and AWS Technical Fit

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

Your question is Azure and AWS Technical Fit. Start with the requirements and the three tables 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

Tell me about how you approach technical questions involving Azure and AWS in a customer conversation.

For this SQL exercise, use the provided tables to identify customer conversations that include technical questions about both platforms. Return the requested conversation-level results.

Output

  1. One row per conversation that includes questions about both Azure and AWS.
  2. Columns: conversation_id, customer_name, conversation_date, question_count, unresolved_question_count, and latest_question_at.
  3. Count only Azure and AWS questions. Treat resolved = false or resolved IS NULL as unresolved.
  4. Order by conversation_date descending, then conversation_id ascending.

Schema

customer_conversations
ColumnTypeDescription
conversation_idPKINTUnique customer conversation identifier
customer_nameVARCHAR(100)Customer name
conversation_dateDATEDate the customer conversation occurred
technical_questions
ColumnTypeDescription
question_idPKINTUnique technical question identifier
conversation_idINTConversation containing the question
platform_idINTReferenced cloud platform
asked_atTIMESTAMPTimestamp when the question was asked
resolvedBOOLEANWhether the question was resolved
cloud_platforms
ColumnTypeDescription
platform_idPKINTUnique cloud platform identifier
platform_nameVARCHAR(50)Cloud platform name
Tablescustomer_conversationstechnical_questionscloud_platforms
Your solutionPostgreSQL
You need to log in / sign up to run or submit.
Run a query to see results