7

After searching I can't figure out what I need to do in ALTER TABLE genres to change the col id to genre_id any ideas?

Johnny
  • 1,833
  • 4
  • 21
  • 23

1 Answers1

12
alter table genres change id genre_id int(10) auto_increment;
RAS
  • 7,965
  • 16
  • 63
  • 84
XMen
  • 27,697
  • 41
  • 97
  • 149