INBOUND
SQL GENERATION