#6 Get SQL from AQL