Plinc Interview Question

Logic puzzles, some basic SQL, maths/probability.