Made SQL table class