N
N
nikita_chiru2016-07-06 00:26:14
Android
nikita_chiru, 2016-07-06 00:26:14

How to link or link database 2 to the first one?

I have a database with products
I want to make a shopping cart in the application through the second database using index links, since the first one will be updated if necessary...
tell me how to implement

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SlavikF, 2016-07-14
@SlavikF

The question is a little confusingly written...
Usually "connect" not "databases", but tables in one database.
Tables are linked using foreign keys.
To get combined data, I use JOIN statements.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question