Some queries which will be needed in code.