Added base SQL