SELECT t.tablename, t.name, c.columnname FROM ad_table t JOIN ad_column c ON c.ad_table_id = t.ad_table_id WHERE t.tablename ILIKE 'm_shipmentschedule'