Questions about license for elasticsearch sql

It depends on what you want to do, see https://www.elastic.co/subscriptions and also Is Elasticsearch SQL going to be in XPack? for a similar discussion.