sql class syntax