Data Processors interview question

Write a program to read/write database.