Write SELECT statement using Gen AI - Edindx