db select complete