Posts by Trufa • 39 points
1 post
-
3
votes1
answer7311
viewsQ: How to select in the database involving Foreign key and Primary key?
I have a problem, I have two tables that are related from the foreign key and the primary key like this: CREATE TABLE IF NOT EXISTS cargo( id INT AUTO_INCREMENT NOT NULL, nome_cargo varchar(50) not…