Adding Sequences to SQL

Changed from Oracle style to MYSQL