ABC Interview Question

good medium testing database sql