Integrated SQL translation with NLIDB