tested cart sql