data_sql and ERdiagram