[Solved] Add multiples primary keys in GUI
Posted: Sat Mar 12, 2022 11:42 am
				
				Hi, as of now I'm new to databases, and I'm creating a database for all the dvds that I have home. But as the title says, I can't find a way to use multiple primary keys in GUI. I figured I didn't really need to do that since even if we had a movie in double, the 2nd dvd would still exist, but it's out of curiosity, to see what I can do with that.
Then again, I also have some other questions related to this problem (sorry for not putting that in the title ).
 ).
Does multiple primary keys work as AND (if we add an item with combination of an element A and an element B that is already in the table, not valid) or as OR (if we add item with element A or element B being the same as for another item in the table, not valid)? Can you change that? Does foreign keys only allow you to check if linked item exists or not?
Thanks for your time, have a good day (or night).
			Then again, I also have some other questions related to this problem (sorry for not putting that in the title
 ).
 ).Does multiple primary keys work as AND (if we add an item with combination of an element A and an element B that is already in the table, not valid) or as OR (if we add item with element A or element B being the same as for another item in the table, not valid)? Can you change that? Does foreign keys only allow you to check if linked item exists or not?
Thanks for your time, have a good day (or night).