smaller demo sql