Allscripts Interview Question

Some tricky SQL questions, memory utilisation for few data types