Convert Dia Entity Relationship Diagram to SQL format