added SQL example and checked query
added SQL example and checked query
fixed format and queries