mysql - SQL Database structure - no unique column -


i have problem simple sql statement:

select * video natural join user

i warnig ins phpmyadmin, there no unique column in selection , cannot edit values. id column should unique...

my database structure:

structure 1

structure 2

  • id in video primary key.
  • id in other tables foreign keys pointing video.id

could tell me wrong in structure?

thanks! benjamin

solved:

i created view sql selection. inside view able changes.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -